:root {
  --bg: #f3efe6;
  --bg-deep: #e9dfcf;
  --surface: #fffaf3;
  --surface-2: #fff7ed;
  --ink: #1f2227;
  --muted: #63676f;
  --line: #d9c9b4;
  --brand: #b54828;
  --brand-dark: #7e2f1b;
  --brand-soft: #f7d6c9;
  --teal: #165a57;
  --teal-soft: #d6ece9;
  --gold: #d39b32;
  --warning: #8b2d20;
  --shadow: 0 18px 48px rgba(48, 32, 18, 0.12);
  --radius: 26px;
  --radius-sm: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(211,155,50,0.10) 0%, transparent 18%),
    linear-gradient(135deg, #f4efe7 0%, #f1eadf 55%, #efe5d7 100%);
  line-height: 1.65;
}
a { color: var(--brand-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; }

.site-top {
  background: #1f2227;
  color: #f8f2e9;
  font-size: 0.95rem;
}
.site-top .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 11px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 250, 243, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 201, 180, 0.85);
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.brand-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--gold) 100%);
  color: #fff9f2;
  font: 700 1.35rem Georgia, serif;
  box-shadow: var(--shadow);
}
.brand-copy strong,
.brand-copy span { display: block; }
.brand-copy strong {
  font: 700 1.18rem Georgia, serif;
}
.brand-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.hero {
  padding: 52px 0 28px;
}
.hero-shell,
.split,
.legal-grid,
.card-grid,
.review-grid,
.contact-grid,
.reg-grid,
.faq-grid,
.stats-row {
  display: grid;
  gap: 20px;
}
.hero-shell {
  grid-template-columns: 1.05fr 0.95fr;
}
.split {
  grid-template-columns: 1fr 1fr;
}
.legal-grid,
.card-grid,
.review-grid,
.contact-grid,
.reg-grid,
.faq-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.stats-row {
  grid-template-columns: repeat(3, 1fr);
}

.hero-main,
.hero-side,
.panel,
.card,
.legal-card,
.faq-card,
.contact-card,
.reg-card,
.table-box,
.note-box,
.age-modal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-main {
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(182, 72, 40, 0.12), transparent 28%),
    linear-gradient(180deg, #fff9f2 0%, #fff7ef 100%);
}
.hero-side,
.panel,
.card,
.legal-card,
.faq-card,
.contact-card,
.reg-card,
.note-box,
.age-modal {
  padding: 26px;
}
.table-box { padding: 14px; overflow-x: auto; }

.ribbon {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  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.5rem, 5vw, 4.3rem); }
h2 { font-size: clamp(1.85rem, 3vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 16px; }
.lead { color: var(--muted); font-size: 1.08rem; }

.breadcrumbs {
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 19px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fffaf4;
  font-weight: 800;
}
.btn:hover { text-decoration: none; }
.btn.alt {
  background: transparent;
  color: var(--ink);
  border-color: rgba(31, 34, 39, 0.18);
}

.stat {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid rgba(211, 155, 50, 0.22);
}
.stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.section {
  padding: 30px 0;
}
.section.tone {
  background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0));
}

.map-box {
  display: grid;
  gap: 12px;
}
.map-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.map-row:last-child { border-bottom: none; }
.map-label {
  font-weight: 800;
  color: var(--brand-dark);
}

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

.chips,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip,
.meta {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}
.chip {
  background: var(--teal-soft);
  color: var(--teal);
}
.meta {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.review-card,
.operator-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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 {
  font-family: Georgia, serif;
  color: var(--brand-dark);
  background: rgba(247, 214, 201, 0.36);
}

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

.highlight {
  border-left: 5px solid var(--brand);
}
.alert {
  border-left: 5px solid var(--warning);
}

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

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

.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(27, 20, 14, 0.68);
}
.age-badge {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  color: #fff8f0;
  font-weight: 900;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.skip-anchor {
  position: absolute;
  left: 0;
  top: 0;
}
#contenido:target ~ .age-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 930px) {
  .hero-shell,
  .split { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-main,
  .hero-side,
  .panel,
  .card,
  .legal-card,
  .faq-card,
  .contact-card,
  .reg-card,
  .note-box,
  .age-modal {
    padding: 22px;
  }
  .map-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
