/* ==========================================================================
   Guashin — hoja de estilos
   Paleta de marca: tinta #18211e · lima #d5f65a · crema #f5f5ec · gris #b8bdb4
   Tipografías: Funnel Display (títulos) + Funnel Sans (texto)
   ========================================================================== */

:root {
  --ink: #18211e;
  --ink-2: #232d29;
  --ink-3: #3a4540;
  --lima: #d5f65a;
  --lima-2: #c4e845;
  --crema: #f5f5ec;
  --crema-2: #ebebdf;
  --gris: #b8bdb4;
  --gris-txt: #5b635d;
  --blanco: #fcfcf7;

  --f-display: "Funnel Display", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Funnel Sans", "Helvetica Neue", Arial, sans-serif;

  --max: 1320px;
  --gutter: clamp(16px, 4.2vw, 56px);
  --r-s: 10px;
  --r: 20px;
  --r-l: 34px;

  --ease: cubic-bezier(.2, .75, .12, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--crema);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lima); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-ink :focus-visible, .bg-ink :focus-visible { outline-color: var(--lima); }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; margin: 0; letter-spacing: -0.03em; line-height: .95; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- escala tipográfica ---------- */
.t-mega { font-size: clamp(3.3rem, 11.2vw, 10.5rem); line-height: .86; letter-spacing: -0.045em; font-weight: 750; }
.t-xl   { font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: .9; letter-spacing: -0.04em; }
.t-l    { font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: .96; }
.t-m    { font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.05; letter-spacing: -0.02em; }
.t-lead { font-size: clamp(1.15rem, 1.6vw, 1.375rem); line-height: 1.45; font-weight: 400; letter-spacing: -0.005em; }
.t-small { font-size: .9rem; }
.muted { color: var(--gris-txt); }
.on-ink .muted, .bg-ink .muted { color: var(--gris); }

/* etiqueta de sección: un trazo de "brillo" + texto */
.kicker {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--f-text); font-weight: 600; font-size: .95rem; letter-spacing: 0;
  margin-bottom: 1.4rem;
}
.kicker .brillo { width: 1.25em; height: 1.25em; }

/* subrayado de marcador lima detrás de una palabra */
.marca {
  background: linear-gradient(transparent 58%, var(--lima) 58%, var(--lima) 92%, transparent 92%);
  background-size: 0% 100%; background-repeat: no-repeat;
  transition: background-size 1s var(--ease) .35s;
  padding-inline: .06em;
}
.is-in .marca, .marca.is-in { background-size: 100% 100%; }

/* ---------- brillo (motivo de las 3 gotas del logo) ---------- */
.brillo { display: inline-block; width: 1em; height: 1em; vertical-align: -.1em; overflow: visible; }
.brillo path { stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; fill: none; }
[data-reveal].is-in .brillo path, .brillo.anim path { animation: brillo 1.1s var(--ease) both; }
.brillo path:nth-child(2) { animation-delay: .08s !important; }
.brillo path:nth-child(3) { animation-delay: .16s !important; }
@keyframes brillo { from { stroke-dasharray: 12; stroke-dashoffset: 12; } to { stroke-dasharray: 12; stroke-dashoffset: 0; } }

/* ---------- botones ---------- */
.btn {
  --bg: var(--ink); --fg: var(--crema);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 1.6em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-display); font-weight: 650; font-size: 1.05rem; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), color .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--lima); transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn:active { transform: scale(.97); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--lima { --bg: var(--lima); --fg: var(--ink); }
.btn--lima::before { background: var(--crema); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--lima); }
.on-ink .btn--ghost, .bg-ink .btn--ghost { --fg: var(--crema); box-shadow: inset 0 0 0 2px var(--crema); }
.on-ink .btn--ghost::before, .bg-ink .btn--ghost::before { background: var(--lima); }
.on-ink .btn--ghost:hover, .bg-ink .btn--ghost:hover { color: var(--ink); }
.btn--s { min-height: 44px; padding: 0 1.15em; font-size: .97rem; }
.btn--block { width: 100%; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.link-arrow:hover .arrow { transform: translateX(4px); }
.link-arrow .arrow { transition: transform .3s var(--ease); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: transform .5s var(--ease), background-color .3s, box-shadow .3s;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 2rem; }
.site-header.is-scrolled { background: var(--crema); box-shadow: 0 1px 0 rgba(24, 33, 30, .1); }
.page-lima .site-header.is-scrolled { background: var(--lima); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: block; width: 128px; color: var(--ink); line-height: 0; }
.brand .logo-svg { width: 100%; height: auto; }
.nav { display: flex; gap: 1.8rem; margin-left: auto; }
.nav a {
  position: relative; text-decoration: none; font-weight: 500; font-size: .98rem; padding: .3rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 1rem; margin-left: 1.2rem; }
.header-actions .ingresar { text-decoration: none; font-weight: 600; font-size: .98rem; display: inline-flex; align-items: center; gap: .45em; }
.header-actions .ingresar svg { width: 20px; height: 20px; }
.menu-btn { display: none; }

@media (max-width: 980px) {
  :root { --header-h: 66px; }
  .brand { width: 108px; }
  .nav, .header-actions .ingresar, .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: .55em; height: 44px; padding: 0 1rem; border-radius: 999px;
    border: 2px solid var(--ink); background: transparent; font-weight: 600; cursor: pointer;
  }
  .menu-btn i { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease); }
  .menu-btn i::after { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 2px; background: currentColor; transition: transform .3s var(--ease), width .3s; }
  .menu-btn i::before { content: ""; position: absolute; left: 0; top: -6px; width: 18px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
  .menu-open .menu-btn i { background: transparent; }
  .menu-open .menu-btn i::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-btn i::after { width: 18px; transform: translateY(-6px) rotate(-45deg); }
}

