/* ================================================================
   VINILOEXPRESS - ESTILOS PRINCIPALES
   ================================================================
   PALETA "NEON NEGRO":
   --color-bg         #000000    Negro puro
   --color-bg-alt     #0D0D0D    Negro casi puro (secciones alternadas)
   --color-card       #141414    Cards oscuras
   --color-border     #2A2A2A    Borde oscuro sutil

   --color-primary    #0A0A0A    Negro profundo (footer, brand)
   --color-accent     #39FF14    Verde neón (CTAs, destacados, links)
   --color-accent-dim rgba(57,255,20,.09)
   --color-highlight  #FF6B35    Naranja (solo badge "Más pedido")

   --color-text       #FFFFFF    Texto principal (títulos, labels)
   --color-muted      #CCCCCC    Texto párrafo (gris 80%)
   --color-muted-2    #888888    Texto muy muted
================================================================ */


/* ----------------------------------------------------------------
   1. VARIABLES CSS
   Cambiá estos valores para ajustar la identidad visual fácilmente
---------------------------------------------------------------- */
:root {
    /* Fondos */
    --color-bg:          #000000;
    --color-bg-alt:      #0D0D0D;
    --color-card:        #141414;
    --color-border:      #2A2A2A;

    /* Colores de marca */
    --color-primary:     #0A0A0A;
    --color-accent:      #39FF14;
    --color-accent-dim:  rgba(57, 255, 20, 0.09);
    --color-highlight:   #FF6B35;   /* solo para badges */

    /* Texto */
    --color-text:        #FFFFFF;
    --color-muted:       #CCCCCC;
    --color-muted-2:     #888888;

    /* Tipografía */
    --font-display: 'Barlow Condensed', 'Impact', sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;

    /* Espaciados */
    --section-padding: 55px;
    --container-width: 1200px;
    --gap:             24px;

    /* Radios y sombras */
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --shadow-sm:  0 2px 8px rgba(0, 0, 0, 0.50);
    --shadow-md:  0 4px 20px rgba(0, 0, 0, 0.65);
    --shadow-lg:  0 12px 40px rgba(0, 0, 0, 0.80);

    /* Transiciones */
    --transition: 0.3s ease;
}


/* ----------------------------------------------------------------
   2. RESET Y BASE
---------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a        { text-decoration: none; color: inherit; }
ul       { list-style: none; }
button   { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 2px;
}


/* ----------------------------------------------------------------
   3. UTILIDADES GLOBALES
---------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Botón base */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-accent);
    color: #000;
}
.btn-primary:hover {
    background: #2EE611;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(57, 255, 20, 0.40), 0 0 20px rgba(57, 255, 20, 0.20);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}
.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* Encabezado de sección */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: var(--color-accent-dim);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-bottom: 14px;
    color: var(--color-text);
}

.section-subtitle {
    color: var(--color-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Gradiente en el texto destacado del hero */
.accent-text {
    background: linear-gradient(90deg, #39FF14, #7FFF00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.55));
}

/* Animación de entrada al hacer scroll */
[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}


/* ----------------------------------------------------------------
   4. NAVEGACIÓN
   Estado inicial: transparente con texto blanco (sobre hero oscuro)
   Estado .scrolled: blanco con texto oscuro (sobre secciones claras)
---------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
    transition: background var(--transition), box-shadow var(--transition);
    background: transparent;
}

/* Texto blanco para el estado inicial (sobre el hero oscuro) */
.navbar .nav-link      { color: rgba(255, 255, 255, 0.80); }
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--color-accent); }
.navbar .nav-cta {
    background: var(--color-accent);
    color: #000 !important;
}
.navbar .nav-cta:hover {
    background: #2EE611;
    color: #000 !important;
    transform: translateY(-1px);
}

/* Estado scrolled: navbar negra con texto claro */
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--color-border);
}
.navbar.scrolled .nav-link      { color: var(--color-muted); }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active { color: var(--color-accent); }

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo-img {
    height: calc(1.32rem * 1.2 + 28px);
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 500;
    transition: color var(--transition), background var(--transition);
}

.nav-cta {
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
}

