/* Estudio González · estilos de la web
   Estilo: vidriera minimalista (inspirado en la tienda de Apple), todo redondeado,
   con los colores de la marca: hueso de fondo, azul noche para texto y bloques, dorado solo en detalles. */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --navy: #0F1B2D;
  --navy-2: #1A2A42;
  --bone: #F5F3EE;
  --bone-2: #ECE8DF;
  --card: #FDFCFA;
  --gold: #B89B5E;
  --gold-text: #7E6431;
  --ink: #0F1B2D;
  --ink-soft: #4A5463;
  --line: rgba(15, 27, 45, .12);
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 12px 32px -14px rgba(15, 27, 45, .22);
  --shadow-lg: 0 2px 6px rgba(15, 27, 45, .06), 0 30px 60px -24px rgba(15, 27, 45, .35);
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --serif: "Fraunces", "Playfair Display", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
  --gutter: max(20px, calc((100vw - var(--wrap)) / 2));
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--navy);
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.06; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 7.2vw, 5.4rem); font-variation-settings: "opsz" 144; letter-spacing: -.03em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-variation-settings: "opsz" 120; max-width: 20ch; margin-bottom: .6em; }
h3 { font-size: 1.3rem; font-weight: 500; font-variation-settings: "opsz" 36; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 700; }

::selection { background: var(--navy); color: var(--bone); }
html { scrollbar-color: rgba(15, 27, 45, .4) var(--bone); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bone); }
::-webkit-scrollbar-thumb { background: rgba(15, 27, 45, .35); border-radius: 10px; border: 2px solid var(--bone); }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--bone); padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .foot :focus-visible { outline-color: var(--gold); }

/* ---------- Botones (píldoras) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  font: 700 1rem/1 var(--sans);
  padding: 1em 1.6em;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--ease-out), translate .45s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn .arrow { display: inline-block; font-size: 1.25em; line-height: .8; transition: transform .3s var(--ease-out); }
.btn--navy { background: var(--navy); color: var(--bone); }
.btn--line { color: var(--navy); border-color: var(--navy); }
.btn--text { color: var(--navy); padding-inline: .6em; }
.btn--small { padding: .72em 1.2em; font-size: .9rem; background: var(--navy); color: var(--bone); }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (hover: hover) and (pointer: fine) {
  .btn--navy:hover, .btn--small:hover { background: var(--navy-2); }
  .btn--line:hover { background: var(--navy); color: var(--bone); }
  .btn--text:hover { text-decoration: underline; text-decoration-color: var(--gold); }
  .btn:hover .arrow { transform: translateX(4px); }
}

/* ---------- Encabezado ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 243, 238, .78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.top.is-scrolled { background: rgba(245, 243, 238, .9); box-shadow: 0 1px 0 var(--line); }
.top__in { display: flex; align-items: center; gap: 28px; height: 68px; transition: height .3s var(--ease-out); }
.top.is-scrolled .top__in { height: 58px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 42px; height: auto; }
.brand__name { font-family: var(--serif); font-size: 1.12rem; white-space: nowrap; }
.nav { display: flex; gap: 6px; }
.nav a { text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--ink-soft); padding: 7px 14px; border-radius: 999px; transition: color .2s ease, background-color .25s ease; }
.nav a.is-current { color: var(--ink); background: rgba(15, 27, 45, .07); }
@media (hover: hover) { .nav a:hover { color: var(--ink); background: rgba(15, 27, 45, .05); } }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform-origin: left; transform: scaleX(0); z-index: 60; pointer-events: none; }

/* ---------- Portada tipo vidriera ---------- */
.hero { padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 64px); text-align: center; overflow: hidden; }
.hero__head { display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 13ch; margin-inline: auto; margin-bottom: .35em; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--ink-soft); max-width: 36ch; margin: 0 auto 1.8rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; align-items: center; margin-bottom: 1rem; }
.hero__note { font-size: .9rem; color: var(--ink-soft); max-width: 64ch; margin: 0 auto; }
.stage { position: relative; width: min(100% - 40px, 980px); margin: clamp(32px, 4vw, 48px) auto 0; display: grid; place-items: center; }
.hero__media { margin: 0; width: min(440px, 78vw); position: relative; }
.hero__media video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--bone-2); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); scale: var(--s, 1); transition: scale .1s linear; }
.hero__cap { font-size: .82rem; color: var(--ink-soft); margin-top: 22px; text-align: center; }
.vidbtn {
  position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(15, 27, 45, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center; transition: transform .16s var(--ease-out), background-color .2s ease;
}
.vidbtn:active { transform: scale(.92); }
.vidbtn svg { width: 18px; height: 18px; fill: var(--bone); grid-area: 1 / 1; }
.vidbtn .i-play { opacity: 0; }
.vidbtn.is-paused .i-play { opacity: 1; }
.vidbtn.is-paused .i-pause { opacity: 0; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow);
  font-size: .9rem; font-weight: 600; white-space: nowrap; color: var(--ink);
}
.chip svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--navy); fill: none; stroke: var(--bone); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.chip--1 { left: 2%; top: 14%; }
.chip--2 { right: 0; top: 30%; }
.chip--3 { left: 6%; bottom: 24%; }
.chip--4 { right: 6%; bottom: 10%; }
.js .chip { opacity: 0; transform: scale(.85) translateY(14px); transition: opacity .7s ease, transform .9s var(--ease-out); }
.js .chip.is-in { opacity: 1; transform: none; }