/* menú móvil a pantalla completa */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--lima); color: var(--ink);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 2rem;
  clip-path: circle(0% at calc(100% - 50px) 33px); visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s .7s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 50px) 33px); visibility: visible; transition: clip-path .7s var(--ease-io); }
.menu-open .site-header { background: transparent !important; box-shadow: none !important; transform: none !important; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(2.4rem, 11vw, 3.6rem); letter-spacing: -0.04em;
  line-height: 1.08; text-decoration: none; transform: translateY(30px); opacity: 0;
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.menu-open .mobile-menu nav a { transform: none; opacity: 1; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .2s; }
.mobile-menu .mm-foot { margin-top: auto; display: grid; gap: .8rem; }
.menu-open { overflow: hidden; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: clamp(14px, 2.4vw, 28px); bottom: clamp(14px, 2.4vw, 28px); z-index: 60;
  display: flex; align-items: center; gap: .6rem; text-decoration: none;
}
.wa-float .wa-bubble {
  width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(24, 33, 30, .45);
  transition: transform .4s var(--ease);
}
.wa-float .wa-bubble svg { width: 32px; height: 32px; }
.wa-float .wa-label {
  background: var(--ink); color: var(--crema); font-weight: 600; font-size: .9rem; padding: .55rem .9rem;
  border-radius: 999px; white-space: nowrap; opacity: 0; transform: translateX(10px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.wa-float:hover .wa-bubble { transform: scale(1.07) rotate(-6deg); }
.wa-float:hover .wa-label, .wa-float.peek .wa-label { opacity: 1; transform: none; }
.wa-float .wa-bubble::after {
  content: ""; position: absolute; width: 62px; height: 62px; border-radius: 50%; border: 2px solid #25d366;
  animation: wa-ping 2.8s var(--ease) infinite; pointer-events: none;
}
@keyframes wa-ping { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- animaciones de entrada ---------- */
/* Palabras: el JS envuelve cada palabra en .w > span; suben desde una máscara. */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span {
  display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: left bottom;
  transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms + var(--d, 0ms));
}
[data-split].is-in .w > span { transform: none; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* foto que se destapa con una cortina */
.reveal-img { position: relative; overflow: hidden; }
.reveal-img img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.reveal-img::after {
  content: ""; position: absolute; inset: 0; background: var(--cortina, var(--lima)); transform-origin: top;
  transition: transform 1.1s var(--ease-io);
}
.reveal-img.is-in::after { transform: scaleY(0); }
.reveal-img.is-in img { transform: scale(1); }

.no-js [data-split] .w > span, .no-js [data-reveal] { transform: none; opacity: 1; }
.no-js .reveal-img::after { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  [data-split] .w > span, [data-reveal] { transform: none !important; opacity: 1 !important; }
}

/* ---------- secciones ---------- */
.section { padding-block: clamp(80px, 12vw, 170px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 110px); }
.bg-ink { background: var(--ink); color: var(--crema); }
.bg-lima { background: var(--lima); color: var(--ink); }
.bg-blanco { background: var(--blanco); }
.bg-crema2 { background: var(--crema-2); }

/* ---------- HERO (home) ---------- */
.hero {
  background: var(--lima); position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(24px, 5vw, 64px)); padding-bottom: clamp(40px, 6vw, 80px);
}
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(16px, 2vw, 28px); align-items: end; }
.hero-title { grid-column: 1 / span 9; grid-row: 1; position: relative; z-index: 3; padding-bottom: clamp(20px, 3vw, 40px); }
.hero-title span.vos { position: relative; display: inline-block; }
.hero-title .brillo-big { position: absolute; width: .4em; height: .4em; right: -.46em; top: .02em; color: var(--ink); }
.hero-photo { grid-column: 8 / span 5; grid-row: 1 / span 2; position: relative; z-index: 1; align-self: stretch; }
.hero-photo .frame { border-radius: var(--r-l); overflow: hidden; height: 100%; min-height: 560px; --cortina: var(--ink); }
.hero-photo .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero-copy { grid-column: 1 / span 6; grid-row: 2; position: relative; z-index: 3; display: grid; gap: 1.8rem; padding-bottom: 8px; }
.hero-copy .t-lead { max-width: 30ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }

/* tarjeta tipo notificación: quién viene */
.aviso {
  position: absolute; left: clamp(-90px, -6vw, -40px); bottom: clamp(24px, 4vw, 48px); z-index: 4;
  width: min(330px, 86%); background: var(--crema); color: var(--ink); border-radius: var(--r);
  padding: 14px 16px 14px 14px; display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center;
  box-shadow: 0 24px 50px -20px rgba(24, 33, 30, .5);
}
.aviso img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.aviso b { display: block; font-family: var(--f-display); font-size: 1.02rem; letter-spacing: -0.01em; line-height: 1.15; }
.aviso small { display: block; font-size: .84rem; color: var(--gris-txt); line-height: 1.35; margin-top: 2px; }
.aviso .ok { display: inline-flex; align-items: center; gap: .3em; margin-top: 6px; font-size: .78rem; font-weight: 600; background: var(--lima); border-radius: 999px; padding: 2px 8px 2px 6px; }
.aviso .ok svg { width: 14px; height: 14px; }
.aviso .when { position: absolute; top: -12px; right: 14px; background: var(--ink); color: var(--lima); font-size: .74rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.aviso.float { animation: flotar 6s ease-in-out infinite; }
@keyframes flotar { 50% { transform: translateY(-8px); } }

.hero-meta {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; margin-top: clamp(28px, 4vw, 48px);
  padding-top: 18px; border-top: 2px solid var(--ink); font-weight: 600; font-size: .95rem;
}
.hero-meta span { display: inline-flex; align-items: center; gap: .5em; }
.hero-meta svg { width: 18px; height: 18px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title, .hero-copy, .hero-photo { grid-column: 1; grid-row: auto; }
  .hero-copy { order: 2; margin-top: 8px; }
  .hero-photo { order: 3; margin-top: 36px; }
  .hero-meta { order: 4; }
  .hero-photo .frame { min-height: 0; aspect-ratio: 4 / 4.6; }
  .aviso { left: 10px; right: auto; bottom: 10px; width: min(270px, 78%); grid-template-columns: 40px 1fr; gap: 10px; padding: 10px 12px 10px 10px; }
  .aviso img { width: 40px; height: 40px; }
  .aviso b { font-size: .9rem; }
  .aviso small { display: none; }
}

/* ---------- marquee "mientras tanto vos…" ---------- */
.ticker { background: var(--ink); color: var(--crema); overflow: hidden; padding-block: clamp(22px, 3vw, 34px); position: relative; }
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker-track span {
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 3rem); letter-spacing: -0.03em;
  white-space: nowrap; padding-right: .8em; display: inline-flex; align-items: center; gap: .8em;
}
.ticker-track em { font-style: normal; color: var(--lima); }
.ticker-track .brillo { color: var(--lima); width: .7em; height: .7em; }

/* ---------- mientras tanto (tiempo) ---------- */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); align-items: center; }
.split .col-img { grid-column: 1 / span 5; }
.split .col-txt { grid-column: 7 / span 6; }
.split.rev .col-img { grid-column: 8 / span 5; grid-row: 1; }
.split.rev .col-txt { grid-column: 1 / span 6; grid-row: 1; }
.col-img .frame { border-radius: var(--r-l); overflow: hidden; }
.col-img .frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.col-txt > * + * { margin-top: 1.4rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split .col-img, .split .col-txt, .split.rev .col-img, .split.rev .col-txt { grid-column: 1; grid-row: auto; }
}