/* CTA del navbar */
.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 14px 35px;
    border-radius: var(--radius-sm);
    background: var(--color-accent);
    color: #000;
    font-family: var(--font-body);
    font-size: 1.32rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all var(--transition);
}
.btn-nav-cta:hover {
    background: #2EE611;
    box-shadow: 0 0 18px rgba(57, 255, 20, 0.40);
    transform: translateY(-1px);
}

/* En desktop el ítem mobile está oculto */
.nav-cta-mobile-item { display: none; }


/* Botón hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
    transform-origin: center;
}
.navbar.scrolled .hamburger span { background: var(--color-text); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ----------------------------------------------------------------
   5. HERO / INICIO
   El hero mantiene el fondo oscuro (--color-primary) para impacto.
   Todo el texto dentro del hero usa colores claros sobreescritos aquí.
---------------------------------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 660px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 76px 24px 28px;
    background: #0D0D0D;
    color: #FFFFFF;
}

/* Video de fondo: cubre toda la sección, detrás del overlay y el contenido */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

/* Overlay oscuro entre el video y el contenido — asegura legibilidad del texto */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.78) 0%, rgba(26, 26, 26, 0.88) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Patrón de líneas diagonales — extendido verticalmente para el efecto parallax JS */
.hero-bg-pattern {
    position: absolute;
    top: -40%;
    left: 0;
    right: 0;
    height: 180%;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        rgba(57, 255, 20, 0.04) 40px,
        rgba(57, 255, 20, 0.04) 41px
    );
    pointer-events: none;
    z-index: 1;
    will-change: transform; /* hint GPU para animación suave */
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1100px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
    width: 100%;
}

.hero-tag {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 8.5vw, 104px);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0;
    color: #FFFFFF;
}

.hero-title-line {
    display: block;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(204, 204, 204, 0.90);
    line-height: 1.65;
    max-width: none;
    margin-bottom: 0;
}

/* Métricas */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 0;
}

.stat { display: flex; flex-direction: column; gap: 2px; }

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.stat-stars {
    color: #FFD700;
    font-size: 1.4rem;
    line-height: 1;
    letter-spacing: 2px;
    text-shadow:
        0 0 8px rgba(57, 255, 20, 0.90),
        0 0 20px rgba(57, 255, 20, 0.50);
}

/* Botones hero 15% más grandes que la base */
.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-buttons .btn {
    padding: 16px 32px;
    font-size: 1.09rem;
}
/* Btn-secondary sobre fondo oscuro del hero */
.hero-buttons .btn-secondary {
    border-color: rgba(255, 255, 255, 0.20);
    color: rgba(255, 255, 255, 0.90);
}
.hero-buttons .btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.hero-cta-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}
.hero-cta-bar .btn {
    padding: 18px 52px 27px;
    font-size: 1.45rem;
    font-weight: 700;
    white-space: nowrap;
}
.hero-cta-bar .btn-secondary {
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.90);
}
.hero-cta-bar .btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Flecha scroll-down */
.scroll-down {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.35);
    transition: color var(--transition);
    z-index: 2;
}
.scroll-down:hover { color: var(--color-accent); }
.scroll-down-arrow {
    display: block;
    width: 18px;
    height: 18px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    animation: bounce-down 1.5s ease-in-out infinite;
}
@keyframes bounce-down {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50%       { transform: rotate(45deg) translateY(5px); }
}




/* ----------------------------------------------------------------
   6. SERVICIOS
   Cards blancas con textos oscuros. Sin precio — con CTA inline.
---------------------------------------------------------------- */
.services {
    padding: var(--section-padding) 0;
    background: #0D0D0D;
    position: relative;
    overflow: hidden;
}

/* Fondo decorativo: patrón vitrina-vinilo al 20% de opacidad */
.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, transparent, transparent 199px, rgba(57,255,20,0.55) 199px, rgba(57,255,20,0.55) 200px),
        repeating-linear-gradient(0deg, transparent, transparent 99px, rgba(255,255,255,0.28) 99px, rgba(255,255,255,0.28) 100px),
        repeating-linear-gradient(60deg, transparent, transparent 50px, rgba(57,255,20,0.22) 50px, rgba(57,255,20,0.22) 51px),
        radial-gradient(ellipse at 50% 40%, rgba(57,255,20,0.18) 0%, transparent 55%);
    opacity: 0.20;
    pointer-events: none;
    z-index: 0;
}

