/* ============================================================
   ADM Producciones — main.css
   Tema editorial premium: carbón cálido + bronce (ADM) + bosque (Ocasions)
   ============================================================ */

/* ── Tokens ── */
:root {
    --ink:        #050506;
    --ink-2:      #0A0A0C;
    --ink-3:      #101014;
    --ink-soft:   #16161B;
    --paper:      #F2EEE6;
    --paper-2:    #E6DFD2;
    --paper-3:    #D5CBB8;

    --bronze:     #C29B5F;
    --bronze-hi:  #E0B77A;
    --bronze-dp:  #8E6F3E;
    --forest:     #2E4539;
    --forest-hi:  #3C5A49;
    --sage:       #93A687;

    --text:       #F1EBE0;
    --text-dim:   #B9AE9C;
    --text-mute:  #8C8171;

    --line:       rgba(241, 235, 224, 0.10);
    --line-2:     rgba(241, 235, 224, 0.16);

    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.35);
    --shadow-md: 0 18px 40px -22px rgba(0,0,0,.75);
    --shadow-lg: 0 40px 80px -40px rgba(0,0,0,.85);

    --ease-out:  cubic-bezier(0.23, 1, 0.32, 1);
    --ease-io:   cubic-bezier(0.77, 0, 0.175, 1);

    --nav-h: 78px;
    --container: 1240px;
    --gutter: clamp(20px, 5vw, 64px);

    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background-color: var(--ink); }

/* ── Fondo texturizado con PARALLAX ──
   Capa fija que se desplaza a distinto ritmo que el contenido.
   Navegadores con scroll-driven animations: deriva suave ligada al scroll.
   Resto: capa fija (el contenido pasa por encima = mismo efecto a destiempo). */
.bg-texture {
    position: fixed;
    top: -60vh; bottom: -60vh; left: 0; right: 0;
    z-index: -1;
    pointer-events: none;
    background-color: var(--ink);
    background-image: url('/assets/img/tex-dark.jpg');
    background-size: 700px 700px;
    background-repeat: repeat;
    will-change: transform;
}
@supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) {
        .bg-texture {
            animation: bgParallax linear both;
            animation-timeline: scroll(root);
        }
        @keyframes bgParallax {
            from { transform: translate3d(0, 0, 0); }
            to   { transform: translate3d(0, -52vh, 0); }
        }
    }
}
body {
    font-family: var(--font-body);
    background-color: #00000061;
    color: var(--text);
    font-size: 17px;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--bronze); color: #1a1206; padding: 12px 20px; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ── Tipografía ── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
