/* ==========================================================================
   0. TOKENS DE DISEÑO (SISTEMA BOTÁNICO DE ALTO PRESTIGIO)
   ========================================================================== */
:root {
    /* Paleta Refinada "Prestigio Botánico de Autor" */
    --color-primary: #0A1C11;      /* Verde Bosque Umbrío (Profundidad, misterio y follaje noble) */
    --color-bg-base: #FAF8F5;      /* Crema de Lino (Fondo mate, cálido y elegante) */
    --color-accent: #B08D4B;       /* Bronce de Montaña (Metálico premium, interactivos de alta gama) */
    --color-gold: #C5A059;         /* Oro Viejo (Hilos editoriales y decorativos) */
    --color-gold-dark: #8A6D35;    /* Oro Viejo Oscurecido (Contraste WCAG AA en fondos claros) */
    --color-text-dark: #232A25;    /* Carbón Orgánico (Lectura fluida de alto contraste) */
    --color-text-light: #FAF8F5;   /* Crema de Lino */
    --color-white: #FFFFFF;
    --color-border: #E5E0D5;       /* Yeso Mineralizado (Líneas arquitectónicas finas) */
    --color-shadow-tint: rgba(10, 28, 17, 0.05);

    /* Tipografías Terrenales y Profesionales */
    --font-heading: 'Lora', Georgia, serif;
    --font-body: 'Outfit', system-ui, -apple-system, sans-serif;

    /* Escala de Espaciados Organizados */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 140px; /* Ampliado para espaciado editorial premium */

    /* Transiciones de Alta Gama */
    --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); /* Ease Out Expo premium */
    --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    /* Bordes y Sombras - Rigor Arquitectónico Recto */
    --radius-sm: 0px;
    --radius-lg: 0px;
    --shadow-soft: 0 15px 40px var(--color-shadow-tint);
    --shadow-focus: 0 0 0 3px rgba(176, 141, 75, 0.35);
}

/* ==========================================================================
   1. RESET Y CONFIGURACIÓN BASE
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-base);
    color: var(--color-text-dark);
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button {
    font-family: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   2. TIPOGRAFÍA EDITORIAL BOTÁNICA
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.25;
    color: var(--color-primary);
}

.section-title {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    margin-bottom: var(--space-sm);
    text-align: left;
}

.section-lead {
    font-size: 1.063rem;
    color: var(--color-text-dark);
    opacity: 0.85;
    max-width: 600px;
    margin-bottom: var(--space-lg);
}

/* Alineaciones de Cabeceras de Sección (Estilo Arquitectónico Alineado a la Izquierda) */
.services-header, .gallery-header, .faq-header {
    text-align: left;
    max-width: 800px;
    margin-left: 0;
    margin-right: auto;
    margin-bottom: var(--space-lg);
}

.services-header .section-title, 
.gallery-header .section-title, 
.faq-header .section-title {
    text-align: left;
}

.services-header .section-lead, 
.gallery-header .section-lead, 
.faq-header .section-lead {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    max-width: 100%;
}

/* Foco de Accesibilidad */
a:focus-visible, 
button:focus-visible {
    outline: none;
    box-shadow: var(--shadow-focus);
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   3. BOTONES Y ACCIONES (ALTA CONVERSIÓN)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px; /* Más compacto en celulares para evitar saltos de línea */
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px; /* Esquinas sutiles estilo corporativo */
    transition: var(--transition-smooth);
    text-align: center;
    border: none;
    gap: 8px; /* Espaciado para el icono */
}

@media (min-width: 768px) {
    .btn {
        padding: 16px 36px; /* Ampliado en pantallas grandes */
    }
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg-base);
    border: 1px solid var(--color-primary);
    box-shadow: 0 4px 14px rgba(17, 46, 27, 0.12);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 70, 0.22);
}

.btn-accent {
    background-color: var(--color-accent); /* Verde Pasto Fresco para conversión */
    color: var(--color-text-light);
    border: 1px solid var(--color-accent);
    box-shadow: 0 4px 14px rgba(46, 125, 70, 0.22);
}

.btn-accent:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 46, 27, 0.35);
}

/* Iconos de Botones e Interacciones */
.btn-icon {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
    stroke-width: 2.5px;
}

.btn:hover .btn-icon {
    transform: translateX(4px); /* Deslizamiento premium */
}