/* Overlay oscuro para mantener la legibilidad del contenido */
.services::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13,13,13,0.82) 0%, rgba(13,13,13,0.72) 100%);
    pointer-events: none;
    z-index: 1;
}

.services .container { position: relative; z-index: 2; }

.services .container::before {
    content: '';
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.65);
}

/* Subtítulo en una sola línea sin corte */
.services .section-subtitle {
    white-space: nowrap;
    max-width: none;
}

/* Grid de 4 columnas — una card por columna en desktop */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
    margin-bottom: 48px;
}

/* Tarjeta blanca */
.service-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-sm);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), #7FFF00);
    opacity: 0;
    transition: opacity var(--transition);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 52px;
    height: 52px;
    color: var(--color-accent);
    flex-shrink: 0;
    background: rgba(57, 255, 20, 0.08);
    border: 1px solid rgba(57, 255, 20, 0.18);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px;
    align-self: center;
}
.service-icon svg { width: 100%; height: 100%; }

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-highlight);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
}

.service-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
    color: var(--color-accent);
    text-align: center;
}

.service-desc {
    font-size: 0.88rem;
    color: var(--color-muted);
    line-height: 1.65;
    flex: 1;
    text-align: left;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}
.service-features li {
    font-size: 0.83rem;
    color: var(--color-muted);
    padding-left: 16px;
    position: relative;
}
.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 700;
}

/* Botón CTA dentro de cada card (reemplaza al precio) */
.btn-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 19px;
    border-radius: var(--radius-sm);
    font-size: 1.32rem;
    font-weight: 600;
    color: var(--color-accent);
    background: var(--color-accent-dim);
    border: 1px solid rgba(57, 255, 20, 0.20);
    transition: all var(--transition);
    margin-top: auto;
    cursor: pointer;
}
.btn-card-cta:hover {
    background: var(--color-accent);
    color: #000;
    border-color: var(--color-accent);
}

/* CTA debajo de la grilla — botón 15% más grande */
.services-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
}
.services-cta p { color: var(--color-muted); }
.services-cta .btn {
    padding: 16px 32px;
    font-size: 1.09rem;
}


/* ----------------------------------------------------------------
   7. GALERÍA
   Grilla uniforme de 3 × 6 = 18 ítems. Sin filtros.
---------------------------------------------------------------- */
.gallery {
    padding: 55px 0;
    background: #1A1A1A;
    position: relative;
}
.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.65);
}

/* Grid 3 columnas × 6 filas — aspect-ratio controla la altura (1:1) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.gallery-item:hover img {
    transform: scale(1.1);
}

/* Overlay con info al hacer hover */
.gp-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    opacity: 0;
    transition: opacity var(--transition);
    backdrop-filter: blur(3px);
}
.gallery-item:hover .gp-overlay { opacity: 1; }

.gp-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
}


/* ----------------------------------------------------------------
   8. SOBRE MÍ
---------------------------------------------------------------- */
.about {
    padding: var(--section-padding) 0;
    background: #0D0D0D;
    position: relative;
}
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.65);
}

.about-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual { position: relative; }

.about-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.about-logo-hero {
    width: 100%;
    max-width: 328px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 12px rgba(57, 255, 20, 0.20));
}

.about-slogan {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
    text-align: center;
}

