/* Byzoc · sitio web
   Layout: pizarra blanca. Header fijo, vistas por sección (Inicio, Industrias, Planes, Dominios),
   bloques pastel como notas adhesivas y un único toque amarillo por bloque. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/BricolageGrotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-Italic-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* Color (manual de marca Byzoc) */
  --paper: #ffffff;
  --canvas: #f7f6f1;
  --ink: #16161d;
  --ink-muted: #5b5a66;
  --line: #e6e3da;
  --sol: #ffda47;
  --cobalto: #2e44e8;
  --cobalto-hover: #1f2fb0;
  --on-cobalto: #ffffff;
  --lila: #e8e1ff;
  --menta: #d3f4e2;
  --cielo: #dbe9ff;
  --veil: rgba(22, 22, 29, 0.42);
  /* Tipografía */
  --sans: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  /* Espacio y forma */
  --s: 8px;
  --m: 16px;
  --l: 32px;
  --xl: 96px;
  --r-s: 10px;
  --r-m: 20px;
  --pill: 999px;
  --shadow: 0 1px 2px rgba(22, 22, 29, 0.06), 0 8px 24px rgba(22, 22, 29, 0.06);
  --shadow-pop: 0 2px 6px rgba(22, 22, 29, 0.06), 0 24px 64px rgba(22, 22, 29, 0.14);
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 26px;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--cobalto); }
a:hover { color: var(--cobalto-hover); }
:focus-visible { outline: 2px solid var(--cobalto); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--sol); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Tipografía ---------- */
.display, .h1, .h2 { margin: 0; text-wrap: balance; color: var(--ink); }
.display { font-size: clamp(42px, 5.4vw, 74px); line-height: 0.98; font-weight: 700; letter-spacing: -0.035em; }
.h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; font-weight: 700; letter-spacing: -0.025em; }
.h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-muted); margin: 0; max-width: 34em; text-wrap: pretty; }
.small { font-size: 14px; line-height: 20px; font-weight: 500; }
.muted { color: var(--ink-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s); font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); margin: 0; }
.acc { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.num { font-variant-numeric: tabular-nums; }

/* Resaltador amarillo: se pinta detrás de la palabra al cargar */
.mark { position: relative; z-index: 0; white-space: nowrap; padding-inline: 0.08em; }
.mark::before {
  content: ""; position: absolute; z-index: -1;
  left: -0.08em; right: -0.08em; top: 0.48em; bottom: 0.02em;
  background: var(--sol); border-radius: 0.18em;
  transform-origin: left center; animation: marker 0.9s var(--ease) 0.35s both;
}
@keyframes marker { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s);
  min-height: 48px; padding: 0 24px; border-radius: var(--pill);
  font-size: 15px; line-height: 20px; font-weight: 600; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; background: none;
  transition: transform 0.25s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg.go { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--cobalto); color: var(--on-cobalto); }
.btn-primary:hover { background: var(--cobalto-hover); color: var(--on-cobalto); box-shadow: 0 8px 24px rgba(46, 68, 232, 0.28); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2a2a35; color: var(--paper); }
.btn-outline { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { color: var(--ink); padding: 0 12px; }
.btn-ghost:hover { color: var(--cobalto); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

.price-tag {
  display: inline-flex; align-items: baseline; gap: 4px;
  background: var(--sol); color: var(--ink); border-radius: var(--pill);
  padding: 8px 18px 9px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap;
}
.price-tag b { font-size: 26px; line-height: 30px; font-variant-numeric: tabular-nums; }
.price-tag span { font-size: 15px; font-weight: 600; }

.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: var(--pill); padding: 4px 12px; font-size: 13px; line-height: 18px; font-weight: 600; background: var(--sol); color: var(--ink); white-space: nowrap; }
.badge-soft { background: var(--canvas); color: var(--ink-muted); }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico-24 { width: 24px; height: 24px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.header.scrolled { border-bottom-color: var(--line); }
.header-in { height: var(--header-h); display: flex; align-items: center; gap: var(--l); }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo svg { width: 30px; height: 30px; }
.logo svg rect { transition: transform 0.5s var(--ease); transform-origin: 30px 50px; }
.logo svg circle { transition: transform 0.5s var(--ease); transform-origin: 62px 66px; }
.logo:hover svg circle { transform: scale(1.12); }
.logo-word { font-size: 27px; line-height: 1; font-weight: 700; letter-spacing: -0.045em; padding-bottom: 3px; }

.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px; border-radius: var(--pill);
  font-size: 15px; font-weight: 500; color: var(--ink-muted); text-decoration: none; border: 0; background: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--ink); background: var(--canvas); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cobalto); margin-left: 4px; }
