:root{
    --primary-orange:#e97f08;
    --secondary-yellow:#ffaf00;
    --accent-red:#cb410b;
    --primary-black:#000000;
    --white:#ffffff;
    --gray-light:#f5f5f5;
    --gray-medium:#666666;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;overflow-x:hidden;}
body{
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
    line-height:1.6;color:var(--primary-black);background:var(--white);
    overflow-x:hidden;
}

/* Header */
header{
    position:fixed;top:0;left:0;width:100%;
    background:rgba(255,255,255,0.98);
    backdrop-filter:blur(10px);
    box-shadow:0 2px 20px rgba(0,0,0,0.08);
    z-index:1000;padding:0.8rem 0;
}
nav{
    max-width:1200px;margin:0 auto;padding:0 1.5rem;
    display:flex;justify-content:space-between;align-items:center;
}
.logo{display:flex;align-items:center;gap:0.7rem;}
.logo img{height:42px;width:auto;}
.logo-text{
    font-size:1.3rem;font-weight:700;
    background:linear-gradient(135deg,var(--primary-orange),var(--secondary-yellow));
    -webkit-background-clip:text;-webkit-text-fill-color:transparent;
}
.btn-back{
    padding:0.7rem 1.4rem;border-radius:999px;
    border:2px solid var(--primary-orange);
    background:transparent;color:var(--primary-orange);
    font-weight:600;font-size:0.9rem;
    cursor:pointer;text-decoration:none;
    transition:all 0.3s ease;
    display:inline-flex;align-items:center;gap:0.5rem;
}
.btn-back:hover{background:var(--primary-orange);color:var(--white);}
main{padding-top:88px;}

/* Hero con animación */
.hero{
    background:linear-gradient(135deg,#000000 0%,#1a1a1a 100%);
    color:var(--white);padding:4rem 1.5rem 3rem;
    text-align:center;position:relative;overflow:hidden;
    min-height:400px;
}
.hero-particles{
    position:absolute;top:0;left:0;width:100%;height:100%;
    overflow:hidden;pointer-events:none;
}
.particle{
    position:absolute;
    width:8px;height:8px;
    background:var(--primary-orange);
    border-radius:50%;
    opacity:0.6;
}
.hero-content{
    max-width:800px;margin:0 auto;position:relative;z-index:1;
}
.hero-badge{
    display:inline-block;padding:0.5rem 1.2rem;border-radius:999px;
    border:1px solid rgba(233,127,8,0.4);background:rgba(233,127,8,0.1);
    font-size:0.85rem;color:var(--secondary-yellow);margin-bottom:1.5rem;
    font-weight:600;letter-spacing:0.5px;
}
.hero h1{
    font-size:3rem;line-height:1.2;margin-bottom:1rem;font-weight:800;
}
.hero h1 span{
    background:linear-gradient(90deg,var(--primary-orange),var(--secondary-yellow));
    -webkit-background-clip:text;-webkit-text-fill-color:transparent;
}
.hero-subtitle{
    font-size:1.15rem;color:#d1d5db;
    max-width:600px;margin:0 auto;
}

/* Sección principal */
.contact-main{
    padding:4rem 1.5rem;
    background:var(--gray-light);
}
.container{max-width:1300px;margin:0 auto;}
.contact-grid{
    display:grid;
    grid-template-columns:1fr 1.5fr;
    gap:3rem;
    align-items:start;
}

/* Sidebar de contacto */
.contact-sidebar{
    position:sticky;
    top:120px;
}
.contact-card{
    background:white;
    border-radius:20px;
    padding:2.5rem;
    box-shadow:0 10px 40px rgba(0,0,0,0.08);
    margin-bottom:2rem;
}
.contact-card h3{
    font-size:1.5rem;
    margin-bottom:1.5rem;
    font-weight:700;
    display:flex;
    align-items:center;
    gap:0.7rem;
}
.contact-method{
    display:flex;
    align-items:center;
    gap:1rem;
    padding:1.2rem;
    border-radius:12px;
    background:var(--gray-light);
    margin-bottom:1rem;
    transition:all 0.3s ease;
    cursor:pointer;
    text-decoration:none;
    color:var(--primary-black);
}
.contact-method:hover{
    background:linear-gradient(135deg,rgba(233,127,8,0.1),rgba(255,175,0,0.1));
    transform:translateX(5px);
}
.contact-icon{
    width:50px;
    height:50px;
    background:linear-gradient(135deg,var(--primary-orange),var(--secondary-yellow));
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.5rem;
    flex-shrink:0;
}
.contact-info{
    flex:1;
}
.contact-info .label{
    font-size:0.85rem;
    color:var(--gray-medium);
    margin-bottom:0.2rem;
}
.contact-info .value{
    font-size:1rem;
    font-weight:600;
    color:var(--primary-black);
}

/* Redes sociales */
.social-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:1rem;
}
.social-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:0.5rem;
    padding:1rem;
    border-radius:12px;
    font-weight:600;
    text-decoration:none;
    transition:all 0.3s ease;
    border:2px solid transparent;
}
.social-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
}
.social-whatsapp{
    background:#25D366;
    color:white;
}
.social-facebook{
    background:#1877F2;
    color:white;
}
.social-instagram{
    background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
    color:white;
}
.social-linkedin{
    background:#0A66C2;
    color:white;
}

