.hero {
  position: relative;
  padding: clamp(1.35rem, 2.8vw, 2.4rem) 0 0;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 55% 48% at 88% 18%, rgba(118, 214, 59, 0.16), transparent 58%),
    radial-gradient(ellipse 40% 35% at 12% 70%, rgba(29, 29, 27, 0.04), transparent 60%),
    linear-gradient(rgba(29, 29, 27, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 29, 27, 0.035) 1px, transparent 1px),
    var(--color-bg);
  background-size: auto, auto, 28px 28px, 28px 28px, auto;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 1.2fr);
  gap: clamp(1.5rem, 4.5vw, 3.5rem);
  align-items: center;
  padding-bottom: clamp(1.5rem, 3vw, 2.6rem);
  min-height: clamp(28rem, 62vh, 36rem);
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: var(--fs-hero);
  max-width: 14ch;
  letter-spacing: -0.055em;
  line-height: 0.9;
  margin: 0.55rem 0 0;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  color: var(--color-brand-dark);
}

.hero__lead {
  margin: 1.35rem 0 1.85rem;
  font-size: clamp(1.1rem, 1.5vw, 1.28rem);
  max-width: 34ch;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__actions .btn {
  min-height: 3rem;
  transition: transform var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast) var(--ease-out);
}

.hero__actions .btn:hover {
  transform: translate(-2px, -2px);
}

.hero__actions .btn--primary:hover {
  box-shadow: 5px 5px 0 var(--color-brand-dark);
}

.hero__art {
  min-width: 0;
  position: relative;
}

.hero-hud,
.hero-scene {
  position: relative;
  width: min(100%, 46rem);
  margin-left: auto;
}

.hero-scene__glow {
  position: absolute;
  inset: 18% 10% 12% 14%;
  background: radial-gradient(circle, rgba(118, 214, 59, 0.34), transparent 70%);
  filter: blur(34px);
  pointer-events: none;
  z-index: 0;
}

.hero-scene__grid {
  position: absolute;
  inset: 8% 4% 6% 8%;
  z-index: 0;
  opacity: 0.35;
  background:
    linear-gradient(rgba(118, 214, 59, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 214, 59, 0.12) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-scene__frame {
  position: relative;
  z-index: 1;
  display: grid;
  background:
    linear-gradient(165deg, rgba(118, 214, 59, 0.08), transparent 42%),
    var(--color-bg-panel);
  color: var(--color-brand-white);
  border: 3px solid var(--color-brand-dark);
  box-shadow:
    10px 10px 0 var(--color-brand-dark),
    0 0 0 1px rgba(118, 214, 59, 0.25) inset;
  overflow: visible;
}

.hero-scene__chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-bottom: 2px solid rgba(253, 253, 253, 0.12);
  background: rgba(0, 0, 0, 0.38);
}

.hero-scene__chrome .px-dots span:last-child {
  background: var(--color-brand-accent);
}

.hero-scene__chrome .px-label {
  color: rgba(253, 253, 253, 0.78);
}

.hero-scene__bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 1rem;
}

.hero-scene__bars span {
  width: 4px;
  background: var(--color-brand-accent);
  transform: scaleY(0.22);
  transform-origin: bottom;
  animation: signal-rise 0.75s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}

.hero-scene__bars span:nth-child(1) { height: 40%; animation-delay: 0.05s; }
.hero-scene__bars span:nth-child(2) { height: 62%; animation-delay: 0.14s; }
.hero-scene__bars span:nth-child(3) { height: 82%; animation-delay: 0.23s; }
.hero-scene__bars span:nth-child(4) { height: 100%; animation-delay: 0.32s; }

.hero-scene__stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 3vw, 2.4rem) 1.2rem clamp(5.5rem, 9vw, 6.8rem);
  min-height: clamp(20rem, 38vw, 26rem);
}

.hero-scene__digits {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 5.4rem;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 124% 96% at 50% 44%, transparent 18%, #000 34%, #000 92%, transparent 100%);
}

.hero-scene__digit {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  gap: 0.22rem;
  color: rgba(176, 204, 162, 0.92);
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
  font-size: var(--size, 0.68rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: hero-digit-drift var(--dur) linear var(--delay) infinite;
}

.hero-scene__digit span {
  display: block;
}

@keyframes hero-digit-drift {
  0% {
    transform: translate3d(0, 0, 0) rotate(var(--tilt));
    opacity: 0;
  }

  8% {
    opacity: 0;
  }

  20% {
    opacity: var(--peak);
  }

  44% {
    opacity: calc(var(--peak) * 0.66);
  }

  64%,
  100% {
    transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--tilt));
    opacity: 0;
  }
}

.hero-scene__mark {
  position: relative;
  z-index: 1;
  width: min(100%, 24rem);
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 0 36px rgba(118, 214, 59, 0.38));
  transition: filter var(--motion-base) var(--ease-out), transform var(--motion-base) var(--ease-out);
}

.hero-scene:hover .hero-scene__mark,
.hero-scene:focus-within .hero-scene__mark {
  filter: drop-shadow(0 0 48px rgba(118, 214, 59, 0.52));
  transform: translateY(-5px);
}

.hero-scene__signals {
  position: absolute;
  z-index: 2;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.hero-scene__signal {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem 0.6rem;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(253, 253, 253, 0.16);
  color: inherit;
  text-decoration: none;
  min-width: 0;
  transition: border-color var(--motion-fast) var(--ease-out), transform var(--motion-fast) var(--ease-out);
}

.hero-scene__signal:hover,
.hero-scene__signal:focus-visible {
  border-color: var(--color-brand-accent);
  transform: translateY(-2px);
}

.hero-scene__ico {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  color: var(--color-brand-white);
  background: rgba(118, 214, 59, 0.14);
  border: 2px solid var(--color-brand-accent);
}

.hero-scene__meta {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.hero-scene__meta .px-label {
  margin: 0;
  font-size: 0.62rem;
  color: rgba(253, 253, 253, 0.58);
}

.hero-scene__meta strong {
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 1.2vw, 1.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-brand-accent);
  line-height: 1.1;
  white-space: nowrap;
}

.ticker {
  overflow: hidden;
  max-width: 100%;
  border-block: 3px solid var(--color-brand-dark);
  background: var(--color-bg-panel);
  color: var(--color-brand-white);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll var(--ticker-duration, 40s) linear infinite;
  will-change: transform;
}

.ticker__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.ticker__item,
.ticker__sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1;
  padding: 0.62rem 0;
}

.ticker__item {
  gap: 0.4rem;
  font-family: var(--font-pixel);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(253, 253, 253, 0.62);
  cursor: default;
}

.ticker__ico {
  display: inline-flex;
  color: var(--color-brand-white);
  opacity: 0.72;
}

@media (min-width: 768px) {
  .ticker__ico {
    animation: ticker-glow 5.6s steps(2, end) infinite;
  }

  .ticker__item:nth-child(4n + 3) .ticker__ico {
    animation-delay: 1.8s;
  }

  .ticker__item:nth-child(4n + 5) .ticker__ico {
    animation-delay: 3.6s;
  }
}

@keyframes ticker-glow {
  50% { opacity: 1; }
}

.ticker__ico .ui-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.ticker__mark--accent {
  color: var(--color-brand-accent);
  font-weight: 700;
}

.ticker__mark--light {
  color: var(--color-brand-white);
  font-weight: 700;
}

.ticker__sep {
  width: 3rem;
  flex: 0 0 3rem;
}

.ticker__sep::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  background: var(--color-brand-accent);
  opacity: 0.85;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 70%, 70% 100%, 0 100%);
}

.section--muted {
  background: var(--color-bg-muted);
}

.section--coverage {
  background:
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(118, 214, 59, 0.08), transparent 55%),
    var(--color-bg-muted);
}

.coverage-landing {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.35rem;
  align-items: stretch;
}

.coverage-landing__intro .section-heading {
  max-width: min(100%, 46rem);
  margin-bottom: 1.15rem;
}

.coverage-landing__cue {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.coverage-landing__cue li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  background: transparent;
  border: 1px solid var(--info-border);
  box-shadow: none;
  color: rgba(29, 29, 27, var(--ink-secondary));
  font-weight: 700;
  font-size: 1.02rem;
  cursor: default;
}

.coverage-landing__cue-ico {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: rgba(29, 29, 27, var(--ink-secondary));
  background: var(--info-fill);
  border: 1px solid var(--info-border);
}

.section--coverage .section-heading,
#por-que-friki .section-heading,
#ahorro .section-heading,
#ayuda .section-heading {
  max-width: min(100%, 46rem);
}

.section--coverage .section-heading h2,
#por-que-friki .section-heading h2 {
  letter-spacing: -0.03em;
}

.benefits {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.15rem;
}

.benefit {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.55rem 1.45rem 1.6rem;
  background: var(--color-bg);
  border: 2px solid transparent;
  min-height: 100%;
  transition: transform var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast) var(--ease-out);
}

.benefit:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--color-brand-dark);
}

.benefit__index {
  margin: 0;
  color: var(--color-section-label);
}

.benefit--feature {
  grid-row: 1 / 3;
  justify-content: flex-end;
  padding: 2.1rem 1.8rem 1.95rem;
  border-color: var(--color-brand-dark);
  gap: 1.35rem;
}

.benefit--feature .benefit__icon {
  width: 4.5rem;
  height: 4.5rem;
}

.benefit--tall {
  grid-row: 1 / 3;
  justify-content: flex-end;
  padding: 1.8rem 1.5rem 1.7rem;
}

.benefit--wide {
  grid-column: 2 / 4;
  flex-direction: row;
  align-items: center;
  gap: 1.35rem;
  border-color: var(--color-brand-dark);
  background:
    linear-gradient(90deg, rgba(118, 214, 59, 0.12), transparent 42%),
    var(--color-bg-soft);
}

.benefit--regular {
  border-color: var(--color-border-strong);
}

.benefit--dark {
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(118, 214, 59, 0.16), transparent 55%),
    var(--color-bg-panel);
  color: var(--color-brand-white);
  box-shadow: 8px 8px 0 var(--color-brand-accent);
}

.benefit--dark:hover {
  box-shadow: 10px 10px 0 var(--color-brand-accent);
}

.benefit--dark .benefit__index {
  color: rgba(118, 214, 59, 0.7);
}

.benefit--accent {
  background: var(--color-bg);
  border-color: var(--color-brand-accent);
  border-width: 3px;
  box-shadow: 5px 5px 0 var(--color-brand-dark);
}

.benefit--soft {
  background: var(--color-bg-soft);
}

.benefit__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  background: transparent;
  border: 0;
  flex: 0 0 auto;
  color: var(--color-brand-dark);
}

.benefit--dark .benefit__icon {
  background: rgba(118, 214, 59, 0.12);
  border: 2px solid var(--color-brand-accent);
  color: var(--color-brand-white);
  width: 4.5rem;
  height: 4.5rem;
}

.benefit--feature h3,
.benefit--tall h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  max-width: 100%;
}

.benefit h3 {
  font-size: 1.35rem;
  margin: 0 0 0.45rem;
  letter-spacing: -0.03em;
}

.benefit p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 36ch;
  line-height: 1.45;
}

.benefit--dark p {
  color: var(--color-text-muted-on-dark);
}

.section--savings {
  background:
    linear-gradient(180deg, rgba(118, 214, 59, 0.14), transparent 11rem),
    var(--color-bg);
}

.section--savings-featured {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 8vw, 7rem);
  border-top: 3px solid var(--color-brand-dark);
  border-bottom: 3px solid var(--color-brand-dark);
  background:
    radial-gradient(circle at 8% 18%, rgba(118, 214, 59, 0.22) 0 0.4rem, transparent 0.45rem),
    radial-gradient(circle at 91% 78%, rgba(118, 214, 59, 0.18) 0 0.5rem, transparent 0.55rem),
    linear-gradient(135deg, rgba(118, 214, 59, 0.18), transparent 38%),
    linear-gradient(315deg, rgba(118, 214, 59, 0.1), transparent 35%),
    var(--color-bg);
}

.section--savings-featured .section-heading {
  max-width: 54rem;
  margin-inline: auto;
  text-align: center;
}

.section--savings-featured .section-heading h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.98;
  text-wrap: balance;
}

.section--savings-featured .section-heading__intro {
  max-width: 46rem;
  margin-inline: auto;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.savings__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-inline: auto;
  padding: 0.45rem 0.75rem;
  border: 2px solid var(--color-brand-dark);
  background: var(--color-brand-accent);
  color: var(--color-brand-dark);
  box-shadow: 4px 4px 0 var(--color-brand-dark);
}

.savings__eyebrow span {
  font-size: 0.72em;
}

@media (min-width: 1024px) {
  .section--savings {
    position: relative;
  }

  .section--savings > .wrap {
    position: relative;
    z-index: 1;
  }

  .section--savings::before,
  .section--savings::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 6px;
    height: 6px;
    background: var(--color-brand-accent);
    pointer-events: none;
    animation: ambient-pixel 18s linear infinite;
  }

  .section--savings::before {
    top: 1rem;
    right: 1.4rem;
  }

  .section--savings::after {
    bottom: 1rem;
    left: 1.4rem;
    animation-delay: -9s;
  }
}