.btn-icon-mini {
    width: 14px;
    height: 14px;
    margin-left: 6px;
    transition: var(--transition-fast);
}

.btn-header-cta:hover .btn-icon-mini {
    transform: rotate(15deg) scale(1.1);
}

/* Utilidades Responsivas */
@media (max-width: 767px) {
    .hide-on-mobile {
        display: none !important;
    }
}

/* ==========================================================================
   4. CABECERA (HEADER / NAVBAR TRANSLÚCIDO)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(250, 248, 245, 0.9); /* Crema de Lino translúcido */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-fast);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(16px + env(safe-area-inset-top)) var(--space-sm) 16px var(--space-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.header-actions-desktop {
    display: none;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-image {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.logo-main-text {
    font-family: var(--font-body);
    font-size: 0.75rem; /* 12px */
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-primary);
}

.logo-sub-text {
    font-family: var(--font-body);
    font-size: 0.531rem; /* 8.5px */
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--color-gold-dark);
    margin-top: 1.5px;
}

/* Botón Hamburguesa (3 Líneas de Agencia - Touch Target 44x44px WCAG) */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 44px;
    height: 44px;
    padding: 13px 10px; /* Genera el área táctil de 44x44px manteniendo el contenido en 24x18px */
    z-index: 110;
    box-sizing: border-box;
}

.hamburger-bar {
    width: 100%;
    height: 2px; /* Mayor nitidez y grosor */
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

/* Navegación lateral en móviles (Take-over Verde Laurel Imperial) */
.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-primary); /* Verde Laurel Imperial */
    padding: 120px var(--space-sm) 40px var(--space-sm);
    transform: translateX(100%);
    transition: var(--transition-smooth);
    z-index: 105;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

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

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.75rem; /* Ajustado para evitar desbordes en iPhones */
    color: var(--color-bg-base); /* Crema de Lino */
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 0;
    border-bottom: 1px solid rgba(250, 248, 245, 0.06);
}

.nav-link:hover {
    color: var(--color-gold);
    padding-left: 8px;
}

.nav-number {
    font-family: var(--font-body);
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--color-gold);
}

/* Cambiar color de barras hamburguesa al abrir */
.menu-toggle[aria-expanded="true"] .hamburger-bar {
    background-color: var(--color-bg-base);
}

/* Widget de contacto dentro del menú lateral */
.nav-menu-contact-widget {
    margin-top: 40px;
    border-top: 1px solid rgba(250, 248, 245, 0.1);
    padding-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.widget-title {
    font-size: 0.688rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    font-weight: 700;
}

.widget-phone {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-bg-base);
}

.widget-phone:hover {
    color: var(--color-gold);
}

.widget-hours {
    font-size: 0.75rem;
    color: rgba(250, 248, 245, 0.5);
}

/* Transformaciones hamburguesa activa (3 líneas) */
.menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   5. SECCIÓN HERO (ASIMÉTRICO LUMINOSO)
   ========================================================================== */
.hero {
    padding-top: 110px;
    padding-bottom: var(--space-lg);
    background-color: var(--color-bg-base);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-sm);
}

.hero-title {
    font-size: clamp(1.875rem, 6.5vw, 3.5rem);
    line-height: 1.15;
    color: var(--color-primary);
}

.hero-lead {
    font-size: 1.063rem;
    color: var(--color-text-dark);
    opacity: 0.75; /* Suaviza el peso visual frente al h1 */
    font-weight: 300;
    max-width: 500px;
}

.hero-actions {
    margin-top: var(--space-sm);
}

.hero-cta-btn {
    width: 100%;
}

/* Imagen Hero */
.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: var(--color-primary);
    box-shadow: var(--shadow-soft);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: kenBurns 24s infinite alternate ease-in-out;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.05) translate(-1%, -1%);
    }
}

/* ==========================================================================
   6. FRANJA DE LINAJE (SELLOS DE BRONCE)
   ========================================================================== */
.credentials-bar {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 24px 0;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.credentials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.cred-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(250, 248, 245, 0.08);
}

.cred-item:last-child {
    border-bottom: none;
}

.cred-icon {
    color: var(--color-gold);
    width: 20px;
    height: 20px;
}

.cred-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ==========================================================================
   7. SECCIÓN SOBRE NOSOTROS (MARCO DE HERENCIA)
   ========================================================================== */