/* Títulos que entran palabra por palabra */
.js-split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.js-split .w > span { display: inline-block; }
.js .js-split .w > span { transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + 80ms); }
.js .js-split.is-in .w > span { transform: none; }

/* ---------- Cintas ---------- */
.ticker { padding: 18px 0 22px; 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); }
.ticker__row { overflow: hidden; }
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__row:first-child .ticker__track span { font: italic 400 clamp(1.5rem, 3vw, 2.4rem)/1.3 var(--serif); color: var(--navy); }
.ticker__row--alt { margin-top: 8px; }
.ticker__row--alt .ticker__track span { font: 700 .8rem/2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.ticker span { padding: 0 26px; display: inline-flex; align-items: center; white-space: nowrap; }
.ticker span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-left: 52px; }
.ticker__row--alt span::after { width: 4px; height: 4px; margin-left: 40px; }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(64px, 8vw, 112px) 0; }
.section--tight { padding: clamp(24px, 3vw, 40px) 0; }
.section > .wrap { position: relative; z-index: 1; }
.section__intro { font-size: 1.1rem; color: var(--ink-soft); max-width: 56ch; margin-bottom: 2.4rem; }
.section__intro a { color: var(--gold-text); }
.section__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
.section__head .section__intro { margin-bottom: 2.6rem; }
.section--dark { background: var(--navy); color: var(--bone); }

/* ---------- Problema: bandeja que se llena ---------- */
.problem { overflow: hidden; }
.bigtime {
  position: absolute; left: -1.5vw; bottom: 1vw; z-index: 0; pointer-events: none; user-select: none;
  font: 400 clamp(10rem, 24vw, 22rem)/.8 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(15, 27, 45, .08);
}
.problem__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.pains { display: grid; gap: 24px; max-width: 46ch; }
.pain h3 { margin-bottom: .3em; }
.pain p { color: var(--ink-soft); margin: 0; }
.inbox { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; position: sticky; top: 100px; }
.inbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; background: var(--navy); color: var(--bone); }
.inbox__bar > span:first-child { font: 400 1.35rem var(--serif); }
.inbox__badge { font-size: .8rem; font-weight: 700; background: var(--bone); color: var(--navy); padding: 5px 11px; border-radius: 999px; font-variant-numeric: tabular-nums; transition: transform .25s var(--ease-out); }
.inbox__badge.is-bump { transform: scale(1.14); }
.inbox__list { list-style: none; margin: 0; padding: 6px 0; }
.chat-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 13px 24px; }
.chat-row + .chat-row { box-shadow: inset 0 1px 0 rgba(15, 27, 45, .06); }
.chat-row__av { width: 44px; height: 44px; border-radius: 14px; background: var(--bone-2); display: grid; place-items: center; font: 500 1.1rem var(--serif); color: var(--navy); }
.chat-row__body { min-width: 0; display: flex; flex-direction: column; }
.chat-row__body strong { font-size: .95rem; }
.chat-row__body span { font-size: .9rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-row__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.chat-row__meta time { font-size: .75rem; color: var(--gold-text); font-weight: 700; font-variant-numeric: tabular-nums; }
.chat-row__meta i { font-style: normal; font-size: .72rem; font-weight: 700; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--navy); color: var(--bone); display: grid; place-items: center; }
.inbox__foot { font-size: .8rem; color: var(--ink-soft); margin: 0; padding: 12px 24px 20px; }
.js .chat-row { opacity: 0; transform: translateY(-14px) scale(.98); transition: opacity .5s ease, transform .7s var(--ease-out); }
.js .chat-row.is-shown { opacity: 1; transform: none; }

