/* Draft only — Planes Paso 1 UI. No anexar a pages.css hasta publicar. */

.page-planes-preview {
  padding-top: 0;
}

/* draft-banner removido del HTML — no usar en preview */

.plans {
  position: relative;
  z-index: 10;
  width: min(100%, 1100px);
  margin: 0 auto;
  padding:
    calc(6.5rem + env(safe-area-inset-top, 0px))
    clamp(1.25rem, 4vw, 2.5rem)
    2rem;
}

.plans__lead {
  max-width: 38rem;
  margin: -1.5rem auto 2.25rem;
  text-align: center;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 450;
  letter-spacing: -0.03em;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

/* —— Mode tabs —— */
.plans-mode {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin: 0 auto 2.5rem;
  padding: 0.35rem;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 14, 28, 0.65);
}

.plans-mode__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.plans-mode__btn:hover {
  color: rgba(255, 255, 255, 0.85);
}

.plans-mode__btn.is-active {
  color: #fff;
  background: rgba(46, 138, 221, 0.28);
  box-shadow: 0 0 28px rgba(46, 138, 221, 0.22);
}

.plans-panel[hidden] {
  display: none !important;
}

/* —— Cotización: mismo aire inferior que suscripciones —— */
.quote-stage {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  padding: 0.35rem 0 0;
  margin: 0;
  box-sizing: border-box;
}

.quote-block {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 2.85rem) clamp(1.6rem, 3.5vw, 2.5rem) clamp(2.1rem, 4vw, 2.75rem);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  border: 1px solid rgba(96, 165, 250, 0.45);
  background:
    linear-gradient(160deg, rgba(46, 138, 221, 0.16) 0%, rgba(8, 14, 28, 0.72) 48%, rgba(8, 14, 28, 0.82) 100%);
  box-shadow:
    0 0 0 1px rgba(46, 138, 221, 0.18),
    0 0 28px rgba(46, 138, 221, 0.28),
    0 0 72px rgba(46, 138, 221, 0.18),
    0 28px 80px rgba(0, 0, 0, 0.55);
}

.quote-block::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  z-index: -1;
  background: radial-gradient(ellipse 75% 70% at 50% 0%, rgba(46, 138, 221, 0.35), transparent 70%);
  filter: blur(18px);
  opacity: 0.9;
  pointer-events: none;
}

.quote-block__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2e8add;
}

.quote-block__title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.12;
  color: #fff;
  max-width: 18ch;
}

.quote-block__copy {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.55);
}

.quote-block__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.45rem 0 0.35rem;
}

.quote-block__tags span {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.88rem;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.72);
  cursor: default;
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    text-shadow 0.3s ease;
}

.quote-block__tags span:hover {
  color: #fff;
  border-color: rgba(96, 165, 250, 0.75);
  background: rgba(46, 138, 221, 0.2);
  box-shadow:
    0 0 22px rgba(46, 138, 221, 0.45),
    0 0 48px rgba(59, 130, 246, 0.28);
  text-shadow: 0 0 18px rgba(96, 165, 250, 0.65);
}

.quote-block__cta {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  margin-top: 0.65rem;
  text-decoration: none;
  padding: 1.25rem 2.85rem !important;
  font-size: 1.15rem !important;
  font-weight: 750 !important;
  letter-spacing: -0.045em !important;
  border-radius: 999px;
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.45),
    0 0 36px rgba(255, 255, 255, 0.12);
}

/* —— Suscripciones intro (entre modo y formato) —— */
.plans-sub-intro {
  position: relative;
  isolation: isolate;
  width: min(100%, 640px);
  margin: 0 auto 1.75rem;
  padding: 1.55rem 1.5rem 1.65rem;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  border: 1px solid rgba(96, 165, 250, 0.45);
  background:
    linear-gradient(160deg, rgba(46, 138, 221, 0.16) 0%, rgba(8, 14, 28, 0.72) 48%, rgba(8, 14, 28, 0.82) 100%);
  box-shadow:
    0 0 0 1px rgba(46, 138, 221, 0.18),
    0 0 28px rgba(46, 138, 221, 0.28),
    0 0 72px rgba(46, 138, 221, 0.18),
    0 22px 60px rgba(0, 0, 0, 0.45);
}