/* reloj comparativo */
.reloj { display: grid; gap: 14px; margin-top: 2.4rem; max-width: 520px; }
.reloj-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 14px; align-items: center; font-weight: 600; font-size: .95rem; }
.reloj-bar { height: 14px; border-radius: 99px; background: var(--crema-2); overflow: hidden; }
.reloj-bar i { display: block; height: 100%; border-radius: inherit; background: var(--ink); width: 0; transition: width 1.6s var(--ease) .2s; }
.reloj-row.yo .reloj-bar i { background: var(--lima); box-shadow: inset 0 0 0 2px var(--ink); }
.is-in .reloj-bar i { width: var(--w); }

/* ---------- tipos de lavado ---------- */
.lavados-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(36px, 5vw, 64px); }
.toggle {
  display: inline-flex; padding: 5px; border-radius: 999px; background: var(--crema-2); position: relative;
  box-shadow: inset 0 0 0 1.5px rgba(24, 33, 30, .12);
}
.toggle button {
  position: relative; z-index: 1; border: 0; background: none; padding: .7rem 1.25rem; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: .98rem; display: inline-flex; align-items: center; gap: .5em; transition: color .3s;
}
.toggle button svg { width: 26px; height: 18px; }
.toggle .pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease), width .5s var(--ease); }
.toggle button[aria-pressed="true"] { color: var(--lima); }

