/*
 * ============================================
   MARTIN CASINO - DESIGN SYSTEM
   Dark obsidian theme · Marcellus + Outfit
   Mobile-first · royal blue + tangerine
   ============================================
 */

/* ============================================
   DESIGN TOKENS
   Dark theme only (no light mode toggle).
   ============================================ */
:root,
.dark {
    --background: #0c0a09;
    --background-elevated: #1c1917;
    --foreground: #fafaf9;
    --card: #1c1917;
    --card-foreground: #fafaf9;
    --popover: #1c1917;
    --popover-foreground: #fafaf9;
    --primary: #60a5fa;
    --primary-foreground: #0c0a09;
    --primary-dim: #1e3a8a;
    --secondary: #292524;
    --secondary-foreground: #fafaf9;
    --muted: #292524;
    --muted-foreground: #c7c3bf;
    --muted-border: #44403c;
    --accent: #f97316;
    --accent-foreground: #0c0a09;
    --accent-dim: #c2410c;
    --destructive: #dc2626;
    --border: #44403c;
    --ring: #60a5fa;

    --font-head: "Marcellus", Georgia, "Times New Roman", serif;
    --font-body: "Outfit", system-ui, -apple-system, sans-serif;

    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 120px;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --maxw: 1280px;
    --header-h: 72px;

    --transition: 300ms ease-out;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* In-paragraph links must be distinguishable without color alone */
p a, li a, td a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 var(--space-sm);
    color: var(--foreground);
}

h1 { font-size: clamp(32px, 6vw, 48px); }
h2 { font-size: clamp(26px, 4vw, 36px); }
h3 { font-size: clamp(20px, 3vw, 24px); }
h4 { font-size: 18px; }

p { margin: 0 0 var(--space-sm); }

ul, ol { margin: 0 0 var(--space-sm); padding-left: 1.25em; }

.section { padding: 60px 0; position: relative; overflow: clip; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-md); width: 100%; }

.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;
}

/* ============================================
   HEADER & NAVIGATION
   Sticky translucent header with macaw logo.
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(12, 10, 9, 0.95);
    border-bottom: 1px solid var(--muted-border);
}

@media (min-width: 1024px) {
    .site-header {
        background: rgba(12, 10, 9, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
}

.header-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--space-md);
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.site-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    flex-shrink: 0;
}
.site-brand:hover { text-decoration: none; }

.logo {
    border-radius: var(--radius-sm);
    background: var(--primary);
    object-fit: contain;
}

.brand-name {
    font-family: var(--font-head);
    font-size: 20px;
    color: var(--foreground);
    letter-spacing: 0.02em;
}

.primary-nav {
    display: none;
    align-items: center;
    gap: var(--space-lg);
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-list a {
    color: var(--muted-foreground);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition);
    min-height: 44px;
    display: flex;
    align-items: center;
}
.nav-list a:hover { color: var(--foreground); text-decoration: none; }

.nav-cta { display: flex; gap: var(--space-sm); }

/* ============================================
   MOBILE MENU - slide-in drawer
   ============================================ */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--muted-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}
.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--foreground);
    transition: transform var(--transition), opacity var(--transition);
}
.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);
}