/* Clase para usar foto real */
.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* Cards de estadísticas en fila horizontal */
.about-stat-cards {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.stat-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 10px;
    background: linear-gradient(135deg, #141414 0%, #1c1c1c 100%);
    border: 1px solid rgba(57, 255, 20, 0.25);
    border-radius: var(--radius-md);
    box-shadow: 0 0 8px rgba(57, 255, 20, 0.10);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(57, 255, 20, 0.60);
    box-shadow: 0 0 18px rgba(57, 255, 20, 0.28), 0 8px 22px rgba(0, 0, 0, 0.45);
}

.stat-card-number {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.stat-card-label {
    font-size: 0.72rem;
    color: var(--color-muted);
    line-height: 1.35;
    text-align: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-content .btn {
    align-self: center;
    width: fit-content;
    padding: 14px 36px;
    font-size: 18px;
}

.about-text {
    color: var(--color-muted);
    line-height: 1.8;
    font-size: 1rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 8px 0;
}
.value-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px 20px;
    background: linear-gradient(135deg, #141414 0%, #1c1c1c 100%);
    border: 1px solid rgba(57, 255, 20, 0.30);
    border-radius: var(--radius-md);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    transform-origin: center;
}
.value-item:hover {
    transform: translateY(-6px);
    border-color: rgba(57, 255, 20, 0.65);
    box-shadow: 0 0 22px rgba(57, 255, 20, 0.30), 0 10px 28px rgba(0, 0, 0, 0.55);
}
.value-icon {
    font-size: 2rem;
    line-height: 1;
    display: inline-block;
    transition: transform 0.25s ease;
}
.value-item:hover .value-icon {
    transform: scale(1.25);
}
.value-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-text);
}
.value-text p {
    font-size: 0.85rem;
    color: var(--color-muted);
    line-height: 1.6;
}


/* ----------------------------------------------------------------
   9. TESTIMONIOS
----------------------------------------------------------------- */
.testimonials {
    padding: var(--section-padding) 0;
    background: #1A1A1A;
    position: relative;
    overflow: hidden;
}
.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.65);
}

/* -- Layout diagonal superpuesto -- */
.testimonials-featured {
    position: relative;
    max-width: 720px;
    height: 510px;
    margin: 0 auto 64px;
}

.t-slot {
    position: absolute;
    width: 58%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: z-index 0s;
}
.t-slot-a { top: 0;     left:  0; z-index: 1; }
.t-slot-b { top: 160px; right: 0; z-index: 2; }
.t-slot:hover { z-index: 10; }

.t-featured-card {
    background: var(--color-card);
    border: 1px solid rgba(57, 255, 20, 0.28);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover: inversión verde neón */
.t-featured-card:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 32px rgba(57, 255, 20, 0.55), var(--shadow-lg);
}
.t-featured-card:hover .t-text,
.t-featured-card:hover .t-name,
.t-featured-card:hover .t-role,
.t-featured-card:hover .t-title  { color: #000; }
.t-featured-card:hover .t-stars  { color: #000; text-shadow: none; }
.t-featured-card:hover .t-author { border-top-color: rgba(0, 0, 0, 0.18); }
.t-featured-card:hover .t-card-header { border-bottom-color: rgba(0, 0, 0, 0.18); }
.t-featured-card:hover .t-avatar { border-color: rgba(0, 0, 0, 0.25); }
.t-featured-card:hover .t-quote-icon { color: #000; opacity: 0.4; }

/* Label debajo de cada card */
.t-card-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
}
.t-slot-a .t-card-label { text-align: left;  padding-left: 4px; }
.t-slot-b .t-card-label { text-align: right; padding-right: 4px; }

/* Comilla decorativa (Card 1) */
.t-quote-icon {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 4.5rem;
    line-height: 0.6;
    color: var(--color-accent);
    opacity: 0.5;
    user-select: none;
    display: block;
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* Header con avatar (Card 2) */
.t-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
    transition: border-color 0.3s ease;
}

/* Título en negrita (Card 2) */
.t-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text);
    margin: 0;
    transition: color 0.3s ease;
}

/* Estrellas grandes con glow verde */
.t-stars {
    color: var(--color-accent);
    font-size: 1.7rem;
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.85), 0 0 22px rgba(57, 255, 20, 0.40);
}

.t-text {
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--color-border);
    transition: border-color 0.3s ease;
}

.t-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    border: 2px solid rgba(57, 255, 20, 0.30);
    transition: border-color 0.3s ease;
}

.t-name {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text);
    transition: color 0.3s ease;
}
.t-role {
    display: block;
    font-size: 0.78rem;
    color: var(--color-muted-2);
    margin-top: 2px;
    transition: color 0.3s ease;
}

