/* ============================================================
   WILLI · Landing Page
   1. Tokens        4. Layout        7. Secciones
   2. Reset         5. Botones       8. Formularios
   3. Utilidades    6. Header/Hero   9. Responsive
   ============================================================ */

/* ── 1. Tokens ───────────────────────────────────────────── */
:root {
  --ink:        #0B1120;
  --ink-soft:   #1C2434;
  --slate:      #55617A;
  --slate-2:    #78859E;
  --line:       #E5E9F2;
  --bg:         #FFFFFF;
  --bg-soft:    #F6F8FC;
  --bg-tint:    #EEF1FA;

  --brand:      #5B5BF0;
  --brand-600:  #4A45DE;
  --brand-100:  #E8E8FE;
  --blue:       #2E7BF6;
  --emerald:    #10B981;
  --violet:     #8B5CF6;
  --amber:      #F59E0B;
  --red:        #EF4444;

  --radius:     14px;
  --radius-lg:  22px;
  --radius-xl:  30px;

  --shadow-sm:  0 1px 2px rgba(11,17,32,.06), 0 4px 12px rgba(11,17,32,.04);
  --shadow-md:  0 4px 12px rgba(11,17,32,.06), 0 18px 40px -18px rgba(11,17,32,.18);
  --shadow-lg:  0 30px 80px -30px rgba(11,17,32,.35), 0 8px 24px -12px rgba(11,17,32,.14);

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-brand: 'Nunito', 'Baloo 2', 'Quicksand', var(--font);

  --maxw: 1180px;
  --ease: cubic-bezier(.22, .68, 0, 1);
}

/* ── 2. Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── 3. Utilidades ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: 800px; }

.section { padding: clamp(72px, 9vw, 120px) 0; }

.section__head {
  max-width: 680px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.section__head p {
  margin-top: 16px;
  font-size: 1.08rem;
  color: var(--slate);
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow--light { color: #A5B4FC; }

.grad {
  background: linear-gradient(100deg, #6366F1 0%, #8B5CF6 45%, #22D3EE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── 4. Botones ──────────────────────────────────────────── */
.btn {
  --btn-bg: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, opacity .2s;
}
.btn--primary {
  background: var(--btn-bg);
  color: #fff;
  box-shadow: 0 1px 2px rgba(11,17,32,.1), 0 12px 26px -12px rgba(91,91,240,.75);
}
.btn--primary:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(91,91,240,.85); }
.btn--primary:active { transform: translateY(0); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-soft); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--slate);
  border: 1px solid var(--line);
}
.btn--ghost:hover { color: var(--ink); border-color: var(--slate-2); }

.btn--sm { padding: 10px 18px; font-size: .88rem; border-radius: 10px; }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; border-radius: 14px; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .7; pointer-events: none; }

.btn__spinner {
  width: 17px; height: 17px;
  border: 2.5px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin .7s linear infinite;
}
.btn.is-loading .btn__spinner { display: block; }
.btn.is-loading .btn__label { opacity: .75; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 5. Header ───────────────────────────────────────────── */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 0;
  transition: padding .3s var(--ease), background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  padding: 10px 0;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px -12px rgba(11,17,32,.2);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.03em; }
.brand__mark {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(91,91,240,.8);
}
.brand__mark svg { width: 31px; height: 31px; }
.brand__name {
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: clamp(2rem, 2.4vw, 2.45rem);
  letter-spacing: -.015em;
}

.nav { display: flex; align-items: center; gap: 8px; }
.nav > a:not(.btn) {
  padding: 9px 14px;
  border-radius: 9px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--slate);
  transition: color .2s, background .2s;
}
.nav > a:not(.btn):hover { color: var(--ink); background: var(--bg-tint); }
.nav__sep {
  width: 1px; height: 22px;
  margin: 0 8px;
  background: var(--line);
}
.nav > a.nav__login { color: var(--ink); font-weight: 700; }
.nav__cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
}
.nav-toggle span {
  width: 17px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── 6. Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(130px, 15vw, 180px) 0 clamp(72px, 8vw, 110px);
  overflow: hidden;
  background: linear-gradient(180deg, #FBFCFF 0%, #F3F5FD 55%, #FFFFFF 100%);
}
.hero__glow {
  position: absolute;
  top: -280px; left: 50%;
  width: 1100px; height: 700px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(99,102,241,.28), transparent 70%),
    radial-gradient(closest-side, rgba(34,211,238,.18), transparent 70%);
  background-position: 30% 40%, 75% 60%;
  background-repeat: no-repeat;
  background-size: 70% 90%, 60% 80%;
  filter: blur(10px);
  pointer-events: none;
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,17,32,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,17,32,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.1fr);
  gap: clamp(40px, 5vw, 70px);
  align-items: center;
}

