/* ==========================================================================
   CASINA CASINO - Corrida Dark Design System
   Fixed dark theme (no switcher). Palette: deep espresso arena,
   matador crimson, molten gold, oxblood leather cards, warm ivory text.
   Fonts: Cinzel (display) + Manrope (body/UI).
   ========================================================================== */

:root {
    --background: #14100E;
    --foreground: #F2EAD9;
    --card: #241A16;
    --card-foreground: #F2EAD9;
    --popover: #1C1411;
    --popover-foreground: #F2EAD9;
    --primary: #D8232A;
    --primary-foreground: #FFF8EC;
    --secondary: #241A16;
    --secondary-foreground: #F2EAD9;
    --muted: #2B201B;
    --muted-foreground: #A89A88;
    --accent: #E8B84B;
    --accent-foreground: #14100E;
    --destructive: #B91C1C;
    --destructive-foreground: #FFF8EC;
    --border: #4A3626;
    --input: #1E1713;
    --ring: #E8B84B;

    /* Derived corrida tokens */
    --gold-gradient: linear-gradient(120deg, #F5D27A 0%, #E8B84B 45%, #C8922E 100%);
    --muleta-gradient: linear-gradient(100deg, #D8232A 0%, #E8B84B 100%);
    --font-display: "Cinzel", serif;
    --font-body: "Manrope", sans-serif;
    --radius-card: 16px;
    --radius-badge: 8px;
    --header-height: 72px;
    --content-max: 1200px;
    --space-section: 56px;
}

/* Single fixed dark theme - .dark tokens identical to :root */
.dark {
    --background: #14100E;
    --foreground: #F2EAD9;
    --card: #241A16;
    --card-foreground: #F2EAD9;
    --popover: #1C1411;
    --popover-foreground: #F2EAD9;
    --primary: #D8232A;
    --primary-foreground: #FFF8EC;
    --secondary: #241A16;
    --secondary-foreground: #F2EAD9;
    --muted: #2B201B;
    --muted-foreground: #A89A88;
    --accent: #E8B84B;
    --accent-foreground: #14100E;
    --destructive: #B91C1C;
    --destructive-foreground: #FFF8EC;
    --border: #4A3626;
    --input: #1E1713;
    --ring: #E8B84B;
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

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

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

p, li, td, th {
    overflow-wrap: break-word;
}

input, textarea, select {
    max-width: 100%;
}

section {
    overflow: clip;
}

/* ============================================
   BASE - Document & typography
   ============================================ */

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-width: 320px;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--foreground);
    margin: 0 0 0.6em;
}

h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

h2 { font-size: 24px; }

h3 { font-size: 20px; }

h4 {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 0.5em;
    color: var(--foreground);
}

p {
    margin: 0 0 24px;
    max-width: 65ch;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 250ms ease-out;
}

a:hover { color: #F5D27A; }

ul, ol { padding-left: 1.4em; }

li { margin-bottom: 0.5em; }

strong { color: var(--foreground); font-weight: 700; }

::selection {
    background: var(--primary);
    color: var(--primary-foreground);
}

:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 3px;
    border-radius: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 2000;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    transition: top 250ms ease-out;
}

.skip-link:focus {
    top: 12px;
    color: var(--primary-foreground);
}

/* ============================================
   LAYOUT - Section rhythm & containers
   .container      - 1200px content width
   .section        - standard vertical rhythm (56px / 72px)
   .section--arena - full-bleed band with radial spotlight
   ============================================ */

.container {
    width: 100%;
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: 20px;
}

.section {
    padding-block: var(--space-section);
}

.section--arena {
    position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(216, 35, 42, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 100%, rgba(232, 184, 75, 0.06) 0%, transparent 55%),
        var(--background);
}

.section__header {
    max-width: 760px;
    margin-bottom: 40px;
}

.section__header--center {
    margin-inline: auto;
    text-align: center;
}

.section__eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section__lead {
    color: var(--muted-foreground);
    font-size: 17px;
}

@media (min-width: 1024px) {
    :root { --space-section: 72px; }

    h1 { font-size: 48px; }
    h2 { font-size: 36px; }
    h3 { font-size: 26px; }
    .container { padding-inline: 32px; }
}

/* ============================================
   MULETA SLASH - signature diagonal ribbon
   .muleta-slash - crimson-to-gold ribbon at 8 degrees
   ============================================ */

.muleta-slash {
    display: block;
    width: 96px;
    height: 6px;
    background: var(--muleta-gradient);
    transform: skewY(-8deg);
    border-radius: 3px;
    margin-bottom: 20px;
}

.section__header--center .muleta-slash {
    margin-inline: auto;
}

/* ============================================
   BUTTONS - crimson primary / gold ghost
   .btn, .btn--primary, .btn--ghost, .btn--large
   Hover: gradient sweep left to right
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: transform 250ms ease-out, box-shadow 250ms ease-out, color 250ms ease-out, border-color 250ms ease-out;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(100deg, var(--primary) 0%, #B91C1C 100%);
    color: var(--primary-foreground);
    box-shadow: 0 4px 20px rgba(216, 35, 42, 0.35);
}

.btn--primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--muleta-gradient);
    opacity: 0;
    transition: opacity 250ms ease-out;
}

.btn--primary:hover::after { opacity: 1; }

.btn--primary:hover {
    color: var(--primary-foreground);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(216, 35, 42, 0.5);
}

.btn--primary span,
.btn--primary { z-index: 0; }

.btn--primary::after { z-index: -1; }

.btn--ghost {
    background: transparent;
    color: var(--accent);
    border-color: var(--border);
}

.btn--ghost:hover {
    color: var(--accent-foreground);
    background: var(--accent);
    border-color: var(--accent);
}

.btn--large {
    min-height: 52px;
    padding: 14px 36px;
    font-size: 16px;
}

/* ============================================
   HEADER - sticky, blurred dark, hamburger < 1024px
   Drawer: fixed, opaque, below header, scrollable
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(20, 16, 14, 0.96);
    border-bottom: 1px solid rgba(74, 54, 38, 0.6);
}

.site-header__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: 20px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    z-index: 1001;
}

.site-brand__text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--foreground);
}

.site-brand__text em {
    font-style: normal;
    color: var(--accent);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--foreground);
    border-radius: 2px;
    transition: transform 250ms ease-out, opacity 250ms ease-out;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer: hidden by default, fixed & opaque when open */
.primary-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--background);
    overflow-y: auto;
    padding: 32px 20px 48px;
}

