:root{color-scheme:light;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
html{scroll-padding-top:env(safe-area-inset-top,0px)}
body{margin:0;padding:0;font:14px -apple-system,BlinkMacSystemFont,sans-serif;background:#faf9f5;color:#141413}
img{max-width:100%}
[hidden]:not([hidden=until-found i]){display:none!important}

:root {
  --page-bg: #eee7d8;
  --page-fg: #3d372c;
  --card-shadow: 0 30px 60px -20px rgba(14,19,61,0.35), 0 8px 20px -8px rgba(14,19,61,0.2);

  --navy: #0e133d;
  --navy-deep: #090c28;
  --dorado: #e48d25;
  --dorado-deep: #a95f0c;
  --cream: #fbf5e8;
  --cream-2: #f3ead6;
  --paper: #fffdf8;
  --ink: #23201a;
  --ink-soft: #5b5346;
  --rule: rgba(14,19,61,0.14);
  --rule-soft: rgba(14,19,61,0.08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --page-bg: #0b0d1c; --page-fg: #d9d4c4; }
}
:root[data-theme="dark"] { --page-bg: #0b0d1c; --page-fg: #d9d4c4; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  background: var(--page-bg);
  color: var(--page-fg);
  font-family: "Public Sans", ui-sans-serif, system-ui, sans-serif;
  padding-inline: 16px;
  padding-block: 32px 48px;
  display: flex;
  justify-content: center;
}
.stage { width: 100%; max-width: 620px; }

/* The poster keeps a fixed brand look in any theme */
.poster {
  width: 100%;
  background: var(--cream);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  color: var(--ink);
}

/* ---------- header (unchanged identity) ---------- */
.header {
  background: var(--navy);
  background-image: radial-gradient(circle at 14% -10%, rgba(228,141,37,0.18), transparent 55%);
  padding: 28px 24px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 4px solid var(--dorado);
}
.header svg.crest { width: 52px; height: auto; flex-shrink: 0; }
.header .titles { display: flex; flex-direction: column; gap: 3px; }
.school-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: 17px; line-height: 1.15;
  color: #fbf5e8; text-wrap: balance;
}
.slogan {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic; font-weight: 500; font-size: 14px;
  color: var(--dorado);
}

/* ---------- intro ---------- */
.intro {
  padding: 34px 24px 8px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 14px;
}
.eyebrow {
  margin: 0;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dorado-deep);
}
.intro h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: clamp(27px, 7.2vw, 34px);
  line-height: 1.1;
  color: var(--navy);
  text-wrap: balance;
  max-width: 17ch;
}
.intro .lede {
  margin: 0;
  font-size: 15.5px; line-height: 1.55;
  color: var(--ink-soft);
  max-width: 40ch;
  text-wrap: pretty;
}

.facts {
  list-style: none; margin: 6px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 18px;
}
.facts li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--navy);
  white-space: nowrap;
}
.facts svg { width: 17px; height: 17px; color: var(--dorado-deep); flex-shrink: 0; }

/* trial line — minimal */
.trial {
  margin: 22px 24px 0;
  padding: 14px 4px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex; gap: 10px; align-items: center; justify-content: center;
  text-align: center;
  font-size: 15px; line-height: 1.45; color: var(--ink-soft);
}
.trial svg { width: 18px; height: 18px; color: var(--dorado-deep); flex-shrink: 0; }
.trial strong { color: var(--navy); font-weight: 700; }

.list-label {
  margin: 30px 24px 12px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- activity cards ---------- */
.activities {
  list-style: none; margin: 0; padding: 0 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--dorado);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.card.open {
  border-color: rgba(228,141,37,0.55);
  border-top-color: var(--dorado);
  box-shadow: 0 6px 18px -10px rgba(14,19,61,0.25);
}

.summary { padding: 18px 18px 14px; display: flex; gap: 14px; align-items: flex-start; }
.sum-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.summary .icon { width: 40px; height: 40px; color: var(--navy); flex-shrink: 0; margin-top: 2px; }
.summary .icon svg { width: 100%; height: 100%; }
.title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.summary h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: 21px; line-height: 1.2;
  color: var(--navy);
}
.price {
  font-size: 13.5px; font-weight: 700; color: var(--navy);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.price small { font-weight: 500; color: var(--ink-soft); font-size: 12px; }
.short { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink); }
.benefits {
  margin: 2px 0 0;
  font-size: 13px; font-weight: 700; letter-spacing: 0.01em;
  color: var(--dorado-deep);
}
.meta {
  margin: 4px 0 0;
  font-size: 13.5px; line-height: 1.45; color: var(--ink-soft);
}
.meta b { color: var(--navy); font-weight: 600; }
.distinction {
  margin: 6px 0 0;
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  font-size: 12.5px; font-weight: 600; color: var(--navy);
  background: var(--cream-2);
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  line-height: 1.3;
}
.distinction svg { width: 14px; height: 14px; color: var(--dorado-deep); flex-shrink: 0; }
svg.flag { width: 15px; height: 10.5px; color: initial; vertical-align: -1px; border-radius: 2px; margin: 0 1px; flex-shrink: 0; }