em { font-style: normal; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.section > .container { position: relative; z-index: 1; }

/* ── Fondos texturizados y fusión entre secciones ──
   Base: negro texturizado (ADM) en el body. La banda de Ocasions recibe
   una capa de verde texturizado que se desvanece en los bordes (máscara)
   para fundirse sin cortes con las secciones vecinas. */
.band { position: relative; }
.band--ocasions::before {
    content: "";
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: url('/assets/img/tex-green.jpg');
    background-size: 620px 620px;
    background-repeat: repeat;
    opacity: 1;
    filter: brightness(1.2) saturate(1.9) contrast(1);
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 150px, #000 calc(100% - 150px), transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 150px, #000 calc(100% - 150px), transparent 100%);
}
.section-head { max-width: 760px; margin-bottom: clamp(38px, 6vw, 68px); }
.section-title { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 18px; }
.section-subtitle { color: var(--text-dim); font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 62ch; }

/* ── Botones ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px; border-radius: var(--r-pill);
    font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
    transition: transform .16s var(--ease-out), background-color .2s, border-color .2s, color .2s, box-shadow .2s;
    white-space: nowrap; line-height: 1;
}
.btn:active { transform: scale(0.97); }
.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-full { width: 100%; }
@media (hover: hover) and (pointer: fine) {
    .btn-wa:hover { box-shadow: 0 14px 30px -14px rgba(37,211,102,.6); }
    .btn-primary:hover, .btn-outline:hover { border-color: var(--bronze); color: var(--bronze-hi); }
}
.btn-wa { background: #25D366; color: #07301a; }
.btn-primary { background: var(--bronze); color: #1a1206; }
.btn-outline { border: 1.5px solid var(--line-2); color: var(--text); }
.btn-ghost { border: 1.5px solid var(--line-2); color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); border-color: var(--bronze); }

/* ── Reveal ──
   Solo se ocultan los elementos cuando JS está activo (.js en <html>).
   Sin JS, todo el contenido queda visible. */
.js .reveal-up { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal-up.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal-up { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ══════════════════ NAVBAR ══════════════════ */
.navbar {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    height: var(--nav-h); display: flex; align-items: center;
    transition: background-color .3s var(--ease-out), border-color .3s, backdrop-filter .3s;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(5, 5, 6, 0.92);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}
.nav-container {
    width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; }
.logo-img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 14px; font-size: 0.92rem; font-weight: 600; color: var(--text-dim);
    border-radius: var(--r-pill); transition: color .18s, background-color .18s;
}
.nav-link.active, .nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--bronze-hi); }
.nav-caret { transition: transform .2s var(--ease-out); opacity: .7; }
.has-dropdown:hover .nav-caret { transform: rotate(180deg); }
/* Puente invisible: mantiene el menú abierto al mover el cursor del enlace al panel */
.nav-bridge { position: absolute; top: 100%; left: -14px; right: -14px; height: 20px; }
.nav-dropdown {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
    min-width: 330px; background: var(--ink-2); border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 8px; display: grid; gap: 2px;
    opacity: 0; visibility: hidden; transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
    box-shadow: var(--shadow-md);
}
.has-dropdown:hover .nav-dropdown, .has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dropdown-link { display: grid; gap: 2px; padding: 11px 14px; border-radius: var(--r-sm); transition: background-color .16s; }
.nav-dropdown-link:hover { background: var(--ink-3); }
.nav-dropdown-title { font-weight: 700; font-size: .92rem; }
.nav-dropdown-desc { font-size: .78rem; color: var(--text-mute); }
.nav-dropdown-link.active .nav-dropdown-title { color: var(--bronze-hi); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta {
    display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px;
    background: #25D366; color: #07301a; border-radius: var(--r-pill);
    font-weight: 700; font-size: .88rem; transition: transform .16s var(--ease-out), box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}
.nav-cta:active { transform: scale(0.97); }
/* Botón "Solicitar": acción distinta (va al formulario), diseño distinto al de WhatsApp */
.nav-cta--request {
    background: transparent;
    border: 1.5px solid rgba(194,155,95,.6);
    color: var(--bronze-hi);
}
@media (hover: hover) {
    .nav-cta--request:hover {
        background: var(--bronze); border-color: var(--bronze); color: #1a1206;
        box-shadow: 0 12px 26px -14px rgba(194,155,95,.65);
    }
}
/* ══════════════════ SELECTOR DE IDIOMA ══════════════════ */
.lang-switcher { position: relative; }
.lang-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px;
    border: 1.5px solid var(--line); border-radius: var(--r-pill);
    background: transparent; color: var(--text-dim); font-weight: 700; font-size: .82rem;
    letter-spacing: .04em; cursor: pointer; transition: border-color .16s, color .16s;
}
.lang-btn:hover { color: var(--text); border-color: rgba(194,155,95,.6); }
.lang-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px;
    background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .16s, transform .16s, visibility .16s; z-index: 60;
    box-shadow: 0 24px 48px -24px rgba(0,0,0,.7);
}
.lang-switcher:hover .lang-dropdown,
.lang-switcher:focus-within .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option { display: block; padding: 9px 12px; border-radius: var(--r-sm); font-size: .88rem; color: var(--text-dim); }
.lang-option:hover { background: var(--ink-3); color: var(--text); }
.lang-option.active { color: var(--bronze-hi); font-weight: 700; }
.mobile-lang { display: flex; gap: 10px; margin-top: 22px; justify-content: center; }
.mobile-lang-btn {
    padding: 10px 20px; border: 1.5px solid var(--line); border-radius: var(--r-pill);
    font-weight: 700; font-size: .88rem; color: var(--text-dim);
}
.mobile-lang-btn.active { border-color: var(--bronze); color: var(--bronze-hi); }

.nav-toggle { display: none; padding: 8px; }
.hamburger { display: flex; flex-direction: column; gap: 5px; width: 26px; }
.hamburger span { height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease-out), opacity .2s; }