.planes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 22px); }
.plan {
  position: relative; border-radius: var(--r-l); padding: clamp(26px, 3.2vw, 46px); display: flex; flex-direction: column; gap: 1.6rem;
  min-height: 600px; overflow: hidden; isolation: isolate;
}
.plan--ext { background: var(--blanco); box-shadow: inset 0 0 0 2px var(--ink); }
.plan--full { background: var(--ink); color: var(--crema); }
.plan-top { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.plan-tag { font-size: .85rem; font-weight: 600; padding: .35rem .8rem; border-radius: 999px; background: var(--lima); color: var(--ink); white-space: nowrap; }
.plan h3 { font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: -0.045em; }
.plan--full h3 em { font-style: normal; color: var(--lima); }
.plan .precio { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.plan .precio .desde { font-size: .9rem; font-weight: 600; }
.plan .precio .monto { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 3.6vw, 3rem); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan .precio .monto.flip { animation: flip .5s var(--ease); }
@keyframes flip { 0% { transform: translateY(40%); opacity: 0; } 100% { transform: none; opacity: 1; } }
.plan .dur { font-size: .9rem; font-weight: 600; display: inline-flex; gap: .4em; align-items: center; }
.plan .dur svg { width: 18px; height: 18px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; }
.plan li svg { width: 20px; height: 20px; margin-top: 3px; }
.plan--full li svg { color: var(--lima); }
.plan .req { margin-top: auto; padding-top: 1.2rem; border-top: 1.5px dashed currentColor; font-size: .93rem; display: grid; gap: .3rem; }
.plan .req b { font-family: var(--f-display); font-size: 1rem; }
.plan .btn { align-self: flex-start; }
.plan--full .plan-img {
  position: absolute; right: clamp(20px, 2.6vw, 40px); top: clamp(20px, 2.6vw, 40px); width: 30%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 6px var(--ink), 0 0 0 8px var(--lima);
}
.plan--full h3 { max-width: 64%; }
.plan--full .plan-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .planes { grid-template-columns: 1fr; }
  .plan { min-height: 0; }
  .plan--full .plan-img { width: 30%; }
}

/* ---------- antes / después con scroll ---------- */
.ab { position: relative; height: 260vh; background: var(--ink); color: var(--crema); }
.ab-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; }
.ab-stage { position: absolute; inset: 0; }
.ab-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-clean { clip-path: inset(0 0 0 var(--p, 100%)); }
.ab-line {
  position: absolute; top: 0; bottom: 0; left: var(--p, 100%); width: 6px; margin-left: -3px; background: var(--lima);
  box-shadow: 0 0 40px 6px rgba(213, 246, 90, .55);
}
.ab-line::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: var(--lima) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318211e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 24px no-repeat;
}
.ab-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 33, 30, .82) 0%, rgba(24, 33, 30, .35) 26%, rgba(24, 33, 30, 0) 46%, rgba(24, 33, 30, 0) 70%, rgba(24, 33, 30, .7) 100%); pointer-events: none; }
.ab-copy { position: relative; z-index: 2; align-self: start; padding-top: calc(var(--header-h) + 18px); }
.ab-copy h2 { max-width: 14ch; }
.ab-foot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 28px; }
.ab-foot .wrap { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.ab-chip { background: var(--crema); color: var(--ink); font-weight: 600; font-size: .9rem; padding: .45rem .9rem; border-radius: 999px; }
.ab-chip.lima { background: var(--lima); }
.ab-stats { display: flex; gap: clamp(18px, 4vw, 48px); }
.ab-stats div { display: grid; }
.ab-stats b { font-family: var(--f-display); font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -0.04em; color: var(--lima); line-height: 1; }
.ab-stats small { font-size: .85rem; color: var(--crema); opacity: .85; max-width: 16ch; }

/* ---------- cómo funciona ---------- */
.pasos { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); }
.pasos-head { grid-column: 1 / span 5; }
.pasos-head .sticky { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 1.4rem; }
.pasos-list { grid-column: 7 / span 6; position: relative; list-style: none; margin: 0; padding: 0 0 0 64px; counter-reset: paso; }
.pasos-list::before, .pasos-list::after {
  content: ""; position: absolute; z-index: 0; left: 21px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: rgba(24, 33, 30, .14);
}
.pasos-list::after { background: var(--ink); transform-origin: top; transform: scaleY(var(--prog, 0)); }
.bg-ink .pasos-list::before { background: rgba(245, 245, 236, .16); }
.bg-ink .pasos-list::after { background: var(--lima); }
.paso { position: relative; padding-bottom: clamp(44px, 6vw, 80px); }
.paso:last-child { padding-bottom: 0; }
.paso::before {
  counter-increment: paso; content: counter(paso);
  position: absolute; z-index: 1; left: -64px; top: -4px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem;
  background: var(--crema); box-shadow: inset 0 0 0 2.5px var(--ink); transition: background .4s, color .4s;
}
.bg-ink .paso::before { background: var(--ink); color: var(--crema); box-shadow: inset 0 0 0 2.5px var(--crema); }
.paso.is-on::before { background: var(--lima); color: var(--ink); box-shadow: inset 0 0 0 2.5px var(--ink); }
.paso h3 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); letter-spacing: -0.03em; margin-bottom: .7rem; }
.paso p { max-width: 46ch; }
.paso .extra { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .4em; font-size: .86rem; font-weight: 600; padding: .38rem .8rem; border-radius: 999px; background: var(--crema-2); }
.bg-ink .chip { background: var(--ink-3); color: var(--crema); }
.chip svg { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .pasos { grid-template-columns: 1fr; gap: 48px; }
  .pasos-head, .pasos-list { grid-column: 1; }
  .pasos-list { padding-left: 58px; }
  .paso::before { left: -58px; }
}

/* ---------- guashers: credenciales ---------- */
.credenciales { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); margin-top: clamp(40px, 5vw, 72px); }
.cred {
  background: var(--blanco); border-radius: var(--r-l); padding: 12px 12px 20px; position: relative;
  box-shadow: 0 1px 0 rgba(24, 33, 30, .06), 0 26px 50px -34px rgba(24, 33, 30, .45);
  transition: transform .6s var(--ease); transform: rotate(var(--rot, 0deg));
}
.cred:nth-child(1) { --rot: -1.6deg; }
.cred:nth-child(2) { --rot: 1.2deg; margin-top: 36px; }
.cred:nth-child(3) { --rot: -.8deg; }
.cred:hover { transform: rotate(0deg) translateY(-6px); }
.cred::before { content: ""; position: absolute; top: 18px; left: 50%; width: 54px; height: 9px; margin-left: -27px; border-radius: 9px; background: var(--crema); box-shadow: inset 0 1px 2px rgba(24, 33, 30, .25); z-index: 2; }
.cred-photo { border-radius: calc(var(--r-l) - 10px); overflow: hidden; position: relative; }
.cred-photo img { width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; object-position: 50% 12%; }
.cred-verif {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: .4em;
  background: var(--lima); color: var(--ink); font-size: .8rem; font-weight: 700; padding: .35rem .7rem .35rem .5rem; border-radius: 999px;
}
.cred-verif svg { width: 16px; height: 16px; }
.cred-body { padding: 16px 10px 0; display: grid; gap: .8rem; }
.cred-name { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
.cred-name b { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: -0.03em; }
.cred-name span { font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: .25em; }
.cred-name span svg { width: 16px; height: 16px; }
.cred dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 1rem; font-size: .86rem; }
.cred dl div:last-child { text-align: right; }
.cred dt { color: var(--gris-txt); }
.cred dd { margin: 0 0 .5rem; font-weight: 600; }
.cred .barcode { height: 26px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); opacity: .85; border-radius: 2px; }
@media (max-width: 900px) {
  .credenciales { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .cred:nth-child(2) { margin-top: 0; }
}

.garantias { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(48px, 6vw, 90px); border-top: 2px solid var(--ink); }
.garantia { padding: 22px 22px 0 0; display: grid; gap: .5rem; align-content: start; }
.garantia + .garantia { padding-left: 22px; border-left: 1.5px solid rgba(24, 33, 30, .16); }
.garantia svg { width: 30px; height: 30px; }
.garantia b { font-family: var(--f-display); font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.1; }
.garantia p { font-size: .95rem; color: var(--gris-txt); }
@media (max-width: 900px) {
  .garantias { grid-template-columns: 1fr 1fr; }
  .garantia:nth-child(3) { padding-left: 0; border-left: 0; }
  .garantia { padding-bottom: 22px; }
}
@media (max-width: 520px) {
  .garantias { grid-template-columns: 1fr; }
  .garantia + .garantia { padding-left: 0; border-left: 0; border-top: 1.5px solid rgba(24, 33, 30, .16); }
}

/* ---------- impacto (fin social + eco) ---------- */
.impacto { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); }
.impacto-big { grid-column: 1 / span 7; }
.impacto-big .frame { border-radius: var(--r-l); overflow: hidden; --cortina: var(--ink); }
.impacto-big .frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.impacto-side { grid-column: 8 / span 5; display: grid; gap: clamp(14px, 1.8vw, 22px); align-content: start; }
.tarjeta { border-radius: var(--r-l); padding: clamp(24px, 2.6vw, 36px); display: grid; gap: 1rem; }
.tarjeta.lima { background: var(--lima); color: var(--ink); }
.tarjeta.borde { box-shadow: inset 0 0 0 2px rgba(245, 245, 236, .3); }
.tarjeta h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: -0.03em; line-height: 1; }
.tarjeta .eco-img { border-radius: var(--r); overflow: hidden; }
.tarjeta .eco-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 860px) {
  .impacto { grid-template-columns: 1fr; }
  .impacto-big, .impacto-side { grid-column: 1; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); }