#main-nav.is-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - var(--header-h));
    background: var(--background);
    z-index: 999;
    overflow-y: auto;
    padding: var(--space-lg);
    gap: var(--space-md);
    align-items: stretch;
    visibility: visible;
    transform: none;
}
#main-nav.is-open .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}
#main-nav.is-open .nav-list li { border-bottom: 1px solid var(--muted-border); }
#main-nav.is-open .nav-list a {
    min-height: 56px;
    font-size: 18px;
    padding: var(--space-sm) 0;
}
#main-nav.is-open .nav-cta {
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}
#main-nav.is-open .nav-cta button { width: 100%; min-height: 52px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary, .btn-ghost, .btn-outline-cta {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: var(--radius-sm);
    min-height: 44px;
    padding: 10px 22px;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    border: 1px solid var(--primary);
}
.btn-primary:hover {
    background: #93c5fd;
    border-color: #93c5fd;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--foreground);
    border: 1px solid var(--muted-border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-outline-cta {
    background: transparent;
    color: #93c5fd;
    border: 1px solid #93c5fd;
}
.btn-outline-cta:hover {
    background: rgba(147, 197, 253, 0.12);
    border-color: #bfdbfe;
    color: #bfdbfe;
    box-shadow: 0 0 24px rgba(96, 165, 250, 0.3);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: clip;
    padding: 80px 0 60px;
}
.hero-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--space-md);
    width: 100%;
    display: grid;
    gap: var(--space-2xl);
    align-items: center;
}
.hero h1 { margin-bottom: var(--space-md); }
.hero-text { max-width: 620px; }
.hero-sub { color: var(--muted-foreground); font-size: 18px; line-height: 1.6; margin-bottom: var(--space-lg); }
.hero-macaw {
    position: relative;
    display: flex;
    justify-content: center;
}
.hero-macaw img {
    max-height: 480px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(37, 99, 235, 0.3));
}
.hero-accent-box {
    background: var(--card);
    border: 1px solid var(--muted-border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-top: var(--space-lg);
}
.hero-accent-box .accent-label {
    color: #fdba74;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xs);
    display: block;
}
.hero-accent-box .accent-value {
    font-family: var(--font-head);
    font-size: clamp(24px, 4vw, 32px);
    color: var(--foreground);
}

/* ============================================
   STAT BLOCK COMPONENT
   ============================================ */
.stat-block-section {
    padding: 60px 0;
}
.stat-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}
.stat-item {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    background: var(--card);
    border: 1px solid var(--muted-border);
    border-radius: var(--radius-md);
    min-width: 0;
}
.stat-number {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(32px, 6vw, 44px);
    line-height: 1.1;
    margin-bottom: var(--space-xs);
}
.stat-label {
    display: block;
    font-size: 14px;
    color: var(--muted-foreground);
    letter-spacing: 0.02em;
}
.stat-tone-blue .stat-number { color: var(--primary); }
.stat-tone-tangerine .stat-number { color: var(--accent); }

/* ============================================
   CTA BANNER COMPONENT
   ============================================ */
.cta-banner-section {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(180deg, var(--background) 0%, var(--secondary) 100%);
    border-top: 1px solid var(--muted-border);
    border-bottom: 1px solid var(--muted-border);
    overflow: clip;
    text-align: center;
}
.cta-macaw-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 500px;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}
.cta-macaw-bg img { width: 100%; height: auto; }
.cta-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}
.cta-headline {
    font-size: clamp(28px, 5vw, 40px);
    margin-bottom: var(--space-sm);
}
.cta-subtext {
    color: var(--muted-foreground);
    font-size: 17px;
    margin-bottom: var(--space-lg);
}

/* ============================================
   FAQ ACCORDION COMPONENT
   ============================================ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}
.faq-item {
    border-bottom: 1px solid var(--muted-border);
}
.faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    cursor: pointer;
    list-style: none;
    min-height: 48px;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-question {
    font-family: var(--font-head);
    font-size: 18px;
    color: var(--foreground);
}
.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
    content: "";
    position: absolute;
    background: var(--primary);
    transition: transform var(--transition);
}
.faq-icon::before {
    top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%);
}
.faq-icon::after {
    left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%);
}
.faq-item[open] .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-answer {
    padding: 0 0 var(--space-md);
    color: var(--muted-foreground);
    line-height: 1.7;
}
.faq-answer p { margin: 0; }

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--card);
    border: 1px solid var(--muted-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    min-width: 0;
    transition: transform var(--transition), border-color var(--transition);
}
.card:hover {
    transform: scale(1.02);
    border-color: var(--primary);
}
.card-featured {
    border-color: var(--accent);
    border-width: 1px;
    position: relative;
}
.card-featured::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.card h3 { margin-bottom: var(--space-sm); }
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

/* ============================================
   CALLOUT / HIGHLIGHT BOX
   ============================================ */
.callout {
    background: var(--card);
    border: 1px solid var(--muted-border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}
.callout-title {
    font-family: var(--font-head);
    font-size: 18px;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}
.callout p { margin-bottom: 0; color: var(--muted-foreground); }

/* ============================================
   SUMMARY / TL;DR BOX
   ============================================ */
.tldr {
    background: var(--secondary);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}
.tldr-title {
    font-family: var(--font-head);
    font-size: 20px;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}
.tldr ul { margin: 0; padding-left: 1.25em; }
.tldr li { margin-bottom: var(--space-xs); color: var(--foreground); }

/* ============================================
   STAT HIGHLIGHT (inline)
   ============================================ */
.stat-highlight {
    display: inline-flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--muted-border);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-sm) 0;
}
.stat-highlight .sh-number {
    font-family: var(--font-head);
    font-size: 32px;
    color: var(--accent);
    line-height: 1;
}
.stat-highlight .sh-label {
    font-size: 13px;
    color: var(--muted-foreground);
    margin-top: var(--space-xs);
}