/* -- Carrusel marquee infinito -- */
.testimonials-marquee {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    mask-image:         linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marqueeScroll 48s linear infinite;
}

.testimonials-marquee:hover .marquee-track,
.testimonials-marquee.paused .marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.marquee-card {
    flex-shrink: 0;
    width: 290px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.marquee-card:hover {
    border-color: rgba(57, 255, 20, 0.35);
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.14);
}

.mc-stars {
    color: #FFD700;
    font-size: 0.9rem;
    letter-spacing: 2px;
}
.mc-text {
    font-size: 0.88rem;
    color: var(--color-muted);
    line-height: 1.65;
    flex: 1;
}
.mc-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-text);
    padding-top: 8px;
    border-top: 1px solid var(--color-border);
}


/* ----------------------------------------------------------------
   9. CONTACTO Y FORMULARIO
---------------------------------------------------------------- */
.contact {
    padding: 55px 0;
    background: #0D0D0D;
    position: relative;
}

/* Línea decorativa superior */
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.65);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-text);
}

.contact-methods { display: flex; flex-direction: column; gap: 10px; }

.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}
a.contact-method:hover {
    border-color: var(--color-accent);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.method-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.method-icon svg { width: 20px; height: 20px; }
.icon-whatsapp  { background: rgba(37, 211, 102, 0.12);  color: #25D366; }
.icon-email     { background: rgba(57, 255, 20, 0.12);    color: var(--color-accent); }
.icon-instagram { background: rgba(225, 48, 108, 0.12);  color: #E1306C; }
.icon-schedule  { background: rgba(57, 255, 20, 0.12);    color: var(--color-accent); }

.method-label {
    display: block;
    font-size: 0.73rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}
.method-value {
    display: block;
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--color-text);
}
.method-value-link {
    text-decoration: none;
    transition: color 0.2s ease;
}
.method-value-link:hover,
.method-value-link:focus-visible {
    color: var(--color-accent);
}

.contact-hours {
    padding: 18px 20px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}
.contact-hours h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-bottom: 8px;
    font-weight: 600;
}
.contact-hours p {
    font-size: 0.88rem;
    color: var(--color-muted);
    line-height: 1.6;
}

/* Formulario */
.contact-form-wrapper {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    max-width: 50%;
    margin: 0 auto;
}

.contact-form { display: flex; flex-direction: column; gap: 15px; }

/* Filas del formulario */
.form-row { display: grid; column-gap: 16px; row-gap: 20px; }
.form-row-2col { grid-template-columns: 1fr 1fr; }
.form-row-3col { grid-template-columns: 1fr 1fr 1fr; }

/* Disclaimer debajo del formulario */
.form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 9px;
    color: var(--color-muted-2);
    margin-top: 10px;
    white-space: nowrap;
}

/* Botón centrado debajo del formulario */
.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 0;
}
.btn-submit {
    border-radius: 1rem;
    padding: 14px 42px;
    min-width: 176px;
}

/* Checkbox de suscripción */
.newsletter-check {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    max-width: 100%;
}
.newsletter-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.newsletter-check-box {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    border: 1.5px solid var(--color-border);
    border-radius: 4px;
    background: var(--color-bg-alt);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}
.newsletter-check input:checked + .newsletter-check-box {
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 8px rgba(57, 255, 20, 0.50);
}
.newsletter-check input:checked + .newsletter-check-box::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 0px;
    width: 5px;
    height: 9px;
    border: 2px solid #000;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}
.newsletter-check-label {
    font-size: 11px;
    color: var(--color-muted);
    line-height: 1.5;
    white-space: normal;
    word-wrap: break-word;
    text-align: left;
    flex: 1 1 auto;
    min-width: 0;
}

/* Grid 2×2 de datos de contacto debajo del formulario */
.contact-info-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
    max-width: 640px;
    margin: 32px auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--color-border);
}
.contact-info-bar .contact-method {
    max-width: none;
}
.contact-info-bar a.contact-method:hover { transform: translateY(-2px); }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--color-text);
}

