 /* Variables CSS y Reset */
        :root {
            --primary-blue: #0A2463;
            --accent-gold: #D4AF37;
            --white: #FFFFFF;
            --light-gray: #F5F5F5;
            --dark-gray: #333333;
            --text-color: #444444;
            --border-radius: 4px;
            --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--white);
            overflow-x: hidden;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Playfair Display', serif;
            color: var(--primary-blue);
            margin-bottom: 1rem;
            line-height: 1.3;
        }
        
        h1 {
            font-size: 2.8rem;
            font-weight: 700;
        }
        
        h2 {
            font-size: 2.2rem;
            font-weight: 600;
            text-align: center;
            margin-bottom: 3rem;
        }
        
        h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }
        
        p {
            margin-bottom: 1rem;
        }
        
        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }
        
        ul {
            list-style: none;
        }
        
        img {
            max-width: 100%;
            height: auto;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        .btn {
            display: inline-block;
            padding: 12px 28px;
            border-radius: var(--border-radius);
            font-weight: 500;
            text-align: center;
            cursor: pointer;
            transition: var(--transition);
            border: none;
            font-size: 1rem;
        }
        
       .btn.btn-primary {
            background-color: var(--accent-gold);
            color: var(--primary-blue);
            
            padding: 10px 20px;        /* altura cómoda */
            font-size: 0.95rem;
            font-weight: 600;

            border-radius: 8px;        /* forma redondeada igual a tu imagen */
            border: none;

            white-space: nowrap;       /* 🔥 evita que se parta en 2 líneas */
            display: inline-flex;      /* centra texto */
            align-items: center;
            justify-content: center;

            cursor: pointer;
            text-decoration: none;     /* evita subrayado */

            transition: 0.3s ease;
        }

        .btn.btn-primary:hover {
            background-color: #c39d2f; /* tono dorado más oscuro elegante */
            transform: translateY(-1px);
        }

        
        .btn-primary:hover {
            background-color: #c19c2e;
            transform: translateY(-2px);
        }
                /* Quita la línea animada debajo de los botones */
        .nav-menu .btn-primary::after {
            display: none !important;
        }
        /* Evitar que cambie el color del texto del botón */
        .nav-menu .btn-primary {
            color: var(--primary-blue) !important;
        }

        .nav-menu .btn-primary:hover {
            color: var(--primary-blue) !important;
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--white);
            border: 2px solid var(--white);
        }
        
        .btn-secondary:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }
        
        .btn-outline {
            background-color: transparent;
            color: var(--primary-blue);
            border: 2px solid var(--primary-blue);
        }
        
        .btn-outline:hover {
            background-color: var(--primary-blue);
            color: var(--white);
        }
        
        section {
            padding: 5rem 0;
        }
        
        .section-light {
            background-color: var(--white);
        }
        
        .section-gray {
            background-color: var(--light-gray);
        }
        
        .text-center {
            text-align: center;
        }
        
        /* Preloader */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--white);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease;
        }
        
        .loader {
            width: 50px;
            height: 50px;
            border: 5px solid var(--light-gray);
            border-top: 5px solid var(--primary-blue);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* Header y Navegación */
      /* Header y Navegación */
      /* -------------------------------- */
/*            HEADER                */
/* -------------------------------- */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999 !important;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

/* Header al hacer scroll */
header.header-scrolled {
    background-color: #0f172a !important;
    padding: 8px 0;
}

header.header-scrolled .nav-menu a,
header.header-scrolled .logo {
    color: white !important;
}

header.header-scrolled .nav-menu a:hover {
    color: var(--accent-gold) !important;
}

header.header-scrolled .nav-menu a::after {
    background-color: var(--accent-gold);
}

/* -------------------------------- */
/*             NAVBAR               */
/* -------------------------------- */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

/* -------------------------------- */
/*               LOGO               */
/* -------------------------------- */

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.logo i {
    color: var(--accent-gold);
    margin-right: 8px;
}

.logo-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-text-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.recuadro-dorado {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    padding: 4px 8px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.8rem;
}

/* -------------------------------- */
/*          MENÚ ESCRITORIO         */
/* -------------------------------- */

.nav-menu {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    font-weight: 500;
    color: var(--primary-blue);
    position: relative;
    text-decoration: none;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

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

/* -------------------------------- */
/*          MENÚ HAMBURGUESA        */
/* -------------------------------- */

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

/* -------------------------------- */
/* RESPONSIVE                       */
/* -------------------------------- */

@media (max-width: 1200px) {
    .logo-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .logo-text-line {
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .logo {
        font-size: 1rem;
    }
    .logo-main {
        font-size: 1.5rem;
    }
    .logo-text-line {
        display: none;
    }
}

@media (max-width: 920px) {

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        background: var(--white);
        width: 250px;
        flex-direction: column;
        padding: 20px;
        gap: 18px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        z-index: 9999;
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }
}

@media (max-width: 768px) {

    .logo-main {
        font-size: 1.3rem;
    }

    .logo-text-line {
        display: none;
    }
}

        
        /* Hero Section */
        .hero {
            height: 100vh;
            background: linear-gradient(rgba(10, 36, 99, 0.7), rgba(10, 36, 99, 0.7)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') no-repeat center center/cover;
            display: flex;
            align-items: center;
            color: var(--white);
            text-align: center;
        }
        
        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .hero h1 {
            color: var(--white);
            margin-bottom: 1.5rem;
            font-size: 3.2rem;
        }
        
        .hero p {
            font-size: 1.2rem;
            margin-bottom: 2.5rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }
        
        /* Servicios Section */
       .services-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        }

        .service-card {
            background-color: var(--white);
            border-radius: var(--border-radius);
            padding: 2rem;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
            text-align: center;
            min-height: 350px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .service-card:hover {
            transform: translateY(-10px);
        }

        .service-icon {
            font-size: 2.5rem;
            color: var(--accent-gold);
            margin-bottom: 1.5rem;
        }

        .service-card h3 {
            margin-bottom: 1rem;
        }

        .service-card p {
            margin-bottom: 1.5rem;
            flex-grow: 1;
        }

        /* Media queries para responsividad */
        @media (max-width: 1200px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .services-grid {
                grid-template-columns: 1fr;
            }
            
            .service-card {
                min-height: auto;
            }
        }
        
        /* Por Qué Elegirnos Section */
        .why-us-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }
        
        .feature {
            text-align: center;
            padding: 1.5rem;
        }
        
        .feature-icon {
            font-size: 2.5rem;
            color: var(--accent-gold);
            margin-bottom: 1rem;
        }
        
        .stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .stat-item {
            text-align: center;
            padding: 1.5rem;
        }

        /* NÚMERO: baja y aparece */
        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-blue);
            margin-bottom: 0.5rem;
            position: relative;
            opacity: 0;
            top: -20px;
            animation: bajar 1.2s ease-out forwards;
            animation-play-state: paused;
        }

        /* TEXTO: aparece después del número */
        .stat-text {
            font-weight: 500;
            opacity: 0;
            transform: translateY(10px);
            animation: aparecer 0.8s ease-out forwards;
            animation-delay: 0.3s;
            animation-play-state: paused;
        }

        /* ANIMACIONES */
        @keyframes bajar {
            0% {
                top: -20px;
                opacity: o;
            }
            100% {
                top: 0;
                opacity: 1;
            }
        }

        @keyframes aparecer {
            0% {
                opacity: 0;
                transform: translateY(10px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* DELAYS para hacerlo SECUENCIAL */
        .stat-item:nth-child(1) .stat-number {
            animation-delay: 0s;
        }
        .stat-item:nth-child(1) .stat-text {
            animation-delay: 0.5s;
        }

        .stat-item:nth-child(2) .stat-number {
            animation-delay: 0.3s;
        }
        .stat-item:nth-child(2) .stat-text {
            animation-delay: 0.8s;
        }

        .stat-item:nth-child(3) .stat-number {
            animation-delay: 0.6s;
        }
        .stat-item:nth-child(3) .stat-text {
            animation-delay: 1.1s;
        }

        .stat-item:nth-child(4) .stat-number {
            animation-delay: 0.9s;
        }
        .stat-item:nth-child(4) .stat-text {
            animation-delay: 1.4s;
        }



        
        /* Testimonios Section */
   .testimonials-container {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.testimonials-slider {
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
}

.testimonials-container:hover .testimonials-slider {
  animation-play-state: paused;
}

.testimonial {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 2rem;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

@keyframes scrollContinuo {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.client-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--accent-gold);
}

.client-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stars {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

/* Ocultamos los puntos */
.slider-controls {
    display: none;
}

/* Animación continua */
@keyframes deslizar {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

        
        /* Equipo Section */
        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }
        
        .team-member {
            background-color: var(--white);
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
        }
        
        .team-member:hover {
            transform: translateY(-5px);
        }
        
        .member-photo {
            width: 100%;
            height: 300px;
            object-fit: cover;
        }
        
        .member-info {
            padding: 1.5rem;
        }
        
        .member-specialty {
            color: var(--accent-gold);
            font-weight: 500;
            margin-bottom: 1rem;
        }
        
        /* Contacto Section */
        .contact-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
        }
        
        .contact-form {
            background-color: var(--white);
            padding: 2rem;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }
        
        .form-control {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: var(--border-radius);
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }
        
        .form-control:focus {
            border-color: var(--primary-blue);
            outline: none;
        }
        
        textarea.form-control {
            min-height: 120px;
            resize: vertical;
        }
        
        .checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
        }
        
        .checkbox-group input {
            margin-top: 0.3rem;
        }
        
        .checkbox-group label {
            font-size: 0.9rem;
        }
        
        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }
        
        .contact-icon {
            font-size: 1.2rem;
            color: var(--accent-gold);
            margin-top: 0.2rem;
        }
        
        .map-container {
            height: 300px;
            border-radius: var(--border-radius);
            overflow: hidden;
            margin-top: 2rem;
        }
        
        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        
        /* Footer */
        /* ===== FOOTER COMPLETO ===== */

footer {
    width: 100%;
    background-color: #092155; /* Azul profundo acorde a tu diseño */
    color: #ffffff;
    padding: 60px 0 20px 0;
    margin-top: 60px;
}

/* Contenedor principal del footer */
footer .container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Secciones del footer */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

/* Cada bloque del footer */
.footer-about,
.footer-links,
.footer-contact,
.footer-official-links {
    flex: 1;
    min-width: 220px;
}

/* Títulos */
footer h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

/* Texto general */
footer p,
footer li a {
    font-size: 15px;
    line-height: 1.6;
    color: #d8e0f5;
}

/* Enlaces */
footer a {
    color: #d8e0f5;
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: #ffffff;
}

/* Redes sociales */
.social-links a {
    display: inline-block;
    margin-right: 12px;
    font-size: 18px;
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 50%;
    transition: 0.3s;
}

.social-links a:hover {
    background: #ffffff;
    color: #092155;
}

/* Línea inferior */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
    color: #b5c3e0;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links a {
        margin: 8px;
    }
}

        
        /* Botón de WhatsApp */
        .whatsapp-float {
            position: fixed;
            bottom: 25px;
            right: 25px;
            width: 60px;
            height: 60px;
            background-color: #25D366;
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 100;
            transition: var(--transition);
            animation: pulse 2s infinite;
        }
        
        .whatsapp-float:hover {
            transform: scale(1.1);
        }
        
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
            }
        }
        
        /* Botón volver arriba */
        .back-to-top {
            position: fixed;
            bottom: 20px;
            left: 20px;
            width: 50px;
            height: 50px;
            background-color: var(--primary-blue);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 99;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }
        
        .back-to-top.active {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            background-color: var(--accent-gold);
            color: var(--primary-blue);
        }
        
        /* Modal de confirmación */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }
        
        .modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .modal-content {
            background-color: var(--white);
            padding: 2.5rem;
            border-radius: var(--border-radius);
            max-width: 500px;
            width: 90%;
            text-align: center;
            position: relative;
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }
        
        .modal.active .modal-content {
            transform: translateY(0);
        }
        
        .modal-icon {
            font-size: 3rem;
            color: var(--accent-gold);
            margin-bottom: 1rem;
        }
        
        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-color);
        }
        
        /* Estilos para el formulario mejorado */
        .loading {
            position: relative;
            pointer-events: none;
        }
        
        .loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 20px;
            height: 20px;
            margin: -10px 0 0 -10px;
            border: 2px solid #f3f3f3;
            border-top: 2px solid var(--accent-gold);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        .error-message {
            color: #e74c3c;
            font-size: 0.875rem;
            margin-top: 0.25rem;
            display: none;
        }
        
        .error-message.show {
            display: block;
        }
        
        .form-control.error {
            border-color: #e74c3c;
        }
        
        .success-message {
            background-color: #d4edda;
            color: #155724;
            padding: 1rem;
            border-radius: var(--border-radius);
            margin-bottom: 1rem;
            display: none;
            border: 1px solid #c3e6cb;
        }
        
        .success-message.show {
            display: block;
        }
        
        .instructions {
            background-color: #e7f3ff;
            border: 1px solid #b3d9ff;
            border-radius: var(--border-radius);
            padding: 1rem;
            margin-bottom: 1.5rem;
            font-size: 0.9rem;
        }
        
        .instructions h4 {
            color: var(--primary-blue);
            margin-bottom: 0.5rem;
        }
        
        /* Responsive Design */
        @media (max-width: 992px) {
            h1 {
                font-size: 2.5rem;
            }
            
            h2 {
                font-size: 2rem;
            }
            
            .hero h1 {
                font-size: 2.8rem;
            }
        }
        
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
            
            .hamburger.active .bar:nth-child(2) {
                opacity: 0;
            }
            
            .hamburger.active .bar:nth-child(1) {
                transform: translateY(8px) rotate(45deg);
            }
            
            .hamburger.active .bar:nth-child(3) {
                transform: translateY(-8px) rotate(-45deg);
            }
            
            .nav-menu {
                position: fixed;
                left: -100%;
                top: 80px;
                flex-direction: column;
                background-color: var(--white);
                width: 100%;
                text-align: center;
                transition: 0.3s;
                box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
                padding: 2rem 0;
            }
            
            .nav-menu.active {
                left: 0;
            }
            
            .nav-menu li {
                margin: 1.5rem 0;
            }
            
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .btn {
                width: 100%;
                max-width: 250px;
            }
            
            .back-to-top {
                left: 15px;
                bottom: 80px;
            }
        }
        
        @media (max-width: 576px) {
            h1 {
                font-size: 2rem;
            }
            
            h2 {
                font-size: 1.8rem;
            }
            
            section {
                padding: 3rem 0;
            }
            
            .hero h1 {
                font-size: 1.8rem;
            }
            
            .service-card, .testimonial, .contact-form {
                padding: 1.5rem;
            }
        }
        /* -------------------------------------------------------- */