.toggle {
  width: 100%;
  min-height: 48px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: none;
  border: none;
  border-top: 1px solid var(--rule-soft);
  font: inherit; font-size: 14px; font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  padding: 0 16px;
}
.toggle:hover { background: var(--cream); }
.toggle .chev { width: 12px; height: 12px; color: var(--dorado-deep); transition: transform .28s ease; }
.card.open .toggle .chev { transform: rotate(180deg); }
.toggle:focus-visible, .btn:focus-visible, .link-btn:focus-visible, .field input:focus-visible, .wa-btn:focus-visible {
  outline: 3px solid var(--dorado);
  outline-offset: 2px;
}

.panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .3s ease, opacity .25s ease;
}
.card.open .panel { grid-template-rows: 1fr; opacity: 1; }
.panel > .panel-clip { overflow: hidden; min-height: 0; }
.panel-inner {
  padding: 6px 22px 24px;
  display: flex; flex-direction: column; gap: 20px;
}
.hook {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic; font-weight: 600;
  font-size: 21px; line-height: 1.25;
  color: var(--navy);
  text-wrap: balance;
}
.hook + .story { margin-top: -10px; }
.story { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink); max-width: 60ch; }

.block h3 {
  margin: 0 0 7px;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--navy);
}
.block p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.checks li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px; line-height: 1.45; color: var(--ink);
}
.checks svg { width: 16px; height: 16px; color: var(--dorado-deep); flex-shrink: 0; margin-top: 2px; }

.beyond {
  border-left: 2px solid var(--dorado);
  padding: 2px 0 2px 14px;
}
.beyond p { font-size: 14px; }
.facts-list { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.facts-list dt { font-size: 14px; font-weight: 700; color: var(--navy); }
.facts-list dd { margin: 2px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }

.trial-date {
  display: flex; gap: 10px; align-items: center;
  background: var(--cream-2);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px; line-height: 1.45; color: var(--navy);
}
.trial-date svg { width: 20px; height: 20px; color: var(--dorado-deep); flex-shrink: 0; }

.btn {
  width: 100%;
  min-height: 50px;
  border: none; border-radius: 12px;
  background: var(--navy); color: #fbf5e8;
  font: inherit; font-size: 15.5px; font-weight: 700;
  cursor: pointer;
  padding: 0 18px;
  transition: background .2s ease;
}
.btn:hover { background: #1b2260; }
.btn:disabled { opacity: .6; cursor: default; }
.btn .accent { color: var(--dorado); }

/* interest form */
.lead { display: flex; flex-direction: column; gap: 14px; }
.lead-head strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: 19px; line-height: 1.25; color: var(--navy);
}
.lead-head p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 13px; font-weight: 700; color: var(--navy); }
.field label span { font-weight: 500; color: var(--ink-soft); }
.field input {
  font: inherit; font-size: 16px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--rule);
  background: var(--cream);
  color: var(--ink);
}
.field input::placeholder { color: var(--ink-soft); opacity: .65; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.link-btn {
  align-self: center;
  background: none; border: none;
  font: inherit; font-size: 13.5px; font-weight: 600;
  color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
  min-height: 44px; padding: 0 12px;
}

.confirm {
  background: var(--cream-2);
  border-radius: 14px;
  padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14.5px; line-height: 1.55; color: var(--navy);
}
.confirm strong.t {
  font-family: "Fraunces", Georgia, serif;
  font-size: 19px; font-weight: 600; line-height: 1.25;
}
.confirm p { margin: 0; }
.wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px;
  border-radius: 12px;
  background: var(--navy); color: #fbf5e8;
  font-size: 15.5px; font-weight: 700;
  text-decoration: none;
  padding: 0 18px;
}
.wa-btn svg { width: 19px; height: 19px; color: var(--dorado); }

