/* ───────────────── tokens ───────────────── */
:root {
  --bg: #ffffff;
  --bg-2: #f7f9fa;
  --ink: #2a3232;
  --ink-2: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --line-2: #d1d5db;
  --teal: #19b8a8;
  --teal-h: #149184;
  --teal-text: #0e7f74;
  --teal-soft: #e6f7f5;
  --violet: #6c63ff;
  --violet-h: #574bdb;
  --violet-text: #4f46c9;
  --violet-soft: #eeedff;
  --amber: #f2a900;
  --amber-text: #8a5b00;
  --amber-soft: #fff4d6;
  --grad: linear-gradient(135deg, var(--teal), var(--violet));
  --r: 16px;
  --r-s: 10px;
  --shadow:
    0 8px 24px -12px rgba(42, 50, 50, 0.25),
    0 2px 6px -2px rgba(42, 50, 50, 0.12);
  --shadow-lg:
    0 24px 48px -24px rgba(42, 50, 50, 0.35),
    0 6px 14px -8px rgba(42, 50, 50, 0.14);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Sora", var(--font);
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 64px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection {
  background: var(--teal-soft);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}
a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 16px;
}
h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1em;
}
.lede {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 60ch;
}
.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.muted {
  color: var(--muted);
}
.wrap {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}
section {
  padding-block: clamp(72px, 9vw, 120px);
}
section + section {
  border-top: 1px solid var(--line);
}
.grad-word {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not (background-clip: text) {
  .grad-word {
    color: var(--teal-text);
  }
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.25s;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(108, 99, 255, 0.7);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -14px rgba(108, 99, 255, 0.8);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  background: var(--bg-2);
}
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: progress;
}
.link {
  font-weight: 600;
  color: var(--teal-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.link:hover {
  text-decoration: underline;
}
.link svg {
  width: 16px;
  height: 16px;
}

/* media placeholders (dummy) */
.media {
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(
    135deg,
    #eef1f2 0 14px,
    #f7f9fa 14px 28px
  );
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  min-height: 200px;
  color: var(--ink-2);
}
.media.bleed {
  border-radius: 0;
  border: 0;
}
.media .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 9px;
  line-height: 1.35;
  max-width: 36ch;
  backdrop-filter: blur(2px);
}
.media.photo {
  filter: saturate(0);
}
.media.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  pointer-events: none;
}
.media.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media.photo .tag {
  position: relative;
  z-index: 1;
}
.media.clip video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.step .media.clip {
  aspect-ratio: 16 / 9;
  min-height: 0;
}
.client .media.clip video {
  object-position: left top;
}
.media.clip .tag {
  position: relative;
  z-index: 1;
}

/* botón pausa/reproducir de videos en loop (WCAG 2.2.2) */
.vid-toggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: 600 14px/1 var(--font);
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.vid-toggle:hover {
  background: #fff;
}
.vid-toggle svg {
  width: 16px;
  height: 16px;
}
.vid-toggle .ic-pause,
.vid-toggle[aria-pressed="true"] .ic-play {
  display: block;
}
.vid-toggle .ic-play,
.vid-toggle[aria-pressed="true"] .ic-pause {
  display: none;
}