.plans-sub-intro::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  z-index: -1;
  background: radial-gradient(ellipse 75% 70% at 50% 0%, rgba(46, 138, 221, 0.35), transparent 70%);
  filter: blur(18px);
  opacity: 0.9;
  pointer-events: none;
}

.plans-sub-intro__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2e8add;
}

.plans-sub-intro__tags {
  margin: 0;
}

/* —— Suscripciones: facturación + qué busco —— */
.plans-select {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: min(100%, 860px);
  margin: 0 auto 2.75rem;
}

.plans-select__group {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.plans-select__group legend {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.55);
}

.plans-choice--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.55rem;
  align-items: stretch;
  margin: 0 auto 2.5rem;
  max-width: 1080px;
}

.plans__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
  gap: 1.75rem;
  align-items: stretch;
}

.plan-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  padding: 0;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 14, 28, 0.72);
  color: inherit;
  font: inherit;
}

/* Entrada Apple (blur) — no pisar con transition corta de hover */
.plan-card.reveal {
  opacity: 0;
  filter: blur(18px);
  transform: translateY(36px) scale(0.98);
  transition:
    opacity 1.45s var(--ease),
    transform 1.45s var(--ease),
    filter 1.45s var(--ease),
    border-color 0.8s var(--ease),
    box-shadow 0.8s var(--ease),
    background 0.8s var(--ease);
  will-change: opacity, transform, filter;
}

.plan-card.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.plan-card.reveal.reveal-delay-1 {
  transition-delay: 0.18s;
}

.plan-card.reveal.reveal-delay-2 {
  transition-delay: 0.32s;
}

.plan-card.reveal.reveal-delay-3 {
  transition-delay: 0.48s;
}

.plan-card.is-visible:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
}

.plan-card.is-selected {
  border-color: rgba(46, 138, 221, 0.7);
  box-shadow: 0 0 40px rgba(46, 138, 221, 0.22);
}

.plan-card.is-selected.is-premium {
  border-color: rgba(212, 175, 120, 0.7);
  box-shadow: 0 0 40px rgba(212, 175, 120, 0.18);
}

/* Premium: exclusivo, sobrio (champagne) */
.plan-card.is-premium {
  border-color: rgba(212, 175, 120, 0.32);
  background:
    linear-gradient(180deg, rgba(212, 175, 120, 0.12) 0%, rgba(8, 14, 28, 0.92) 42%),
    rgba(10, 12, 18, 0.94);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.45),
    0 0 36px rgba(212, 175, 120, 0.08);
}

.plan-card.is-visible.is-premium:hover {
  border-color: rgba(212, 175, 120, 0.5);
  transform: translateY(-4px);
  box-shadow:
    0 26px 56px rgba(0, 0, 0, 0.5),
    0 0 44px rgba(212, 175, 120, 0.14);
}

.plan-card.is-premium .plan-card__cta {
  border-color: rgba(212, 175, 120, 0.35);
  color: #f5e6c8;
  background: rgba(212, 175, 120, 0.1);
}

.plan-card.is-premium:hover .plan-card__cta {
  border-color: rgba(212, 175, 120, 0.55);
  background: rgba(212, 175, 120, 0.16);
  box-shadow: 0 0 22px rgba(212, 175, 120, 0.18);
}

.plan-card.is-premium .plan-card__features {
  border-top-color: rgba(212, 175, 120, 0.16);
}

.plan-card.is-premium .plan-card__features-label {
  color: rgba(232, 212, 176, 0.55);
}

.plan-card.is-premium .plan-card__meta li {
  color: rgba(245, 230, 200, 0.82);
  text-shadow: 0 0 18px rgba(212, 175, 120, 0.22);
}

.plan-card.is-premium .plan-card__check {
  border-color: rgba(232, 212, 176, 0.7);
  background:
    radial-gradient(circle at 50% 45%, #f5e6c8 0 28%, transparent 30%),
    transparent;
  box-shadow:
    0 0 12px rgba(212, 175, 120, 0.55),
    0 0 24px rgba(212, 175, 120, 0.25);
}

.plan-card.is-popular {
  z-index: 2;
  border-color: rgba(96, 165, 250, 0.45);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.42) 0%, rgba(8, 14, 28, 0.92) 46%),
    rgba(8, 14, 28, 0.95);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 56px rgba(46, 138, 221, 0.28);
}