.primary-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.primary-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.primary-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 4px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--foreground);
    border-bottom: 1px solid rgba(74, 54, 38, 0.4);
}

.primary-nav__link:hover { color: var(--accent); }

.primary-nav__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.primary-nav__actions .btn {
    width: 100%;
    min-height: 52px;
}

@media (min-width: 1024px) {
    .menu-toggle { display: none; }

    .site-header {
        background: rgba(20, 16, 14, 0.82);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }

    .primary-nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 32px;
        padding: 0;
        background: transparent;
        overflow: visible;
        flex: 1;
        justify-content: flex-end;
    }

    .primary-nav__list {
        flex-direction: row;
        gap: 8px;
    }

    .primary-nav__link {
        border-bottom: none;
        padding: 8px 16px;
        font-size: 15px;
        min-height: 44px;
    }

    .primary-nav__actions {
        flex-direction: row;
        gap: 12px;
    }

    .primary-nav__actions .btn {
        width: auto;
        min-height: 44px;
    }
}

/* ============================================
   HERO - full-bleed arena banner with model
   .hero, .hero__inner, .hero__content, .hero__media
   Model image breaks container boundary on desktop
   ============================================ */

.hero {
    position: relative;
    background:
        radial-gradient(ellipse 90% 70% at 70% 20%, rgba(216, 35, 42, 0.22) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 20% 90%, rgba(232, 184, 75, 0.08) 0%, transparent 55%),
        var(--background);
    overflow: clip;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 45% at 50% 0%, rgba(216, 35, 42, 0.18) 0%, transparent 65%);
    animation: spotlight-pulse 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes spotlight-pulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

