/* Burgundy Clean — layout Nordic, palette Crimson/Burgundy */
:root {
  --bg: #F8F3F4;
  --surface: #FFFFFF;
  --bg-secondary: #F1E4E8;
  --cta: #8B1E3F;
  --cta-hover: #6E1530;
  --cta-text: #FFFFFF;
  --accent: #B45309;
  --accent-hover: #92400E;
  --rose: #BE123C;
  --text: #1A0F14;
  --text-muted: #6B5560;
  --border: #E8D4DA;
  --shadow: 0 4px 20px rgba(26, 15, 20, 0.07);
  --shadow-lg: 0 12px 40px rgba(26, 15, 20, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;
  --font: "Manrope", system-ui, sans-serif;
  --max: 1120px;
  --warn: #9A3412;
  --warn-bg: #FFF7ED;
  --ok-bg: #FDF2F4;
  --burgundy-deep: #4A0E22;
  --gold: #D4A574;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(139, 30, 63, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 30%, rgba(180, 83, 9, 0.05), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cta);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--cta-hover);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo img {
  height: 40px;
  width: auto;
  max-width: min(200px, 52vw);
}

/* Compare rating cards */
.compare-banner {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.compare-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.rating-grid {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.rating-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.rating-card-top {
  background: linear-gradient(135deg, #8B1E3F 0%, #4A0E22 100%);
  color: #FFF8F5;
  padding: 1.25rem 1.35rem 1.1rem;
}

.rating-card.brionis .rating-card-top {
  background: linear-gradient(135deg, #9A3412 0%, #7C2D12 100%);
}

.rating-card-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #F0D2A8;
}

.rating-card-top h2 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  color: #fff;
}

.rating-score-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.rating-score {
  font-size: 2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: #F0D2A8;
}

.rating-stars {
  display: inline-flex;
  gap: 0.15rem;
}

.rating-stars span {
  width: 1.1rem;
  height: 1.1rem;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  background: #E8D4DA;
}

.rating-stars span.on {
  background: #F0D2A8;
}

.rating-stars span.half {
  background: linear-gradient(90deg, #F0D2A8 55%, #E8D4DA 55%);
}

.rating-card-body {
  padding: 1.15rem 1.35rem 1.35rem;
}

.rating-metrics {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.rating-metrics li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.9375rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed var(--border);
}

.rating-metrics li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rating-metrics .bar {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 999px;
  background: var(--bg-secondary);
  overflow: hidden;
}

.rating-metrics .bar > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cta), var(--gold));
}

.rating-card .btn {
  width: 100%;
}

.rating-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
}

.section-banner {
  margin: 1rem 0 1.35rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.section-banner img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
}

.dual-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 0.25rem;
}

.btn-brionis {
  background: #9A3412;
  color: #fff;
}

.btn-brionis:hover {
  background: #7C2D12;
  color: #fff;
}

.btn-lg {
  padding: 0.95rem 1.6rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
  margin-top: 0.35rem;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem 0 0.35rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--cta);
}

/* Editorial hero (ref: dottorpaoli-style) */
.editorial-hero {
  background:
    radial-gradient(ellipse 70% 80% at 90% 10%, rgba(180, 83, 9, 0.18), transparent 50%),
    linear-gradient(145deg, #4A0E22 0%, #8B1E3F 55%, #6E1530 100%);
  color: #FFF8F5;
  padding: 2rem 0 2.75rem;
  margin-bottom: 1.5rem;
}

.editorial-hero-inner {
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1.1rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(240, 210, 168, 0.45);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #F0D2A8;
}

.editorial-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4.2vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #fff;
}

.editorial-hero .hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.12rem;
  line-height: 1.7;
  color: #FFF5F7;
  max-width: 40em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.editorial-hero .hero-lead strong {
  color: #fff;
  font-weight: 800;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stat {
  display: grid;
  gap: 0.2rem;
}

.hero-stat strong {
  font-size: 1.55rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #F0D2A8;
}

.hero-stat span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #E8C4CE;
}

