:root {
  --ink: #0b1433;
  --ink-2: #13235a;
  --blue: #2d68b3;
  --blue-press: #22558f;
  --sky: #4aa8d8;
  --sky-soft: #cbe6f4;
  --mist: #eef3f7;
  --paper: #f9fbfc;
  --line: #d2dee8;
  --line-ink: rgba(169, 189, 214, 0.28);
  --text: #0b1433;
  --muted: #45556d;
  --on-ink: #f4f8fb;
  --on-ink-soft: #d5e1ee;
  --on-ink-muted: #a9bdd6;
  --on-blue-muted: #dbe8f6;
  --max: 1200px;
  --gutter: clamp(16px, 5vw, 64px);
  --edge: max(var(--gutter), (100vw - var(--max)) / 2);
  --radius: 4px;
  --header: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--blue) var(--mist);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--display);
  font-stretch: 100%;
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  accent-color: var(--blue);
  caret-color: var(--blue);
}

::selection { background: var(--sky-soft); color: var(--ink); }
.hero ::selection,
.cellar ::selection,
.cta-band ::selection,
.site-footer ::selection { background: var(--sky); color: var(--ink); }

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

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

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

h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 116%;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 100;
}
.skip:focus { top: 8px; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--on-ink);
  border-bottom: 1px solid var(--line-ink);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header);
}

.wordmark {
  font-stretch: 122%;
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--on-ink);
  white-space: nowrap;
}
.wordmark span { color: var(--sky); font-weight: 500; }

.nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--on-ink-muted);
  padding: 10px 12px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav a:hover { color: var(--on-ink); background: rgba(244, 248, 251, 0.07); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--on-ink);
  font-weight: 700;
  font-stretch: 108%;
  text-decoration: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.header-phone .icon { color: var(--sky); }
.header-phone:hover { text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  font-stretch: 108%;
  text-decoration: none;
  line-height: 1.15;
  border: 1.5px solid transparent;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 18px -8px rgba(11, 20, 51, 0.45);
}
.btn-primary:hover { background: var(--blue-press); box-shadow: 0 10px 24px -10px rgba(11, 20, 51, 0.55); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.5); }
.btn-light:hover { background: var(--sky-soft); }
.btn-outline-ink { border-color: rgba(244, 248, 251, 0.45); color: var(--on-ink); }
.btn-outline-ink:hover { border-color: var(--on-ink); background: rgba(244, 248, 251, 0.08); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: 0.95rem; }
.btn-lg { min-height: 58px; padding: 16px 26px; font-size: 1.0625rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  font-size: 0.98rem;
}
.link-arrow .icon { transition: transform 0.3s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Hero: la foto aparece como si se despejara la niebla */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: min(920px, calc(100svh - var(--header)));
  background: var(--ink);
  color: var(--on-ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
  background: var(--ink-2);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 45%;
  mix-blend-mode: luminosity;
  opacity: 0.85;
  animation: clear 2.4s var(--ease) both;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 20, 51, 0.94) 0%, rgba(11, 20, 51, 0.86) 34%, rgba(11, 20, 51, 0.4) 68%, rgba(11, 20, 51, 0.18) 100%),
    linear-gradient(to top, rgba(11, 20, 51, 0.92) 0%, rgba(11, 20, 51, 0) 42%);
  pointer-events: none;
}
.hero-media figcaption {
  position: absolute;
  z-index: 1;
  top: clamp(16px, 2.4vw, 28px);
  right: var(--edge);
  padding: 6px 10px;
  border-radius: var(--radius);
  background: rgba(11, 20, 51, 0.72);
  color: var(--on-ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
}

@keyframes clear {
  from { filter: blur(18px); transform: scale(1.08); }
  to { filter: none; transform: none; }
}

.hero-inner {
  display: grid;
  gap: 28px;
  justify-items: start;
  padding-block: clamp(96px, 12vw, 168px) clamp(40px, 5vw, 64px);
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-stretch: 112%;
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 12ch;
}
.hero h1 em { font-style: normal; color: var(--sky); }

.hero-lede {
  font-size: clamp(1.125rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: var(--on-ink-soft);
  max-width: 46ch;
}

.hero .actions { margin-top: 8px; }

.hero-urgency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--on-ink-soft);
}

.proof {
  justify-self: stretch;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(16px, 3vw, 40px) 0 0;
  border-top: 1px solid var(--line-ink);
}
.proof div { padding: 24px 32px 0 0; }
.proof div + div { padding-left: 32px; border-left: 1px solid var(--line-ink); }
.proof dt {
  font-stretch: 116%;
  font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--on-ink);
}
.proof dd { margin: 10px 0 0; color: var(--on-ink-muted); font-size: 0.98rem; max-width: 30ch; }

