/* Método GC — metodogc.com
   Identidad: verdes corporativos #01917c / #016052, gris #3a3a3a, Montserrat + Inter. */

@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --green: #01917c;          /* corporativo: acentos y cifras grandes */
  --green-ink: #017867;      /* acción: botones y enlaces (AA sobre blanco) */
  --green-deep: #016052;     /* capítulo oscuro */
  --green-night: #014a40;
  --grey: #3a3a3a;           /* gris corporativo */
  --ink: #18201e;
  --ink-2: #56625f;
  --ink-3: #7b8784;
  --paper: #ffffff;
  --mist: #f3f6f5;
  --mist-2: #e8eeec;
  --line: #dde5e2;
  --on-dark: #ffffff;
  --on-dark-2: #c9ded8;

  --f-display: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --sec: clamp(88px, 12vw, 160px);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-1: 0 1px 2px rgba(1, 60, 50, .06), 0 8px 24px rgba(1, 60, 50, .08);
  --shadow-phone: 0 30px 60px -20px rgba(1, 50, 42, .35), 0 12px 24px -12px rgba(1, 50, 42, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
h1, h2, h3, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: #bfe6de; color: var(--green-night); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #b9c8c4 transparent; }
.tabular { font-variant-numeric: tabular-nums lining-nums; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { --wrap: 820px; }

/* Tipografía */
.display {
  font: 700 clamp(2.6rem, 7.2vw, 5.6rem)/1.02 var(--f-display);
  letter-spacing: -0.035em; text-wrap: balance; color: var(--ink);
}
.h2 {
  font: 700 clamp(2rem, 4.6vw, 3.5rem)/1.06 var(--f-display);
  letter-spacing: -0.03em; text-wrap: balance; color: var(--ink);
  margin-bottom: clamp(16px, 2vw, 24px);
}
.h2--on-dark { color: var(--on-dark); }
.section-lede { font-size: clamp(1.06rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }

/* Botones */
.btn {
  --bg: var(--green-ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  min-height: 44px; padding: 0 22px; border-radius: 999px;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font: 600 1rem/1 var(--f-text); letter-spacing: -0.005em;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 0 1px 1px rgba(1, 60, 50, .12), 0 4px 12px -4px rgba(1, 96, 82, .45);
}
.btn:hover { --bg: var(--green-deep); color: #fff; }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 32px; padding: 0 14px; font-size: .875rem; box-shadow: none; }
.btn--lg { min-height: 52px; padding: 0 30px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--ghost { --bg: transparent; --fg: var(--green-ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { --bg: var(--mist); color: var(--green-deep); }
.btn--light { --bg: #fff; --fg: var(--green-deep); box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .35); }
.btn--light:hover { --bg: #e9f5f2; color: var(--green-night); }

.link-more { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.link-more::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 1.6px 1.6px 0 0; transform: rotate(45deg); margin-left: 2px; transition: transform .2s var(--ease); }
.link-more:hover::after { transform: translateX(3px) rotate(45deg); }
.link-more:hover { text-decoration: underline; }
.link-more--light { color: #fff; }
.link-more--light:hover { color: #fff; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 rgba(1, 60, 50, 0); transition: box-shadow .3s var(--ease); }
.nav.is-scrolled { box-shadow: 0 1px 0 rgba(1, 60, 50, .1); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 60px; width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
.brand__iso { width: 57px; height: 26px; }
.brand__word { font: 700 1rem/1 var(--f-display); letter-spacing: .02em; }
.brand__metodo { color: var(--green-deep); }
.brand__gc { color: var(--grey); }
.nav__links { flex: 1; }
.nav__links ul { display: flex; justify-content: center; gap: clamp(16px, 2.4vw, 34px); }
.nav__links a { color: var(--ink); text-decoration: none; font-size: .875rem; opacity: .82; padding: 8px 0; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; color: var(--green-ink); }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__login { font-size: .875rem; color: var(--ink); text-decoration: none; opacity: .82; }
.nav__login:hover { opacity: 1; color: var(--green-ink); }
.nav__toggle { display: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.nav__toggle:hover { background: var(--mist); }
.nav__sheet { border-top: 1px solid var(--line); background: #fff; }
.nav__sheet ul { width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 0 auto; padding: 8px 0 20px; }
.nav__sheet li > a { display: block; padding: 14px 0; font: 700 1.35rem/1.2 var(--f-display); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--mist-2); }
@media (max-width: 900px) {
  .nav__links, .nav__login { display: none; }
  .nav__inner { justify-content: space-between; }
  .nav__toggle { display: inline-flex; }
}

/* Hero */
.hero { padding-top: clamp(44px, 6vw, 76px); overflow: clip; background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--mist) 100%); }
.hero__copy { text-align: center; display: grid; justify-items: center; }
.hero__copy .display { max-width: 19ch; font-size: clamp(2.5rem, 6vw, 4.75rem); }
.hero__lede { margin-top: clamp(18px, 2.4vw, 28px); max-width: 52ch; font-size: clamp(1.08rem, 1.8vw, 1.375rem); line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.hero__cta { margin-top: clamp(26px, 3vw, 36px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; }
.hero__fine { margin-top: 12px; font-size: .875rem; color: var(--ink-3); }

.hero__stage {
  --w: clamp(190px, 22vw, 310px);
  position: relative; height: calc(var(--w) * 1.62); margin-top: clamp(40px, 5vw, 60px);
  display: flex; justify-content: center; align-items: flex-start;
}
.hero__stage .phone { position: absolute; top: 0; width: var(--w); transition: transform 1.4s var(--ease), opacity 1s var(--ease); }
.hero__stage .phone--center { z-index: 3; }
.hero__stage .phone--left { transform: translate(-78%, 9%) rotate(-6deg) scale(.9); z-index: 2; }
.hero__stage .phone--right { transform: translate(78%, 9%) rotate(6deg) scale(.9); z-index: 2; }
.js .hero__stage:not(.is-ready) .phone--left,
.js .hero__stage:not(.is-ready) .phone--right { transform: translate(0, 14%) rotate(0) scale(.86); opacity: 0; }
.js .hero__stage:not(.is-ready) .phone--center { transform: translateY(10%); }
@media (max-width: 640px) {
  .hero__stage { --w: 58vw; height: calc(var(--w) * 1.5); }
  .hero__stage .phone--left { transform: translate(-56%, 12%) rotate(-7deg) scale(.82); }
  .hero__stage .phone--right { transform: translate(56%, 12%) rotate(7deg) scale(.82); }
}

/* Teléfono: captura real bajo el marco iPhone de appopos */
.phone { position: relative; aspect-ratio: 359.46 / 680.7; filter: drop-shadow(0 28px 34px rgba(1, 50, 42, .22)) drop-shadow(0 6px 10px rgba(1, 50, 42, .12)); }
/* La captura entra 1px bajo el marco por cada lado: así no queda una línea vacía por el redondeo de subpíxeles. */
.phone__screen { position: absolute; left: calc(5.09% - 1px); top: calc(8.27% - 1px); width: calc(89.67% + 2px); height: calc(85.83% + 2px); object-fit: cover; object-position: top; background: #f6f8f8; }
.phone__frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Cifras */
.proof { background: var(--mist); padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); }
.proof__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 4vw, 56px); }
.proof__num { font: 700 clamp(2.4rem, 4.8vw, 3.9rem)/1 var(--f-display); letter-spacing: -0.04em; color: var(--green); font-variant-numeric: tabular-nums lining-nums; }
.proof__label { margin-top: 12px; color: var(--ink-2); font-size: 1rem; line-height: 1.45; max-width: 26ch; }
@media (max-width: 900px) { .proof__list { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }

/* Carrusel "Lo más destacado" */
.rail { padding: var(--sec) 0 calc(var(--sec) * .8); }
.rail__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.rail__ctrl { display: flex; gap: 12px; padding-bottom: 20px; }
.rail__btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--mist-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, opacity .2s; }
.rail__btn:hover { background: #d6e1de; }
.rail__btn:disabled { opacity: .35; cursor: default; }
.rail__track {
  --pad: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 30vw, 372px); gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding: 8px var(--pad) 28px; scrollbar-width: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track:focus-visible { outline-offset: -3px; }
.tile {
  scroll-snap-align: start; position: relative; overflow: hidden;
  background: var(--mist); border-radius: var(--r-lg);
  display: flex; flex-direction: column; min-height: clamp(560px, 52vw, 660px);
  transition: transform .5s var(--ease);
}
.tile:hover { transform: translateY(-4px); }
.tile__copy { padding: 32px 30px 0; }
.tile__title { font: 700 1.6rem/1.12 var(--f-display); letter-spacing: -0.025em; text-wrap: balance; }
.tile__text { margin-top: 10px; color: var(--ink-2); font-size: 1rem; line-height: 1.45; }
.phone--tile { width: 74%; margin: auto auto -22%; filter: drop-shadow(0 18px 24px rgba(1, 50, 42, .18)); transition: transform .8s var(--ease); }
.tile:hover .phone--tile { transform: translateY(-10px); }
.tile:nth-child(2) { background: #eaf3f1; }
.tile:nth-child(4) { background: #eef1f0; }

/* Capítulo verde: planificación */
.plan { background: radial-gradient(120% 90% at 85% 0%, #017867 0%, var(--green-deep) 46%, var(--green-night) 100%); color: var(--on-dark); padding: var(--sec) 0; }
.plan__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.plan__lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.5; color: var(--on-dark-2); max-width: 46ch; }
.plan__points { margin-top: 36px; display: grid; gap: 18px; }
.plan__points li { color: var(--on-dark-2); line-height: 1.5; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); max-width: 52ch; }
.plan__points strong { color: #fff; font-weight: 600; }

/* Demo del calendario mensual (réplica del Calendario de la app) */
.cal { margin: 0; position: relative; }
.cal__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #eef2f1; border-radius: var(--r-md) var(--r-md) 0 0; }
.cal__bar span { width: 10px; height: 10px; border-radius: 50%; background: #cfd8d6; }
.cal__bar b { margin-left: 10px; font: 600 .8125rem/1 var(--f-text); color: var(--ink-2); }
.cal__body { background: #fff; color: var(--ink); border-radius: 0 0 var(--r-md) var(--r-md); padding: clamp(16px, 2.4vw, 24px); box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .6); }
.cal__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cal__month { font: 700 1.25rem/1.2 var(--f-display); letter-spacing: -0.02em; }
.cal__count { font-size: .8125rem; color: var(--ink-2); }
.cal__progress { margin-top: 12px; display: flex; align-items: center; gap: 12px; }
.cal__track { flex: 1; height: 6px; border-radius: 99px; background: var(--mist); overflow: hidden; }
.cal__fill { display: block; height: 100%; width: var(--p); background: var(--green); border-radius: inherit; }
.cal__pct { font-size: .75rem; font-weight: 600; color: var(--green-ink); white-space: nowrap; }
.cal__grid { margin-top: 16px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__wd { text-align: center; font-size: .6875rem; font-weight: 600; color: var(--ink-3); padding-bottom: 4px; }
.cal__day { min-height: 68px; border-radius: 8px; background: #f7f9f8; padding: 5px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cal__day.is-blank { background: transparent; }
.cal__n { font: 600 .6875rem/1 var(--f-text); color: var(--ink-2); }
.cal__day.is-past .cal__n { color: var(--ink-3); }
.cal__day.is-today { background: #e6f4f1; box-shadow: inset 0 0 0 1.5px var(--green); }
.cal__day.is-today .cal__n { color: var(--green-ink); }
.cal__ev { display: block; font-size: .625rem; line-height: 1.25; font-weight: 600; padding: 4px 5px; border-radius: 5px; background: #e8f7ee; color: #166534; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; hyphens: manual; overflow-wrap: break-word; }
.cal__ev--sim { background: #e0f2fe; color: #0369a1; }
.cal__ev[data-done] { opacity: .55; }
.cal__day.is-past.has-ev .cal__n::after { content: " ✓"; color: var(--green); }
.cal__today { margin-top: 16px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--green-night); color: #fff; }
.cal__tag { grid-column: 1 / -1; font-size: .75rem; font-weight: 600; color: #9fd9cd; }
.cal__title { font-weight: 600; line-height: 1.35; }
.cal__meta { grid-column: 1; font-size: .8125rem; color: rgba(255, 255, 255, .7); }
.cal__go { grid-column: 2; grid-row: 2 / 4; background: #fff; color: var(--green-ink); font-weight: 600; font-size: .875rem; padding: 10px 16px; border-radius: 99px; }
.cal__cap { margin-top: 14px; font-size: .8125rem; color: var(--on-dark-2); text-align: center; }
/* Animación: el mes se rellena al entrar en pantalla */
.js .cal:not(.is-in) .cal__ev { opacity: 0; transform: translateY(4px); }
.js .cal:not(.is-in) .cal__fill { width: 0; }
.js .cal .cal__ev { transition: opacity .35s ease, transform .35s ease; transition-delay: calc(var(--i, 1) * 28ms); }
.js .cal .cal__fill { transition: width 1.1s cubic-bezier(.2, .7, .2, 1) .4s; }
@media (prefers-reduced-motion: reduce) { .js .cal .cal__ev, .js .cal .cal__fill { transition: none; } }
@media (max-width: 520px) {
  .cal__day { min-height: 44px; padding: 4px; }
  .cal__ev { font-size: 0; padding: 0; height: 6px; border-radius: 3px; background: #22a06b; }
  .cal__ev--sim { background: #0284c7; }
  .cal__today { grid-template-columns: 1fr; }
  .cal__go { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
}
@media (max-width: 900px) { .plan__grid { grid-template-columns: 1fr; } }

/* Partes del examen */
.exam { padding: var(--sec) 0 calc(var(--sec) * .6); }
.exam__list { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(24px, 4vw, 56px); }
.exam__list > div { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.exam__list dt { display: flex; align-items: center; gap: 14px; font: 700 1.3rem/1.2 var(--f-display); letter-spacing: -0.02em; color: var(--ink); }
.cat-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.cat-icon svg { width: 22px; height: 22px; }
.exam__list dd { margin-top: 8px; color: var(--ink-2); line-height: 1.5; max-width: 36ch; }
@media (max-width: 900px) { .exam__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .exam__list { grid-template-columns: 1fr; } }

/* Convocatoria */
.conv { padding: calc(var(--sec) * .6) 0 var(--sec); }
.conv__grid { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); background: var(--mist); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 64px); }
.conv__big { font: 700 clamp(4rem, 11vw, 8.5rem)/.9 var(--f-display); letter-spacing: -0.05em; color: var(--green-deep); font-variant-numeric: tabular-nums lining-nums; }
.conv__state { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: #fff; font-weight: 600; font-size: .9rem; color: var(--ink); box-shadow: 0 1px 2px rgba(1, 60, 50, .08); }
.conv__dot { width: 8px; height: 8px; border-radius: 50%; background: #e0a100; box-shadow: 0 0 0 3px rgba(224, 161, 0, .2); }
.conv__state-text { margin-top: 16px; color: var(--ink-2); line-height: 1.5; max-width: 38ch; }
.conv__hist { margin-top: 28px; display: grid; gap: 0; }
.conv__hist > div { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.conv__hist dt { font: 700 .95rem/1.5 var(--f-display); color: var(--ink-3); }
.conv__hist dd { color: var(--ink-2); font-size: .95rem; }
.conv__hist-n { font: 700 1.15rem/1.3 var(--f-display); color: var(--ink); letter-spacing: -0.02em; }
.conv__hist-split { display: block; margin-top: 2px; font-size: .8125rem; color: var(--ink-3); }
.conv__h3 { font: 700 1.2rem/1.25 var(--f-display); letter-spacing: -0.02em; color: var(--ink); margin-bottom: 14px; }
.conv__timeline { display: grid; align-content: start; }
.conv__timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.conv__date { white-space: nowrap; font: 700 1rem/1.45 var(--f-display); color: var(--green-ink); }
.conv__step { color: var(--ink); line-height: 1.45; }
.conv__ref { margin-top: 4px; color: var(--ink-3); font-size: .875rem; }
.conv__more { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
.conv__req { display: grid; gap: 12px; color: var(--ink-2); }
.conv__req li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; line-height: 1.45; }
.conv__req svg { color: var(--green-ink); margin-top: 4px; }
.conv__keys > div { padding: 14px 0; border-top: 1px solid var(--line); }
.conv__keys > div:first-child { border-top: 0; padding-top: 0; }
.conv__keys dt { font: 700 1.35rem/1.2 var(--f-display); letter-spacing: -0.02em; color: var(--green); }
.conv__keys dd { margin-top: 4px; color: var(--ink-2); line-height: 1.45; }
.conv__note { margin-top: 36px; font-size: .875rem; color: var(--ink-3); max-width: 100ch; }
@media (max-width: 900px) { .conv__grid, .conv__more { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .conv__timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* Planes */
.plans { background: var(--mist); padding: var(--sec) 0; }
.plans .h2, .plans .section-lede { text-align: center; margin-inline: auto; }
.plans__grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.planc { background: #fff; border-radius: var(--r-md); padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-1); position: relative; }
.planc--featured { box-shadow: 0 0 0 2px var(--green-ink), 0 24px 48px -24px rgba(1, 96, 82, .45); }
.planc__flag { position: absolute; top: -13px; left: 28px; background: var(--green-ink); color: #fff; font-size: .75rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.planc__name { font: 700 1.35rem/1.2 var(--f-display); letter-spacing: -0.02em; }
.planc__price { margin-top: 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.planc__amount { font: 700 2.75rem/1 var(--f-display); letter-spacing: -0.04em; color: var(--ink); }
.planc__period { color: var(--ink-2); font-size: .95rem; }
.planc__was { margin-top: 6px; color: var(--ink-3); font-size: .9rem; }
.planc__note { margin: 12px 0 24px; color: var(--ink-2); font-size: .95rem; line-height: 1.45; min-height: 2.9em; }
.planc__credits { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--mist-2); font-weight: 600; font-size: .95rem; line-height: 1.45; }
.planc__features { margin-top: 14px; display: grid; gap: 10px; color: var(--ink-2); font-size: .95rem; }
.planc__features li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; }
.planc__features svg { color: var(--green-ink); margin-top: 4px; }
.plans__foot { margin-top: 28px; text-align: center; font-size: .875rem; color: var(--ink-3); }
@media (max-width: 960px) { .plans__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } .planc--featured { order: -1; } }

/* Testimonios */
.voices { padding: var(--sec) 0 calc(var(--sec) * .7); }
.voices__list { margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.voice__stars { display: flex; gap: 3px; color: var(--green); }
.voice__quote { margin-top: 16px; font: 700 clamp(1.15rem, 1.7vw, 1.35rem)/1.38 var(--f-display); letter-spacing: -0.015em; color: var(--ink); text-wrap: pretty; }
.voice__name { margin-top: 16px; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 900px) { .voices__list { grid-template-columns: 1fr; max-width: 620px; } }

/* FAQ */
.faq { padding: calc(var(--sec) * .5) 0 var(--sec); }
.faq__list { margin-top: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font: 600 1.125rem/1.35 var(--f-text); letter-spacing: -0.01em; }
.faq__icon { flex: none; color: var(--ink-2); transition: transform .35s var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__item summary:hover .faq__q { color: var(--green-ink); }
.faq__a { padding: 0 0 26px; color: var(--ink-2); line-height: 1.6; max-width: 68ch; }

/* Cierre */
.close { background: radial-gradient(110% 120% at 50% 0%, #017867 0%, var(--green-deep) 50%, var(--green-night) 100%); color: #fff; padding: var(--sec) 0; text-align: center; overflow: hidden; }
.close__inner { display: grid; justify-items: center; }
.close__iso { width: clamp(120px, 14vw, 168px); height: auto; margin-bottom: 36px; opacity: .95; }
.display--close { color: #fff; max-width: 13ch; }
.close__lede { margin-top: 20px; color: var(--on-dark-2); font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 42ch; }

/* Footer */
.foot { background: var(--mist); color: var(--ink-2); padding: 64px 0 40px; font-size: .875rem; }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.foot__claim { max-width: 46ch; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 36px 0; }
.foot h2 { font: 600 .8125rem/1.3 var(--f-text); color: var(--ink); margin-bottom: 12px; }
.foot ul { display: grid; gap: 8px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--green-ink); text-decoration: underline; }
.foot__legal { padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .8125rem; max-width: 110ch; }
@media (max-width: 760px) { .foot__cols { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .hero__stage .phone { transition: none !important; }
  .tile, .phone--tile { transition: none; }
}

/* ===== Oferta: banner superior con cuenta atrás ===== */
.promo { background: var(--offer-bg, #0d1513); color: #fff; }
.promo__inner { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px 24px; flex-wrap: wrap; padding: 8px 0; font-size: .9rem; }
.promo__text { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.promo__tag { font: 700 .75rem/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; background: var(--offer-accent, #ffd23f); color: var(--offer-accent-ink, #1a1400); padding: 6px 9px; border-radius: 6px; }
.promo__msg strong { font-weight: 600; }
.promo__msg s { color: #9fb3ae; margin-left: 4px; }
.promo__pct { font-weight: 600; color: var(--offer-accent, #ffd23f); }
.promo__clock { display: flex; align-items: center; gap: 8px; }
.promo__ends { color: #b7c9c4; }
.promo__cta { background: #fff; color: var(--green-night); text-decoration: none; font-weight: 600; padding: 8px 16px; border-radius: 999px; white-space: nowrap; transition: transform .2s var(--ease), background-color .2s; }
.promo__cta:hover { background: var(--offer-accent, #ffd23f); color: var(--offer-accent-ink, #1a1400); }
.countdown { display: inline-flex; gap: 4px; font-variant-numeric: tabular-nums; }
.countdown .cd-unit { display: inline-flex; align-items: baseline; gap: 1px; background: rgba(255,255,255,.1); border-radius: 6px; padding: 4px 6px; font-weight: 600; min-width: 2.6em; justify-content: center; }
.countdown .cd-unit small { font-size: .7em; font-weight: 400; opacity: .75; margin-left: 1px; }
.countdown--inline .cd-unit { background: rgba(1, 96, 82, .08); color: var(--green-deep); }
@media (max-width: 640px) {
  .promo__inner { font-size: .8125rem; gap: 6px 12px; padding: 8px 0 10px; }
  .promo__ends { display: none; }
}
.nav--offer { box-shadow: 0 1px 0 rgba(1, 60, 50, .1); }

/* Píldora de oferta en el hero */
.hero__offer { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 8px 10px 8px 8px; border-radius: 999px; background: #0d1513; color: #fff; text-decoration: none; font-size: .9rem; box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); transition: transform .3s var(--ease); }
.hero__offer:hover { color: #fff; transform: translateY(-2px); }
.hero__offer-tag { background: #ffd23f; color: #1a1400; font: 700 .72rem/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; }
.hero__offer-time { color: #b7c9c4; font-variant-numeric: tabular-nums; padding-right: 6px; }

/* Planes: estados de oferta */
.planc--featured { transform: translateY(-12px); }
@media (max-width: 960px) { .planc--featured { transform: none; } }
.planc__flag--offer { background: var(--offer-bg, #0d1513); }
.planc--offer.planc--featured { box-shadow: 0 0 0 2px var(--offer-bg, #0d1513), 0 30px 60px -28px rgba(0,0,0,.45); }
.planc__clock { margin-top: 10px; font-size: .875rem; color: var(--ink-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.planc__monthly { margin: -14px 0 18px; font-weight: 600; color: var(--green-ink); font-size: .95rem; }
.planc__klarna { margin-top: 10px; text-align: center; font-size: .8125rem; color: var(--ink-3); }
.planc__saving { margin-top: 18px; padding: 14px 16px; border-radius: var(--r-sm); background: #ecf7f4; color: var(--ink-2); font-size: .875rem; line-height: 1.5; }
.planc__saving strong { color: var(--green-deep); }
.planc__fine { color: var(--ink-3); }
.planc__features li.is-off { color: var(--ink-3); }
.planc__features li.is-off svg { color: var(--ink-3); }

/* ===== Blog ===== */
.display--page { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.blog { padding-bottom: var(--sec); }
.blog__head { padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 44px); }
.blog__head .section-lede { margin-top: 14px; }
.chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--mist); color: var(--ink); text-decoration: none; font-size: .875rem; font-weight: 600; }
.chip:hover { background: var(--mist-2); color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; }
.lead-post { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; text-decoration: none; color: inherit; margin-bottom: clamp(48px, 6vw, 80px); }
.lead-post__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); background: var(--mist); transition: transform .6s var(--ease); }
.lead-post:hover .lead-post__img { transform: scale(1.01); }
.lead-post__copy { display: grid; gap: 14px; }
.lead-post__title { font: 700 clamp(1.7rem, 3.2vw, 2.6rem)/1.1 var(--f-display); letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.lead-post__excerpt { color: var(--ink-2); font-size: 1.05rem; line-height: 1.5; }
.lead-post .link-more { color: var(--green-ink); }
.post-meta { font-size: .8125rem; font-weight: 600; color: var(--green-ink); }
.post-meta a { text-decoration: none; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px) clamp(20px, 3vw, 28px); }
.post-card { display: grid; gap: 10px; text-decoration: none; color: inherit; align-content: start; }
.post-card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md); background: var(--mist); margin-bottom: 6px; transition: transform .5s var(--ease); }
.post-card:hover .post-card__img { transform: translateY(-4px); }
.post-card__img--empty, .lead-post__img--empty { display: grid; place-items: center; background: radial-gradient(120% 120% at 80% 0%, #017867, var(--green-deep) 55%, var(--green-night)); }
.post-card__img--empty img, .lead-post__img--empty img { width: 34%; opacity: .9; }
.post-card__title { font: 700 1.2rem/1.25 var(--f-display); letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.post-card:hover .post-card__title { color: var(--green-ink); }
.post-card__excerpt { color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.pager { margin-top: 48px; display: flex; gap: 8px; justify-content: center; }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--mist); color: var(--ink); text-decoration: none; font-weight: 600; }
.pager a[aria-current] { background: var(--ink); color: #fff; }
.blog__cta { margin-top: clamp(56px, 7vw, 96px); }
.empty { color: var(--ink-2); padding: 40px 0; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } .lead-post { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }

/* ===== Artículo y páginas ===== */
.article { padding-bottom: var(--sec); }
.article__head { --wrap: 860px; padding: clamp(36px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8125rem; color: var(--ink-3); margin-bottom: 22px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--green-ink); text-decoration: underline; }
.article__title { font: 700 clamp(2.1rem, 5vw, 3.6rem)/1.06 var(--f-display); letter-spacing: -0.035em; text-wrap: balance; margin-top: 10px; }
.article__lede { margin-top: 18px; font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.article__dates { margin-top: 18px; font-size: .875rem; color: var(--ink-3); }
.article__hero { --wrap: 1080px; margin-bottom: clamp(32px, 5vw, 56px); }
.article__hero img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--r-lg); }
.article__layout { --wrap: 1080px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.article__layout:not(:has(.toc)) { --wrap: 760px; grid-template-columns: 1fr; }
.toc { position: sticky; top: 96px; font-size: .875rem; }
.nav--offer ~ main .toc { top: 150px; }
.toc__title { font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.toc ol { display: grid; gap: 8px; border-left: 1px solid var(--line); padding-left: 14px; }
.toc a { color: var(--ink-2); text-decoration: none; line-height: 1.4; display: block; }
.toc a:hover { color: var(--green-ink); }
@media (max-width: 960px) { .article__layout { grid-template-columns: 1fr; } .toc { position: static; background: var(--mist); border-radius: var(--r-md); padding: 20px 22px; } }
.article__end { --wrap: 1080px; margin-top: clamp(48px, 6vw, 80px); }
.related { margin-top: clamp(56px, 7vw, 96px); }
.h3 { font: 700 1.6rem/1.15 var(--f-display); letter-spacing: -0.025em; margin-bottom: 24px; }

.prose { font-size: 1.0625rem; line-height: 1.7; color: #26302d; max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font: 700 clamp(1.5rem, 2.6vw, 1.95rem)/1.2 var(--f-display); letter-spacing: -0.025em; color: var(--ink); margin-top: 2.2em; scroll-margin-top: 110px; text-wrap: balance; }
.prose h3 { font: 700 1.25rem/1.3 var(--f-display); letter-spacing: -0.015em; color: var(--ink); margin-top: 1.8em; scroll-margin-top: 110px; }
.prose h4 { font-weight: 600; font-size: 1.05rem; color: var(--ink); margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--green); }
.prose a { color: var(--green-ink); font-weight: 500; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose img { border-radius: var(--r-md); height: auto; }
.prose figure figcaption { font-size: .875rem; color: var(--ink-3); margin-top: 8px; }
.prose blockquote { border-left: 0; background: var(--mist); border-radius: var(--r-md); padding: 20px 24px; font-size: 1.05rem; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--mist); font-weight: 600; color: var(--ink); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-md); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose a[href$=".pdf"] { display: inline-flex; align-items: center; gap: 6px; }
.prose a[href$=".pdf"]::before { content: "PDF"; font: 700 .65rem/1 var(--f-display); background: #de5353; color: #fff; padding: 4px 5px; border-radius: 4px; }
.prose .cta-card { margin: 2.4em 0; max-width: none; }

/* Tarjeta de llamada a la acción en artículos */
.cta-card { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-lg); background: radial-gradient(120% 140% at 100% 0%, #017867 0%, var(--green-deep) 50%, var(--green-night) 100%); color: #fff; }
.cta-card--offer { background: #0d1513; }
.cta-card__flag { display: inline-block; font: 700 .72rem/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; background: #ffd23f; color: #1a1400; padding: 7px 10px; border-radius: 6px; margin-bottom: 12px; }
.cta-card__title { font: 700 clamp(1.3rem, 2.2vw, 1.7rem)/1.2 var(--f-display); letter-spacing: -0.02em; text-wrap: balance; color: #fff; margin: 0; }
.cta-card__text { margin-top: 10px; color: var(--on-dark-2); line-height: 1.5; max-width: 52ch; }
.cta-card__buy { display: grid; justify-items: center; gap: 10px; text-align: center; }
.cta-card__price { font: 700 2rem/1 var(--f-display); letter-spacing: -0.03em; color: #fff; margin: 0; }
.cta-card__price s { font: 400 1rem/1 var(--f-text); color: #9fb3ae; letter-spacing: 0; }
.cta-card .btn { --bg: #fff; --fg: var(--green-night); }
.cta-card .btn:hover { --bg: #ffd23f; color: #1a1400; }
.cta-card__free { color: var(--on-dark-2); font-size: .875rem; }
.cta-card__free:hover { color: #fff; }
.prose .cta-card p { margin-top: 0; }
.prose .cta-card .cta-card__text { margin-top: 10px; }
@media (max-width: 760px) { .cta-card { grid-template-columns: 1fr; } .cta-card__buy { justify-items: stretch; } }

/* 404 */
.notfound { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.notfound__inner { display: grid; justify-items: center; }
.notfound__code { font: 700 1rem/1 var(--f-display); color: var(--green-ink); letter-spacing: .1em; margin-bottom: 14px; }

/* Consentimiento de cookies */
.consent { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-inline: auto; background: #fff; border-radius: var(--r-md); box-shadow: 0 20px 50px -20px rgba(1, 40, 34, .45), 0 0 0 1px rgba(1, 60, 50, .08); padding: 18px 20px; display: grid; gap: 14px; font-size: .9rem; }
.consent[hidden] { display: none; }
.consent__actions { display: flex; gap: 10px; justify-content: flex-end; }

.conv--page { padding: 0 0 clamp(48px, 6vw, 80px); }
.conv--page .conv__grid { margin-top: 0; }
.prose th[scope=row] { background: transparent; }
.prose .conv__note { font-size: .875rem; }

@media (max-width: 640px) { .hero__offer { display: none; } }

.consent-page__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Menú: desplegable «Oposición» ===== */
.nav { position: sticky; }
.nav__item { position: static; }
.nav__trigger { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 8px 0; font: inherit; font-size: .875rem; color: var(--ink); opacity: .82; cursor: pointer; }
.nav__trigger:hover, .nav__trigger[aria-expanded="true"] { opacity: 1; color: var(--green-ink); }
.nav__trigger svg { transition: transform .25s var(--ease); }
.nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__links a[aria-current], .nav__trigger[aria-current] { opacity: 1; color: var(--green-ink); font-weight: 600; }
.flyout { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 1px 0 rgba(1, 60, 50, .08), 0 24px 40px -24px rgba(1, 40, 34, .25); animation: flyout-in .28s var(--ease); }
.flyout[hidden] { display: none; }
@keyframes flyout-in { from { opacity: 0; transform: translateY(-6px); } }
.flyout__inner { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; padding: 28px 0 34px; display: grid; grid-template-columns: 1fr 300px; gap: 12px 48px; }
.flyout__label { grid-column: 1 / -1; font-size: .8125rem; color: var(--ink-3); }
.flyout__links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.flyout__links a { display: grid; gap: 4px; padding: 12px 14px; margin-left: -14px; border-radius: 12px; text-decoration: none; transition: background-color .2s; }
.flyout__links a:hover { background: var(--mist); }
.flyout__title { font: 700 1.15rem/1.2 var(--f-display); letter-spacing: -0.02em; color: var(--ink); }
.flyout__links a:hover .flyout__title { color: var(--green-ink); }
.flyout__desc { font-size: .875rem; color: var(--ink-2); }
.flyout__promo { grid-row: 2; grid-column: 2; display: grid; gap: 6px; align-content: start; padding: 20px 22px; border-radius: var(--r-md); text-decoration: none; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #017867 0%, var(--green-deep) 55%, var(--green-night) 100%); }
.flyout__promo:hover { color: #fff; }
.flyout__promo-tag { justify-self: start; font: 700 .7rem/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; background: #ffd23f; color: #1a1400; padding: 6px 8px; border-radius: 6px; }
.flyout__promo-title { font: 700 1.25rem/1.2 var(--f-display); margin-top: 6px; }
.flyout__promo-price { color: var(--on-dark-2); }
.flyout__promo .link-more { color: #fff; min-height: 32px; }
@media (max-width: 900px) { .flyout { display: none !important; } }

/* Menú móvil agrupado */
.nav__sheet { max-height: calc(100vh - 60px); overflow-y: auto; }
.nav__sheet-inner { width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 0 auto; padding: 12px 0 28px; }
.nav__sheet-label { font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 2px; }
.nav__sheet ul { width: auto; margin: 0; padding: 0; }
.nav__sheet-cta { display: grid; gap: 10px; margin-top: 24px; }

/* ===== Contacto ===== */
.contact { padding: clamp(40px, 6vw, 80px) 0 var(--sec); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact__intro .section-lede { margin-top: 14px; }
.contact__ways { margin-top: 32px; display: grid; gap: 16px; color: var(--ink-2); line-height: 1.5; }
.contact__ways li { padding-top: 16px; border-top: 1px solid var(--line); }
.contact__ways strong { color: var(--ink); }
.contact__card { background: var(--mist); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); }
.form { display: grid; gap: 18px; margin-top: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.form__field input, .form__field select, .form__field textarea { font: 400 1rem/1.4 var(--f-text); color: var(--ink); background: #fff; border: 1px solid #cdd8d5; border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.form__field textarea { resize: vertical; min-height: 140px; }
.form__field input:focus, .form__field select:focus, .form__field textarea:focus { outline: none; border-color: var(--green-ink); box-shadow: 0 0 0 3px rgba(1, 145, 124, .2); }
.form__field [aria-invalid="true"], .form__check [aria-invalid="true"] { border-color: #c4321f; }
.form__error { color: #b42318; font-weight: 400; font-size: .85rem; }
.form__alert { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fdecea; color: #8f1d12; }
.form__check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: .9rem; color: var(--ink-2); }
.form__check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green-ink); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form__ok { display: grid; gap: 12px; }
@media (max-width: 860px) { .contact__grid, .form__row { grid-template-columns: 1fr; } }
.nav__links ul { align-items: center; }
.nav__links a, .nav__trigger { display: inline-flex; align-items: center; min-height: 40px; padding: 0; line-height: 1; }

/* Precios: laterales iguales; el destacado sobresale lo mismo por arriba y por abajo */
.plans__grid { align-items: stretch; padding-block: 28px; }
.planc--featured { transform: none; margin-block: -28px; padding: 44px 32px; z-index: 1; }
.planc--featured .planc__amount { font-size: 3.1rem; }
@media (max-width: 960px) { .plans__grid { padding-block: 0; } .planc--featured { margin-block: 0; padding: 32px 28px; } }

/* Botones <button>: quitar el estilo nativo del navegador */
button.btn { border: 0; cursor: pointer; font-family: var(--f-text); -webkit-appearance: none; appearance: none; }
button.btn:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.form .btn { box-shadow: 0 1px 1px rgba(1, 60, 50, .12), 0 6px 16px -8px rgba(1, 96, 82, .5); }
.form .btn:disabled { opacity: .6; cursor: progress; }

/* ===== Conversión ===== */
.hero__fine strong { color: var(--ink); font-weight: 600; }
.plans__qa { margin-top: clamp(40px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 40px; }
.plans__qa > div { padding-top: 18px; border-top: 1px solid var(--line); }
.plans__qa dt { font-weight: 600; color: var(--ink); }
.plans__qa dd { margin-top: 6px; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
@media (max-width: 860px) { .plans__qa { grid-template-columns: 1fr; } }

.practice { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 20px; align-items: center; padding: 20px 22px; border-radius: var(--r-md); background: var(--mist); margin: 0 0 2em; }
.prose .practice { margin: 2em 0; }
.prose .practice p { margin: 0; }
.practice__title { font: 700 1.1rem/1.25 var(--f-display); color: var(--ink); }
.practice__text { margin-top: 4px !important; color: var(--ink-2); font-size: .95rem; }
.prose .practice .btn { color: #fff; text-decoration: none; }
@media (max-width: 640px) { .practice { grid-template-columns: auto 1fr; } .practice .btn { grid-column: 1 / -1; } }

.notify { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; align-items: center; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.conv__notify .notify { margin-top: 0; margin-bottom: clamp(40px, 5vw, 64px); }
.notify__title { font: 700 1.25rem/1.25 var(--f-display); letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.notify__text { margin-top: 6px; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.notify__form { display: grid; gap: 10px; }
.notify__row { display: flex; gap: 8px; }
.notify__row input { flex: 1; min-width: 0; font: 400 1rem/1.4 var(--f-text); border: 1px solid #cdd8d5; border-radius: 999px; padding: 0 18px; min-height: 46px; background: #fff; color: var(--ink); }
.notify__row input:focus { outline: none; border-color: var(--green-ink); box-shadow: 0 0 0 3px rgba(1, 145, 124, .2); }
.notify__check { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--ink-2); }
.notify__check input { accent-color: var(--green-ink); }
.notify__ok { font-weight: 600; color: var(--green-deep); }
@media (max-width: 760px) { .notify { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .notify__row { flex-direction: column; } }

.buybar { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 16px; background: rgba(13, 21, 19, .96); color: #fff; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5); animation: buybar-in .35s var(--ease); }
.buybar[hidden] { display: none; }
@keyframes buybar-in { from { transform: translateY(120%); } }
.buybar__info { display: grid; line-height: 1.25; min-width: 0; }
.buybar__name { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__price { font-size: .8125rem; color: #b7c9c4; font-variant-numeric: tabular-nums; }
.buybar .btn { --bg: #fff; --fg: var(--green-night); box-shadow: none; flex: none; }
@media (min-width: 761px) { .buybar { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .buybar { animation: none; } }

/* Enlazado interno al final de artículos y páginas */
.guides { margin-top: clamp(48px, 6vw, 72px); }
.guides__title { font: 700 1.3rem/1.2 var(--f-display); letter-spacing: -0.02em; margin-bottom: 16px; }
.guides__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.guides__list a { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--r-md); background: var(--mist); text-decoration: none; height: 100%; transition: background-color .2s, transform .3s var(--ease); }
.guides__list a:hover { background: var(--mist-2); transform: translateY(-2px); }
.guides__list span { font-weight: 600; color: var(--ink); }
.guides__list small { color: var(--ink-2); font-size: .85rem; line-height: 1.4; }
.notify__check { display: block; }
.notify__check input { margin: 0 6px 0 0; vertical-align: -2px; }

/* ── Movimiento ligado al scroll (estilo Apple): reversible al subir ──
   site.js escribe --sp (0→1) en cada elemento [data-sc] y en el hero. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__stage.is-ready .phone--left  { translate: calc(var(--hp, 0) * -22%) calc(var(--hp, 0) * 6%); rotate: calc(var(--hp, 0) * -5deg); }
  .js .hero__stage.is-ready .phone--right { translate: calc(var(--hp, 0) * 22%) calc(var(--hp, 0) * 6%); rotate: calc(var(--hp, 0) * 5deg); }
  .js .hero__stage.is-ready .phone--center { translate: 0 calc(var(--hp, 0) * -8%); scale: calc(1 + var(--hp, 0) * .06); }
  .js .hero__copy { opacity: calc(1 - var(--hp, 0) * 1.1); translate: 0 calc(var(--hp, 0) * -30px); }

  .js .rail__track[data-sc] .phone--tile { translate: 0 calc((var(--sp, .5) - .5) * (60px + var(--k, 0) * 30px)); }

  .js .cal[data-sc] { transform-origin: 50% 100%; transform: perspective(1400px) rotateX(calc((1 - var(--sp, 1)) * 22deg)) scale(calc(.88 + var(--sp, 1) * .12)); opacity: calc(.3 + var(--sp, 1) * .7); will-change: transform; }

  .js .close__iso[data-sc] { scale: calc(.6 + var(--sp, 1) * .4); opacity: calc(var(--sp, 1) * .95); }
}

/* ── Sobre nosotros ── */
.about-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.about-hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-hero__accent { color: var(--green); }
.about-hero .section-lede { margin-top: 24px; }
.about-hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.about-hero__visual { display: flex; justify-content: center; }
.phone--about { width: min(300px, 70vw); }
.manifesto { background: var(--green-night); color: #fff; padding: var(--sec) 0; }
.manifesto__label { font: 600 .9375rem/1 var(--f-text); color: #9fd9cd; }
.manifesto__text { margin-top: 24px; font: 700 clamp(1.9rem, 4.4vw, 3.6rem)/1.14 var(--f-display); letter-spacing: -0.03em; max-width: 24ch; text-wrap: pretty; }
.manifesto__cols { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); color: var(--on-dark-2); font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.6; max-width: 980px; }
.principles { padding: var(--sec) 0; }
.principles__list { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(36px, 5vw, 64px) clamp(32px, 6vw, 96px); }
.principle { padding-top: 24px; border-top: 1px solid var(--mist-2); }
.principle__n { font: 700 .875rem/1 var(--f-display); color: var(--green); letter-spacing: .02em; }
.principle__t { margin-top: 14px; font: 700 clamp(1.35rem, 2.2vw, 1.75rem)/1.2 var(--f-display); letter-spacing: -0.02em; }
.principle__txt { margin-top: 12px; color: var(--ink-2); line-height: 1.6; max-width: 48ch; }
.promise { background: radial-gradient(120% 90% at 85% 0%, #017867 0%, var(--green-deep) 46%, var(--green-night) 100%); color: var(--on-dark); padding: var(--sec) 0; }
.promise__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.promise__lede { margin-top: 20px; color: var(--on-dark-2); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.5; max-width: 36ch; }
.promise__list { display: grid; gap: 0; }
.promise__item { display: grid; grid-template-columns: 20px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .16); line-height: 1.55; }
.promise__item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.promise__item svg { color: #9fd9cd; margin-top: 3px; }
.promise__item strong { color: #fff; font-weight: 600; }
.promise__item span { color: var(--on-dark-2); }
.promise__item a { color: #fff; }
@media (max-width: 900px) {
  .about-hero__grid, .promise__grid, .manifesto__cols, .principles__list { grid-template-columns: 1fr; }
  .about-hero__visual { order: -1; }
  .phone--about { width: min(220px, 56vw); }
}
@media (prefers-reduced-motion: no-preference) {
  /* El manifiesto se ilumina palabra a palabra al hacer scroll (y se apaga al subir) */
  .js .manifesto__text[data-sc] span { opacity: clamp(.18, calc(var(--sp, 1) * 34 - var(--i)), 1); transition: opacity .15s linear; }
  .js .about-hero__visual[data-sc] .phone { translate: 0 calc((1 - var(--sp, 1)) * 40px); }
}
.hero__lede strong { color: var(--ink); font-weight: 600; }
@media (max-width: 420px) {
  .nav__actions { gap: 6px; }
  .nav .btn--sm { padding: 0 12px; }
  .brand { gap: 7px; }
  .brand__iso { width: 46px; height: 21px; }
  .brand__word { font-size: .9375rem; }
  .nav__toggle { margin-right: -8px; }
}
.proof__label strong { color: var(--ink); font-weight: 600; }

/* ---------- Recursos gratuitos (/recursos-gratuitos/) ---------- */
.res-hero__phone { width: min(260px, 100%); }
.res-jump { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.res-jump a { padding: 8px 14px; border-radius: 999px; background: var(--mist); color: var(--ink); font-size: .9375rem; font-weight: 600; text-decoration: none; transition: background-color .2s var(--ease); }
.res-jump a:hover { background: var(--mist-2); }
.res-section { padding: var(--sec) 0; scroll-margin-top: 64px; }
.res-section--mist { background: var(--mist); }
.res-section--tight { padding: clamp(40px, 5vw, 64px) 0 0; }
.res-head { display: grid; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.res-exams { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 22px); }
.res-exam { position: relative; display: grid; gap: 6px; height: 100%; padding: clamp(52px, 5.4vw, 60px) clamp(22px, 2.6vw, 30px) clamp(22px, 2.6vw, 30px); border-radius: var(--r-lg, 24px); background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.res-exam:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 18px 30px -18px rgba(1, 60, 50, .35); }
.res-exam--new { box-shadow: 0 0 0 2px var(--green-ink); }
.res-exam__tag { position: absolute; top: clamp(18px, 2.2vw, 24px); left: clamp(22px, 2.6vw, 30px); padding: 3px 10px; border-radius: 999px; background: var(--green-ink); color: #fff; font-size: .75rem; font-weight: 600; }
.res-exam__year { font: 700 clamp(2.4rem, 4vw, 3.2rem)/1 var(--f-display); letter-spacing: -0.04em; color: var(--green); }
.res-exam__txt { color: var(--ink-2); line-height: 1.45; margin-bottom: 10px; }
.res-exam .link-more { margin-top: auto; }
.res-note { margin-top: 28px; color: var(--ink-2); }
.res-note a { color: var(--green-ink); font-weight: 600; }
.res-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 22px); }
.res-card { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 6px; height: 100%; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r-lg, 24px); background: var(--mist); color: var(--ink); text-decoration: none; transition: background-color .2s var(--ease); }
.res-card:hover { background: var(--mist-2); }
.res-card__n { grid-row: span 3; font: 700 1rem/1.6 var(--f-display); color: var(--green); }
.res-card__t { font: 700 1.25rem/1.25 var(--f-display); letter-spacing: -0.02em; }
.res-card__txt { color: var(--ink-2); line-height: 1.5; }
.res-card .link-more { margin-top: 6px; }
.res-downloads { display: grid; gap: 12px; }
.res-download { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 18px 22px; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }
.res-download__icon { display: grid; place-items: center; width: 48px; height: 56px; border-radius: 10px; background: var(--mist); color: var(--green-ink); font: 700 .8rem/1 var(--f-text); letter-spacing: .04em; }
.res-download p { margin-top: 4px; color: var(--ink-2); line-height: 1.5; }
.res-download a:not(.btn) { color: var(--green-ink); }
.res-free { margin-top: clamp(40px, 5vw, 64px); background: radial-gradient(120% 90% at 85% 0%, #017867 0%, var(--green-deep) 46%, var(--green-night) 100%); color: var(--on-dark); overflow: hidden; }
.res-free__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.res-free__list { display: grid; margin-top: 28px; }
.res-free__list li { display: grid; grid-template-columns: 20px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .16); line-height: 1.55; }
.res-free__list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.res-free__list svg { color: #9fd9cd; margin-top: 3px; }
.res-free__list strong { color: #fff; font-weight: 600; }
.res-free__list span { color: var(--on-dark-2); }
.res-free__cta { margin-top: 32px; }
.res-free__visual { display: flex; justify-content: center; }
.res-free__visual .phone { width: min(240px, 100%); }
.res-notify .notify { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 900px) {
  .res-exams { grid-template-columns: 1fr 1fr; }
  .res-free__grid { grid-template-columns: 1fr; }
  .res-free__visual { display: none; }
  .res-hero__phone { width: min(200px, 52vw); }
}
@media (max-width: 640px) {
  .res-cards { grid-template-columns: 1fr; }
  .res-download { grid-template-columns: auto 1fr; }
  .res-download .btn { grid-column: 1 / -1; justify-self: start; }
}


/* ===== Campañas de oferta: un diseño de home por tipo (precio, Black Friday, Navidad, Halloween) ===== */
[data-offer="precio"] { --offer-bg: #014a40; --offer-accent: #ffd23f; --offer-accent-ink: #1a1400; }
[data-offer="black-friday"] { --offer-bg: #0a0a0a; --offer-accent: #ffd23f; --offer-accent-ink: #111; }
[data-offer="navidad"] { --offer-bg: #0f3d2e; --offer-accent: #d7263d; --offer-accent-ink: #fff; }
[data-offer="halloween"] { --offer-bg: #1f1033; --offer-accent: #ff7a1a; --offer-accent-ink: #1a0a00; }

.offer-preview { position: sticky; top: 0; z-index: 200; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; justify-content: center; padding: 8px 16px; background: #fff4c2; color: #4a3b00; font-size: .875rem; border-bottom: 1px solid #e8d488; }
.offer-preview a { color: #4a3b00; font-weight: 600; }

.campaign { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--offer-bg, #0d1513); padding: clamp(56px, 8vw, 96px) 0; }
.campaign__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px 56px; align-items: center; }
.campaign__tag { display: inline-block; font: 700 .8rem/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; background: var(--offer-accent); color: var(--offer-accent-ink); padding: 8px 12px; border-radius: 8px; margin: 0 0 18px; }
.campaign__title { font: 700 clamp(2rem, 4.6vw, 3.4rem)/1.06 var(--f-display); letter-spacing: -.02em; margin: 0 0 16px; text-wrap: balance; }
.campaign__text { color: rgba(255,255,255,.82); font-size: 1.0625rem; max-width: 34em; margin: 0; }
.campaign__deal { justify-self: end; width: min(100%, 420px); text-align: center; padding: 28px 26px; border-radius: var(--r-md); background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.campaign__plan { margin: 0; color: rgba(255,255,255,.75); font-weight: 600; }
.campaign__price { margin: 4px 0 18px; display: flex; gap: 10px; align-items: baseline; justify-content: center; flex-wrap: wrap; }
.campaign__price strong { font: 700 clamp(2.4rem, 5vw, 3.2rem)/1 var(--f-display); }
.campaign__price s { color: rgba(255,255,255,.6); font-size: 1.125rem; }
.campaign__pct { background: var(--offer-accent); color: var(--offer-accent-ink); font-weight: 700; padding: 4px 8px; border-radius: 6px; font-size: .9rem; }
.campaign__ends { margin: 0 0 8px; color: rgba(255,255,255,.75); font-size: .875rem; text-transform: uppercase; letter-spacing: .06em; }
.countdown--big { display: flex; justify-content: center; gap: 8px; margin-bottom: 22px; }
.countdown--big .cd-unit { flex-direction: column; align-items: center; min-width: 64px; padding: 12px 8px 8px; border-radius: 12px; background: rgba(0,0,0,.28); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font: 700 2rem/1 var(--f-display); }
.countdown--big .cd-unit small { margin: 6px 0 0; font: 500 .7rem/1 var(--f-text); text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.campaign__cta { --bg: var(--offer-accent); --fg: var(--offer-accent-ink); width: 100%; box-shadow: none; }
.campaign__cta:hover { --bg: #fff; color: #111; }
.campaign__fine { margin: 12px 0 0; font-size: .8125rem; color: rgba(255,255,255,.6); }
.campaign__decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
@media (max-width: 860px) {
  .campaign__inner { grid-template-columns: 1fr; text-align: center; }
  .campaign__text { margin-inline: auto; }
  .campaign__deal { justify-self: center; }
}
@media (max-width: 420px) { .countdown--big .cd-unit { min-width: 54px; font-size: 1.6rem; } }

/* Cambio de precio: verde corporativo con sello de descuento */
.campaign--precio { background: radial-gradient(90% 120% at 100% 0%, #01917c 0%, #014a40 55%, #01342d 100%); }
.campaign__badge { position: absolute; left: -70px; bottom: -90px; width: clamp(160px, 18vw, 240px); height: auto; color: #ffd23f; opacity: .9; transform: rotate(14deg); }
.campaign__spark { position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; background: #ffd23f; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: .8; }
.campaign--precio .campaign__inner { padding-top: 10px; }

/* Black Friday: negro, amarillo y cinta */
.campaign--black-friday { background: #0a0a0a; padding-block: clamp(84px, 10vw, 128px); }
.campaign--black-friday .campaign__title { text-transform: uppercase; letter-spacing: -.01em; }
.campaign--black-friday .campaign__deal { background: #141414; box-shadow: inset 0 0 0 2px #ffd23f; }
.campaign__tape { position: absolute; left: -5%; width: 110%; display: flex; gap: 22px; white-space: nowrap; overflow: hidden; background: #ffd23f; color: #111; font: 800 .95rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .12em; padding: 10px 0; }
.campaign__tape--top { top: 18px; transform: rotate(-2deg); }
.campaign__tape--bottom { bottom: 18px; transform: rotate(1.5deg); }

/* Navidad: verde, rojo, nieve y lazo */
.campaign--navidad { background: radial-gradient(80% 120% at 0% 0%, #1b5e45 0%, #0f3d2e 60%, #0a2b20 100%); }
.campaign--navidad .campaign__deal { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 2px rgba(242,193,78,.6); }
.campaign--navidad .campaign__cta:hover { --bg: #f2c14e; color: #2b1d00; }
.campaign__flake { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); color: rgba(255,255,255,.55); }
.campaign__flake svg { width: 100%; height: 100%; }
.campaign__bow { position: absolute; right: 4%; top: 0; width: clamp(80px, 9vw, 120px); height: auto; }
.campaign__snow { position: absolute; inset: -100% 0 0; background-image: radial-gradient(2px 2px at 20px 30px, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 90px 80px, #fff 50%, transparent 52%), radial-gradient(2px 2px at 160px 140px, rgba(255,255,255,.8) 50%, transparent 52%), radial-gradient(1px 1px at 230px 50px, #fff 50%, transparent 52%); background-size: 260px 200px; opacity: .55; animation: campaign-snow 18s linear infinite; }
@keyframes campaign-snow { to { transform: translateY(50%); } }

/* Halloween: morado, naranja, murciélagos, telaraña y calabaza */
.campaign--halloween { background: radial-gradient(90% 120% at 100% 100%, #4a1d6e 0%, #1f1033 55%, #12091f 100%); }
.campaign--halloween .campaign__deal { background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 2px rgba(255,122,26,.7); }
.campaign__bat { position: absolute; left: var(--x); top: var(--y); color: #b48ae0; transform: scale(var(--k)); opacity: .45; animation: campaign-bat 6s ease-in-out infinite alternate; }
.campaign__bat:nth-child(even) { animation-duration: 8s; }
@keyframes campaign-bat { to { translate: 12px -10px; } }
.campaign__web { position: absolute; left: 0; top: 0; width: clamp(120px, 16vw, 200px); height: auto; color: rgba(255,255,255,.22); }
.campaign__pumpkin { position: absolute; right: 3%; bottom: 10px; width: clamp(70px, 9vw, 120px); height: auto; filter: drop-shadow(0 0 24px rgba(255,122,26,.45)); }
@media (max-width: 860px) { .campaign__pumpkin, .campaign__bow, .campaign__badge { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .campaign__snow, .campaign__bat { animation: none; } }

/* DECOR-SECCIONES:INICIO (generado con data/tools/decor_css.py) */
[data-offer] main > :where(section:not(.campaign)) { position: relative; isolation: isolate; }
[data-offer] main > .plan, [data-offer] main > .close, [data-offer] main > .plans { overflow-x: clip; }
[data-offer="precio"] main > :where(section:not(.campaign)) .h2::before { content: ""; display: inline-block; width: .58em; height: .58em; margin-right: .32em; vertical-align: .06em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' %3E%3Cpath d='M50 2 62 38 98 50 62 62 50 98 38 62 2 50 38 38Z' fill='%23f2b705'/%3E%3C/svg%3E") center/contain no-repeat; }
[data-offer="precio"] main > :is(.plan, .close)::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(40% 60% at 92% 8%, rgba(255,210,63,.16), transparent 70%), radial-gradient(2px 2px at 20% 30%, rgba(255,210,63,.7) 50%, transparent 52%), radial-gradient(1.5px 1.5px at 70% 75%, rgba(255,210,63,.6) 50%, transparent 52%), radial-gradient(1.5px 1.5px at 40% 85%, rgba(255,255,255,.5) 50%, transparent 52%); background-size: auto; }
[data-offer="black-friday"] main > :where(section:not(.campaign)) .h2::before { content: ""; display: inline-block; width: .58em; height: .58em; margin-right: .32em; vertical-align: .06em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' %3E%3Crect x='4' y='4' width='92' height='92' rx='22' fill='%23111'/%3E%3Cpath d='M58 14 26 56h20l-6 30 34-44H54Z' fill='%23ffd23f'/%3E%3C/svg%3E") center/contain no-repeat; }
[data-offer="black-friday"] main > :is(.plan, .close)::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(135deg, rgba(255,210,63,.022) 0 26px, transparent 26px 90px), radial-gradient(50% 60% at 90% 0%, rgba(255,210,63,.1), transparent 70%); background-size: auto; }
[data-offer="black-friday"] main > :is(.plan, .close) { background: radial-gradient(110% 90% at 85% 0%, #2a2a2a 0%, #141414 50%, #0a0a0a 100%); }
[data-offer="black-friday"] main > :is(.plan, .close)::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 10px; z-index: 1; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 10' %3E%3Cdefs%3E%3Cpattern id='p' width='24' height='24' patternUnits='userSpaceOnUse' patternTransform='rotate(45)'%3E%3Crect width='12' height='24' fill='%23111'/%3E%3Crect x='12' width='12' height='24' fill='%23ffd23f'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='240' height='10' fill='url(%23p)'/%3E%3C/svg%3E") 0 0 / 240px 10px repeat-x; }
[data-offer="black-friday"] main > .plans::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 10' %3E%3Cdefs%3E%3Cpattern id='p' width='24' height='24' patternUnits='userSpaceOnUse' patternTransform='rotate(45)'%3E%3Crect width='12' height='24' fill='%23111'/%3E%3Crect x='12' width='12' height='24' fill='%23ffd23f'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='240' height='10' fill='url(%23p)'/%3E%3C/svg%3E") 0 0 / 240px 10px repeat-x; }
[data-offer="navidad"] main > :where(section:not(.campaign)) .h2::before { content: ""; display: inline-block; width: .58em; height: .58em; margin-right: .32em; vertical-align: .06em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' %3E%3Cg fill='none' stroke='%23c8102e' stroke-width='9' stroke-linecap='round'%3E%3Cpath d='M50 6v88M12 28l76 44M12 72l76-44'/%3E%3Cpath d='m36 12 14 12 14-12M36 88l14-12 14 12'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat; }
[data-offer="navidad"] main > :is(.plan, .close)::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,.8) 50%, transparent 52%), radial-gradient(1.5px 1.5px at 90px 90px, rgba(255,255,255,.7) 50%, transparent 52%), radial-gradient(2.5px 2.5px at 160px 150px, rgba(255,255,255,.6) 50%, transparent 52%), radial-gradient(1px 1px at 230px 60px, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 40px 140px, rgba(255,255,255,.55) 50%, transparent 52%), radial-gradient(2px 2px at 120px 20px, rgba(255,255,255,.5) 50%, transparent 52%), radial-gradient(1px 1px at 300px 170px, #fff 50%, transparent 52%); background-size: 260px 200px, 260px 200px, 260px 200px, 260px 200px, 340px 260px, 340px 260px, 340px 260px; }
[data-offer="navidad"] main > :is(.plan, .close)::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 22px; z-index: 1; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cpath d='M0 0h120v8c-6 0-6 10-15 10S96 8 90 8s-6 12-15 12S66 8 60 8s-6 9-15 9S36 8 30 8s-6 11-15 11S6 8 0 8Z' fill='%23fff'/%3E%3C/svg%3E") 0 0 / 120px 22px repeat-x; }
[data-offer="navidad"] main > .plans::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 34px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 34' %3E%3Cpath d='M0 4Q50 30 100 4T200 4' fill='none' stroke='%232f5d4a' stroke-width='2'/%3E%3Cg transform='translate(25 15)'%3E%3Crect x='-3' y='-3' width='6' height='5' fill='%232f5d4a'/%3E%3Cellipse cy='8' rx='5' ry='8' fill='%23d7263d'/%3E%3C/g%3E%3Cg transform='translate(75 15)'%3E%3Crect x='-3' y='-3' width='6' height='5' fill='%232f5d4a'/%3E%3Cellipse cy='8' rx='5' ry='8' fill='%23f2c14e'/%3E%3C/g%3E%3Cg transform='translate(125 15)'%3E%3Crect x='-3' y='-3' width='6' height='5' fill='%232f5d4a'/%3E%3Cellipse cy='8' rx='5' ry='8' fill='%232a9461'/%3E%3C/g%3E%3Cg transform='translate(175 15)'%3E%3Crect x='-3' y='-3' width='6' height='5' fill='%232f5d4a'/%3E%3Cellipse cy='8' rx='5' ry='8' fill='%23d7263d'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 200px 34px repeat-x; }
[data-offer="halloween"] main > :where(section:not(.campaign)) .h2::before { content: ""; display: inline-block; width: .58em; height: .58em; margin-right: .32em; vertical-align: .06em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' %3E%3Cpath d='M47 16c0-7 4-12 10-14l3 5c-5 2-7 5-7 9Z' fill='%233f7d3a'/%3E%3Cellipse cx='32' cy='60' rx='26' ry='34' fill='%23e86a10'/%3E%3Cellipse cx='68' cy='60' rx='26' ry='34' fill='%23e86a10'/%3E%3Cellipse cx='50' cy='60' rx='26' ry='38' fill='%23ff7a1a'/%3E%3C/svg%3E") center/contain no-repeat; }
[data-offer="halloween"] main > :is(.plan, .close)::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(28px 28px at 50% 70px, #ffe7a8 0 92%, transparent 100%), radial-gradient(160px 120px at 50% 70px, rgba(255,231,168,.18), transparent 70%), radial-gradient(1.5px 1.5px at 15% 25%, rgba(255,255,255,.7) 50%, transparent 52%), radial-gradient(1px 1px at 60% 12%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 35% 70%, rgba(255,255,255,.5) 50%, transparent 52%); background-size: auto; }
[data-offer="halloween"] main > :is(.plan, .close) { background: radial-gradient(110% 90% at 85% 0%, #4a1d6e 0%, #2a1442 50%, #170b26 100%); }
[data-offer="halloween"] main > :is(.plan, .close)::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 34px; z-index: 1; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30' preserveAspectRatio='none'%3E%3Cpath d='M0 0h120v6c-8 0-8 4-12 4s-3 14-7 14-3-14-7-14-10 0-14 0-4 7-7 7-3-7-7-7c-9 0-9 3-13 3s-3 18-7 18-3-18-7-18-8 0-12 0-4 6-7 6-3-6-7-6H0Z' fill='%23fff'/%3E%3C/svg%3E") 0 0 / 220px 34px repeat-x; }
[data-offer="halloween"] main > .plans::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 30' %3E%3Cpath d='M0 3Q50 14 100 3T200 3' fill='none' stroke='%234a2d63' stroke-width='1.5'/%3E%3Cpath d='M9 5h22l-11 20Z' fill='%23ff7a1a'/%3E%3Cpath d='M49 8h22l-11 20Z' fill='%234a1d6e'/%3E%3Cpath d='M89 3h22l-11 20Z' fill='%23ff7a1a'/%3E%3Cpath d='M129 8h22l-11 20Z' fill='%234a1d6e'/%3E%3Cpath d='M169 5h22l-11 20Z' fill='%23ff7a1a'/%3E%3C/svg%3E") 0 0 / 200px 30px repeat-x; }
[data-offer="navidad"] main .h2.h2--on-dark::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' %3E%3Cg fill='none' stroke='%23ffffff' stroke-width='9' stroke-linecap='round'%3E%3Cpath d='M50 6v88M12 28l76 44M12 72l76-44'/%3E%3Cpath d='m36 12 14 12 14-12M36 88l14-12 14 12'/%3E%3C/g%3E%3C/svg%3E"); }
[data-offer="navidad"] main > :is(.plan, .close)::after { animation: campaign-snow 30s linear infinite; inset: -200px 0 0; }
@media (prefers-reduced-motion: reduce) { [data-offer="navidad"] main > :is(.plan, .close)::after { animation: none; } }
[data-offer] .planc--offer.planc--featured .btn { --bg: var(--offer-bg); --fg: #fff; }
[data-offer] .planc--offer.planc--featured .btn:hover { --bg: var(--offer-accent); color: var(--offer-accent-ink); }
/* DECOR-SECCIONES:FIN */

/* Barra de administración en la web pública (solo con sesión del panel) */
.adminbar { background: #1d2327; color: #c3c4c7; font: 500 13px/1 var(--f-text); position: relative; z-index: 300; }
.adminbar__inner { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; min-height: 34px; padding: 0 16px; }
.adminbar__brand { color: #fff; font-weight: 700; text-decoration: none; }
.adminbar__links { display: flex; flex-wrap: wrap; gap: 0 14px; list-style: none; margin: 0; padding: 0; }
.adminbar a { color: #c3c4c7; text-decoration: none; display: inline-block; padding: 10px 0; }
.adminbar a:hover, .adminbar a:focus-visible { color: #72d8c8; }
.adminbar__state { color: #ffd23f; }
.adminbar__me { margin-left: auto; color: #fff; }
.adminbar form { margin: 0; }
.adminbar button { background: none; border: 0; color: #c3c4c7; font: inherit; cursor: pointer; padding: 10px 0; }
.adminbar button:hover { color: #72d8c8; }
@media (max-width: 640px) {
  .adminbar__links li:nth-child(n+4), .adminbar__me, .adminbar__state { display: none; }
}

/* Calendario conectado a la plataforma: test gratuito y ventana del test */
.cal__day.is-free { box-shadow: inset 0 0 0 2px #ffd23f; }
.cal__today--free { background: linear-gradient(135deg, #014a40, #01917c); }
.cal__today--free .cal__tag { color: #ffd23f; }
.cal__go--btn { border: 0; cursor: pointer; text-decoration: none; display: inline-block; font: inherit; font-weight: 600; font-size: .9375rem; padding: 12px 20px; transition: background-color .2s, color .2s; }
.cal__go--btn:hover, .cal__go--btn:focus-visible { background: #ffd23f; color: #1a1400; }
.testmodal { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; overflow: hidden; background: #fff; }
.testmodal[open] { display: block; }
.testmodal::backdrop { background: #fff; }
.testmodal__bar { position: absolute; top: 10px; right: 12px; z-index: 2; }
.testmodal__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.testmodal__close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(15, 23, 42, .08); color: #1f2937; font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.08); transition: background-color .2s; }
.testmodal__close:hover, .testmodal__close:focus-visible { background: rgba(15, 23, 42, .16); }
.testmodal__frame { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