.hero__inner {
    position: relative;
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 64px 20px 56px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    z-index: 1;
}

.hero__content { max-width: 620px; }

.hero__title { margin-bottom: 20px; }

.hero__title .gold,
.gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero__lead {
    font-size: 18px;
    color: var(--muted-foreground);
    margin-bottom: 32px;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.hero__actions .btn { width: 100%; }

.hero__micro {
    font-size: 14px;
    color: var(--muted-foreground);
    margin: 0;
}

.hero__media {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero__media img {
    display: block;
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 48px rgba(216, 35, 42, 0.18);
    object-fit: cover;
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.hero__stats li {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero__stats li::before {
    content: "✦ ";
    color: var(--primary);
}

@media (min-width: 768px) {
    .hero__actions { flex-direction: row; }
    .hero__actions .btn { width: auto; }
}

@media (min-width: 1024px) {
    .hero__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 96px 32px 80px;
    }

    .hero__media img {
        max-width: 460px;
        margin-right: -32px;
    }
}

/* ============================================
   CARDS - info_card component
   .card-grid  - responsive grid wrapper (pages place cards inside)
   .info-card  - oxblood leather card, gold-tinted border
   ============================================ */

.card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .card-grid { gap: 24px; }
    .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.info-card {
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 250ms ease-out, box-shadow 250ms ease-out, border-color 250ms ease-out;
}

.info-card:hover {
    transform: scale(1.03);
    border-color: rgba(232, 184, 75, 0.55);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(232, 184, 75, 0.14);
}

.info-card__media {
    margin: -20px -20px 4px;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    overflow: hidden;
}

.info-card__media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* Badge-Variante: transparente Emblem-Bilder (VIP-Tiers) */
.info-card__media--badge {
    background: radial-gradient(ellipse 80% 80% at 50% 40%, rgba(232, 184, 75, 0.1) 0%, transparent 70%),
        var(--muted);
}

.info-card__media--badge img {
    object-fit: contain;
    padding: 28px;
}

.info-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(232, 184, 75, 0.1);
    border: 1px solid rgba(232, 184, 75, 0.35);
    font-size: 26px;
    line-height: 1;
}

.info-card__title {
    font-size: 18px;
    margin: 0;
}

.info-card__text {
    font-size: 15px;
    color: var(--muted-foreground);
    margin: 0;
    max-width: none;
}

.info-card__link {
    margin-top: auto;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
}

@media (min-width: 1024px) {
    .info-card { padding: 32px; }
    .info-card__media { margin: -32px -32px 8px; }
    .info-card__title { font-size: 20px; }
}

/* ============================================
   STATS - stat_block component
   .stat-grid  - strip/grid of panels
   .stat-panel - radial glow, gradient gold number, slash accent
   ============================================ */

.stat-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .stat-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stat-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.stat-panel {
    position: relative;
    min-width: 0;
    background:
        radial-gradient(ellipse 100% 80% at 50% 0%, rgba(216, 35, 42, 0.14) 0%, transparent 70%),
        var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px 20px 24px;
    text-align: center;
    overflow: clip;
}

.stat-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--muleta-gradient);
    transform: skewY(-1.5deg) scaleX(1.1);
    transform-origin: left top;
}

.stat-panel__number {
    display: block;
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 8px;
}

.stat-panel__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

.stat-panel__source {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted-foreground);
}

@media (min-width: 1024px) {
    .stat-panel__number { font-size: 56px; }
}

/* ============================================
   CTA BANNER - cta_banner component
   Full-bleed conversion band with muleta slash
   ============================================ */