.hero__lead {
  margin-top: 22px;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--slate);
  max-width: 540px;
}
.hero__lead strong { color: var(--ink); font-weight: 700; }

.hero__tagline {
  margin-top: 32px;
  max-width: 520px;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--ink);
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  /* 24 y no 36 de separación entre columnas. Las tres afirmaciones de ahora
     son frases —«Vender y alquilar» ocupa casi el doble que «1.250+»— y con 36
     sumaban 500 de los 511 píxeles disponibles: cabían por once. Cualquier
     pantalla un poco más angosta tiraba la tercera a una segunda línea ella
     sola, y una fila de 2+1 se lee como algo que no cupo. */
  gap: 14px 24px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero__proof li { display: flex; flex-direction: column; }
.hero__proof strong { font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; }
.hero__proof span { font-size: .82rem; color: var(--slate-2); }

/* Mockup */
.hero__visual { position: relative; }

.mock {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-7deg) rotateX(3deg);
  transition: transform .7s var(--ease);
}
.mock:hover { transform: perspective(1600px) rotateY(-2deg) rotateX(1deg); }

.mock__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--r { background: #FF5F57; } .dot--y { background: #FEBC2E; } .dot--g { background: #28C840; }
.mock__url {
  margin-left: 12px;
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--slate-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 10px;
}

.mock__body { display: grid; grid-template-columns: 54px 1fr; min-height: 340px; }
.mock__side {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 16px 0;
  background: var(--bg-soft);
  border-right: 1px solid var(--line);
}
.mock__logo {
  width: 24px; height: 24px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  margin-bottom: 6px;
}
.mock__ico { width: 22px; height: 22px; border-radius: 7px; background: #DCE2EF; }
.mock__ico.is-active { background: var(--brand-100); box-shadow: inset 0 0 0 1.5px rgba(91,91,240,.5); }

.mock__main { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.mock__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.mock__eyebrow { font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-2); font-weight: 700; }
.mock__title { font-weight: 800; font-size: 1rem; letter-spacing: -.02em; }
.mock__chip {
  font-size: .68rem; font-weight: 600; color: var(--slate);
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 11px;
}

.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 11px 12px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); }
.kpi__label { font-size: .65rem; color: var(--slate-2); font-weight: 600; }
.kpi__value { font-size: 1.15rem; font-weight: 800; letter-spacing: -.03em; margin-top: 1px; }
.kpi__delta { font-size: .62rem; font-weight: 700; }
.kpi__delta--up { color: var(--emerald); }
.kpi__delta--down { color: var(--amber); }