.nav-link .chev { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: var(--s); margin-left: auto; }
.burger { display: none; width: 44px; height: 44px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--paper); align-items: center; justify-content: center; }

/* Mega menú de industrias */
.mega {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 100%;
  padding-top: 6px; pointer-events: none;
}
.mega-panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow-pop);
  display: grid; grid-template-columns: 290px minmax(0, 1fr) minmax(0, 360px); gap: 0; overflow: hidden;
  opacity: 0; transform: translateY(-8px) scale(0.99); transform-origin: top center;
  transition: opacity 0.22s var(--ease), transform 0.32s var(--ease);
}
.mega.open { pointer-events: auto; }
.mega.open .mega-panel { opacity: 1; transform: none; }
.mega-list { list-style: none; margin: 0; padding: 12px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line); }
.mega-item {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 0; background: none;
  font-size: 15px; font-weight: 500; color: var(--ink-muted); text-align: left; text-decoration: none; white-space: nowrap; transition: background-color 0.18s, color 0.18s;
}
.mega-item .dot { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; color: var(--ink); }
.mega-item .dot .ico { width: 18px; height: 18px; }
.mega-item .arr { margin-left: auto; width: 16px; height: 16px; opacity: 0; transform: translateX(-4px); transition: opacity 0.2s, transform 0.25s var(--ease); }
.mega-item:hover, .mega-item.on { background: var(--canvas); color: var(--ink); }
.mega-item.on .arr { opacity: 1; transform: none; }
.mega-detail { padding: 28px 32px; display: flex; flex-direction: column; gap: var(--m); min-width: 0; }
.mega-detail .h2 { font-size: 26px; }
.mega-detail > .swap { flex: 1; }
.mega-plan { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--tint, var(--canvas)); }
.mega-plan small { display: block; font-size: 13px; line-height: 18px; color: var(--ink-muted); font-weight: 500; }
.mega-plan b { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mega-feats { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mega-feats li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 22px; }
.mega-feats li .ico { margin-top: 1px; color: var(--ink); }
.mega-ex { padding: 20px; background: var(--canvas); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mega-ex a.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); }
.mega-ex a.more:hover { color: var(--cobalto); }
.mega-ex a.more .ico { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.mega-ex a.more:hover .ico { transform: translateX(3px); }
.swap { animation: swapIn 0.38s var(--ease) both; }
@keyframes swapIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Menú móvil */
.drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.drawer-veil { position: absolute; inset: 0; background: var(--veil); opacity: 0; transition: opacity 0.3s; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--paper); padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 24px);
  display: flex; flex-direction: column; gap: var(--m); overflow-y: auto;
  transform: translateX(100%); transition: transform 0.4s var(--ease);
}
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-veil { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav > a, .drawer-nav > button {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 4px; border: 0; border-bottom: 1px solid var(--line);
  background: none; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); text-align: left;
}
.drawer-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px 0 16px; border-bottom: 1px solid var(--line); }
.drawer-sub a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--canvas); text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; }
.drawer-sub a .dot { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.drawer-sub a .dot .ico { width: 16px; height: 16px; }
.drawer-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Vistas ---------- */
main { display: block; }
.view { display: none; }
.view.on { display: block; animation: viewIn 0.5s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.section { padding-block: clamp(64px, 9vw, var(--xl)); }
.section-canvas { background: var(--canvas); }
.section-head { display: flex; flex-direction: column; gap: var(--m); margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }
.page-head { padding-block: clamp(48px, 7vw, 80px) clamp(32px, 4vw, 48px); display: flex; flex-direction: column; gap: var(--m); }

/* Aparición al hacer scroll: el contenido siempre está visible en reposo;
   al entrar en pantalla, sus hijos suben en cascada. */
.reveal-in > * { animation: riseIn 0.8s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero-copy .display .line { display: block; }
@media (min-width: 1100px) { .hero-copy .display .line { white-space: nowrap; } }
.hero-copy .display .w { display: inline-block; animation: rise 0.9s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(0.4em); } to { opacity: 1; transform: none; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-muted); font-size: 14px; font-weight: 500; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .ico { width: 16px; height: 16px; color: var(--ink); }
.rubro-rot { display: inline-grid; vertical-align: bottom; }
.rubro-rot > span { grid-area: 1 / 1; transition: opacity 0.45s, transform 0.55s var(--ease); }
.rubro-rot > span.out { opacity: 0; transform: translateY(-60%); }
.rubro-rot > span.wait { opacity: 0; transform: translateY(60%); }

.stage { position: relative; min-width: 0; padding: 28px 0 28px 28px; }
.stage-bg { position: absolute; inset: 0 0 0 0; border-radius: 28px; background: var(--lila); transition: background-color 0.8s var(--ease); }
.stage-frame { position: relative; }
.sticker {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  border-radius: 14px; padding: 12px 16px; font-size: 14px; line-height: 18px; font-weight: 600; box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}
.sticker .ico { width: 18px; height: 18px; }
.sticker-a { left: -14px; bottom: 6%; background: var(--paper); transform: rotate(-3deg); }
.sticker-b { right: -10px; top: -14px; background: var(--sol); border-radius: var(--pill); padding: 10px 16px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* Marco de navegador */
.browser { background: var(--paper); border-radius: 16px; box-shadow: var(--shadow-pop); overflow: hidden; border: 1px solid rgba(22, 22, 29, 0.06); }
.browser-bar { height: 36px; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: var(--paper); border-bottom: 1px solid var(--line); }
.browser-dots { display: flex; gap: 6px; flex: none; }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser-url { flex: 1; min-width: 0; height: 22px; border-radius: var(--pill); background: var(--canvas); display: flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 12px; color: var(--ink-muted); overflow: hidden; white-space: nowrap; }
.browser-url .ico { width: 12px; height: 12px; }
.browser-body { position: relative; }
.browser-body .ms { transition: opacity 0.5s var(--ease); }
.browser-body .ms.leaving { position: absolute; inset: 0; opacity: 0; }

/* ---------- Mini sitio de ejemplo (se escala con el contenedor) ---------- */
.ms {
  container-type: inline-size;
  background: var(--ms-bg); color: var(--ms-fg);
  aspect-ratio: 16 / 11; overflow: hidden; position: relative;
  font-family: var(--sans);
}
.ms-in { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 3.2cqw 4.4cqw; gap: 3.4cqw; }
.ms-nav { display: flex; align-items: center; gap: 2.4cqw; font-size: 1.9cqw; line-height: 1; }
.ms-logo { font-weight: 700; font-size: 2.5cqw; letter-spacing: -0.03em; white-space: nowrap; display: inline-flex; align-items: center; gap: 1cqw; }
.ms-logo i { width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: var(--ms-acc); display: inline-block; }
.ms-links { display: flex; gap: 2.6cqw; margin-left: auto; opacity: 0.7; white-space: nowrap; }
.ms-cta { background: var(--ms-acc); color: var(--ms-on); border-radius: 99px; padding: 1.2cqw 2.4cqw; font-weight: 600; white-space: nowrap; font-size: 1.8cqw; line-height: 1; }
.ms-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3cqw; align-items: center; flex: 1; min-height: 0; }
.ms-copy { display: flex; flex-direction: column; gap: 1.8cqw; align-items: flex-start; }
.ms-kick { font-size: 1.7cqw; line-height: 1; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.66; margin: 0; }
.ms-title { margin: 0; font-size: 5.4cqw; line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; }
.ms-title.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; font-size: 5.8cqw; }
.ms-sub { margin: 0; font-size: 1.95cqw; line-height: 1.45; opacity: 0.78; max-width: 30ch; }
.ms-hero .ms-cta { font-size: 2cqw; padding: 1.6cqw 3cqw; }
.ms-art { position: relative; height: 100%; min-height: 0; display: grid; place-items: center; }
.ms-art svg { width: 100%; height: 100%; max-height: 34cqw; }
.ms-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8cqw; }
.ms-card { background: var(--ms-card); border-radius: 1.6cqw; padding: 1.6cqw; display: flex; flex-direction: column; gap: 0.9cqw; font-size: 1.75cqw; line-height: 1.25; }
.ms-card b { font-weight: 600; font-size: 1.9cqw; }
.ms-card .ms-pic { aspect-ratio: 4 / 2.6; border-radius: 1.1cqw; background: var(--ms-soft); position: relative; overflow: hidden; }
.ms-card .ms-pic::after { content: ""; position: absolute; width: 42%; aspect-ratio: 1; border-radius: 50%; background: var(--ms-acc); opacity: 0.85; left: 50%; top: 58%; transform: translate(-50%, -50%); }
.ms-card .ms-pic.p2::after { border-radius: 1cqw; width: 34%; transform: translate(-50%, -50%) rotate(12deg); }
.ms-card .ms-pic.p3::after { width: 22%; aspect-ratio: 1 / 2; border-radius: 99px; }
.ms-card .ms-price { font-weight: 700; color: var(--ms-acc-text); }
.ms-card .ms-ic { width: 3.4cqw; height: 3.4cqw; border-radius: 1cqw; background: var(--ms-soft); display: grid; place-items: center; }
.ms-card .ms-ic i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: var(--ms-acc); }
.ms-card span { opacity: 0.72; }
.ms-list { display: flex; flex-direction: column; background: var(--ms-card); border-radius: 1.6cqw; padding: 0.6cqw 2cqw; }
.ms-list div { display: flex; align-items: baseline; gap: 1.4cqw; padding: 1.25cqw 0; font-size: 1.9cqw; line-height: 1; border-bottom: 1px solid var(--ms-line); }
.ms-list div:last-child { border-bottom: 0; }
.ms-list div em { font-style: normal; opacity: 0.6; font-size: 1.6cqw; }
.ms-list div b { margin-left: auto; font-weight: 700; color: var(--ms-acc-text); }

