/* =========================================================
   offer.css — "Boletín IA" offer design family
   Used by: program/index.html + all legal/contact pages
   Primary reference: centered narrative offer page, teal
   accent, rounded coral CTA pills, calculator card, tile grid.
   Accent borrow: CTA button + button-row treatment.
   ========================================================= */

:root {
  --offer-teal: #12a396;
  --offer-teal-dark: #0b7b71;
  --offer-teal-tint: #e6f7f5;
  --offer-coral: #f0603f;
  --offer-coral-dark: #d24b2d;
  --offer-ink: #172524;
  --offer-ink-soft: #526361;
  --offer-bg: #ffffff;
  --offer-bg-alt: #f4f8f7;
  --offer-line: #dde8e6;
  --offer-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.offer {
  background: var(--offer-bg);
  color: var(--offer-ink);
  font-family: var(--offer-font);
  line-height: 1.6;
}

/* ---------- header ---------- */
.offer-header {
  border-bottom: 1px solid var(--offer-line);
  padding: 14px 0;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(4px);
  z-index: 50;
}
.offer-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.offer-header__logo {
  font-size: 21px;
  font-weight: 800;
  color: var(--offer-teal-dark);
  text-decoration: none;
  letter-spacing: -.01em;
}
.offer-header__actions { display: flex; align-items: center; gap: 10px; }
.offer-header__nav {
  display: none;
  gap: 18px;
  list-style: none;
}
.offer-header__nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--offer-ink-soft);
}
.offer-header__nav a:hover { color: var(--offer-teal-dark); }
@media (min-width: 768px) {
  .offer-header__nav { display: flex; }
}
.offer-nav-toggle { color: var(--offer-teal-dark); }
@media (min-width: 768px) { .offer-nav-toggle { display: none; } }

.offer-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px 18px;
  border-bottom: 1px solid var(--offer-line);
  background: #fff;
}
.offer-mobile-nav.is-open { display: flex; }
.offer-mobile-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--offer-ink);
  padding: 12px 6px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--offer-line);
}
@media (min-width: 768px) { .offer-mobile-nav { display: none !important; } }

.btn--coral { background: var(--offer-coral); color: #fff; }
.btn--coral:hover { background: var(--offer-coral-dark); }
.btn--teal { background: var(--offer-teal); color: #fff; }
.btn--teal:hover { background: var(--offer-teal-dark); }
.btn--outline {
  background: transparent;
  border: 1.5px solid var(--offer-teal);
  color: var(--offer-teal-dark);
}
.btn--outline:hover { background: var(--offer-teal-tint); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }

/* ---------- byline ---------- */
.offer-byline {
  text-align: center;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--offer-ink-soft);
}
.offer-byline strong { color: var(--offer-ink); }

/* ---------- hero ---------- */
.offer-hero {
  text-align: center;
  padding-top: 18px;
}
.offer-hero h1 {
  font-size: clamp(26px, 5.6vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--offer-teal-dark);
  text-transform: uppercase;
  letter-spacing: -.005em;
  max-width: 20ch;
  margin-inline: auto;
}
.offer-hero__subhead {
  margin: 16px auto 0;
  max-width: 62ch;
  font-size: clamp(16px, 2.4vw, 19px);
  color: var(--offer-ink-soft);
}
.offer-hero__cta { margin-top: 22px; }

/* ---------- hero figure ---------- */
.offer-figure { margin-top: 28px; }
.offer-figure img { width: 100%; border-radius: 18px; }

/* ---------- generic section rhythm ---------- */
.offer-section { padding-block: 44px; }
.offer-section--alt { background: var(--offer-bg-alt); }
.offer-section h2 {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
  color: var(--offer-ink);
  text-align: center;
  max-width: 32ch;
  margin-inline: auto;
}
.offer-section h2.is-teal { color: var(--offer-teal-dark); }
.offer-section h2.h2--left { text-align: left; margin-inline: 0; max-width: none; }
.offer-section > .container > p.offer-lede {
  text-align: center;
  max-width: 62ch;
  margin: 14px auto 0;
  color: var(--offer-ink-soft);
}
.offer-prose { max-width: 68ch; margin-inline: auto; }
.offer-prose > * + * { margin-top: 16px; }

/* ---------- rate box re-skin ---------- */
.offer-section .rate-box {
  color: var(--offer-teal-dark);
  background: #fff;
}
.offer-section .rate-box__label { background: var(--offer-teal); color: #fff; }
.offer-section .rate-box strong { color: var(--offer-ink); }
.offer-leverage h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--offer-teal-dark);
  margin-bottom: 10px;
}
.offer-leverage {
  background: var(--offer-teal-tint);
  border-radius: 14px;
  padding: 22px;
}
.offer-leverage p + p { margin-top: 12px; }

