/* MistiCloud — sillar, basalto y rocoto. Sin frameworks. */

@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces.woff2") format("woff2"); font-weight: 350 650; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --sillar: #F3EEE5;
  --sillar-2: #E9E1D3;
  --basalto: #1C1A17;
  --basalto-2: #2A2723;
  --ceniza: #5E574E;
  --ceniza-osc: #B9AFA2;
  --rocoto: #A8361C;
  --rocoto-claro: #F08A5D;
  --linea: rgba(28, 26, 23, .14);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: clamp(20px, 5vw, 56px);
  --sec: clamp(88px, 12vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--ceniza) var(--sillar-2); accent-color: var(--rocoto); }
body {
  margin: 0;
  background: var(--sillar);
  color: var(--basalto);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 450; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
code { font: .92em/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
::selection { background: var(--rocoto); color: var(--sillar); }

:focus-visible { outline: 3px solid var(--rocoto); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--basalto); color: var(--sillar); border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--pad), 1200px); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* Barra de progreso: solo CSS, donde haya scroll-driven animations */
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; background: var(--rocoto); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}
@supports not (animation-timeline: scroll()) { .progress { display: none; } }

/* Encabezado */
.top { position: sticky; top: 0; z-index: 50; background: rgba(243, 238, 229, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--linea); }
.top__in { display: flex; align-items: center; gap: 32px; height: 68px; }
.mark { display: inline-flex; align-items: center; gap: 10px; padding-block: 11px; font: 600 1.35rem/1 var(--serif); letter-spacing: -.01em; text-decoration: none; }
.mark img { display: block; height: 36px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: .95rem; }
.nav a { position: relative; text-decoration: none; color: var(--ceniza); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--basalto); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Botones y enlaces */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 1.5px solid var(--rocoto); border-radius: 999px;
  background: var(--rocoto); color: var(--sillar);
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(168, 54, 28, .6); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn--small { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn--ghost { background: transparent; color: var(--basalto); border-color: var(--basalto); }
.btn--ghost:hover { background: var(--basalto); color: var(--sillar); box-shadow: 0 10px 24px -12px rgba(28, 26, 23, .5); }
.btn--big { min-height: 60px; padding: 0 30px; font-size: 1.08rem; }
.btn--full { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--linea); padding-bottom: 3px; transition: border-color .2s; }
.link .ico { transition: transform .3s var(--ease); }
.link:hover { border-color: var(--basalto); }
.link:hover .ico { transform: translateX(4px); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0 clamp(150px, 18vw, 230px); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, .75fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.hero h1 { margin: 0 0 26px; font-size: clamp(2.5rem, 5.4vw, 4.8rem); font-weight: 420; line-height: .98; letter-spacing: -.035em; }
.hero h1 em { font-style: italic; color: var(--rocoto); letter-spacing: -.02em; }
.lede { max-width: 34em; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ceniza); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }

.ticket {
  position: relative; padding: 26px 26px 22px; background: #FBF8F2; border: 1px solid var(--linea); border-radius: 6px;
  box-shadow: 0 1px 0 rgba(28, 26, 23, .04), 0 24px 48px -28px rgba(28, 26, 23, .35);
  transform: rotate(1.2deg); transition: transform .5s var(--ease);
  font-variant-numeric: tabular-nums;
}
.ticket:hover { transform: rotate(0deg) translateY(-4px); }
/* borde dentado inferior, como un ticket cortado */
.ticket::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -9px; height: 10px; background: radial-gradient(circle at 6px 10px, transparent 5.5px, #FBF8F2 6px) 0 0 / 12px 10px repeat-x; }
.ticket__head { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1.5px dashed var(--linea); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ceniza); }
.ticket dl { margin: 6px 0 0; }
.ticket dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--linea); font-size: .95rem; }
.ticket dt { color: var(--ceniza); }
.ticket dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.ticket__total { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; color: var(--ceniza); font-size: .95rem; }
.ticket__total strong { font: 500 2.4rem/1 var(--serif); color: var(--basalto); letter-spacing: -.02em; white-space: nowrap; }
.ticket__total span:last-child { font-size: .85rem; line-height: 1.25; }
.ticket__foot { margin-top: 10px; font-size: .85rem; color: var(--ceniza); }

