/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, h1, h2, h3, p, ol, ul, dl, dd, figure, pre, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Tokens */
:root {
  color-scheme: dark;
  --bg: #07252E;
  --surface: #0B2E38;
  --surface-2: #103A46;
  --ink: #F5F7F4;
  --muted: #B3C8CB;
  --accent: #5CE6C5;
  --accent-hover: #7BEDD2;
  --on-accent: #07252E;
  --deep: #08705F;
  --mist: #F5F7F4;
  --mist-2: #E6ECE9;
  --mist-muted: #3F5A61;
  --foam-input: #A4F2DF;

  --font-display: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Source Serif 4", Georgia, "Times New Roman", serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.375rem, 1.2rem + 5vw, 6.5rem);
  --step-sub: clamp(1.75rem, 3vw, 2.75rem);
  --step-display: clamp(2.25rem, 12vw, 9.25rem);

  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(6rem, 13vw, 12rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

/* Base */
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.55;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--margin); top: -5rem; z-index: 100;
  padding: .75rem 1rem;
  background: var(--accent); color: var(--on-accent); font-weight: 600;
}
.skip-link:focus { top: .75rem; }

.head { font-size: var(--step-head); line-height: 1; letter-spacing: -.035em; }
.lead { font-size: var(--step-lead); line-height: 1.35; }

/* Botones: rectos, de un solo color */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .625rem 1.25rem;
  font-family: var(--font-display); font-size: var(--step-small); font-weight: 700;
  text-align: center; text-decoration: none; border: 0; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--ghost { background: var(--surface-2); color: var(--ink); }
.btn--dark { background: var(--bg); color: var(--ink); }
.btn--dark:disabled { opacity: .7; cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--accent-hover); }
  .btn--ghost:hover { background: var(--accent); color: var(--on-accent); }
  .btn--dark:hover { background: var(--surface-2); }
}

/* Cabecera */
.header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 64px; padding-inline: var(--margin);
  background: var(--bg);
}
.header__logo { display: inline-flex; padding-block: .5rem; }
.header__logo img { width: 146px; }
.header__toggle {
  min-width: 44px; min-height: 44px; padding: 0 .25rem;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-size: var(--step-small); font-weight: 700;
}
.nav {
  position: absolute; inset: 100% 0 auto;
  display: none; flex-direction: column; gap: .25rem;
  padding: .5rem var(--margin) 1.25rem;
  background: var(--bg);
  box-shadow: 0 16px 24px rgba(1, 15, 20, .35); /* menú flotante; taste-skill-ignore */
  font-family: var(--font-display); font-size: var(--step-small); font-weight: 700;
}
.nav.is-open { display: flex; }
.nav a:not(.btn) { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: .25em; }

/* Hero: la frase es la composición */
.hero { display: flex; flex-direction: column; padding-top: clamp(1.5rem, 4vw, 3rem); }
.sentence {
  padding-inline: var(--margin);
  font-size: var(--step-display); line-height: .94; letter-spacing: -.035em;
  text-transform: uppercase;
}
.sentence__line { display: block; }
/* El relleno superior deja sitio al acento de la Á */
.mask { display: block; overflow: clip; padding-block: .24em .06em; margin-block: -.24em -.06em; }
.mask > span { display: block; white-space: nowrap; }

/* Los corchetes del logo abren una ventana dentro de la frase */
.slot { display: flex; align-items: stretch; gap: .08em; height: .72em; margin-block: .14em; letter-spacing: 0; }
.slot__b { flex: none; width: .3em; height: 100%; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.slot__frame { position: relative; flex: 1; overflow: clip; background: var(--surface-2); }
.slot__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; opacity: 0; transition: opacity 600ms ease; }
.slot__frame img.is-on { opacity: 1; }
.slot__frame img:only-child { opacity: 1; }
.slot__frame--mark { display: flex; align-items: center; justify-content: center; background: var(--bg); }
.slot__frame--mark img { position: static; width: 70%; height: auto; object-fit: contain; opacity: 1; }