.about {
    padding: var(--space-lg) 0;
    background-color: var(--color-bg-base);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.about-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.about-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-paragraphs {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    font-size: 0.938rem;
    color: var(--color-text-dark);
}

.about-media-block {
    position: relative;
    padding: 12px;
}

.about-img-frame {
    border-radius: var(--radius-lg);
    overflow: visible; /* Permitir que sobresalga la escarapela */
    aspect-ratio: 1 / 1;
    background-color: var(--color-border);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-soft);
}

/* Escarapela Flotante de Lujo - Posición segura en móvil para evitar scroll horizontal */
.about-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--color-primary);
    border: 2px solid var(--color-gold);
    color: var(--color-bg-base);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: var(--shadow-soft);
    animation: floatBadge 6s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(3deg); }
}

.about-badge-year {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--color-gold);
    line-height: 1;
}

.about-badge-text {
    font-size: 0.563rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    width: 80%;
    margin-top: 2px;
    opacity: 0.9;
}

/* Marco exterior dorado flotante */
.about-media-block::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 24px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-lg);
    z-index: 1;
    transition: var(--transition-smooth);
}

.about-media-block:hover::after {
    transform: translate(-6px, -6px);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.about-media-block:hover .about-img {
    transform: scale(1.02);
}

/* ==========================================================================
   8. SECCIÓN SERVICIOS (TARJETAS ORGÁNICAS)
   ========================================================================== */
.services {
    padding: var(--space-lg) 0;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.services-header {
    margin-bottom: var(--space-lg);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.service-card {
    background-color: var(--color-bg-base);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: var(--color-gold);
}

.service-header-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-number {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gold);
}

.service-icon-svg {
    width: 32px;
    height: 32px;
    fill: var(--color-primary);
    transition: var(--transition-fast);
}

.service-card:hover .service-icon-svg {
    fill: var(--color-accent);
    transform: scale(1.05);
}

.service-card-title {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.service-card-desc {
    font-size: 0.875rem;
    color: var(--color-text-dark);
    opacity: 0.9;
}

.service-card-link {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gold-dark);
    font-weight: 700;
    margin-top: auto; /* Fuerza la alineación al fondo de la tarjeta */
    padding-top: var(--space-xs);
    display: inline-block;
}

.service-card-link:hover {
    color: var(--color-primary);
}

/* ==========================================================================
   9. SECCIÓN TIERRA DE HOJA (BOUTIQUE OSCURA)
   ========================================================================== */
.tierra-de-hoja {
    padding: var(--space-lg) 0;
    background-color: var(--color-primary); /* Contraste Oscuro de Alta Gama */
    color: var(--color-text-light);
}

.tierra-de-hoja .section-title {
    color: var(--color-bg-base);
}

.tierra-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.tierra-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.tierra-img-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: rgba(250, 248, 245, 0.05);
    box-shadow: var(--shadow-soft);
}

.tierra-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tierra-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-sm);
}

.tierra-desc {
    font-size: 0.938rem;
    opacity: 0.85;
}

/* Precios */
.tierra-price-box {
    border-left: 2px solid var(--color-gold);
    padding-left: var(--space-sm);
    margin: var(--space-xs) 0;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    color: var(--color-gold);
    line-height: 1;
}

.price-currency {
    font-size: 1.125rem;
    font-weight: 500;
    vertical-align: super;
}

.price-label {
    font-size: 0.813rem;
    opacity: 0.7;
}

/* Listado de checks */
.tierra-details-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.tierra-detail-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    font-size: 0.938rem;
    margin-bottom: var(--space-xs);
}