.editorial-hero .hero-ctas {
  margin-bottom: 0.85rem;
}

.hero-trust {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: #E8C4CE;
}

.hero-byline {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.hero-byline img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #F0D2A8;
}

.hero-byline p {
  margin: 0;
  font-size: 0.92rem;
  color: #F8E8EC;
  line-height: 1.45;
}

.hero-byline a {
  color: #fff;
}

.hero-byline span {
  color: #D4B8C0;
  font-size: 0.85rem;
}

/* Transparency block */
.transparency {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem 1.4rem;
  margin: -0.5rem 0 2rem;
  position: relative;
  z-index: 2;
}

.transparency-kicker {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cta);
}

.transparency-kicker a {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

.transparency-grid {
  display: grid;
  gap: 0.85rem;
}

.transparency-grid > div {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 1rem 1.05rem;
}

.transparency-grid h2 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--burgundy-deep);
}

.transparency-grid p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Listing cards (classifica) */
.listing-card {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--burgundy-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 1.25rem 1.15rem;
  margin: 1.5rem 0;
}

.listing-card--alt {
  border-color: #9A3412;
}

.listing-rank {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  background: var(--burgundy-deep);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 8px;
}

.listing-card--alt .listing-rank {
  background: #9A3412;
}

.listing-badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.35rem 0.85rem;
  background: var(--cta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 999px;
  white-space: nowrap;
}

.listing-badge--alt {
  background: #9A3412;
}

.listing-logo {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.listing-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin: 0.75rem 0 1rem;
  padding-left: 2.6rem;
}

.listing-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.listing-head h3 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  color: var(--burgundy-deep);
}

.listing-sub {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.listing-score {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--burgundy-deep);
  font-variant-numeric: tabular-nums;
}

.listing-score span {
  color: var(--accent);
}

.listing-offer {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
}

.listing-pros,
.listing-cons {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
}

.listing-pros li,
.listing-cons li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.listing-pros li::before,
.listing-cons li::before {
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
}

.listing-pros li::before {
  content: "✓";
  background: #15803D;
}

.listing-cons li::before {
  content: "×";
  background: #BE123C;
}

.listing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 1rem;
}

.listing-tags span {
  padding: 0.3rem 0.7rem;
  background: var(--bg-secondary);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.listing-legal {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.content-break {
  margin: 1.75rem 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.content-break img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 360px;
  object-fit: cover;
}

.content-break figcaption {
  padding: 0.75rem 1rem 0.9rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.editorial-hero .btn-cta {
  background: #F0D2A8;
  color: #4A0E22;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.editorial-hero .btn-cta:hover {
  background: #ffe0b5;
  color: #4A0E22;
}

.hero-trust,
.hero-byline p,
.hero-byline span,
.hero-stat span {
  color: #FFE8EE;
}

.hero-byline span {
  color: #F5D0D8;
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .hero-stat {
    padding: 0.25rem 1.25rem;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-stat:first-child {
    padding-left: 0;
  }

  .hero-stat:last-child {
    border-right: none;
    padding-right: 0;
  }

  .transparency-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .listing-card {
    padding: 1.75rem 1.75rem 1.35rem;
  }
}

.author-card {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin: 2.5rem 0 1rem;
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.author-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #F0D2A8;
  box-shadow: 0 8px 24px rgba(139, 30, 63, 0.18);
  margin-inline: auto;
}

.author-meta {
  text-align: center;
}

.author-meta h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  color: var(--burgundy-deep);
}

.author-role {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cta);
}

.author-meta p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .rating-grid {
    grid-template-columns: 1fr 1fr;
  }

  .author-card {
    grid-template-columns: 160px 1fr;
    text-align: left;
  }

  .author-card img {
    margin-inline: 0;
  }

  .author-meta {
    text-align: left;
  }
}

.nav-desktop {
  display: none;
  gap: 1.25rem;
  align-items: center;
}

.nav-desktop a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
}

.nav-desktop a:hover {
  color: var(--cta);
}