.hero__row { display: grid; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.5rem) var(--margin); }
.hero__lead { max-width: 34em; }
.hero__cta { justify-self: stretch; }

.band { position: relative; flex: 1; aspect-ratio: 16 / 10; overflow: clip; background: var(--surface); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: 0; transition: opacity 600ms ease; }
.band img.is-on { opacity: 1; }
.band__caption {
  position: absolute; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 1rem;
  padding: .5rem var(--margin) .5rem 1rem;
  background: var(--bg);
  font-family: var(--font-display); font-size: var(--step-small); font-weight: 700;
}
.band__pause {
  min-height: 44px; padding: 0 .75rem;
  background: var(--surface-2); border: 0; cursor: pointer;
  font: inherit; transition: background-color var(--t-hover) ease;
}
.band__pause:hover { background: var(--deep); }

/* Servicios: campos de color */
.field-c {
  display: grid; align-content: start; gap: 1.25rem;
  padding: 3rem var(--margin);
}
.field-c--mist { background: var(--mist); color: var(--bg); }
.field-c--foam { background: var(--accent); color: var(--bg); }
.field-c--deep { background: var(--deep); color: var(--ink); }
.field-c--night { background: var(--surface-2); color: var(--ink); }
.field-c__text { max-width: 30ch; font-size: var(--step-lead); line-height: 1.35; }
.phrase { order: -1; font-size: var(--step-display); line-height: .94; letter-spacing: -.04em; }
.slot--small { display: inline-flex; width: 2.5em; margin-block: 0; vertical-align: -.02em; }
.field-c--mist .slot__b, .field-c--foam .slot__b { stroke: var(--bg); }

/* Proyectos */
.work { padding-block: var(--section); overflow: clip; }
.work__title { padding-inline: var(--margin); margin-bottom: clamp(3rem, 6vw, 5rem); }
.case { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.case + .case { margin-top: 5.5rem; }
.case__big { aspect-ratio: 16 / 10; overflow: clip; background: var(--surface); }
.case__big img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.case__side { display: grid; gap: 1rem; padding-inline: var(--margin); align-content: end; }
.case__small { display: none; }
.case__name { font-size: var(--step-sub); line-height: 1; letter-spacing: -.03em; }
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: .2em; }
.link:hover { color: var(--accent); }

/* Proceso: una barra grande */
.process { padding: var(--section) var(--margin); background: var(--surface); }
.bar { display: grid; gap: 6px; margin-top: 2.5rem; }
.bar__seg {
  display: flex; align-items: flex-start; min-height: 6rem; padding: 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-lead); letter-spacing: -.02em;
}
.bar__part { display: grid; gap: .75rem; padding-bottom: 1.5rem; }
.bar__part--1 .bar__seg { background: var(--accent); color: var(--bg); min-height: 4.5rem; }
.bar__part--2 .bar__seg { background: var(--mist); color: var(--bg); min-height: 6rem; }
.bar__part--3 .bar__seg { background: var(--deep); color: var(--ink); min-height: 9rem; }
.bar__part--4 .bar__seg { background: var(--bg); color: var(--ink); min-height: 4.5rem; }

/* Qué incluye */
.plans { padding: var(--section) var(--margin); }
.plans__lead { max-width: 34em; margin-top: 1.25rem; }
.plans__wide { display: none; margin-top: clamp(2.5rem, 5vw, 4rem); }
.plans__narrow { display: grid; gap: 4rem; margin-top: 2.5rem; }
.plan { display: grid; gap: .75rem; padding: 1.5rem 1.25rem; background: var(--surface); }
.plan__name { font-size: var(--step-sub); line-height: 1; letter-spacing: -.03em; }
.plan__price { color: var(--muted); }
.plan dl { display: grid; gap: .25rem; }
.plan dt { margin-top: .75rem; color: var(--muted); font-size: var(--step-small); }
.plan .btn { margin-top: 1rem; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 1.25rem 1.25rem 1.25rem 0; text-align: left; vertical-align: top; font-weight: 400; }
.table thead th { font-family: var(--font-display); font-weight: 700; font-size: var(--step-lead); letter-spacing: -.02em; line-height: 1.1; }
.table thead th span { display: block; margin-top: .375rem; font-family: var(--font-text); font-weight: 400; font-size: var(--step-body); letter-spacing: 0; color: var(--muted); }
.table tbody th { font-family: var(--font-display); font-weight: 700; font-size: var(--step-small); }
.table tbody tr:nth-child(odd):not(.table__foot) { background: var(--surface); }
.table tbody th, .table thead td, .table__foot td:first-child { padding-left: 1rem; }

