/* ============================================================
   PRETA — Estudio de contenido audiovisual
   Design system: monochrome luxury · Cormorant + Montserrat
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Brand palette — Preta
     #102c46 logo · #011830 / #002b49 complementarios · #6a7b76 salvia */
  --bg:        #01101F;   /* navy más profundo (base) */
  --bg-1:      #011830;   /* complementario oscuro */
  --bg-2:      #002B49;   /* complementario medio */
  --bg-3:      #102C46;   /* color del logo */
  --surface:   #0C2238;
  --line:      rgba(176, 196, 210, 0.14);
  --line-soft: rgba(176, 196, 210, 0.08);

  --text:      #F2F5F8;
  --text-soft: #BFCBD6;
  --text-mut:  #8595A3;
  --accent:    #9DB0AA;   /* salvia aclarada — legible sobre navy */
  --accent-d:  #6A7B76;   /* salvia de marca — rellenos */

  --ff-display: 'Space Grotesk', -apple-system, system-ui, sans-serif;
  --ff-body:    'Inter', -apple-system, system-ui, sans-serif;

  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 0.45, 1);

  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 4rem);

  --nav-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  font-weight: 300;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--accent); color: var(--bg-1); }

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

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

.section { padding-block: clamp(5rem, 12vw, 11rem); position: relative; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 500; line-height: 1.02; letter-spacing: -0.025em; }

.display {
  font-size: clamp(2.8rem, 10vw, 8rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.h2 { font-size: clamp(2.1rem, 5.5vw, 4.2rem); }
.h3 { font-size: clamp(1.5rem, 3.2vw, 2.4rem); }
.serif-italic { font-style: normal; font-weight: 400; color: var(--accent); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text-soft);
  font-weight: 300;
  max-width: 60ch;
  line-height: 1.75;
}
.muted { color: var(--text-mut); }
.balance { text-wrap: balance; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: var(--pad-y) 1.9rem;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 100px;
  position: relative;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn--light { background: var(--text); color: var(--bg-1); }
.btn--light:hover { background: var(--accent); transform: translateY(-2px); }
.btn--light:hover svg { transform: translate(4px, -4px); }
.btn--ghost { border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Text link with underline reveal */
.link-u {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 4px;
}
.link-u::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }
.link-u svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.link-u:hover svg { transform: translateX(4px); }

/* ============================================================
   Preloader
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.5rem;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__logo {
  width: clamp(180px, 42vw, 320px); height: auto;
  opacity: 0; transform: translateY(16px);
  animation: logoIn 0.9s var(--ease) 0.2s forwards;
}
@keyframes logoIn { to { opacity: 1; transform: none; } }
.preloader__bar {
  width: min(220px, 50vw); height: 1px; background: var(--line);
  position: relative; overflow: hidden;
}
.preloader__bar::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  animation: load 1.4s var(--ease) 0.3s forwards;
}
@keyframes rise { to { transform: translateY(0); } }
@keyframes load { to { transform: scaleX(1); } }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease), height 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(6, 6, 8, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line-soft);
  height: 70px;
}
.nav__inner {
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; }
.brand__img { height: 61px; width: auto; display: block; transition: height 0.5s var(--ease); }
.nav.is-scrolled .brand__img { height: 51px; }
@media (max-width: 540px) { .brand__img { height: 48px; } }
.nav__links { display: flex; align-items: center; gap: 2.4rem; }
.nav__link {
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 400; color: var(--text-soft);
  position: relative; padding-block: 0.3rem;
  transition: color 0.35s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--text); }
.nav__cta { display: flex; align-items: center; gap: 1.6rem; }

.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 24px; height: 1.5px; background: var(--text); position: relative; transition: 0.4s var(--ease); }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 24px; height: 1.5px; background: var(--text); transition: 0.4s var(--ease);
}
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg-1);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  transform: translateY(-100%);
  transition: transform 0.7s var(--ease);
  visibility: hidden;
}
body.menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-menu__link {
  font-family: var(--ff-display); font-size: clamp(2.4rem, 11vw, 4rem);
  font-weight: 500; padding-block: 0.4rem;
  display: flex; align-items: baseline; gap: 1rem;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s var(--ease);
}
.mobile-menu__link .idx { font-family: var(--ff-body); font-size: 0.8rem; color: var(--accent); letter-spacing: 0.1em; }
body.menu-open .mobile-menu__link { opacity: 1; transform: translateY(0); }
body.menu-open .mobile-menu__link:nth-child(1) { transition-delay: 0.15s; }
body.menu-open .mobile-menu__link:nth-child(2) { transition-delay: 0.22s; }
body.menu-open .mobile-menu__link:nth-child(3) { transition-delay: 0.29s; }
body.menu-open .mobile-menu__link:nth-child(4) { transition-delay: 0.36s; }
body.menu-open .mobile-menu__link:nth-child(5) { transition-delay: 0.43s; }
.mobile-menu__foot { margin-top: 3rem; color: var(--text-mut); font-size: 0.85rem; display: flex; flex-direction: column; gap: 0.4rem; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(2.5rem, 6vh, 5rem);
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0; z-index: 0;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 35%, rgba(0,0,0,0.65) 100%);
}
.hero__media img, .hero__media video {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 2.5rem;
}
.hero h1 { margin-block: 0.5rem 1.8rem; }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.scroll-cue {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-mut);
}
.scroll-cue__line { width: 1px; height: 48px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue__line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--accent); animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine { 0% { top: -50%; } 100% { top: 100%; } }

/* Placeholder media (until user provides assets) */
.media-ph {
  position: relative; width: 100%; height: 100%;
  background:
    radial-gradient(120% 90% at 70% 20%, #143a59 0%, #06182b 55%, #01101f 100%);
  overflow: hidden;
}
.media-ph::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 9px);
  mix-blend-mode: overlay;
}
.media-ph[data-label]::after {
  content: attr(data-label);
  position: absolute; left: 1.1rem; bottom: 1rem;
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.34);
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line-soft);
  padding-block: 1.5rem; overflow: hidden;
  display: flex; user-select: none;
}
.marquee__track {
  display: flex; flex-shrink: 0; gap: 3rem; align-items: center;
  padding-right: 3rem;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--ff-display); font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-style: italic; color: var(--text-soft); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 3rem;
}
.marquee__item::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Reveal animation utility
   ============================================================ */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* Masked line reveal */