/* ============================================
   PULL QUOTE
   ============================================ */
.pullquote {
    border-left: 3px solid var(--primary);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-lg) 0;
    font-family: var(--font-head);
    font-size: 22px;
    line-height: 1.4;
    color: var(--foreground);
    font-style: italic;
}
.pullquote cite {
    display: block;
    margin-top: var(--space-sm);
    font-family: var(--font-body);
    font-size: 14px;
    font-style: normal;
    color: var(--muted-foreground);
}

/* ============================================
   TRUST BADGES ROW
   ============================================ */
.trust-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}
.trust-badge {
    background: var(--card);
    border: 1px solid var(--muted-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    min-width: 0;
}
.trust-badge .tb-icon {
    font-size: 28px;
    margin-bottom: var(--space-sm);
    display: block;
}
.trust-badge .tb-title {
    font-family: var(--font-head);
    font-size: 16px;
    color: var(--foreground);
    margin-bottom: var(--space-xs);
}
.trust-badge .tb-text {
    font-size: 13px;
    color: var(--muted-foreground);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    margin: var(--space-lg) 0;
    border: 1px solid var(--muted-border);
    border-radius: var(--radius-md);
}
.table-wrapper:focus { outline: 2px solid var(--primary); outline-offset: 2px; }
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
}
thead { background: var(--secondary); }
th, td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--muted-border);
    vertical-align: top;
}
th { color: var(--foreground); font-weight: 600; font-size: 14px; }
td { color: var(--muted-foreground); font-size: 15px; }
tbody tr:last-child td { border-bottom: none; }
.col-recommended { background: rgba(37, 99, 235, 0.08); }
.col-recommended th { color: var(--primary); }

/* ============================================
   TWO-COLUMN / ASYMMETRIC LAYOUT
   ============================================ */
.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}
.split-layout .macaw-aside {
    display: flex;
    justify-content: center;
    order: -1;
}
.split-layout .macaw-aside img {
    max-height: 360px;
    width: auto;
    filter: drop-shadow(0 15px 30px rgba(37, 99, 235, 0.25));
}

/* ============================================
   STEP LADDER
   ============================================ */
.step-ladder { display: grid; gap: var(--space-md); }
.step-item {
    background: var(--card);
    border: 1px solid var(--muted-border);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: var(--space-md);
    align-items: start;
    min-width: 0;
}
.step-num {
    font-family: var(--font-head);
    font-size: 28px;
    color: var(--primary);
    line-height: 1;
}
.step-content h3 { margin-bottom: var(--space-xs); font-size: 18px; }
.step-content p { margin: 0; color: var(--muted-foreground); }

/* ============================================
   VIP TIER LADDER
   ============================================ */
.tier-ladder { display: grid; gap: var(--space-sm); }
.tier-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--card);
    border: 1px solid var(--muted-border);
    border-radius: var(--radius-sm);
    align-items: center;
    min-width: 0;
}
.tier-item.tier-top {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--card) 0%, rgba(249, 115, 22, 0.08) 100%);
}
.tier-name { font-family: var(--font-head); font-size: 18px; color: var(--foreground); }
.tier-benefit { font-size: 14px; color: var(--muted-foreground); text-align: right; }
.tier-item.tier-top .tier-benefit { color: var(--accent); font-weight: 600; }

/* ============================================
   PROVIDER / CATEGORY CHIPS
   ============================================ */
.chip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}
.chip {
    background: var(--card);
    border: 1px solid var(--muted-border);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    text-align: center;
    font-size: 14px;
    color: var(--muted-foreground);
    min-width: 0;
}
.chip:hover { border-color: var(--primary); color: var(--foreground); }

/* ============================================
   SOCIAL PROOF
   ============================================ */