.cta-banner {
    position: relative;
    background:
        radial-gradient(ellipse 80% 90% at 50% 110%, rgba(216, 35, 42, 0.28) 0%, transparent 60%),
        var(--popover);
    border-top: 1px solid rgba(74, 54, 38, 0.6);
    border-bottom: 1px solid rgba(74, 54, 38, 0.6);
    overflow: clip;
}

.cta-banner__slash {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 220px;
    background: linear-gradient(100deg, rgba(216, 35, 42, 0.16) 0%, rgba(232, 184, 75, 0.12) 100%);
    transform: translate(-50%, -50%) rotate(-8deg);
    pointer-events: none;
}

.cta-banner__inner {
    position: relative;
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 56px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cta-banner__headline {
    max-width: 800px;
    margin-bottom: 8px;
}

.cta-banner__text {
    color: var(--muted-foreground);
    max-width: 560px;
    margin: 0 auto 20px;
}

.cta-banner__micro {
    font-size: 14px;
    color: var(--muted-foreground);
    margin: 12px 0 0;
}

@media (min-width: 1024px) {
    .cta-banner__inner { padding: 96px 32px; }
}

/* ============================================
   FAQ - faq_accordion component (native details)
   ============================================ */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 860px;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: clip;
    transition: border-color 250ms ease-out;
}

.faq-item--accent { border-left: 4px solid var(--primary); }

.faq-item[open] { border-color: rgba(232, 184, 75, 0.5); }

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 48px;
    padding: 18px 20px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

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

.faq-item__chevron {
    flex-shrink: 0;
    color: var(--accent);
    transition: transform 250ms ease-out;
}

.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }

.faq-item__answer {
    padding: 0 20px 20px;
    border-top: 1px solid rgba(74, 54, 38, 0.4);
}

.faq-item__answer p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin: 16px 0 0;
}

/* ============================================
   ENGAGEMENT PATTERNS
   .tldr-box    - TL;DR summary near page top
   .callout     - accent-bordered tip/warning box
   .pull-quote  - oversized quote with attribution
   ============================================ */

.tldr-box {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 24px;
    margin: 0 0 40px;
}

.tldr-box__title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 12px;
}

.tldr-box ul {
    margin: 0;
    padding-left: 1.2em;
}

.tldr-box li {
    color: var(--foreground);
    font-size: 15px;
    margin-bottom: 8px;
}

.callout {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
}

.callout--gold { border-left-color: var(--accent); }

.callout p { margin: 0; font-size: 15px; color: var(--foreground); }

.callout p + p { margin-top: 12px; }

.pull-quote {
    margin: 40px 0;
    padding: 8px 0 8px 28px;
    border-left: 4px solid var(--accent);
}

.pull-quote p {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--foreground);
    margin: 0 0 12px;
}

.pull-quote cite {
    font-style: normal;
    font-size: 14px;
    color: var(--muted-foreground);
}

/* ============================================
   COMPARISON TABLE - with highlighted column
   ============================================ */

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 560px;
}

.compare-table th,
.compare-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(74, 54, 38, 0.5);
}

.compare-table thead th {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--card);
}

.compare-table tbody th {
    font-weight: 600;
    color: var(--foreground);
}

.compare-table td { color: var(--muted-foreground); }

.compare-table .is-highlighted {
    background: rgba(216, 35, 42, 0.1);
    color: var(--foreground);
    font-weight: 700;
}

/* ============================================
   TRUST BADGES ROW - grayscale payment/license strip
   ============================================ */

.trust-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 20px;
    padding: 24px 0;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-badge);
    background: var(--card);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    filter: grayscale(1);
    transition: filter 250ms ease-out, border-color 250ms ease-out;
}

.trust-badge:hover {
    filter: grayscale(0);
    border-color: rgba(232, 184, 75, 0.5);
    color: var(--foreground);
}

/* ============================================
   PAGE HERO - simple centered header band (info pages)
   .page-hero, .page-hero__inner, .page-hero__banner
   ============================================ */