/*              ESTILOS PARA PREGUNTAS FRECUENTES           */
/* -------------------------------------------------------- */

#faq {
    padding: 5rem 0;
}

.faq-item {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 1.2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background: var(--white);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.2rem 1.5rem;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
}

.faq-question.active {
    background: var(--accent-gold);
    color: var(--primary-blue);
}

.faq-answer {
    display: none;
    padding: 1.2rem 1.5rem;
    background: var(--white);
    color: var(--text-color);
    border-left: 4px solid var(--accent-gold);
}

.faq-answer p {
    margin: 0;
}

/* ================================
   ESTILOS PARA LA SECCIÓN CALENDLY
   ================================ */

/* SECCIÓN CALENDLY LISTA PARA OCUPAR TODA LA PANTALLA */
#calendlySection {
    margin-top: 0 !important;
    padding-top: 90px; /* altura del header */
    min-height: calc(100vh - 90px);
    background: #f8f9fb;
    display: none;
}

/* TÍTULO PEGADO AL HEADER */
.reservar-title {
    font-family: "Playfair Display", serif;
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    color: #0c2a4d;
    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.08);
    animation: fadeIn 0.4s ease-out;
}

/* Ícono elegante */
.reservar-title::before {
    content: "⚖️";
    font-size: 2rem;
    display: block;
    margin-bottom: 5px;
}