/* ---------- Paquetes ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 36px 32px 32px; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow);
  transition: translate .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.plan__step { font: 700 .74rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 1.1rem; }
.plan h3 { font-size: 2rem; font-weight: 400; margin-bottom: .3em; }
.plan p { color: var(--ink-soft); }
.plan .plan__for { color: var(--ink); font-weight: 700; font-size: .95rem; }
.plan__pay { margin: auto 0 0; padding-top: 18px; box-shadow: inset 0 1px 0 var(--line); font-size: .92rem; color: var(--ink) !important; font-weight: 600; }
.plan--feature { background: var(--navy); color: var(--bone); box-shadow: var(--shadow-lg); }
.plan--feature p { color: rgba(245, 243, 238, .8); }
.plan--feature .plan__for, .plan--feature .plan__pay { color: var(--bone) !important; }
.plan--feature .plan__step { color: var(--gold); }
.plan--feature .plan__pay { box-shadow: inset 0 1px 0 rgba(245, 243, 238, .18); }
@media (hover: hover) and (pointer: fine) {
  .plan:hover { translate: 0 -8px; box-shadow: var(--shadow-lg); }
}
.plans__extra { margin: 2.4rem 0 0; color: var(--ink-soft); max-width: 70ch; }

/* ---------- Rubros: estante horizontal de tarjetas ---------- */
.section--shelf { overflow: hidden; }
.shelf__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.shelf__nav { display: flex; gap: 10px; margin-bottom: 1.3em; flex: none; }
.round {
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: var(--card); box-shadow: var(--shadow);
  display: grid; place-items: center; transition: transform .16s var(--ease-out), opacity .25s ease, background-color .2s ease;
}
.round svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.round:active { transform: scale(.92); }
.round[disabled] { opacity: .35; cursor: default; }
@media (hover: hover) { .round:not([disabled]):hover { background: #fff; } }
.shelf {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 12px var(--gutter) 40px; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain;
}
.shelf::-webkit-scrollbar { display: none; }
.shelf:focus-visible { outline-offset: -4px; }
.tile {
  flex: 0 0 clamp(270px, 27vw, 330px); scroll-snap-align: start;
  display: flex; flex-direction: column; min-height: 470px;
  background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow);
  overflow: hidden; transition: scale .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .tile:hover { scale: 1.02; box-shadow: var(--shadow-lg); } }
.tile__text { padding: 28px 28px 0; }
.tile__text h3 { font-size: 1.45rem; margin-bottom: .35em; }
.tile__text p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.tile__media {
  position: relative; flex: 1; margin: 20px; min-height: 270px; border-radius: 20px; overflow: hidden;
  background: var(--bone-2) center / cover no-repeat;
}
.tile.has-img .tile__icon { display: none; }
.tile.has-img .tile__media { background-position: center 72%; }
.tile.has-img .tile__media::after { content: ""; position: absolute; inset: 0 0 55%; background: linear-gradient(rgba(15, 27, 45, .38), transparent); pointer-events: none; }
.tile.has-img .tile__chat { top: 14px; bottom: auto; }
.tile__icon {
  position: absolute; left: 50%; top: 24%; width: 120px; height: 120px; translate: -50% -50%;
  fill: none; stroke: rgba(15, 27, 45, .28); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.tile__icon * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .tile__icon * { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-io); }
.js .tile.is-visible .tile__icon * { stroke-dashoffset: 0; }
.tile__chat { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 8px; z-index: 1; }
.b { margin: 0; padding: 9px 12px; border-radius: 14px; font-size: .84rem; line-height: 1.35; max-width: 88%; box-shadow: 0 1px 2px rgba(15, 27, 45, .1); }
.b--in { background: #fff; justify-self: start; border-top-left-radius: 4px; transform-origin: left bottom; }
.b--out, .b--typing { background: #DCEFD0; justify-self: end; border-top-right-radius: 4px; transform-origin: right bottom; grid-row: 2; grid-column: 1; }
.b--typing { display: flex; gap: 4px; padding: 11px 12px; }
.b--typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(15, 27, 45, .45); animation: dot 1s ease-in-out infinite; }
.b--typing i:nth-child(2) { animation-delay: .15s; }
.b--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
/* bucle de la charla: pregunta, escribiendo, respuesta */
.js .tile .b--in { animation: bIn 7.5s var(--ease-out) infinite; animation-delay: calc(var(--i) * -.85s); animation-play-state: paused; opacity: 0; }
.js .tile .b--typing { animation: bType 7.5s var(--ease-out) infinite; animation-delay: calc(var(--i) * -.85s); animation-play-state: paused; opacity: 0; }
.js .tile .b--out { animation: bOut 7.5s var(--ease-out) infinite; animation-delay: calc(var(--i) * -.85s); animation-play-state: paused; opacity: 0; }
.js .tile.is-visible .b { animation-play-state: running; }
@keyframes bIn { 0%, 6% { opacity: 0; transform: translateY(10px) scale(.92); } 12%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes bType { 0%, 18% { opacity: 0; transform: scale(.8); } 22%, 36% { opacity: 1; transform: none; } 40%, 100% { opacity: 0; transform: scale(.8); } }
@keyframes bOut { 0%, 38% { opacity: 0; transform: translateY(10px) scale(.92); } 45%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-6px); } }
.shelf__note { font-size: .82rem; color: var(--ink-soft); margin-top: -8px; }

/* ---------- Reglas: el texto se llena con el scroll ---------- */
.rules { padding-block: clamp(72px, 10vw, 140px); }
.rules__title { font: 700 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 1.6rem; max-width: none; }
.rules__text { font: 400 clamp(2rem, 4.6vw, 3.9rem)/1.12 var(--serif); font-variation-settings: "opsz" 120; letter-spacing: -.025em; max-width: 22ch; margin: 0; }
.js .rules__text .fw { color: rgba(15, 27, 45, .14); transition: color .35s ease; }
.js .rules__text .fw.is-on { color: var(--ink); }

/* ---------- Pasos con línea de progreso ---------- */
.steps { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; --p: 0; }
.steps::before, .steps::after { content: ""; position: absolute; top: 46px; left: 50px; right: calc(25% - 35px); height: 2px; border-radius: 2px; transform-origin: left; z-index: 2; }
.steps::before { background: var(--line); }
.steps::after { background: var(--navy); transform: scaleX(var(--p)); }
.step { position: relative; padding: 96px 26px 28px; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); transition: box-shadow .5s ease, translate .5s var(--ease-out); }
.step__n { position: absolute; top: 24px; left: 26px; width: 46px; height: 46px; border-radius: 50%; background: var(--bone); color: var(--ink-soft); display: grid; place-items: center; font: 400 1.15rem var(--serif); z-index: 3; transition: background-color .4s ease, color .4s ease, transform .5s var(--ease-out); }
.step.is-on .step__n { background: var(--navy); color: var(--bone); transform: scale(1.08); }
.step p { color: var(--ink-soft); margin: 0; }
.js .step { opacity: .45; transition: opacity .6s ease, box-shadow .5s ease, translate .5s var(--ease-out); }
.js .step.is-on { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .step:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); } }