.plan-card.is-visible.is-popular {
  transform: scale(1.06);
}

.plan-card.is-visible.is-popular:hover {
  transform: scale(1.06) translateY(-4px);
}

.plan-card.is-popular::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 55%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(147, 197, 253, 0.55), transparent 62%),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.35), transparent 18%),
    radial-gradient(circle at 22% 28%, rgba(191, 219, 254, 0.28), transparent 16%);
  pointer-events: none;
  z-index: 0;
}

.plans__grid--two .plan-card {
  min-height: 24rem;
  padding: 0;
}

.plans__grid--two .plan-card.is-visible.is-popular {
  transform: scale(1.03);
}

.plans__grid--two .plan-card.is-visible.is-popular:hover {
  transform: scale(1.03) translateY(-4px);
}

.plan-card__ribbon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.05rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, #1d4ed8, #3b82f6 50%, #2563eb);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.28);
}

.plan-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.55rem 1.4rem 1.15rem;
}

.plans__grid--two .plan-card__top {
  padding: 1.85rem 1.7rem 1.45rem;
}

.plan-card.is-popular .plan-card__top {
  padding-top: 1.35rem;
  padding-bottom: 1.45rem;
}

.plan-card__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.plan-card__tier {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.78);
}

.plan-card__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.plan-card__discount {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.35);
}

.plan-card__price {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.7rem;
  font-size: clamp(1.85rem, 2.6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  color: #fff;
  line-height: 1;
}

.plan-card__price-main {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
}

.plans__grid--two .plan-card__price {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
}

.plan-card__price small {
  display: inline;
  font-size: 0.42em;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.5);
}

.plan-card__price-was {
  font-size: 0.5em;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
}

.plan-card__blurb {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.52);
}

.plan-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.2rem;
  padding: 0.78rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.88);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.plan-card:hover .plan-card__cta {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

.plan-card.is-popular .plan-card__cta {
  border: 0;
  color: #0b1220;
  background: linear-gradient(135deg, #93c5fd, #3b82f6 55%, #2563eb);
  box-shadow:
    0 12px 28px rgba(37, 99, 235, 0.35),
    0 0 24px rgba(96, 165, 250, 0.35);
}

.plan-card.is-popular:hover .plan-card__cta {
  box-shadow:
    0 16px 34px rgba(37, 99, 235, 0.45),
    0 0 36px rgba(147, 197, 253, 0.4);
}

.plan-card__features {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1rem 1.4rem 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.plans__grid--two .plan-card__features {
  padding: 1.1rem 1.7rem 1.6rem;
}

.plan-card__callout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  margin-top: 1.15rem;
  flex: 0 0 auto;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background:
    linear-gradient(180deg, rgba(239, 68, 68, 0.16), rgba(127, 29, 29, 0.12));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  text-align: center;
}

.plan-card__callout-label {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(254, 202, 202, 0.82);
}

.plan-card__callout-value {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fecaca;
  text-shadow: 0 0 18px rgba(248, 113, 113, 0.3);
}

.plan-card__features-label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.plan-card__meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.plan-card__meta li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.35;
}

.plan-card__check {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.08rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background:
    radial-gradient(circle at 50% 45%, #fff 0 28%, transparent 30%),
    transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* —— Popup formulario / agenda —— */
.plans-modal {
  position: fixed;
  inset: 0;
  /* Por encima del .nav (z-index 100) para que no tape título / agenda */
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  pointer-events: none;
}

.plans-modal[hidden] {
  display: none !important;
}

.plans-modal.is-open {
  pointer-events: auto;
}

.plans-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px) saturate(1);
  -webkit-backdrop-filter: blur(0px) saturate(1);
  transition:
    background 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    -webkit-backdrop-filter 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.plans-modal.is-open .plans-modal__backdrop {
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
}

.plans-modal__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: min(100%, 980px);
  max-height: min(92vh, 900px);
  transition: gap 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.plans-modal.is-agenda .plans-modal__stage {
  width: min(100%, 980px);
  max-height: min(94vh, 900px);
}

.plans-modal.is-split .plans-modal__stage {
  gap: 1rem;
}

.plans-modal__plan {
  flex: 0 0 auto;
  width: 0;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  filter: blur(16px);
  transform: translateX(-28px) scale(0.96);
  border-radius: 28px;
  border: 1px solid transparent;
  background: rgba(46, 138, 221, 0.12);
  box-sizing: border-box;
  padding: 0;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    max-width 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.55s ease;
}

.plans-modal.is-split .plans-modal__plan {
  width: 250px;
  max-width: 250px;
  opacity: 1;
  pointer-events: auto;
  filter: blur(0);
  transform: none;
  padding: 1.55rem 1.35rem 1.45rem;
  border-color: rgba(46, 138, 221, 0.28);
  overflow: visible;
}

.plans-modal__plan.is-leaving {
  opacity: 0 !important;
  filter: blur(14px) !important;
  transform: translateX(-32px) scale(0.96) !important;
  pointer-events: none !important;
}

.plans-modal__plan-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2e8add;
}

.plans-modal__plan-tier {
  margin: 0 0 0.55rem;
  font-family: var(--font);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 750;
  letter-spacing: -0.05em;
  color: #f5f5f7;
  line-height: 1.05;
}

.plans-modal__plan-price {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: rgba(191, 219, 254, 0.98);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
}

.plans-modal__plan-price small {
  font-size: 0.78rem;
  font-weight: 550;
  color: rgba(191, 219, 254, 0.65);
}

.plans-modal__plan-price-was {
  font-size: 0.92rem;
  font-weight: 550;
  color: rgba(191, 219, 254, 0.45);
  text-decoration: line-through;
}

.plans-modal__plan-discount {
  margin: 0 0 1.15rem;
  width: fit-content;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(46, 138, 221, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.35);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #93c5fd;
}

.plans-modal__plan-discount[hidden] {
  display: none !important;
}

.plans-modal__plan-meta {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.plans-modal__plan-meta li {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(46, 138, 221, 0.22);
}

.plans-modal__plan-meta span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 0.5);
}