/* ══════════════════ MENÚ MÓVIL ══════════════════ */
.mobile-menu {
    position: fixed; inset: 0; z-index: 120; background: var(--ink);
    transform: translateX(100%); transition: transform .35s var(--ease-io);
    overflow-y: auto; visibility: hidden;
}
.mobile-menu.active { transform: none; visibility: visible; }
.mobile-menu-inner { padding: 22px var(--gutter) 40px; min-height: 100%; display: flex; flex-direction: column; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mobile-logo { height: 34px; width: auto; }
.mobile-close { font-size: 2.2rem; line-height: 1; color: var(--text-dim); padding: 0 6px; }
.mobile-nav-links { display: grid; gap: 4px; }
.mobile-link { display: block; padding: 14px 4px; font-family: var(--font-display); font-size: 1.7rem; color: var(--text); border-bottom: 1px solid var(--line); }
.mobile-sub { display: grid; gap: 2px; padding: 6px 0 12px 14px; }
.mobile-sublink { padding: 9px 0; color: var(--text-dim); font-size: .95rem; }
.mobile-sublink::before { content: "—"; margin-right: 10px; color: var(--bronze); }
.mobile-menu-cta { margin-top: 28px; display: grid; gap: 14px; text-align: center; }
.mobile-phone { color: var(--text-dim); font-weight: 600; }

/* ══════════════════ HERO ══════════════════ */
.hero {
    position: relative; min-height: 100svh; display: flex; flex-direction: column;
    justify-content: center; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 40px;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img {
    position: absolute; inset: -6% 0; background-size: cover; background-position: center;
    transform: scale(1.06); will-change: transform;
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(9,9,11,.70) 0%, rgba(9,9,11,.42) 40%, rgba(9,9,11,.86) 100%),
        linear-gradient(100deg, rgba(9,9,11,.84) 0%, rgba(14,14,17,.42) 55%, rgba(34,52,42,.18) 100%);
}
.hero-grain { position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
    background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 4px 4px; }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.hero-kicker { display: flex; align-items: center; gap: 12px; color: var(--bronze-hi); font-weight: 700; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 22px; }
.hero-kicker-sep { width: 34px; height: 1.5px; background: var(--bronze); }
.hero-title { margin-bottom: 22px; max-width: 16ch; }
.hero-line { display: block; }
.hero-line--accent { color: var(--bronze-hi); font-style: italic; }
.hero-subtitle { color: var(--text-dim); font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 56ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-brands { display: flex; flex-direction: column; gap: 10px; }
.hero-brands-label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); }
.hero-brands-logos { display: flex; align-items: center; gap: 16px; }
.hero-brands-logos img { opacity: .92; }
.hero-logo { width: auto; }
.hero-logo--adm { height: 28px; }
.hero-logo--oc { height: 32px; }
.hero-brands-x { color: var(--bronze); font-size: 1.3rem; }
.hero-stats {
    position: relative; z-index: 2; width: 100%; max-width: var(--container); margin: 54px auto 0;
    padding: 26px var(--gutter) 0; display: flex; align-items: center; gap: clamp(18px, 4vw, 54px);
    flex-wrap: wrap; border-top: 1px solid var(--line);
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-num { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; color: var(--text); }
.hero-stat-suffix { color: var(--bronze-hi); }
.hero-stat-label { font-size: .78rem; color: var(--text-mute); letter-spacing: .04em; }
.hero-stat-div { width: 1px; height: 34px; background: var(--line); }

/* ══════════════════ ABOUT ══════════════════ */
.about { background: transparent; }
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 6vw, 84px); align-items: start; }
.about-lead { font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.3; color: var(--paper); margin: 6px 0 22px; }
.about-p { color: var(--text-dim); margin-bottom: 16px; max-width: 60ch; }
.about-body .btn { margin-top: 20px; }
.about-side { display: grid; gap: 20px; }
.about-stat-card {
    background: linear-gradient(150deg, var(--ink-3), var(--ink-2));
    border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px;
}
.about-stat-big { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1; color: var(--bronze-hi); display: block; }
.about-stat-big span { font-size: .5em; vertical-align: super; }
.about-stat-cap { display: block; color: var(--text-dim); margin-top: 8px; font-size: .95rem; }
.about-pillars { display: grid; gap: 2px; }
.pillar { padding: 16px 0; border-top: 1px solid var(--line); }
.pillar-title { font-size: 1.08rem; color: var(--paper); font-family: var(--font-body); font-weight: 700; }
.pillar-text { color: var(--text-mute); font-size: .92rem; margin-top: 4px; }

