
:root {
  --blue-950: #06265c;
  --blue-900: #082a63;
  --blue-700: #463fff;
  --blue-650: #5048ff;
  --card: #3e4782;
  --soft: #dceaff;
  --pay: #d8e8ff;
  --green: #91de59;
  --ink: #111725;
  --muted: #414b5c;
  --footer: #062c5a;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
button, input { font: inherit; }
a { color: inherit; }

.container {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}
.narrow { width: min(100% - 40px, 940px); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 12px clamp(22px, 6vw, 86px);
  background: rgba(255,255,255,.97);
  box-shadow: 0 4px 10px rgba(6, 38, 92, .18);
}
.brand img { width: 154px; }
.header-actions { display: flex; gap: 13px; align-items: center; }
.login-link,
.small-cta,
.primary-cta,
.expand-btn {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
}
.login-link {
  padding: 9px 18px;
  color: var(--blue-950);
  background: var(--green);
  font-size: 13px;
}
.small-cta,
.primary-cta {
  color: #fff;
  background: linear-gradient(90deg, #243fff, #7767ff);
  box-shadow: 0 12px 18px rgba(67, 61, 255, .24);
}
.small-cta { padding: 9px 22px; font-size: 13px; }

.hero { padding: 100px 0 58px; text-align: center; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 58px;
  padding: 11px 28px 11px 13px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #243fff, #735fff);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}
.pill span {
  color: var(--green);
  font-size: 32px;
  line-height: 1;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 34px;
  color: var(--blue-700);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
}
.congrats {
  margin: 0 auto 46px;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 700;
}
.congrats strong { color: var(--blue-700); }

.places-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(300px, 1.1fr);
  align-items: center;
  min-height: 154px;
  overflow: hidden;
  border-radius: 13px;
  color: #fff;
  background: #24346e url("assets/css-art-0.png") center / cover no-repeat;
}
.countdown {
  display: flex;
  justify-content: center;
  gap: 23px;
}
.countdown div { text-align: center; }
.countdown strong {
  display: block;
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1;
  letter-spacing: .08em;
}
.countdown span { display: block; margin-top: 8px; font-size: 13px; }
.places-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 24px;
  text-align: center;
}
.places-copy p { margin: 0; }
.admission-title {
  margin: 0;
  color: var(--green);
  font-size: clamp(21px, 2.25vw, 28px);
  font-weight: 700;
  line-height: 1.2;
}
.admission-subtitle {
  color: #fff;
  font-size: clamp(14px, 1.35vw, 16px);
  font-weight: 600;
  line-height: 1.4;
}
.admission-review-note {
  color: rgba(255,255,255,.82);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

.intro { padding: 24px 0 56px; }
.intro p {
  margin-bottom: 28px;
  color: #222a39;
  font-size: 15px;
  font-weight: 500;
}
.intro h2 {
  margin: 38px 0 30px;
  color: var(--blue-700);
  text-align: center;
  font-size: 17px;
  font-weight: 800;
}

.purchase { padding: 18px 0 118px; }
.purchase-grid {
  display: grid;
  grid-template-columns: minmax(310px, 470px) minmax(310px, 470px);
  justify-content: center;
  align-items: start;
  gap: 52px;
}
.benefits-card {
  overflow: hidden;
  border-radius: 13px;
  color: #fff;
  background: var(--card);
}
.benefits-card header {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 13px 42px;
  background: linear-gradient(90deg, #3438ff, #8171d9);
}
.benefits-card header span {
  color: var(--green);
  font-size: 34px;
  line-height: 1;
}
.benefits-card h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
}
.benefits-body { padding: 34px 33px 18px; }
.benefits-body > p {
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 600;
}
.benefit {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 19px;
  margin-bottom: 29px;
}
.checkmark {
  width: 25px;
  margin-top: -1px;
  color: var(--green);
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
}
.benefit h3 {
  margin: 0 0 11px;
  font-size: 14px;
  font-weight: 700;
}
.benefit p,
.benefit li {
  margin: 0 0 6px;
  color: rgba(255,255,255,.94);
  font-size: 13px;
  font-weight: 500;
}
.benefit ul {
  margin: 0;
  padding-left: 18px;
}
.more-benefits {
  transition: opacity .2s ease;
}
.expand-btn {
  display: block;
  width: fit-content;
  min-width: 170px;
  margin: 18px auto 30px;
  padding: 12px 28px;
  border: 1px solid rgba(255,255,255,.62);
  color: #fff;
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  font-size: 17px;
  transition: background .2s ease, transform .2s ease;
}
.expand-btn:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-1px);
}