.plans-modal__plan-meta strong {
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: rgba(245, 245, 247, 0.95);
}

.plans-modal__dialog {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: min(100%, 640px);
  max-width: 640px;
  max-height: min(92vh, 900px);
  overflow: auto;
  overflow-x: hidden;
  padding: 1.85rem 1.35rem 1.5rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 14, 28, 0.92);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(46, 138, 221, 0.12);
  opacity: 0;
  filter: blur(18px);
  transform: translateY(28px) scale(0.97);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
    filter 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
  /* scrollbar dentro del radio, no “sale” de las esquinas */
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(46, 138, 221, 0.45) transparent;
}

.plans-modal__dialog::-webkit-scrollbar {
  width: 8px;
}

.plans-modal__dialog::-webkit-scrollbar-track {
  margin-block: 14px;
  background: transparent;
}

.plans-modal__dialog::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(46, 138, 221, 0.4);
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* País abierto: el menú puede salir del cuadro sin agrandar el form */
.plans-modal__dialog:has(.phone-field.is-open),
.plans-modal.is-agenda .plans-modal__dialog:has(.phone-field.is-open) {
  overflow: visible;
}

.plans-modal__stage:has(.phone-field.is-open) {
  overflow: visible;
  z-index: 2;
}

.plans-modal.is-open .plans-modal__dialog {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

/* Agenda: ancho al booker — menos aire arriba (abajo ya OK) */
.plans-modal.is-agenda .plans-modal__dialog {
  width: min(100%, 960px);
  max-width: 960px;
  max-height: min(94vh, 900px);
  padding: 1.05rem 1.35rem 1.35rem;
  overflow: auto;
}

/* Confirmación Cal: misma animación suave, sin achicar el modal */
.plans-modal.is-agenda.is-booked .plans-modal__dialog {
  width: min(100%, 960px);
  max-width: 960px;
  padding-bottom: 1.5rem;
  /* clip + scroll interno: la barra no corta el border-radius */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
    filter 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.plans-modal.is-agenda.is-booked .plans-modal__step[data-modal-step="agenda"] {
  overflow: auto;
  min-height: 0;
  flex: 1 1 auto;
  max-height: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(46, 138, 221, 0.45) transparent;
}

.plans-modal.is-agenda.is-booked .plans-modal__step[data-modal-step="agenda"]::-webkit-scrollbar {
  width: 8px;
}

.plans-modal.is-agenda.is-booked .plans-modal__step[data-modal-step="agenda"]::-webkit-scrollbar-track {
  margin-block: 14px;
  background: transparent;
}

.plans-modal.is-agenda.is-booked .plans-modal__step[data-modal-step="agenda"]::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(46, 138, 221, 0.4);
  border: 2px solid transparent;
  background-clip: padding-box;
}

.plans-modal__title-block--agenda {
  margin: 0 auto 0;
  padding-inline: 1.25rem;
}

.plans-modal.is-agenda .plans-modal__title-block .section-title__eyebrow {
  margin: 0 0 0.4rem;
}

.plans-modal__lede {
  margin: 0.55rem auto 0;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 450;
  color: rgba(255, 255, 255, 0.55);
}

.plans-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.plans-modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.plans-modal__close svg {
  width: 1rem;
  height: 1rem;
}

.plans-modal__title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 1.75rem;
  text-align: center;
  max-width: none;
  padding-inline: 1.75rem;
}