/* ── Marcas ── */
.brands-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: clamp(48px, 7vw, 84px); }
.brand-card {
    position: relative; display: grid; gap: 10px; padding: 34px 32px;
    border-radius: var(--r-lg); border: 1px solid var(--line);
    background: var(--ink-2); overflow: hidden;
    transition: transform .25s var(--ease-out), border-color .25s;
}
.brand-card--adm { background: linear-gradient(155deg, rgba(194,155,95,.10), var(--ink-2) 60%); }
.brand-card--ocasions { background: linear-gradient(155deg, rgba(46,69,57,.35), var(--ink-2) 60%); }
.brand-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.brand-card-logo { height: 46px; width: auto; filter: brightness(1.05); }
.brand-card--ocasions .brand-card-logo { height: 40px; }
.brand-card-tagline { font-weight: 700; color: var(--paper); }
.brand-card-desc { color: var(--text-dim); font-size: .95rem; max-width: 44ch; }
.brand-card-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--bronze-hi); font-weight: 700; font-size: .9rem; margin-top: 6px; }
.brand-card--ocasions .brand-card-cta { color: var(--sage); }
.brand-card:hover .brand-card-cta svg { transform: translateX(4px); }
.brand-card-cta svg { transition: transform .2s var(--ease-out); }

/* ══════════════════ HUB (ADM / Ocasions) ══════════════════ */
.hub--adm { background: transparent; }
.hub--ocasions { background: transparent; }
.hub-head { max-width: 820px; margin-bottom: clamp(38px, 6vw, 64px); }
.hub-logo { height: 56px; width: auto; margin-bottom: 24px; }
.hub-logo--ocasions { height: 9rem; }
.hub--ocasions .section-title { color: #EAF0E6; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.svc-card {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
    padding: 24px 26px; border-radius: var(--r-md); border: 1px solid var(--line);
    background: rgba(255,255,255,.02);
    transition: transform .22s var(--ease-out), background-color .22s, border-color .22s;
}
.svc-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.045); border-color: var(--line-2); }
.svc-card-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--bronze-hi); }
.svc-card-icon svg { width: 30px; height: 30px; }
.svc-card--ocasions .svc-card-icon { color: var(--sage); }
.svc-card-body { display: grid; gap: 4px; }
.svc-card-title { font-family: var(--font-display); font-size: 1.3rem; color: var(--paper); }
.svc-card-desc { color: var(--text-mute); font-size: .9rem; }
.svc-card-arrow { color: var(--text-mute); transition: transform .2s var(--ease-out), color .2s; }
.svc-card:hover .svc-card-arrow { transform: translateX(4px); color: var(--bronze-hi); }
.svc-card--ocasions:hover .svc-card-arrow { color: var(--sage); }
.hub-cta { margin-top: 40px; }

/* ══════════════════ SERVICIO (detalle) ══════════════════ */
.svc-detail { background: transparent; }
.svc-detail--ocasions { background: transparent; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 78px); align-items: center; }
.svc-detail--reverse .svc-row { direction: rtl; }
.svc-detail--reverse .svc-row > * { direction: ltr; }
.svc-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 9 / 7; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: inherit; }
.svc-media-mark { position: absolute; left: 18px; bottom: 18px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r-sm); background: rgba(5,5,6,.72); color: var(--bronze-hi); backdrop-filter: blur(6px); }
.svc-media-mark svg { width: 26px; height: 26px; }
.svc-detail--ocasions .svc-media-mark { color: var(--sage); }
.svc-brand { height: 6rem; width: auto; margin-bottom: 18px; opacity: .95; }
.svc-title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: 16px; }
.svc-desc { color: var(--text-dim); margin-bottom: 22px; max-width: 56ch; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin-bottom: 30px; }
.svc-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: .94rem; }
.svc-list svg { flex-shrink: 0; margin-top: 3px; color: var(--bronze); }
.svc-detail--ocasions .svc-list svg { color: var(--sage); }
.svc-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ══════════════════ WHY ══════════════════ */
.why { background: transparent; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(30px, 5vw, 70px); }
.why-card { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; }
.why-num { font-family: var(--font-display); font-size: 1.1rem; color: var(--bronze); grid-row: span 2; padding-top: 4px; }
.why-title { font-size: 1.22rem; color: var(--paper); }
.why-text { color: var(--text-mute); font-size: .93rem; }