.required { color: var(--color-accent); font-size: 0.9em; }
.optional  { color: var(--color-muted); font-size: 0.85em; font-weight: 400; }

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--color-bg-alt);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 11px 15px;
    color: var(--color-text);
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-muted-2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-dim);
    background: var(--color-bg);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #DC3545; }

.form-error { font-size: 0.78rem; color: #DC3545; min-height: 16px; }

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23CCCCCC' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-color: var(--color-bg-alt);
    padding-right: 40px;
    cursor: pointer;
}
.form-group select option { background: var(--color-card); color: var(--color-text); }

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

.file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
}
.file-upload-wrapper { position: relative; }
.file-label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--color-bg-alt);
    border: 1.5px dashed var(--color-border);
    border-radius: var(--radius-sm);
    padding: 11px 15px;
    cursor: pointer;
    font-size: 0.84rem;
    color: var(--color-muted);
    transition: border-color var(--transition), color var(--transition);
}
.file-label:hover { border-color: var(--color-accent); color: var(--color-text); }

/* Modal de confirmación de envío */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
    backdrop-filter: blur(4px);
}
.modal-overlay[hidden] { display: none; }

.modal {
    background: var(--color-card);
    border: 1px solid rgba(57, 255, 20, 0.20);
    border-radius: var(--radius-lg);
    padding: 52px 44px 44px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(57, 255, 20, 0.08);
    animation: modalIn 0.22s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(14px); }
    to   { opacity: 1; transform: scale(1)    translateY(0); }
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 0.80rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    line-height: 1;
}
.modal-close:hover { background: var(--color-border); color: var(--color-text); }

.success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-accent-dim);
    border: 2px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--color-accent);
    font-weight: 700;
}
.modal h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text);
    letter-spacing: 0.03em;
}
.modal p { color: var(--color-muted); font-size: 0.95rem; line-height: 1.6; }


/* ----------------------------------------------------------------
   10. PREGUNTAS FRECUENTES (ACCORDION)
---------------------------------------------------------------- */
.faq {
    padding: var(--section-padding) 0;
    background: #1A1A1A;
    position: relative;
}
.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.65);
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.open {
    border-color: rgba(57, 255, 20, 0.35);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.06);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    transition: color var(--transition);
}

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

.faq-item.open .faq-question { color: var(--color-accent); }

.faq-arrow {
    color: var(--color-accent);
    font-size: 0.70rem;
    flex-shrink: 0;
    display: inline-block;
    transition: transform 0.35s ease;
    line-height: 1;
}

.faq-item.open .faq-arrow {
    transform: rotate(90deg);
}

/* Respuesta: animación por max-height */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s ease;
}

.faq-item.open .faq-answer {
    max-height: 400px;
}

.faq-answer p {
    padding: 16px 24px 22px;
    border-top: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.80;
}


/* ----------------------------------------------------------------
   11. FOOTER
---------------------------------------------------------------- */
.footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.75);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo { display: inline-block; margin-bottom: 12px; }

/* Logo SVG en footer — mismo tamaño que en el header */
.footer .nav-logo-img { height: 46px; }

.footer-tagline {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 14px;
    font-weight: 600;
}

/* 4 ítems distribuidos en 3 columnas con flujo de columna (2+1+1) */
.footer-links ul {
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    gap: 10px 28px;
    justify-content: start;
}
.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.60);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--color-accent); }

.social-icons { display: flex; gap: 8px; }
.social-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    transition: all var(--transition);
}
.social-icon:hover {
    color: var(--color-accent);
    border-color: rgba(57, 255, 20, 0.40);
    background: rgba(57, 255, 20, 0.10);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.80rem;
    color: rgba(255, 255, 255, 0.30);
}