@keyframes ambient-pixel {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.22;
  }

  50% {
    transform: translate3d(0, -6px, 0);
    opacity: 0.62;
  }
}

#ahorro .section-heading h2 {
  letter-spacing: -0.03em;
}

.savings {
  --sav-title: var(--fs-xl);
  --sav-text: var(--fs-md);
  --sav-figure: clamp(2.15rem, 7.2vw, 3.35rem);
  --sav-figure-2: clamp(1.35rem, 3.4vw, 1.75rem);
  max-width: 56rem;
  margin: 1.6rem auto 0;
  padding: clamp(1.35rem, 3vw, 2rem);
  background:
    linear-gradient(180deg, rgba(118, 214, 59, 0.055), transparent 9rem),
    var(--color-brand-white);
  border: 4px solid var(--color-brand-dark);
  box-shadow:
    12px 12px 0 var(--color-brand-dark),
    inset 0 0 0 3px rgba(118, 214, 59, 0.18);
}

.savings__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
}

.savings__pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.4rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--info-border);
  background: var(--info-fill);
  box-shadow: none;
  color: rgba(29, 29, 27, var(--ink-secondary));
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.25;
  cursor: default;
}

.savings__pills .ui-icon {
  display: block;
  flex: 0 0 auto;
}

.savings__progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  align-items: stretch;
}

.savings__progress button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  width: 100%;
  height: 100%;
  min-height: 4.5rem;
  padding: 0.7rem 0.55rem;
  border: 2px solid var(--color-brand-dark);
  background: var(--color-bg-muted);
  color: var(--color-text);
  font: inherit;
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
}

.savings__progress button:focus-visible {
  outline: 3px solid var(--color-brand-accent);
  outline-offset: 2px;
}

.savings__progress-n {
  font-family: var(--font-pixel);
  font-size: var(--fs-md);
  letter-spacing: 0.06em;
  line-height: 1;
}

.savings__progress li.is-done button {
  background: var(--color-brand-dark);
  color: var(--color-brand-white);
}

.savings__progress li.is-current button {
  background: var(--color-brand-accent);
  color: var(--color-brand-dark);
}

.savings__progress li.is-done .savings__progress-n {
  color: var(--color-brand-accent);
}

.savings__progress li.is-locked button {
  background: transparent;
  color: rgba(29, 29, 27, var(--ink-tertiary));
  border-color: var(--info-border);
  box-shadow: none;
  cursor: default;
}

.savings__progress li.is-locked button:hover {
  background: transparent;
  color: rgba(29, 29, 27, var(--ink-tertiary));
}

.savings__stage {
  display: grid;
  gap: 1.25rem;
  overflow-anchor: none;
}

.savings__form,
.savings__outcome {
  overflow-anchor: none;
}

.savings__form,
.savings__result {
  min-width: 0;
}

.savings__ask,
.savings__result-title,
.savings__close-title,
.savings__pick-title {
  margin: 0 0 0.35rem;
  font-size: var(--sav-title);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.savings__block {
  margin: 0 0 1.15rem;
  padding: 0 0 1.15rem;
  border: 0;
  border-bottom: 2px solid rgba(29, 29, 27, 0.1);
  min-width: 0;
}

.savings__block.is-done {
  opacity: 0.78;
}

.savings__block.is-done:hover,
.savings__block.is-done:focus-within {
  opacity: 1;
}

.savings__block.is-enter {
  animation: savings-reveal 0.28s ease;
}

@keyframes savings-reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.savings__block:last-of-type {
  margin-bottom: 0.85rem;
  padding-bottom: 0;
  border-bottom: 0;
}

.savings__block legend,
.savings__lines-head h4,
.savings__price-label {
  display: block;
  margin: 0 0 0.7rem;
  font-size: var(--fs-md);
  font-weight: 800;
  line-height: 1.3;
}

.savings__lines-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin-bottom: 0.7rem;
}

.savings__lines-head h4 {
  flex: 0 1 auto;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.savings__tv-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.savings__tv-head p {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: var(--fs-md);
  font-weight: 800;
  line-height: 1.35;
}

.savings__tv-ico {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color-brand-dark);
}

.savings__tv-ico .ui-icon {
  display: block;
}

.savings__switch {
  position: relative;
  flex: 0 0 auto;
  width: 3.15rem;
  height: 1.9rem;
  padding: 0;
  border: 2px solid var(--color-brand-dark);
  border-radius: 999px;
  background: var(--color-bg-muted);
  cursor: pointer;
}

.savings__switch:focus-visible {
  outline: 3px solid var(--color-brand-accent);
  outline-offset: 2px;
}

.savings__switch-knob {
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--color-brand-dark);
  transition: transform 0.16s steps(3, end);
}

.savings__switch.is-on {
  background: var(--color-brand-accent);
}

.savings__switch.is-on .savings__switch-knob {
  transform: translateX(1.25rem);
}

.savings__tv-none {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.savings__tv-options {
  margin-top: 0.85rem;
}

.savings__tv-options[hidden] {
  display: none;
}

.savings__tv-options.is-open {
  animation: savings-in 0.22s steps(3, end);
}

.savings__choice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.savings__chip {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.savings__chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.savings__chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem;
  border: 2px solid var(--color-brand-dark);
  background: var(--color-brand-white);
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: background 0.12s steps(2, end), box-shadow 0.12s steps(2, end);
}

.savings__chip:hover span {
  background: rgba(118, 214, 59, 0.16);
}

.savings__chip input:focus-visible + span {
  outline: 3px solid var(--color-brand-accent);
  outline-offset: 2px;
}

.savings__chip input:checked + span {
  background: var(--color-brand-accent);
  color: var(--color-brand-dark);
  box-shadow: inset 0 0 0 1px var(--color-brand-dark);
}

.savings__chip input:disabled + span {
  cursor: not-allowed;
  opacity: 0.45;
}

.savings__stepper {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--color-brand-dark);
}

.savings__stepper button {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: var(--color-brand-dark);
  color: var(--color-brand-white);
  cursor: pointer;
}

.savings__stepper button:hover:not(:disabled),
.savings__stepper button:focus-visible:not(:disabled) {
  background: var(--color-brand-accent);
  color: var(--color-brand-dark);
}

.savings__stepper button:disabled {
  background: var(--color-bg-soft);
  color: var(--color-text-muted);
  cursor: not-allowed;
}

.savings__minus {
  width: 0.8rem;
  height: 2px;
  background: currentColor;
}

.savings__count {
  display: grid;
  place-items: center;
  min-width: 2.5rem;
  height: 2.5rem;
  text-align: center;
  font-family: var(--font-pixel);
  font-size: var(--fs-lg);
  line-height: 1;
}

.savings__count.is-tick {
  animation: savings-tick 0.22s steps(2, end);
}

.savings__line {
  margin: 0.85rem 0 0;
  padding: 0.9rem 0.95rem 1rem;
  border: 2px solid var(--color-brand-dark);
  background: var(--color-bg-muted);
}

.savings__line legend {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.2rem;
  font-size: var(--fs-md);
  font-weight: 800;
}

.savings__price {
  display: flex;
  align-items: stretch;
  width: min(100%, 22rem);
  max-width: 100%;
  border: 2px solid var(--color-brand-dark);
  background: var(--color-brand-white);
}

.savings__price input {
  flex: 1 1 auto;
  width: 100%;
  min-height: 3.6rem;
  margin: 0;
  padding: 0.35rem 0.85rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: var(--fs-xl);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  text-align: center;
}

.savings__price-unit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 5.4rem;
  padding: 0 0.85rem;
  background: var(--color-brand-dark);
  color: var(--color-brand-white);
  font-size: var(--fs-lg);
  font-weight: 800;
  line-height: 1;
}

.savings__hint,
.savings__notice,
.savings__lead {
  margin: 0.75rem 0 0;
  color: var(--color-text-muted);
  font-size: var(--fs-md);
  line-height: 1.5;
}

.savings__form [data-savings-submit] {
  display: flex;
  width: 100%;
  min-height: 3.35rem;
  gap: 0;
  margin-top: 1rem;
  justify-content: center;
  text-align: center;
}

.savings__form [data-savings-submit]::before,
.savings__form [data-savings-submit]::after {
  content: none;
  display: none;
}

.savings__error {
  margin: 0 0 0.85rem;
  padding: 0.8rem 0.9rem;
  border: 2px solid var(--color-error);
  background: var(--color-error-bg);
  color: var(--color-error);
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.4;
}

.savings__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  margin: 0 0 0.7rem;
  padding: 0.35rem 0.1rem;
  border: 0;
  background: none;
  color: var(--color-brand-dark);
  font: inherit;
  font-size: var(--fs-md);
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
}

.savings__back::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
}

.savings__back:focus-visible {
  outline: 3px solid var(--color-brand-accent);
  outline-offset: 3px;
}

.savings__result {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  box-shadow: none;
}