/* ══════════════════ GALERÍA ══════════════════ */
.gallery { background: transparent; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; grid-auto-rows: 210px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--r-md); cursor: pointer; }
.gallery-item--wide { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-cap { position: absolute; inset: auto 0 0 0; padding: 28px 16px 12px; font-size: .8rem; color: #fff;
    background: linear-gradient(transparent, rgba(0,0,0,.82)); opacity: 0; transition: opacity .25s var(--ease-out); }
.gallery-item:hover .gallery-cap { opacity: 1; }
.gallery-tag { position: absolute; top: 12px; left: 12px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--r-pill); background: rgba(5,5,6,.78); color: var(--bronze-hi); }
.gallery-item[data-cat="Ocasions"] .gallery-tag { color: var(--sage); }

/* ══════════════════ TESTIMONIOS ══════════════════ */
.testimonials { background: transparent; }
.testi-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { padding: 34px 30px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--ink-3); display: grid; gap: 16px; }
.testi-stars { color: var(--bronze); letter-spacing: 3px; font-size: 1rem; }
.testi-text { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.4; color: var(--paper); }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--bronze-dp); color: #1a1206; font-weight: 800; }
.testi-author strong { display: block; font-size: .92rem; }
.testi-author em { display: block; font-style: normal; color: var(--text-mute); font-size: .8rem; }

/* ══════════════════ FAQ ══════════════════ */
.faq { background: transparent; }
.faq-list { max-width: 900px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--paper); }
.faq-q::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex-shrink: 0; width: 20px; height: 20px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--bronze); border-radius: 2px; transition: transform .25s var(--ease-out), opacity .2s; }
.faq-icon::before { inset: 9px 0; height: 2px; }
.faq-icon::after { inset: 0 9px; width: 2px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { padding: 0 4px 26px; color: var(--text-dim); max-width: 78ch; }

/* ══════════════════ CTA BANNER ══════════════════ */
.cta-banner { background: transparent; text-align: center; }
.cta-banner::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(120% 130% at 12% 0%, rgba(194,155,95,.13), transparent 58%),
        radial-gradient(130% 140% at 88% 100%, rgba(44,66,52,.45), transparent 60%);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
.cta-content { max-width: 760px; margin-inline: auto; }
.cta-title { font-size: clamp(2.1rem, 5vw, 3.8rem); margin-bottom: 18px; }
.cta-subtitle { color: var(--text-dim); font-size: clamp(1rem, 1.5vw, 1.2rem); margin-bottom: 34px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ══════════════════ CONTACTO ══════════════════ */
.contact { background: transparent; }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 66px); align-items: start; }
.contact-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; background: var(--ink-3); display: grid; gap: 6px; }
.contact-card h3 { color: var(--paper); font-size: 1.5rem; margin-bottom: 14px; }
.contact-item { display: flex; gap: 14px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); transition: color .18s; }
.contact-item:first-of-type { border-top: none; }
.contact-item em { display: block; font-style: normal; color: var(--text-mute); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.contact-item strong { display: block; font-size: .98rem; color: var(--text); font-weight: 600; }
.contact-item:not(.contact-item--static):hover strong { color: var(--bronze-hi); }
.contact-ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--r-sm); display: grid; place-items: center; background: rgba(194,155,95,.12); color: var(--bronze-hi); }
.contact-form-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); background: var(--ink-3); }
.form-title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 22px; color: var(--paper); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: grid; gap: 7px; margin-bottom: 16px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text-dim); }
.form-group label span { color: var(--bronze); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 13px 15px; border-radius: var(--r-sm);
    background: var(--ink); border: 1.5px solid var(--line); color: var(--text);
    font: inherit; font-size: .95rem; transition: border-color .18s, box-shadow .18s;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-mute); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(194,155,95,.15); }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B9AE9C' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.form-note { margin-top: 14px; font-size: .84rem; color: var(--text-mute); text-align: center; }