.line-mask { overflow: hidden; display: block; }
.line-mask > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.line-mask.in > span { transform: translateY(0); }

/* ============================================================
   Intro / Manifesto
   ============================================================ */
.manifesto { text-align: center; }
.manifesto__text {
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(1.8rem, 4.4vw, 3.6rem); line-height: 1.22;
  max-width: 20ch; margin-inline: auto; letter-spacing: -0.01em;
}
.manifesto__text em { font-style: normal; color: var(--accent); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.stack-sm > * + * { margin-top: 1.3rem; }

/* ============================================================
   Services list (home)
   ============================================================ */
.svc { border-top: 1px solid var(--line); }
.svc__item { border-bottom: 1px solid var(--line); position: relative; }
.svc__link {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: clamp(1rem, 4vw, 3rem);
  padding-block: clamp(1.8rem, 4vw, 2.8rem);
  position: relative; z-index: 2;
  transition: padding-left 0.5s var(--ease);
}
.svc__idx { font-size: 0.78rem; letter-spacing: 0.12em; color: var(--text-mut); font-weight: 500; }
.svc__name { font-family: var(--ff-display); font-size: clamp(2rem, 6vw, 4.4rem); font-weight: 500; transition: color 0.4s var(--ease), transform 0.6s var(--ease); }
.svc__arrow {
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.svc__arrow svg { width: 18px; height: 18px; transition: transform 0.45s var(--ease); }
.svc__tags { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.4rem; }
.svc__tag { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mut); }
.svc__tag + .svc__tag::before { content: "·"; margin-right: 0.6rem; color: var(--line); }

/* hover hover preview */
.svc__item:hover .svc__name { color: var(--accent); transform: translateX(14px); }
.svc__item:hover .svc__arrow { background: var(--accent); border-color: var(--accent); }
.svc__item:hover .svc__arrow svg { transform: translate(3px, -3px); color: #000; }
.svc__arrow svg { color: var(--text); }
.svc__item:hover .svc__arrow svg { color: #000; }

/* floating image preview on hover (desktop) */
.svc__preview {
  position: fixed; top: 0; left: 0; width: 280px; height: 340px;
  pointer-events: none; z-index: 60; border-radius: 6px; overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.svc__preview.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ============================================================
   Work grid
   ============================================================ */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(0.8rem, 1.6vw, 1.4rem); }
.work-card { position: relative; overflow: hidden; border-radius: 4px; cursor: pointer; }
.work-card .media-ph { transition: transform 1.4s var(--ease); }
.work-card:hover .media-ph { transform: scale(1.06); }
.work-card__cap {
  position: absolute; inset: auto 0 0 0; padding: 1.3rem;
  display: flex; justify-content: space-between; align-items: flex-end;
  background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent);
  opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.work-card:hover .work-card__cap { opacity: 1; transform: translateY(0); }
.work-card__cap h4 { font-size: 1.3rem; }
.work-card__cap span { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.col-7 { grid-column: span 7; aspect-ratio: 4/3; }
.col-5 { grid-column: span 5; aspect-ratio: 3/4; }
.col-6 { grid-column: span 6; aspect-ratio: 1/1; }
.col-4 { grid-column: span 4; aspect-ratio: 3/4; }
.col-8 { grid-column: span 8; aspect-ratio: 16/10; }

/* ============================================================
   Stats
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.stat__num { font-family: var(--ff-display); font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 500; line-height: 1; }
.stat__num .serif-italic { font-size: 0.5em; }
.stat__label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mut); margin-top: 0.8rem; }

/* ============================================================
   Locations
   ============================================================ */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2rem); }
.loc-card {
  position: relative; border: 1px solid var(--line); border-radius: 6px;
  padding: clamp(1.8rem, 4vw, 3rem); overflow: hidden;
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease);
  min-height: 320px; display: flex; flex-direction: column; justify-content: space-between;
}
.loc-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.loc-card__city { font-family: var(--ff-display); font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 500; }
.loc-card__coord { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mut); }
.loc-card__glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(157,176,170,0.20), transparent 70%);
  top: -120px; right: -100px; filter: blur(10px);
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.loc-card:hover .loc-card__glow { opacity: 1; }