.savings__offer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.savings__final {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.savings__confetti {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: visible;
  pointer-events: none;
}

.savings__confetti-bit {
  position: absolute;
  width: var(--s, 7px);
  height: var(--s, 7px);
  margin-left: calc(var(--s, 7px) / -2);
  margin-top: calc(var(--s, 7px) / -2);
  background: var(--c, #76D63B);
  pointer-events: none;
  animation: savings-confetti 2s ease-out forwards;
}

.savings__confetti-bit.is-light {
  background: #fff;
  box-shadow: inset 0 0 0 2px #1d1d1b;
}

@keyframes savings-confetti {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 1;
  }

  75% {
    opacity: 1;
  }

  100% {
    transform: translate3d(var(--dx, 0), var(--dy, 24px), 0) rotate(var(--spin, 0deg));
    opacity: 0;
  }
}

.savings__offer[hidden],
.savings__final[hidden] {
  display: none !important;
}

.savings[data-phase="2"] .savings__back {
  display: none;
}

.savings__offer {
  align-items: center;
  gap: 1.25rem;
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.savings__pick-title {
  margin: 0.15rem 0 0;
}

.savings__pick-lead,
.savings__fit {
  margin: 0;
  max-width: 28rem;
  font-size: var(--fs-md);
  line-height: 1.35;
}

.savings__pick-lead {
  color: var(--color-text-muted);
}

.savings__hero {
  width: 100%;
  margin-top: 0.35rem;
  padding: 1.45rem 1.15rem 1.2rem;
  border: 3px solid var(--color-brand-dark);
  background: rgba(118, 214, 59, 0.16);
  box-shadow: 6px 6px 0 var(--color-brand-dark);
}

.savings__match {
  display: inline-block;
  margin: 0 0 0.55rem;
  padding: 0.28rem 0.5rem;
  border: 2px solid var(--color-brand-dark);
  background: var(--color-brand-white);
  font-size: var(--fs-md);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.savings__gap {
  margin: 0;
  max-width: 28rem;
  font-size: var(--sav-text);
  font-weight: 700;
  line-height: 1.35;
}

.savings__hero-name {
  margin: 0;
  font-size: var(--fs-plan);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.savings__hero-price {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.2rem 0.35rem;
  margin: 0.45rem 0 0;
  font-size: var(--sav-figure);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.savings__hero-prefix,
.savings__hero-unit,
.savings__close-prefix,
.savings__close-unit {
  font-size: var(--fs-lg);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  background: none;
  color: inherit;
}

.savings__hero-price--pending {
  font-size: var(--fs-xl);
}

.savings__hero-high {
  margin: 0.4rem 0 0;
  font-size: var(--fs-md);
  font-weight: 700;
}

.savings__hero-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 0.85rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.savings__hero-specs li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  min-height: 2.75rem;
  font-size: var(--sav-text);
  font-weight: 700;
  line-height: 1.25;
}

.savings__spec-ico {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  background: var(--color-brand-white);
  border: 2px solid var(--color-brand-dark);
}

.savings__spec-ico svg {
  width: 1.35rem;
  height: 1.35rem;
}

.savings__vs {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  width: 100%;
  padding: 1.05rem 1.05rem 0;
  border: 2px solid var(--color-brand-dark);
  background: var(--color-brand-white);
  text-align: center;
}

.savings__vs-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 4.25rem;
  padding: 0.35rem 0.4rem 0.55rem;
}

.savings__vs-side strong {
  font-size: var(--sav-figure-2);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.savings__vs-kicker,
.savings__vs-high,
.savings__perks-label,
.savings__close-lead,
.savings__close-plan,
.savings__close-price,
.savings__reassure {
  font-size: var(--sav-text);
  font-weight: 700;
  line-height: 1.35;
}

.savings__vs-kicker {
  color: rgba(29, 29, 27, var(--ink-secondary));
  font-weight: 800;
}

.savings__vs-high {
  font-weight: 700;
}

.savings__vs-delta {
  display: grid;
  gap: 0.2rem;
  margin: 0.35rem -1.05rem 0;
  padding: 0.9rem 1.05rem 1rem;
  border-top: 2px solid var(--color-brand-dark);
}

.savings__vs-delta.is-savings {
  background: var(--color-brand-accent);
}

.savings__vs-save,
.savings__vs-diff,
.savings__vs-year {
  margin: 0;
}

.savings__vs-save,
.savings__vs-diff {
  font-size: var(--sav-figure-2);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.savings__vs-save,
.savings__vs-diff,
.savings__vs-year {
  color: var(--color-brand-dark);
}

.savings__vs-year {
  font-size: var(--fs-lg);
  font-weight: 800;
}

.savings__hero-detail {
  margin: -0.15rem 0 0.7rem;
  color: rgba(29, 29, 27, var(--ink-secondary));
  font-size: var(--sav-text);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.savings__perks-block {
  width: 100%;
}

.savings__perks-label {
  margin: 0 0 0.7rem;
  font-weight: 800;
}

.savings__perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.savings__perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  min-height: 4.25rem;
  margin: 0;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--info-border);
  background: transparent;
  box-shadow: none;
  color: rgba(29, 29, 27, var(--ink-secondary));
  font-size: var(--sav-text);
  font-weight: 700;
  line-height: 1.25;
  cursor: default;
}

.savings__perk-copy {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
}

.savings__perk-title {
  color: var(--color-brand-dark);
  font-size: var(--sav-text);
  font-weight: 800;
  line-height: 1.2;
}

.savings__perk-text {
  color: rgba(29, 29, 27, var(--ink-secondary));
  font-size: calc(var(--sav-text) * 0.88);
  font-weight: 600;
  line-height: 1.3;
}

.savings__perk-ico {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: 1px solid var(--info-border);
  color: rgba(29, 29, 27, var(--ink-secondary));
}

.savings__perk-ico svg {
  width: 1.15rem;
  height: 1.15rem;
}

.savings__close {
  align-items: center;
  gap: 0.55rem;
  max-width: 32rem;
  margin-inline: auto;
  text-align: center;
}

.savings__close-title {
  margin: 0.1rem 0 0;
}

.savings__close-lead,
.savings__close-plan,
.savings__close-price,
.savings__reassure,
.savings__close .savings__notice {
  margin: 0;
  max-width: 28rem;
}

.savings__close-lead {
  font-weight: 700;
}

.savings__close-plan {
  font-weight: 800;
}

.savings__close-price,
.savings__reassure,
.savings__close .savings__notice {
  color: var(--color-text-muted);
  font-weight: 700;
}

.savings__close-figure {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.15rem 0.4rem;
  margin: 0.15rem 0;
  font-size: var(--sav-figure);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.savings__close.is-savings .savings__close-figure,
.savings__result.is-savings .savings__close-figure {
  padding: 0.15rem 0.55rem 0.28rem;
  background: var(--color-brand-accent);
}

.savings__nowrap {
  white-space: nowrap;
}

.savings__close-year {
  margin: 0;
  font-size: var(--fs-lg);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.savings__close-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  margin-top: 0.35rem;
}

.savings__close-actions .btn {
  width: 100%;
  justify-content: center;
  min-height: 3.35rem;
}

.savings__pick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  margin-top: 0.2rem;
}

.savings__pick-actions .btn {
  width: 100%;
  justify-content: center;
}

.savings__result.is-fresh,
.savings__form.is-fresh {
  animation: savings-in 0.28s steps(4, end);
}

.savings__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 1.1rem 0 0;
}

.savings__fact {
  margin: 0;
  padding: 0.75rem 0.8rem;
  border: 2px solid var(--color-brand-dark);
  background: var(--color-bg-muted);
}

.savings__fact dt {
  margin: 0 0 0.2rem;
  color: var(--color-text-muted);
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.3;
}

.savings__fact dd {
  margin: 0;
  font-size: var(--fs-md);
  font-weight: 800;
  line-height: 1.3;
}

.savings__result .savings__result-title,
.savings__result .savings__lead,
.savings__result .savings__notice,
.savings__result .savings__closing {
  color: var(--color-text);
}

.savings__result .savings__notice,
.savings__result .savings__lead {
  color: var(--color-text-muted);
}

.savings__compare {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.savings__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: 1rem 1rem 0.95rem;
  border: 2px solid var(--color-brand-dark);
  background: var(--color-bg-muted);
  color: var(--color-text);
}

.savings__side--now {
  justify-content: center;
}

.savings__side--match {
  background: rgba(118, 214, 59, 0.14);
  border-color: var(--color-brand-dark);
}

.savings__price-slot {
  width: 100%;
  margin-top: 0.85rem;
}

.savings__kicker {
  margin: 0 0 0.4rem;
  font-family: var(--font-pixel);
  font-size: var(--fs-md);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(29, 29, 27, var(--ink-secondary));
}

.savings__kicker--result {
  margin-bottom: 0.45rem;
}

.savings__amount,
.savings__plan-name {
  margin: 0;
  font-size: var(--fs-plan);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.savings__period,
.savings__unit,
.savings__pending {
  margin: 0.35rem 0 0;
  color: var(--color-text-muted);
  font-size: var(--fs-md);
  line-height: 1.35;
}

.savings__pending {
  display: inline-block;
  margin-top: 0.85rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--info-border);
  background: transparent;
  box-shadow: none;
  color: rgba(29, 29, 27, var(--ink-secondary));
  font-weight: 700;
  cursor: default;
}

.savings__features,
.savings__advantages ul {
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}

.savings__features li,
.savings__advantages li {
  position: relative;
  margin: 0.45rem 0;
  padding-left: 1.1rem;
  font-size: var(--fs-md);
  line-height: 1.45;
}

.savings__features li::before,
.savings__advantages li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--color-brand-accent);
}

.savings__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin: 0.15rem auto;
  align-self: center;
  justify-self: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-brand-accent);
  line-height: 0;
}

.savings__arrow-mark {
  display: none;
  width: 4.15rem;
  height: auto;
  overflow: visible;
  animation: savings-arrow-nudge-x 0.9s ease-in-out 2;
}

.savings__arrow-mark--down {
  display: block;
  width: 1.55rem;
  animation-name: savings-arrow-nudge-y;
}

.savings__arrow-mark rect {
  fill: currentColor;
}

.savings__arrow-bit {
  animation: savings-arrow-bit 0.7s ease-in-out 2;
}

.savings__arrow-mark .savings__arrow-bit:nth-child(2) {
  animation-delay: 0.16s;
}

@keyframes savings-arrow-nudge-x {
  0%, 100% { transform: translateX(0); }
  45% { transform: translateX(2px); }
}

@keyframes savings-arrow-nudge-y {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(2px); }
}

@keyframes savings-arrow-bit {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.savings__save,
.savings__advantages,
.savings__delta,
.savings__empty {
  margin-top: 1rem;
  padding: 1rem 1rem 0.95rem;
  border: 2px solid var(--color-brand-accent);
}

.savings__save {
  display: grid;
  gap: 0.85rem;
  background: var(--color-brand-accent);
  color: var(--color-brand-dark);
}

.savings__save .savings__kicker,
.savings__advantages .savings__kicker,
.savings__delta .savings__kicker,
.savings__empty .savings__kicker {
  display: block;
  margin-bottom: 0.2rem;
  color: rgba(29, 29, 27, var(--ink-secondary));
}

.savings__save .savings__kicker {
  color: var(--color-brand-dark);
}

.savings__save-main,
.savings__save-year {
  margin: 0;
}

.savings__save-main strong,
.savings__delta-value {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.savings__save-year strong {
  display: block;
  font-size: var(--fs-lg);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.savings__advantages,
.savings__delta {
  background: rgba(118, 214, 59, 0.14);
  color: var(--color-text);
}

.savings__advantages .savings__kicker,
.savings__delta .savings__kicker {
  color: rgba(29, 29, 27, var(--ink-secondary));
}

.is-same .savings__advantages {
  background: var(--color-brand-accent);
  color: var(--color-brand-dark);
}

.is-same .savings__advantages .savings__kicker {
  color: var(--color-brand-dark);
}

.is-same .savings__advantages li::before {
  background: var(--color-brand-dark);
}

.savings__empty {
  background: var(--color-bg-muted);
  color: var(--color-text);
}

.savings__empty .savings__kicker {
  color: var(--color-brand-dark);
}

.savings__empty-note {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  font-size: var(--fs-md);
  line-height: 1.5;
  color: var(--color-text-muted);
}

.savings__save-extra {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--fs-md);
  font-weight: 800;
  line-height: 1.3;
}

.savings__reasons-wrap {
  margin-top: 1.25rem;
}

.savings__reasons-title {
  margin: 0 0 0.85rem;
  font-size: var(--fs-xl);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.savings__reasons {
  display: grid;
  gap: 0.75rem;
}

.savings__reason {
  margin: 0;
  padding: 1rem 1rem 0.95rem;
  border: 2px solid var(--color-brand-dark);
  background: var(--color-bg-muted);
}

.savings__reason h4 {
  margin: 0 0 0.35rem;
  font-size: var(--fs-md);
  line-height: 1.3;
}

.savings__reason p {
  margin: 0;
  color: var(--color-text);
  font-size: var(--fs-md);
  line-height: 1.45;
}

.savings__closing {
  margin: 0.95rem 0 0;
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.4;
}

.savings__cta {
  margin-top: 1.05rem;
}

.savings__cta .btn {
  min-height: 3.25rem;
}

@keyframes savings-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes savings-tick {
  from { transform: translateY(-4px); }
  to { transform: none; }
}

@media (min-width: 768px) {
  .savings__facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .savings__compare {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr);
    align-items: stretch;
  }

  .savings__vs {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 0.7rem;
  }

  .savings__vs-side:first-child {
    align-items: flex-end;
    text-align: right;
  }

  .savings__vs > .savings__vs-side:nth-child(3) {
    align-items: flex-start;
    text-align: left;
  }

  .savings__vs-delta {
    grid-column: 1 / -1;
  }

  .savings__arrow {
    margin: 0;
  }

  .savings__arrow-mark {
    display: block;
  }

  .savings__arrow-mark--down {
    display: none;
  }

  .savings__pick-actions {
    flex-direction: row;
    justify-content: center;
  }

  .savings__pick-actions .btn,
  .savings__close-actions .btn {
    width: auto;
    min-width: 11.5rem;
  }

  .savings__close-actions {
    flex-direction: row;
    justify-content: center;
  }

  .savings__perks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .savings__save {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
  }

  .savings__reasons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .savings__form > .btn,
  .savings__cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    white-space: normal;
    font-size: clamp(1.85rem, 9.6vw, 2.35rem);
  }

  .savings {
    padding: 0.85rem;
    box-shadow: 5px 5px 0 var(--color-brand-dark);
  }

  .savings__progress {
    gap: 0.4rem;
  }

  .savings__progress button {
    min-height: 5.1rem;
    padding: 0.55rem 0.35rem;
  }

  .savings__tv-head {
    align-items: flex-start;
  }

  .savings__switch {
    margin-top: 0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .savings__result.is-fresh,
  .savings__form.is-fresh,
  .savings__final.is-fresh,
  .savings__count.is-tick,
  .savings__chip span,
  .savings__tv-options.is-open,
  .savings__switch-knob {
    animation: none;
    transition: none;
    transform: none;
  }

  .savings__switch.is-on .savings__switch-knob {
    transform: translateX(1.25rem);
  }

  .savings__arrow-mark,
  .savings__arrow-bit,
  .savings__confetti-bit {
    animation: none;
  }

  .savings__confetti-bit {
    display: none;
  }
}

.brand-band {
  position: relative;
  background: var(--color-bg-panel);
  color: var(--color-brand-white);
  padding: var(--space-section-lg) 0;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h-lg) + 1rem);
}

.brand-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(253, 253, 253, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253, 253, 253, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}

.brand-band::after {
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  right: -4rem;
  bottom: -6rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118, 214, 59, 0.18), transparent 70%);
  pointer-events: none;
}

.brand-band__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(16rem, 1.08fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.brand-band h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  max-width: 12em;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.brand-band__copy > p:not(.eyebrow) {
  margin-top: 1.1rem;
  color: var(--color-text-muted-on-dark);
  max-width: 34rem;
  font-size: var(--fs-lg);
}

.brand-band__points {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.brand-band__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--color-brand-white);
  font-weight: 700;
}

.brand-band__pixel {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  flex: 0 0 auto;
  background: var(--color-brand-accent);
}

.brand-band__tags {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brand-band__tags li {
  padding: 0.4rem 0.7rem;
  border: 2px solid rgba(118, 214, 59, 0.45);
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brand-accent);
}

.brand-stage {
  position: relative;
  display: grid;
  align-content: center;
  justify-self: end;
  width: min(100%, 28rem);
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
}

.signal-map {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
  padding: 0 0 1rem;
  background:
    radial-gradient(ellipse 70% 42% at 50% 18%, rgba(118, 214, 59, 0.14), transparent 68%),
    rgba(253, 253, 253, 0.04);
  border: 2px solid var(--color-brand-accent);
  box-shadow: 12px 12px 0 rgba(118, 214, 59, 0.18);
}