/* ---------- Franja "todo incluido" ---------- */
.incl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--m); }
.incl-item { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line); transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.incl-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.incl-item .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.incl-item h3 { margin: 0; font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }
.incl-item p { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-muted); }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--m); counter-reset: paso; }
.step { position: relative; border-radius: var(--r-m); padding: 32px; display: flex; flex-direction: column; gap: 12px; min-height: 240px; box-shadow: var(--shadow); }
.step:nth-child(1) { background: var(--lila); }
.step:nth-child(2) { background: var(--cielo); }
.step:nth-child(3) { background: var(--menta); }
.step-n { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 0.9; letter-spacing: -0.02em; }
.step h3 { margin: auto 0 0; font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 23px; }

/* ---------- Industrias ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--m); }
.ind-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r-m);
  text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.ind-card::before { content: ""; position: absolute; inset: 0; background: var(--tint); opacity: 0; transition: opacity 0.35s; z-index: 0; }
.ind-card > * { position: relative; z-index: 1; }
.ind-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.ind-card:hover::before { opacity: 1; }
.ind-card .dot { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); transition: background-color 0.3s; }
.ind-card:hover .dot { background: var(--paper); }
.ind-card h3 { margin: 0; font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; }
.ind-card p { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.ind-card .go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.ind-card .go .ico { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.ind-card:hover .go .ico { transform: translateX(4px); }

.ind-hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 6vw, 72px); }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-muted); }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--cobalto); }
.crumbs .ico { width: 14px; height: 14px; }
.ind-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ind-stage { position: relative; padding: 24px; border-radius: 28px; background: var(--tint); min-width: 0; }
.ind-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--m); padding-bottom: clamp(64px, 9vw, var(--xl)); }
.feat-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--m); }
.feat { border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.feat h3 { margin: 0; font-size: 17px; line-height: 23px; font-weight: 600; }
.feat p { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.suggest { align-self: start; background: var(--canvas); border-radius: var(--r-m); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.suggest-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 15px; }
.suggest-row b { font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: var(--pill); padding: 6px 12px; background: var(--paper); font-size: 14px; font-weight: 500; box-shadow: var(--shadow); }
.chip .ico { width: 14px; height: 14px; }
.ind-more { display: flex; flex-wrap: wrap; gap: 8px; }
.ind-more a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: var(--pill); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500; transition: background-color 0.2s, border-color 0.2s; }
.ind-more a:hover { background: var(--canvas); border-color: var(--canvas); color: var(--ink); }
.ind-more a .dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.ind-more a .dot .ico { width: 14px; height: 14px; }

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--m); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: 24px;
  background: var(--paper); border: 1.5px solid var(--line); cursor: pointer;
  transition: border-color 0.25s, transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.sel { border-color: var(--ink); box-shadow: var(--shadow); }
.plan.featured { background: var(--lila); border-color: transparent; }
.plan.featured.sel { border-color: var(--ink); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.plan-name { font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.015em; }
.plan-radio { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ink-muted); display: grid; place-items: center; flex: none; transition: border-color 0.2s; }
.plan-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform 0.3s var(--ease); }
.plan.sel .plan-radio { border-color: var(--ink); }
.plan.sel .plan-radio::after { transform: scale(1); }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .cur { font-size: 18px; font-weight: 600; }
.plan-price .amt { font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan-price .per { font-size: 16px; color: var(--ink-muted); font-weight: 500; }
.plan-desc { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 22px; min-height: 44px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 15px; line-height: 22px; }
.plan li .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--ink); }
.plan li .li-strong { font-weight: 600; display: block; }
.plan li .li-note { display: block; font-size: 13px; line-height: 19px; color: var(--ink-muted); margin-top: 2px; }
.ind-stage-wrap { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ind-note { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.ind-note .ico { width: 16px; height: 16px; color: var(--ink); flex: none; }
.suggest-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.suggest-list li { display: flex; gap: 10px; font-size: 15px; line-height: 22px; }
.suggest-list li .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--ink); }
.plan .btn { margin-top: auto; }

.mods-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--l); flex-wrap: wrap; margin: clamp(56px, 8vw, 88px) 0 24px; }
.mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mod {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 16px; text-align: left;
  background: var(--paper); border: 1.5px solid var(--line); transition: border-color 0.2s, background-color 0.25s, transform 0.35s var(--ease);
}
.mod:hover { transform: translateY(-2px); border-color: var(--ink-muted); }
.mod[aria-pressed="true"] { border-color: var(--ink); background: var(--canvas); }
.mod-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mod-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; transition: transform 0.4s var(--ease); }
.mod[aria-pressed="true"] .mod-ic { transform: rotate(-6deg) scale(1.04); }
.mod-check { width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--ink-muted); display: grid; place-items: center; transition: background-color 0.2s, border-color 0.2s; }
.mod-check .ico { width: 15px; height: 15px; stroke-width: 2.5; color: var(--paper); transform: scale(0); transition: transform 0.3s var(--ease); }
.mod[aria-pressed="true"] .mod-check { background: var(--ink); border-color: var(--ink); }
.mod[aria-pressed="true"] .mod-check .ico { transform: scale(1); }
.mod h3 { margin: 0; font-size: 16px; line-height: 22px; font-weight: 600; }
.mod p { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.mod-price { margin-top: auto; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mod-price.free { display: inline-flex; align-self: flex-start; }

.summary {
  position: sticky; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); z-index: 20; margin-top: 32px;
  display: flex; align-items: center; gap: var(--l); padding: 14px 14px 14px 28px; border-radius: var(--pill);
  background: var(--ink); color: var(--paper); box-shadow: var(--shadow-pop);
}
.summary-lines { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.summary-lines .t { font-size: 14px; line-height: 20px; color: #c9c8d2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.summary-lines .t b { color: var(--paper); font-weight: 600; }
.summary-total { display: flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.summary-total b { font-size: 28px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.summary-total span { font-size: 14px; color: #c9c8d2; }
.summary .btn-primary { min-height: 52px; padding: 0 28px; }
.bump { animation: bump 0.45s var(--ease); }
/* Sin módulos, la barra del total queda fija debajo de los planes (no flota sobre ellos) */
.summary.static { position: static; margin-top: 24px; }
@keyframes bump { 30% { transform: scale(1.08); } }

