/* v1.0 - Estilos principales modernos para Tía Mechita Pro */

html {
    scroll-behavior: smooth;
}

/* Reset y Variables CSS */
:root {
    /* Colores principales */
    --primary-color: #007f45;
    --primary-dark: #007f45;
    --secondary-color: #00f178;
    --accent-color: #f48602;
    
    /* Colores de texto */
    --text-primary: #ffffff; /* Texto principal en blanco para fondo verde */
    --text-secondary: #00f178;
    --text-light: #ffffff;
    
    /* Colores de fondo */
    --bg-primary: #ffffff;
    --bg-secondary: #ffffff;
    --bg-dark: #007f45;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    /* Tipografía */
    --font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    /* Espaciado */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Bordes */
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    
    /* Transiciones */
    --transition: all 0.3s ease;
}

/* Reset básico */
/* v2.1 - Mejorado reset para prevenir problemas de desbordamiento */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* v2.1 - Agregado overflow-x hidden y box-sizing para prevenir problemas de desbordamiento */
body {
    font-family: var(--font-family);
    font-optical-sizing: auto;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    /* Fondo verde en toda la página igual que el pie de página */
    background-color: var(--bg-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}



/* Contenedores */
/* v2.3 - Restaurado: container original */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}



/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

/* Enlaces */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* v2.0 - Eliminado: estilos de botón WhatsApp removidos */

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
}

/* Iconos */
.icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

/* Header */
/* v2.3 - Restaurado: header original */
.header {
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
    /* Permite que el logo se desborde hacia fuera del encabezado */
    overflow: visible;
    transition: background-color 280ms ease, box-shadow 280ms ease, backdrop-filter 280ms ease;
}

/* Variante transparente para la home que se integra con el hero */
.header.transparent {
    /* Encabezado verde con brillo fino (sin blur) para máxima legibilidad */
    background:
        linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.08) 42%, rgba(255,255,255,0) 100%),
        linear-gradient(135deg, #007f45 0%, #007a41 45%, #006c3d 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.header.transparent .brand-link,
.header.transparent .nav-link,
.header.transparent .brand-text {
    color: #ffffff;
}

.header.transparent .hamburger-line {
    background-color: #ffffff;
}

.header.transparent::after {
    content: '';
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, #f48602 0%, #00f178 50%, #007f45 100%);
    filter: drop-shadow(0 0 8px rgba(244, 134, 2, 0.5)) drop-shadow(0 0 10px rgba(0, 127, 69, 0.35));
    opacity: 0.9;
    background-size: 200% 100%;
    animation: sheen 6s linear infinite;
}

/* v3.1 – Glassmorphism header on home */
.header.transparent {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Brand text – estilo fino en header transparente */
.header.transparent .brand-text {
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
}

.navbar {
    padding: var(--spacing-md) 0;
    background: transparent; /* Nav transparente para que se vea el cristal del header */
    box-shadow: none;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.brand-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: #007f45; /* Verde por defecto sobre header blanco */
    font-weight: 600;
    font-size: var(--font-size-xl);
    position: relative; /* para el subrayado elegante */
}

/* Subrayado elegante al pasar el mouse sobre el texto de marca */
.brand-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f48602 0%, #00f178 50%, #007f45 100%);
    transition: width 220ms ease;
}
.brand-link:hover::after { width: 100%; }

/* Aumentar presencia del texto de marca */
.brand-text {
    font-size: clamp(1.15rem, 2.2vw, 1.6rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #007f45; /* Verde por defecto sobre header blanco */
}

/* Contenedor para apilar título y subtítulo verticalmente */
.brand-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* alinear a la izquierda dentro del contenedor */
}

/* Subtítulo junto a la marca */
.brand-subtext {
    font-size: clamp(0.8rem, 1.6vw, 1rem);
    line-height: 1.1;
    font-weight: 500;
    color: var(--accent-color, #f48602); /* naranja */
    opacity: 0.95;
    margin-top: 2px; /* separación vertical suave */
}

/* En pantallas muy pequeñas, reducir aún más para mantener legibilidad */
@media (max-width: 420px) {
    .brand-subtext {
        font-size: clamp(0.75rem, 2.5vw, 0.95rem);
    }
}

/* Ajuste fino: al estar apilados, no usar margen lateral */
.brand-link .brand-text + .brand-subtext { margin-left: 0; }

.brand-logo {
    width: clamp(160px, 14vw, 220px);
    height: auto; /* Mantiene proporción, evita deformación */
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
    transition: width 220ms ease, filter 220ms ease;
}

/* Logo sheen effect */
.brand-logo-wrap {
    position: relative;
    display: inline-block;
    border-radius: 14px;
    overflow: hidden;
}

/* Se elimina el brillo del logo para un look más fino */
.brand-logo-wrap::before { content: none; }

@keyframes logoSheen {
    0% { left: -40%; }
    60% { left: 120%; }
    100% { left: 120%; }
}

/* Tile de contraste detrás del logo para header transparente */
.header.transparent .brand-logo-wrap {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0;
}

.header.transparent .brand-logo-wrap::after { content: none; }

/* Ajuste de tile en estado scrolled (fondo claro) */
.header.scrolled .brand-logo-wrap {
    background: none;
    border-color: transparent;
    box-shadow: none;
    padding: 0;
}

/* Refuerzo de contraste del PNG en fondo blanco */
.header.scrolled .brand-logo {
    width: clamp(130px, 12vw, 180px);
    height: auto;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.22));
}