.social-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}
.proof-card {
    background: var(--card);
    border: 1px solid var(--muted-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    min-width: 0;
}
.proof-number {
    font-family: var(--font-head);
    font-size: 36px;
    color: var(--primary);
    line-height: 1;
    margin-bottom: var(--space-xs);
}
.proof-label { font-size: 14px; color: var(--muted-foreground); }

/* ============================================
   RATING BADGE
   ============================================ */
.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--card);
    border: 1px solid var(--accent);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-lg);
}
.rating-badge .rb-score {
    font-family: var(--font-head);
    font-size: 28px;
    color: var(--accent);
    line-height: 1;
}
.rating-badge .rb-label { font-size: 13px; color: var(--muted-foreground); }

/* ============================================
   SECTION WATERMARK (macaw decorative)
   ============================================ */
.section-watermark {
    position: absolute;
    pointer-events: none;
    opacity: 0.08;
    z-index: 0;
}
.section-watermark img { max-height: 280px; width: auto; }
.section-content { position: relative; z-index: 1; }

/* ============================================
   SITEMAP LIST
   ============================================ */
.sitemap-list { margin-top: var(--space-lg); }
.sitemap-item {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--muted-border);
    min-width: 0;
}
.sitemap-item:last-child { border-bottom: none; }
.sitemap-item h3 { margin-bottom: var(--space-xs); }
.sitemap-item h3 a { color: #93c5fd; text-decoration: none; }
.sitemap-item h3 a:hover { text-decoration: underline; color: #bfdbfe; }
.sitemap-item p { margin: 0; color: var(--muted-foreground); font-size: 15px; line-height: 1.7; }
.sitemap-neutral { color: var(--foreground); font-family: var(--font-head); font-size: 18px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--background-elevated);
    border-top: 1px solid var(--muted-border);
    padding: var(--space-2xl) 0 var(--space-lg);
    margin-top: var(--space-2xl);
}
.footer-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}
.footer-heading {
    font-family: var(--font-head);
    font-size: 16px;
    color: var(--foreground);
    margin-bottom: var(--space-md);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.footer-links a, .footer-links li {
    color: var(--muted-foreground);
    font-size: 14px;
    text-decoration: none;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--foreground); }
.payment-list { flex-direction: row; flex-wrap: wrap; gap: var(--space-xs) var(--space-sm); }
.payment-list li {
    background: var(--card);
    border: 1px solid var(--muted-border);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 12px;
    color: var(--muted-foreground);
}
.footer-text { font-size: 13px; color: var(--muted-foreground); margin-bottom: var(--space-sm); line-height: 1.5; }
.footer-18 { color: var(--accent); font-weight: 600; }
.footer-meta {
    max-width: var(--maxw);
    margin: var(--space-xl) auto 0;
    padding: var(--space-lg) var(--space-md) 0;
    border-top: 1px solid var(--muted-border);
    text-align: center;
}
.footer-meta p { font-size: 13px; color: var(--muted-foreground); margin: 0; }

/* ============================================
   ANIMATIONS - fade-in slide-up
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE - Tablet (768px)
   ============================================ */
@media (min-width: 768px) {
    .section { padding: 80px 0; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
    .stat-item { text-align: left; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1.2fr 1fr; }
    .split-layout { grid-template-columns: 1.4fr 1fr; }
    .split-layout .macaw-aside { order: 0; }
    .trust-row { grid-template-columns: repeat(3, 1fr); }
    .social-proof { grid-template-columns: repeat(2, 1fr); }
    .chip-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
    .cta-macaw-bg { width: 40%; }
}

/* ============================================
   RESPONSIVE - Desktop (1024px)
   ============================================ */
@media (min-width: 1024px) {
    .section { padding: 120px 0; }
    .cta-banner-section { padding: 120px 0; }
    .stat-block-section { padding: 80px 0; }

    .menu-toggle { display: none; }
    .primary-nav { display: flex; }

    .stat-grid { grid-template-columns: repeat(4, 1fr); }
    .card-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-inner { grid-template-columns: 1.1fr 1fr; gap: var(--space-3xl); }
    .hero { min-height: 80vh; padding: 100px 0 80px; }
    .trust-row { grid-template-columns: repeat(3, 1fr); }
    .chip-grid { grid-template-columns: repeat(6, 1fr); }
    .footer-inner { grid-template-columns: repeat(4, 1fr); }
    .cta-macaw-bg { width: 30%; opacity: 0.15; }
    .hero-macaw img { max-height: 560px; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .animate-on-scroll { opacity: 1; transform: none; }
}