.payment-card {
  padding: 32px 37px 44px;
  border-radius: 26px;
  background: var(--pay);
}
.coupon-form {
  margin-bottom: 21px;
  padding: 18px 24px 14px;
  border: 2px solid var(--blue-700);
  border-radius: 19px;
}
.coupon-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-950);
  text-align: center;
  font-size: 17px;
  font-weight: 700;
}
.coupon-form div {
  display: flex;
  align-items: center;
  height: 36px;
  padding-left: 17px;
  border: 2px solid #9da9c8;
  border-radius: 999px;
  background: #fff;
}
.coupon-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  font-size: 17px;
}
.coupon-form button {
  width: 42px;
  height: 32px;
  border: 0;
  color: var(--blue-700);
  background: transparent;
  cursor: pointer;
  font-size: 38px;
  font-weight: 800;
  line-height: .7;
}
.coupon-message {
  min-height: 18px;
  margin: 8px 0 0;
  color: var(--blue-700);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}
.coupon-message.error {
  color: #b71c36;
}
.price-lines {
  display: grid;
  gap: 12px;
  margin: 0 0 39px;
}
.price-lines div {
  display: flex;
  justify-content: space-between;
  gap: 22px;
}

.price-lines .discount-line[hidden] {
  display: none;
}
.price-lines dt,
.price-lines dd {
  margin: 0;
  color: #101827;
  font-size: 17px;
  font-weight: 600;
}
.price-lines dd { font-weight: 800; }
.final-price {
  display: grid;
  grid-template-columns: auto 1fr 58px;
  gap: 20px;
  align-items: center;
  margin-bottom: 45px;
}
.final-price span { font-size: 22px; }
.final-price strong {
  font-size: clamp(42px, 5vw, 58px);
  line-height: 1;
  font-weight: 400;
}
.final-price button {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-700);
  cursor: pointer;
  font-size: 42px;
  line-height: 1;
}
.pay-options {
  display: grid;
  gap: 22px;
}
.pay-options article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 22px;
  align-items: center;
}
.pay-options img { width: 46px; }
.pay-options p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.trust { padding: 0 0 98px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  text-align: center;
}
.trust img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 25px;
}
.trust article:nth-child(3) img { width: 96px; }
.trust p {
  margin: 0;
  color: #1b2230;
  font-size: 17px;
  line-height: 1.28;
  font-weight: 500;
}

.site-footer {
  padding: 50px 0 28px;
  color: #dceaff;
  background: var(--footer);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 42px;
}
.footer-brand > img:first-child { width: 220px; }
.redes { width: 150px; margin: 22px 0 20px; }
.site-footer h3 { margin: 0 0 17px; color: #fff; font-size: 15px; font-weight: 700; }
.site-footer a,
.site-footer p,
.footer-bottom span {
  display: block;
  color: #dceaff;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
}
.site-footer a + a { margin-top: 11px; }
.footer-disclaimer { margin-top: 30px; text-align: center; font-style: italic; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 54px;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(220, 234, 255, .32);
}
.footer-bottom a,
.footer-bottom span { font-size: 12px; }

.compact-footer {
  padding: 28px 0 20px;
}

.compact-footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(560px, 1fr);
  gap: clamp(34px, 7vw, 100px);
  align-items: start;
}

.compact-footer .footer-brand > img:first-child {
  width: 212px;
  margin-bottom: 13px;
}

.compact-footer .footer-brand p {
  margin: 0 0 9px;
  line-height: 1.34;
}

.compact-footer .redes {
  width: 128px;
  margin: 0 0 14px;
}

.footer-side {
  padding-top: 10px;
}

.footer-risk {
  max-width: 760px;
  margin: 0 0 18px auto;
  color: #dceaff;
  text-align: center;
  font-size: 13px;
  font-style: italic;
  line-height: 1.45;
}

.footer-legal {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid rgba(220, 234, 255, .32);
  white-space: nowrap;
}

.footer-copyright-inline {
  display: block;
  margin-top: 44px;
  color: #dceaff;
  text-align: center;
  font-size: 12px;
}