/* ---------- calculator card ---------- */
.calc-card {
  max-width: 560px;
  margin: 28px auto 0;
  background: #fff;
  border: 1px solid var(--offer-line);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 18px 40px rgba(15, 60, 55, .08);
  text-align: center;
}
.calc-card h3 { font-size: 17px; font-weight: 800; }
.calc-card__result {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 800;
  color: var(--offer-teal-dark);
  margin: 14px 0 4px;
}
.calc-card select {
  width: 100%;
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--offer-line);
  font-size: 16px;
  min-height: 48px;
  background: #fff;
}
.calc-card__note { font-size: 12.5px; color: var(--offer-ink-soft); margin-top: 10px; }

/* ---------- why list ---------- */
.why-list {
  list-style: none;
  display: grid;
  gap: 16px;
  max-width: 640px;
  margin: 26px auto 0;
}
.why-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--offer-line);
  border-radius: 12px;
  padding: 16px 18px;
}
.why-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--offer-teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

/* ---------- tile grid (curriculum) ---------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}
@media (min-width: 640px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .tile-grid { grid-template-columns: repeat(5, 1fr); } }
.tile {
  background: var(--offer-teal);
  color: #fff;
  border-radius: 12px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 108px;
  justify-content: flex-end;
}
.tile:nth-child(5n+2) { background: var(--offer-teal-dark); }
.tile:nth-child(5n+3) { background: #0e8e83; }
.tile:nth-child(5n+4) { background: #158e83; }
.tile:nth-child(5n+5) { background: #0a6a61; }
.tile__num { font-size: 13px; opacity: .85; font-weight: 700; }
.tile__label { font-size: 14.5px; font-weight: 700; line-height: 1.25; }

/* ---------- media (offer supporting image / video) ---------- */
.offer-media-split {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
@media (min-width: 768px) {
  .offer-media-split { flex-direction: row; }
  .offer-media-split > * { flex: 1 1 0; min-width: 0; }
}
.offer-media-split img { border-radius: 16px; width: 100%; }

/* ---------- steps ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 18px;
  max-width: 680px;
  margin: 28px auto 0;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--offer-line);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
}
.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--offer-coral);
  color: #fff;
  font-weight: 800;
  margin: 0 auto 12px;
}
.steps h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.steps p { font-size: 14.5px; color: var(--offer-ink-soft); }

/* ---------- perk stack ---------- */
.perk-stack {
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 640px;
  margin: 26px auto 0;
}
.perk-stack li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--offer-teal-tint);
  font-weight: 600;
  font-size: 15px;
}
.perk-stack li::before {
  content: "★";
  color: var(--offer-teal-dark);
  flex-shrink: 0;
}