.misti { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 1600px); height: auto; aspect-ratio: 1440 / 220; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.misti path { fill: none; stroke: var(--rocoto); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 0; }
.misti .misti__2 { stroke: var(--ceniza); opacity: .45; }

/* Entrada del hero */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.hero__in { animation: rise .9s var(--ease) backwards; }
.hero__copy .hero__in:nth-child(2) { animation-delay: .08s; }
.hero__copy .hero__in:nth-child(3) { animation-delay: .18s; }
.hero__copy .hero__in:nth-child(4) { animation-delay: .28s; }
.ticket.hero__in { animation-name: rise-tilt; animation-delay: .38s; animation-duration: 1.1s; }
@keyframes rise-tilt { from { opacity: 0; transform: translateY(28px) rotate(4deg); } to { opacity: 1; transform: rotate(1.2deg); } }
.misti path { animation: draw 2.4s .2s var(--ease) backwards; }
.misti .misti__2 { animation-delay: .7s; }

/* Secciones */
.sec { padding: var(--sec) 0; }
.sec--alt { background: var(--sillar-2); }
.sec__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.sec__head h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
.sec__note { margin-top: 20px; max-width: 40em; color: var(--ceniza); }

/* Qué incluye: lista editorial */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--basalto); }
.row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px 32px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--linea);
}
.row::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--rocoto); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.row:hover::before { transform: scaleX(1); }
.row h3 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); transition: transform .4s var(--ease); }
.row:hover h3 { transform: translateX(6px); }
.row p { color: var(--ceniza); }
.tag { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: var(--basalto); color: var(--sillar); font-size: .78rem; font-weight: 600; letter-spacing: .02em; vertical-align: 2px; white-space: nowrap; }
.extras { margin-top: 36px; color: var(--ceniza); }
.extras span { color: var(--basalto); font-weight: 600; }

/* Planes */
.igv-nota {
  display: inline-block; margin-top: 18px; padding: 4px 12px;
  border: 1px dashed var(--ceniza); border-radius: 6px;
  font-size: .9rem; color: var(--ceniza);
}
.plans { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 20px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 36px); border: 1px solid rgba(28, 26, 23, .22); border-radius: 18px; background: var(--sillar);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  min-width: 0;
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -30px rgba(28, 26, 23, .45); }
.plan h3 { font-size: 2rem; }
.plan__for { margin-top: 8px; color: var(--ceniza); }
.plan__flag { align-self: flex-start; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; background: var(--rocoto); color: var(--sillar); font-size: .8rem; font-weight: 600; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 22px; font-variant-numeric: lining-nums tabular-nums; }
.price__cur { font: 500 1.4rem/1 var(--serif); }
.price__num { font: 450 clamp(3.2rem, 5.4vw, 4.4rem)/.9 var(--serif); letter-spacing: -.04em; }
.price__per { margin-left: 4px; color: var(--ceniza); font-size: .95rem; }
.price__alt { margin-top: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--linea); color: var(--ceniza); font-size: .92rem; }
.checks { list-style: none; margin: 18px 0 28px; padding: 0; display: grid; gap: 8px; font-size: .95rem; line-height: 1.45; }
.checks li { position: relative; padding-left: 28px; overflow-wrap: break-word; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--rocoto); border-bottom: 2px solid var(--rocoto); transform: rotate(-45deg); }
.checks__lead { padding-left: 0; font-weight: 600; margin-top: 2px; }
.checks__lead::before { content: none; }
.plan .btn { margin-top: auto; }
.plan--main { background: var(--basalto); color: var(--sillar); border-color: var(--basalto); }
.plan--main .plan__for, .plan--main .price__per, .plan--main .price__alt { color: var(--ceniza-osc); }
.plan--main .price__alt { border-color: rgba(243, 238, 229, .16); }
.price + .checks { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--linea); }
.plan--main .price + .checks { border-top-color: rgba(243, 238, 229, .16); }
.plan--main .checks li::before { border-color: var(--rocoto-claro); }
.plan--main .btn:hover { box-shadow: 0 12px 28px -10px rgba(240, 138, 93, .55); }