.detail-check-icon {
    width: 18px;
    height: 18px;
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.tierra-action {
    margin-top: var(--space-xs);
}

/* ==========================================================================
   10. SECCIÓN PORTAFOLIO (GALERÍA VIVA)
   ========================================================================== */
.gallery {
    padding: var(--space-lg) 0;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.gallery-header {
    margin-bottom: var(--space-lg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.gallery-item {
    background-color: transparent;
    border: none;
    border-top: 1px solid var(--color-border);
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-top: var(--space-sm);
    transition: var(--transition-smooth);
}

.gallery-img-wrapper {
    overflow: hidden;
    aspect-ratio: 3 / 2;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.03);
}

.gallery-item:hover .gallery-img-wrapper {
    border-color: var(--color-accent);
}

.gallery-caption {
    padding: var(--space-xs) 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gallery-tag {
    font-size: 0.688rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold-dark);
    font-weight: 700;
}

.gallery-item-title {
    font-size: 1.25rem;
    color: var(--color-primary);
}

/* ==========================================================================
   11. SECCIÓN TESTIMONIOS (CITA EDITORIAL EN GLOBO)
   ========================================================================== */
.testimonials {
    padding: var(--space-lg) 0;
    background-color: var(--color-bg-base);
    text-align: center;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.testimonial-single {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.testimonial-quote-icon {
    width: 44px;
    height: 44px;
    color: var(--color-gold);
    opacity: 0.5;
    margin-bottom: var(--space-xs);
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.375rem, 3.5vw, 2rem);
    line-height: 1.4;
    font-style: italic;
    color: var(--color-primary);
}

.testimonial-author {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-gold-dark);
    font-style: normal;
    font-weight: 700;
}

/* ==========================================================================
   12. SECCIÓN PREGUNTAS FRECUENTES (FAQ ACORDEÓN)
   ========================================================================== */
.faq {
    padding: var(--space-lg) 0;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.faq-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.faq-header .section-title {
    text-align: center;
}

.faq-accordion-wrapper {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--color-border);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question-btn {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.063rem;
    color: var(--color-primary);
    transition: var(--transition-fast);
}

.faq-question-btn:hover {
    color: var(--color-accent);
}

.faq-icon-toggle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-gold-dark);
    transition: var(--transition-fast);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease;
}

.faq-answer-content {
    padding: 0 0 20px 0;
    font-size: 0.875rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Estado Expandido FAQ */
.faq-question-btn[aria-expanded="true"] {
    color: var(--color-accent);
}

.faq-question-btn[aria-expanded="true"] .faq-icon-toggle {
    transform: rotate(45deg);
    color: var(--color-accent);
}

.faq-answer.is-open {
    opacity: 1;
}

/* ==========================================================================
   13. SECCIÓN CONTACTO Y COBERTURA (CONCIERGE)
   ========================================================================== */
.contact {
    padding: var(--space-lg) 0;
    background-color: var(--color-bg-base);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.contact-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Tarjeta física */
.contact-info-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-headline {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--color-primary);
}

.contact-sublead {
    font-size: 0.875rem;
    opacity: 0.85;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin: var(--space-sm) 0;
}

.channel-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.channel-icon {
    font-size: 1.25rem;
    line-height: 1.2;
}

.channel-details {
    display: flex;
    flex-direction: column;
}

.channel-label {
    font-size: 0.688rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gold-dark);
    font-weight: 700;
}

.channel-value {
    font-size: 1.063rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-top: 2px;
}

.channel-value:hover {
    color: var(--color-accent);
}

.contact-action-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-btn-call {
    width: 100%;
}

.contact-btn-subtext {
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Mapa Estático */
.contact-map-wrapper {
    width: 100%;
}

.map-container-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--color-border);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 28, 17, 0.55);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-white);
    transition: var(--transition-smooth);
}

.map-overlay-icon {
    font-size: 2rem;
    color: var(--color-gold);
    transition: var(--transition-smooth);
}