.faq-grid .faq-head { grid-column: 1 / span 4; }
.faq-grid .faq-list { grid-column: 6 / span 7; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .faq-head, .faq-grid .faq-list { grid-column: 1; } }
.faq-list { border-top: 2px solid currentColor; }
.faq { border-bottom: 1.5px solid rgba(24, 33, 30, .2); }
.bg-ink .faq { border-color: rgba(245, 245, 236, .2); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 38px; gap: 1rem; align-items: center;
  padding: 22px 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.12rem, 1.6vw, 1.35rem); letter-spacing: -0.015em; line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mas {
  width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 2px currentColor; position: relative; transition: background .3s, transform .5s var(--ease);
}
.faq summary .mas::before, .faq summary .mas::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; transition: transform .4s var(--ease); }
.faq summary .mas::after { transform: rotate(90deg); }
.faq[open] summary .mas { background: var(--lima); color: var(--ink); box-shadow: none; transform: rotate(180deg); }
.faq[open] summary .mas::after { transform: rotate(0deg); }
.faq summary:hover .mas { background: var(--lima); color: var(--ink); box-shadow: none; }
.faq .resp { overflow: hidden; }
.faq .resp > div { padding: 0 52px 24px 0; color: var(--gris-txt); max-width: 64ch; }
.bg-ink .faq .resp > div { color: var(--gris); }
.faq .resp p + p { margin-top: .7rem; }

.faq-cats { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.faq-cats a { text-decoration: none; }
.faq-cats a:hover { background: var(--lima); }
.faq-block + .faq-block { margin-top: clamp(48px, 6vw, 80px); }
.faq-block h2 { margin-bottom: 1.4rem; }

/* ---------- CTA final ---------- */
.cta-final { background: var(--lima); overflow: hidden; position: relative; }
.cta-final .wrap { display: grid; gap: 2rem; justify-items: start; }
.cta-final .t-mega { max-width: 11ch; }
.cta-final .gotas { position: absolute; right: -4vw; bottom: -6vw; width: min(42vw, 520px); color: var(--ink); opacity: .9; pointer-events: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--crema); padding: clamp(56px, 7vw, 96px) 0 calc(28px + 70px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot-grid h4 { font-family: var(--f-text); font-size: .85rem; font-weight: 600; letter-spacing: 0; color: var(--gris); margin-bottom: .9rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--lima); }
.foot-brand { display: grid; gap: 1.2rem; align-content: start; }
.foot-brand .brand { width: 170px; color: var(--lima); }
.foot-brand p { color: var(--gris); max-width: 32ch; }
.foot-bottom { margin-top: clamp(40px, 5vw, 72px); padding-top: 22px; border-top: 1px solid rgba(245, 245, 236, .16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; color: var(--gris); }
.foot-bottom a { color: var(--gris); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- páginas internas: cabecera ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 100px)); padding-bottom: clamp(48px, 7vw, 100px); position: relative; overflow: hidden; }
.page-hero.lima { background: var(--lima); }
.page-hero .t-xl { max-width: 15ch; }
.page-hero .t-lead { max-width: 46ch; margin-top: 1.6rem; }
.page-hero .crumbs { font-size: .9rem; font-weight: 600; margin-bottom: 1.6rem; display: flex; gap: .5rem; align-items: center; }
.page-hero .crumbs a { text-decoration: none; opacity: .7; }
.page-hero .crumbs a:hover { opacity: 1; }