/* Ellos ya eligieron */
.trust {
  padding-block: clamp(56px, 7vw, 104px);
  border-bottom: 1px solid var(--line);
}
.trust-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(24px, 3.4vw, 44px);
}
.trust-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

.names {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  row-gap: 4px;
  margin-left: -1.24em;
  clip-path: inset(-0.4em -0.4em -0.4em 1.24em);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 2.25rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.names li { display: inline-flex; align-items: baseline; }
.names li::before {
  content: "";
  flex: none;
  align-self: center;
  width: 0.24em;
  height: 0.24em;
  margin-inline: 0.5em;
  background: var(--sky);
  border-radius: 0 50% 50% 50%;
  transform: rotate(45deg);
}
.names-more { font-size: 0.62em; font-weight: 600; font-stretch: 100%; letter-spacing: 0; }
.names-more a { color: var(--blue); text-decoration: none; }
.names-more a:hover { text-decoration: underline; }

/* Carrusel de logos */
.logos {
  margin-top: clamp(40px, 5vw, 64px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos-track {
  display: flex;
  width: max-content;
  animation: logos-run 90s linear infinite;
}
.logos:hover .logos-track,
.logos:focus-within .logos-track { animation-play-state: paused; }
.logos-row {
  list-style: none;
  display: flex;
  gap: clamp(12px, 1.6vw, 20px);
  margin: 0;
  padding: 0 clamp(12px, 1.6vw, 20px) 0 0;
}
.logos-row li {
  flex: none;
  width: clamp(104px, 11vw, 148px);
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.logos-row img { display: block; width: 100%; height: 100%; object-fit: contain; }
@keyframes logos-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logos {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--edge);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .logos-track { animation: none; padding-inline: var(--edge); }
  .logos-row[aria-hidden="true"] { display: none; }
  .logos-row li { scroll-snap-align: start; }
}

/* Sections */
.section { padding-block: clamp(88px, 11vw, 160px); }
.section-mist { background: var(--mist); }

.section-head {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.75rem); }
.section-head p { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }

/* Casos */
.case { margin: 0; }
.case figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
}
.case img { width: 100%; height: 100%; object-fit: cover; }
.case h3 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.case p { color: var(--muted); font-size: 1.1rem; max-width: 46ch; }
.case .meta,
.meta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: none;
}

.case-wide figure { aspect-ratio: 21 / 9; }
.case-wide img { object-position: 50% 40%; }
.case-body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 16px 48px;
  align-items: baseline;
  padding-top: clamp(24px, 3vw, 36px);
}
.case-wide h3 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
.case-body > div { display: grid; gap: 12px; }
.case-body p:not(.meta) { font-size: 1.25rem; color: var(--ink); }

.case-pair {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-top: clamp(72px, 9vw, 128px);
}
.case-pair .case figure { aspect-ratio: 4 / 3; }
.case-pair .case figure.portrait { aspect-ratio: 3 / 4; }
.case-pair h3 { margin-top: 24px; }
.case-pair p { margin-top: 10px; }
.case-pair .meta { margin-top: 14px; }

.case-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-top: clamp(72px, 9vw, 128px);
}
.case-split figure { aspect-ratio: 4 / 3; }
.case-text { display: grid; gap: 14px; justify-items: start; }
.case-text .link-arrow { margin-top: 8px; }

.more-clients {
  margin-top: clamp(72px, 9vw, 128px);
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}
.more-clients h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin-bottom: 20px; }
.more-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 3;
  column-gap: 48px;
}
.more-list li {
  break-inside: avoid;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-stretch: 108%;
  font-size: 1.1rem;
}

.cta-band {
  margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(32px, 5vw, 64px);
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
}
.cta-band h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); max-width: 18ch; }

/* Qué hacemos */
.services {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.services-aside {
  position: sticky;
  top: calc(var(--header) + 40px);
  display: grid;
  gap: 18px;
  justify-items: start;
}
.services-aside h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.services-aside p { color: var(--muted); font-size: 1.1rem; max-width: 40ch; }
.services-aside .btn { margin-top: 10px; }

.systems {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}
.systems li {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 12px 40px;
  padding-block: clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.systems h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--ink); }
.systems p { color: var(--muted); max-width: 56ch; font-size: 1.06rem; }
.systems p strong { color: var(--ink); font-weight: 600; }