/* Línea dorada */
.reservar-title::after {
    content: "";
    width: 100px;
    height: 4px;
    background: #d4af37;
    display: block;
    margin: 8px auto 0 auto;
    border-radius: 3px;
}

/* CONTENEDOR CALENDLY */
/* El iframe NO podrá salir de este bloque */
.calendly-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;     /* 🔥 EVITA QUE EL IFRAME SE EXPANDA INVISIBLE */
    padding-top: 10px;
}

/* CALENDLY A PANTALLA COMPLETA */
.calendly-inline-widget {
    width: 100% !important;
    height: 850px!important; 
    border: none;
    animation: fadeIn 0.4s ease-out;
    pointer-events: auto !important;
}
.calendly-blocker {
    position: relative !important;
    height: auto !important;
}
.calendly-inline-widget iframe {
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Evitar que el iframe cubra toda la pantalla */
#calendlySection {
    position: relative;
    z-index: 1;  /* Calendly siempre debajo */
    overflow: hidden; /* Evita que sobresalga y bloquee clics */
}

/* El header siempre arriba */
#header {
    position: relative;
    z-index: 9999; 
}

/* Animación suave */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Animación fade + slide */
@keyframes calendlyFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Aplicar animación al contenedor Calendly */
#calendlySection.mostrar {
    animation: calendlyFadeIn 0.6s ease forwards;
}
/* Botón volver dentro del Calendly */
.btn-volver-calendly {
    margin: 20px auto 0 auto;
    padding: 12px 25px;
    background: #0c2a4d;
    color: white;
    width: fit-content;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s ease;
}

.btn-volver-calendly:hover {
    background: #0e355f;
}

/* HEADER FIJO */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: white;
    transition: box-shadow 0.3s ease;
}

/* Sombra cuando el usuario baja */
#header.sticky {
    box-shadow: 0 3px 15px rgba(0,0,0,0.12);
}

/* ===========================
   HEADER ORIGINAL RESTAURADO
   ===========================*/

#header {
    width: 100%;
    position: fixed; /* si antes era estático, cámbialo a relative */
    top: 0;
    left: 0;
    z-index: 999;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: "Playfair Display", serif;
    color: #0c2a4d;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 22px;
    align-items: center;
}

.nav-menu a {
    color: #0c2a4d;
    font-weight: 500;
    text-decoration: none;
}

.btn.btn-primary {
    background: #d4af37;
    padding: 10px 18px;
    border-radius: 6px;
    color: #fff !important;
    font-weight: 600;
}

.btn.btn-primary:hover {
    opacity: 0.85;
}