/* ============================================================
   Contact / CTA
   ============================================================ */
.cta { text-align: center; }
.cta__big {
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(2.6rem, 10vw, 7.5rem); line-height: 0.98; letter-spacing: -0.035em;
}
.cta__big a { display: inline-block; transition: transform 0.5s var(--ease), color 0.4s var(--ease); }
.cta__big a:hover { color: var(--accent); }

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); }
.field { position: relative; margin-bottom: 2.2rem; }
.field label {
  display: block; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-mut); margin-bottom: 0.7rem;
}
.field input, .field textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line);
  color: var(--text); font-family: inherit; font-size: 1rem; font-weight: 300;
  padding-block: 0.7rem; transition: border-color 0.4s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field textarea { resize: vertical; min-height: 90px; }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-info__block h4 { font-family: var(--ff-body); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mut); font-weight: 500; margin-bottom: 0.6rem; }
.contact-info__block p, .contact-info__block a { font-size: 1.05rem; color: var(--text-soft); }
.contact-info__block a:hover { color: var(--accent); }
.form-note { font-size: 0.8rem; color: var(--text-mut); margin-top: 1rem; }
.form-status { font-size: 0.9rem; margin-top: 1.2rem; line-height: 1.5; }
.form-status:empty { margin-top: 0; }
.form-status[data-state="ok"] { color: var(--accent); }
.form-status[data-state="error"] { color: #E8927C; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem) 2.5rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 4rem; }
.footer__brand img { height: clamp(64px, 11vw, 104px); width: auto; display: block; }
.footer__col h5 { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mut); margin-bottom: 1.2rem; font-weight: 500; }
.footer__col a, .footer__col p { display: block; color: var(--text-soft); font-size: 0.95rem; margin-bottom: 0.65rem; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem; border-top: 1px solid var(--line-soft);
  font-size: 0.74rem; color: var(--text-mut); letter-spacing: 0.06em;
}
.footer__socials { display: flex; gap: 1.5rem; }
.footer__socials a { transition: color 0.3s var(--ease); }
.footer__socials a:hover { color: var(--accent); }

/* ============================================================
   Service page specifics
   ============================================================ */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(3rem, 9vw, 7rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  position: relative;
}
.page-hero__label { margin-bottom: 2rem; }
.page-hero h1 { font-size: clamp(2.6rem, 12vw, 8.5rem); line-height: 0.94; letter-spacing: -0.035em; }
.page-hero__meta { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2.5rem; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mut); }

.feature-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feature-row--rev { grid-template-columns: 1.1fr 0.9fr; }
.feature-media { aspect-ratio: 4/5; border-radius: 6px; overflow: hidden; }

.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.offer-card {
  border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.6rem, 3vw, 2.4rem);
  min-height: 240px; display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color 0.5s var(--ease), background 0.5s var(--ease), transform 0.5s var(--ease);
}
.offer-card:hover { border-color: var(--accent); background: var(--bg-1); transform: translateY(-5px); }
.offer-card__num { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--accent); font-weight: 500; }
.offer-card h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: auto; }
.offer-card p { font-size: 0.92rem; color: var(--text-mut); margin-top: 0.8rem; line-height: 1.6; }
.offer-card__icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: 1rem; }
.offer-card__icon svg { width: 100%; height: 100%; stroke-width: 1; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); counter-reset: step; }
.process__step { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.process__step .n { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--accent); font-weight: 500; }
.process__step h4 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); margin-block: 0.8rem 0.7rem; }
.process__step p { font-size: 0.9rem; color: var(--text-mut); line-height: 1.6; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: clamp(0.7rem, 1.4vw, 1.2rem); }