/* Efecto: logo fuera del encabezado */
.header .navbar-brand { position: relative; }
.brand-logo-wrap.logo-outside {
    position: relative;
    z-index: 10;
    transform: none;
}
.header.transparent .brand-logo-wrap.logo-outside {
    transform: none;
}
.header.scrolled .brand-logo-wrap.logo-outside {
    transform: none;
}

@media (max-width: 576px) {
    .brand-logo {
        width: clamp(120px, 40vw, 160px);
        height: auto;
    }
    .header.transparent .brand-logo-wrap {
        padding: 0;
        border-radius: 12px;
    }
    .header.transparent .brand-logo-wrap::after {
        border-radius: 12px;
    }
}

/* Header solid state on scroll */
.header.scrolled {
    /* Header verde con brillo fino también al hacer scroll (sin blur) */
    background:
        linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.10) 40%, rgba(255,255,255,0) 100%),
        linear-gradient(135deg, #007f45 0%, #007a41 45%, #006c3d 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.header.scrolled .brand-link,
.header.scrolled .nav-link,
.header.scrolled .brand-text {
    color: var(--text-primary);
    text-shadow: none;
}

.header.scrolled .brand-text { background: none; }

.header.scrolled .hamburger-line {
    background-color: var(--text-primary);
}

.header.scrolled::after {
    opacity: 0.35;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-link {
    color: #007f45; /* Verde por defecto sobre header blanco */
    font-weight: 600; /* mayor presencia sobre header verde */
    padding: var(--spacing-sm) 0;
    position: relative;
    text-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f48602 0%, #00f178 50%, #007f45 100%);
    transition: var(--transition);
}

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

/* Main Content */
.main-content {
    margin-top: 128px;
}

/* Hero Section */
/* v3.0 - Rediseñado: Hero Section corporativo con efectos avanzados y paleta oficial */
/* ===== MODERN HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    /* El fondo ahora lo gestiona el carrusel */
    background: none;
    overflow: hidden;
}
 
.hero::after { content: none; }

/* Navigation */
.hero-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 127, 69, 0.1);
}

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

.nav-logo {
    font-family: var(--font-family);
    font-size: 2rem;
    font-weight: 700;
    color: #007f45; /* Texto en verde sobre fondo claro */
    text-decoration: none;
    letter-spacing: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 3rem;
}

.nav-menu a {
    color: #007f45; /* Enlaces en verde sobre fondo claro */
    text-decoration: none;
    font-weight: 600; /* ligeramente más marcado */
    font-size: 1rem;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: none;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f48602 0%, #00f178 50%, #007f45 100%);
    transition: width 0.3s ease;
}

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

.nav-cta {
    background: #f48602;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 134, 2, 0.3);
}

.nav-cta:hover {
    background: #007f45;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 127, 69, 0.4);
}

/* Main Content Container */
.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
    align-items: end; /* colocar los elementos al fondo del hero */
    align-content: end; /* asegurar que el conjunto se pegue al borde inferior */
    justify-items: start; /* alinear a la izquierda */
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 1rem; /* menos padding inferior para quedar más abajo */
    gap: 2rem;
    position: relative;
    z-index: 2;
}

/* ===== HERO CAROUSEL ===== */
.hero.hero-carousel { min-height: 100vh; }
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 800ms ease, transform 8s linear;
    transform: scale(1.05);
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1.0);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
        rgba(0, 127, 69, 0.65) 0%,
        rgba(0, 127, 69, 0.35) 35%,
        rgba(0, 127, 69, 0.15) 60%,
        rgba(0, 127, 69, 0.00) 100%
    );
    /* Sin cristal en el hero; el cristal vive en el encabezado */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    pointer-events: none;
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; }

.hero-arrow.prev,
.hero-arrow.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 300ms ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.hero-arrow.prev { left: 2rem; }
.hero-arrow.next { right: 2rem; }
.hero-arrow.prev:hover,
.hero-arrow.next:hover {
    background: rgba(0,127,69,0.8);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,127,69,0.3);
}

.hero-dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.8);
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease;
}
.hero-dot.active,
.hero-dot:hover {
    transform: scale(1.2);
    background: #ffffff;
}

/* Text Content */
.hero-text {
    padding: 2rem 0;
    text-align: left; /* alinear a la izquierda */
    margin-top: 1.25rem; /* bajar el bloque de texto */
}

.hero-subtitle {
    font-size: 0.9rem; /* tamaño ligeramente menor */
    color: #f48602;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-family);
    font-size: clamp(2.7rem, 5vw, 4.4rem); /* reducir tamaño de forma uniforme */
    font-weight: 700;
    line-height: 1.12; /* ajuste para fuentes sans variables: mejor legibilidad y balance vertical */
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 127, 69, 0.35);
    margin-bottom: 2rem;
    letter-spacing: 0; /* evitar compactación excesiva con Nunito Sans */
}