/* tabla comparativa */
.compara { width: 100%; border-collapse: collapse; font-size: 1rem; }
.compara th, .compara td { padding: 16px 12px; text-align: left; border-bottom: 1.5px solid rgba(24, 33, 30, .14); vertical-align: top; }
.compara thead th { font-family: var(--f-display); font-size: 1.35rem; letter-spacing: -0.02em; border-bottom: 2px solid var(--ink); }
.compara thead th:last-child { color: var(--ink); }
.compara td:not(:first-child), .compara th:not(:first-child) { text-align: center; width: 22%; }
.compara .si { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lima); }
.compara .si svg { width: 16px; height: 16px; }
.compara .no { color: var(--gris); font-weight: 700; }
.compara-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* requisitos */
.reqs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 20px); }
.req-card { border-radius: var(--r-l); background: var(--blanco); padding: clamp(22px, 2.4vw, 32px); display: grid; gap: .8rem; align-content: start; box-shadow: inset 0 0 0 1.5px rgba(24, 33, 30, .1); }
.req-card .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--lima); display: grid; place-items: center; }
.req-card .ico svg { width: 28px; height: 28px; }
.req-card h3 { font-size: 1.45rem; letter-spacing: -0.025em; line-height: 1.05; }
.req-card p { color: var(--gris-txt); font-size: .98rem; }
@media (max-width: 860px) { .reqs { grid-template-columns: 1fr; } }

/* ---------- formularios ---------- */
.form-shell { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.form-main { grid-column: 1 / span 7; }
.form-side { grid-column: 9 / span 4; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) {
  .form-shell { grid-template-columns: 1fr; }
  .form-main, .form-side { grid-column: 1; }
  .form-side { position: static; }
}
.stepper { display: flex; gap: 6px; margin-bottom: 2rem; }
.stepper li { list-style: none; flex: 1; display: grid; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--gris-txt); }
.stepper li::before { content: ""; height: 5px; border-radius: 5px; background: rgba(24, 33, 30, .14); transition: background .4s; }
.stepper li.done::before, .stepper li.now::before { background: var(--ink); }
.stepper li.now { color: var(--ink); }
.stepper { padding: 0; margin-top: 0; }
@media (max-width: 560px) { .stepper li span { display: none; } }

.paso-form { display: none; }
.paso-form.now { display: block; animation: entra .6s var(--ease); }
@keyframes entra { from { opacity: 0; transform: translateY(16px); } }
.paso-form h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -0.035em; margin-bottom: .6rem; }
.paso-form > p.muted { margin-bottom: 1.8rem; }

.opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opciones.tres { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .opciones, .opciones.tres { grid-template-columns: 1fr; } }
.opcion { position: relative; display: block; cursor: pointer; }
.opcion input { position: absolute; opacity: 0; pointer-events: none; }
.opcion .box {
  display: grid; gap: .35rem; padding: 20px; border-radius: var(--r); background: var(--blanco); min-height: 100%;
  box-shadow: inset 0 0 0 2px rgba(24, 33, 30, .14); transition: box-shadow .25s, background .25s, transform .3s var(--ease);
}
.opcion:hover .box { box-shadow: inset 0 0 0 2px var(--ink); }
.opcion input:checked + .box { background: var(--lima); box-shadow: inset 0 0 0 2.5px var(--ink); }
.opcion input:focus-visible + .box { outline: 3px solid var(--ink); outline-offset: 3px; }
.opcion .box b { font-family: var(--f-display); font-size: 1.3rem; letter-spacing: -0.02em; }
.opcion .box small { color: var(--gris-txt); font-size: .9rem; line-height: 1.4; }
.opcion input:checked + .box small { color: var(--ink); }
.opcion .box .p { font-weight: 700; font-variant-numeric: tabular-nums; }
.opcion .box svg { width: 34px; height: 24px; }

.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; }
.campos .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .campos { grid-template-columns: 1fr; } }
.campo { display: grid; gap: 6px; }
.campo label, .campo .lbl { font-weight: 600; font-size: .92rem; }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 0; background: var(--blanco);
  box-shadow: inset 0 0 0 1.5px rgba(24, 33, 30, .2); transition: box-shadow .2s; font-size: 1rem;
}
.campo textarea { min-height: 110px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; box-shadow: inset 0 0 0 2.5px var(--ink); }
.campo .hint { font-size: .84rem; color: var(--gris-txt); }
.campo.err input, .campo.err select { box-shadow: inset 0 0 0 2.5px #c2410c; }
.campo .err-msg { display: none; font-size: .84rem; color: #b33a0a; font-weight: 600; }
.campo.err .err-msg { display: block; }
.sep { height: 1.5px; background: rgba(24, 33, 30, .12); margin: 1.8rem 0; border: 0; }

.check { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: .97rem; }
.check input { appearance: none; width: 26px; height: 26px; border-radius: 8px; margin: 0; background: var(--blanco); box-shadow: inset 0 0 0 2px var(--ink); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--lima) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318211e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat; }
.check.err input { box-shadow: inset 0 0 0 2.5px #c2410c; }

.form-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }
.btn-back { background: none; border: 0; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: .4em; padding: 0; }

.resumen { background: var(--ink); color: var(--crema); border-radius: var(--r-l); padding: clamp(22px, 2.4vw, 30px); display: grid; gap: 1.1rem; }
.resumen h3 { font-size: 1.5rem; letter-spacing: -0.03em; }
.resumen dl { margin: 0; display: grid; gap: .7rem; }
.resumen dl div { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; border-bottom: 1px solid rgba(245, 245, 236, .12); padding-bottom: .7rem; }
.resumen dt { color: var(--gris); }
.resumen dd { margin: 0; text-align: right; font-weight: 600; }
.resumen .total { display: flex; justify-content: space-between; align-items: baseline; }
.resumen .total b { font-family: var(--f-display); font-size: 2.2rem; letter-spacing: -0.04em; color: var(--lima); }
.resumen .nota { font-size: .85rem; color: var(--gris); }
.alt-wa { margin-top: 14px; border-radius: var(--r-l); padding: 20px 22px; box-shadow: inset 0 0 0 2px var(--ink); display: grid; gap: .7rem; }
.alt-wa b { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: -0.02em; }

.pago-box { border-radius: var(--r); background: var(--blanco); padding: 20px; box-shadow: inset 0 0 0 1.5px rgba(24, 33, 30, .14); display: grid; gap: .6rem; }
.pago-box .tarjetas { display: flex; gap: 8px; }
.pago-box .tarjetas span { font-size: .75rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: var(--crema-2); }

.confirmado { text-align: left; display: grid; gap: 1.4rem; justify-items: start; }
.confirmado .sello { width: 92px; height: 92px; border-radius: 50%; background: var(--lima); display: grid; place-items: center; animation: pop .8s var(--ease); }
.confirmado .sello svg { width: 46px; height: 46px; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }

/* ---------- login ---------- */
.auth { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-img { position: relative; overflow: hidden; background: var(--ink); }
.auth-img img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.auth-img .quote { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; color: var(--crema); }
.auth-img .quote p { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -0.03em; line-height: 1.05; max-width: 18ch; }
.auth-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(24, 33, 30, .8)); }
.auth-img .quote { z-index: 2; }
.auth-form { display: grid; place-items: center; padding: calc(var(--header-h) + 30px) var(--gutter) 60px; }
.auth-form .inner { width: 100%; max-width: 440px; display: grid; gap: 1.4rem; }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--crema-2); border-radius: 999px; }
.tabs button { flex: 1; border: 0; background: none; padding: .7rem; border-radius: 999px; font-weight: 600; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--lima); }
.oauth { display: grid; gap: 10px; }
.oauth button { min-height: 54px; border-radius: 999px; border: 0; background: var(--blanco); box-shadow: inset 0 0 0 1.5px rgba(24, 33, 30, .2); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .6em; }
.oauth button:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.oauth svg { width: 20px; height: 20px; }
.o-sep { display: flex; align-items: center; gap: 1rem; color: var(--gris-txt); font-size: .88rem; }
.o-sep::before, .o-sep::after { content: ""; flex: 1; height: 1.5px; background: rgba(24, 33, 30, .14); }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-img { display: none; } }