.signal-map__bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(253, 253, 253, 0.12);
}

.signal-map__live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0 auto;
  font-family: var(--font-pixel);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 253, 253, 0.72);
}

.signal-map__live span {
  width: 0.45rem;
  height: 0.45rem;
  background: var(--color-brand-accent);
  box-shadow: 0 0 8px var(--color-brand-accent);
  /* Estado activo fijo: evitamos otro parpadeo compitiendo con el núcleo. */
  animation: none;
}

.signal-map__core {
  position: relative;
  width: 6.5rem;
  height: 6.5rem;
  margin: 0.85rem auto 0;
  display: grid;
  place-items: center;
}

.signal-map__ring {
  position: absolute;
  inset: 0.35rem;
  border: 2px solid rgba(118, 214, 59, 0.7);
  /* Solo el núcleo mantiene movimiento, y de forma muy lenta. */
  animation: signal-core-breathe 6.8s ease-in-out infinite;
}

.signal-map__ring--late {
  animation: none;
  opacity: 0.16;
  transform: scale(1.18);
}

.signal-map__mark {
  position: relative;
  z-index: 1;
  width: 4.4rem;
  height: 3.4rem;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(118, 214, 59, 0.45));
}

.signal-map__kicker {
  margin: 0;
  text-align: center;
  font-family: var(--font-pixel);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253, 253, 253, 0.62);
}

.signal-map__layers {
  position: relative;
  list-style: none;
  margin: 0.15rem 1rem 0;
  padding: 0 0 0 1.35rem;
  display: grid;
  gap: 0.55rem;
}

.signal-map__layers::before {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: rgba(118, 214, 59, 0.28);
}

.signal-map__layers::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.62rem;
  height: 0.62rem;
  background: var(--color-brand-accent);
  box-shadow: 0 0 12px var(--color-brand-accent);
  /* Único movimiento secuencial de los pasos: avanza, se detiene y continúa. */
  animation: signal-step-travel 8.2s ease-in-out infinite;
  animation-play-state: paused;
  opacity: 0.82;
}

.brand-stage.is-signal-active .signal-map__layers::after {
  animation-play-state: running;
}

.signal-map__layers li {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.7rem;
  align-items: center;
  min-height: 3.35rem;
  padding: 0.45rem 0.75rem;
  background: rgba(0, 0, 0, 0.28);
  border: 2px solid rgba(253, 253, 253, 0.12);
  animation: none;
}

.signal-map__layers .ui-icon {
  width: 1.85rem;
  height: 1.85rem;
  color: var(--color-brand-accent);
}

@media (min-width: 768px) {
  .signal-map__layers .ui-icon {
    animation: none;
  }

}


.signal-map__n {
  font-family: var(--font-pixel);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-brand-accent);
}

.signal-map__text {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.signal-map__text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.signal-map__text span {
  color: rgba(253, 253, 253, 0.62);
  font-size: 0.92rem;
  line-height: 1.25;
}

.signal-map__wave {
  display: block;
  width: calc(100% - 2rem);
  height: 1.7rem;
  margin: 0 1rem;
}

.signal-map__wave path {
  fill: none;
  stroke: rgba(118, 214, 59, 0.72);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-dasharray: 10 14;
  /* La segunda y última animación continua del mockup: muy pausada. */
  animation: signal-wave 8.5s linear infinite;
  opacity: 0.62;
}

.signal-map__field {
  list-style: none;
  margin: 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
}

.signal-map__field li {
  padding: 0.45rem 0.2rem;
  text-align: center;
  border: 2px solid rgba(253, 253, 253, 0.16);
  background: rgba(0, 0, 0, 0.28);
  font-family: var(--font-pixel);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(253, 253, 253, 0.62);
  animation: none;
}

.signal-map__field li:nth-child(4) {
  border-color: rgba(118, 214, 59, 0.42);
  color: rgba(118, 214, 59, 0.88);
}

@keyframes signal-core-breathe {
  0%, 100% { transform: scale(0.97); opacity: 0.38; }
  50% { transform: scale(1.045); opacity: 0.7; }
}

@keyframes signal-step-travel {
  0%, 22% {
    top: 0.35rem;
    opacity: 0.82;
  }
  30%, 52% {
    top: calc(50% - 0.31rem);
    opacity: 1;
  }
  60%, 84% {
    top: calc(100% - 0.97rem);
    opacity: 0.9;
  }
  92% {
    top: calc(100% - 0.97rem);
    opacity: 0;
  }
  100% {
    top: 0.35rem;
    opacity: 0;
  }
}

@keyframes signal-wave {
  to { stroke-dashoffset: -48; }
}



.cta-finale {
  position: relative;
  background:
    radial-gradient(ellipse 45% 55% at 88% 40%, rgba(118, 214, 59, 0.16), transparent 60%),
    linear-gradient(135deg, rgba(118, 214, 59, 0.08), transparent 42%),
    var(--color-brand-dark);
  color: var(--color-brand-white);
  border-block: 3px solid var(--color-brand-dark);
  padding: var(--space-section-lg) 0;
  scroll-margin-top: calc(var(--header-h-lg) + 1rem);
  overflow: hidden;
}

.cta-finale__glow {
  position: absolute;
  inset: auto -8% -30% auto;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118, 214, 59, 0.22), transparent 70%);
  pointer-events: none;
}

.cta-finale__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.cta-finale .eyebrow {
  color: var(--color-brand-accent);
  margin-bottom: 0.95rem;
}

.cta-finale h2 {
  font-size: clamp(2.15rem, 4.8vw, 3.55rem);
  letter-spacing: -0.045em;
  max-width: 14ch;
  line-height: 0.96;
}

.cta-finale__copy > p:not(.eyebrow):not(.cta-finale__note) {
  margin-top: 1.25rem;
  max-width: 34rem;
  color: var(--color-text-muted-on-dark);
  font-size: 1.12rem;
  line-height: 1.5;
}

.cta-finale__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.85rem 0 1.35rem;
}

.cta-finale__actions .btn--primary {
  min-height: 3.25rem;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.35);
}

.cta-finale__actions .btn--primary:hover {
  transform: translate(-2px, -2px);
}

.cta-finale .btn--ghost-dark {
  border-color: rgba(253, 253, 253, 0.45);
  color: var(--color-brand-white);
  background: transparent;
  min-height: 3.25rem;
}

.cta-finale .btn--ghost-dark:hover {
  border-color: var(--color-brand-accent);
  color: var(--color-brand-accent);
}

.cta-finale__note {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(253, 253, 253, 0.62);
  max-width: 36rem;
}

.cta-finale__panel {
  display: grid;
  gap: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid var(--color-brand-accent);
  box-shadow: 10px 10px 0 rgba(118, 214, 59, 0.22);
  overflow: hidden;
}

.cta-finale__chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(253, 253, 253, 0.12);
}

.cta-finale__panel .px-label {
  margin: 0;
  color: var(--color-brand-accent);
}

.cta-finale__stage {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.35rem;
  align-items: center;
  padding: 1.4rem 1.35rem 1.05rem;
}

.cta-finale__mark {
  width: 7.5rem;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(118, 214, 59, 0.35));
}

.cta-finale__route {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}

.cta-finale__route::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 1.55rem;
  bottom: 1.55rem;
  width: 2px;
  background: rgba(118, 214, 59, 0.45);
}

.cta-finale__route li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.cta-finale__route .px-num {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.2rem;
  background: var(--color-bg-panel);
  border: 2px solid var(--color-brand-accent);
  color: var(--color-brand-accent);
  font-size: 0.72rem;
}

.cta-finale__pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.15rem 1.35rem 1.35rem;
  padding: 0.7rem 0.85rem;
  background: rgba(118, 214, 59, 0.12);
  border: 2px solid var(--color-brand-accent);
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brand-accent);
}

.page-hero {
  padding: var(--space-2xl) 0 0;
}

.contact-band {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 2.5rem;
  padding: 1.35rem 1.25rem 1.15rem;
  background: var(--color-bg);
  border: 1px solid rgba(29, 29, 27, 0.14);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(29, 29, 27, 0.05);
}

.contact-band__head {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.contact-band .px-label {
  margin: 0;
  color: var(--color-section-label);
}

.contact-band__state {
  margin: 0;
}

.contact-band__copy {
  min-width: 0;
}

.contact-band__copy::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-bottom: 0.85rem;
  background: var(--color-brand-accent);
}

.contact-band__channels {
  min-width: 0;
}

.contact-band h2 {
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  margin: 0 0 0.3rem;
  letter-spacing: -0.03em;
}

.contact-band__copy > p {
  margin: 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.4;
  color: rgba(29, 29, 27, 0.75);
}

.contact-band__cta {
  display: flex;
  align-items: center;
  padding-top: 0.15rem;
}

.contact-band__missing {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.contact-band__missing li {
  padding: 0.4rem 0.65rem;
  border: 2px dashed var(--color-border-strong);
  background: var(--color-bg-muted);
  font-family: var(--font-pixel);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-section-label);
}

.contact-band__action {
  margin: 0;
}

.contact-band__action .btn {
  min-height: 3rem;
}

.contact-box {
  margin-top: 0;
  padding: 1.2rem 1.2rem 1.3rem;
  border: 2px solid var(--color-brand-dark);
  background: var(--color-bg-muted);
  box-shadow: var(--shadow-pixel-sm);
}

.contact-box .px-label {
  margin-bottom: 0.45rem;
  color: var(--color-section-label);
}

.contact-box__action {
  margin-top: 1rem;
}

.checkout {
  padding-bottom: var(--space-2xl);
}

.checkout__wrap {
  width: min(calc(100% - 2.5rem), 48rem);
}

.checkout__lead {
  margin: 0 0 1.1rem;
  color: var(--color-text-muted);
}

.checkout__progress-label {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-sm);
}

.checkout__steps {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
}

.checkout__steps li {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-muted);
}

.checkout__steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.95rem;
  left: calc(50% + 1.15rem);
  width: calc(100% - 1.3rem);
  height: 2px;
  background: var(--color-border);
}

.checkout__steps .is-done:not(:last-child)::after,
.checkout__steps .is-current:not(:last-child)::after {
  background: var(--color-brand-primary);
}

.checkout__steps li > span:first-child {
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--color-brand-black);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  background: var(--color-bg);
}

.checkout__steps .is-current,
.checkout__steps .is-done {
  color: var(--color-brand-black);
}

.checkout__steps .is-current > span:first-child,
.checkout__steps .is-done > span:first-child {
  background: var(--color-brand-primary);
}

.checkout__step-label {
  display: block;
  width: 100%;
  min-width: 0;
  line-height: 1.15;
}

.checkout__notice,
.checkout__success {
  padding: 0.95rem 1.05rem;
  border: 2px solid var(--color-brand-black);
  border-radius: 14px;
  margin-bottom: 1rem;
}