/* ───────────────── nav ───────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand img {
  display: block;
  height: 30px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 8px;
  align-items: center;
}
.nav-links > a,
.menu > summary {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-links > a:hover,
.menu > summary:hover {
  background: var(--bg-2);
}
.menu {
  position: relative;
}
.menu > summary::-webkit-details-marker {
  display: none;
}
.menu > summary svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}
.menu[open] > summary svg {
  transform: rotate(180deg);
}
.menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 8px;
}
.menu-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--r-s);
  text-decoration: none;
}
.menu-panel a:hover {
  background: var(--bg-2);
}
.menu-panel a strong {
  display: block;
  font-weight: 700;
}
.menu-panel a span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}
.nav-cta {
  margin-left: auto;
}
.nav-cta .btn {
  padding: 11px 18px;
  font-size: 15px;
}
.hamb {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.hamb svg {
  width: 20px;
  height: 20px;
}
.mobile-menu {
  display: none;
}

/* ───────────────── hero ───────────────── */
.hero {
  position: relative;
  padding-block: clamp(48px, 6vw, 80px) 0;
  border: 0;
}
.hero .wrap {
  padding-bottom: clamp(40px, 5vw, 64px);
}
/* la cifra de días es el elemento más grande de la página */
.days {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--ink);
  text-wrap: balance;
}
.days .pre,
.days .post {
  display: block;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-2);
}
.days .n {
  display: inline-block;
  font-size: clamp(112px, 16vw, 216px);
  line-height: 0.88;
  font-variant-numeric: tabular-nums;
  margin-top: 8px;
}
.days .unit {
  display: inline-block;
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-left: 0.18em;
  vertical-align: baseline;
}
.days .post {
  margin-top: 10px;
}
/* sin JS (o el último día del mes): una sola línea, mismo tamaño */
.days.is-static .n {
  display: none;
}
.days.is-static .pre,
.days.is-static .unit,
.days.is-static .post {
  display: inline;
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
.days.is-static .unit,
.days.is-static .post {
  margin-left: 0.24em;
}
.hero h1 {
  margin-top: clamp(28px, 3vw, 40px);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 24ch;
}
.hero .lede {
  margin-top: 18px;
  max-width: 52ch;
  color: var(--ink-2);
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 21px);
  letter-spacing: -0.01em;
  color: var(--teal-text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
  text-decoration-color: var(--teal);
  transition: color 0.25s, text-decoration-color 0.25s;
}
.hero-cta:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}
.hero-cta svg {
  width: 20px;
  height: 20px;
  transition: transform 0.35s var(--ease);
}
.hero-cta:hover svg {
  transform: translate(2px, -2px);
}
/* banda de video a sangre, sin velo */
.hero .band {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;
  min-height: 240px;
  max-height: 560px;
  overflow: hidden;
  background: var(--bg-2);
}
.hero .band video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

/* ───────────────── relato ───────────────── */
.story .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.steps {
  display: grid;
  gap: clamp(56px, 7vw, 96px);
}
.step {
  display: grid;
  gap: 18px;
}
.step .when {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.step .when b {
  color: var(--ink);
  font-weight: 500;
}
.step h3 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.step p {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0;
}
.step .media {
  min-height: 260px;
}
.step .ui {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ui-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.ui-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-2);
  display: inline-block;
}
.ui-bar i:first-child {
  background: #f3b5ae;
}
.ui-bar i:nth-child(2) {
  background: #f6d48b;
}
.ui-bar i:nth-child(3) {
  background: #b3e2c3;
}
.ui table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.ui th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.ui td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.ui tr:last-child td {
  border-bottom: 0;
}
.ui td.num {
  text-align: right;
  font-family: var(--mono);
  font-size: 13px;
}
.ui tr.hl td {
  background: var(--amber-soft);
}
.ui tr.ok td {
  background: var(--teal-soft);
}
.ui .total td {
  font-weight: 700;
  background: var(--bg-2);
}
.diff-old {
  color: var(--muted);
  text-decoration: line-through;
}
.diff-new {
  color: var(--teal-text);
  font-weight: 700;
}
.note {
  font-size: 14px;
  color: var(--muted);
}