/* ---------- mi cuenta ---------- */
.cuenta { padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px)); padding-bottom: clamp(64px, 8vw, 120px); }
.cuenta-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.4rem; margin-bottom: clamp(28px, 4vw, 48px); }
.cuenta-head .hola { display: flex; gap: 18px; align-items: center; }
.avatar { width: 68px; height: 68px; border-radius: 50%; background: var(--lima); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; flex: none; }
.cuenta-grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(20px, 3vw, 48px); align-items: start; }
.cuenta-nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 4px; }
.cuenta-nav button { text-align: left; border: 0; background: none; padding: .8rem 1rem; border-radius: 14px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: .7em; }
.cuenta-nav button svg { width: 20px; height: 20px; }
.cuenta-nav button:hover { background: var(--crema-2); }
.cuenta-nav button[aria-selected="true"] { background: var(--ink); color: var(--lima); }
.cuenta-nav .salir { margin-top: 1rem; color: var(--gris-txt); }
@media (max-width: 860px) {
  .cuenta-grid { grid-template-columns: 1fr; }
  .cuenta-nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .cuenta-nav button { white-space: nowrap; flex: none; }
  .cuenta-nav .salir { margin-top: 0; }
}
.panel { display: none; }
.panel.now { display: grid; gap: 18px; animation: entra .5s var(--ease); }
.card { background: var(--blanco); border-radius: var(--r-l); padding: clamp(20px, 2.4vw, 30px); box-shadow: inset 0 0 0 1.5px rgba(24, 33, 30, .08); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.card-head h2 { font-size: 1.6rem; letter-spacing: -0.03em; }
.mini-btn { border: 0; background: var(--crema-2); border-radius: 999px; padding: .55rem 1rem; font-weight: 600; cursor: pointer; font-size: .9rem; display: inline-flex; gap: .4em; align-items: center; }
.mini-btn:hover { background: var(--lima); }
.mini-btn svg { width: 16px; height: 16px; }
.proximo { background: var(--lima); border-radius: var(--r-l); padding: clamp(20px, 2.4vw, 30px); display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.proximo img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.proximo b { font-family: var(--f-display); font-size: 1.35rem; letter-spacing: -0.02em; display: block; line-height: 1.1; }
@media (max-width: 600px) { .proximo { grid-template-columns: auto 1fr; } .proximo .btn { grid-column: 1 / -1; } }

.vehiculos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .vehiculos { grid-template-columns: 1fr; } }
.vehiculo { border-radius: var(--r); padding: 18px; box-shadow: inset 0 0 0 1.5px rgba(24, 33, 30, .14); display: grid; gap: .3rem; position: relative; }
.vehiculo .patente { display: inline-block; justify-self: start; margin-top: .4rem; font-family: var(--f-display); font-weight: 700; letter-spacing: .06em; font-size: .95rem; padding: 3px 10px; border-radius: 6px; background: var(--ink); color: var(--crema); }
.vehiculo b { font-family: var(--f-display); font-size: 1.2rem; letter-spacing: -0.02em; }
.vehiculo .tipo { font-size: .85rem; color: var(--gris-txt); }

.dato-row { display: grid; grid-template-columns: 160px 1fr auto; gap: 1rem; align-items: center; padding: 14px 0; border-bottom: 1.5px solid rgba(24, 33, 30, .08); }
.dato-row:last-child { border-bottom: 0; }
.dato-row dt { color: var(--gris-txt); font-size: .92rem; }
.dato-row dd { margin: 0; font-weight: 600; }
@media (max-width: 600px) { .dato-row { grid-template-columns: 1fr auto; } .dato-row dt { grid-column: 1 / -1; } }

.historial { display: grid; gap: 10px; }
.lav { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 12px; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px rgba(24, 33, 30, .1); }
.lav .fotos { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; position: relative; }
.lav .fotos img { width: 100%; height: 100%; object-fit: cover; }
.lav .fotos span { position: absolute; right: 4px; bottom: 4px; background: var(--ink); color: var(--crema); font-size: .7rem; font-weight: 700; padding: 1px 6px; border-radius: 6px; }
.lav b { font-family: var(--f-display); font-size: 1.1rem; letter-spacing: -0.02em; display: block; }
.lav small { color: var(--gris-txt); font-size: .86rem; display: block; }
.lav .stars { color: var(--ink); font-size: .9rem; letter-spacing: 1px; }
.lav .right { text-align: right; display: grid; gap: .3rem; justify-items: end; }
.lav .right strong { font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .lav { grid-template-columns: 60px 1fr; } .lav .fotos { width: 60px; height: 60px; } .lav .right { grid-column: 2; justify-items: start; text-align: left; } }
.rate-btn { border: 0; background: var(--lima); border-radius: 999px; padding: .35rem .8rem; font-weight: 700; font-size: .82rem; cursor: pointer; }

.demo-flag { display: inline-flex; align-items: center; gap: .4em; font-size: .8rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: var(--crema-2); color: var(--gris-txt); }

/* ---------- legales ---------- */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 4vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: .3rem; font-size: .92rem; }
.legal-toc a { text-decoration: none; padding: .35rem .7rem; border-radius: 10px; color: var(--gris-txt); }
.legal-toc a:hover { background: var(--crema-2); color: var(--ink); }
.legal-body { max-width: 72ch; }
.legal-body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.03em; margin: 2.8rem 0 1rem; line-height: 1.05; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: #333c37; }
.legal-body p + p, .legal-body ul + p, .legal-body p + ul { margin-top: .9rem; }
.legal-body ul { padding-left: 1.2rem; display: grid; gap: .45rem; margin: .9rem 0 0; }
.aviso-legal { background: var(--lima); border-radius: var(--r); padding: 16px 18px; font-size: .92rem; font-weight: 500; margin-bottom: 2.4rem; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal-toc { position: static; } }