.header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn-cta {
  background: var(--cta);
  color: var(--cta-text);
  box-shadow: 0 0 20px rgba(139, 30, 63, 0.22);
}

.btn-cta:hover {
  background: var(--cta-hover);
  color: var(--cta-text);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--cta);
  color: var(--cta);
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(460px, 68vh, 700px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(145deg, #FDF8F9 0%, #F3E0E6 42%, #F8EDE4 100%);
}

.hero--image-copy {
  min-height: clamp(420px, 62vh, 640px);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(253, 248, 249, 0.94) 0%,
    rgba(243, 224, 230, 0.78) 36%,
    rgba(248, 237, 228, 0.22) 70%,
    rgba(255, 255, 255, 0.05) 100%
  );
}

.hero--image-copy .hero-media::after {
  background: linear-gradient(
    to top,
    rgba(26, 15, 20, 0.55) 0%,
    rgba(26, 15, 20, 0.12) 42%,
    rgba(26, 15, 20, 0.05) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 3.25rem;
  max-width: 720px;
  animation: fadeUp 0.7s ease-out both;
}

.hero-content--overlay {
  max-width: none;
  width: 100%;
  padding: 2rem 0 2.25rem;
}

.hero--image-copy .hero-guide-link {
  color: #F8E8EC;
}

.hero--image-copy .hero-guide-link:hover {
  color: #fff;
}

.hero-brand {
  font-size: clamp(2rem, 5.4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--burgundy-deep);
  margin: 0 0 0.85rem;
  line-height: 1.1;
}

.hero-brand::after {
  content: "";
  display: block;
  width: min(100%, 220px);
  height: 6px;
  margin-top: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #8B1E3F 0%, #D4A574 50%, #B45309 100%);
  box-shadow: 0 2px 10px rgba(139, 30, 63, 0.2);
}

.hero-content .hero-lead {
  color: #4A3540;
  font-size: 1.125rem;
  margin: 0 0 1.5rem;
  max-width: 34em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.cta-image {
  display: inline-block;
  line-height: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cta-image img {
  width: min(100%, 420px);
  height: auto;
}

.cta-image:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.hero-guide-link {
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
}

.hero-guide-link:hover {
  color: var(--cta);
}

.meta-bar {
  padding: 0.85rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.meta-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.meta-bar strong {
  color: var(--text);
  font-weight: 600;
}

.article {
  padding: 0.5rem 0 4rem;
}

.article > .toc {
  margin-top: 0.5rem;
}

.article > h1 {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 1.5rem 0 1rem;
  color: var(--burgundy-deep);
}

.intro {
  font-size: 1.125rem;
  color: var(--text);
  margin: 1.5rem 0 2rem;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
  animation: fadeUp 0.55s ease-out both;
}

.toc-title {
  font-size: 1.125rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: var(--burgundy-deep);
}

.toc ol {
  margin: 0;
  padding-left: 1.25rem;
  columns: 1;
  gap: 2rem;
}

.toc a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

.toc a:hover {
  color: var(--cta);
}

/* Brand accordion panels */
.brand-stack {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.brand-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-panel > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: linear-gradient(90deg, rgba(139, 30, 63, 0.1), rgba(212, 165, 116, 0.08));
  border-bottom: 1px solid transparent;
  color: var(--burgundy-deep);
}

.brand-summary-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.brand-panel > summary h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--burgundy-deep);
}

.brand-panel > summary::-webkit-details-marker {
  display: none;
}

.brand-panel > summary::after {
  content: "+";
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
}

.brand-panel[open] > summary {
  border-bottom-color: var(--border);
}

.brand-panel[open] > summary::after {
  content: "–";
}

.brand-panel-body {
  padding: 1.25rem 1.35rem 1.75rem;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cta);
  margin-bottom: 0.35rem;
}

.section {
  margin-bottom: 2.5rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
  animation: fadeUp 0.55s ease-out both;
}

.section h2,
.brand-panel-body > h2,
.nested-block h3 {
  color: var(--text);
}

.section h2,
.brand-panel-body h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}

.section h3,
.brand-panel-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.45rem 0 0.65rem;
}