.how {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid;
  gap: 28px;
}
.how h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.how h3 span { color: var(--blue); }
.how-intro { color: var(--muted); margin-top: 14px; max-width: 48ch; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 16px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.steps li:first-child { border-top: 1px solid var(--line); }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  font-stretch: 116%;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.steps strong { font-weight: 700; font-size: 1.1rem; }
.steps span { color: var(--muted); }

.gear {
  margin: clamp(48px, 6vw, 72px) 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  border-top: 2px solid var(--ink);
}
.gear div { padding-block: 20px; border-bottom: 1px solid var(--line); }
.gear dt {
  font-stretch: 116%;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.gear dd { margin: 0; color: var(--muted); font-size: 0.98rem; max-width: 34ch; }

/* Sectores */
.strip-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.strip-head .section-head { margin-bottom: 0; }
.strip-nav { display: flex; gap: 8px; flex: none; }
.strip-nav button {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.strip-nav button:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.strip-nav button:disabled { opacity: 0.35; cursor: default; }

.strip {
  list-style: none;
  margin: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(272px, 30vw, 380px);
  gap: clamp(16px, 2vw, 24px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 4px var(--edge) 24px;
  scroll-padding-inline: var(--edge);
  scrollbar-width: thin;
  scrollbar-color: var(--blue) var(--line);
}
.strip > li { scroll-snap-align: start; }

.sector {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.sector figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.sector img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.sector:hover img { transform: scale(1.04); }
.sector-body { display: grid; gap: 12px; padding: 22px 22px 24px; flex: 1; align-content: start; justify-items: start; }
.sector h3 { font-size: 1.35rem; line-height: 1.12; }
.sector p { color: var(--muted); font-size: 1rem; }
.sector .case-line {
  justify-self: stretch;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 600;
}
.sector .case-line span { display: block; font-weight: 400; color: var(--muted); }

/* Terrazas */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.feature-photo { margin: 0; position: relative; }
.feature-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.feature-copy { display: grid; gap: 22px; }
.feature-copy h2 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
.feature-copy > p { font-size: 1.15rem; color: var(--muted); max-width: 50ch; }
.feature-copy .actions { margin-top: 8px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  font-size: 1.05rem;
}
.ticks .icon { color: var(--blue); margin-top: 4px; width: 20px; height: 20px; }

/* Videos */
.films { background: var(--ink); color: var(--on-ink); }
.films .section-head p { color: var(--on-ink-muted); }
.films-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: auto auto;
  gap: clamp(12px, 1.6vw, 20px);
}
.film {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: radial-gradient(120% 90% at 30% 20%, var(--ink-2), #070d24);
}
.film-main { grid-row: 1 / span 2; aspect-ratio: auto; min-height: 100%; }
.film video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(to bottom, rgba(7, 13, 36, 0), rgba(7, 13, 36, 0.86));
  pointer-events: none;
}
.film figcaption {
  position: absolute;
  left: clamp(16px, 2vw, 28px);
  right: 76px;
  bottom: clamp(16px, 2vw, 24px);
  z-index: 1;
  display: grid;
  gap: 6px;
}
.film h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.film-main h3 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.film figcaption p { color: var(--on-ink-soft); font-size: 1rem; line-height: 1.45; max-width: 40ch; }
.film-toggle {
  position: absolute;
  right: clamp(12px, 1.6vw, 20px);
  bottom: clamp(12px, 1.6vw, 20px);
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1.5px solid rgba(244, 248, 251, 0.5);
  border-radius: 50%;
  background: rgba(7, 13, 36, 0.45);
  color: var(--on-ink);
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.film-toggle:hover { background: rgba(7, 13, 36, 0.7); border-color: var(--on-ink); }
.film-toggle .icon { width: 20px; height: 20px; }
.film:not(.is-playing) .film-toggle .icon { fill: currentColor; margin-left: 2px; }
.films-cta {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 28px;
  border-top: 1px solid var(--line-ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.films-cta p { font-size: 1.2rem; color: var(--on-ink-soft); }
.films-cta strong { color: var(--on-ink); font-weight: 700; }
.films ::selection { background: var(--sky); color: var(--ink); }

/* Bodegas */
.cellar { background: var(--ink); color: var(--on-ink); }
.cellar .section-head p { color: var(--on-ink-muted); }
.cellar .section-head p + p { margin-top: -6px; }
.cellar-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.cellar-photo { margin: 0; }
.cellar-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

.calc {
  margin-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line-ink);
  padding-top: 28px;
}
.calc-title { color: var(--on-ink-muted); margin-bottom: 20px; }
.calc-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 8px clamp(10px, 2vw, 20px);
  font-variant-numeric: tabular-nums;
}
.calc-row + .calc-row { margin-top: 14px; }
.calc .n {
  display: inline-flex;
  flex-direction: column;
  font-stretch: 116%;
  font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.calc .n small { font-size: 0.875rem; font-weight: 500; font-stretch: 100%; line-height: 1.3; color: var(--on-ink-muted); margin-top: 6px; max-width: 12ch; letter-spacing: 0; }
.calc .op { color: var(--sky); font-weight: 700; font-size: 1.4rem; }
.calc .result { color: var(--sky); }
.calc-note { margin-top: 18px; color: var(--on-ink-muted); font-size: 0.98rem; max-width: 52ch; }

.cellar-copy { display: grid; gap: 28px; }
.cellar-copy .ticks .icon { color: var(--sky); }
.cellar-copy .ticks li { color: var(--on-ink); }
.cellar-gear { display: grid; gap: 18px; padding-top: 24px; border-top: 1px solid var(--line-ink); }
.cellar-gear p { color: var(--on-ink-muted); }
.cellar-gear strong { color: var(--on-ink); font-weight: 700; }

/* Contacto */
.contact { background: var(--blue); color: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.contact h2 { font-size: clamp(2.3rem, 5vw, 4.25rem); max-width: none; }
.contact .lede { margin-top: 24px; font-size: 1.2rem; color: var(--on-blue-muted); max-width: 46ch; }
.contact .lede:first-of-type { color: #fff; font-weight: 600; }
.contact .lede + .lede { margin-top: 12px; }
.contact .actions { margin-top: 36px; }
.contact .btn-outline-ink { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.contact .btn-outline-ink:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.big-phone {
  display: inline-block;
  margin-top: 32px;
  font-stretch: 120%;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.big-phone:hover { text-decoration: underline; text-decoration-thickness: 2px; }

.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.35); }
.contact-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  padding-block: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  align-items: start;
}
.contact-list .icon { margin-top: 3px; width: 20px; height: 20px; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-list span { display: block; color: var(--on-blue-muted); font-size: 0.95rem; }
.contact :focus-visible { outline-color: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding-block: 56px 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}
.site-footer .wordmark { font-size: 1.6rem; }
.footer-claim { margin-top: 14px; max-width: 58ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--on-ink); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-base {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-ink);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}

/* Barra fija del teléfono */
.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 1100px) {
  .header-phone { display: none; }
}

@media (max-width: 1080px) {
  .systems li { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 900px) {
  .services, .feature, .cellar-grid, .contact-grid, .case-pair, .case-split, .case-body { grid-template-columns: 1fr; }
  .services-aside { position: static; }
  .case-wide figure { aspect-ratio: 3 / 2; }
  .case-pair { align-items: start; }
  .case-pair .case figure.portrait { aspect-ratio: 4 / 5; }
  .more-list { columns: 2; }
  .feature-photo img { aspect-ratio: 4 / 3; }
  .contact-grid { align-items: start; }
  .films-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .film-main { grid-row: auto; aspect-ratio: 4 / 3; min-height: 0; }
}

@media (min-width: 761px) {
  .hero h1 em { white-space: nowrap; }
}

@media (max-width: 760px) {
  :root { --header: 104px; }
  body { padding-bottom: 80px; }
  .header-row { flex-wrap: wrap; gap: 0; min-height: 0; padding-top: 12px; }
  .wordmark { font-size: 1.25rem; }
  .header-cta { display: none; }
  .nav {
    order: 3;
    width: calc(100% + 2 * var(--gutter));
    margin: 8px calc(-1 * var(--gutter)) 0;
    padding: 0 var(--gutter) 6px;
    overflow-x: auto;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { scroll-snap-align: start; padding: 10px 12px; }
  .nav a:first-child { padding-left: 0; }
  .nav a:last-child { margin-right: var(--gutter); }

  .hero { min-height: 0; }
  .hero-media img { object-position: 50% 40%; }
  .hero-media::after {
    background: linear-gradient(to bottom, rgba(11, 20, 51, 0.55) 0%, rgba(11, 20, 51, 0.86) 38%, rgba(11, 20, 51, 0.96) 100%);
  }
  .hero-media figcaption { right: var(--gutter); }
  .hero-inner { padding-block: 88px 40px; gap: 24px; }
  .proof { grid-template-columns: 1fr; margin-top: 8px; }
  .proof div,
  .proof div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line-ink); }
  .proof dt { font-size: 1.6rem; }

  .names { font-size: 1.3rem; }
  .more-list { columns: 1; }
  .cta-band { padding: 28px 20px; }
  .cta-band .actions { width: 100%; }
  .cta-band .btn { padding-inline: 14px; }

  .calc .n { font-size: 1.6rem; }
  .calc .op { font-size: 1.15rem; }
  .actions .btn { flex: 1 1 100%; }
  .strip-nav { display: none; }
  .strip { grid-auto-columns: min(82vw, 340px); }
  .gear { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--ink);
    border-top: 1px solid var(--line-ink);
  }
  .mobile-bar .btn { min-height: 50px; padding: 10px 12px; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
