:root {
  --bg: #fcfaf6;
  --paper: #fffdf9;
  --sand: #efe4d3;
  --ink: #20211f;
  --muted: #6a6c69;
  --line: #d8cdbd;
  --forest: #355348;
  --forest-dark: #243932;
  --clay: #b06a3b;
  --clay-soft: #f4dfcf;
  --sky: #dcebef;
  --shadow: 0 18px 40px rgba(41, 34, 26, 0.10);
  --radius: 22px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.68;
  background:
    radial-gradient(circle at top right, rgba(176,106,59,0.10), transparent 26%),
    linear-gradient(180deg, #fcfaf6 0%, #faf6ef 100%);
}
a { color: var(--forest-dark); 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; }

.topband {
  background: var(--forest-dark);
  color: #f5eee5;
  font-size: .93rem;
}
.topband .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 10px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,253,249,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216,205,189,0.9);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.brand-seal {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--forest) 0%, var(--clay) 100%);
  color: #fffdf7;
  font: 700 1.22rem Georgia, serif;
  box-shadow: var(--shadow);
}
.brand-text strong,
.brand-text span { display: block; }
.brand-text strong { font: 700 1.18rem Georgia, serif; }
.brand-text span { color: var(--muted); font-size: .92rem; }

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

.hero {
  padding: 46px 0 30px;
}
.hero-frame {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}
.hero-main,
.hero-side,
.strip-block,
.feature-band,
.offer-row,
.review-panel,
.faq-panel,
.legal-panel,
.contact-panel,
.reg-panel,
.age-modal,
.table-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-main,
.hero-side,
.strip-block,
.feature-band,
.offer-row,
.review-panel,
.faq-panel,
.legal-panel,
.contact-panel,
.reg-panel,
.age-modal {
  padding: 26px;
}
.table-panel { padding: 12px; overflow-x: auto; }

.page-sections,
.paired,
.triple,
.faq-grid,
.legal-grid,
.contact-grid,
.reg-grid {
  display: grid;
  gap: 18px;
}
.paired { grid-template-columns: 1fr 1fr; }
.triple { grid-template-columns: repeat(3, 1fr); }
.faq-grid,
.legal-grid,
.contact-grid,
.reg-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--clay-soft);
  color: #7d4925;
  font-weight: 800;
  margin-bottom: 16px;
}
.label.alt {
  background: var(--sky);
  color: var(--forest-dark);
}

h1, h2, h3 {
  margin: 0 0 14px;
  line-height: 1.08;
  font-family: Georgia, "Times New Roman", serif;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 15px; }
.lead { color: var(--muted); font-size: 1.08rem; }
.breadcrumbs { color: var(--muted); margin-bottom: 10px; font-size: .95rem; }

.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;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: #fffdf8;
  font-weight: 800;
}
.btn:hover { text-decoration: none; }
.btn.alt {
  background: transparent;
  color: var(--ink);
  border-color: rgba(53,83,72,0.22);
}

.horizon {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}
.horizon:last-child { border-bottom: none; padding-bottom: 0; }
.horizon strong { color: var(--forest-dark); }

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

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

.notice-line {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--sky);
  border: 1px solid #c8dde2;
}
.notice-line.warn {
  background: #f8e0db;
  border-color: #e3b8af;
}

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

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: #f3ece2;
  color: var(--forest-dark);
  font-family: Georgia, serif;
}

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

.resource-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}
.resource-lead,
.resource-stack {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.resource-lead {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(220,235,239,0.85), rgba(244,223,207,0.65)),
    var(--paper);
}
.resource-lead img {
  width: 100%;
  max-width: 220px;
  height: 86px;
  object-fit: contain;
  margin-bottom: 18px;
}
.resource-stack {
  padding: 8px 0;
}
.resource-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.resource-row:last-child {
  border-bottom: none;
}
.resource-row img {
  width: 100%;
  max-width: 100px;
  height: 50px;
  object-fit: contain;
}

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

.footer {
  margin-top: 36px;
  background: #243932;
  color: #eef4ee;
  padding: 34px 0 42px;
}
.footer a { color: #cfe9df; }
.footer-links {
  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.07);
}

@media (max-width: 980px) {
  .hero-frame,
  .paired,
  .triple,
  .resource-feature { grid-template-columns: 1fr; }
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .horizon { grid-template-columns: 1fr; gap: 6px; }
  .hero-main,
  .hero-side,
  .strip-block,
  .feature-band,
  .offer-row,
  .review-panel,
  .faq-panel,
  .legal-panel,
  .contact-panel,
  .reg-panel,
  .age-modal { padding: 20px; }
}