/* ----------------------------------------------------------------
   11. RESPONSIVE — TABLET (≤ 1024px)
---------------------------------------------------------------- */
@media (max-width: 1024px) {
    :root { --section-padding: 45px; }

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

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

    .about-card { padding: 24px 20px; }
    .about-wrapper { grid-template-columns: 1fr; gap: 48px; }
    .about-visual  { order: -1; }

    .form-row-3col { grid-template-columns: 1fr 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
}


/* ----------------------------------------------------------------
   12. RESPONSIVE — MOBILE (≤ 768px)
---------------------------------------------------------------- */
@media (max-width: 768px) {
    :root {
        --section-padding: 55px;
        --gap: 16px;
    }

    /* Nav mobile */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0; right: 0; bottom: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        z-index: 999;
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-menu .nav-link {
        font-size: 1.5rem;
        font-family: var(--font-display);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: rgba(255, 255, 255, 0.85);
        padding: 12px 24px;
    }
    .nav-menu .nav-link:hover { color: var(--color-accent); }
    .hamburger { display: flex; }

    /* CTA en mobile: ocultar el del top bar, mostrar el del overlay */
    .nav-cta-desktop { display: none; }
    .nav-cta-mobile-item {
        display: flex;
        justify-content: center;
        margin-top: 16px;
    }
    .nav-cta-mobile-item .btn-nav-cta {
        padding: 13px 37px;
        font-size: 1rem;
    }

    /* Hero: ajuste mobile */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 88px 20px 40px;
        justify-content: center;
    }
    .hero-content { gap: 20px; }
    .hero-title-line { white-space: normal; }
    .hero-subtitle { font-size: 1.05rem; }

    /* Métricas: 2x2 en mobile en vez de fila única */
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 16px;
        row-gap: 22px;
        width: 100%;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
    .stat { align-items: center; text-align: center; }
    .stat-divider { display: none; }

    .hero-cta-bar { flex-direction: column; gap: 12px; }
    .hero-cta-bar .btn { width: 100%; max-width: 320px; font-size: 1.1rem; padding: 14px 24px; justify-content: center; }

    /* Servicios: 1 columna */
    .services-grid { grid-template-columns: 1fr; }

    /* Galería: 2 columnas en mobile para 18 ítems */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About: valores y stats en 1 columna */
    .about-values     { grid-template-columns: 1fr; }
    .about-stat-cards { gap: 8px; }

    /* Testimonios: diagonal → columna vertical en mobile */
    .testimonials-featured { height: auto; max-width: 100%; margin-bottom: 36px; display: flex; flex-direction: column; gap: 32px; }
    .t-slot { position: relative; top: auto; right: auto; left: auto; width: 100%; }
    .t-slot-b { top: 0; }
    .t-slot-b .t-card-label { text-align: left; padding-right: 0; padding-left: 4px; }
    .marquee-card { width: 240px; }

    /* Formulario */
    .contact-form-wrapper { padding: 20px; max-width: 100%; }
    .form-row-2col,
    .form-row-3col { grid-template-columns: 1fr; }
    .contact-info-bar { grid-template-columns: 1fr; max-width: 320px; gap: 16px; }
    .contact-info-bar .contact-method { max-width: none; }

    /* Checkbox de newsletter: ancho completo para que el texto pueda partirse en líneas */
    .form-actions { width: 100%; }
    .newsletter-check { width: 100%; max-width: 100%; }
    .newsletter-check-label { font-size: 11px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }

    /* Servicios: subtítulo vuelve a wrappear en pantallas pequeñas */
    .services .section-subtitle { white-space: normal; }

    /* Footer nav: columna simple en mobile */
    .footer-links ul {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
    }
}

/* Pantallas muy chicas (360px-400px): checkbox de newsletter más compacto */
@media (max-width: 400px) {
    .newsletter-check { gap: 8px; }
    .newsletter-check-label { font-size: 10px; line-height: 1.45; }
}


/* ----------------------------------------------------------------
   13. DELAYS DE ANIMACIÓN ESCALONADA
   Crea un efecto de cascada al entrar en viewport.
---------------------------------------------------------------- */
.services-grid .service-card:nth-child(1) { transition-delay: 0.05s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.12s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.19s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.26s; }

/* Gallery: stagger en grupos de 3 (por fila) */
.gallery-grid .gallery-item:nth-child(3n+1) { transition-delay: 0.03s; }
.gallery-grid .gallery-item:nth-child(3n+2) { transition-delay: 0.08s; }
.gallery-grid .gallery-item:nth-child(3n)   { transition-delay: 0.13s; }