/* Notas bajo los planes: qué es un cambio y pagos únicos */
.addons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px;
  margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--linea);
}
.addons h3 { font-size: 1.35rem; margin-bottom: 10px; }
.addons p { color: var(--ceniza); font-size: .98rem; max-width: 42em; }

/* Errores: corrección de imprenta */
.proof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.proof li { padding: 28px 0 30px; border-top: 1px solid var(--linea); }
.proof li:last-child { grid-column: 1 / -1; }
.proof__what { font: 500 1.35rem/1.2 var(--serif); margin-bottom: 14px; }
.proof__fix { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; font-size: 1rem; }
.proof del {
  color: var(--ceniza); text-decoration: none;
  background: linear-gradient(var(--rocoto), var(--rocoto)) 0 55% / 0% 2px no-repeat;
  transition: background-size .7s .25s var(--ease);
}
.proof ins { text-decoration: none; font-weight: 600; opacity: .2; transition: opacity .6s .75s var(--ease); }
.proof ins::before { content: "→ "; color: var(--rocoto); }
.proof li.is-in del, html:not(.js) .proof del { background-size: 100% 2px; }
.proof li.is-in ins, html:not(.js) .proof ins { opacity: 1; }
.proof code { overflow-wrap: anywhere; }

/* Primeros negocios */
.trust { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.trust .sec__head { margin-bottom: 0; }
.logos { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.logos li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: 22px 26px; border-radius: 14px; background: #FFFFFF; border: 1px solid var(--linea); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.logos li:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(28, 26, 23, .45); }
.logos img { width: 100%; height: auto; max-height: 110px; object-fit: contain; }
.logos p { font: 500 1.2rem/1.2 var(--serif); }
.logos p span { display: block; margin-top: 4px; font: 400 .9rem/1.4 var(--sans); color: var(--ceniza); }

/* Cómo trabajo */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 28px; height: 1.5px; background: var(--rocoto); transform: scaleX(0); transform-origin: left; transition: transform 1.4s .2s var(--ease); }
.steps.is-in::before, html:not(.js) .steps::before { transform: scaleX(1); }
.steps li { position: relative; }
.steps__n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 28px; border-radius: 50%; background: var(--sillar); border: 1.5px solid var(--rocoto); color: var(--rocoto); font: 500 1.5rem/1 var(--serif); }
.steps h3 { font-size: 1.7rem; margin-bottom: 12px; }
.steps p { color: var(--ceniza); max-width: 30em; }
.js .steps li { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .steps.is-in li { opacity: 1; transform: none; }
.js .steps.is-in li:nth-child(2) { transition-delay: .35s; }
.js .steps.is-in li:nth-child(3) { transition-delay: .7s; }

/* Preguntas */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--basalto); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary {
  position: relative; display: block; padding: 24px 48px 24px 0; cursor: pointer; list-style: none;
  font: 500 clamp(1.2rem, 1.8vw, 1.45rem)/1.25 var(--serif); transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--rocoto); transition: transform .35s var(--ease); }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq summary:hover { color: var(--rocoto); }
.faq details p { padding: 0 48px 26px 0; color: var(--ceniza); max-width: 40em; }
.faq details[open] p { animation: rise .45s var(--ease); }