.mock__panels { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; flex: 1; }
.panel { padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.panel__title { font-size: .68rem; font-weight: 700; color: var(--slate); margin-bottom: 10px; }

.chart { display: flex; align-items: flex-end; gap: 6px; height: 92px; }
.chart__bar {
  flex: 1;
  height: 0;
  border-radius: 5px 5px 3px 3px;
  background: linear-gradient(180deg, #C7C9FB, #A5A8F7);
  transition: height .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.chart.is-live .chart__bar { height: var(--h); }
.chart__bar.is-peak { background: linear-gradient(180deg, var(--brand), var(--violet)); }

.alerts { display: flex; flex-direction: column; gap: 9px; }
.alerts li {
  display: flex; align-items: center; gap: 7px;
  font-size: .68rem; color: var(--slate);
  font-weight: 600;
}
.alerts__tag { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.alerts__tag--red { background: var(--red); }
.alerts__tag--amber { background: var(--amber); }
.alerts__tag--green { background: var(--emerald); }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  animation: floaty 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .8rem; }
.float-card small { display: block; font-size: .68rem; color: var(--slate-2); }
.float-card__ico { font-size: 1.1rem; }
.float-card--a { top: 12%; left: -34px; animation-delay: -1.2s; }
.float-card--b { bottom: 8%; right: -22px; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}

/* ── 7. Problema ─────────────────────────────────────────── */
.problem { background: var(--bg); }
.problem__head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.problem__head p { margin-top: 14px; color: var(--slate); font-size: 1.05rem; }

.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.pain {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px dashed #D6DCEA;
}
.pain__x {
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: #FEE9E9; color: var(--red);
  font-size: .75rem; font-weight: 700;
  margin-bottom: 14px;
}
.pain h3 { margin-bottom: 8px; }
.pain p { font-size: .92rem; color: var(--slate); }

.problem__bridge {
  text-align: center;
  margin-top: 40px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand);
}
.problem__bridge span { display: block; font-size: 1.4rem; margin-bottom: 4px; opacity: .5; }

/* ── 8. Valor ────────────────────────────────────────────── */
.value { background: var(--bg-soft); }
.value__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #D5DCEC; }
.card--wide { grid-column: span 1; }

.card__ico {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  margin-bottom: 18px;
}
.card__ico svg { width: 23px; height: 23px; }
.card__ico--indigo  { background: #EDEDFE; color: var(--brand); }
.card__ico--blue    { background: #E6F0FE; color: var(--blue); }
.card__ico--emerald { background: #E3F8F0; color: var(--emerald); }
.card__ico--violet  { background: #F2EBFE; color: var(--violet); }
.card__ico--amber   { background: rgba(245,158,11,.16); color: #FBBF24; }

.card h3 { margin-bottom: 10px; font-size: 1.22rem; }
.card p { color: var(--slate); font-size: .95rem; }

.card__list { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.card__list li {
  position: relative;
  padding-left: 22px;
  font-size: .89rem;
  color: var(--slate);
}
.card__list li::before {
  content: "";
  position: absolute; left: 0; top: .48em;
  width: 13px; height: 8px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
  border-radius: 1px;
}

.card--feature {
  grid-column: span 2;
  background: linear-gradient(135deg, #101A33 0%, #0B1120 60%, #17123A 100%);
  border-color: rgba(255,255,255,.09);
  color: #fff;
  overflow: hidden;
}
.card--feature::after {
  content: "";
  position: absolute; right: -90px; top: -90px;
  width: 300px; height: 300px;
  background: radial-gradient(closest-side, rgba(139,92,246,.45), transparent 70%);
  pointer-events: none;
}
.card--feature p { color: #A9B4CC; font-size: 1rem; max-width: 62ch; }
.card--feature:hover { border-color: rgba(255,255,255,.2); }
.card__badge {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  font-size: .76rem;
  font-weight: 700;
  color: #C7D2FE;
}

/* ── 9. Cómo funciona ────────────────────────────────────── */
.steps__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 52px; right: -16px;
  width: 10px; height: 10px;
  border-top: 2px solid #C9D1E4;
  border-right: 2px solid #C9D1E4;
  transform: rotate(45deg);
}
.step__num {
  display: inline-block;
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-100);
  padding: 4px 11px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 9px; font-size: 1.12rem; }
.step p { font-size: .92rem; color: var(--slate); }
.step__time {
  display: inline-block;
  margin-top: 16px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--emerald);
  background: #E3F8F0;
  padding: 4px 11px;
  border-radius: 999px;
}

/* ── 10. Dashboard ───────────────────────────────────────── */
.dash { background: var(--bg-soft); }
.dash__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 70px);
  align-items: center;
}
.dash__lead { margin-top: 16px; color: var(--slate); font-size: 1.06rem; }

.qa { margin: 30px 0 34px; display: flex; flex-direction: column; gap: 2px; }
.qa li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.qa li:first-child { border-top: 1px solid var(--line); }
.qa__q { display: block; font-weight: 700; letter-spacing: -.015em; }
.qa__a { display: block; font-size: .9rem; color: var(--slate); margin-top: 3px; }

.brief {
  background: linear-gradient(160deg, #111B36 0%, #0B1120 100%);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  color: #fff;
  border: 1px solid rgba(255,255,255,.08);
}
.brief__head { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brief__avatar {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  font-weight: 800;
}
.brief__title { font-weight: 700; }
.brief__sub { font-size: .78rem; color: #8695B4; }

.brief__list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.brief__item {
  position: relative;
  padding: 15px 16px 15px 18px;
  border-radius: 13px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.07);
  font-size: .92rem;
  color: #B7C2D8;
  line-height: 1.55;
}
.brief__item::before {
  content: "";
  position: absolute; left: 0; top: 14px; bottom: 14px;
  width: 3px; border-radius: 3px;
}
.brief__item strong { color: #fff; font-weight: 700; }
.brief__item--good::before { background: var(--emerald); }
.brief__item--warn::before { background: var(--amber); }
.brief__item--info::before { background: var(--blue); }
.brief__item--bad::before  { background: var(--red); }

/* ── 11. Lista de espera ─────────────────────────────────── */
.waitlist {
  position: relative;
  background: linear-gradient(150deg, #0B1120 0%, #131B3B 55%, #1A1147 100%);
  color: #fff;
  overflow: hidden;
}
.waitlist::before {
  content: "";
  position: absolute; top: -160px; left: -120px;
  width: 620px; height: 620px;
  background: radial-gradient(closest-side, rgba(99,102,241,.35), transparent 70%);
  pointer-events: none;
}
.waitlist::after {
  content: "";
  position: absolute; bottom: -200px; right: -140px;
  width: 560px; height: 560px;
  background: radial-gradient(closest-side, rgba(34,211,238,.18), transparent 70%);
  pointer-events: none;
}
.waitlist__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}
.waitlist h2 { max-width: 12ch; }
.waitlist__copy > p { margin-top: 18px; color: #A7B3CD; font-size: 1.04rem; max-width: 46ch; }

.perks { margin-top: 30px; display: flex; flex-direction: column; gap: 13px; }
/* Bloque y no flex, por lo mismo que `.precios__foot`: en flex el ✓, el texto
   en negrita y el resto de la frase son tres cajas repartiéndose el ancho, y
   la frase se parte por donde no debe. Se notó al alargar los textos. */
.perks li {
  position: relative;
  padding-left: 32px;
  font-size: .95rem;
  line-height: 1.55;
  color: #B7C2D8;
}
.perks li span {
  position: absolute;
  left: 0; top: .12em;
  display: grid; place-items: center;
  width: 21px; height: 21px;
  border-radius: 7px;
  background: rgba(16,185,129,.18);
  color: #34D399;
  font-size: .72rem;
  font-weight: 800;
}
.perks strong { color: #fff; }

/* Formulario */
.waitlist__formwrap { position: relative; }
.wform, .success {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 3.4vw, 36px);
  box-shadow: var(--shadow-lg);
}
.wform__title { font-size: 1.35rem; margin-bottom: 22px; }

/* EL PLAN QUE VENÍA ELIGIENDO. Aparece solo si llegó desde una tarjeta de
   precios; el título ya deja 22px de aire debajo, así que este se los come
   para no separar el formulario de su encabezado. */
.wform__plan {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: -12px 0 20px;
  padding: 9px 10px 9px 14px;
  border-radius: 999px;
  background: var(--brand-100);
  color: var(--brand-600);
  font-size: .84rem;
  font-weight: 600;
  width: fit-content;
}
/* LA MISMA PIEDRA QUE `.success` MÁS ABAJO, y por eso vale repetir la línea:
   `display: flex` gana contra el `[hidden] { display: none }` que trae el
   navegador, así que el chip se veía SIEMPRE — «Plan ×», sin nombre, en un
   formulario al que nadie había llegado desde una tarjeta de precios. */
.wform__plan[hidden] { display: none; }
.wform__plan strong { font-weight: 800; }
.wform__planX {
  display: grid; place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(74,69,222,.12);
  color: var(--brand-600);
  font-size: 1rem;
  line-height: 1;
  transition: background .2s;
}
.wform__planX:hover { background: rgba(74,69,222,.24); }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 700; letter-spacing: -.01em; }
.field .opt { font-weight: 500; color: var(--slate-2); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #FCFDFF;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(91,91,240,.13);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2378859E' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}
.field .is-invalid,
.field input.is-invalid, .field select.is-invalid { border-color: var(--red); background: #FFFAFA; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.error { font-size: .78rem; color: var(--red); font-weight: 600; min-height: 0; }
.error:empty { display: none; }

.check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .85rem; color: var(--slate);
  margin: 4px 0 6px;
  cursor: pointer;
}
.check input {
  flex: none;
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
}
.check.is-invalid span { color: var(--red); }

.wform__legal { margin-top: 14px; font-size: .76rem; color: var(--slate-2); text-align: center; }

/* Éxito */
.success { text-align: center; }
.success__ico {
  display: grid; place-items: center;
  width: 62px; height: 62px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: #E3F8F0;
  color: var(--emerald);
  animation: pop .5s var(--ease) both;
}
.success__ico svg { width: 30px; height: 30px; }
@keyframes pop {
  0%   { transform: scale(.5); opacity: 0; }
  60%  { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
.success h3 { font-size: 1.5rem; margin-bottom: 12px; }
.success > p { color: var(--slate); font-size: .96rem; max-width: 42ch; margin-inline: auto; }

/* ── 12. FAQ ─────────────────────────────────────────────── */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.acc.is-open { border-color: #C9CDF7; box-shadow: var(--shadow-sm); }
.acc__btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 22px;
  text-align: left;
  font-weight: 700;
  letter-spacing: -.015em;
  font-size: 1rem;
}
.acc__icon {
  position: relative;
  flex: none;
  width: 20px; height: 20px;
}
.acc__icon::before, .acc__icon::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 13px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .3s;
}
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc.is-open .acc__icon::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }

.acc__panel {
  overflow: hidden;
  height: 0;
  transition: height .35s var(--ease);
}
.acc__panel p {
  padding: 0 22px 20px;
  color: var(--slate);
  font-size: .95rem;
}

/* ── 13. CTA final ───────────────────────────────────────── */
.cta { padding: clamp(70px, 8vw, 110px) 0; background: var(--bg-soft); }
.cta__inner { text-align: center; max-width: 720px; margin-inline: auto; }
.cta h2 { letter-spacing: -.03em; }
.cta p { margin: 18px auto 30px; color: var(--slate); font-size: 1.08rem; max-width: 48ch; }
.cta small { display: block; margin-top: 16px; font-size: .82rem; color: var(--slate-2); }

/* ── 14. Footer ──────────────────────────────────────────── */
.footer { background: var(--ink); color: #A7B3CD; padding: 64px 0 28px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer__brand p { font-size: .9rem; max-width: 34ch; }
.footer__col h4 { color: #fff; font-size: .88rem; margin-bottom: 14px; }
.footer__col a { display: block; font-size: .9rem; padding: 4px 0; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__mini { font-size: .8rem; color: #6E7C99; margin-top: 8px; }

/* Barra de utilidades del footer */
.footer__utility {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px 40px;
  align-items: start;
  padding: 30px 0 26px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.futil { display: flex; flex-direction: column; gap: 18px; }
.futil--center { align-items: center; }
.futil--end { align-items: flex-end; }

/* Redes sociales */
.social { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.social a {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  color: #A7B3CD;
  transition: color .2s, background .2s, transform .2s var(--ease);
}
.social a:hover { color: #fff; background: rgba(255,255,255,.09); transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; display: block; }

/* Enlaces legales */
.legal {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 0;
  font-size: .84rem;
}
.legal a {
  padding: 2px 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,.25);
  transition: color .2s, text-decoration-color .2s;
}
.legal a + a { border-left: 1px solid rgba(255,255,255,.16); }
.legal a:hover { color: #fff; text-decoration-color: currentColor; }

/* Insignias de tiendas (aún no hay apps: sin enlace, marcadas como próximas) */
.stores { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.store {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  color: #C6D0E3;
}
.store__ico svg { width: 21px; height: 21px; display: block; }
.store__txt { display: grid; line-height: 1.2; }
.store__txt i { font-style: normal; font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; color: #7D8BA8; }
.store__txt b { font-size: .95rem; color: #fff; letter-spacing: -.01em; }

/* Declaración de accesibilidad */
.a11y {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .84rem;
  color: #A7B3CD;
  transition: color .2s;
}
.a11y:hover { color: #fff; }
.a11y__ico svg { width: 22px; height: 22px; display: block; }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  padding-top: 22px;
  font-size: .82rem;
  color: #6E7C99;
}
.footer__bottom a:hover { color: #fff; }

/* ── 15. Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { max-width: 640px; }
  .mock { transform: none; }
  .mock:hover { transform: none; }
  .float-card--a { left: -12px; }
  .float-card--b { right: -8px; }

  .value__grid { grid-template-columns: repeat(2, 1fr); }
  .card--feature { grid-column: span 2; }

  .dash__inner, .waitlist__inner { grid-template-columns: 1fr; }
  .waitlist h2 { max-width: none; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__utility { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .futil, .futil--end { align-items: center; }
  .stores { justify-content: center; }
}

@media (max-width: 780px) {
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a:not(.btn) { padding: 12px 14px; }
  .nav__sep { display: none; }
  .nav > a.nav__login {
    margin-top: 8px;
    padding: 12px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 10px;
  }
  .nav__cta { margin: 8px 0 0; padding: 13px; }
  .nav-toggle { display: flex; }
  .header { padding: 12px 0; }
  .brand__mark { width: 44px; height: 44px; }
  .brand__mark svg { width: 26px; height: 26px; }
  .brand__name { font-size: 1.75rem; }
  .header.is-stuck { background: rgba(255,255,255,.92); }

  .step:not(:last-child)::after { display: none; }
  .value__grid { grid-template-columns: 1fr; }
  .card--feature { grid-column: span 1; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .hero { padding-top: 118px; }
  .hero__proof { gap: 18px 26px; }
  .hero__proof strong { font-size: 1.3rem; }

  .float-card { display: none; }
  .mock__body { grid-template-columns: 44px 1fr; }
  .mock__kpis { grid-template-columns: 1fr; }
  .mock__panels { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
  .legal { flex-direction: column; align-items: center; gap: 2px; }
  .legal a + a { border-left: 0; }
  .stores { flex-direction: column; width: 100%; }
  .store { justify-content: center; }
  .acc__btn { padding: 16px 18px; font-size: .95rem; }
  .acc__panel p { padding: 0 18px 18px; }
}


/* ── La confirmación ──────────────────────────────────────────────
   Se centra dentro de la altura que reserva el formulario: el hueco que
   quedaba abajo no era espacio de diseño, era el formulario ausente. */
.success {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
/* SIN ESTA LÍNEA LA TARJETA SE VE SIEMPRE, junto al formulario.
   `hidden` esconde porque el navegador trae `[hidden] { display: none }` en su
   hoja de estilos, y esa hoja pierde contra cualquier regla escrita acá. Al
   ponerle `display: flex` a `.success` para centrar el contenido, el atributo
   dejó de servir de un día para otro. Se repara con más especificidad, no con
   `!important`. */
.success[hidden] { display: none; }
.success .success__ico { margin-left: auto; margin-right: auto; }
.success h3 { text-align: center; font-size: 1.5rem; letter-spacing: -.02em; }
.success__lead {
  text-align: center;
  margin-top: 8px;
  color: var(--muted, #55637a);
}

/* Los tres pasos. Numerados porque SON una secuencia: uno pasa después del
   otro, y ese orden es la información. */
.pasos {
  list-style: none;
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(15, 23, 42, .09);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pasos li { display: flex; gap: 14px; align-items: flex-start; }
.pasos__n {
  flex: none;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(99, 102, 241, .11);
  color: var(--brand);
  font-size: .78rem; font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.pasos b {
  display: block;
  font-size: .95rem;
  letter-spacing: -.01em;
  margin-bottom: 2px;
}
.pasos li > span:last-child {
  font-size: .88rem;
  line-height: 1.5;
  color: var(--muted, #55637a);
}


/* Si el envío falló, la tarjeta lo dice en vez de prometer un correo que no
   va a llegar. */
.success--sin-envio .pasos { display: none; }


/* ── 12. Precios ─────────────────────────────────────────────
   Las tarjetas las pinta `script.js` con lo que responde
   `GET /v1/plans`, así que estos estilos tienen que aguantar
   TRES, CUATRO O DOS planes sin que nadie los toque: un plan
   nuevo se crea en el panel y aparece acá solo.

   Por eso la rejilla es `auto-fit` con un mínimo y no un número
   de columnas fijo. Con tres da tres, con cuatro da cuatro, y
   con dos no deja dos huecos a la derecha.
   ──────────────────────────────────────────────────────────── */
.precios { background: var(--bg-soft); }

/* ── El conmutador mensual / anual ── */
.ciclo {
  display: flex;
  justify-content: center;
  margin: -18px 0 clamp(34px, 4vw, 46px);
}
/* Se apaga entero desde el JS cuando ningún plan se ofrece al año. */
.ciclo[hidden] { display: none; }

.ciclo__group {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.ciclo__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--slate);
  transition: color .2s, background .25s var(--ease);
}
.ciclo__btn:hover { color: var(--ink); }
.ciclo__btn.is-on {
  background: var(--ink);
  color: #fff;
}
.ciclo__save {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(16,185,129,.14);
  color: #067A55;
  font-size: .74rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ciclo__btn.is-on .ciclo__save { background: rgba(255,255,255,.16); color: #6EE7B7; }

/* ── La rejilla ── */
.precios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 20px;
  align-items: start;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #D5DCEC; }

/* EL DESTACADO. Se marca desde el JS, no acá: cuál es «el del medio»
   depende de cuántos planes devuelva la API. */
.plan--best {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-md);
}
.plan--best:hover { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-lg); }

.plan__badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(91,91,240,.9);
}

.plan__head { min-height: 78px; }
.plan__name { font-size: 1.3rem; margin-bottom: 8px; }
.plan__tag {
  font-size: .89rem;
  line-height: 1.45;
  color: var(--slate);
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 22px 0 4px;
  color: var(--ink);
}
.plan__cur { font-size: 1.15rem; font-weight: 700; color: var(--slate); align-self: flex-start; margin-top: .5em; }
.plan__amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  /* Cifras de ancho fijo: sin esto, 49 y 149 mueven el «/mes» de sitio al
     cambiar de ciclo y la fila entera da un salto. */
  font-variant-numeric: tabular-nums;
}
.plan__per { font-size: .95rem; font-weight: 700; color: var(--slate-2); }

/* Reserva su línea aunque esté vacía: si apareciera y desapareciera al mover
   el conmutador, las tarjetas cambiarían de alto entre un ciclo y otro. */
.plan__note {
  min-height: 20px;
  margin-bottom: 22px;
  font-size: .82rem;
  color: var(--slate-2);
}
.plan__note strong { color: #067A55; font-weight: 700; }

.plan .btn { margin-bottom: 26px; }

.plan__limits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.plan__limits li {
  font-size: .92rem;
  color: var(--slate);
}
.plan__limits strong {
  color: var(--ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.plan__inc {
  margin: 24px 0 12px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-2);
}
.plan__mods {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.plan__mods li {
  position: relative;
  padding-left: 22px;
  font-size: .89rem;
  color: var(--slate);
}
.plan__mods li::before {
  content: "";
  position: absolute; left: 0; top: .48em;
  width: 13px; height: 8px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
  border-radius: 1px;
}

/* ── La franja de «a medida» ── */
.medida {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 22px;
  padding: 30px 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.medida h3 { font-size: 1.15rem; margin-bottom: 7px; }
.medida p { font-size: .93rem; color: var(--slate); max-width: 62ch; }
.medida .btn { flex: none; }

/* ── Las tres promesas de abajo ── */
.precios__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
  margin-top: clamp(32px, 4vw, 44px);
}
/* ── Por qué esto NO es un flex ──
   Lo era, y cada `li` tiene tres piezas: el ✓, el texto en negrita y el resto
   de la frase. En flex, esas tres son TRES CAJAS que se reparten el ancho, así
   que «Te lo mostramos primero» se apilaba en su propia columna angosta y la
   coma que le sigue empezaba la de al lado. Con frases cortas no se veía; en
   cuanto crecieron, quedó una fila descuadrada.
   Como bloque, el negrita y el texto vuelven a ser lo que son: una frase. El ✓
   sale del flujo y se coloca por su cuenta. */
.precios__foot li {
  position: relative;
  padding-left: 29px;
  max-width: 34ch;
  font-size: .89rem;
  line-height: 1.55;
  color: var(--slate);
}
.precios__foot li > span {
  position: absolute;
  left: 0; top: .18em;
  display: grid; place-items: center;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: rgba(16,185,129,.15);
  color: #067A55;
  font-size: .68rem;
  font-weight: 800;
}
.precios__foot strong { color: var(--ink); font-weight: 700; }

/* ── Mientras la API responde ── */
.precios__grid.is-loading { opacity: .5; transition: opacity .2s; }

/* Si la API no contesta, la sección se queda con los planes escritos en el
   HTML y no dice nada: unos precios correctos de ayer sirven; un cartel rojo
   de error en la página de precios, no. El aviso va a la consola. */

/* ── Responsive ── */
@media (max-width: 900px) {
  .medida { flex-direction: column; align-items: flex-start; }
  .medida .btn { width: 100%; }
}
@media (max-width: 560px) {
  .plan { padding: 30px 24px; }
  .plan__head { min-height: 0; }
  .plan__amount { font-size: 2.6rem; }
  .ciclo__btn { padding: 10px 16px; font-size: .86rem; }
  .precios__foot { flex-direction: column; align-items: center; }
  .precios__foot li { max-width: none; }
}