.hero-title .accent {
    display: block;
    margin-top: -0.14rem; /* aún más pegado: que inicie en la base de la “T” */
    font-size: clamp(0.95rem, 1.8vw, 1.35rem); /* reducir tamaño de forma uniforme */
    font-weight: 600;
    letter-spacing: 0.5px;
    /* Letras blancas sin contorno, con glow naranja para resaltar */
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff; /* blanco sin contorno */
    -webkit-text-stroke: 0; /* sin contorno */
    /* Glow naranja + sombra sutil para legibilidad */
    text-shadow:
        0 1px 1.2px rgba(0,0,0,0.20),
        0 0 6px rgba(244,134,2,0.35),
        0 0 12px rgba(244,134,2,0.20);
}

.hero-description {
    font-size: 1.15rem; /* reducir tamaño de forma uniforme */
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 3rem;
    opacity: 0.85;
    max-width: 500px;
}

/* Info Bar */
.hero-info-bar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.info-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 127, 69, 0.2);
    border-radius: 999px;
    color: #007f45;
    font-weight: 600;
    font-size: 0.85rem; /* reducir tamaño de forma uniforme */
}

/* CTA Group */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #f48602; /* letra naranja */
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    transform: translateY(-2px);
    /* Contorno negro para mejorar legibilidad */
    -webkit-text-stroke: 0.7px #000000;
    text-shadow: 0 0 1px #000000, 0 0 3px rgba(0, 0, 0, 0.7);
    font-weight: 800; /* más bold en hover */
    font-size: 1.15rem; /* letra más grande con efecto cristal */
}

@media (max-width: 768px) {
    .hero-content {
        padding-top: 6rem;
    }
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #f48602;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(244, 134, 2, 0.3);
}

.hero-cta:hover {
    background: rgba(244, 134, 2, 0.32); /* menos difuminado y más naranja visible */
    color: #ffffff; /* mantener texto blanco sobre naranja */
    border: 1px solid rgba(244, 134, 2, 0.35);
    backdrop-filter: blur(4px) saturate(120%); /* reducir blur para que se note más el color */
    -webkit-backdrop-filter: blur(4px) saturate(120%);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(244, 134, 2, 0.34); /* leve realce del brillo naranja */
    /* Mantener legibilidad sin cambiar el color del texto */
    -webkit-text-stroke: 0.5px rgba(0,0,0,0.7);
    text-shadow: 0 0 1px rgba(0,0,0,0.6), 0 0 3px rgba(0, 0, 0, 0.5);
    font-weight: 800; /* más bold en hover */
    font-size: 1.15rem; /* letra más grande con efecto cristal */
}

.hero-cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.hero-cta:hover svg {
    transform: translateX(5px);
}

/* Image Section */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 127, 69, 0.15),
        0 10px 25px rgba(244, 134, 2, 0.1);
    transition: all 0.4s ease;
}

.image-container:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 35px 70px rgba(0, 127, 69, 0.25),
        0 15px 35px rgba(244, 134, 2, 0.15);
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 127, 69, 0.1) 0%,
        transparent 50%,
        rgba(244, 134, 2, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

/* Background Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 127, 69, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(244, 134, 2, 0.03) 0%, transparent 50%);
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: #f48602;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: #007f45;
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: #00f178;
    bottom: 30%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(15px) rotate(240deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-nav {
        padding: 1rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        text-align: left; /* alinear a la izquierda en móviles */
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 7.2vw, 3.2rem); /* reducir tamaño en móviles */
    }

    .hero-text { margin-top: 1rem; }
    
    .hero-description {
        max-width: 100%;
    }
    
    .image-container {
        max-width: 350px;
    }
    
    .hero-image img {
        height: 300px;
    }
}

/* Secciones */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
}

/* Productos */
.featured-products {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-secondary);
}

/* Menú Showcase */
/* v2.1 - Mejorado: ajustados márgenes y padding para mejor proporción */
.menu-showcase {
    text-align: center;
    margin: var(--spacing-2xl) 0;
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* v2.1 - Mejorado: ajustado margen y proporciones de imagen */
.menu-image {
    margin-bottom: var(--spacing-2xl);
}

.menu-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.menu-image img:hover {
    transform: scale(1.02);
}

/* v2.1 - Mejorado: ajustado gap y proporciones de botones */
.menu-actions {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.menu-actions .btn {
    padding: var(--spacing-md) var(--spacing-xl);
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    min-width: 160px;
}

.menu-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* v2.3 - Restaurado: grid original */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

/* v3.1 - Productos con scrolling horizontal elegante */
.products-carousel-container {
    position: relative;
    margin-top: var(--spacing-xl);
    overflow: hidden;
}

.products-grid.products-scrollable {
    display: flex !important;
    gap: var(--spacing-xl);
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: var(--spacing-md) 0;
    margin-top: 0;
    /* Ocultar scrollbar pero mantener funcionalidad */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.products-grid.products-scrollable::-webkit-scrollbar {
    display: none;
}

.products-grid.products-scrollable .product-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products-grid.products-scrollable .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 127, 69, 0.15);
}

/* Controles de navegación para productos */
.products-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--primary-color);
}

.products-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 127, 69, 0.3);
}

.products-prev {
    left: -25px;
}

.products-next {
    right: -25px;
}