.plans-modal__title-block .section-title__eyebrow {
  color: #2e8add;
  font-weight: 600;
  margin: 0 0 0.65rem;
  width: 100%;
  text-align: center;
}

.plans-modal__title-block .section-title__heading {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  align-items: center;
  justify-content: center;
}

.plans-modal__title-block .section-title__line {
  white-space: normal;
  text-align: center;
  margin-inline: auto;
}

.plans-modal__step {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(22px);
  transition:
    opacity 0.65s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
    transform 0.65s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
    filter 0.65s var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.plans-modal__step.is-active {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.plans-modal__step[hidden] {
  display: none !important;
}

.plans-modal__step.is-leaving {
  display: block !important;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(-16px) scale(0.985);
  pointer-events: none;
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  top: 1.85rem;
  width: auto;
  box-sizing: border-box;
  z-index: 0;
}

.plans-modal .plans-form.reveal,
.plans-modal .plans-agenda.reveal {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(18px);
  transition:
    opacity 0.75s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
    transform 0.75s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
    filter 0.75s var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.plans-modal .plans-form.reveal.is-visible,
.plans-modal .plans-agenda.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

body.plans-modal-open {
  overflow: hidden;
}

/* Nav no compite visualmente con el modal */
body.plans-modal-open .nav {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.plans-modal .plans-agenda {
  margin: 0;
  background: rgba(255, 255, 255, 0.03);
}

.plans-form {
  padding: 1.6rem 1.4rem 1.5rem;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.plans-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.plans-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
  border: 0;
  padding: 0;
  min-width: 0;
}

/* display:flex de .plans-field pisa el [hidden] del fieldset */
.plans-field[hidden],
#field-group-need[hidden] {
  display: none !important;
}

.plans-field > span,
.plans-field legend {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.55);
}

/* legend en fieldset no hereda bien el gap del flex */
.plans-field legend {
  margin-bottom: 0.4rem;
}

.plans-field input[type="text"],
.plans-field input[type="email"],
.plans-field input[type="tel"],
.phone-field__number,
.phone-field__search {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: var(--font);
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.plans-field input::placeholder,
.phone-field__number::placeholder,
.phone-field__search::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.plans-field input:focus,
.phone-field__number:focus,
.phone-field__search:focus {
  border-color: rgba(46, 138, 221, 0.65);
  box-shadow: 0 0 0 3px rgba(46, 138, 221, 0.18);
}

/* Phone country picker */
.phone-field {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: stretch;
}

.phone-field.is-open {
  z-index: 50;
}

.phone-field__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.85rem;
  min-width: 7.2rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.phone-field__trigger:hover,
.phone-field.is-open .phone-field__trigger {
  border-color: rgba(46, 138, 221, 0.65);
  background: rgba(46, 138, 221, 0.12);
}

.phone-field__flag {
  display: block;
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.phone-field__dial {
  letter-spacing: -0.02em;
}

.phone-field__caret {
  width: 10px;
  height: 7px;
  margin-left: 0.1rem;
  opacity: 0.7;
  transition: transform 0.25s ease;
}

.phone-field.is-open .phone-field__caret {
  transform: rotate(180deg);
}

.phone-field__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.4rem);
  z-index: 60;
  max-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.65rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 14, 28, 0.96);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px);
}