/* ---------- Casos (compacto) ---------- */
.casos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.casos:empty { display: none; }
.caso { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 28px; }
.caso__rubro { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 .6em; }
.caso__resultado { font: 400 1.15rem/1.35 var(--serif); margin: 0; }
.casos__empty { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(28px, 4vw, 44px); }
.casos__empty h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .4em; }
.casos__empty p { color: var(--ink-soft); margin: 0; max-width: 56ch; }

/* ---------- Preguntas ---------- */
.section--faq { padding-bottom: clamp(48px, 6vw, 80px); }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap h2 { position: sticky; top: 100px; }
.faq { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 6px 28px; }
.faq details + details { box-shadow: inset 0 1px 0 var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 48px 22px 0;
  font: 400 1.2rem/1.35 var(--serif);
  position: relative;
  transition: color .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 15px; height: 1.6px; border-radius: 2px; background: var(--navy);
  transition: transform .4s var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details[open] summary { color: var(--gold-text); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq__a p { color: var(--ink-soft); padding: 0 48px 22px 0; margin: 0; }

/* ---------- Olas ---------- */
.waves { position: relative; height: clamp(80px, 10vw, 140px); overflow: hidden; margin-bottom: -2px; }
.wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
.wave path { fill: var(--navy); }
.wave--3 path { fill: var(--gold); }
.wave--3 { opacity: .35; animation: waveMove 22s linear infinite; }
.wave--2 { opacity: .45; animation: waveMove 15s linear infinite reverse; }
.wave--1 { opacity: 1; animation: waveMove 10s linear infinite; }
@keyframes waveMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Auditoría ---------- */
#auditoria { padding-top: clamp(8px, 2vw, 28px); padding-bottom: clamp(56px, 6vw, 88px); }
.audit { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.audit__text { position: sticky; top: 96px; }
.next { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 14px; counter-reset: n; }
.next li { display: flex; gap: 14px; align-items: center; color: rgba(245, 243, 238, .85); font-size: 1rem; }
.next li::before { counter-increment: n; content: counter(n); flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(184, 155, 94, .7); color: var(--gold); display: grid; place-items: center; font: 500 .95rem var(--serif); }
.audit__text p { color: rgba(245, 243, 238, .78); font-size: 1.08rem; max-width: 40ch; }
.audit h2 { max-width: 15ch; }
.form { background: var(--card); color: var(--ink); padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.form__row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form label { font-size: .88rem; font-weight: 700; }
.opt { font-weight: 400; color: var(--ink-soft); }
.form input, .form select, .form textarea {
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--bone); border: 1.5px solid transparent; border-radius: var(--r-sm);
  padding: 13px 15px; width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(184, 155, 94, .3); }
.form [aria-invalid="true"] { border-color: #B3261E; }
.form textarea { resize: vertical; min-height: 72px; }
.form__check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 22px; }
.form__check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--navy); }
.form__check label { font-weight: 400; font-size: .88rem; color: var(--ink-soft); }
.form__msg { margin: 14px 0 0; font-size: .95rem; min-height: 1.4em; }
.form__msg.is-ok { color: #1E6B3A; font-weight: 700; }
.form__msg.is-error { color: #B3261E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pie ---------- */
.foot { background: var(--navy); color: var(--bone); padding: 40px 0 28px; margin-top: -2px; position: relative; }
.foot__in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; }
.foot__brand img { width: 240px; }
.foot__tag { font: italic 400 1.05rem var(--serif); color: rgba(245, 243, 238, .7); margin: 18px 0 0; }
.foot__contact { max-width: 340px; }
.foot__contact h2 { font: 700 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.foot__contact p { color: rgba(245, 243, 238, .78); }
.foot__contact a { color: var(--bone); text-decoration-color: var(--gold); }
.foot__big {
  margin: 10px 0 0; white-space: nowrap; overflow: hidden;
  font: 400 clamp(2.6rem, 10.2vw, 9.4rem)/1 var(--serif); font-variation-settings: "opsz" 144;
  letter-spacing: -.035em; color: var(--bone);
}
.foot__big .l { display: inline-block; }
.js .foot__big .l { transform: translateY(110%); opacity: 0; transition: transform 1s var(--ease-out), opacity .6s ease; transition-delay: calc(var(--i) * 32ms); }
.js .foot__big.is-in .l { transform: none; opacity: 1; }
.foot__legal p { margin: 22px 0 0; font-size: .85rem; color: rgba(245, 243, 238, .6); }

/* ---------- Aparición al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px) scale(.985); transition: opacity 1s ease, transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js .plan[data-reveal] { transform: translateY(56px) scale(.96); }
.js .faq details[data-reveal] { transform: translateY(12px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Celular y tablet ---------- */
@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before, .steps::after { display: none; }
  .casos { grid-template-columns: 1fr 1fr; }
  .section__head { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .audit, .problem__in, .faq-wrap { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .inbox, .faq-wrap h2, .audit__text { position: static; }
  .casos__empty { flex-direction: column; align-items: flex-start; }
  .chip { font-size: .8rem; padding: 9px 14px 9px 10px; }
  .chip svg { width: 18px; height: 18px; }
  .chip--1 { left: -2%; top: 8%; }
  .chip--2 { right: -2%; top: 34%; }
  .chip--3 { left: -2%; bottom: 30%; }
  .chip--4 { right: -2%; bottom: 8%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps, .casos { grid-template-columns: 1fr; }
  .form__cols { grid-template-columns: 1fr; }
  .hero__ctas .btn--navy { width: 100%; }
  .top__in { gap: 12px; }
  .chat-row { padding: 12px 16px; gap: 12px; }
  .shelf__nav { display: none; }
  .tile { flex-basis: 82vw; }
  .chip--2, .chip--3 { display: none; }
  .stage { margin-top: 52px; }
  .chip--1 { left: -4px; top: -22px; }
  .chip--4 { right: -4px; bottom: -14px; }
}
@media (max-width: 420px) { .brand__name { display: none; } }

/* ---------- Menos movimiento: las animaciones siguen, solo se apagan los efectos de profundidad ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media video { scale: 1 !important; }
}