.all-incl { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; color: var(--ink-muted); font-size: 15px; }
.all-incl span { display: inline-flex; align-items: center; gap: 8px; }
.all-incl .ico { width: 18px; height: 18px; color: var(--ink); }

/* ---------- Dominios ---------- */
.dom-hero { background: var(--cielo); border-radius: 28px; padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 64px); display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; position: relative; overflow: hidden; }
.dom-hero::before, .dom-hero::after { content: ""; position: absolute; border-radius: 50%; background: var(--paper); opacity: 0.45; }
.dom-hero::before { width: 280px; height: 280px; left: -90px; bottom: -140px; }
.dom-hero::after { width: 160px; height: 160px; right: 6%; top: -70px; background: var(--sol); opacity: 0.6; }
.dom-hero > * { position: relative; z-index: 1; }
.dom-form { width: 100%; max-width: 720px; display: flex; gap: 8px; padding: 8px; border-radius: var(--pill); background: var(--paper); box-shadow: var(--shadow-pop); }
.dom-form label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding-left: 16px; }
.dom-form label .ico { color: var(--ink-muted); }
.dom-form input { flex: 1; min-width: 0; border: 0; outline: none; background: none; height: 48px; font-size: 18px; }
.dom-form input::placeholder { color: #8c8b96; }
.dom-form:focus-within { outline: 2px solid var(--cobalto); outline-offset: 2px; }
.dom-hint { font-size: 14px; color: var(--ink-muted); margin: 0; }
.dom-hint button { border: 0; background: none; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.dom-results { max-width: 880px; margin: 32px auto 0; display: flex; flex-direction: column; gap: 10px; }
.dom-note { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-muted); margin: 0 0 4px; }
.dom-note .ico { width: 16px; height: 16px; }
.dom-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px;
  padding: 14px 14px 14px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper);
  animation: swapIn 0.45s var(--ease) both;
}
.dom-row.top { border: 1.5px solid var(--ink); padding-block: 18px; }
.dom-name { font-size: 18px; line-height: 24px; font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.dom-name small { display: block; font-size: 13px; font-weight: 500; color: var(--ink-muted); line-height: 18px; margin-top: 2px; }
.dom-state { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; border-radius: var(--pill); padding: 4px 10px; white-space: nowrap; }
.dom-state.libre { background: var(--menta); }
.dom-state.tomado { background: var(--canvas); color: var(--ink-muted); }
.dom-state.consultar { background: var(--cielo); }
.dom-state .ico { width: 14px; height: 14px; }
.dom-buy { display: flex; align-items: center; gap: 14px; justify-content: flex-end; }
.dom-buy .p { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dom-buy .p span { font-weight: 500; color: var(--ink-muted); font-size: 14px; }
.dom-buy .btn.added { background: var(--menta); border-color: var(--menta); color: var(--ink); }
.skeleton { height: 64px; border-radius: 16px; background: var(--canvas); animation: pulse 1.1s ease-in-out infinite alternate; }
.skeleton:nth-child(2) { animation-delay: 0.15s; }
.skeleton:nth-child(3) { animation-delay: 0.3s; }
@keyframes pulse { from { opacity: 1; } to { opacity: 0.45; } }
.dom-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--m); }
.dom-card { border-radius: var(--r-m); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.dom-card h3 { margin: 0; font-size: 20px; line-height: 26px; font-weight: 600; }
.dom-card p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 23px; }