.phone-field__menu[hidden] {
  display: none !important;
}

.phone-field__list {
  overflow: auto;
  max-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.phone-field__option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font);
  font-size: 0.88rem;
  text-align: left;
  cursor: pointer;
}

.phone-field__option:hover,
.phone-field__option.is-active {
  background: rgba(46, 138, 221, 0.18);
}

.phone-field__option-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-field__option-dial {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

/* Qué busco — dos mitades */
.plans-choice--split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.plans-choice__card {
  cursor: pointer;
  min-width: 0;
}

.plans-choice__card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plans-choice__card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 7.25rem;
  padding: 1.05rem 0.55rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.65);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s var(--ease);
}

.plans-choice__card:hover .plans-choice__card-inner {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.88);
  transform: translateY(-2px);
}

.plans-choice__card input:checked + .plans-choice__card-inner {
  border-color: rgba(46, 138, 221, 0.7);
  background: rgba(46, 138, 221, 0.16);
  color: #fff;
  box-shadow: 0 0 28px rgba(46, 138, 221, 0.22);
}

.plans-choice__icon {
  width: 2.1rem;
  height: 2.1rem;
  color: inherit;
}

.plans-choice__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.plans-choice__label {
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-align: center;
  line-height: 1.2;
}

.plans-form__selection {
  margin: 0;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  background: rgba(46, 138, 221, 0.12);
  border: 1px solid rgba(46, 138, 221, 0.28);
  font-size: 0.88rem;
  color: rgba(191, 219, 254, 0.95);
}

.plans-form__error {
  margin: 0;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  font-size: 0.88rem;
  color: #fecaca;
}

.plans-form__send.is-sending .plans-form__send-label,
.plans-form__send.is-sent .plans-form__send-loading {
  opacity: 0;
}

.plans-form__send-loading {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
}

.plans-form__send.is-sending .plans-form__send-loading {
  opacity: 1;
}