/* ---------- pricing ---------- */
.pricing { margin-top: 30px; }
.pricing__spotlight {
  background: var(--offer-ink);
  color: #fff;
  border-radius: 22px;
  padding: 30px 26px;
  max-width: 560px;
  margin: 0 auto 24px;
  position: relative;
  box-shadow: 0 24px 50px rgba(10,40,36,.25);
}
.pricing__spotlight-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--offer-coral);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing__spotlight h3 { font-size: 22px; font-weight: 800; text-align: center; margin-top: 6px; }
.pricing__spotlight .price { font-size: clamp(30px, 6vw, 40px); font-weight: 800; text-align: center; margin: 8px 0 4px; color: #7fe3d6; }
.pricing__spotlight .hours { text-align: center; font-size: 14px; opacity: .85; margin-bottom: 16px; }
.pricing__spotlight ul { list-style: none; display: grid; gap: 10px; }
.pricing__spotlight ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.pricing__spotlight ul li::before { content: "✓"; color: #7fe3d6; font-weight: 800; flex-shrink: 0; }
.pricing__spotlight .btn { margin-top: 20px; width: 100%; }

.pricing__others {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 640px) { .pricing__others { grid-template-columns: repeat(2, 1fr); } }
.pricing__card {
  border: 1px solid var(--offer-line);
  border-radius: 16px;
  padding: 20px;
  background: #fff;
}
.pricing__card h4 { font-size: 16px; font-weight: 800; }
.pricing__card .price { font-size: 22px; font-weight: 800; color: var(--offer-teal-dark); margin: 6px 0; }
.pricing__card .hours { font-size: 13px; color: var(--offer-ink-soft); margin-bottom: 10px; }
.pricing__card ul { list-style: none; display: grid; gap: 6px; font-size: 13.5px; }
.pricing__card ul li { padding-left: 16px; position: relative; }
.pricing__card ul li::before { content: "–"; position: absolute; left: 0; }

.addon-list {
  margin-top: 28px;
  max-width: 880px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}
@media (min-width: 640px) { .addon-list { grid-template-columns: repeat(2, 1fr); } }
.addon-list__item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  border: 1px dashed var(--offer-line);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--offer-bg-alt);
}
.addon-list__item strong { display: block; font-size: 14.5px; }
.addon-list__item span.what { display: block; font-size: 13px; color: var(--offer-ink-soft); margin-top: 4px; }
.addon-list__item .addon-price { font-weight: 800; color: var(--offer-teal-dark); white-space: nowrap; }

/* ---------- limits block ---------- */
.limits-block {
  border: 2px solid var(--offer-ink);
  border-radius: 16px;
  padding: 24px;
  max-width: 720px;
  margin-inline: auto;
}
.limits-block ul { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.limits-block li { padding-left: 20px; position: relative; font-size: 15px; }
.limits-block li::before { content: "•"; position: absolute; left: 0; color: var(--offer-coral); font-weight: 800; }

/* ---------- lead form section ---------- */
.lead-section { background: var(--offer-bg-alt); }
.lead-card {
  max-width: 620px;
  margin: 28px auto 0;
  background: #fff;
  border-radius: 18px;
  padding: 26px 22px;
  border: 1px solid var(--offer-line);
}
.lead-card__row { display: grid; gap: 16px; }
@media (min-width: 560px) {
  .lead-card__row--2 { grid-template-columns: 1fr 1fr; }
}
.form-success { background: var(--offer-teal-tint); color: var(--offer-teal-dark); }

/* ---------- disclaimer + footer re-skin ---------- */
body.offer .site-disclaimer {
  background: var(--offer-bg-alt);
  border-radius: 14px;
  margin-inline: 16px;
  color: var(--offer-ink-soft);
}
@media (min-width: 768px) { body.offer .site-disclaimer { margin-inline: auto; } }
body.offer .site-disclaimer a { color: var(--offer-teal-dark); }
body.offer .site-footer {
  background: var(--offer-teal-dark);
  color: #e3f6f3;
}
body.offer .site-footer__links a { color: #d3f0eb; }
body.offer .site-footer__links a:hover { color: #fff; }

/* ---------- legal pages ---------- */
.legal-hero {
  padding-top: 34px;
  text-align: left;
}
.legal-hero h1 {
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 800;
  color: var(--offer-teal-dark);
  text-transform: none;
}
.legal-hero p { margin-top: 10px; color: var(--offer-ink-soft); }
.legal-body {
  padding-block: 26px 46px;
  max-width: 760px;
}
.legal-body h2 {
  font-size: 20px;
  font-weight: 800;
  margin-top: 30px;
}
.legal-body p, .legal-body li { color: var(--offer-ink); font-size: 15.5px; }
.legal-body ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin-top: 10px; }
.legal-body a { color: var(--offer-teal-dark); font-weight: 600; }
.legal-body > * + * { margin-top: 14px; }

.contact-cards {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
.contact-cards__item {
  border: 1px solid var(--offer-line);
  border-radius: 14px;
  padding: 18px;
  background: var(--offer-bg-alt);
}
.contact-cards__item h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.contact-cards__item a, .contact-cards__item p { font-size: 15px; color: var(--offer-ink); }