/* Contacto */
.contact { padding: var(--sec) 0; background: var(--basalto); color: var(--sillar); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact h2 { margin: 0 0 22px; font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.contact__copy > p { max-width: 30em; color: var(--ceniza-osc); font-size: 1.12rem; margin-bottom: 34px; }
.contact .btn:not(.btn--full) { background: var(--rocoto-claro); border-color: var(--rocoto-claro); color: var(--basalto); }
.contact .btn:hover { box-shadow: 0 14px 30px -12px rgba(240, 138, 93, .6); }
.contact :focus-visible { outline-color: var(--rocoto-claro); }
.contact .contact__mail { margin-top: 22px; font-size: 1rem; }
.contact__mail a { color: var(--sillar); text-underline-offset: 3px; }

.form { padding: clamp(24px, 3vw, 36px); border-radius: 18px; background: var(--basalto-2); border: 1px solid rgba(243, 238, 229, .12); }
.form__title { font: 500 1.4rem/1.2 var(--serif); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: .92rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--ceniza-osc); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid rgba(243, 238, 229, .5); border-radius: 10px;
  background: var(--basalto); color: var(--sillar); caret-color: var(--rocoto-claro); font: 400 1rem/1.4 var(--sans);
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ceniza-osc) 50%), linear-gradient(135deg, var(--ceniza-osc) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 120px; }
.field ::placeholder { color: #8F877C; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--rocoto-claro); box-shadow: 0 0 0 3px rgba(240, 138, 93, .3); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--rocoto-claro); }
.form .btn { margin-top: 8px; background: var(--rocoto-claro); border-color: var(--rocoto-claro); color: var(--basalto); }
.form__note { margin-top: 14px; font-size: .88rem; color: var(--ceniza-osc); }

/* Pie */
.foot { padding: 64px 0 96px; background: var(--basalto); color: var(--ceniza-osc); border-top: 1px solid rgba(243, 238, 229, .1); font-size: .95rem; }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px 64px; }
.mark--foot { margin-bottom: 10px; color: var(--sillar); }
.mark--foot img { display: block; height: 30px; width: auto; }
.foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; justify-items: start; }
.foot__links a { display: inline-block; padding-block: 5px; }
.foot a { color: var(--sillar); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat; transition: background-size .35s var(--ease); }
.foot a:hover { background-size: 100% 1px; }
.foot :focus-visible { outline-color: var(--rocoto-claro); }
.foot__legal, .foot__privacy { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(243, 238, 229, .1); }
.foot__privacy { padding-top: 0; border: 0; max-width: 60em; font-size: .88rem; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--rocoto); color: var(--sillar); box-shadow: 0 12px 28px -10px rgba(28, 26, 23, .55); transition: transform .3s var(--ease); }
.wa-float .ico { width: 26px; height: 26px; }
.wa-float:hover { transform: scale(1.07); }

/* Revelado al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .steps.reveal { opacity: 1; transform: none; }
.js .rows .row:nth-child(even).reveal, .js .plans .reveal:nth-child(2), .js .logos li:nth-child(2) { transition-delay: .08s; }
.js .plans .reveal:nth-child(3) { transition-delay: .16s; }

/* 404 */
.nf { min-height: 100vh; display: grid; place-items: center; padding: 48px var(--pad); text-align: center; }
.nf h1 { margin: 0 0 18px; font-size: clamp(2.4rem, 7vw, 4.6rem); }
.nf p { color: var(--ceniza); margin-bottom: 30px; }