.plans-form__send[disabled],
.plans-form__continue[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.plans-agenda__cal {
  position: relative;
  width: 100%;
  min-height: 520px;
  border-radius: 16px;
  overflow: hidden;
  background: #080e1c;
  transition:
    min-height 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.plans-agenda__cal.is-booked {
  overflow: hidden; /* clip scrollbar Cal a las esquinas redondeadas */
  min-height: 0;
  background: transparent;
  border-radius: 16px;
}

.plans-agenda__cal-mount,
.plans-agenda__iframe {
  width: 100%;
  min-height: 520px;
  height: calc(100% + 48px);
  margin-bottom: -48px;
  border: 0;
  border-radius: 16px;
  display: block;
  transition: margin-bottom 0.45s ease, height 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.plans-agenda__cal.is-booked .plans-agenda__cal-mount,
.plans-agenda__cal.is-booked .plans-agenda__iframe {
  height: auto;
  min-height: 0;
  margin-bottom: 0;
  border-radius: 16px;
  overflow: hidden;
}

/* Solo el brand nativo de Cal — NO el link nuestro del crédito */
.plans-agenda__slot > a[href*="cal.com"]:not(.plans-agenda__credit-brand),
.plans-agenda__cal a[href*="cal.com"]:not(.plans-agenda__credit-brand) {
  display: none !important;
}

.plans-agenda__brand-mask {
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -1px;
  height: 48px;
  background: #080e1c;
  pointer-events: none;
  z-index: 20;
}

.plans-agenda__cal.is-booked .plans-agenda__brand-mask {
  display: none;
}

/* Crédito pegado al fondo del embed (sobre la máscara) — cotización y suscripción */
.plans-agenda__slot {
  position: relative;
}

.plans-agenda__credit {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 21;
  margin: 0;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.38);
  background: transparent;
  pointer-events: none;
}

/* Tras booking: crédito justo debajo, sin hueco grande */
.plans-agenda__credit.is-below {
  position: static;
  height: auto;
  margin: 0.35rem 0 0;
  pointer-events: auto;
}

.plans-agenda__credit-brand {
  pointer-events: auto;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.plans-agenda__credit-brand:hover {
  color: #7dd3fc;
  border-bottom-color: rgba(125, 211, 252, 0.55);
}

.plans-agenda__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 420px;
  color: rgba(191, 219, 254, 0.85);
  font-size: 0.95rem;
}

.plans-agenda__spinner {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  border: 2px solid rgba(46, 138, 221, 0.25);
  border-top-color: #2e8add;
  animation: plans-spin 0.7s linear infinite;
}

@keyframes plans-spin {
  to {
    transform: rotate(360deg);
  }
}

.plans-form__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.plans-form__send,
.plans-form__continue {
  width: 100%;
  justify-content: center;
  cursor: pointer;
  min-height: 3.15rem;
}

.plans-form__continue {
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.plans-form__send {
  position: relative;
  overflow: hidden;
}

.plans-form__send-label,
.plans-form__send-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}

.plans-form__send-done {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.86);
  pointer-events: none;
}

.plans-form__send-done svg {
  width: 1.15rem;
  height: 1.15rem;
}

.plans-form__send.is-sent {
  background: #16a34a !important;
  color: #fff !important;
  box-shadow: 0 16px 36px rgba(22, 163, 74, 0.35) !important;
}

.plans-form__send.is-sent .plans-form__send-label {
  opacity: 0;
  transform: scale(0.9);
}

.plans-form__send.is-sent .plans-form__send-done {
  opacity: 1;
  transform: scale(1);
}

/* —— Agenda placeholder —— */
.plans-agenda {
  border-radius: 24px;
  min-height: 280px;
  padding: 1.5rem;
  border-style: dashed;
}

.plans-modal.is-agenda .plans-agenda {
  margin-top: 1.75rem; /* aire descripción → calendario */
  padding: 0;
  min-height: 0;
  border: none;
  background: transparent;
  border-radius: 0;
}

.plans-agenda.is-ready {
  border-style: solid;
  border-color: rgba(46, 138, 221, 0.35);
}

.plans-agenda__inner {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plans-modal.is-agenda .plans-agenda__inner {
  min-height: 0;
  align-items: stretch;
}

.plans-agenda__lock {
  margin: 0;
  text-align: center;
  max-width: 22rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.42);
}

.plans-agenda__slot {
  width: 100%;
  text-align: center;
}

.plans-agenda__label {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.plans-agenda__fake {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  max-width: 280px;
  margin: 0 auto 1.15rem;
}

.plans-agenda__fake span {
  aspect-ratio: 1.4;
  border-radius: 10px;
  background: rgba(46, 138, 221, 0.12);
  border: 1px solid rgba(46, 138, 221, 0.22);
}

.plans-agenda__note {
  margin: 0 auto;
  max-width: 26rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 899px) {
  .page-planes-preview {
    overflow-x: hidden;
  }

  .plans {
    padding-top: calc(5.25rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  .plans-modal {
    padding:
      max(0.65rem, env(safe-area-inset-top, 0px))
      max(0.5rem, env(safe-area-inset-right, 0px))
      max(0.65rem, env(safe-area-inset-bottom, 0px))
      max(0.5rem, env(safe-area-inset-left, 0px));
    align-items: stretch;
  }

  .plans-modal.is-agenda .plans-modal__stage {
    width: 100%;
    max-height: none;
    height: 100%;
  }

  .plans-modal.is-agenda .plans-modal__dialog {
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 1.15rem 0.85rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
    border-radius: 22px;
  }

  /* Agenda mobile: que crezca y scrollee hasta Confirmar (sin clip del brand mask) */
  .plans-agenda__cal {
    min-height: 0;
    overflow: visible;
  }

  .plans-agenda__cal-mount,
  .plans-agenda__iframe {
    min-height: min(78vh, 720px);
    /* sin clip -48px: Cal puede crecer hasta el botón Confirmar */
    margin-bottom: 0 !important;
  }

  .plans-agenda__brand-mask {
    display: none;
  }

  .plans-agenda__credit {
    position: static;
    height: auto;
    margin-top: 0.65rem;
    padding-bottom: 0.35rem;
    pointer-events: auto;
  }

  .plans-modal__stage {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .plans-modal.is-split .plans-modal__plan {
    width: min(100%, 640px);
    max-width: min(100%, 640px);
  }

  .plans-modal__plan.is-leaving {
    transform: translateY(-18px) scale(0.97) !important;
  }

  .plans-modal__dialog {
    width: 100%;
    max-height: min(92dvh, 900px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 1.35rem;
    padding-bottom: calc(1.35rem + env(safe-area-inset-bottom, 0px));
  }

  .quote-stage {
    padding: 0.25rem 0 0;
  }

  .quote-block__title {
    max-width: none;
  }

  .quote-block__cta {
    width: 100%;
    max-width: 22rem;
    padding: 1.15rem 1.5rem !important;
    font-size: 1.05rem !important;
  }

  .plans-select {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .plans__grid,
  .plans__grid--two {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
    gap: 1rem;
  }

  .plan-card.is-visible.is-popular,
  .plan-card.is-visible.is-popular:hover,
  .plans__grid--two .plan-card.is-visible.is-popular,
  .plans__grid--two .plan-card.is-visible.is-popular:hover {
    transform: none;
  }

  .plans__grid--two .plan-card {
    min-height: 0;
  }

  .plans-form__row {
    grid-template-columns: 1fr;
  }

  .plans-choice--split {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
  }

  /* Botones form: uno debajo del otro, más alargados */
  .plans-form__actions {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .plans-form__send,
  .plans-form__continue {
    min-height: 3.35rem;
    white-space: nowrap;
  }

  .plans-choice__card-inner {
    min-height: 6.1rem;
    padding: 0.85rem 0.35rem;
  }

  .plans-choice__label {
    font-size: 0.78rem;
  }

  .phone-field {
    grid-template-columns: auto 1fr;
  }

  .phone-field__trigger {
    min-width: 6.4rem;
    padding-inline: 0.65rem;
  }

  .plans-mode {
    width: 100%;
  }

  .plans-mode__btn {
    flex: 1;
    text-align: center;
    padding-inline: 0.75rem;
  }
}

@media (max-width: 420px) {
  .quote-block {
    padding: 1.45rem 1.1rem 1.55rem;
    border-radius: 24px;
    gap: 0.85rem;
  }

  .quote-block__tags {
    gap: 0.4rem;
  }

  .quote-block__tags span {
    padding: 0.42rem 0.75rem;
    font-size: 0.8rem;
  }

  .plans-sub-intro {
    padding: 1.25rem 1.1rem 1.35rem;
    border-radius: 22px;
  }

  .plans-faq {
    margin-top: 0.5rem;
    padding-inline: 0.85rem;
  }

  .plans-faq__q {
    padding: 0.95rem 1rem;
    font-size: 0.95rem;
  }

  .plans-faq__a {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
  }

  .plans-form__send-label,
  .plans-form__continue span {
    font-size: 0.95rem;
  }

  .plans-choice--pair {
    gap: 0.45rem;
  }

  .phone-field__trigger {
    min-width: 5.6rem;
  }
}

/* —— FAQs —— */
.plans-faq {
  width: min(920px, 100%);
  margin: 0.75rem auto 2rem;
  padding-inline: 1.25rem;
}

.plans-faq .section-title {
  margin-bottom: 0.85rem;
}

.plans-faq .section-title__eyebrow {
  color: #2e8add;
}

.plans-faq__lead {
  margin: 0 auto 2rem;
  max-width: 38rem;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.52);
}

.plans-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.plans-faq__item {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 14, 28, 0.55);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.plans-faq__item[open] {
  border-color: rgba(46, 138, 221, 0.35);
  background: rgba(46, 138, 221, 0.08);
}

.plans-faq__q {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(245, 245, 247, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.plans-faq__q::-webkit-details-marker {
  display: none;
}

.plans-faq__q::after {
  content: "";
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid rgba(255, 255, 255, 0.45);
  border-bottom: 2px solid rgba(255, 255, 255, 0.45);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.plans-faq__item[open] .plans-faq__q::after {
  transform: rotate(225deg);
  margin-top: 0.25rem;
}

.plans-faq__a {
  padding: 0 1.2rem 1.15rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}