.map-overlay-text {
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.map-link:hover .map-overlay {
    background-color: rgba(10, 28, 17, 0.75);
}

.map-link:hover .map-overlay-icon {
    transform: scale(1.15) translateY(-4px);
}

.map-link:hover .map-img {
    transform: scale(1.02);
}

/* ==========================================================================
   14. PIE DE PÁGINA (FOOTER BOTÁNICO)
   ========================================================================== */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(250, 248, 245, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.footer-branding {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-logo-title {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-bg-base);
    letter-spacing: 0.12em;
}

.footer-logo-subtitle {
    font-size: 0.688rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    font-weight: 700;
}

.footer-tagline {
    font-size: 0.813rem;
    opacity: 0.7;
    margin-top: 8px;
    max-width: 300px;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    border-top: 1px solid rgba(250, 248, 245, 0.05);
    padding-top: var(--space-sm);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-link {
    font-size: 0.75rem;
    opacity: 0.7;
}

.footer-link:hover {
    opacity: 1;
    color: var(--color-gold);
}

.footer-copyright {
    font-size: 0.75rem;
    opacity: 0.65; /* Mayor contraste de legibilidad para cumplimiento WCAG AA */
}

/* ==========================================================================
   15. BOTÓN DE CONCIERGE MÓVIL (VIVID MOSS)
   ========================================================================== */
.floating-cta-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 150;
    display: flex;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.floating-cta-btn {
    width: 100%;
    border-radius: 0;
    padding: 18px var(--space-sm) calc(18px + env(safe-area-inset-bottom)) var(--space-sm);
    background-color: var(--color-accent); /* Verde Pasto Fresco para conversión activa */
    color: var(--color-text-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    border: none;
    border-top: 1px solid rgba(250, 248, 245, 0.1);
}

.floating-cta-btn:hover {
    background-color: var(--color-primary);
}

.floating-cta-icon {
    font-size: 0.875rem;
    color: var(--color-gold); /* Phone icon in gold old */
}

.floating-cta-svg-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.5px;
    flex-shrink: 0;
}

/* ==========================================================================
   16. MEDIA QUERIES (RESPONSIVO DE PRESTIGIO)
   ========================================================================== */

@media (min-width: 768px) {
    .credentials-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
    
    .cred-item {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 0;
        border-bottom: none;
        border-right: 1px solid rgba(197, 160, 89, 0.15);
    }
    
    .cred-item:last-child {
        border-right: none;
    }

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

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

    .contact-content-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch; /* Estira ambos bloques a igual altura */
        gap: 0;
    }

    .contact-info-card {
        width: 50%;
        padding: var(--space-lg);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .contact-map-wrapper {
        width: 45%;
        display: flex;
    }

    .contact-map-wrapper .map-link {
        width: 100%;
        display: flex;
    }

    .contact-map-wrapper .map-container-placeholder {
        height: 100%;
        min-height: 400px;
        aspect-ratio: auto; /* Anula el aspect-ratio fijo de móvil */
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-meta {
        border-top: none;
        padding-top: 0;
        align-items: flex-end;
        text-align: right;
    }

    .footer-nav {
        flex-direction: row;
        gap: var(--space-md);
    }

    /* Ocultar barra flotante en escritorio */
    .floating-cta-container {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .desktop-hidden {
        display: none !important;
    }

    .logo-main-text {
        font-size: 0.938rem; /* 15px */
    }

    .logo-sub-text {
        font-size: 0.625rem; /* 10px */
    }

    .logo-image {
        width: 44px;
        height: 44px;
    }

    .menu-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        transform: none;
        background: none;
        overflow: visible;
        display: flex;
        align-items: center;
    }

    .nav-list {
        flex-direction: row;
        gap: 16px;
    }

    .nav-link {
        font-family: var(--font-body);
        font-size: 0.813rem; /* Reducido para evitar sobrecarga visual en cabecera */
        font-weight: 500;
        text-transform: none; /* Casing mixto es más elegante */
        letter-spacing: 0.03em; /* Espaciado premium */
        color: var(--color-primary);
        padding: 4px 0;
        border-bottom: none;
        display: inline-block;
        position: relative;
        transition: var(--transition-fast);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 1.5px;
        background-color: var(--color-gold);
        transition: var(--transition-smooth);
    }

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

    .nav-link:hover {
        color: var(--color-gold-dark);
        padding-left: 0; /* Anula el desplazamiento lateral de móvil */
    }

    .nav-number {
        display: none; /* Oculta números en escritorio */
    }

    .nav-menu-contact-widget {
        display: none; /* Oculta widget en escritorio */
    }

    .header-actions-desktop {
        display: block;
    }

    .btn-header-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 22px;
        font-size: 0.813rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        border: 1px solid var(--color-primary);
        border-radius: var(--radius-sm);
        color: var(--color-primary);
        transition: var(--transition-smooth);
    }

    .btn-header-cta:hover {
        background-color: var(--color-primary);
        color: var(--color-bg-base);
        border-color: var(--color-primary);
        box-shadow: var(--shadow-soft);
        transform: translateY(-1px);
    }

    /* Hero Asimétrico */
    .hero {
        padding-top: 170px;
        padding-bottom: var(--space-xl);
    }

    .hero-container {
        flex-direction: row;
        align-items: center;
        gap: var(--space-lg);
    }

    .hero-content {
        width: 55%;
    }

    .hero-actions {
        margin-top: var(--space-md);
    }

    .hero-cta-btn {
        width: auto;
    }

    .hero-media {
        width: 40%;
    }

    .hero-image-wrapper {
        aspect-ratio: 3 / 4; /* Proporciones esbeltas de revista */
    }

    /* Sobre Nosotros */
    .about-content-wrapper {
        flex-direction: row;
        align-items: center;
        gap: var(--space-xl);
    }

    .about-text-block {
        width: 50%;
    }

    .about-media-block {
        width: 45%;
    }

    .about-badge {
        bottom: -20px;
        right: -20px;
    }

    /* Tierra de Hoja - Ajuste matemático preciso para evitar desbordes */
    .tierra-content-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }

    .tierra-media {
        width: 45%;
    }

    .tierra-text-block {
        width: 48%;
    }

    /* Padding de secciones ampliado */
    .about, .services, .tierra-de-hoja, .gallery, .testimonials, .faq, .contact {
        padding: var(--space-xl) 0;
    }
}

@media (min-width: 1200px) {
    .nav-list {
        gap: var(--space-md);
    }
}

/* ==========================================================================
   17. PÁGINAS LEGALES (CONSISTENCIA DE MARCA)
   ========================================================================== */
.legal-body {
    background-color: var(--color-bg-base);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-sm);
}

.legal-container h1 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: clamp(2rem, 5vw, 3rem);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-md);
}