/* ============================================================
   Real media (images / video)
   ============================================================ */
.media { position: relative; overflow: hidden; border-radius: 6px; background: var(--bg-2); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media video { background: #000; }
.work-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.work-card:hover > img { transform: scale(1.06); }

/* Brand logo tiles (light surface so dark logos read on navy) */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.4rem); }
.logo-tile {
  background: #EEF1F4; border-radius: 6px; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1.6rem, 4vw, 3rem);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.logo-tile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0,0,0,0.35); }
.logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Brand wall (logo strip) */
.brand-hero {
  background: #EEF1F4; border-radius: 8px;
  padding: clamp(2rem, 6vw, 4.5rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around;
  gap: clamp(1.6rem, 4vw, 3.2rem);
}
.brand-hero img { height: clamp(32px, 4.5vw, 58px); width: auto; max-width: 28%; object-fit: contain; }

/* Reel grid (vertical social videos) */
.reel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.8rem, 1.6vw, 1.3rem); }

/* ============================================================
   Carousel (drag / scroll-snap)
   ============================================================ */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: clamp(0.8rem, 1.5vw, 1.2rem);
  overflow-x: auto; scroll-snap-type: x proximity;
  scroll-behavior: smooth; cursor: grab;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.carousel__track.dragging img { pointer-events: none; }
.carousel__item { flex: 0 0 auto; scroll-snap-align: start; }
.carousel__item .media { width: 100%; }
.carousel__cap {
  margin-top: 0.8rem; font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-mut);
}

.carousel--photos .carousel__item { width: clamp(230px, 30vw, 340px); }
.carousel--photos .carousel__item .media { aspect-ratio: 4/5; }

.carousel--logos .carousel__item { width: clamp(170px, 22vw, 220px); }
.carousel--logos .logo-tile { aspect-ratio: 4/3; padding: clamp(1rem, 2.5vw, 1.8rem); margin: 0; }

.carousel__nav { display: flex; gap: 0.8rem; margin-top: 1.8rem; }
.carousel__btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--text);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease), opacity 0.4s var(--ease), transform 0.2s var(--ease);
}
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.carousel__btn:active:not(:disabled) { transform: scale(0.94); }
.carousel__btn:disabled { opacity: 0.25; cursor: default; }

/* ============================================================
   Video poster + lightbox (Vimeo / YouTube ready)
   ============================================================ */
.video-embed img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 74px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5); background: rgba(8, 16, 28, 0.45);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; color: var(--text);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.video-badge svg { width: 26px; height: 26px; margin-left: 3px; }
.video-embed[data-embed]:not([data-embed=""]) { cursor: pointer; }
.video-embed[data-embed]:not([data-embed=""]) .video-badge { display: flex; }
.video-embed[data-embed]:not([data-embed=""]):hover .video-badge { transform: translate(-50%, -50%) scale(1.08); background: var(--accent-d); }

.vlb {
  position: fixed; inset: 0; z-index: 1500;
  background: rgba(2, 8, 15, 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.vlb[hidden] { display: none; }
.vlb__frame { width: min(100%, 1100px); aspect-ratio: 16/9; }
.vlb__frame.vertical { aspect-ratio: 9/16; width: auto; height: min(86vh, 900px); }
.vlb__frame iframe { width: 100%; height: 100%; border: 0; border-radius: 8px; }
.vlb__close {
  position: absolute; top: 1.4rem; right: 1.6rem;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--text); font-size: 1.7rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.vlb__close:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta { gap: 0; }
  .split, .contact-grid, .feature-row, .feature-row--rev { grid-template-columns: 1fr; }
  .feature-row--rev .feature-media { order: -1; }
  .stats { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .loc-grid { grid-template-columns: 1fr; }
  .svc__preview { display: none; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  /* simplify work grid */
  .col-7, .col-5, .col-6, .col-4, .col-8 { grid-column: span 6; aspect-ratio: 1/1; }
}

@media (max-width: 540px) {
  body { font-size: 15px; }
  .offer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .col-7, .col-5, .col-6, .col-4, .col-8 { grid-column: span 12; aspect-ratio: 4/3; }
  .hero__meta { font-size: 0.64rem; gap: 0.6rem; }
  .svc__link { grid-template-columns: auto 1fr; }
  .svc__arrow { display: none; }
  .brand-grid { grid-template-columns: 1fr 1fr; }
  .reel-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .line-mask > span { transform: none; }
  .preloader { display: none; }
}