/* Preguntas */
.faq { padding: 0 var(--margin) var(--section); }
.faq__title { font-size: var(--step-head); line-height: 1; letter-spacing: -.035em; }
.faq__list { display: grid; gap: .25rem; margin-top: clamp(2.5rem, 6vw, 5rem); }
.q { margin-inline: calc(var(--margin) * -1); padding: .75rem var(--margin); transition: background-color var(--t-ui) ease; }
.q[open] { background: var(--surface); }
.q summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 44px; cursor: pointer; list-style: none;
  font-size: var(--step-lead); line-height: 1.2;
}
.q summary::-webkit-details-marker { display: none; }
.q summary::after {
  content: ""; flex: none; width: .55em; height: .55em; margin-right: .25em;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translate(-15%, -15%);
  transition: transform var(--t-ui) var(--ease-out);
}
.q[open] summary::after { transform: rotate(-135deg) translate(-15%, -15%); }
.q summary:hover { color: var(--accent); }
.q p { max-width: 48ch; padding-block: .75rem .5rem; }

/* Contacto: cupón para recortar */
.contact { padding: 0 var(--margin) var(--section); }
.coupon { position: relative; display: grid; background: var(--accent); color: var(--bg); }
.coupon__left { display: grid; align-content: space-between; gap: 1.25rem; padding: 1.75rem 1.25rem 2rem; }
.coupon__title { font-size: var(--step-sub); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; }
.coupon__form { position: relative; display: grid; gap: .875rem; padding: 2rem 1.25rem 1.75rem; border-top: 5px dotted var(--bg); }
.coupon__form::before, .coupon__form::after {
  content: ""; position: absolute; top: -17px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg);
}
.coupon__form::before { left: -14px; }
.coupon__form::after { right: -14px; }
.form__trap { position: absolute; left: -9999px; }
.field { display: grid; gap: .25rem; min-width: 0; }
.field label { font-family: var(--font-display); font-size: var(--step-small); font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .625rem .875rem;
  background: var(--foam-input); color: var(--bg); border: 2px solid transparent; border-radius: 0;
  font-size: 1rem;
}
.field select option { background: var(--mist); color: var(--bg); }
.field textarea { resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { background: #BBF6E8; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible,
.coupon :focus-visible { outline-color: var(--bg); }
.field [aria-invalid="true"] { border-color: #8A1C07; }
.coupon__form .btn { width: 100%; min-height: 56px; }
.form__status { min-height: 1.5em; font-size: var(--step-small); font-weight: 600; }
.form__status.is-error { color: #6E1605; }

/* Pie: el nombre recortado */
.footer { padding: clamp(3rem, 7vw, 5.5rem) var(--margin) clamp(1.25rem, 2.5vw, 2rem); background: var(--mist); color: var(--bg); }
.footer :focus-visible { outline-color: var(--bg); }
.footer__top { display: grid; gap: 2rem; }
.footer__invite { display: grid; gap: 1.5rem; justify-items: start; }
.footer__invite .head { max-width: 12em; }
.footer__whatsapp { display: flex; flex-wrap: wrap; gap: .75rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; font-family: var(--font-display); font-size: var(--step-small); font-weight: 700; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer__nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer__name { margin-top: clamp(3rem, 7vw, 5.5rem); }
.footer__name img { width: 100%; }
.footer__legal { margin-top: clamp(1.25rem, 2.5vw, 2rem); color: var(--mist-muted); font-size: var(--step-small); }

@media (min-width: 768px) {
  :root { --step-display: clamp(4rem, 9.2vw, 9.25rem); }
  .header__toggle { display: none; }
  .nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 1.25rem; padding: 0; background: none; box-shadow: none; } /* taste-skill-ignore */
  .nav__cta { margin-left: .5rem; }
  .sentence__line:first-child { display: flex; align-items: center; gap: .14em; }
  .sentence__line:first-child .mask { flex: none; }
  .slot { flex: 1; min-width: 0; margin-block: 0; }
  .hero__row { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
  .hero__lead { grid-column: 1 / 8; }
  .hero__cta { grid-column: 10 / 13; }
  .band { aspect-ratio: auto; min-height: 44svh; }
  .case__small { display: block; order: 3; width: 56%; justify-self: end; margin-top: .5rem; }
  .field-c { align-content: space-between; gap: 2rem; min-height: 76svh; padding-block: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .field-c__text { grid-column: 7 / 13; max-width: 30ch; }
  .phrase { order: 0; grid-column: 1 / 13; }
  .field-c--flip .field-c__text { grid-column: 2 / 7; justify-self: start; }
  .field-c--flip .phrase { text-align: right; }
  .bar { grid-template-columns: var(--bar, 1.5fr 2fr 3fr 1.6fr); }
  .bar__part { display: block; padding: 0; }
  .bar__seg { min-height: 34vh !important; padding: 1.25rem; } /* taste-skill-ignore */
  .bar__part p { margin-top: 1rem; max-width: 22ch; }
  .process .head { margin-bottom: 4rem; }
  .bar { margin-top: 0; }
  .footer__top { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .footer__invite { grid-column: 1 / 8; }
  .footer__nav { grid-column: 10 / 13; display: grid; align-content: start; justify-self: end; }
}

@media (min-width: 1024px) {

  .case { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
  .case + .case { margin-top: clamp(7rem, 11vw, 9rem); }
  .case__big { grid-column: 1 / 8; width: auto; aspect-ratio: auto; height: var(--h, 80svh); }
  .case--b { --h: 62svh; }
  .case--c { --h: 90svh; }
  .case--d { --h: 70svh; }
  .case__side { grid-column: 9 / 13; padding-inline: 0 var(--margin); }
  .case__small { order: 0; width: 100%; margin-top: 0; }
  .case__name { margin-top: .75rem; }

  .plans__wide { display: block; }
  .plans__narrow { display: none; }

  .faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .faq__title { grid-column: 1 / 13; font-size: 5.5vw; }
  .faq__list { grid-column: 5 / 13; }
  .q { margin-inline: -1.5rem; padding: .75rem 1.5rem; }

  .contact { padding-inline: calc(var(--margin) + (100vw - 2 * var(--margin)) / 12); }
  .coupon { grid-template-columns: 46fr 54fr; }
  .coupon__left { padding: 3rem; align-content: center; }
  .coupon__form { padding: 3rem; border-top: 0; border-left: 5px dotted var(--bg); }
  .coupon__form::before { top: -14px; left: -16px; }
  .coupon__form::after { top: auto; right: auto; bottom: -14px; left: -16px; }
}

@media (min-width: 1200px) {
  .coupon__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coupon__form .field--full, .coupon__form .btn, .coupon__form .form__status { grid-column: 1 / -1; }
}

/* Dirección audaz: peso máximo, sombras duras y la onda del logo como firma */
main { overflow-x: clip; }
h1, h2, .sentence, .phrase, .coupon__title, .faq__title { font-weight: 900; }
.head, .phrase, .faq__title, .case__name, .plan__name { text-transform: uppercase; }
.head, .faq__title { line-height: .95; letter-spacing: -.045em; }
.sentence { letter-spacing: -.05em; }
.phrase { letter-spacing: -.05em; }

.header { border-bottom: 2px solid var(--accent); }
.nav a:not(.btn):hover { color: var(--accent); text-decoration: none; }

/* Botones con sombra dura: se levantan al pasar y se hunden al pulsar */
.btn { min-height: 52px; padding-inline: 1.5rem; font-weight: 900; font-size: .9375rem; text-transform: uppercase; letter-spacing: .02em; transition: transform var(--t-press) var(--ease-out), box-shadow var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.btn--primary, .btn--dark { --shadow: 6px; --shadow-c: var(--ink); box-shadow: var(--shadow) var(--shadow) 0 var(--shadow-c); }
.btn--primary::after { content: "→"; margin-left: .6em; transition: transform var(--t-hover) var(--ease-out); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--shadow-c, transparent); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--accent); }
.nav__cta { --shadow: 4px; min-height: 44px; padding-inline: 1rem; font-size: .8125rem; }
.coupon__form .btn { --shadow: 0px; }
.footer .btn--dark { --shadow-c: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover, .btn--dark:hover { transform: translate(-2px, -2px); box-shadow: calc(var(--shadow) + 2px) calc(var(--shadow) + 2px) 0 var(--shadow-c); }
  .btn--primary:hover::after { transform: translateX(4px); }
  .btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--accent); }
}

/* Hero: segunda línea en neón, con la onda del logo */
.sentence__line--accent { color: var(--accent); }
.wave { display: block; width: 100%; height: .32em; margin-top: .12em; overflow: visible; }
.wave path { stroke: var(--accent); stroke-width: clamp(5px, 1vw, 14px); stroke-linecap: round; vector-effect: non-scaling-stroke; }
.band__caption { background: var(--accent); color: var(--on-accent); }
.band__pause { background: var(--bg); color: var(--ink); }
.band__pause:hover { background: var(--surface-2); }

/* Cinta entre el hero y los servicios */
.ticker { position: relative; z-index: 2; overflow: clip; margin-block: -.5rem; padding-block: .75rem; background: var(--accent); color: var(--on-accent); transform: rotate(-1.2deg) scale(1.03); }
.ticker__track { display: flex; width: max-content; }
.ticker p { flex: none; padding-right: .4em; font-family: var(--font-display); font-size: clamp(1.375rem, 3.4vw, 3rem); font-weight: 900; line-height: 1.1; letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; }
.ticker i { padding-inline: .15em; font-style: normal; color: var(--deep); }

/* Servicios */
.field-c { padding-block: 4rem; }
.slot__frame img { transition: opacity 600ms ease, transform 500ms var(--ease-out); }

/* Proyectos: sombra de neón y composición alterna */
.case__big { box-shadow: 0 14px 0 var(--accent); }
.case__big img { transition: transform 700ms var(--ease-out), clip-path 1000ms var(--ease-in-out); }
.case__name { font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem); font-weight: 900; line-height: .95; letter-spacing: -.04em; }
.case__small { outline: 2px solid var(--accent); outline-offset: 4px; }
.link { font-family: var(--font-display); font-size: .9375rem; font-weight: 900; text-transform: uppercase; color: var(--accent); }
.link::after { content: "→"; margin-left: .5em; }
.link:hover { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .case:hover .case__big img, .field-c:hover .slot__frame:not(.slot__frame--mark) img { transform: scale(1.05); }
}

/* Proceso: los pasos llevan su número porque el orden importa */
.bar { counter-reset: paso; }
.bar__part { counter-increment: paso; }
.bar__seg { flex-direction: column; justify-content: space-between; gap: 1rem; font-weight: 900; font-size: clamp(1.25rem, .6rem + 1.6vw, 2.25rem); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; }
.bar__seg::before { content: counter(paso, decimal-leading-zero); font-size: clamp(2.5rem, 1.5rem + 4vw, 6rem); line-height: .85; letter-spacing: -.05em; }
.bar__part--4 .bar__seg { box-shadow: inset 0 0 0 3px var(--accent); }

/* Qué incluye */
.table thead th { font-size: clamp(1.25rem, 1rem + 1vw, 2rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; border-bottom: 4px solid var(--accent); }
.table thead td { border-bottom: 4px solid var(--accent); }
.plan { box-shadow: inset 4px 0 0 var(--accent); }
.plan__name { font-weight: 900; }

/* Preguntas */
.q { border-top: 2px solid var(--surface-2); }
.q summary { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; }
.q[open] summary { color: var(--accent); }
.q[open] { box-shadow: inset 4px 0 0 var(--accent); }

/* Contacto */
.coupon { box-shadow: 10px 10px 0 var(--deep); }
.coupon__title { font-size: var(--step-head); line-height: .95; letter-spacing: -.045em; }
.coupon__left p { font-size: var(--step-lead); line-height: 1.3; }
.field label { font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }

/* Pie */
.footer__nav { font-size: 1rem; font-weight: 900; text-transform: uppercase; }
.footer__nav a:hover { color: var(--deep); }

@media (min-width: 768px) {
  .sentence__line--accent { display: flex; align-items: center; gap: .16em; }
  .sentence__line--accent .mask { flex: none; }
  .wave { flex: 1; min-width: 0; width: auto; height: .46em; margin-top: 0; }
  .field-c { padding-block: clamp(2rem, 4vw, 3.5rem); }
  .coupon { box-shadow: 16px 16px 0 var(--deep); }
  .bar { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
}

@media (min-width: 1024px) {
  .bar { grid-template-columns: minmax(0, 1.7fr) minmax(0, 2fr) minmax(0, 2.6fr) minmax(0, 1.7fr); }
  .case__big { height: auto; aspect-ratio: 16 / 10; }
  .case--a .case__big, .case--c .case__big { box-shadow: 18px 18px 0 var(--accent); }
  .case--b .case__big, .case--d .case__big { grid-column: 6 / 13; grid-row: 1; box-shadow: -18px 18px 0 var(--accent); }
  .case--b .case__side, .case--d .case__side { grid-column: 1 / 5; grid-row: 1; padding-inline: var(--margin) 0; }
  .faq__title { font-size: 7.5vw; }
  .q summary { font-size: clamp(1.5rem, 1rem + 1.2vw, 2.125rem); }
}

/* Movimiento: todo estado oculto vive aquí, así la versión reducida es la página terminada */
@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: ticker 36s linear infinite; }
  .motion-paused .ticker__track { animation-play-state: paused; }
  .js .wave { clip-path: inset(-50% 100% -50% 0); animation: wave-in 1200ms var(--ease-in-out) 500ms forwards; }
  .js .hero [data-line] { transform: translateY(130%); animation: load-line 800ms var(--ease-expo) forwards; animation-delay: calc(100ms + var(--i) * 90ms); }
  .js .hero [data-load] { opacity: 0; transform: translateY(12px); animation: load-rise 500ms var(--ease-out) forwards; animation-delay: var(--d); }
  .js .band[data-open] { clip-path: inset(100% 0 0 0); animation: load-open 1100ms var(--ease-in-out) 120ms forwards; }
  .js .band[data-open] img { scale: 1.12; animation: load-settle 1400ms var(--ease-soft) 120ms forwards; }

  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .btn[data-reveal].is-in { transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }

  .js [data-reveal-pic] img { clip-path: inset(0 100% 0 0); transition: clip-path 1000ms var(--ease-in-out); }
  .js [data-reveal-pic].is-in img { clip-path: inset(0); }

  .js [data-bar] .bar__seg { transform-origin: left center; transform: scaleX(0); transition: transform 900ms var(--ease-expo); }
  .js [data-bar] .bar__part:nth-child(2) .bar__seg { transition-delay: 90ms; }
  .js [data-bar] .bar__part:nth-child(3) .bar__seg { transition-delay: 180ms; }
  .js [data-bar] .bar__part:nth-child(4) .bar__seg { transition-delay: 270ms; }
  .js [data-bar].is-in .bar__seg { transform: none; }
}
@keyframes load-line { to { transform: none; } }
@keyframes load-rise { to { opacity: 1; transform: none; } }
@keyframes load-open { to { clip-path: inset(0); } }
@keyframes load-settle { to { scale: 1; } }
@keyframes wave-in { to { clip-path: inset(-50% 0 -50% 0); } }
@keyframes ticker { to { transform: translateX(-25%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slot__frame img, .case__big img, .band img, .btn, .btn::after, .q, .q summary::after { transition: none; }
}