.legal-container h2 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
}

.legal-container p, 
.legal-container ul {
    margin-bottom: var(--space-sm);
    font-size: 0.938rem;
    opacity: 0.9;
}

.legal-container ul {
    padding-left: var(--space-md);
}

.legal-container a {
    color: var(--color-gold-dark);
    font-weight: 500;
}

.legal-container a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--color-gold-dark) !important;
    margin-bottom: var(--space-md);
}

.legal-back-link:hover {
    color: var(--color-primary) !important;
    text-decoration: none !important;
}

/* ==========================================================================
   18. LIGHTBOX DE GALERÍA INTERACTIVO
   ========================================================================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 46, 27, 0.97); /* Fondo Laurel Imperial translúcido */
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.35s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-modal.is-active {
    opacity: 1;
    visibility: visible;
}

/* Botones de Control */
.lightbox-close, 
.lightbox-prev, 
.lightbox-next {
    position: absolute;
    color: var(--color-bg-base);
    font-size: 2rem;
    background-color: rgba(250, 248, 245, 0.05);
    border: 1px solid rgba(250, 248, 245, 0.1);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 210;
}

.lightbox-close:hover, 
.lightbox-prev:hover, 
.lightbox-next:hover {
    background-color: var(--color-gold);
    color: var(--color-primary);
    border-color: var(--color-gold);
    transform: scale(1.05);
}

.lightbox-close:focus-visible, 
.lightbox-prev:focus-visible, 
.lightbox-next:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--color-gold);
}

.lightbox-close {
    top: calc(24px + env(safe-area-inset-top));
    right: calc(24px + env(safe-area-inset-right));
    font-size: 2.25rem;
    line-height: 1;
}

.lightbox-prev {
    left: calc(24px + env(safe-area-inset-left));
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: calc(24px + env(safe-area-inset-right));
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.05) translateX(-2px);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.05) translateX(2px);
}

/* Contenido Principal */
.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
}

.lightbox-image {
    max-width: 100%;
    max-height: 68vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(197, 160, 89, 0.3); /* Borde sutil Oro Viejo */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: scale(0.97);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease;
}

.lightbox-modal.is-active .lightbox-image {
    opacity: 1;
    transform: scale(1);
}

/* Leyendas */
.lightbox-caption {
    text-align: center;
    color: var(--color-bg-base);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lightbox-tag {
    font-family: var(--font-body);
    font-size: 0.688rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    font-weight: 700;
}

.lightbox-title {
    font-family: var(--font-heading);
    font-size: clamp(1.125rem, 3vw, 1.625rem);
    color: var(--color-white);
    font-weight: 400;
}

/* Foco de accesibilidad para la tarjeta de la galería */
.gallery-item:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--color-gold);
    border-radius: var(--radius-lg);
}

/* Ocultar botones de navegación en pantallas muy pequeñas si estorban */
@media (max-width: 767px) {
    .lightbox-prev, 
    .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }
    .lightbox-prev {
        left: 12px;
    }
    .lightbox-next {
        right: 12px;
    }
    .lightbox-close {
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 1.75rem;
    }
    .lightbox-image {
        max-height: 55vh;
    }
}

/* ==========================================================================
   19. ANIMACIONES DE DESPLAZAMIENTO (SCROLL REVEAL)
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Retardos para efectos escalonados (staggered) */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