.case {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.case-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.case-head .id {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.case-head .st {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--line);
  color: var(--ink-2);
  transition:
    background 0.4s,
    color 0.4s;
}
.case-head .st[data-tone="loss"] {
  background: var(--amber-soft);
  color: var(--amber-text);
}
.case-head .st[data-tone="assigned"] {
  background: var(--violet-soft);
  color: var(--violet-text);
}
.case-head .st[data-tone="done"] {
  background: var(--teal-soft);
  color: var(--teal-text);
}
.case-rows {
  display: grid;
}
.case-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  min-height: 56px;
}
.case-row:last-child {
  border-bottom: 0;
}
.case-row .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.case-row .v {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  transition:
    color 0.5s var(--ease),
    transform 0.6s var(--ease),
    opacity 0.6s var(--ease);
}
.case-row .v .empty {
  letter-spacing: 0.2em;
}
.case-row.on .v {
  color: var(--ink);
}
.case-row.on[data-tone="loss"] .v {
  color: var(--amber-text);
  font-weight: 700;
  font-size: 18px;
  font-family: var(--mono);
}
.case-row.on[data-tone="assigned"] .v {
  color: var(--violet-text);
  font-weight: 700;
}
.case-row.on[data-tone="done"] .v {
  color: var(--teal-text);
  font-weight: 700;
}
.case-row .v.enter {
  opacity: 0;
  transform: translateY(6px);
}
.case-foot {
  padding: 12px 20px;
  font-size: 12px;
  color: var(--muted);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.case-toggle {
  display: none;
}

/* ───────────────── soluciones ───────────────── */
.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.door {
  position: relative;
  display: grid;
  grid-template-rows: 260px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.door:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.door .media {
  border: 0;
  border-radius: 0;
  min-height: 0;
}
.door:hover .media.photo {
  filter: saturate(0) contrast(1.08);
}
.door-body {
  padding: 26px 28px 28px;
  display: grid;
  gap: 10px;
}
.door-body h3 {
  font-size: 26px;
  letter-spacing: -0.02em;
}
.door-body p {
  color: var(--ink-2);
  margin: 0;
}
.door-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.pill.teal {
  background: var(--teal-soft);
  border-color: transparent;
  color: var(--teal-text);
}
.pill.violet {
  background: var(--violet-soft);
  border-color: transparent;
  color: var(--violet-text);
}

/* ───────────────── 8,6% ───────────────── */
.stat {
  background: var(--bg-2);
}
.stat .wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.stat .big {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(88px, 14vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.stat p {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  max-width: 26ch;
  margin: 0 0 14px;
  font-weight: 600;
}
.stat .src {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ───────────────── industrias ───────────────── */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.ind {
  position: relative;
  display: grid;
  grid-template-rows: 280px auto;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid var(--line);
}
.ind:last-child {
  border-right: 0;
}
.ind .media {
  border: 0;
  border-radius: 0;
  min-height: 0;
}
.ind-body {
  padding: 22px 24px 26px;
  display: grid;
  gap: 8px;
  background: #fff;
}
.ind-body h3 {
  font-size: 22px;
}
.ind-body p {
  color: var(--ink-2);
  margin: 0;
  font-size: 16px;
}
.ind:hover .media.photo {
  filter: saturate(0) contrast(1.08);
}

/* ───────────────── cómo partimos ───────────────── */
.how .panorama {
  min-height: 320px;
  margin-top: 40px;
}
.weeks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.week .when {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.week h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.week p {
  color: var(--ink-2);
  margin: 0;
}
.systems {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  align-items: center;
}
.sys {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  font-size: 15px;
}
.sys img {
  height: 22px;
  width: auto;
  filter: saturate(0);
  opacity: 0.85;
}
.systems + p {
  margin-top: 16px;
  color: var(--ink-2);
}

/* ───────────────── prueba ───────────────── */
.client {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
}
.client .media {
  border: 0;
  border-radius: 0;
  min-height: 320px;
}
.client-body {
  padding: 32px;
  display: grid;
  gap: 10px;
  align-content: center;
}
.client-body .who {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-text);
  font-weight: 500;
}
.client-body h3 {
  font-size: 28px;
}
.client-body p {
  color: var(--ink-2);
  margin: 0;
}
.client-body .need {
  font-size: 13px;
  color: var(--amber-text);
  background: var(--amber-soft);
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  font-family: var(--mono);
}
.logos {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
}
.logos .lbl {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
.logos .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
}
.logos img {
  height: 26px;
  width: auto;
  filter: saturate(0);
  opacity: 0.7;
}
.logos .row.backing img {
  height: 34px;
}

/* ───────────────── objeciones ───────────────── */
.faq {
  max-width: 760px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 19px;
  font-family: var(--display);
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.35s var(--ease);
  color: var(--muted);
}
.faq details[open] summary svg {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 0 20px;
  color: var(--ink-2);
  margin: 0;
  max-width: 60ch;
}

/* ───────────────── cierre ───────────────── */
.close .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.close .side {
  display: grid;
  gap: 28px;
  align-content: start;
}
.close .side .media {
  min-height: 220px;
  order: 2;
}
.close-copy {
  padding: 0;
}
.close-copy h2 {
  font-size: clamp(30px, 3.6vw, 44px);
}
.close-copy .lede {
  margin-top: 16px;
}
.close-copy .alt {
  margin-top: 28px;
  font-size: 15px;
  color: var(--ink-2);
}
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}
.form h3 {
  font-size: 22px;
  margin-bottom: 18px;
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-weight: 600;
  font-size: 15px;
}
.field label small {
  color: var(--muted);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-s);
  background: #fff;
  color: var(--ink);
  width: 100%;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  caret-color: var(--violet);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-soft);
}
.field input::placeholder {
  color: #8b9196;
}
.field [aria-invalid="true"] {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px #fbe4e1;
}
.field .err {
  display: none;
  font-size: 13px;
  color: #a93226;
}
.field [aria-invalid="true"] ~ .err {
  display: block;
}
.choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.choice label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-s);
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
}
.choice label:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal-soft);
}
.choice input {
  accent-color: var(--teal);
  width: 18px;
  height: 18px;
  margin: 0;
}
.form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}
.form .fine {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
  text-align: center;
}
.form .ok {
  display: none;
  padding: 12px 0;
}
.form.sent .ok {
  display: block;
}
.form.sent .fields {
  display: none;
}
.live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ───────────────── footer ───────────────── */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  font-size: 14px;
  color: var(--muted);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* mobile CTA */