/* ---------- Precio y FAQ (inicio) ---------- */
.cta-band { background: var(--ink); color: var(--paper); border-radius: 32px; padding: clamp(40px, 7vw, 80px) clamp(24px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--l); align-items: center; position: relative; overflow: hidden; }
.cta-band .h1 { color: var(--paper); }
.cta-band p { color: #c9c8d2; margin: 0; font-size: 18px; line-height: 28px; }
.cta-band .right { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cta-band .price-tag b { font-size: 40px; line-height: 44px; }
.cta-band .orb { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--sol); right: -120px; bottom: -200px; opacity: 0.9; }
.cta-band .pill-shape { position: absolute; width: 90px; height: 300px; border-radius: 99px; background: #2a2a35; right: 180px; top: -120px; }
.cta-band > :not(.orb):not(.pill-shape) { position: relative; z-index: 1; }

.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--m); padding: 22px 0; font-size: 19px; line-height: 26px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; border-radius: 50%; background: var(--canvas); display: grid; place-items: center; flex: none; transition: transform 0.35s var(--ease), background-color 0.2s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--sol); }
.faq details p { margin: 0 0 22px; color: var(--ink-muted); max-width: 62ch; animation: swapIn 0.35s var(--ease) both; }

/* ---------- Footer ---------- */
.footer { background: var(--canvas); padding-block: 64px calc(env(safe-area-inset-bottom, 0px) + 40px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--l); }
.footer h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: var(--ink); text-decoration: none; font-size: 15px; }
.footer a:hover { color: var(--cobalto); }
.footer-claim { margin: 16px 0 0; color: var(--ink-muted); max-width: 30ch; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--ink-muted); }