.footer-legal a {
  display: inline-block;
  margin: 0;
  color: #dceaff;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 900px) {
  .places-banner,
  .purchase-grid { grid-template-columns: 1fr; }
  .places-copy { padding: 22px 18px; }
  .countdown { padding: 26px 20px 6px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compact-footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .compact-footer .footer-brand > img:first-child {
    margin-inline: auto;
  }
  .compact-footer .redes {
    margin-inline: auto;
  }
  .footer-side {
    padding-top: 4px;
  }
  .footer-risk {
    margin-inline: auto;
  }
  .footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-copyright-inline {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 64px; padding-inline: 18px; }
  .brand img { width: 128px; }
  .login-link { display: none; }
  .hero { padding-top: 60px; }
  .pill { margin-bottom: 38px; font-size: 16px; }
  .countdown { gap: 14px; }
  .places-copy { font-size: 20px; }
  .purchase { padding-bottom: 80px; }
  .payment-card { padding: 26px 20px 34px; }
  .final-price { grid-template-columns: 1fr auto; }
  .final-price span { grid-column: 1 / -1; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Matrícula: la estructura del original, en modo revisión sin checkout. */
.places-banner { grid-template-columns: 1fr; }
.places-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  text-align: center;
}
.intro h2 { max-width: 740px; }
.purchase { scroll-margin-top: 90px; }
.payment-card {
  align-self: start;
  padding: clamp(24px, 3vw, 38px);
}
.payment-kicker {
  margin: 0 0 17px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status-message {
  padding: 18px;
  border: 1px solid #d5e2f7;
  border-radius: 12px;
  color: #40506c;
  background: #f2f7ff;
  font-size: 14px;
  font-weight: 600;
}
.status-message.is-error {
  border-color: #e7c5c8;
  color: #7a2934;
  background: #fff4f4;
}
.status-message #status-retry {
  display: block;
  margin-top: 12px;
  padding: 8px 14px;
  border: 1px solid #9d3b48;
  border-radius: 999px;
  color: #7a2934;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.status-message #status-retry[hidden] { display: none; }
.price-lines { margin: 0 0 20px; }
.price-lines div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #d9e4f3;
}
.price-lines span { color: #41506a; font-size: 14px; }
.price-lines strong { color: var(--blue-950); white-space: nowrap; }
.plan-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin: 0 0 18px; }
.plan-choice {
  min-height: 79px;
  padding: 12px 14px;
  border: 1.5px solid #cbd8ef;
  border-radius: 13px;
  color: var(--blue-950);
  background: #f8faff;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}
.plan-choice:hover { transform: translateY(-2px); }
.plan-choice.is-selected {
  border-color: var(--blue-700);
  background: #edf2ff;
  box-shadow: inset 0 0 0 1px var(--blue-700);
}
.plan-choice span,
.plan-choice small { display: block; }
.plan-choice span { font-size: 15px; font-weight: 800; }
.plan-choice small { margin-top: 4px; color: #53627d; font-size: 11px; line-height: 1.35; }
.promotion-panel {
  margin: 0 0 14px;
  padding: 17px 18px;
  border: 1px solid #d0d8ff;
  border-radius: 13px;
  color: #283765;
  background: linear-gradient(110deg, #f1f3ff, #eaf4ff);
  font-size: 13px;
}
.promotion-panel p { margin: 0; }
.promotion-panel p + p { margin-top: 8px; }
.promotion-panel .promotion-label {
  margin-bottom: 5px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.promotion-panel .promotion-disclaimer { color: #586584; font-size: 11px; }
.review-toggle {
  display: block;
  width: 100%;
  margin: 0 0 19px;
  padding: 12px 15px;
  border: 1px solid #7b82ef;
  border-radius: 999px;
  color: var(--blue-700);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.review-toggle:hover { transform: translateY(-1px); background: #f4f4ff; }
.quote-summary {
  padding: 10px 17px;
  border-radius: 13px;
  color: #17233d;
  background: #f0f5ff;
}
.quote-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #d8e2f2;
  font-size: 13px;
}
.quote-line span { color: #45536b; }
.quote-line strong { text-align: right; }
.quote-total { border: 0; font-size: 16px; font-weight: 800; }
.quote-total span { color: var(--blue-950); }
.quote-discount { margin: 0; padding: 0 0 12px; color: #3b4e81; font-size: 11px; line-height: 1.5; }
.installment-note {
  margin: 14px 0 18px;
  color: #4d5b72;
  font-size: 11px;
  line-height: 1.55;
}
.payment-submit {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #8390b4;
  font-size: 15px;
  font-weight: 800;
  cursor: not-allowed;
  opacity: .76;
}
.disabled-note {
  margin: 12px 0 0;
  color: #515f75;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
}
.trust-grid { align-items: start; }
.trust-grid article { min-width: 0; }
.trust-grid img { object-fit: contain; }
[hidden] { display: none !important; }

/* Pie compartido de Recursos y diálogos legales (adaptación de trader/styles.css). */
.site-footer {
  padding: 28px 0 20px;
  color: #dceaff;
  background: #002b5c;
  font-size: 13px;
}
.compact-footer-grid {
  display: grid;
  grid-template-columns: minmax(250px,330px) minmax(0,1fr);
  gap: clamp(34px,7vw,100px);
  align-items: start;
}
.compact-footer .footer-brand > img:first-child {
  width: 304px;
  max-width: 100%;
  margin-bottom: 13px;
}
.compact-footer .footer-brand p { margin: 0 0 9px; line-height: 1.34; font-size: 13px; }
.original-socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; align-items: center; }
.site-footer .original-socials > a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 50%;
  flex: none;
  transition: transform .18s ease;
}
.site-footer .original-socials > a:hover { transform: translateY(-2px); }
.original-socials img, .original-socials svg {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex: none;
}
.footer-side { padding-top: 10px; }
.footer-risk {
  max-width: 760px;
  margin: 0 0 18px auto;
  color: #dceaff;
  text-align: center;
  font-size: 13px;
  font-style: italic;
  line-height: 1.45;
}
.footer-legal {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid rgba(220,234,255,.32);
}
.footer-legal a {
  display: inline-block;
  margin: 0;
  color: #dceaff;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
.footer-legal a:hover { text-decoration: underline; }
.footer-copyright-inline {
  display: block;
  margin-top: 32px;
  color: #dceaff;
  text-align: center;
  font-size: 12px;
}
.review-dialog {
  position: fixed;
  inset: 50% auto auto 50%;
  width: min(760px,calc(100vw - 32px));
  max-width: 760px;
  max-height: min(82dvh,760px);
  margin: 0;
  padding: clamp(24px,5vw,42px);
  overflow: auto;
  transform: translate(-50%,-50%);
  border: 1px solid #d4deef;
  border-radius: 18px;
  color: #18243a;
  background: #fdfefe;
  box-shadow: 0 32px 80px rgba(0,17,49,.28);
}
.review-dialog[open] { display: block; }
.review-dialog::backdrop { background: rgba(4,12,35,.66); backdrop-filter: blur(3px); }
.review-dialog h2 { margin: 0 44px 18px 0; color: var(--blue-950); font-size: clamp(23px,4vw,31px); line-height: 1.2; }
.review-dialog .dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.review-dialog .dialog-head h2 { margin: 0; min-width: 0; }
.review-dialog .dialog-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--blue-950);
  background: #eef3ff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.review-dialog h3 { margin: 24px 0 8px; color: var(--blue-950); font-size: 17px; }
.review-dialog p, .review-dialog li { color: #354158; font-size: 14px; line-height: 1.65; }
.review-dialog p:last-child { margin-bottom: 0; }
.review-dialog ul, .review-dialog ol { padding-left: 22px; }
.review-dialog .review-note {
  margin: 0 0 22px;
  padding: 12px 15px;
  border-left: 3px solid #b17618;
  border-radius: 0 8px 8px 0;
  color: #68450d;
  background: #fff5dc;
  font-size: 13px;
  font-weight: 600;
}
.review-dialog .landing-privacy-summary {
  margin: 20px 0;
  padding: 16px 18px;
  border-radius: 10px;
  color: #263b5b;
  background: #edf4fc;
  font-size: 13px;
  line-height: 1.6;
}
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #16a7ba; outline-offset: 3px; }

@media (max-width: 900px) {
  .compact-footer-grid { grid-template-columns: 1fr; text-align: center; }
  .compact-footer .footer-brand > img:first-child, .original-socials { margin-inline: auto; }
  .original-socials { justify-content: center; }
  .footer-side { padding-top: 4px; }
  .footer-risk { margin-inline: auto; }
  .footer-legal { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 24px; row-gap: 18px; justify-items: center; }
  .footer-legal a { text-align: center; }
}
@media (max-width: 640px) {
  .places-copy { padding: 22px 16px; }
  .plan-choices { gap: 8px; }
  .plan-choice { padding: 11px 10px; }
  .quote-line { gap: 9px; font-size: 12px; }
  .quote-line strong { max-width: 58%; }
  .review-dialog { max-height: calc(100dvh - 32px); padding: 28px 22px 24px; }
  .footer-legal { gap: 13px 20px; }
}
@media (max-width: 360px) {
  .plan-choices { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