.mcta {
  display: none;
}

/* ───────────────── responsive ───────────────── */
@media (max-width: 1024px) {
  .story .wrap {
    grid-template-columns: 1fr;
  }
  .case {
    position: sticky;
    top: var(--nav-h);
    z-index: 30;
    border-radius: 0 0 var(--r) var(--r);
    box-shadow: var(--shadow);
    margin-inline: -24px;
    order: -1;
  }
  .story .wrap > div {
    display: contents;
  }
  .story .wrap > div > h2,
  .story .wrap > div > .lede {
    order: -2;
  }
  .case:not(.open) .case-rows .case-row:not(.active) {
    display: none;
  }
  .case:not(.open) .case-foot {
    display: none;
  }
  .case-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 0;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--violet-text);
    cursor: pointer;
    padding: 0;
  }
  .case-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--ease);
  }
  .case.open .case-toggle svg {
    transform: rotate(180deg);
  }
  .steps {
    margin-top: 24px;
  }
  .ind-grid {
    grid-template-columns: 1fr;
    border: 0;
    gap: 16px;
    overflow: visible;
  }
  .ind {
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    grid-template-rows: 200px auto;
  }
  .weeks {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .client {
    grid-template-columns: 1fr;
  }
  .client .media {
    min-height: 220px;
  }
  .logos {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
@media (max-width: 820px) {
  .nav .wrap {
    gap: 12px;
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .hamb {
    display: inline-flex;
  }
  .mobile-menu[open] {
    display: block;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: #fff;
    z-index: 49;
    padding: 24px;
    overflow: auto;
  }
  .mobile-menu summary {
    list-style: none;
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .mobile-menu a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    font-family: var(--display);
  }
  .mobile-menu a span {
    display: block;
    font-family: var(--font);
    font-weight: 500;
    font-size: 15px;
    color: var(--muted);
    margin-top: 4px;
  }
  .mobile-menu .sub a {
    font-size: 17px;
    padding: 12px 0 12px 16px;
    border-bottom: 0;
  }
  .mobile-menu .btn {
    margin-top: 24px;
    width: 100%;
    justify-content: center;
  }
  .wrap {
    width: min(1200px, calc(100% - 32px));
  }
  .case {
    margin-inline: -16px;
  }
  .hero {
    padding-top: 40px;
  }
  .hero .wrap {
    padding-bottom: 40px;
  }
  .days .n {
    font-size: clamp(96px, 30vw, 132px);
  }
  .days .unit {
    font-size: clamp(30px, 9vw, 40px);
  }
  .hero h1 {
    margin-top: 28px;
    font-size: clamp(24px, 6.4vw, 28px);
  }
  .hero .band {
    aspect-ratio: 4 / 3;
    min-height: 220px;
    max-height: 420px;
  }
  .doors {
    grid-template-columns: 1fr;
  }
  .door {
    grid-template-rows: 200px auto;
  }
  .stat .wrap {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .close .wrap {
    grid-template-columns: 1fr;
  }
  .close .side .media {
    min-height: 160px;
  }
  .form {
    padding: 20px;
  }
  .choice {
    grid-template-columns: 1fr;
  }
  .mcta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    transition: transform 0.4s var(--ease);
  }
  .mcta.hide {
    transform: translateY(110%);
  }
  .mcta .btn {
    width: 100%;
    justify-content: center;
  }
  body {
    padding-bottom: 72px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
.form .hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form .turnstile.is-bad .err {
  display: block;
}
.form .live:not(:empty) {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
  margin-top: 12px;
  font-size: 14px;
  color: #a93226;
  text-align: center;
}
.form.sent .live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: 0;
}