/* Responsive */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .ticket { max-width: 420px; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .addons { grid-template-columns: 1fr; max-width: 560px; }
  .trust, .faq, .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .top__in { justify-content: space-between; height: 62px; }
  .row { grid-template-columns: 1fr; }
  .wa-float { display: none; } /* el botón del header ya está fijo arriba; el flotante tapaba texto */
  .proof { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { left: 28px; right: auto; top: 0; bottom: 0; width: 1.5px; height: auto; transform: scaleY(0); transform-origin: top; }
  .steps.is-in::before, html:not(.js) .steps::before { transform: scaleY(1); }
  .steps li { padding-left: 84px; }
  .steps__n { position: absolute; left: 0; top: 0; }
  .logos li { grid-template-columns: 1fr; gap: 14px; }
  .foot__grid { grid-template-columns: 1fr; }
  .btn--big { width: 100%; padding: 0 18px; font-size: 1rem; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 2.35rem; }
  .ticket { transform: none; }
}

/* Sin hover real (táctil): que un toque no deje tarjetas levantadas */
@media (hover: none) {
  .btn:hover, .plan:hover, .logos li:hover, .row:hover h3 { transform: none; box-shadow: none; }
  .row:hover::before { transform: scaleX(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .steps li { opacity: 1; transform: none; }
  .progress { display: none; }
  .proof del { background-size: 100% 2px; }
  .proof ins { opacity: 1; }
  .steps::before { transform: none !important; }
}

/* Calculadora de compra */
.calc {
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(24px, 2.6vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .9fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: stretch;
  background: var(--sillar);
  border: 1px solid rgba(28, 26, 23, .22);
  border-radius: 18px;
}
.calc__config { min-width: 0; }
.calc__head h3 { font-size: 2rem; }
.calc__note { margin-top: 8px; color: var(--ceniza); font-size: .95rem; }
.calc__group {
  border: 0;
  border-top: 1px solid var(--linea);
  padding: 20px 0 0;
  margin: 22px 0 0;
  min-width: 0;
}
.calc__group legend {
  padding: 0;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: .98rem;
  color: var(--basalto);
}
.calc__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.calc__opts--plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.calc__opt {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 48px;
  padding: 11px 15px;
  border: 1px solid var(--linea);
  border-radius: 12px;
  background: var(--sillar);
  color: var(--basalto);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.calc__opt:hover { border-color: var(--basalto); background: var(--sillar-2); }
.calc__opt input {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  margin: 0;
  accent-color: var(--rocoto);
  cursor: pointer;
}
.calc__opt:has(input:checked) {
  border-color: var(--rocoto);
  background: var(--sillar-2);
  box-shadow: inset 0 0 0 1px var(--rocoto);
}
.calc__opt:has(input:focus-visible) {
  outline: 3px solid var(--rocoto);
  outline-offset: 2px;
  border-color: var(--rocoto);
}
.calc__opt:has(input:focus-visible) input:focus-visible { outline: none; }
.calc__dom { margin-top: 14px; }
.calc__dom[hidden] { display: none; }
.calc__dom-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.calc__dom-row input,
.calc__dom-row select {
  min-height: 48px;
  padding: 11px 15px;
  border: 1px solid var(--linea);
  border-radius: 12px;
  background: var(--sillar);
  color: var(--basalto);
  font: 500 .98rem/1.3 var(--sans);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.calc__dom-row input { min-width: 0; width: 100%; caret-color: var(--rocoto); }
.calc__dom-row input::placeholder { color: var(--ceniza); opacity: .7; }
.calc__dom-row select {
  appearance: none;
  padding-right: 36px;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--basalto) 50%), linear-gradient(135deg, var(--basalto) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 12px) 52%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.calc__dom-row input:hover,
.calc__dom-row select:hover { border-color: var(--basalto); }
.calc__dom-row input:focus-visible,
.calc__dom-row select:focus-visible {
  outline: none;
  border-color: var(--rocoto);
  box-shadow: 0 0 0 3px rgba(168, 54, 28, .22);
}
.calc__status {
  margin-top: 8px;
  min-height: 1.4em;
  font-size: .9rem;
  color: var(--ceniza);
}
.calc__status[data-state="ok"] { color: #245C36; font-weight: 600; }
.calc__status[data-state="error"] { color: var(--rocoto); font-weight: 600; }
.calc__status[data-state="warn"] { color: var(--ceniza); }
.calc__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: 14px;
  background: var(--basalto);
  color: var(--sillar);
  font-variant-numeric: lining-nums tabular-nums;
}
.calc__aside :focus-visible { outline-color: var(--rocoto-claro); }
.calc__sum { margin: 0; }
.calc__sum div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(243, 238, 229, .16);
  font-size: .95rem;
}
.calc__sum div:first-child { padding-top: 0; }
.calc__sum dt { margin: 0; color: var(--ceniza-osc); }
.calc__sum dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; }
.calc__sum .calc__total {
  padding: 18px 0 4px;
  border-bottom: 0;
  align-items: baseline;
}
.calc__total dt { color: var(--sillar); font-weight: 600; }
.calc__total dd {
  font: 450 clamp(2.1rem, 3.2vw, 2.7rem)/1 var(--serif);
  letter-spacing: -.03em;
  color: var(--sillar);
}
.calc__aside .btn { margin-top: 24px; }
.calc__aside .btn:hover { box-shadow: 0 12px 28px -10px rgba(240, 138, 93, .55); }
.calc__aside .btn[aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 1080px) {
  .calc { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 560px) {
  .calc__opts--plans { grid-template-columns: 1fr; }
  .calc__opt { flex-basis: 100%; }
  .calc__sum .calc__total { flex-wrap: wrap; gap: 6px 16px; }
}
@media (hover: none) {
  .calc__opt:hover { border-color: var(--linea); background: var(--sillar); }
  .calc__dom-row input:hover, .calc__dom-row select:hover { border-color: var(--linea); }
  .calc__opt:has(input:checked):hover { border-color: var(--rocoto); background: var(--sillar-2); }
  .calc__aside .btn:hover { box-shadow: none; }
}