/* modal T&C */
dialog.tyc { border: 0; padding: 0; border-radius: var(--r-l); width: min(720px, calc(100% - 32px)); max-height: min(80vh, 760px); background: var(--crema); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
dialog.tyc::backdrop { background: rgba(24, 33, 30, .6); backdrop-filter: blur(2px); }
dialog.tyc .tyc-in { display: grid; grid-template-rows: auto 1fr auto; max-height: inherit; }
dialog.tyc header, dialog.tyc footer { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
dialog.tyc header { border-bottom: 1.5px solid rgba(24, 33, 30, .12); }
dialog.tyc footer { border-top: 1.5px solid rgba(24, 33, 30, .12); }
dialog.tyc .tyc-body { overflow: auto; padding: 20px 24px; font-size: .95rem; }
dialog.tyc .tyc-body h2 { font-size: 1.15rem; margin: 1.4rem 0 .4rem; letter-spacing: -0.02em; line-height: 1.1; }
dialog.tyc .tyc-body h2:first-child { margin-top: 0; }
dialog.tyc .tyc-body p + p, dialog.tyc .tyc-body ul { margin-top: .6rem; }
dialog.tyc .tyc-body ul { padding-left: 1.2rem; }
dialog.tyc .x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--crema-2); cursor: pointer; font-size: 1.3rem; line-height: 1; }

/* ---------- utilidades ---------- */
.stack > * + * { margin-top: var(--s, 1.4rem); }
.center { text-align: center; }
.mt-l { margin-top: clamp(36px, 5vw, 64px); }
.max-40 { max-width: 40ch; }
.max-28 { max-width: 28ch; }

/* las credenciales conservan su leve inclinación después de entrar */
.cred.is-in { transform: rotate(var(--rot)); }
.cred.is-in:hover { transform: rotate(0deg) translateY(-6px); }

.page-auth .site-header { background: var(--crema); }
@media (max-width: 860px) { .faq-list-wrap { grid-column: 1 !important; } }

/* ---------- ahora / programado ---------- */
.vivo { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--lima); flex: none; }
.vivo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: vivo 1.8s var(--ease) infinite; }
@keyframes vivo { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.8); opacity: 0; } }
.btn:hover .vivo { background: var(--ink); }
.cuando { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(36px, 5vw, 64px); }
.cuando-card {
  position: relative; display: grid; gap: 1rem; align-content: start; text-decoration: none;
  border-radius: var(--r-l); padding: clamp(26px, 3.2vw, 46px); min-height: 380px;
  transition: transform .5s var(--ease);
}
.cuando-card:hover { transform: translateY(-6px); }
.cuando-card.ahora { background: var(--ink); color: var(--crema); }
.cuando-card.prog { background: var(--lima); color: var(--ink); }
.cuando-card h3 { font-size: clamp(2.8rem, 5.6vw, 5.6rem); letter-spacing: -0.05em; line-height: .9; margin-top: auto; }
.cuando-card p { max-width: 34ch; font-size: 1.08rem; }
.cuando-card.ahora p { color: var(--gris); }
.cuando-card .link-arrow { justify-self: start; }
.cuando-ui {
  justify-self: start; display: inline-flex; align-items: center; gap: .6em; font-size: .88rem; font-weight: 600;
  padding: .5rem .95rem; border-radius: 999px; margin-bottom: clamp(40px, 6vw, 90px);
}
.ahora .cuando-ui { background: var(--ink-3); }
.prog .cuando-ui { background: var(--ink); color: var(--lima); }
.cuando-ui svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .cuando { grid-template-columns: 1fr; } .cuando-card { min-height: 0; } }

/* el título del hero no se monta sobre la foto en pantallas anchas */
@media (min-width: 981px) { .hero-title.t-mega { font-size: clamp(3.3rem, 7.6vw, 7.6rem); } }