/* ---------- Modales ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: var(--gutter); pointer-events: none; }
.modal-veil { position: absolute; inset: 0; background: var(--veil); opacity: 0; transition: opacity 0.3s; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal-card {
  position: relative; width: min(520px, 100%); max-height: calc(100dvh - 2 * var(--gutter)); overflow-y: auto;
  background: var(--paper); border-radius: 28px; padding: clamp(24px, 5vw, 40px); box-shadow: var(--shadow-pop);
  opacity: 0; transform: translateY(16px) scale(0.97); transition: opacity 0.25s var(--ease), transform 0.4s var(--ease);
  display: flex; flex-direction: column; gap: 20px;
}
.modal.open { pointer-events: auto; }
.modal.open .modal-veil { opacity: 1; }
.modal.open .modal-card { opacity: 1; transform: none; }
.modal-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--canvas); display: grid; place-items: center; transition: background-color 0.2s, transform 0.3s var(--ease); }
.modal-x:hover { background: var(--line); transform: rotate(90deg); }
.modal-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--sol); animation: pop 0.6s var(--ease) 0.1s both; }
.modal-icon .ico { width: 26px; height: 26px; }
@keyframes pop { from { transform: scale(0.4) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h2 { margin: 0; font-size: 30px; line-height: 34px; font-weight: 700; letter-spacing: -0.02em; padding-right: 40px; }
.modal-msg { margin: 0; font-size: 17px; line-height: 26px; color: var(--ink); background: var(--menta); border-radius: 16px; padding: 16px 18px; display: flex; gap: 12px; }
.modal-msg .ico { margin-top: 3px; }
.order { border: 1px solid var(--line); border-radius: 16px; padding: 6px 18px; }
.order-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 15px; line-height: 22px; border-bottom: 1px solid var(--line); }
.order-row:last-child { border-bottom: 0; }
.order-row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.order-row.total { font-size: 17px; font-weight: 700; }
.order-row .muted { font-size: 14px; }
.modal-actions { display: flex; flex-direction: column; gap: 8px; }
.modal-fine { margin: 0; text-align: center; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.pay-note { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); background: var(--canvas); border-radius: 12px; padding: 12px 14px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; line-height: 20px; font-weight: 500; }
.field input { height: 48px; border-radius: var(--r-s); border: 1px solid var(--ink-muted); background: var(--paper); padding: 0 16px; font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus { outline: none; border-color: var(--cobalto); box-shadow: 0 0 0 3px rgba(46, 68, 232, 0.16); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field .err { font-size: 13px; line-height: 18px; color: #b3261e; margin: 0; }
.login-form { display: flex; flex-direction: column; gap: 16px; }
.login-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.login-row a { font-weight: 600; text-decoration: none; }
.login-alt { text-align: center; font-size: 14px; color: var(--ink-muted); margin: 0; }
.login-alt a { font-weight: 600; text-decoration: none; }
.login-done { display: flex; flex-direction: column; gap: 12px; }

.toast {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px 12px 14px; border-radius: var(--pill);
  background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 500; box-shadow: var(--shadow-pop);
  transform: translate(-50%, 140%); opacity: 0; transition: transform 0.45s var(--ease), opacity 0.3s; max-width: calc(100% - 32px);
}
.toast .ok { width: 26px; height: 26px; border-radius: 50%; background: var(--sol); color: var(--ink); display: grid; place-items: center; flex: none; }
.toast .ok .ico { width: 15px; height: 15px; stroke-width: 2.5; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast button { border: 0; background: none; color: var(--sol); font-weight: 600; padding: 0 0 0 6px; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .mega-panel { grid-template-columns: 230px minmax(0, 1fr); }
  .mega-ex { display: none; }
  .incl, .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav, .header-actions .btn-login-txt { display: none; }
  .burger { display: inline-flex; }
  .header-in { gap: var(--m); }
  .hero-grid, .ind-hero, .ind-body, .cta-band { grid-template-columns: minmax(0, 1fr); }
  .plans, .steps, .dom-cols, .feat-list { grid-template-columns: minmax(0, 1fr); }
  .plan-desc { min-height: 0; }
  .step { min-height: 0; }
  .step h3 { margin-top: 12px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage { padding: 18px 0 18px 18px; }
}
@media (max-width: 640px) {
  .incl, .ind-grid, .mods { grid-template-columns: minmax(0, 1fr); }
  .summary { border-radius: 24px; flex-wrap: wrap; padding: 16px; gap: 12px; }
  .summary-lines { flex-basis: 100%; }
  .summary-total { flex: 1; }
  .summary-total b { font-size: 24px; }
  .summary .btn-primary { min-height: 48px; padding: 0 20px; }
  .summary-lines .t { font-size: 13px; line-height: 18px; }
  .dom-form { flex-direction: column; border-radius: 22px; }
  .dom-form label { padding: 0 8px; }
  .dom-form .btn { width: 100%; }
  .dom-row { grid-template-columns: minmax(0, 1fr) auto; padding: 14px; }
  .dom-buy { grid-column: 1 / -1; justify-content: space-between; }
  .sticker-a { left: -6px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 26px; }
  .plan-price .amt { font-size: 48px; }
}