/* Horario */
.schedule-list{
    list-style:none;
}
.schedule-list li{
    display:flex;
    justify-content:space-between;
    padding:0.8rem 0;
    border-bottom:1px solid var(--gray-light);
}
.schedule-list li:last-child{
    border-bottom:none;
}
.schedule-day{
    font-weight:600;
}
.schedule-time{
    color:var(--gray-medium);
}

/* Formulario */
.form-container{
    background:white;
    border-radius:20px;
    padding:3rem;
    box-shadow:0 10px 40px rgba(0,0,0,0.08);
}
.form-header{
    margin-bottom:2rem;
}
.form-header h2{
    font-size:2rem;
    margin-bottom:0.5rem;
    font-weight:800;
}
.form-header p{
    color:var(--gray-medium);
    font-size:1.05rem;
}
.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:1.5rem;
    margin-bottom:1.5rem;
}
.form-group{
    margin-bottom:1.5rem;
}
.form-group.full-width{
    grid-column:1 / -1;
}
.form-group label{
    display:block;
    margin-bottom:0.5rem;
    font-weight:600;
    color:var(--primary-black);
    font-size:0.95rem;
}
.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    padding:1rem;
    border-radius:12px;
    border:2px solid var(--gray-light);
    font-size:1rem;
    transition:all 0.3s ease;
    font-family:inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    outline:none;
    border-color:var(--primary-orange);
    box-shadow:0 0 0 4px rgba(233,127,8,0.1);
}
.form-group textarea{
    resize:vertical;
    min-height:150px;
}
.cf-turnstile{
    display:flex;
    justify-content:center;
    margin:1.5rem 0;
}
#formMessage{
    padding:1rem;
    border-radius:12px;
    margin-bottom:1.5rem;
    text-align:center;
    font-weight:600;
    display:none;
    animation:slideDown 0.3s ease;
}
@keyframes slideDown{
    from{opacity:0;transform:translateY(-10px);}
    to{opacity:1;transform:translateY(0);}
}
.btn-submit{
    width:100%;
    padding:1.2rem;
    border-radius:50px;
    border:none;
    background:linear-gradient(135deg,var(--primary-orange),var(--secondary-yellow));
    color:white;
    font-weight:700;
    font-size:1.05rem;
    cursor:pointer;
    transition:all 0.3s ease;
    box-shadow:0 8px 25px rgba(233,127,8,0.35);
}
.btn-submit:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 35px rgba(233,127,8,0.5);
}
.btn-submit:disabled{
    opacity:0.6;
    cursor:not-allowed;
}

/* Mapa */
.map-section{
    padding:0;
    height:450px;
    background:var(--gray-light);
    position:relative;
}
.map-placeholder{
    width:100%;
    height:100%;
    background:linear-gradient(135deg,#e5e7eb,#d1d5db);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.2rem;
    color:var(--gray-medium);
}

/* FAQ rápido */
.faq-section{
    padding:4rem 1.5rem;
    background:white;
}
.faq-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:2rem;
    margin-top:2rem;
}
.faq-card{
    background:var(--gray-light);
    padding:2rem;
    border-radius:16px;
    transition:all 0.3s ease;
}
.faq-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}
.faq-icon{
    font-size:2.5rem;
    margin-bottom:1rem;
    display:block;
}
.faq-card h4{
    font-size:1.2rem;
    margin-bottom:0.8rem;
    font-weight:700;
}
.faq-card p{
    color:var(--gray-medium);
    line-height:1.6;
}