.checkout__notice,
.checkout__notice--error {
  background: var(--color-error-bg, #f8e6e6);
}

.checkout__notice--success {
  background: var(--color-success-bg, #e7f3c8);
}

.checkout__notice--info {
  background: color-mix(in srgb, #d9e2ec 45%, var(--color-bg, #fff));
}

.checkout__notice--inline {
  margin: 0.8rem 0 0;
}

.checkout__notice--test {
  background: #fff3bf;
  border-style: dashed;
}

.checkout__success {
  background: var(--color-success-bg, #e7f3c8);
}

.checkout-result {
  padding: 1.2rem 1.15rem;
  margin-bottom: 1.1rem;
  border: 2px solid var(--color-brand-black);
  border-radius: 18px;
  background: var(--color-success-bg);
}

.checkout-result h2 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.checkout-coverage,
.checkout-prepared {
  padding: 1.25rem 1.2rem 1.35rem;
  border: 2px solid var(--color-brand-black);
  border-radius: 18px;
  background: var(--color-bg);
}

.checkout-prepared {
  text-align: center;
}

.checkout-prepared h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 0.7rem;
}

.checkout-prepared .checkout__actions {
  justify-content: center;
}

.checkout-coverage__kicker {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.checkout-coverage__address {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0 0 0.35rem;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.checkout-coverage__address .ui-icon {
  width: var(--icon-sm);
  height: var(--icon-sm);
  margin-top: 0.2rem;
  color: var(--color-brand-accent);
  flex: 0 0 auto;
}

.checkout-coverage__tech {
  color: var(--color-text-muted);
  margin-bottom: 0.85rem;
}

.checkout-alt-plans {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.checkout-alt-plans li form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--color-brand-black);
  border-radius: 16px;
  background: var(--color-bg-muted);
}

.checkout-plan-pick {
  display: grid;
  gap: 0.7rem;
  border: 0;
  padding: 0;
  margin: 0 0 0.4rem;
}

.checkout-plan-pick legend {
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.checkout-plan-pick__option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border: 2px solid var(--color-brand-black);
  border-radius: 16px;
  cursor: pointer;
  background: var(--color-bg);
}

.checkout-plan-pick__option:has(input:checked) {
  background: var(--color-brand-primary);
}

.checkout-plan-pick__option input {
  width: auto;
  min-height: 1.2rem;
}

.checkout-plan-pick__option span {
  display: grid;
  gap: 0.15rem;
}

.checkout .coverage {
  margin-top: 0;
}

.checkout-card,
.checkout-fieldset {
  padding: 1.2rem 1.15rem;
  border: 2px solid var(--color-brand-black);
  border-radius: 18px;
  background: var(--color-bg);
  margin-bottom: 1rem;
}

.checkout-card--summary {
  background: var(--color-bg-muted);
}

.checkout-card__kicker {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: rgba(29, 29, 27, var(--ink-secondary));
}

.checkout-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.checkout-card__head h2 {
  font-size: 1.25rem;
}

.checkout-card__edit {
  margin: 0;
}

.checkout-card__plan {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  margin: 0 0 0.35rem;
}

.checkout-card__price {
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.checkout-card__list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.checkout-card__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1rem;
}

.checkout-card__specs dt {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.checkout-card__specs dd span,
.checkout-card__coverage {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

.checkout-card__coverage.is-ok {
  color: var(--color-success);
  font-weight: 700;
}

.checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

/* Los campos de portabilidad solo existen visualmente cuando se conserva el número.
   Esta regla debe ganar a display:grid de .checkout-grid. */
.portability-fields[hidden],
[data-fixed-fields][hidden],
[data-esim-note][hidden] {
  display: none !important;
}

.checkout .field--wide {
  grid-column: 1 / -1;
}

.checkout input,
.checkout select {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--color-brand-black);
  border-radius: 14px;
  background: var(--color-bg);
  font-size: 1rem;
}

.checkout .field__error {
  display: block;
  margin-top: 0.35rem;
  color: #9b1c1c;
  font-size: var(--fs-sm);
}

.checkout-fieldset legend {
  font-family: var(--font-display);
  font-weight: 800;
  padding: 0 0.35rem;
}

.checkout-fieldset__hint {
  margin: -0.2rem 0 0.85rem;
}

.field-label {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0 0 0.65rem;
}

.choice-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.choice-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 5.6rem;
  padding: 0.95rem 1rem;
  border: 2px solid var(--color-brand-black);
  border-radius: 16px;
  background: var(--color-bg);
  cursor: pointer;
}

.choice-card:has(input:checked) {
  background: var(--color-brand-primary);
}

.choice-card:has(input:disabled) {
  opacity: 0.55;
  cursor: not-allowed;
}

.choice-card input {
  width: auto;
  min-height: 1.15rem;
  margin: 0 0 0.2rem;
  accent-color: var(--color-brand-black);
}

.choice-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
}

.choice-card__text {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.choice-card:has(input:checked) .choice-card__text {
  color: var(--color-brand-black);
}

.choice-list,
.choice {
  display: grid;
  gap: 0.55rem;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.8rem;
}

.choice input {
  width: auto;
  min-height: 1.2rem;
}

.choice--disabled {
  opacity: 0.7;
}

.checkout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.checkout-debug {
  margin: 1rem 0;
}

.checkout-debug pre {
  overflow: auto;
  max-height: 18rem;
  padding: 0.8rem;
  border-radius: 12px;
  background: var(--color-bg-muted);
  font-size: 0.8rem;
}

.legal-doc {
  color: var(--color-text);
  font-size: 1.02rem;
  line-height: 1.55;
}

.legal-doc h2 {
  margin: 2rem 0 0.7rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  scroll-margin-top: calc(var(--header-h-lg) + 1rem);
}

.legal-doc h3 {
  margin: 1.35rem 0 0.45rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.legal-doc p,
.legal-doc li {
  max-width: 68ch;
}

.legal-doc p + p,
.legal-doc ul + p,
.legal-doc p + ul {
  margin-top: 0.8rem;
}

.legal-doc ul,
.legal-doc ol {
  margin: 0.7rem 0 0;
  padding-left: 1.15rem;
}

.legal-doc li + li {
  margin-top: 0.28rem;
}

.legal-doc a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.legal-doc a:hover,
.legal-doc a:focus-visible {
  color: var(--color-brand-dark);
}

.legal-facts {
  display: grid;
  gap: 0.35rem;
  margin: 0.9rem 0 1.1rem;
}

.legal-facts div {
  display: grid;
  grid-template-columns: minmax(8.5rem, 12rem) minmax(0, 1fr);
  gap: 0.35rem 1rem;
}

.legal-facts dt {
  font-weight: 800;
}

.legal-facts dd {
  margin: 0;
}

.legal-table {
  max-width: 100%;
  margin-top: 1rem;
}

.legal-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.4;
}

.legal-table th,
.legal-table td {
  padding: 0.65rem 0.7rem;
  border-bottom: 1px solid rgba(29, 29, 27, 0.16);
  text-align: left;
  vertical-align: top;
}

.legal-table thead th {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .legal-facts div {
    grid-template-columns: 1fr;
    gap: 0.1rem;
    margin-bottom: 0.45rem;
  }

  .legal-table table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .legal-table tr {
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.8rem 0.75rem;
    border: 2px solid var(--color-brand-black);
  }

  .legal-table th,
  .legal-table td {
    border: 0;
    padding: 0.5rem 0 0;
  }

  .legal-table th::before,
  .legal-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.12rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
}

.legal-shell {
  width: min(calc(100% - 2.5rem), 68rem);
}

.legal-note {
  margin-top: 0.9rem;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--color-brand-accent);
  background: rgba(118, 214, 59, 0.08);
}

.legal-nav {
  margin-top: 2.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(29, 29, 27, 0.14);
}

.legal-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.92rem;
}

.legal-nav a[aria-current="page"] {
  font-weight: 800;
  text-decoration: none;
}

.legal-index summary {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 800;
  cursor: pointer;
}

.legal-index ol {
  margin: 0.2rem 0 0.6rem;
  padding-left: 1.15rem;
}

.legal-index a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
}

.legal-index a:focus-visible,
.legal-index summary:focus-visible,
.legal-nav a:focus-visible {
  outline: 2px solid var(--color-brand-accent);
  outline-offset: 3px;
}

@media (min-width: 900px) {
  .legal-with-index {
    display: grid;
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: 2.25rem;
    align-items: start;
  }

  .legal-index {
    position: sticky;
    top: calc(var(--header-h-lg) + 0.75rem);
  }

  .legal-index summary {
    margin-bottom: 0.35rem;
    min-height: 0;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: default;
    list-style: none;
  }

  .legal-index summary::-webkit-details-marker {
    display: none;
  }

  .legal-index summary::marker {
    content: '';
  }
}

@media (max-width: 700px) {
  .checkout-grid,
  .checkout-card__specs,
  .choice-cards {
    grid-template-columns: 1fr;
  }

  .checkout__steps {
    gap: 0.15rem;
    overflow: visible;
    padding-bottom: 0;
  }

  .checkout__steps li {
    font-size: 0.75rem;
    min-width: 0;
  }

  .checkout__steps li > span:first-child {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.8rem;
  }

  .checkout__steps li:not(:last-child)::after {
    top: 0.85rem;
    left: calc(50% + 0.95rem);
    width: calc(100% - 1rem);
  }

  .checkout__step-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .checkout__wrap {
    width: min(calc(100% - 1.25rem), 48rem);
  }

  .checkout__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .checkout__actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-wrap: pretty;
  }

  .checkout-plan-pick__option {
    min-height: 3rem;
  }
}

@media (max-width: 360px) {
  .checkout__progress-label {
    font-size: 0.78rem;
  }

  .checkout-card__plan {
    font-size: clamp(1.35rem, 7vw, 1.7rem);
    word-break: break-word;
  }
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(var(--ticker-shift, -50%)); }
}

@keyframes signal-rise {
  from { transform: scaleY(0.22); }
  to { transform: scaleY(1); }
}

@media (max-width: 1024px) {
  .benefits {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .benefit--tall,
  .benefit--feature {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .benefit--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .coverage-landing {
    grid-template-columns: 1fr;
  }

  .coverage-landing__cue {
    grid-template-columns: 1fr;
  }

  .hero__grid,
  .brand-band__grid,
  .cta-finale__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    min-height: 0;
    gap: 0.75rem;
  }

  .hero {
    padding-top: 0.75rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9.2vw, 3.15rem);
    white-space: nowrap;
  }

  .hero h1 span:not(:last-child) {
    display: inline;
  }

  .hero__lead {
    margin: 0.85rem 0 1.05rem;
  }

  .hero-hud,
  .hero-scene {
    margin: 0 auto;
    width: min(100%, 34rem);
  }

  .hero-scene__stage {
    min-height: 0;
    padding: 1.25rem 1rem 5.4rem;
  }

  .hero-scene__mark {
    width: min(100%, 16rem);
  }

  .hero-scene__signals {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    gap: 0.4rem;
  }

  .hero-scene__signal {
    padding: 0.45rem 0.4rem;
    gap: 0.4rem;
  }

  .hero-scene__ico {
    width: 2rem;
    height: 2rem;
  }

  .hero-scene__meta strong {
    font-size: 0.92rem;
  }

  .brand-stage {
    justify-self: stretch;
    width: min(100%, 28rem);
  }

  .cta-finale__grid {
    gap: 2.5rem;
  }

  .cta-finale__panel {
    width: min(100%, 24rem);
  }

  .contact-band__action .btn {
    width: auto;
  }

  .cta-finale__stage {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .cta-finale__mark {
    width: 6.5rem;
  }
}

@media (max-width: 700px) {
  .contact-band__action,
  .contact-band__action .btn {
    width: 100%;
  }

  .benefit--feature h3,
  .benefit--tall h3 {
    font-size: clamp(1.05rem, 4.4vw, 1.5rem);
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .benefit--wide {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: var(--space-md);
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero-scene__stage {
    padding-bottom: 1.1rem;
  }

  .hero-scene__digits {
    bottom: auto;
    height: 10.2rem;
  }

  .hero-scene__mark {
    width: min(100%, 13.5rem);
  }

  .hero-scene__signals {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 1rem;
    grid-template-columns: 1fr;
  }

  .cta-finale__actions .btn {
    width: 100%;
  }

  .cta-finale__panel {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .signal-map__live {
    font-size: 0.52rem;
    letter-spacing: 0.06em;
  }

  .signal-map__layers {
    margin-right: 0.75rem;
    margin-left: 0.75rem;
  }

  .signal-map__field {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-right: 0.75rem;
    margin-left: 0.75rem;
  }

  .signal-map__field li {
    font-size: 0.62rem;
    padding: 0.55rem 0.35rem;
  }

  .hero-scene__mark {
    width: min(100%, 11.5rem);
  }

  .hero-scene__meta strong {
    font-size: 1.02rem;
  }

  .hero-scene__ico {
    width: 2.25rem;
    height: 2.25rem;
  }
}

@media (max-width: 380px) {
  .site-logo img {
    height: 2.85rem;
  }

  .hero-scene__mark {
    width: min(100%, 9rem);
  }
}

@media (max-width: 720px) {
  .ticker__item {
    gap: 0.35rem;
    font-size: 0.68rem;
  }

  .ticker__ico .ui-icon {
    width: 0.85rem;
    height: 0.85rem;
  }

  .ticker__sep {
    width: 1.75rem;
    flex-basis: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }

  .ticker__group:nth-child(n + 2) {
    display: none;
  }

  .ticker__group {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
  }

  .ticker__item {
    white-space: normal;
    max-width: min(34rem, 100%);
    padding-inline: 0.35rem;
  }

  .hero-scene__mark {
    filter: none;
  }

  .hero-scene:hover .hero-scene__mark,
  .hero-scene:focus-within .hero-scene__mark {
    filter: none;
    transform: none;
  }

  .hero-scene__bars span {
    animation: none;
    transform: scaleY(1);
  }

  .hero-scene__digits {
    display: none;
  }

  .benefit:hover,
  .plan-card:hover,
  .plan-card--featured:hover,
  .plan-card--geek:hover {
    transform: none;
  }

  .has-motion [data-reveal],
  .has-motion [data-reveal].is-in {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .signal-map__ring,
  .signal-map__layers::after,
  .signal-map__layers li,
  .signal-map__layers .ui-icon,
  .signal-map__wave path,
  .signal-map__field li,
  .signal-map__live span,
  .ticker__ico,
  .plan-card::after,
  .section--savings::before,
  .section--savings::after {
    animation: none;
  }

  .has-motion [data-rise],
  .has-motion [data-rise].is-in {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .signal-map__mark,
  .cta-finale__mark {
    filter: none;
  }
}

@media (max-width: 720px) {
  .section--savings-featured {
    padding-block: 3.75rem;
  }

  .section--savings-featured .section-heading h2 {
    font-size: clamp(2.35rem, 12vw, 3.45rem);
  }

  .savings {
    margin-top: 1.25rem;
    border-width: 3px;
    box-shadow: 7px 7px 0 var(--color-brand-dark);
  }

  .savings__eyebrow {
    box-shadow: 3px 3px 0 var(--color-brand-dark);
  }
}

/* Calculadora: composición centrada de preguntas y controles */
#ahorro .savings__form {
  text-align: center;
}

#ahorro .savings__ask,
#ahorro .savings__block legend,
#ahorro .savings__price-label,
#ahorro .savings__hint,
#ahorro .savings__error {
  text-align: center;
}

#ahorro .savings__choice,
#ahorro .savings__choice--wrap {
  justify-content: center;
}

#ahorro .savings__lines-head {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#ahorro .savings__line {
  text-align: center;
}

#ahorro .savings__line legend {
  justify-content: center;
  width: auto;
  margin-inline: auto;
  text-align: center;
}

#ahorro .savings__tv-head {
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

#ahorro .savings__tv-head p {
  flex: 0 1 auto;
}