/* ---------- closing ---------- */
.closing {
  margin-top: 32px;
  background: var(--navy);
  padding: 32px 24px 34px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.closing .rule { width: 40px; height: 3px; background: var(--dorado); border-radius: 3px; margin-bottom: 6px; }
.closing h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: 23px; line-height: 1.2;
  color: #fbf5e8; text-wrap: balance;
}
.closing .sub { margin: 0; font-size: 15px; line-height: 1.5; color: #c9cbe0; max-width: 34ch; }
.closing .when {
  margin: 10px 0 4px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: #fbf5e8;
  border: 1px dashed rgba(251,245,232,0.3);
  border-radius: 999px;
  padding: 8px 14px;
}
.closing .when svg { width: 16px; height: 16px; color: var(--dorado); }
.closing .when b { color: var(--dorado); }
.contacts { margin-top: 8px; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.contacts .wa-btn { width: 100%; max-width: 320px; background: var(--dorado); color: var(--navy-deep); }
.contacts .wa-btn svg { color: var(--navy-deep); }
.contacts .mail {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: #fbf5e8;
  user-select: all;
}
.contacts .mail svg { width: 16px; height: 16px; color: var(--dorado); }
.contacts .phone { font-size: 13px; color: #c9cbe0; user-select: all; }
.closing .note { margin: 10px 0 0; font-size: 12.5px; color: #9ea2c4; }

@media (min-width: 520px) {
  .summary { padding: 20px 22px 16px; gap: 18px; }
  .summary .icon { width: 44px; height: 44px; }
  .panel-inner { padding: 6px 26px 26px 86px; }
}
@media (prefers-reduced-motion: reduce) {
  .panel, .toggle .chev, .card { transition: none; }
}

/* ---------- pagos (19-oct): atajo arriba y tarjeta al final de la lista ---------- */
/* Franja «estilo recibo» (opción C, 2026-10-20): termina en un corte punteado
   con dos muescas a los lados, como un comprobante recortado. */
.pago-atajo {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 10px 14px;
  padding: 14px 24px 18px;
  background-color: #fbeedb;
  background-image: linear-gradient(90deg, rgba(169,95,12,0.55) 50%, transparent 0);
  background-size: 10px 1.5px; background-repeat: repeat-x; background-position: left 14px bottom 0;
  color: var(--navy); text-decoration: none;
}
.pago-atajo::before, .pago-atajo::after {
  content: ""; position: absolute; bottom: -8px;
  width: 16px; height: 16px; border-radius: 50%; background: var(--cream);
}
.pago-atajo::before { left: -8px; }
.pago-atajo::after { right: -8px; }
.pago-atajo-txt {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700; line-height: 1.3;
}
.pago-atajo-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: #fff8ec; box-shadow: 0 0 0 1px rgba(228,141,37,0.45);
  color: var(--dorado-deep);
}
.pago-atajo-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px;
  border-radius: 12px;
  background: var(--dorado); color: var(--navy-deep);
  font-size: 15px; font-weight: 700; white-space: nowrap;
}
.pago-atajo-flecha { width: 16px; height: 16px; margin-left: 8px; transition: transform .2s ease; }
.pago-atajo:hover .pago-atajo-btn { background: #f0a040; }
.pago-atajo:hover .pago-atajo-flecha { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .pago-atajo-flecha { transition: none; } }
@media (max-width: 480px) {
  .pago-atajo { padding: 14px 18px 18px; }
  .pago-atajo-btn { flex: 1 1 100%; }
}
.pago-atajo:focus-visible, .pago-cta-btn:focus-visible { outline: 3px solid var(--dorado); outline-offset: 2px; }

.pago-cta {
  margin: 22px 16px 0;
  padding: 22px 20px 20px;
  background: var(--navy);
  background-image: radial-gradient(circle at 100% 0%, rgba(228,141,37,0.22), transparent 60%);
  border-radius: 16px;
  color: #fbf5e8;
  display: flex; flex-direction: column; gap: 8px;
}
.pago-cta-etq {
  margin: 0;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dorado);
}
.pago-cta h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: 21px; line-height: 1.25;
  text-wrap: balance;
}
.pago-cta p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #c9cbe0; }
.pago-cta-btn {
  margin-top: 8px;
  display: flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 18px;
  border-radius: 12px;
  background: var(--dorado); color: var(--navy-deep);
  font-size: 15.5px; font-weight: 700; text-decoration: none;
}
.pago-cta-btn:hover { background: #f0a040; }