/* Footer */
footer{
    background:#000000;color:white;
    padding:2rem 1.5rem;text-align:center;
}
footer p{font-size:0.9rem;color:#9ca3af;}
footer a{
    color:var(--secondary-yellow);
    text-decoration:none;margin:0 0.5rem;
}
footer a:hover{color:var(--primary-orange);}

/* Responsive */
@media (max-width:1024px){
    .contact-grid{
        grid-template-columns:1fr;
    }
    .contact-sidebar{
        position:static;
    }
    .form-grid{
        grid-template-columns:1fr;
    }
    .faq-grid{
        grid-template-columns:1fr;
    }
}
@media (max-width:768px){
    .hero h1{font-size:2.2rem;}
    .form-container{padding:2rem;}
    .contact-card{padding:1.5rem;}
    .social-grid{grid-template-columns:1fr;}
}

/**
Menu
*/
/* ========== HEADER Y NAVEGACIÓN - VERSIÓN CORREGIDA ========== */

/* Header base */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(233, 127, 8, 0.2));
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

/* Menú de navegación - DESKTOP */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link:hover {
    color: var(--primary-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-yellow));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-dropdown:hover .arrow {
    transform: rotate(180deg);
}

/* Dropdown content - DESKTOP SOLAMENTE */
.dropdown-content {
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    background: white;
    min-width: 320px;
    max-width: 340px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(233, 127, 8, 0.1);
    overflow: hidden;
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-yellow));
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--primary-black);
    text-decoration: none;
    transition: all 0.3s ease;
    background: white;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(233, 127, 8, 0.05), rgba(255, 175, 0, 0.05));
    border-left-color: var(--primary-orange);
}

.service-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background: var(--gray-light);
    border-radius: 10px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dropdown-item:hover .service-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-yellow));
}

.service-info {
    flex: 1;
    min-width: 0;
}

.service-info strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.2rem;
}

.service-info small {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-medium);
    font-weight: 400;
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-medium);
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: var(--gray-light);
}

.phone-number:hover {
    color: var(--primary-orange);
    background: rgba(233, 127, 8, 0.1);
    transform: translateY(-2px);
}

.phone-icon {
    font-size: 1.2rem;
}

/* Botón CTA especial */
.btn-cta-special {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-yellow) 100%);
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(233, 127, 8, 0.35);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-cta-special:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(233, 127, 8, 0.5);
}

.btn-icon {
    font-size: 1.1rem;
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-cta-special:hover .btn-arrow {
    transform: translateX(5px);
}

/* Hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.7rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.hamburger:hover {
    background: var(--gray-light);
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-yellow));
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
    nav {
        padding: 0 1.5rem;
    }

    /* Menú móvil */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--gray-light);
        font-size: 1.05rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        transform: none;
    }

    /* Dropdown móvil */
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-width: 100%;
        width: 100%;
        min-width: auto;
        border-radius: 12px;
        margin: 0.5rem 0 1rem 0;
        display: none;
        border: none;
    }

    .nav-dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-item {
        padding: 1rem;
        width: 100%;
        border-left: 3px solid transparent;
    }

    .dropdown-item:hover {
        background: rgba(233, 127, 8, 0.05);
        transform: none;
    }

    .dropdown-item:hover .service-icon {
        transform: scale(1.05);
    }

    .service-icon {
        font-size: 1.3rem;
        min-width: 35px;
        height: 35px;
    }

    .hamburger {
        display: flex;
    }

    .phone-text {
        display: none;
    }

    .btn-cta-special span:not(.btn-icon):not(.btn-arrow) {
        display: none;
    }

    .btn-cta-special {
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1.1rem;
    }

    .logo img {
        height: 40px;
    }

    nav {
        padding: 0 1rem;
    }
}

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 120px;
    height: 130px;
    margin-bottom: 1rem;
}

.loader-text {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--primary-black);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-links h4 {
    margin-bottom: 1rem;
    color: var(--primary-orange);
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999999;
}

@media (max-width: 968px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }

    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .header-cta .phone-number {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }

    .option-buttons {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .floating-cta {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .floating-cta button {
        width: 100%;
        justify-content: center;
    }
}