/* Indicadores para productos */
.products-indicators {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.products-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 127, 69, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.products-dot.active,
.products-dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

.product-card {
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* v2.1 - Mejorado: ajustada altura de 250px a 280px para mejor proporción */
/* v2.3 - Restaurado: altura original */
.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

/* v2.3 - Restaurado: estilos originales */
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* v2.1 - Mejorado: ajustado padding para mejor proporción y balance */
.product-info {
    padding: var(--spacing-xl);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.product-price {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Características */
.features {
    padding: var(--spacing-2xl) 0;
}

/* v2.1 - Mejorado: ajustado minmax de 250px a 280px y gap para mejor proporción */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-2xl);
    padding: 0 var(--spacing-md);
}

/* v2.1 - Mejorado: ajustado padding y agregada altura mínima para mejor proporción */
.feature-card {
    text-align: center;
    padding: var(--spacing-2xl);
    background-color: var(--bg-primary);
    color: #007f45; /* Texto verde sobre tarjeta blanca */
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.feature-icon .icon {
    width: 2rem;
    height: 2rem;
}

.feature-title {
    color: #007f45; /* Título verde para evitar blanco sobre blanco */
    margin-bottom: var(--spacing-md);
}

.feature-description {
    color: #007f45; /* Descripción verde para consistencia con la tarjeta blanca */
    margin-bottom: 0;
}

/* Testimonios */
/* v2.3 - Restaurado: testimonios originales */
.testimonials {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-secondary);
}

.testimonials-slider {
    display: flex;
    gap: var(--spacing-xl);
    overflow-x: auto;
    padding: var(--spacing-md) 0;
    scroll-snap-type: x mandatory;
}

/* v2.3 - Restaurado: card original */
.testimonial-card {
    background: var(--bg-primary);
    color: #007f45; /* Texto verde sobre tarjeta blanca */
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    min-width: 300px;
    scroll-snap-align: center;
}

.testimonial-card.active {
    display: block;
}

.testimonial-text {
    font-size: var(--font-size-lg);
    font-style: italic;
    color: #007f45; /* Cita en verde sobre tarjeta blanca */
    margin-bottom: var(--spacing-lg);
}

.testimonial-author strong {
    color: #007f45; /* Nombre en verde */
    display: block;
    margin-bottom: var(--spacing-xs);
}

.testimonial-author span {
    color: #007f45; /* Rol en verde para consistencia */
    font-size: var(--font-size-sm);
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.testimonial-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-btn.active,
.testimonial-btn:hover {
    background-color: var(--primary-color);
}

/* Call to Action */
/* v2.3 - Restaurado: CTA original */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.cta-title {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.cta-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    /* Fondo verde degradado fino, elegante y moderno */
    background: linear-gradient(135deg, #007f45 0%, #007a41 45%, #006c3d 100%);
    color: var(--text-light);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    /* Fijar tres columnas en escritorio para mantener "tres partes" arriba del email */
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    align-items: start; /* Alinear los bloques al tope para evitar descuadres verticales */
}

/* Garantizar que cada columna del footer se alinee al inicio */
.footer-content > * {
    align-self: start;
}

/* Estructurar columnas internas para espaciado consistente */
.business-hours,
.locations-info,
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: left;
}

.footer-title {
    color: var(--text-light);
    /* Reducir espacio para acercar título y submarca */
    margin-bottom: 4px;
}

.footer-subtitle {
    color: var(--text-light);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
}

/* Submarca debajo del título del footer */
.footer-subbrand {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.9);
    /* Más pegado al título */
    margin-top: 0;
    margin-bottom: 4px;
}

/* Centrar bloque de contacto (email y teléfono) en el footer y ocupar todo el ancho */
.footer-content .contact-info {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Nota de sucursal más pequeña para que quepa en una línea */
.locations-info .branch-note {
    font-size: 0.85em;
    white-space: nowrap;
    opacity: 0.95;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.business-hours p,
.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-sm);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

/* Asegurar texto del copyright en blanco puro */
.footer-bottom p {
    color: #ffffff;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--text-light);
}

/* v2.0 - Eliminado: estilos de botón flotante WhatsApp removidos */

/* About Page Styles */
.hero-about {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
}

/* v3.2.3 - Cambio: Título del hero "Acerca de" en dos líneas (arriba "Acerca de" y abajo "Tía Mechita Pro")
 * Motivo: El usuario solicitó separar el título en dos líneas para mejorar legibilidad
 *         y presencia de la marca en móvil.
 * Nota: Se reemplaza el comportamiento de una sola línea (v3.2.2) por bloques
 *       con tamaños responsivos diferenciados.
 */
.hero-about h1 { white-space: normal; margin-bottom: 1.25rem; }
.hero-about .about-title {
    color: #ffffff;
    text-shadow: 0 3px 18px rgba(0, 127, 69, 0.38);
    line-height: 1.08;
    text-align: left;
}
.hero-about .about-title .title-top {
    display: block;
    font-weight: 600;
    letter-spacing: 0.4px;
    font-size: clamp(1rem, 3.8vw, 1.6rem);
}
.hero-about .about-title .title-bottom {
    display: block;
    font-weight: 800;
    letter-spacing: 0.2px;
    font-size: clamp(1.9rem, 6.4vw, 3rem);
    margin-top: 0.15rem;
}

@media (max-width: 576px) {
    .hero-about .about-title .title-top { font-size: clamp(0.95rem, 4.2vw, 1.4rem); }
    .hero-about .about-title .title-bottom { font-size: clamp(1.7rem, 7vw, 2.6rem); }
}

@media (max-width: 420px) {
    .hero-about .about-title .title-top { font-size: clamp(0.9rem, 4.6vw, 1.25rem); }
    .hero-about .about-title .title-bottom { font-size: clamp(1.5rem, 7.5vw, 2.3rem); }
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    margin-top: var(--spacing-xl);
}

.about-text p {
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

/* v3.2.4 - Cambio: Título "Acerca de" de la home en dos líneas SOLO en móvil
 * Motivo: El usuario pidió separar el título de la sección en móviles.
 * Detalle: En escritorio se mantiene en una sola línea (inline), y en
 *          móviles los spans pasan a bloque con tamaños ajustados.
 */
.section-title-about .title-top,
.section-title-about .title-bottom {
    display: inline; /* una sola línea en desktop */
    font-weight: 800;
}
.section-title-about .title-top { margin-right: 0.35rem; }

@media (max-width: 768px) {
    .section-title-about .title-top,
    .section-title-about .title-bottom {
        display: block; /* dos líneas en móvil */
        line-height: 1.08;
    }
    .section-title-about .title-top {
        font-size: clamp(1.1rem, 4.2vw, 1.6rem);
        letter-spacing: 0.3px;
        font-weight: 700;
    }
    .section-title-about .title-bottom {
        font-size: clamp(1.6rem, 6.8vw, 2.6rem);
        letter-spacing: 0.2px;
        font-weight: 800;
        margin-top: 0.15rem;
    }
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.value-card {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--text-light);
    font-size: var(--font-size-xl);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

/* Process Steps */
.process-steps {
    display: grid;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--font-size-lg);
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.team-member {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: var(--spacing-lg);
}

.member-info h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

/* Contact Page Styles */
.hero-contact {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--text-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.contact-methods {
    margin: var(--spacing-xl) 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: var(--font-size-lg);
    flex-shrink: 0;
}

.method-info h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.method-info p {
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.method-info small {
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.contact-form {
    margin-top: var(--spacing-xl);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: #007f45; /* Etiquetas verdes sobre fondo blanco */
}

/* Contraste en superficies claras (fondo blanco) */
.product-card,
.value-card,
.process-step,
.team-member,
.contact-method,
.contact-form-wrapper {
    color: #007f45; /* Texto en verde para mejorar legibilidad sobre fondo blanco */
}

.contact-form-wrapper .form-group label,
.contact-form-wrapper a,
.contact-method a,
.product-card a,
.value-card a,
.process-step a,
.team-member a {
    color: #007f45;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid #00f178;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-error {
    display: block;
    color: var(--accent-color);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
}

.form-message {
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-md);
}

.form-message.success {
    background: #00f178;
    color: #ffffff;
    border: 1px solid #007f45;
}

.form-message.error {
    background: #f48602;
    color: #ffffff;
    border: 1px solid #007f45;
}

/* FAQ Styles */
.faq-list {
    margin-top: var(--spacing-xl);
}

.faq-item {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    color: #007f45; /* Texto verde sobre tarjeta blanca */
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h3 {
    color: var(--primary-color);
    margin: 0;
}

.faq-toggle {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 var(--spacing-lg);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: #007f45; /* Respuesta en verde para legibilidad sobre fondo blanco */
    line-height: 1.6;
}

/* Animation Classes */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Animation */
.icon-loading {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Utility Classes: Legibility helpers */
.on-light {
    /* Force brand green text on light/white backgrounds */
    color: var(--primary-color) !important;
}

.contrast-outline {
    /* White text with subtle green outline/shadow for contrast on busy or green backgrounds */
    color: #ffffff !important;
    -webkit-text-stroke: 0.6px rgba(0, 127, 69, 0.85);
    text-shadow:
        0 1px 0 rgba(0, 127, 69, 0.7),
        0 -1px 0 rgba(0, 127, 69, 0.7),
        1px 0 0 rgba(0, 127, 69, 0.7),
        -1px 0 0 rgba(0, 127, 69, 0.7);
}

/* Features List */
.features-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-item i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.4rem;
    min-width: 24px;
}

.feature-item span {
    font-weight: 500;
    color: var(--text-primary);
}

/* About Section */
.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
/* v3.0 - Responsivo: Adaptado para el nuevo diseño corporativo */

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 0 var(--spacing-lg);
    }
    
    /* v3.0 - Hero corporativo responsivo para tablets */
    .hero {
        min-height: 100vh;
        padding: var(--spacing-lg) 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
        text-align: center;
        max-width: 800px;
        min-height: 85vh;
    }
    
    .hero-logo {
        top: -60px;
    }
    
    .logo-image {
        height: 100px;
    }
    
    .hero-main-content {
        order: 1;
    }
    
    .hero-image-section {
        order: 2;
    }
    
    .hero-title-corporate {
        text-align: center;
    }
    
    .title-line-1 {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }
    
    .title-line-2 {
        font-size: clamp(1.8rem, 4.5vw, 3rem);
        margin-left: 0;
    }
    
    .title-accent {
        font-size: clamp(1rem, 2.5vw, 1.8rem);
        margin-left: 0;
    }
    
    .hero-features-corporate {
        max-width: 600px;
        margin: 0 auto var(--spacing-2xl);
    }
    
    .hero-actions-corporate {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .image-container-corporate {
        max-width: 400px;
    }
    
    .hero-image-corporate {
        height: 300px;
    }
    
    .stats-card-corporate {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: var(--spacing-lg);
        align-self: center;
    }
    
    .image-frame-corporate {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
    
    .navbar-nav {
        gap: var(--spacing-md);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-primary);
        box-shadow: var(--shadow-md);
        flex-direction: column;
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
    }
    
    .navbar-menu.active {
        display: flex;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    /**
     * v3.2 - Cambio: Contraste del menú móvil sobre header transparente
     * Motivo: En pantallas pequeñas el panel del menú se mostraba con fondo blanco
     *         y los enlaces en blanco (por la variante .header.transparent), dificultando
     *         la lectura. Se aplica un fondo verde sólido y se asegura el color blanco
     *         de los enlaces con sombra suave para máxima legibilidad.
     */
    .header.transparent .navbar-menu {
        /* v3.2.1 - Cambio: Fondo semitransparente para integrar con el hero en móvil
         * Motivo: El usuario solicitó hacer "un poco transparente el verde" para que
         *         el panel del menú armonice con el fondo sin perder legibilidad.
         *         Se aplica un gradiente con alpha y un leve blur para estética.
         */
        background: linear-gradient(135deg, rgba(0,127,69,0.88) 0%, rgba(0,108,61,0.88) 100%);
        border-radius: 12px;
        z-index: 1000;
        backdrop-filter: blur(4px);
    }
    .header.transparent .navbar-menu .nav-link {
        color: #ffffff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
    }
    
    /* v3.0 - Hero corporativo responsivo para móviles */
    .hero {
        min-height: 100vh;
        padding: var(--spacing-md) 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
        padding: 0 var(--spacing-md);
        min-height: 90vh;
    }
    
    .hero-logo {
        top: -40px;
    }
    
    .logo-image {
        height: 80px;
    }
    
    .hero-main-content {
        order: 1;
    }
    
    .hero-image-section {
        order: 2;
    }
    
    .hero-badge-corporate {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs) var(--spacing-md);
        letter-spacing: 1px;
    }
    
    .hero-title-corporate {
        margin-bottom: var(--spacing-lg);
        text-align: center;
    }
    
.title-line-1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        letter-spacing: 0;
}
    
.title-line-2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-left: 0;
        letter-spacing: 0;
}
    
.title-accent {
        font-size: clamp(0.9rem, 4vw, 1.3rem);
        margin-left: 0;
        letter-spacing: 0;
}
    
    .subtitle-main {
        font-size: var(--font-size-lg);
    }
    
    .subtitle-secondary {
        font-size: var(--font-size-base);
    }
    
    .hero-features-corporate {
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-xl);
    }
    
    .feature-corporate {
        padding: var(--spacing-md);
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .feature-corporate:hover {
        transform: translateY(-5px);
    }
    
    .feature-content h3 {
        font-size: var(--font-size-base);
    }
    
    .feature-content p {
        font-size: var(--font-size-sm);
    }
    
    .hero-actions-corporate {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
    }
    
    .btn-corporate-primary,
    .btn-corporate-secondary {
        width: 100%;
        max-width: 280px;
        padding: var(--spacing-md) var(--spacing-xl);
        font-size: var(--font-size-sm);
        letter-spacing: 1px;
    }
    
    .image-container-corporate {
        max-width: 320px;
        width: 100%;
    }
    
    .hero-image-corporate {
        height: 250px;
    }
    
    .stats-card-corporate {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: var(--spacing-lg);
        width: 100%;
        max-width: 280px;
        align-self: center;
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .stat-divider {
        width: 40px;
        height: 2px;
        background: linear-gradient(to right, #007f45, #f48602);
    }
    
    .image-frame-corporate {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
        border-radius: var(--border-radius);
    }
    
    .floating-elements {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: 0;
    }
    
    .product-info {
        min-height: auto;
        padding: var(--spacing-lg);
    }
    
    .product-image {
        height: 200px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: 0;
    }
    
    .feature-card {
        min-height: auto;
        padding: var(--spacing-lg);
        text-align: center;
    }
    
    .testimonials-slider {
        padding: var(--spacing-sm) 0;
    }
    
    .testimonial-card {
        min-width: 280px;
        padding: var(--spacing-lg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* About Page Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    /* Contact Page Mobile */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    /* v2.1 - Mejorado: ajustadas proporciones del menu showcase para móvil */
    .menu-showcase {
        margin: var(--spacing-xl) 0;
        padding: var(--spacing-lg);
    }
    
    .menu-image img {
        max-height: 300px;
    }
    
    .menu-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .menu-actions .btn {
        min-width: 200px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    /* v3.0 - Hero corporativo responsivo para móviles pequeños */
    .hero {
        min-height: 100vh;
        padding: var(--spacing-sm) 0;
    }
    
    .hero-container {
        padding: 0 var(--spacing-sm);
        gap: var(--spacing-xl);
        min-height: 95vh;
    }
    
    .hero-logo {
        top: -30px;
    }
    
    .logo-image {
        height: 70px;
    }
    
    .hero-badge-corporate {
        font-size: 0.7rem;
        padding: 6px var(--spacing-sm);
        letter-spacing: 0.5px;
    }
    
    .badge-icon {
        font-size: 1rem;
    }
    
    .title-line-1 {
        font-size: clamp(1.5rem, 10vw, 2rem);
        letter-spacing: 1px;
    }
    
    .title-line-2 {
        font-size: clamp(1.3rem, 8vw, 1.8rem);
        letter-spacing: 0.5px;
    }
    
    .title-accent {
        font-size: clamp(0.8rem, 5vw, 1.1rem);
        letter-spacing: 1px;
    }
    
    .subtitle-main {
        font-size: var(--font-size-base);
    }
    
    .subtitle-secondary {
        font-size: var(--font-size-sm);
    }
    
    .hero-features-corporate {
        gap: var(--spacing-sm);
    }
    
    .feature-corporate {
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }
    
    .feature-icon-corporate {
        width: 40px;
        height: 40px;
    }
    
    .feature-icon-corporate svg {
        width: 20px;
        height: 20px;
    }
    
    .feature-content h3 {
        font-size: var(--font-size-sm);
    }
    
    .feature-content p {
        font-size: var(--font-size-xs);
    }
    
    .btn-corporate-primary,
    .btn-corporate-secondary {
        font-size: var(--font-size-xs);
        padding: var(--spacing-sm) var(--spacing-lg);
        max-width: 100%;
        letter-spacing: 0.5px;
    }
    
    .image-container-corporate {
        max-width: 280px;
    }
    
    .hero-image-corporate {
        height: 200px;
    }
    
    .stats-card-corporate {
        padding: var(--spacing-md);
        max-width: 100%;
    }
    
    .stat-number {
        font-size: var(--font-size-xl);
    }
    
    .stat-label {
        font-size: var(--font-size-xs);
    }
    
    .scroll-indicator-corporate {
        bottom: var(--spacing-md);
    }
    
    .scroll-label {
        font-size: var(--font-size-xs);
        letter-spacing: 1px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .testimonial-card {
        min-width: 250px;
        padding: var(--spacing-md);
    }
    
    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
    }
    
    /* v3.1 - Carousel de productos responsivo para móvil */
    .products-grid.products-scrollable .product-card {
        flex: 0 0 280px;
    }
    
    .products-nav {
        width: 40px;
        height: 40px;
    }
    
    .products-prev {
        left: -20px;
    }
    
    .products-next {
        right: -20px;
    }
    
    .products-indicators {
        margin-top: var(--spacing-md);
    }
    
    .products-dot {
        width: 10px;
        height: 10px;
    }
}

/* Large Desktop */
@media (min-width: 1025px) and (max-width: 1440px) {
    .container {
        max-width: 1200px;
    }

    /* v3.0 - Hero corporativo para pantallas grandes */
    .hero-container {
        max-width: 1200px;
        gap: var(--spacing-5xl);
    }
    
    .hero-logo {
        top: -100px;
    }
    
    .logo-image {
        height: 140px;
    }
    
    .title-line-1 {
        font-size: clamp(3rem, 6vw, 5rem);
    }
    
    .title-line-2 {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }
    
    .title-accent {
        font-size: clamp(1.5rem, 3vw, 2.5rem);
    }
    
    .image-container-corporate {
        max-width: 550px;
    }
    
    .hero-image-corporate {
        height: 450px;
    }
    
    .stats-card-corporate {
        bottom: -50px;
        left: -50px;
        padding: var(--spacing-xl);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Very Large Screens */
@media (min-width: 1441px) {
    .container {
        max-width: 1400px;
    }

    /* v3.0 - Hero corporativo para pantallas muy grandes */
    .hero-container {
        max-width: 1400px;
        gap: var(--spacing-6xl);
    }
    
    .hero-logo {
        top: -120px;
    }
    
    .logo-image {
        height: 160px;
    }
    
    .title-line-1 {
        font-size: clamp(3.5rem, 5vw, 5.5rem);
    }
    
    .title-line-2 {
        font-size: clamp(3rem, 4vw, 4.5rem);
    }
    
    .title-accent {
        font-size: clamp(2rem, 3vw, 3rem);
    }
    
    .image-container-corporate {
        max-width: 600px;
    }
    
    .hero-image-corporate {
        height: 500px;
    }
    
    .stats-card-corporate {
        bottom: -60px;
        left: -60px;
        padding: var(--spacing-2xl);
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* v2.3 - Agregado: Media queries específicas para orientación landscape en móviles */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 80vh;
    }
    
    .hero-image img {
        max-width: 300px;
    }
    
    .navbar-nav {
        flex-direction: row;
        justify-content: center;
        gap: var(--spacing-md);
    }
}

/* v3.0 – Responsive polish for home hero and header */
@media (max-width: 992px) {
    /* Header readability over hero */
    .header.transparent .brand-link,
    .header.transparent .nav-link,
    .header.transparent .brand-text {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    }

    /* Hero container */
    .hero-content {
        max-width: 900px;
        padding: 5rem 1.5rem;
        gap: 1.5rem;
        text-align: left; /* alinear a la izquierda en pantallas medianas */
    }

    /* Typography */
    .hero-title {
        font-size: clamp(2.3rem, 5vw, 3.8rem); /* reducir tamaño en pantallas medianas */
        line-height: 1.04; /* más cercano en pantallas medianas */
    }

    .hero-title .accent {
        font-size: clamp(1rem, 2vw, 1.45rem);
        margin-top: -0.15rem; /* ajustar para que arranque en la base de la “T” en medianas */
        -webkit-text-stroke: 0; /* sin contorno */
        text-shadow:
            0 0.8px 1px rgba(0,0,0,0.18),
            0 0 5px rgba(244,134,2,0.32),
            0 0 10px rgba(244,134,2,0.18);
    }

    .hero-description {
        font-size: 1rem; /* reducir tamaño en pantallas medianas */
        max-width: 460px;
        margin-bottom: 2rem;
    }

    .hero-text { margin-top: 1rem; }

    /* Info bar and CTAs */
    .hero-info-bar {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .info-item {
        font-size: 0.85rem;
        padding: 0.45rem 0.7rem;
    }

    .hero-cta-group {
        gap: 0.75rem;
    }

    .hero-cta {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-secondary {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Imagery */
    .image-container {
        max-width: 420px;
    }

    .hero-image img {
        height: 340px;
    }
}

@media (max-width: 576px) {
    /* Header compact spacing */
    .nav-container {
        padding: 0 0.75rem;
        gap: 0.75rem;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.95rem;
    }

    /* Hero */
    .hero-content {
        min-height: 85vh;
        padding: 5rem 1rem 2.5rem;
        gap: 1.25rem;
        text-align: left; /* alinear a la izquierda en pantallas pequeñas */
    }

    .hero-title {
        font-size: clamp(1.7rem, 8vw, 2.7rem); /* reducir tamaño en pantallas pequeñas */
        line-height: 1.03; /* más cercano en pantallas pequeñas */
        margin-bottom: 1.5rem;
        text-shadow: 0 3px 18px rgba(0, 127, 69, 0.4);
    }

    .hero-title .accent {
        font-size: clamp(0.88rem, 4vw, 1.1rem); /* reducir tamaño en pantallas pequeñas */
        margin-top: -0.16rem; /* aún más pegado en móviles para arrancar en la base de la “T” */
        -webkit-text-stroke: 0; /* sin contorno */
        text-shadow:
            0 0.8px 0.9px rgba(0,0,0,0.18),
            0 0 4px rgba(244,134,2,0.30),
            0 0 8px rgba(244,134,2,0.16);
    }

    .hero-description {
        font-size: 0.95rem; /* reducir tamaño en pantallas pequeñas */
        opacity: 0.92;
        margin-bottom: 1.75rem;
        max-width: 100%;
    }

    .hero-text { margin-top: 0.85rem; }

    .hero-info-bar {
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }

    .info-item {
        font-size: 0.8rem;
        padding: 0.35rem 0.6rem;
        background: rgba(255, 255, 255, 0.9);
        border-color: rgba(0, 127, 69, 0.15);
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .hero-cta,
    .btn-secondary {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
        border-radius: 40px;
    }

    .image-container {
        max-width: 320px;
    }

    .hero-image img {
        height: 260px;
    }
    /* Reducir aún más en móviles para evitar saltos de línea */
    .locations-info .branch-note {
        font-size: 0.75em;
    }
    .footer-subbrand {
        font-size: 0.9em;
    }
}

/* ===== PÁGINA DEL MENÚ ===== */
/* v2.0 - Estilos simplificados para mostrar solo la imagen del menú */

.menu-display {
    padding: 0 0 var(--spacing-4xl); /* Eliminar padding superior */
    background: var(--background-color);
    min-height: 100vh;
}

.menu-image-container {
    text-align: center;
    width: 100%;
    margin-top: 150px; /* Bajar la imagen 150px desde el header */
}

.menu-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.menu-image:hover {
    transform: scale(1.02);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .menu-display {
        padding: 0 var(--spacing-md) var(--spacing-2xl); /* Sin padding superior */
    }
    
    .menu-image-container {
        margin-top: 120px; /* Menos margen en móviles */
    }
    
    .menu-image {
        border-radius: 10px;
    }
}
/* Botón grande de apertura (activable) */
/* Botón grande de apertura (activable en el mismo lugar) */
.opening-banner {
  display: none; /* se activa con .show */
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 2rem;
  border-radius: 999px;
  background: #f48602; /* naranja de marca */
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(244, 134, 2, 0.35);
  border: 2px solid rgba(0,0,0,0.15);
  will-change: transform, opacity;
}

.opening-banner.show { /* aparece con opacidad 0 para permitir transición suave */
  display: inline-flex;
  opacity: 0;
  transform: scale(0.98) translateY(2px);
  transition: transform 0.28s ease, opacity 0.28s ease, box-shadow 0.28s ease;
}

.opening-banner.show.active { /* estado visible con efecto smooth */
  opacity: 1;
  transform: scale(1) translateY(0);
}

.opening-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(244, 134, 2, 0.45);
}

/* Cursor, foco y transición para el disparador */
#openings-trigger { cursor: pointer; transition: opacity 0.22s ease, transform 0.22s ease; }
#openings-trigger:focus { outline: 2px solid #f48602; outline-offset: 2px; border-radius: 6px; }
#openings-trigger.fade-out { opacity: 0; transform: scale(0.96) translateY(2px); pointer-events: none; }