.page-hero {
    position: relative;
    background:
        radial-gradient(ellipse 90% 70% at 50% 0%, rgba(216, 35, 42, 0.16) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 85% 100%, rgba(232, 184, 75, 0.07) 0%, transparent 55%),
        var(--background);
    overflow: clip;
}

.page-hero__inner {
    max-width: 760px;
    margin-inline: auto;
    padding: 64px 20px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-hero__inner .muleta-slash { margin-inline: auto; }

.page-hero__lead {
    font-size: 18px;
    color: var(--muted-foreground);
    margin: 0 auto;
}

.page-hero__banner {
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 0 20px 56px;
}

.page-hero__banner img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 40px rgba(216, 35, 42, 0.14);
}

@media (min-width: 1024px) {
    .page-hero__inner { padding: 88px 32px 48px; }
    .page-hero__banner { padding: 0 32px 72px; }
}

/* ============================================
   SITEMAP LIST - single-column stack of cards
   ============================================ */

.sitemap-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 860px;
}

/* ============================================
   PROSE - long-form SEO content blocks
   ============================================ */

.prose { max-width: 760px; }

.prose h2 { margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 32px; }

.prose a { text-decoration: underline; text-underline-offset: 3px; }

.prose ul, .prose ol { color: var(--muted-foreground); margin-bottom: 24px; }

.prose li strong { color: var(--foreground); }

.prose p { color: var(--foreground); }

.prose p strong { color: var(--foreground); }

/* ============================================
   FOOTER - 4 columns + payments + legal
   ============================================ */

.site-footer {
    background: var(--popover);
    border-top: 1px solid var(--border);
    margin-top: 0;
}

.site-footer__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 48px 20px 32px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.site-footer__note {
    font-size: 14px;
    color: var(--muted-foreground);
    margin: 16px 0 0;
    max-width: 320px;
}

.site-footer__heading {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 16px;
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__links li { margin-bottom: 10px; }

.site-footer__links a {
    font-size: 15px;
    color: var(--muted-foreground);
    display: inline-flex;
    align-items: center;
    min-height: 32px;
}

.site-footer__links a:hover { color: var(--accent); }

.site-footer__badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 14px;
    border-radius: var(--radius-badge);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    background: var(--card);
}

.badge--license { border-color: rgba(232, 184, 75, 0.5); color: var(--accent); }

.badge--age {
    border-color: var(--primary);
    color: var(--primary-foreground);
    background: var(--primary);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
}

.badge--ssl { border-color: rgba(232, 184, 75, 0.35); color: var(--foreground); }

.site-footer__payments {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 24px 0;
    border-top: 1px solid rgba(74, 54, 38, 0.5);
}

.pay-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: var(--radius-badge);
    border: 1px solid var(--border);
    background: var(--card);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    filter: grayscale(1);
}

.site-footer__bottom {
    border-top: 1px solid rgba(74, 54, 38, 0.5);
    padding-top: 24px;
}

.site-footer__bottom p {
    font-size: 13px;
    color: var(--muted-foreground);
    margin: 0 0 8px;
    max-width: none;
}

@media (min-width: 768px) {
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .site-footer__inner { padding: 64px 32px 40px; }
    .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
}

/* ============================================
   MOTION - scroll reveal & stagger
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.card-grid .animate-on-scroll:nth-child(2),
.stat-grid .animate-on-scroll:nth-child(2) { transition-delay: 80ms; }

.card-grid .animate-on-scroll:nth-child(3),
.stat-grid .animate-on-scroll:nth-child(3) { transition-delay: 160ms; }

.card-grid .animate-on-scroll:nth-child(4),
.stat-grid .animate-on-scroll:nth-child(4) { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* a11y-autofix: link-in-text-block */
/* axe link-in-text-block: inline links inside body copy must be
   distinguishable without relying on color. Scope to text containers so
   nav/button/card links (already visually distinct) keep their styling. */
:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