#ahorro .savings__price {
  margin-inline: auto;
}

#ahorro .savings__form [data-savings-submit] {
  width: min(100%, 22rem);
  margin-inline: auto;
}

/* =========================================================
   Vídeo de presentación de marca
   ========================================================= */
.section--brand-video {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.brand-video__heading {
  max-width: 48rem;
  margin: 0 auto clamp(1.7rem, 4vw, 2.6rem);
  text-align: center;
}

.brand-video__heading .eyebrow {
  margin-bottom: 0.55rem;
}

.brand-video__heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.brand-video__heading > p:last-child {
  max-width: 39rem;
  margin: 0.9rem auto 0;
  color: var(--color-text-muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.55;
  text-wrap: balance;
}

.brand-video__player {
  width: min(100%, 68rem);
  margin-inline: auto;
  border: 3px solid var(--color-brand-dark);
  background: var(--color-brand-dark);
  box-shadow: 10px 10px 0 var(--color-brand-dark);
}

.brand-video__chrome {
  min-height: 2.8rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.85rem;
  color: var(--color-brand-white);
  background: var(--color-brand-dark);
}

.brand-video__chrome .px-dots span {
  background: var(--color-brand-white);
}

.brand-video__chrome .px-dots span:last-child {
  background: var(--color-brand-accent);
}

.brand-video__chrome-label,
.brand-video__live {
  font-family: var(--font-pixel);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.brand-video__chrome-label {
  opacity: 0.88;
}

.brand-video__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.brand-video__live > span {
  width: 0.48rem;
  height: 0.48rem;
  background: var(--color-brand-accent);
  box-shadow: 0 0 0 1px rgba(118, 214, 59, 0.35);
}

.brand-video__viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #10110f;
}

.brand-video__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #10110f;
}

.brand-video__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(118, 214, 59, 0.18), transparent 35%),
    linear-gradient(135deg, #131512, #0c0d0b);
}

.brand-video__grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(118, 214, 59, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 214, 59, 0.12) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.brand-video__glow {
  position: absolute;
  width: min(42vw, 27rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(118, 214, 59, 0.11);
  filter: blur(2.5rem);
}

.brand-video__mark {
  position: relative;
  z-index: 2;
  width: clamp(6.5rem, 15vw, 10.5rem);
  height: auto;
  filter: drop-shadow(0 0 1.6rem rgba(118, 214, 59, 0.28));
}

.brand-video__play {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: clamp(1rem, 3vw, 1.8rem);
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--color-brand-accent);
  background: rgba(13, 15, 12, 0.9);
  box-shadow: 4px 4px 0 rgba(118, 214, 59, 0.3);
  transform: translateX(-50%);
}

.brand-video__play > span {
  width: 0;
  height: 0;
  margin-left: 0.18rem;
  border-top: 0.48rem solid transparent;
  border-bottom: 0.48rem solid transparent;
  border-left: 0.72rem solid var(--color-brand-accent);
}

@media (max-width: 700px) {
  .section--brand-video {
    padding-block: clamp(3.4rem, 12vw, 4.8rem);
  }

  .brand-video__heading h2 {
    font-size: clamp(2.25rem, 11vw, 3.3rem);
  }

  .brand-video__player {
    width: calc(100% - 0.35rem);
    box-shadow: 5px 5px 0 var(--color-brand-dark);
  }

  .brand-video__chrome {
    min-height: 2.5rem;
    padding-inline: 0.7rem;
  }

  .brand-video__chrome-label {
    font-size: 0.56rem;
  }

  .brand-video__live {
    font-size: 0;
    gap: 0;
  }

  .brand-video__live > span {
    width: 0.55rem;
    height: 0.55rem;
  }
}

/* ======================================================
   CIERRE DE RUTA · mascota flotante sutil
   Único movimiento constante del mockup.
   ====================================================== */

.cta-finale__mark {
  transform-origin: 50% 58%;
  animation: cta-finale-mascot-float 5.8s ease-in-out infinite;
  will-change: transform;
}

@keyframes cta-finale-mascot-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-0.6deg);
  }

  50% {
    transform: translate3d(0, -7px, 0) rotate(0.8deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-finale__mark {
    animation: none;
    transform: none;
  }
}

/* Checkout · paso Tus líneas */
.checkout__lead--lines {
  max-width: 42rem;
}

.checkout-line {
  position: relative;
  overflow: hidden;
}

.checkout-line::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--color-brand-primary);
}

.checkout-line legend {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.checkout-line__number {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  padding-inline: 0.35rem;
  border: 2px solid var(--color-brand-black);
  border-radius: 10px;
  background: var(--color-brand-primary);
  color: var(--color-brand-black);
  font-size: 0.74rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.checkout-line__specs {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  background: var(--color-bg-muted);
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.checkout-option-block + .checkout-option-block {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--color-border);
}

.checkout-option-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
}

.checkout-option-title > span {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--color-brand-black);
  color: var(--color-brand-primary);
  font-size: 0.72rem;
  line-height: 1;
}

.checkout-option-note {
  margin: -0.25rem 0 0;
  padding-left: 0.1rem;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

.checkout-choice-error {
  margin: -0.45rem 0 0.9rem;
}

.choice-cards--sim .choice-card__text {
  max-width: 20rem;
}

.checkout-fixed .checkout-fieldset__hint,
.checkout-installation-fieldset .checkout-fieldset__hint {
  margin-top: 0.15rem;
}

.checkout-installation {
  margin-top: 0.8rem;
  border: 2px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-bg-muted);
}

.checkout-installation summary {
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  list-style: none;
}

.checkout-installation summary::-webkit-details-marker {
  display: none;
}

.checkout-installation summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--color-brand-black);
  color: var(--color-brand-primary);
  font-size: 1rem;
  line-height: 1;
}

.checkout-installation[open] summary::after {
  content: "−";
}

.checkout-installation__fields {
  padding: 0.1rem 0.9rem 0.9rem;
}

.checkout__notice--donor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

@media (max-width: 700px) {
  .checkout__notice--donor {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-line__specs {
    border-radius: 12px;
  }
}

/* Checkout: aviso de activación y confirmación final */
.checkout-activation-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 1.15rem;
  padding: 0.9rem 1rem;
  border: 2px solid var(--color-brand-black);
  border-radius: 14px;
  background: color-mix(in srgb, var(--color-brand-primary) 18%, var(--color-bg));
}

.checkout-activation-note__icon {
  flex: 0 0 auto;
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--color-brand-primary);
  color: var(--color-brand-black);
}

.checkout-activation-note p {
  margin: 0;
  line-height: 1.45;
}

.page--contratar.checkout-is-complete {
  overflow: hidden;
}

.page--contratar.checkout-is-complete .site-footer,
.page--contratar.checkout-is-complete .sticky-cta {
  display: none;
}

.checkout--complete {
  position: relative;
  min-height: calc(100svh - 5rem);
  padding: clamp(1rem, 3vh, 2rem) 0;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.checkout-complete {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 2rem), 48rem);
  padding: clamp(1.1rem, 2.6vh, 1.65rem) clamp(1rem, 3vw, 1.8rem);
  border: 2px solid var(--color-brand-black);
  border-radius: 20px;
  background: var(--color-bg);
  text-align: center;
  box-shadow: 8px 8px 0 rgba(29, 29, 27, 0.08);
}

.checkout-complete__mark {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.65rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--color-brand-black);
  border-radius: 999px;
  background: var(--color-brand-primary);
}

.checkout-complete__mark .ui-icon {
  width: 1.4rem;
  height: 1.4rem;
}

.checkout-complete__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.checkout-complete h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4.5vw, 2.55rem);
  line-height: 1.02;
}

