:root {
  --bg: #f7f6f2;
  --paper: #fffdf9;
  --ink: #1b252b;
  --muted: #66757c;
  --line: #d8d8d0;
  --navy: #143547;
  --teal: #1c7067;
  --sand: #ebe1cf;
  --amber: #be7a2c;
  --rose: #a4534d;
  --shadow: 0 14px 36px rgba(20, 32, 40, 0.08);
  --radius: 18px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(20, 53, 71, 0.06), transparent 16%),
    linear-gradient(180deg, #f7f6f2 0%, #f5f2ec 100%);
  line-height: 1.65;
}
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }

.ticker {
  background: var(--navy);
  color: #eef5f8;
  font-size: .93rem;
}
.ticker .container,
.bulletin .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 10px 0;
}
.bulletin {
  background: var(--navy);
  color: #eef5f8;
  font-size: .93rem;
}

.site-header {
  background: rgba(255, 253, 249, 0.95);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
}
.site-header .container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
}
.brand {
  display: inline-grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  color: var(--ink);
}
.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: white;
  display: grid;
  place-items: center;
  font: 700 1.28rem Georgia, serif;
  box-shadow: var(--shadow);
}
.brand-tile {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: white;
  display: grid;
  place-items: center;
  font: 700 1.28rem Georgia, serif;
  box-shadow: var(--shadow);
}
.brand-copy strong,
.brand-copy span { display: block; }
.brand-copy strong { font: 700 1.16rem Georgia, serif; }
.brand-copy span { color: var(--muted); font-size: .92rem; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}
.site-nav a {
  font-weight: 700;
  color: var(--ink);
}

.page-shell {
  padding: 34px 0 28px;
}
.hero,
.section {
  padding: 34px 0 28px;
}
.section.band {
  background: rgba(235, 225, 207, 0.45);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.news-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.left-rail {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
}
.rail-box,
.hero-feature,
.hero-stage,
.hero-note,
.story-block,
.compare-table,
.operator-sheet,
.review-card,
.faq-item,
.faq-card,
.legal-panel,
.legal-card,
.contact-panel,
.contact-card,
.resource-card,
.flow-card,
.reg-card,
.notice,
.age-modal {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.rail-box,
.hero-note,
.story-block,
.operator-sheet,
.review-card,
.faq-item,
.faq-card,
.legal-panel,
.legal-card,
.contact-panel,
.contact-card,
.resource-card,
.flow-card,
.reg-card,
.notice,
.age-modal {
  padding: 22px;
}
.hero-stage {
  padding: 28px;
  background:
    linear-gradient(125deg, rgba(28,112,103,0.10) 0%, rgba(190,122,44,0.08) 100%),
    var(--paper);
}
.compare-table { padding: 12px; overflow-x: auto; }
.hero-feature {
  padding: 28px;
  background:
    linear-gradient(125deg, rgba(28,112,103,0.10) 0%, rgba(190,122,44,0.08) 100%),
    var(--paper);
}

.breadcrumbs {
  color: var(--muted);
  font-size: .94rem;
  margin-bottom: 10px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #e2efee;
  color: var(--teal);
  font-weight: 800;
  margin-bottom: 16px;
}
h1, h2, h3 {
  margin: 0 0 14px;
  line-height: 1.08;
  font-family: Georgia, "Times New Roman", serif;
}
h1 { font-size: clamp(2.35rem, 5vw, 4.3rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 15px; }
.lead { color: var(--muted); font-size: 1.08rem; }

.section-stack {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: white;
}
.btn:hover { text-decoration: none; }
.btn.alt {
  background: transparent;
  color: var(--ink);
  border-color: rgba(20,53,71,0.20);
}

.signal-list,
.plain-list {
  margin: 0;
  padding-left: 20px;
}
.signal-list li,
.plain-list li { margin-bottom: 8px; }

.mini-stat {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mini-stat:last-child { border-bottom: none; padding-bottom: 0; }
.mini-stat strong { display: block; color: var(--navy); margin-bottom: 4px; }

.ledger {
  display: grid;
  gap: 14px;
}
.ledger-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.ledger-row:last-child { border-bottom: none; padding-bottom: 0; }
.ledger-key { font-weight: 800; color: var(--teal); }

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.resource-grid,
.review-grid,
.faq-grid,
.legal-grid,
.contact-grid,
.flow,
.reg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 18px;
  align-items: start;
}
.split {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.checklist {
  margin: 0;
  padding-left: 20px;
}
.checklist li { margin-bottom: 8px; }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.meta {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--sand);
  color: #7a5325;
  font-size: .9rem;
  font-weight: 800;
}
.review-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 100%;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.review-card::before {
  content: "";
  display: block;
  height: 118px;
  border-radius: calc(var(--radius) - 6px);
  background:
    linear-gradient(135deg, rgba(20, 53, 71, 0.10), rgba(28, 112, 103, 0.08)),
    #f2eee4;
  border: 1px solid rgba(20, 53, 71, 0.08);
}
.review-card .offer-logo {
  position: absolute;
  top: 44px;
  left: 44px;
  width: min(210px, calc(100% - 88px));
  height: 70px;
  object-position: left center;
}
.review-card h3 {
  margin: 0;
  font-size: 1.55rem;
}
.review-card p {
  color: var(--muted);
  margin-bottom: 0;
}
.review-card:hover,
.review-card:focus-visible {
  border-color: rgba(28, 112, 103, 0.45);
  box-shadow: 0 18px 44px rgba(20, 32, 40, 0.14);
  transform: translateY(-3px);
  text-decoration: none;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #e2efee;
  color: var(--teal);
  font-size: .86rem;
  font-weight: 800;
}
.flow-card strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--teal);
  color: white;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.notice.warn { border-color: rgba(190, 122, 44, 0.35); }
.notice.good { border-color: rgba(28, 112, 103, 0.35); }

.offer-logo {
  width: 210px;
  height: 82px;
  object-fit: contain;
  object-position: left center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--sand);
  color: #7a5325;
  font-size: .9rem;
  font-weight: 800;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
th {
  background: #edf5f6;
  color: var(--navy);
  font-family: Georgia, serif;
}

.resource-card img {
  width: 100%;
  max-width: 190px;
  height: 76px;
  object-fit: contain;
}
.reg-card img {
  width: 100%;
  max-width: 190px;
  height: 76px;
  object-fit: contain;
}

.footer {
  margin-top: 36px;
  background: #10262f;
  color: #edf7f8;
  padding: 34px 0 42px;
}
.footer a { color: #b6eef0; }
.footer-links,
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.footer-note {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
}

.skip-anchor {
  position: absolute;
  top: 0;
  left: 0;
}
.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 38, 47, 0.68);
}
.age-badge {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber), #de9651);
  margin-bottom: 16px;
}
#contenido:target ~ .age-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 980px) {
  .news-grid,
  .hero-grid,
  .review-grid,
  .duo,
  .triptych { grid-template-columns: 1fr; }
  .left-rail {
    position: static;
  }
  .site-header .container {
    grid-template-columns: 1fr;
  }
  .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .ledger-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .hero-feature,
  .hero-stage,
  .hero-note,
  .rail-box,
  .story-block,
  .operator-sheet,
  .review-card,
  .faq-item,
  .faq-card,
  .legal-panel,
  .legal-card,
  .contact-panel,
  .contact-card,
  .resource-card,
  .flow-card,
  .reg-card,
  .notice,
  .age-modal { padding: 20px; }
  .review-card::before {
    height: 104px;
  }
  .review-card .offer-logo {
    top: 36px;
    left: 36px;
    width: min(190px, calc(100% - 72px));
  }
}