.section p,
.brand-panel-body p {
  margin: 0 0 1rem;
}

.section ul,
.section ol,
.brand-panel-body ul,
.brand-panel-body ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.section li,
.brand-panel-body li {
  margin-bottom: 0.45rem;
}

.nested-accordion {
  margin: 1rem 0 1.5rem;
}

.nested-accordion details {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.05rem;
  margin-bottom: 0.55rem;
}

.nested-accordion summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--burgundy-deep);
}

.nested-accordion summary::-webkit-details-marker {
  display: none;
}

.nested-accordion summary::after {
  content: "+";
  color: var(--cta);
  font-weight: 700;
}

.nested-accordion details[open] summary::after {
  content: "–";
}

.nested-accordion details p,
.nested-accordion details ul,
.nested-accordion details ol {
  margin-top: 0.75rem;
  color: var(--text);
}

.note {
  background: var(--warn-bg);
  border: 1px solid #FDBA74;
  border-left: 4px solid var(--warn);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
}

.note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--warn);
}

.ok-note {
  background: var(--ok-bg);
  border-color: #FDA4AF;
  border-left-color: var(--cta);
}

.ok-note strong {
  color: var(--cta);
}

.legal-note {
  background: #FEF2F2;
  border: 1px dashed #F87171;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1rem 0;
}

.article-figure {
  margin: 1.25rem 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.article-figure img {
  width: 100%;
  height: auto;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
}

.game-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  aspect-ratio: 3 / 4;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.game-card:hover img {
  transform: scale(1.05);
}

.game-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 0.55rem 0.65rem;
  background: linear-gradient(transparent, rgba(26, 15, 20, 0.85));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 1rem 0 1.5rem;
}

.pay-row img {
  height: 28px;
  width: auto;
  opacity: 0.9;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  min-width: 520px;
}

th,
td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: var(--bg-secondary);
  font-weight: 700;
  color: var(--burgundy-deep);
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: none;
}

tbody tr:hover td {
  background: rgba(139, 30, 63, 0.04);
}

.table-caption {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: -0.5rem 0 1rem;
}

.inline-cta {
  margin: 1.25rem 0 0;
}

/* FAQ */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.15rem;
  margin-bottom: 0.65rem;
  box-shadow: var(--shadow);
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--cta);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
}

.responsible {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
  border: 1px solid var(--border);
  margin-top: 2rem;
}

.responsible-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: var(--burgundy-deep);
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--burgundy-deep);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.site-footer {
  background: var(--burgundy-deep);
  color: #F8E8EC;
  padding: 2.5rem 0 6rem;
}

.site-footer a {
  color: #F5D0D8;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 0.75rem;
  filter: brightness(1.25) saturate(0.9);
}

.footer-brand p,
.footer-col p,
.footer-col a {
  color: #D4B8C0;
  font-size: 0.9rem;
}

.footer-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.65rem;
  color: #fff;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  text-decoration: none;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: #C4A0AA;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 0.45rem 0.25rem calc(0.45rem + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(26, 15, 20, 0.08);
}

.mobile-nav a,
.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.mobile-nav a svg,
.mobile-nav-menu svg {
  width: 22px;
  height: 22px;
}

.mobile-nav a.active,
.mobile-nav a:hover,
.mobile-nav-menu:hover,
.mobile-nav-menu[aria-expanded="true"] {
  color: var(--cta);
}

.menu-toggle {
  display: inline-flex;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  color: var(--text);
  cursor: pointer;
}

.nav-panel {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
}

.nav-panel.open {
  display: block;
}

.nav-panel a {
  display: block;
  padding: 0.65rem 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
  .game-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .toc ol {
    columns: 2;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .mobile-nav {
    display: none;
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }

  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .header-actions .btn-outline {
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  .header-actions .btn {
    padding: 0.55rem 0.75rem;
    font-size: 0.8rem;
  }

  .logo img {
    height: 30px;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-content,
  .toc,
  .section {
    animation: none;
  }

  .game-card:hover img {
    transform: none;
  }
}
