:root {
  --page: #383221;
  --header: #0a0b0d;
  --surface: #211e15;
  --surface-2: #17150f;
  --text: #ffffff;
  --muted: #c2c5cc;
  --gold: #e5ad00;
  --gold-hover: #f2bc10;
  --gold-soft: #f0d39a;
  --line: rgba(255,255,255,.12);
  --shadow: 0 18px 50px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.site-container { width: min(1260px, calc(100% - 40px)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: var(--header);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.header-inner {
  min-height: 83px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand-link { display: flex; flex: 0 0 auto; position: relative; z-index: 101; }
.brand-logo { width: auto; height: 44px; }
.desktop-header-content {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  flex: 0 0 auto;
  padding: 11px 16px;
  border-radius: 999px;
  color: rgba(255,255,255,.62);
  text-decoration: none;
  font-size: 16px;
  font-weight: 750;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.header-actions { display: flex; align-items: center; gap: 24px; flex: 0 0 auto; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 31px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--gold); }
.button-primary:hover { background: var(--gold-hover); }
.button-register { min-width: 128px; }
.menu-toggle {
  display: none;
  position: relative;
  z-index: 101;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 15px;
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: #fff;
  transform-origin: center;
  transition: transform .3s ease, opacity .2s ease, top .3s ease;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.site-header.menu-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-open .menu-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.mobile-menu { display: none; }

/* Shared categories */
.categories-title {
  color: rgba(255,255,255,.48);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .075rem;
  text-transform: uppercase;
}
.categories-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.categories-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 41px;
  margin-left: -10px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .2s ease;
}
.categories-list a:hover { background: rgba(255,255,255,.08); }
.category-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: currentColor;
}

/* Desktop body grid */
.page-main { padding: 18px 0 0; }
.page-shell {
  display: grid;
  grid-template-columns: 192px minmax(0, 1fr);
  align-items: start;
  gap: 32px;
}
.desktop-sidebar {
  position: sticky;
  top: 101px;
  min-width: 192px;
  padding-top: 2px;
}
.content-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  border-radius: 16px;
  isolation: isolate;
}
.hero picture, .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image {
  object-fit: cover;
  object-position: left top;
  filter: brightness(65%);
  z-index: -1;
}
.hero-card {
  width: 48%;
  max-width: 500px;
  padding: 32px;
  border-radius: 16px;
  background: #0a0b0d;
  color: #c2c5cc;
  box-shadow: var(--shadow);
}
.hero-card-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 58px rgba(0,0,0,.36);
}
.hero-card-link:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}
.hero-kicker {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 3.05vw, 40px);
  font-weight: 800;
  line-height: 1.18;
}
.hero-copy {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.55;
}
.hero-button {
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
}
.hero-rating {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 18px;
  color: #fff;
  font-size: 16px;
  line-height: 1.1;
}
.hero-rating span { font-weight: 500; }
.rating-stars { margin-left: 8px; color: var(--gold); letter-spacing: 1px; }
.hero-rating small {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

/* Dynamic content */
.dynamic-intro { min-width: 0; }
.dynamic-intro h1 {
  margin: 10px 0 14px;
  color: #fff;
  text-align: center;
  font-size: clamp(36px, 4.3vw, 56px);
  font-weight: 800;
  line-height: 1.18;
}
.content-surface {
  min-width: 0;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(10,11,13,.78);
  box-shadow: var(--shadow);
}
.short-article { color: #f2eedf; }
.short-article > :first-child, .article > :first-child { margin-top: 0; }
.short-article > :last-child, .article > :last-child { margin-bottom: 0; }
.article-wrap { display: flex; flex-direction: column; gap: 24px; padding-bottom: 8px; }
.article { color: #f1ecdc; }
.article h2, .article h3, .article h4,
.short-article h2, .short-article h3, .short-article h4 {
  color: #fff;
  line-height: 1.2;
  margin: 28px 0 12px;
}
.article h2, .short-article h2 { font-size: clamp(25px, 3vw, 34px); }
.article h3, .short-article h3 { font-size: clamp(21px, 2.4vw, 27px); }
.article p, .short-article p { margin: 0 0 16px; }
.article a, .short-article a { color: var(--gold-soft); }

/* Slots */
.slots-section { padding: 2px 0; }
.slots-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.section-title { font-size: 16px; font-weight: 500; line-height: 1.1; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: #0a0b0d;
  color: #91a8b7;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}
.carousel-button:hover { background: #17191d; }
.slots-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.slots-viewport::-webkit-scrollbar { display: none; }
.slots-track { display: flex; gap: 9px; min-width: max-content; padding: 0 0 8px; }
.slot-card {
  position: relative;
  flex: 0 0 clamp(138px, 13.3vw, 190px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 16px;
  background: #1b190f;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
  scroll-snap-align: start;
  text-decoration: none;
}
.slot-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease, filter .25s ease; }
.slot-card span {
  position: absolute;
  inset: auto 8px 8px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(10,11,13,.78);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}
.slot-card:hover img { transform: scale(1.045); filter: brightness(.7); }
.slot-card:hover span { opacity: 1; transform: none; }

/* Tables and lists */
.short-article .table-scroll,
.article-card .table-scroll,
.article .table-scroll,
.content .table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0 24px;
  border: 1px solid rgba(229,173,0,.36);
  border-radius: 13px;
}
.short-article .table-scroll table,
.article-card .table-scroll table,
.article .table-scroll table,
.content .table-scroll table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  background: #16150f;
}
.short-article .table-scroll th,
.short-article .table-scroll td,
.article-card .table-scroll th,
.article-card .table-scroll td,
.article .table-scroll th,
.article .table-scroll td,
.content .table-scroll th,
.content .table-scroll td {
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
  text-align: left;
}
.short-article .table-scroll th,
.article-card .table-scroll th,
.article .table-scroll th,
.content .table-scroll th {
  background: #252113;
  color: var(--gold-soft);
  font-weight: 850;
}
.short-article ul, .short-article ol, .article ul, .article ol {
  max-width: 100%;
  margin: 18px 0;
  padding-left: 26px;
}
.short-article li, .article li { margin: 8px 0; padding-left: 4px; overflow-wrap: anywhere; }
.short-article li::marker, .article li::marker { color: var(--gold-soft); font-weight: 900; }

/* FAQ and reviews */
.community-sections { display: flex; flex-direction: column; gap: 24px; }
.faq, .community-sections > section {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(10,11,13,.78);
  box-shadow: var(--shadow);
}
.faq > .h2-base-title, .community-sections > section > h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(26px,3vw,34px);
  line-height: 1.15;
}
.faq-content { display: grid; gap: 12px; }
.faq-item { overflow: hidden; border: 1px solid rgba(229,173,0,.27); border-radius: 14px; background: #17150f; }
.faq-item-header-wrapper { padding: 17px 18px 9px; }
.faq-item-title { margin: 0; color: var(--gold-soft); font-size: 18px; line-height: 1.35; }
.faq-item-content { padding: 0 18px 18px; color: #eee8d7; }
.community-sections > section { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.community-sections > section > h2 { grid-column: 1/-1; font-size: 0; }
.community-sections > section > h2::after { content: "Reseñas"; font-size: clamp(26px,3vw,34px); }
.community-sections > section > div[itemtype="https://schema.org/Review"] {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(229,173,0,.25);
  border-radius: 14px;
  background: #17150f;
}
.community-sections > section > div[itemtype="https://schema.org/Review"]::before {
  content: "★★★★★";
  display: block;
  margin-bottom: 9px;
  color: var(--gold);
  letter-spacing: 2px;
}
.community-sections > section h3 { margin: 0 0 9px; color: #fff; font-size: 18px; }
.community-sections > section p { margin: 0; color: #ddd6c4; overflow-wrap: anywhere; }

/* Footer, matched to the original layout */
.site-footer { margin-top: 20px; background: var(--page); color: #fff; }
.footer-inner {
  min-height: 350px;
  display: grid;
  grid-template-columns: 35% 60%;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 0 32px;
}
.footer-left { display: flex; align-items: flex-start; }
.footer-brand { display: inline-flex; }
.footer-brand img { width: auto; height: 40px; }
.footer-right { display: flex; flex-direction: column; min-width: 0; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.footer-nav a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
}
.footer-nav a:hover { text-decoration: underline; }
.copyright { margin: auto 0 0; color: rgba(255,255,255,.9); font-size: 14px; }

@media (max-width: 1180px) {
  .site-container { width: min(1120px, calc(100% - 32px)); }
  .header-inner { gap: 18px; }
  .main-nav { gap: 4px; }
  .main-nav a { padding-inline: 11px; font-size: 15px; }
  .header-actions { gap: 10px; }
  .button { padding-inline: 23px; }
  .page-shell { grid-template-columns: 180px minmax(0,1fr); gap: 24px; }
  .hero-card { width: 50%; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 90px; }
  .site-header {
    top: 0;
    width: calc(100% - 24px);
    margin: 0 auto 24px;
    border: 1px solid rgba(255,255,255,.06);
    border-top: 0;
    border-radius: 0 0 10px 10px;
  }
  .header-inner { min-height: 72px; padding-inline: 16px; }
  .brand-logo { height: 43px; }
  .desktop-header-content { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu {
    display: none;
    position: fixed;
    inset: 12px;
    z-index: 100;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    background: #0a0b0d;
    scrollbar-color: rgba(255,255,255,.26) transparent;
    scrollbar-width: thin;
  }
  .site-header.menu-open .mobile-menu { display: block; }
  .mobile-menu-inner {
    width: min(240px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    padding: 104px 0 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .mobile-scroll-area {
    min-height: 0;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.26) transparent;
  }
  .mobile-scroll-area::-webkit-scrollbar { width: 5px; }
  .mobile-scroll-area::-webkit-scrollbar-thumb { background: rgba(255,255,255,.26); border-radius: 999px; }
  .mobile-main-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .mobile-main-nav a {
    color: rgba(255,255,255,.58);
    text-decoration: none;
    font-size: 17px;
    font-weight: 800;
    text-align: center;
  }
  .mobile-categories { margin-top: 22px; }
  .mobile-categories .categories-title { margin-left: 0; }
  .mobile-categories .categories-list { gap: 3px; }
  .mobile-categories .categories-list a { font-size: 17px; }
  .mobile-actions {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
  }
  .mobile-actions .button { width: 150px; min-height: 45px; padding-inline: 18px; }
  .page-main { padding-top: 0; }
  .page-shell { display: block; }
  .desktop-sidebar { display: none; }
  .content-column { gap: 18px; }
  .hero { min-height: 460px; }
  .hero-card { width: 50%; padding: 24px; }
  .hero-kicker { font-size: 34px; }
  .community-sections > section { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 35% 60%; }
}

@media (max-width: 680px) {
  .site-container { width: calc(100% - 48px); }
  .header-inner { width: 100%; }
  .brand-logo { height: 42px; }
  .page-shell { width: calc(100% - 48px); }
  .hero {
    min-height: 570px;
    align-items: flex-end;
    padding: 18px;
  }
  .hero-image { object-position: 36% top; }
  .hero-card { width: 100%; max-width: none; padding: 22px; }
  .hero-kicker { font-size: 29px; }
  .hero-copy { font-size: 15px; }
  .dynamic-intro h1 { margin-top: 2px; text-align: left; font-size: 34px; }
  .content-surface, .faq, .community-sections > section { padding: 18px; border-radius: 14px; }
  .slot-card { flex-basis: 142px; border-radius: 14px; }
  .slot-card span { display: none; }
  .short-article .table-scroll table,
  .article-card .table-scroll table,
  .article .table-scroll table,
  .content .table-scroll table {
    width: max-content;
    min-width: 720px;
    max-width: none;
  }
  .short-article ul, .short-article ol, .article ul, .article ol { padding-left: 21px; }
  .footer-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 0 28px;
  }
  .footer-right { gap: 20px; }
  .copyright { margin-top: 12px; }
}

@media (max-width: 420px) {
  .site-header { width: calc(100% - 32px); margin: 0 auto 24px; }
  .site-container, .page-shell { width: calc(100% - 48px); }
  .header-inner { padding-inline: 12px; }
  .brand-logo { height: 39px; }
  .menu-toggle { width: 44px; height: 44px; padding: 13px; }
  .menu-toggle span { left: 13px; }
  .menu-toggle span:nth-child(1) { top: 12px; }
  .menu-toggle span:nth-child(2) { top: 19px; }
  .menu-toggle span:nth-child(3) { top: 26px; }
  .site-header.menu-open .menu-toggle span:nth-child(1),
  .site-header.menu-open .menu-toggle span:nth-child(3) { top: 19px; }
  .mobile-menu { inset: 16px; }
  .mobile-menu-inner { width: min(220px, calc(100% - 44px)); padding-top: 104px; }
  .hero { min-height: 560px; padding: 14px; }
  .hero-card { padding: 20px; }
}

/* Multipage navigation and internal article */
.menu-pages-dropdown {
  position: relative;
  flex: 0 0 auto;
}
.menu-pages-dropdown > summary {
  display: inline-flex;
  align-items: center;
  padding: 11px 16px;
  border-radius: 999px;
  color: rgba(255,255,255,.62);
  font-size: 16px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  transition: color .2s ease, background-color .2s ease;
}
.menu-pages-dropdown > summary::-webkit-details-marker { display: none; }
.menu-pages-dropdown > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transform-origin: center;
  transition: transform .2s ease;
}
.menu-pages-dropdown[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.menu-pages-dropdown[open] > summary,
.menu-pages-dropdown > summary:hover { color: #fff; background: rgba(255,255,255,.08); }
.menu-pages-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 120;
  min-width: 220px;
  max-height: min(420px, calc(100vh - 120px));
  overflow-y: auto;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: #0a0b0d;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}
.menu-pages-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: 15px;
  white-space: normal;
}
.menu-pages-panel a:hover { color: #fff; background: rgba(255,255,255,.08); }
.mobile-pages { margin-top: 24px; }
.mobile-pages-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 10px;
}
.mobile-pages-nav a {
  width: 100%;
  padding: 9px 10px;
  border-radius: 9px;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: 16px;
  font-weight: 750;
  overflow-wrap: anywhere;
}
.mobile-pages-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.footer-pages { margin-top: 18px; }
.footer-pages-title {
  margin-bottom: 8px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .075rem;
  text-transform: uppercase;
}
.footer-pages-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer-pages-nav a {
  color: rgba(255,255,255,.86);
  text-decoration: none;
  font-size: 14px;
}
.footer-pages-nav a:hover { text-decoration: underline; }
.internal-page { padding-top: 28px; }
.internal-page .page-shell { min-height: 540px; }
.page-article h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.page-article h2:first-of-type { margin-top: 26px; }

@media (max-width: 1180px) {
  .menu-pages-dropdown > summary { padding-inline: 11px; font-size: 15px; }
}
@media (max-width: 900px) {
  .internal-page { padding-top: 0; }
  .internal-page .page-shell { min-height: 0; }
}
@media (max-width: 680px) {
  .page-article h1 { font-size: 32px; }
  .footer-pages-nav { flex-direction: column; gap: 8px; }
}