.checkout-complete__lead,
.checkout-complete__copy {
  margin: 0.55rem auto 0;
  max-width: 38rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.checkout-complete__copy p {
  margin: 0.2rem 0;
}

.checkout-complete__activation {
  margin: clamp(0.8rem, 2vh, 1.15rem) auto 0;
  padding: 0.8rem 1rem;
  max-width: 40rem;
  border: 2px solid var(--color-brand-black);
  border-radius: 15px;
  background: color-mix(in srgb, var(--color-brand-primary) 17%, var(--color-bg));
  display: grid;
  gap: 0.45rem;
}

.checkout-complete__activation-label {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.checkout-complete__activation strong {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.checkout-complete__activation > span:last-child,
.checkout-complete__activation-copy {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--color-text);
}

.checkout-complete__activation-label + .checkout-complete__activation-copy {
  margin-top: 0.1rem;
}

.checkout-complete h1 + .checkout-complete__activation {
  margin-top: clamp(0.9rem, 2.2vh, 1.25rem);
}

.checkout-complete__kit-link {
  color: var(--color-brand-dark, #121210);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.14em;
}

.checkout-complete__kit-link:hover,
.checkout-complete__kit-link:focus-visible {
  color: #0b5c16;
}

.checkout-complete__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin: clamp(0.75rem, 1.8vh, 1rem) 0 0;
}

.checkout-complete__steps > div {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.65rem;
  border: 1.5px solid var(--color-brand-black);
  border-radius: 13px;
  text-align: left;
}

.checkout-complete__steps > div > span {
  flex: 0 0 auto;
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--color-brand-primary);
  font-size: 0.68rem;
  font-weight: 900;
}

.checkout-complete__steps p,
.checkout-complete__steps small {
  display: block;
  margin: 0;
}

.checkout-complete__steps strong {
  display: block;
  font-size: 0.78rem;
  line-height: 1.2;
}

.checkout-complete__steps small {
  margin-top: 0.12rem;
  color: var(--color-text-muted);
  font-size: 0.68rem;
  line-height: 1.25;
}

.checkout-complete__friki {
  margin: clamp(0.65rem, 1.5vh, 0.9rem) 0 0;
  font-size: 0.84rem;
}

.checkout-complete__actions {
  margin-top: clamp(0.65rem, 1.5vh, 0.9rem);
  display: flex;
  justify-content: center;
}

.checkout-complete__test-panel {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border: 2px dashed #b08900;
  border-radius: 14px;
  background: #fff8db;
  text-align: left;
}

.checkout-complete__test-title {
  margin: 0 0 0.35rem;
  font-weight: 750;
  font-size: 1rem;
}

.checkout-complete__test-ref,
.checkout-complete__test-event,
.checkout-complete__test-note {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkout-complete__test-actions {
  margin: 0.85rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.checkout-complete__sign {
  margin-top: 0.75rem;
}

.checkout-complete__esim {
  margin-top: 0.7rem;
  font-size: 0.78rem;
}

.checkout-confetti {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.checkout-confetti__piece {
  position: absolute;
  top: -1rem;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  background: var(--color-brand-primary);
  animation: checkout-confetti-fall var(--confetti-duration, 2.2s) cubic-bezier(.2,.7,.3,1) forwards;
  animation-delay: var(--confetti-delay, 0s);
  transform: translate3d(0, -10vh, 0) rotate(0deg);
  opacity: 0;
}

.checkout-confetti__piece:nth-child(3n) { background: var(--color-brand-black); }
.checkout-confetti__piece:nth-child(4n) { border: 2px solid var(--color-brand-black); background: var(--color-bg); }

@keyframes checkout-confetti-fall {
  0% { opacity: 0; transform: translate3d(0, -8vh, 0) rotate(0deg); }
  8% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--confetti-drift, 0px), 105vh, 0) rotate(var(--confetti-rotate, 540deg)); }
}

@media (max-width: 700px) {
  .page--contratar.checkout-is-complete { overflow: auto; }
  .checkout--complete { min-height: calc(100svh - 4.25rem); padding: 0.75rem 0; }
  .checkout-complete { width: min(calc(100% - 1rem), 48rem); padding: 0.9rem; }
  .checkout-complete__mark { width: 2.55rem; height: 2.55rem; margin-bottom: 0.45rem; }
  .checkout-complete__steps {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .checkout-complete__steps > div {
    align-items: flex-start;
    padding: 0.65rem 0.7rem;
    gap: 0.55rem;
  }
  .checkout-complete__steps strong { font-size: 0.9rem; }
  .checkout-complete__steps small {
    display: block;
    font-size: 0.8rem;
    line-height: 1.35;
  }
  .checkout-complete__activation { padding: 0.65rem 0.75rem; }
}

@media (max-width: 480px) {
  .checkout-complete__friki { margin-top: 0.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  .checkout-confetti { display: none; }
}


/* Checkout multi-servicio ------------------------------------------------ */
.checkout-cart__section-head{margin:1.35rem 0 .8rem}.checkout-cart__section-head>div{display:flex;align-items:center;gap:.65rem}.checkout-cart__section-head h2{margin:0;font-size:clamp(1.2rem,2vw,1.55rem)}.checkout-cart__section-head p{margin:.35rem 0 0;color:var(--color-text-muted,#686864)}.checkout-cart__step{display:grid;place-items:center;width:1.8rem;height:1.8rem;border:1px solid var(--color-ink,#1d1d1b);border-radius:50%;font-weight:800;font-size:.82rem;background:var(--color-brand-accent,#76d63b)}
.checkout-cart__plans{display:grid;gap:.7rem}.checkout-cart-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;padding:1rem 1.05rem;border:1px solid rgba(29,29,27,.2);border-radius:14px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.checkout-cart-item.is-selected{border-color:var(--color-ink,#1d1d1b);box-shadow:0 0 0 2px rgba(118,214,59,.24)}.checkout-cart-item__name{margin:0;font-size:1.08rem;font-weight:850}.checkout-cart-item__meta{margin:.2rem 0 0;color:#64645f;font-size:.9rem}.checkout-cart-item__price{margin:.45rem 0 0}.checkout-cart-item__qty{display:grid;grid-template-columns:2.45rem 2.65rem 2.45rem;align-items:center;border:1px solid rgba(29,29,27,.2);border-radius:999px;overflow:hidden;background:#f7f7f4}.checkout-cart-item__qty button{width:100%;height:2.45rem;border:0;background:transparent;font-size:1.35rem;cursor:pointer}.checkout-cart-item__qty button:hover:not(:disabled){background:var(--color-brand-accent,#76d63b)}.checkout-cart-item__qty button:disabled{opacity:.3;cursor:not-allowed}.checkout-cart-item__qty input{width:100%;height:2.45rem;border:0!important;border-left:1px solid rgba(29,29,27,.12)!important;border-right:1px solid rgba(29,29,27,.12)!important;border-radius:0!important;background:#fff!important;text-align:center;font-weight:850;-moz-appearance:textfield}.checkout-cart-item__qty input::-webkit-inner-spin-button,.checkout-cart-item__qty input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.checkout-cart-total{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-top:1rem;padding:.9rem 1rem;border-radius:12px;background:#1d1d1b;color:#fff}.checkout-cart-total>div{display:grid;gap:.1rem}.checkout-cart-total span{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#bfc0ba}.checkout-cart-total strong{font-size:1.1rem}.checkout-cart-total p{max-width:28rem;margin:0;font-size:.82rem;color:#d8d8d2;text-align:right}
.checkout-selection-list{list-style:none;padding:0;margin:.8rem 0 0;display:grid;gap:.5rem}.checkout-selection-list li{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem .75rem;border-radius:9px;background:rgba(29,29,27,.04)}.checkout-selection-list li>span{display:grid;gap:.08rem}.checkout-selection-list small{color:#6b6b66}.checkout-card__head--selection{align-items:flex-start}.checkout-selection-badge{display:inline-flex;padding:.3rem .55rem;border-radius:999px;background:var(--color-brand-accent,#76d63b);font-size:.76rem;font-weight:850}.checkout-review-selection__total{display:flex;justify-content:space-between;gap:1rem;align-items:baseline}.checkout-review-selection__total span{font-weight:800}.checkout-review-selection__total strong{font-size:1.1rem}.checkout-line__tariff{display:inline-flex;margin-left:.45rem;padding:.16rem .42rem;border-radius:999px;background:rgba(118,214,59,.18);font-size:.72rem;font-weight:800;vertical-align:middle}
@media(max-width:640px){.checkout-cart-item{grid-template-columns:minmax(0,1fr) auto;gap:.7rem .85rem;align-items:center}.checkout-cart-item__note{grid-column:1/-1}.checkout-cart-total{align-items:flex-start;flex-direction:column}.checkout-cart-total p{text-align:left}.checkout-selection-list li{align-items:flex-start}.checkout-review-selection__total{align-items:flex-start;flex-direction:column;gap:.25rem}}


/* Checkout: selector de fibra/packs más explícito ------------------------ */
.checkout-plan-pick__group{display:grid;gap:.65rem;margin:.25rem 0 .9rem}
.checkout-plan-pick__group-title{margin:0;font-size:.86rem;font-weight:850;text-transform:uppercase;letter-spacing:.065em;color:#595954}
.checkout-plan-pick__group-options{display:grid;gap:.72rem;grid-template-columns:1fr}
.checkout-plan-pick__group[data-base-group="fibra-movil"] .checkout-plan-pick__group-options,
.checkout-plan-pick__group[data-base-group="fibra"] .checkout-plan-pick__group-options{grid-template-columns:1fr}
.checkout-plan-pick__option{padding:1.1rem 1.2rem;gap:1rem}
.checkout-plan-pick__option-copy{min-width:0;gap:0!important;display:block!important}
.checkout-plan-pick__option-body{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  gap:.55rem 1rem;
  align-items:start;
}
.checkout-plan-pick__option-text{
  display:grid!important;
  gap:.28rem;
  min-width:0;
  padding-right:.15rem;
}
.checkout-plan-pick__name{
  display:block!important;
  font-size:1.16rem;
  line-height:1.2;
  font-weight:850;
}
.checkout-plan-pick__option-aside{
  display:grid!important;
  justify-items:end;
  align-content:start;
  gap:.55rem;
  min-width:6.75rem;
  text-align:right;
}
/* Solo fibra: nombre + descripción centrados a la altura del radio. */
.checkout-plan-pick__option--fiber{
  align-items:center;
}
.checkout-plan-pick__option--fiber .checkout-plan-pick__option-body{
  align-items:center;
}
.checkout-plan-pick__option--fiber .checkout-plan-pick__option-text{
  align-self:center;
}
.checkout-plan-pick__option--fiber .checkout-plan-pick__option-aside{
  align-self:start;
}
.checkout-plan-pick__type{
  display:inline-flex!important;
  width:max-content;
  padding:.28rem .58rem;
  border-radius:999px;
  background:rgba(29,29,27,.08);
  font-size:.74rem;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.045em;
}
.checkout-plan-pick__price{
  display:flex!important;
  flex-direction:column;
  align-items:flex-end;
  gap:.02rem;
  margin-top:.15rem;
  line-height:1.15;
  color:#242421;
  white-space:nowrap;
}
.checkout-plan-pick__amount{
  display:block!important;
  font-size:1.18rem;
  font-weight:850;
  letter-spacing:-0.02em;
}
.checkout-plan-pick__period{
  display:block!important;
  font-size:.78rem;
  font-weight:600;
  color:#6e6e69;
}
.checkout-plan-pick__option:has(input:checked) .checkout-plan-pick__type{background:rgba(255,255,255,.58)}
.checkout-plan-pick__option:has(input:checked) .checkout-plan-pick__price{color:#1d1d1b}
.checkout-plan-pick__option:has(input:checked) .checkout-plan-pick__period{color:#4a4a46}
.checkout-plan-pick__fiber{font-size:1rem;font-weight:800;line-height:1.3;color:#262623}
.checkout-plan-pick__mobile{display:flex!important;flex-wrap:wrap;align-items:baseline;gap:.25rem .55rem!important;font-size:.98rem;line-height:1.4;color:#4f4f4a}
.checkout-plan-pick__mobile>strong{font-size:1rem;color:#242421}
.checkout-plan-pick__mobile>span{display:inline!important;color:#5f5f59}
.checkout-plan-pick__included{font-size:.96rem;color:#5e5e58;line-height:1.4}
.checkout-plan-pick__option:has(input:checked) .checkout-plan-pick__included,.checkout-plan-pick__option:has(input:checked) .checkout-plan-pick__mobile,.checkout-plan-pick__option:has(input:checked) .checkout-plan-pick__mobile>span{color:#292927}
.checkout-nowrap{white-space:nowrap}
.checkout-cart__section-head p{font-size:.98rem;line-height:1.45}

/* Tipografía unificada: móvil = packs (nombre / descripción / importe). */
.checkout-cart-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  column-gap:1rem;
  row-gap:.55rem;
}
.checkout-cart-item__copy{min-width:0}
.checkout-cart-item__name{
  margin:0;
  font-size:1.16rem;
  line-height:1.2;
  font-weight:850;
}
.checkout-cart-item__meta{
  margin:.28rem 0 0;
  font-size:1rem;
  font-weight:800;
  line-height:1.3;
  color:#262623;
}
.checkout-cart-item__price{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:.15rem .35rem;
  margin:.45rem 0 0;
  line-height:1.15;
  color:#242421;
}
.checkout-cart-item__amount{
  font-size:1.18rem;
  font-weight:850;
  letter-spacing:-0.02em;
}
.checkout-cart-item__period{
  font-size:.78rem;
  font-weight:600;
  color:#6e6e69;
}
.checkout-cart-item__per-line{
  font-size:.78rem;
  font-weight:600;
  color:#6e6e69;
}
.checkout-cart-item__qty{
  align-self:center;
}
.checkout-cart-item__note{
  grid-column:1 / -1;
  margin:.15rem 0 0;
  padding-top:.55rem;
  border-top:1px solid rgba(29,29,27,.1);
  font-size:1rem;
  font-weight:400;
  line-height:1.35;
  color:#4f4f4a;
  max-width:none;
}
.checkout-cart-item--has-note{
  align-items:start;
}
.checkout-cart-item--has-note .checkout-cart-item__qty{
  margin-top:.15rem;
}

@media(min-width:900px){
  .checkout-cart__section-head p{max-width:none}
  .checkout-plan-pick__group[data-base-group="fibra"] .checkout-plan-pick__group-options{grid-template-columns:1fr}
}
@media(max-width:520px){
  .checkout-plan-pick__option{padding:1rem}
  .checkout-plan-pick__option-body{gap:.45rem .7rem}
  .checkout-plan-pick__option-aside{min-width:5.9rem;gap:.4rem}
  .checkout-plan-pick__name,
  .checkout-cart-item__name{font-size:1.06rem;padding-right:.2rem}
  .checkout-plan-pick__type{font-size:.66rem;padding:.24rem .5rem}
  .checkout-plan-pick__amount,
  .checkout-cart-item__amount{font-size:1.08rem}
  .checkout-plan-pick__period,
  .checkout-cart-item__period,
  .checkout-cart-item__per-line{font-size:.74rem}
  .checkout-plan-pick__fiber,
  .checkout-cart-item__meta,
  .checkout-cart-item__note{font-size:.95rem}
  .checkout-plan-pick__mobile{display:grid!important;gap:.08rem!important}
  .checkout-cart-item__note{padding-top:.45rem}
}


/* Checkout: limpieza visual y ritmo ------------------------------------- */
.checkout-card--summary{padding:1.45rem 1.35rem}
.checkout-card--summary .checkout-card__head{margin-bottom:1rem}
.checkout-card--summary .checkout-selection-list{margin-top:.95rem}
.checkout-card--summary .checkout-card__list--compact{margin:1rem 0 0;padding-top:.9rem;border-top:1px solid rgba(29,29,27,.13);gap:.58rem}
.checkout-card--summary .checkout-card__list--compact li{display:flex;align-items:center;gap:.55rem;line-height:1.35}
.checkout-card--summary .checkout-card__coverage{display:flex;align-items:center;gap:.55rem;margin:1rem 0 0;padding-top:.9rem;border-top:1px solid rgba(29,29,27,.13);font-size:.95rem}
.checkout-card--summary .checkout-card__coverage .ui-icon{flex:0 0 auto}
.checkout-card--summary .checkout-card__price{margin-bottom:0}
.checkout-selection-list{gap:.62rem}
.checkout-selection-list li{padding:.78rem .85rem}
.checkout-cart__section-head{margin:1.65rem 0 1rem}
.checkout-cart__plans{gap:.82rem}
.checkout-cart-item{padding:1.08rem 1.12rem}
.checkout-cart-total{margin-top:1.2rem;padding:1rem 1.1rem}
.checkout-plan-pick__group{margin:.35rem 0 1.15rem;gap:.75rem}
.checkout-plan-pick__group-options{gap:.82rem}
.checkout-plan-pick__option{padding:1.15rem 1.25rem}
.checkout-plan-pick__option-copy{gap:0!important}
.checkout-plan-pick__mobile{margin-top:.05rem}
.checkout-plan-pick__mobile>strong{font-size:1rem}
.checkout__actions{margin-top:1.2rem}
/* Continuar/Volver por encima del chip fijo de soporte (fallo móvil). */
.page--contratar:not(.checkout-is-complete) .checkout__actions{
  position:relative;
  z-index:1;
  margin-bottom:calc(5.4rem + env(safe-area-inset-bottom, 0px));
}
.page--contratar:not(.checkout-is-complete) .checkout__actions .btn{
  position:relative;
  z-index:1;
  touch-action:manipulation;
}
@media(max-width:640px){
  .checkout-card--summary{padding:1.15rem 1rem}
  .checkout-card--summary .checkout-card__head{margin-bottom:.8rem}
  .checkout-selection-list li{padding:.72rem .75rem}
  .checkout-plan-pick__option{padding:1rem}
  .page--contratar:not(.checkout-is-complete) .checkout__actions{
    margin-bottom:calc(5.8rem + env(safe-area-inset-bottom, 0px));
  }
}


/* Ayuda telefónica durante la contratación. Se oculta al completar el proceso. */
.checkout-call {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.9rem;
  max-width: min(calc(100vw - 2rem), 20rem);
  padding: 0.65rem 1rem 0.65rem 0.7rem;
  border: 2px solid var(--color-brand-black);
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-brand-black);
  box-shadow: 4px 4px 0 var(--color-brand-primary);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.checkout-call__icon {
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 2.6rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--color-brand-black);
  border-radius: 999px;
  background: var(--color-brand-primary);
  box-shadow: 2px 2px 0 var(--color-brand-black);
}

.checkout-call__icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.checkout-call__copy {
  min-width: 0;
  display: grid;
  gap: 0.08rem;
}

.checkout-call__eyebrow {
  font-size: 0.68rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-section-label);
}

.checkout-call__phone {
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.1;
  font-weight: 800;
  white-space: nowrap;
}

.checkout-call:hover {
  transform: translateY(-2px);
  box-shadow: 5px 7px 0 var(--color-brand-primary);
  background: var(--color-bg-muted);
}

.checkout-call:active {
  transform: translateY(0);
  box-shadow: 2px 2px 0 var(--color-brand-primary);
}

.checkout-call:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--color-brand-black), 4px 4px 0 var(--color-brand-primary);
}

.checkout-is-complete .checkout-call {
  display: none !important;
}

@media (max-width: 640px) {
  /* Chip compacto a la derecha: no tapa el ancho completo de Continuar. */
  .checkout-call {
    left: auto;
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: calc(0.9rem + env(safe-area-inset-bottom));
    max-width: min(calc(100vw - 1.5rem), 17.5rem);
    min-height: 3.25rem;
    padding: 0.5rem 0.78rem 0.5rem 0.55rem;
    gap: 0.55rem;
    justify-content: flex-start;
  }

  .checkout-call__icon {
    width: 2.2rem;
    height: 2.2rem;
    flex-basis: 2.2rem;
  }

  .checkout-call__phone {
    font-size: 0.9rem;
  }
}

@media (max-width: 380px) {
  .checkout-call__eyebrow {
    display: none;
  }

  .checkout-call {
    min-height: 3.4rem;
  }
}

/* Cierre de checkout: menos densidad y mejor jerarquía visual. */
.checkout-conditions-card .checkout-card__head,
.checkout-finalize-card .checkout-card__head {
  margin-bottom: 1rem;
}

.checkout-condition-rows {
  display: grid;
  gap: 0;
}

.checkout-condition-row {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(18, 18, 16, 0.12);
}

.checkout-condition-row:first-child {
  padding-top: 0.15rem;
}

.checkout-condition-row:last-child {
  border-bottom: 0;
  padding-bottom: 0.15rem;
}

.checkout-condition-row strong {
  display: block;
  margin: 0 0 0.28rem;
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.25;
  color: var(--color-ink, #1d1d1b);
}

.checkout-condition-row p {
  margin: 0;
  color: var(--color-text-muted, #5f605b);
  font-size: 0.95rem;
  line-height: 1.45;
}

.checkout-condition-row--permanence strong {
  font-size: 1.16rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.checkout-condition-row--permanence p {
  font-size: 0.98rem;
  color: var(--color-ink, #1d1d1b);
}

.checkout-conditions-list {
  gap: 0.78rem;
}

.checkout-conditions-list li {
  line-height: 1.5;
}

.checkout-finalize-form {
  display: grid;
  gap: 0.95rem;
}

.checkout-finalize-accept {
  align-items: flex-start;
  padding: 0;
  line-height: 1.45;
}

.checkout-prelaunch-summary {
  display: grid;
  gap: 0.28rem;
  padding: 0.85rem 0.95rem;
  border-left: 3px solid var(--color-brand-primary);
  border-radius: 0 10px 10px 0;
  background: rgba(118, 214, 59, 0.08);
  line-height: 1.45;
}

.checkout-stripe-card--embedded {
  margin-top: 0.15rem;
  padding: 0.95rem 1rem;
  border: 2px solid var(--color-brand-black);
  border-radius: 14px;
  background: var(--color-bg);
}

.checkout-stripe-card__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.2;
}

/* Bloque de pago/identidad alineado con el resto de checkout-card--block. */
.checkout-card.checkout-stripe-card {
  width: 100%;
  box-sizing: border-box;
}

.checkout-card.checkout-stripe-card > .checkout-card__head {
  margin-bottom: 0.75rem;
}

.checkout-card.checkout-stripe-card > .checkout-card__head h1,
.checkout-card.checkout-stripe-card > .checkout-card__head h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

.checkout-stripe {
  display: grid;
  gap: 0.85rem;
}

.checkout-stripe-req {
  margin: 0 0 0.15rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-muted, #5f605b);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
}

.checkout-prelaunch-summary > p {
  margin: 0;
}

.checkout-stripe-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

.checkout-stripe-tile {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: stretch;
  padding: 1rem 1.05rem;
  border: 2px solid var(--color-brand-black);
  border-radius: 14px;
  background: color-mix(in srgb, var(--color-bg-muted, #f3f3f0) 70%, var(--color-bg));
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
}

.checkout-stripe-tile.is-active {
  background: color-mix(in srgb, var(--color-brand-primary) 12%, var(--color-bg));
}

.checkout-stripe-tile.is-done {
  background: color-mix(in srgb, var(--color-brand-primary) 10%, var(--color-bg));
}

.checkout-stripe-tile.is-progress {
  background: color-mix(in srgb, #d9e2ec 55%, var(--color-bg));
}

.checkout-stripe-tile h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.checkout-stripe-tile__help {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--color-text-muted, #5f605b);
}

.checkout-stripe-tile__status {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.35;
}

.checkout-stripe-tile__status.is-ok {
  color: #0b5c16;
}

.checkout-stripe-tile__status.is-progress {
  color: #334155;
}

.checkout-stripe-tile__badge {
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 2px solid currentColor;
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
}

/* Empuja el botón al fondo de la tarjeta en layout de 2 columnas. */
.checkout-stripe-tile form {
  margin: 0;
  margin-top: auto;
  padding-top: 0.35rem;
}

.checkout-stripe-tile .btn {
  min-height: 2.75rem;
  width: 100%;
}

.checkout-stripe__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.checkout-stripe__actions form {
  margin: 0;
}

.checkout-stripe__ready {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .checkout-stripe-grid {
    grid-template-columns: 1fr;
  }

  .checkout-stripe-tile {
    height: auto;
    gap: 0.7rem;
  }

  /* En móvil no hace falta empujar el botón: separación natural con el gap. */
  .checkout-stripe-tile form {
    margin-top: 0;
    padding-top: 0;
  }

  .checkout-stripe-tile .btn,
  .checkout-stripe__actions .btn {
    width: 100%;
  }

  .checkout-stripe__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.checkout-prelaunch-summary strong {
  font-weight: 850;
}

.checkout-prelaunch-summary span {
  color: var(--color-text-muted, #5f605b);
}

.checkout-legal-details {
  padding-top: 0;
  margin: 0;
}

.checkout-legal-details summary {
  width: fit-content;
  cursor: pointer;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.checkout-legal-details[open] summary {
  margin-bottom: 0.65rem;
}

.checkout-legal-details .checkout-card__list {
  margin: 0;
  padding: 0.7rem 0 0;
  border-top: 1px solid rgba(29, 29, 27, 0.13);
  gap: 0.58rem;
}

/* Revisión: el margen enorme de .checkout__actions es para el chip de soporte.
   En Confirmación sobraba aire vacío debajo de los botones en escritorio. */
.page--contratar:not(.checkout-is-complete) .checkout-finalize-card .checkout-finalize-actions.checkout__actions {
  margin-top: 0.15rem;
  margin-bottom: calc(1.35rem + env(safe-area-inset-bottom, 0px));
}

.checkout-finalize-card {
  margin-bottom: 0;
  padding-bottom: 1rem;
}

.checkout-finalize-card > .checkout-card__head {
  margin-bottom: 0.75rem;
}

.page--contratar:not(.checkout-is-complete) .checkout:has(.checkout-finalize-card) {
  padding-bottom: var(--space-lg, 1.5rem);
}

.page--contratar:not(.checkout-is-complete) .checkout-card.checkout-stripe-card,
.page--contratar:not(.checkout-is-complete) .checkout-card.checkout-finalize-card,
.page--contratar:not(.checkout-is-complete) .checkout-card.checkout-conditions-card {
  margin-bottom: 0.85rem;
}

.page--contratar:not(.checkout-is-complete) .checkout-conditions-card .checkout-card__head,
.page--contratar:not(.checkout-is-complete) .checkout-finalize-card .checkout-card__head {
  margin-bottom: 0.75rem;
}

@media (max-width: 640px) {
  .checkout-finalize-form {
    gap: 0.9rem;
  }

  .checkout-prelaunch-summary {
    padding: 0.8rem 0.85rem;
  }

  .page--contratar:not(.checkout-is-complete) .checkout-finalize-card .checkout-finalize-actions.checkout__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    /* Chip fijo de soporte: conserva hueco inferior en móvil. */
    margin-bottom: calc(5.4rem + env(safe-area-inset-bottom, 0px));
  }

  .checkout-finalize-actions .btn--primary {
    grid-column: 1 / -1;
    width: 100%;
  }

  .checkout-finalize-actions .btn--ghost {
    width: 100%;
    min-width: 0;
  }
}

/* Ajustes finales del checkout: cobertura y validación legal ------------ */
.checkout-coverage__ready {
  margin: 1rem 0 0;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.55;
}

.checkout__actions--coverage-ready {
  margin-top: 1.25rem;
  align-items: center;
}

.checkout-coverage__continue {
  min-width: min(100%, 16.5rem);
  min-height: 3.25rem;
  font-size: 1rem;
}

.checkout-finalize-accept.is-error {
  border-color: #b42318;
  background: #fff3f2;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.08);
}

.checkout-finalize-accept.is-error input[type="checkbox"] {
  outline: 2px solid #b42318;
  outline-offset: 2px;
}

.checkout-contract-error {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.65rem 0 0;
  padding: 0.8rem 0.9rem;
  border: 2px solid #b42318;
  border-radius: 12px;
  background: #fff3f2;
  color: #7a271a;
  font-size: 0.92rem;
  line-height: 1.4;
}

.checkout-contract-error[hidden] {
  display: none !important;
}

.checkout-contract-error > span {
  display: grid;
  place-items: center;
  flex: 0 0 1.55rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: #b42318;
  color: #fff;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 640px) {
  .checkout__actions--coverage-ready {
    display: grid;
    grid-template-columns: 1fr;
  }

  .checkout__actions--coverage-ready .btn,
  .checkout-coverage__continue {
    width: 100%;
    min-width: 0;
  }

  .checkout-contract-error {
    align-items: flex-start;
  }
}

/* Checkout: tipografía unificada entre pasos (Tus datos / Tu línea / Revisión). */
.page--contratar .checkout-card__head h1,
.page--contratar .checkout-card__head h2,
.page--contratar .checkout-fieldset > legend,
.page--contratar .checkout-line > legend,
.page--contratar .checkout-fixed > legend,
.page--contratar .checkout-installation-fieldset > legend,
.page--contratar .checkout-stripe-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 800;
  line-height: 1.2;
}

.page--contratar .checkout .field label,
.page--contratar .field-label,
.page--contratar .checkout-option-title,
.page--contratar .choice-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 800;
  line-height: 1.25;
}

.page--contratar .checkout .field__hint,
.page--contratar .checkout-fieldset__hint,
.page--contratar .checkout-stripe__hint,
.page--contratar .checkout-stripe-tile__help,
.page--contratar .checkout-option-note,
.page--contratar .choice-card__text {
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: 1.45;
}

.page--contratar .checkout-card p,
.page--contratar .checkout-card li,
.page--contratar .checkout-card__list li,
.page--contratar .checkout-prelaunch-summary,
.page--contratar .checkout-activation-note p {
  font-size: var(--fs-md);
  line-height: 1.5;
}

.page--contratar .checkout-condition-row strong,
.page--contratar .checkout-condition-row--permanence strong {
  font-size: var(--fs-md);
  font-weight: 800;
  line-height: 1.25;
}

.page--contratar .checkout-condition-row p,
.page--contratar .checkout-condition-row--permanence p {
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: 1.45;
}

.page--contratar .checkout__actions .btn,
.page--contratar .checkout-finalize-actions .btn {
  font-size: var(--fs-md);
  font-weight: 800;
  line-height: 1.2;
}
