/* ==========================================================================
   HOJA DE ESTILOS PRINCIPAL - CORPOPERFFETO
   Desarrollado con diseño ultra-premium, elegante y estructurado por secciones.
   ========================================================================== */

@font-face {
    font-family: 'BeautySalon';
    src: url('../font/BeautySalon-Script.woff2') format('woff2'),
         url('../font/BeautySalon-Script.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Tipografías */
    --font-main: 'BeautySalon', cursive; 
    --font-sec: 'Montserrat', sans-serif;

    /* Colores y Variables */
    --primary-color: #354a2b;
    --primary-dark: #23311c;
    --gold-accent: #c5a059;
    --gold-light: #dfc288;
    --black-ebony: radial-gradient(circle at center, #29361e 0%, #0d0f0b 100%);
    --bg-dark-solid: #11150e;
    --text-dark: #1b1b1b;
    --text-light: #f5f5f3;
    --text-muted: #888888;
    --white: #ffffff;
    --transition: all 0.4s ease;
    --container-max: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sec);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Asegurar que las imágenes, contenedores y grillas respeten el ancho de la pantalla */
img, video, canvas, svg {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, .premium-title, .logo {
    font-family: var(--font-main);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   HEADER & NAVEGACIÓN
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(17, 21, 14, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.logo {
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 1px;
}

.logo span {
    color: var(--gold-accent);
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-sec);
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-accent);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-primary-header {
    font-family: var(--font-sec);
    background-color: var(--gold-accent);
    color: var(--primary-dark);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-primary-header:hover {
    background-color: var(--gold-light);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

/* ==========================================================================
   RESPONSIVE PARA HEADER & NAVEGACIÓN
   ========================================================================== */
@media (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: rgba(17, 21, 14, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        border-top: 1px solid rgba(197, 160, 89, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .header-actions .btn-primary-header {
        display: none; /* Se puede ocultar o integrar en el menú móvil según prefieras */
    }
}

/* ==========================================================================
   HERO SECTION (Preparado para Video)
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 90px;
    background-color: var(--primary-dark);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    display: block; /* Visible en desktop, tablets y móviles */
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 850px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hero-badge {
    font-family: var(--font-sec);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.4);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    /* Sombra elegante directa sobre las letras para legibilidad perfecta sin cuadros */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 4px 25px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    color: var(--gold-accent);
}

.hero-subtitle {
    font-family: var(--font-sec);
    font-size: 1.15rem;
    color: #f0f0f0;
    margin-bottom: 2.5rem;
    font-weight: 300;
    /* Sombra elegante directa sobre las letras del subtítulo */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-gold {
    font-family: var(--font-sec);
    background-color: var(--gold-accent);
    color: var(--primary-dark);
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-gold:hover {
    background-color: var(--gold-light);
    transform: translateY(-3px);
}

.btn-outline {
    font-family: var(--font-sec);
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE PARA HERO SECTION
   ========================================================================== */
@media (max-width: 1024px) {
    .badge-floating {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .badge-floating {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 1.5rem;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn-gold, .btn-outline {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1.5rem;
    }
}

/* ==========================================================================
   SECCIÓN NOSOTROS (Dark Theme con Estructura de Referencia)
   ========================================================================== */

.categories.section-dark.about-section-dark {
    background: var(--black-ebony); /* Mantiene tu fondo oscuro elegante */
    color: var(--text-light);
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

/* Columna Izquierda con Forma y Sello */
.about-images {
    position: relative;
    padding-left: 20px;
}

/* Forma verde oscura y elegante de fondo detrás de la foto principal */
.about-shape-bg-dark {
    position: absolute;
    top: -20px;
    left: 0;
    width: 85%;
    height: 90%;
    background-color: rgba(53, 74, 43, 0.4); /* Verde oliva sutil traslúcido */
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 120px 20px 20px 120px;
    z-index: 1;
}

.image-frame-main {
    position: relative;
    z-index: 2;
    border-radius: 100px 15px 15px 100px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.image-frame-main img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.image-frame-main img:hover {
    transform: scale(1.03);
}

/* Sello Circular Flotante adaptado al tema oscuro */
.badge-seal-floating {
    position: absolute;
    bottom: -35px;
    right: 15px;
    width: 110px;
    height: 110px;
    background-color: #161c12; /* Fondo oscuro sólido */
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 3;
}

.seal-text-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateSeal 20s linear infinite;
}

.seal-text-circle svg {
    width: 100%;
    height: 100%;
}

@keyframes rotateSeal {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Ajustado para contener perfectamente la silueta en el centro */
.seal-icon-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
}

.seal-center-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

/* Columna Derecha Textos */
.categories-intro-left {
    margin-bottom: 1.5rem;
}

.gold-line-left {
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--gold-accent);
    margin-bottom: 0.8rem;
}

.section-tag-dark {
    font-family: var(--font-sec);
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-accent);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.about-section-dark .premium-title {
    font-size: 3.2rem;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 0;
}

.about-section-dark .premium-title span {
    color: var(--gold-accent);
}

.about-description-dark {
    font-family: var(--font-sec);
    font-size: 1.05rem;
    color: #d1d1d1;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Características en Fila Horizontal Dark */
.about-features-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.feature-item-minimal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.feature-icon-circle-dark {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-accent);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    background-color: rgba(197, 160, 89, 0.05);
    transition: var(--transition);
}

.feature-item-minimal:hover .feature-icon-circle-dark {
    background-color: var(--gold-accent);
    color: var(--primary-dark);
    border-color: var(--gold-accent);
    transform: translateY(-3px);
}

.feature-item-minimal span {
    font-family: var(--font-sec);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.3;
}

/* ==========================================================================
   RESPONSIVE PARA NOSOTROS DARK (Actualizado a 3 columnas en móvil)
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .about-images {
        max-width: 450px;
        margin: 0 auto;
        padding-left: 0;
    }
    .about-shape-bg-dark {
        width: 90%;
    }
}

@media (max-width: 576px) {
    .about-features-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        width: 100%;
        justify-items: center; /* Asegura que los ítems estén centrados en la celda */
    }
    
    .feature-item-minimal {
        display: flex;
        flex-direction: column;
        align-items: center;   /* Centra horizontalmente el icono y el texto */
        text-align: center;    /* Centra el texto en general */
        gap: 0.3rem;
        width: 100%;
    }
    
    .feature-item-minimal span {
        font-size: 0.7rem;
        line-height: 1.2;
        white-space: normal;   /* Permite que el texto baje a 2 líneas en vertical de forma natural */
        max-width: 100%;       /* Asegura que use el ancho disponible de la columna */
    }
    
    .feature-icon-circle-dark {
        margin-bottom: 0.2rem;
        min-width: 38px;
        height: 38px;
        width: 38px;
        font-size: 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .about-section-dark .premium-title {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   SECCIÓN SERVICIOS (Nuevo Diseño Tarjeta Editorial - Controlado con una clase)
   ========================================================================== */

.services-section-light {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 8rem 0;
}

.services-section-light .categories-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.services-section-light .gold-line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background-color: var(--gold-accent);
    margin-bottom: 0.8rem;
}

.services-section-light .section-tag-light {
    font-family: var(--font-sec);
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-accent);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.services-section-light .premium-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.services-section-light .premium-title span {
    color: var(--gold-accent);
}

.services-section-light .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem; /* Ajustado para dar espacio al botón */
}

/* Tarjeta Estilo Editorial */
.services-section-light .service-card {
    background: #ffffff;
    border: 1px solid #eaeae5;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.services-section-light .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--gold-accent);
}

.services-section-light .service-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.services-section-light .service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.services-section-light .service-card:hover .service-img-wrap img {
    transform: scale(1.06);
}

/* Sello / Insignia superior elegante */
.services-section-light .service-badge-top {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(6px);
    color: var(--gold-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: background 0.3s ease;
}

.services-section-light .service-card:hover .service-badge-top {
    background: var(--primary-dark);
}

.services-section-light .service-body {
    padding: 2rem 1.5rem 1.8rem 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    background-color: #ffffff;
}

.services-section-light .service-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.services-section-light .service-body p {
    font-family: var(--font-sec);
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.services-section-light .btn-reserve {
    font-family: var(--font-sec);
    background-color: #f9f9f9;
    color: var(--primary-dark);
    border: 1px solid #e0e0e0;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    margin-top: auto;
    width: 100%;
    text-decoration: none;
    box-sizing: border-box;
}

.services-section-light .btn-reserve i {
    font-size: 0.9rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.services-section-light .btn-reserve:hover {
    background-color: var(--primary-dark);
    color: #ffffff;
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.services-section-light .btn-reserve:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   ESTILOS PARA EL BOTÓN "CARGAR MÁS"
   ========================================================================== */
.services-section-light .services-load-more-wrap {
    text-align: center;
    margin-top: 3rem;
}

.services-section-light .service-load-btn {
    font-family: var(--font-sec);
    background-color: transparent;
    color: var(--primary-dark);
    border: 1px solid var(--gold-accent);
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.services-section-light .service-load-btn i {
    color: var(--gold-accent);
    transition: transform 0.3s ease;
}

.services-section-light .service-load-btn:hover {
    background-color: var(--gold-accent);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.25);
}

.services-section-light .service-load-btn:hover i {
    color: #ffffff;
    transform: translateY(3px);
}

.services-section-light .section-footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4rem;
}

.services-section-light .section-footer-note p {
    font-family: var(--font-main);
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: var(--primary-dark);
    font-weight: 400;
}

.services-section-light .section-footer-note span {
    color: var(--gold-accent);
}

/* ==========================================================================
   RESPONSIVE PARA SERVICIOS (Con altura blindada para evitar que el botón se pierda)
   ========================================================================== */
@media (max-width: 1024px) {
    .services-section-light .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        align-items: stretch; /* Asegura que todas las tarjetas de la fila midan lo mismo */
    }
}

@media (max-width: 768px) {
    .services-section-light .premium-title {
        font-size: 2rem;
    }
    
    .services-section-light .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        align-items: stretch;
    }

    .services-section-light .service-whatsapp-btn {
        padding: 0.4rem 0.5rem;
        font-size: 0.65rem;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .services-section-light {
        padding: 4rem 0;
    }

    .services-section-light .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        margin-bottom: 3rem;
        align-items: stretch; /* Evita desbordes estirando las tarjetas simétricamente */
    }

    .services-section-light .premium-title {
        font-size: 1.5rem;
    }

    /* Blindaje de la tarjeta individual para que contenga perfectamente el botón */
    .services-section-light .service-card {
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow: hidden; /* Evita que cualquier contenido sobresalga de los bordes redondeados */
    }

    .services-section-light .service-img-wrap {
        height: 110px; /* Altura optimizada para dejar espacio limpio al texto y botón */
        flex-shrink: 0;
    }

    .services-section-light .service-badge-top {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        top: 8px;
        right: 8px;
    }

    .services-section-light .service-body {
        padding: 0.7rem 0.3rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-grow: 1; /* Distribuye el espacio interno de forma fluida */
    }

    .services-section-light .service-body h3 {
        font-size: 0.8rem;
        line-height: 1.2;
        margin-bottom: 0.25rem;
        word-break: break-word;
    }

    .services-section-light .service-body p {
        font-size: 0.65rem;
        margin-bottom: 0.4rem;
        line-height: 1.2;
    }

    .services-section-light .service-whatsapp-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        padding: 0.35rem 0.2rem;
        font-size: 0.48rem;
        gap: 0.3rem;
        box-sizing: border-box;
        border-radius: 4px;
        white-space: nowrap;
        flex-shrink: 0; /* Impide que el botón se comprima o desaparezca */
    }

    .services-section-light .section-footer-note {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 0.5rem;
        width: 100%;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }

    .services-section-light .section-footer-note .gold-line {
        flex: 1;
        height: 1px;
    }

    .services-section-light .section-footer-note p {
        font-size: 0.75rem;
        letter-spacing: 0.3px;
        white-space: nowrap;
        margin: 0;
    }
}

/* BLINDAJE EXTREMO PARA MÓVILES ULTRA ESTRECHOS (320px - 380px) */
@media (max-width: 380px) {
    .services-section-light .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.35rem;
        align-items: stretch;
    }

    .services-section-light .service-card {
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow: hidden;
    }

    .services-section-light .service-body {
        padding: 0.5rem 0.15rem;
    }

    .services-section-light .service-body h3 {
        font-size: 0.72rem;
    }

    .services-section-light .service-body p {
        font-size: 0.56rem;
    }

    .services-section-light .service-whatsapp-btn {
        padding: 0.25rem 0.05rem;
        font-size: 0.43rem;
        gap: 0.12rem;
        letter-spacing: -0.3px;
        white-space: nowrap;
    }

    .services-section-light .section-footer-note p {
        font-size: 0.6rem;
    }
}

/* ==========================================================================
   SECCIÓN FAQ - CORPO PERFETTO ESTILOS MODERNOS
   ========================================================================== */
.faq-section {
    padding: 100px 0;
    background-color: var(--primary-dark); /* Usando tu variable principal oscura */
    color: var(--white, #ffffff);
}

.faq-intro {
    text-align: center;
    margin-bottom: 60px;
}

.faq-intro .gold-line {
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--gold, #d4af37);
    margin: 0 auto 15px auto;
}

.faq-intro .premium-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white, #ffffff);
}

.faq-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.5);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white, #ffffff);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--gold, #d4af37);
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--gold, #d4af37);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 25px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.6;
}

/* Estado activo cuando se despliega la respuesta */
.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 25px 25px 25px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    .faq-intro .premium-title {
        font-size: 2rem;
    }
    .faq-question {
        font-size: 1rem;
        padding: 18px 20px;
    }
}

/* ==========================================================================
   SECCIÓN UBICACIÓN (Diseño Equilibrado y Alturas Iguales)
   ========================================================================== */

.location-section-light {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 8rem 0;
}

.location-section-light .location-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: stretch; /* Fuerza a que ambos bloques tengan la misma altura */
}

/* Tarjeta de Información con fondo verde tenue, mejor distribución y altura completa */
.location-section-light .location-info {
    background-color: #f2f5f3;
    border: 1px solid #e1e8e4;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribuye el contenido verticalmente para llenar el espacio */
    height: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.location-section-light .location-info:hover {
    border-color: var(--gold-accent);
}

.location-section-light .categories-intro {
    text-align: left;
    margin-bottom: 1.5rem;
}

.location-section-light .gold-line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background-color: var(--gold-accent);
    margin-bottom: 0.8rem;
}

.location-section-light .premium-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.2;
}

.location-section-light .italic-gold {
    font-style: italic;
    color: var(--gold-accent);
    font-weight: 400;
}

/* Detalles de Ubicación mejorados */
.location-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.detail-item {
    border-left: 2px solid var(--gold-accent);
    padding-left: 1rem;
    background: rgba(255, 255, 255, 0.5);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-right: 0.8rem;
    border-radius: 0 8px 8px 0;
}

.detail-label {
    font-family: var(--font-sec);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-accent);
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
}

.detail-text {
    font-family: var(--font-sec);
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.detail-text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail-text a:hover {
    color: var(--gold-accent);
}

.appointment-note {
    font-size: 0.8rem;
    color: var(--gold-accent);
    font-style: italic;
    display: block;
    margin-top: 0.3rem;
}

/* Contenedor del Mapa (Se adapta a la misma altura del bloque de info) */
.map-container {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eaeae5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
}

.map-frame {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Responsive */
@media (max-width: 992px) {
    .location-section-light .location-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-section-light .categories-intro {
        text-align: center;
    }
    
    .location-section-light .gold-line {
        display: block;
        margin: 0 auto 0.8rem auto;
    }

    .location-section-light .location-info {
        height: auto; /* En móvil se adapta al contenido natural */
    }
    
    .map-container {
        height: 380px;
        min-height: 380px;
    }
}

@media (max-width: 576px) {
    .location-section-light {
        padding: 4rem 0;
    }

    .location-section-light .premium-title {
        font-size: 1.8rem;
    }

    .location-section-light .location-info {
        padding: 1.5rem;
    }

    .map-container {
        height: 300px;
        min-height: 300px;
    }
}

/* ==========================================================================
   FOOTER SECTION-DARK (Diseño Centrado, Simétrico y Editorial)
   ========================================================================== */

.footer.section-dark {
    background-color: var(--primary-dark, #111111);
    color: var(--white, #ffffff);
    padding: 6rem 0 3rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Grid simétrico donde los 3 bloques se centran perfectamente en cualquier pantalla */
.footer-grid-centered {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    align-items: start;
    text-align: center;
    margin-bottom: 4rem;
    width: 100%;
}

.footer-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Tipografía de Logo y Títulos */
.footer .footer-logo {
    font-family: var(--font-main);
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.footer .gold-text {
    color: var(--gold-accent, #d4af37);
    font-style: italic;
}

.footer .footer-tagline {
    font-family: var(--font-sec);
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    max-width: 280px;
}

.footer .footer-title {
    font-family: var(--font-sec);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-accent, #d4af37);
    margin-bottom: 1.5rem;
}

/* Listas de Enlaces Centradas */
.footer-links-centered {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.footer-links-centered a {
    color: #ccc;
    text-decoration: none;
    font-family: var(--font-sec);
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-links-centered a i {
    color: var(--gold-accent, #d4af37);
    font-size: 1rem;
}

.footer-links-centered a:hover {
    color: var(--gold-accent, #d4af37);
}

/* Bloque de Información de Contacto Centrado */
.footer-info-centered {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    font-family: var(--font-sec);
    font-size: 0.95rem;
    color: #ccc;
}

.footer-info-centered p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1.5;
}

.footer-info-centered i {
    color: var(--gold-accent, #d4af37);
}

.footer-info-centered a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info-centered a:hover {
    color: var(--gold-accent, #d4af37);
}

/* Zona Inferior (Copyright y Firma J.A.M) */
.footer-bottom-centered {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.footer .footer-copy {
    font-family: var(--font-sec);
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.footer .developer-credit {
    font-family: var(--font-sec);
    font-size: 0.85rem;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.footer .dev-signature {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--gold-accent, #d4af37);
    text-decoration: none;
    letter-spacing: 1px;
    position: relative;
    transition: opacity 0.3s ease;
}

.footer .dev-signature::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--gold-accent, #d4af37);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.footer .dev-signature:hover {
    opacity: 0.85;
}

.footer .dev-signature:hover::after {
    opacity: 1;
}

/* Responsive para Tablets y Móviles (Columna única centrada) */
@media (max-width: 992px) {
    .footer-grid-centered {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP (Con ondas de pulso)
   ========================================================================== */

.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* Color oficial de WhatsApp */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-floating:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    color: #ffffff;
}

/* Icono interior */
.whatsapp-floating i {
    z-index: 2;
}

/* Efecto de Ondas expansivas (Pulse Wave) */
.whatsapp-floating .pulse-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.7;
    z-index: 1;
    animation: pulseAnimation 2s infinite ease-out;
}

.whatsapp-floating .pulse-wave.wave-2 {
    animation-delay: 1s; /* Desfase para la segunda onda */
}

@keyframes pulseAnimation {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Ajuste responsive para móviles si es necesario */
@media (max-width: 768px) {
    .whatsapp-floating {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}