.form-note a { color: var(--bronze-hi); font-weight: 600; }
.btn-loading { display: none; }
.contact-form.sending .btn-text { display: none; }
.contact-form.sending .btn-loading { display: inline; }
.contact-form.sending button { opacity: .75; pointer-events: none; }
.form-success { display: none; margin-top: 18px; padding: 16px 18px; border-radius: var(--r-sm); background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.35); color: #9ff0bd; font-size: .92rem; }
.contact-form.submitted .form-success { display: block; }
.form-error { display: none; margin-top: 14px; padding: 14px 16px; border-radius: var(--r-sm); background: rgba(255,90,90,.10); border: 1px solid rgba(255,90,90,.35); color: #ffb3b3; font-size: .9rem; }
.contact-form.has-error .form-error { display: block; }

/* ══════════════════ FOOTER ══════════════════ */
.footer { background: transparent; border-top: 1px solid var(--line); padding-top: clamp(56px, 8vw, 90px); }
.footer-container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 50px; }
.footer-logo-img { height: 48px; width: auto; margin-bottom: 18px; }
.footer-tagline { color: var(--text-dim); font-size: .95rem; max-width: 34ch; margin-bottom: 10px; }
.footer-ocasions { color: var(--text-mute); font-size: .82rem; max-width: 36ch; }
.footer-ocasions strong { color: var(--sage); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-link { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--text-dim); transition: color .18s, border-color .18s, transform .18s var(--ease-out); }
.social-link:hover { color: var(--bronze-hi); border-color: var(--bronze); transform: translateY(-2px); }
.footer-heading { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); font-family: var(--font-body); font-weight: 700; margin-bottom: 18px; }
.footer-links { display: grid; gap: 11px; }
.footer-links a, .footer-contact span { color: var(--text-dim); font-size: .92rem; transition: color .18s; }
.footer-links a:hover { color: var(--bronze-hi); }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { color: var(--bronze); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid var(--line); padding: 24px 0 96px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.footer-copyright { color: var(--text-mute); font-size: .84rem; }
.footer-credit { display: flex; align-items: center; gap: 8px; color: var(--text-mute); font-size: .84rem; }
.footer-credit a { display: inline-flex; align-items: center; gap: 7px; color: var(--text-dim); font-weight: 700; transition: color .18s; }
.footer-credit a:hover { color: var(--bronze-hi); }
.footer-credit-mark { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: var(--bronze); color: #1a1206; font-size: .68rem; font-weight: 800; }

/* ── WhatsApp flotante ── */
.whatsapp-float {
    position: fixed; 
    right: 22px; 
    bottom: 22px; 
    z-index: 90;
    display: inline-flex; 
    align-items: center; 
    
    /* Inicialmente sin gap para mantener el icono centrado */
    gap: 0px; 
    
    background: #25D366; 
    color: #07301a; 
    border-radius: var(--r-pill);
    padding: 14px; 
    box-shadow: var(--shadow-md);
    
    /* Estado oculto inicial */
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(14px);
    
    /* Transición unificada para todas las propiedades */
    transition: 
      opacity .3s var(--ease-out, ease-out), 
      transform .3s var(--ease-out, ease-out), 
      visibility .3s, 
      padding .28s var(--ease-out, ease-out),
      gap .28s var(--ease-out, ease-out);
}

/* Estado visible al hacer scroll o activarse */
.whatsapp-float.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Texto interno oculto por defecto */
.whatsapp-float-label { 
    max-width: 0; 
    overflow: hidden; 
    white-space: nowrap; 
    font-weight: 700; 
    font-size: .92rem; 
    opacity: 0; 
    transition: max-width .28s var(--ease-out, ease-out), opacity .2s; 
}

/* Efecto al pasar el cursor (Hover) */
@media (hover: hover) {
    .whatsapp-float:hover { 
        padding: 14px 22px 14px 16px; 
        gap: 10px; /* Aquí se activa el espacio entre el icono y el texto */
    }
    
    .whatsapp-float:hover .whatsapp-float-label { 
        max-width: 140px; 
        opacity: 1; 
    }
}
/* ── Bottom nav (móvil) ── */
.bottom-nav { display: none; position: fixed; inset: auto 0 0 0; z-index: 95; background: rgba(5,5,6,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); }
.bottom-nav-item { flex: 1; display: grid; justify-items: center; gap: 3px; font-size: .66rem; color: var(--text-mute); font-weight: 600; padding: 4px; border-radius: var(--r-sm); }
.bottom-nav-icon svg { width: 22px; height: 22px; stroke-width: 1.7; }
.bottom-nav-item.active { color: var(--bronze-hi); }
.bottom-nav-item--cta { color: #25D366; }

/* ══════════════════ HERO PARALLAX (scroll-driven) ══════════════════ */
@supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) {
        .hero-bg-img {
            animation: heroParallax linear both;
            animation-timeline: scroll(root);
            animation-range: 0 90vh;
        }
        @keyframes heroParallax {
            from { transform: translateY(0) scale(1.08); }
            to   { transform: translateY(14vh) scale(1.14); }
        }
    }
}

/* ══════════════════ LIGHTBOX ══════════════════ */
.lightbox {
    position: fixed; inset: 0; z-index: 200; background: rgba(12, 10, 8, .96);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    opacity: 0; visibility: hidden; transition: opacity .25s var(--ease-out), visibility .25s;
    padding: 4vh 3vw;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 92vw; max-height: 88vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox-close {
    position: absolute; top: 18px; right: 22px; width: 48px; height: 48px;
    font-size: 2rem; line-height: 1; color: #fff; border-radius: 50%;
    background: rgba(255,255,255,.08); transition: background-color .18s;
}
.lightbox-close:hover { background: rgba(255,255,255,.18); }
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 54px; height: 54px; font-size: 2.2rem; line-height: 1; color: #fff;
    border-radius: 50%; background: rgba(255,255,255,.08); transition: background-color .18s;
}
.lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ══════════════════ RESPONSIVE ══════════════════ */
@media (max-width: 1080px) {
    .about-grid { grid-template-columns: 1fr; }
    .svc-row { grid-template-columns: 1fr; }
    .svc-detail--reverse .svc-row { direction: ltr; }
    .svc-media { aspect-ratio: 16 / 10; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .lang-switcher { display: none; }
    .nav-cta { padding: 10px 16px; }
    .why-grid { grid-template-columns: 1fr; }
    .testi-track { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .brands-strip { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Leve animación del botón "Solicitar" en móvil */
@media (max-width: 980px) and (prefers-reduced-motion: no-preference) {
    .nav-cta--request { animation: navNudge 3.6s var(--ease-io) infinite; }
    @keyframes navNudge {
        0%, 78%, 100% { box-shadow: 0 0 0 0 rgba(194,155,95,0); transform: none; }
        86% { box-shadow: 0 0 0 7px rgba(194,155,95,.12); transform: translateY(-1px); }
    }
}
@media (max-width: 720px) {
    body { font-size: 16px; }
    .svc-grid { grid-template-columns: 1fr; }
    .svc-list { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .gallery-item--wide { grid-column: span 2; grid-row: span 1; }
    .hero-stats { gap: 18px; }
    .hero-stat-div { display: none; }
    .bottom-nav { display: flex; }
    .whatsapp-float { bottom: 84px; }
    .footer-bottom { padding-bottom: 96px; }
}
@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; }
    .btn { padding: 13px 20px; }
    .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
}

/* ══════════════════ ENDURECIMIENTO MÓVIL ══════════════════
   1) Áreas seguras: viewport-fit=cover lleva el fondo hasta el borde físico,
      así que la barra fija y el contenido deben ceder al notch / Dynamic Island.
   2) Desbordes: las cuadrículas no se dejan estirar por textos largos
      (email y teléfonos), para que el documento nunca supere el ancho real. */
.navbar { height: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); }
.hero { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 40px); }
.mobile-menu-inner { padding-top: calc(22px + env(safe-area-inset-top, 0px)); }
.container, .nav-container, .hero-content, .hero-stats,
.footer-container, .mobile-menu-inner {
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.contact-grid > *, .about-grid > *, .svc-grid > *, .svc-row > *,
.gallery-grid > *, .why-grid > *, .testi-track > *, .brands-strip > *,
.footer-grid > *, .form-row > *, .svc-list > * { min-width: 0; }
.contact-card, .contact-form-wrap, .contact-item, .contact-item > * { min-width: 0; }
.contact-item em, .contact-item strong, .contact-item > span,
.footer-contact span, .footer-links a, .form-note a { overflow-wrap: anywhere; }
.contact-item > span { min-width: 0; }
