/* ═══════════════════════════════════════════════════════
   iPendio Design System — Spend Intelligence Platform
   Brand Brief: Sharp · Analytical · Trustworthy · Modern
   Palette: Forest #1B4332 · Coral #E07A5F · Cream #F4F1DE
   Fonts: Sora (headings) + DM Sans (body)
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── Tokens ───────────────────────────────────────── */
:root {
    --clr-forest: #1B4332;
    --clr-forest-deep: #0F2B20;
    --clr-emerald: #2D6A4F;
    --clr-sage: #40916C;
    --clr-mint: #74C69D;
    --clr-coral: #E07A5F;
    --clr-coral-light: #F2A68D;
    --clr-coral-deep: #C9563A;
    --clr-cream: #F4F1DE;
    --clr-cream-soft: #FAF8F0;
    --clr-sand: #E8E4D0;
    --clr-charcoal: #1A1A2E;
    --clr-slate: #3D405B;
    --clr-muted: #6B7280;
    --clr-light-gray: #F0EFEB;
    --clr-white: #FFFFFF;
    --clr-success: #10B981;
    --clr-warning: #F59E0B;
    --clr-danger: #EF4444;

    --grad-hero: linear-gradient(160deg, var(--clr-forest-deep) 0%, var(--clr-forest) 40%, var(--clr-emerald) 100%);
    --grad-coral: linear-gradient(135deg, var(--clr-coral) 0%, var(--clr-coral-deep) 100%);
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    --grad-card: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 100%);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.16), 0 8px 20px rgba(0, 0, 0, 0.08);
    --shadow-coral: 0 8px 30px rgba(224, 122, 95, 0.3);
    --shadow-forest: 0 8px 30px rgba(27, 67, 50, 0.25);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --font-head: 'Sora', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 2rem;
    --fs-3xl: 2.5rem;
    --fs-4xl: 3.25rem;
    --fs-5xl: 4rem;

    --nav-h: 72px;
    --max-w: 1200px;
    --max-w-narrow: 800px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--clr-charcoal);
    background: var(--clr-cream-soft);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-charcoal);
}

/* ── Utilities ────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.section-eyebrow {
    font-family: var(--font-head);
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--clr-coral);
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: var(--fs-3xl);
    margin-bottom: 16px;
}

.section-desc {
    font-size: var(--fs-md);
    color: var(--clr-muted);
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-head);
    font-size: var(--fs-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--grad-coral);
    color: var(--clr-white);
    box-shadow: var(--shadow-coral);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(224, 122, 95, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--clr-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline {
    background: transparent;
    color: var(--clr-forest);
    border: 2px solid var(--clr-forest);
}

.btn-outline:hover {
    background: var(--clr-forest);
    color: var(--clr-white);
}

/* ── Navbar ───────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(27, 67, 50, 0.92);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    font-family: var(--font-head);
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--clr-white);
    letter-spacing: -0.5px;
}

.nav-logo span {
    color: var(--clr-coral);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.nav-links a:hover {
    color: var(--clr-white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-coral);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px !important;
    font-size: var(--fs-xs) !important;
    background: var(--grad-coral) !important;
    color: var(--clr-white) !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-coral);
}

/* Mobile nav */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-white);
    transition: var(--transition);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: rgba(27, 67, 50, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        transform: translateY(-120%);
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
    }
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
            rgba(15, 43, 32, 0.92) 0%,
            rgba(27, 67, 50, 0.85) 40%,
            rgba(45, 106, 79, 0.78) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding-top: var(--nav-h);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--clr-mint);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero h1 {
    font-size: var(--fs-5xl);
    color: var(--clr-white);
    margin-bottom: 20px;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.hero h1 em {
    font-style: normal;
    color: var(--clr-coral);
}

.hero-sub {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* floating shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
    background: var(--clr-coral);
}

.hero-shapes .s1 {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -80px;
}

.hero-shapes .s2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: 10%;
    background: var(--clr-mint);
}

.hero-shapes .s3 {
    width: 180px;
    height: 180px;
    top: 40%;
    right: 20%;
    background: var(--clr-white);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: var(--fs-3xl);
        letter-spacing: -0.5px;
    }

    .hero-sub {
        font-size: var(--fs-base);
    }
}

/* ── Stats Bar ────────────────────────────────────── */
.stats-bar {
    background: var(--clr-white);
    padding: 0;
    position: relative;
    z-index: 5;
    margin-top: -60px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.stats-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    padding: 40px 24px;
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: var(--clr-sand);
}

.stat-number {
    font-family: var(--font-head);
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--clr-forest);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: var(--fs-sm);
    color: var(--clr-muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-bar .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .stat-number {
        font-size: var(--fs-2xl);
    }
}

/* ── Cards (generic) ─────────────────────────────── */
.card {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.08), rgba(45, 106, 79, 0.06));
}

.card h3 {
    font-size: var(--fs-lg);
    margin-bottom: 12px;
}

.card p {
    color: var(--clr-muted);
    font-size: var(--fs-sm);
    line-height: 1.7;
}

/* services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ── How It Works ─────────────────────────────────── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-sand), var(--clr-coral), var(--clr-sand));
}

.step {
    text-align: center;
    position: relative;
}

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--grad-coral);
    color: var(--clr-white);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: var(--fs-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-coral);
}

.step h3 {
    font-size: var(--fs-md);
    margin-bottom: 8px;
}

.step p {
    font-size: var(--fs-sm);
    color: var(--clr-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ── About Section ────────────────────────────────── */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-text h2 {
    font-size: var(--fs-3xl);
    margin-bottom: 16px;
}

.about-text p {
    color: var(--clr-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-meta {
    display: flex;
    gap: 32px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--clr-sand);
}

.about-meta div strong {
    display: block;
    font-family: var(--font-head);
    font-size: var(--fs-xl);
    color: var(--clr-forest);
}

.about-meta div span {
    font-size: var(--fs-sm);
    color: var(--clr-muted);
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.team-card {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 3px solid var(--clr-mint);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h4 {
    font-size: var(--fs-md);
    margin-bottom: 4px;
}

.team-card .role {
    font-size: var(--fs-xs);
    color: var(--clr-coral);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.team-card p {
    font-size: var(--fs-sm);
    color: var(--clr-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-layout {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Communication Transparency ───────────────────── */
.transparency-section {
    background: var(--clr-forest-deep);
    color: var(--clr-white);
}

.transparency-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.transparency-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.transparency-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.transparency-card h3 {
    color: var(--clr-coral-light);
    font-size: var(--fs-lg);
    margin-bottom: 14px;
}

.transparency-card p,
.transparency-card li {
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--fs-sm);
    line-height: 1.7;
}

.transparency-card ul {
    padding-left: 0;
}

.transparency-card li {
    padding: 4px 0 4px 20px;
    position: relative;
}

.transparency-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--clr-mint);
    font-weight: 700;
}

@media (max-width: 600px) {
    .transparency-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Infrastructure ───────────────────────────────── */
.infra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.infra-card {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    text-align: center;
}

.infra-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.infra-icon {
    font-size: 32px;
    margin-bottom: 14px;
}

.infra-card h4 {
    font-size: var(--fs-base);
    margin-bottom: 8px;
}

.infra-card p {
    font-size: var(--fs-sm);
    color: var(--clr-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .infra-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .infra-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Email Practices ─────────────────────────────── */
.practices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.practice-item {
    display: flex;
    gap: 14px;
    padding: 20px;
    background: var(--clr-cream-soft);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-sand);
    transition: var(--transition);
}

.practice-item:hover {
    border-color: var(--clr-sage);
}

.practice-item .pi-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--clr-forest);
    color: var(--clr-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.practice-item h4 {
    font-size: var(--fs-sm);
    margin-bottom: 4px;
}

.practice-item p {
    font-size: var(--fs-xs);
    color: var(--clr-muted);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .practices-grid {
        grid-template-columns: 1fr;
    }
}

/* ── CTA Section ──────────────────────────────────── */
.cta-section {
    background: var(--grad-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(224, 122, 95, 0.08);
    top: -200px;
    right: -100px;
}

.cta-section h2 {
    color: var(--clr-white);
    font-size: var(--fs-3xl);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--fs-md);
    max-width: 560px;
    margin: 0 auto 36px;
}

/* ── Footer ───────────────────────────────────────── */
.footer {
    background: var(--clr-charcoal);
    color: rgba(255, 255, 255, 0.65);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    margin-top: 12px;
    font-size: var(--fs-sm);
    line-height: 1.7;
    max-width: 300px;
}

.footer h5 {
    color: var(--clr-white);
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul a {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.55);
}

.footer ul a:hover {
    color: var(--clr-coral-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.4);
}

.footer-contact-info {
    font-size: var(--fs-sm);
    line-height: 1.8;
    margin-top: 16px;
}

.footer-contact-info a {
    color: var(--clr-coral-light);
}

.footer-contact-info a:hover {
    color: var(--clr-coral);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Cookie Banner ────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--clr-charcoal);
    color: rgba(255, 255, 255, 0.8);
    padding: 18px 24px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

.cookie-banner.show {
    display: block;
}

.cookie-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-inner p {
    font-size: var(--fs-sm);
    flex: 1;
}

.cookie-inner p a {
    color: var(--clr-coral-light);
    text-decoration: underline;
}

.cookie-accept {
    padding: 10px 24px;
    background: var(--clr-coral);
    color: var(--clr-white);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-head);
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.cookie-accept:hover {
    background: var(--clr-coral-deep);
}

@media (max-width: 600px) {
    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ── Legal Pages ──────────────────────────────────── */
.legal-hero {
    background: var(--grad-hero);
    padding: 140px 0 60px;
    text-align: center;
}

.legal-hero h1 {
    color: var(--clr-white);
    font-size: var(--fs-3xl);
    margin-bottom: 8px;
}

.legal-hero .date {
    color: rgba(255, 255, 255, 0.55);
    font-size: var(--fs-sm);
}

.legal-content {
    max-width: var(--max-w-narrow);
    margin: 0 auto;
    padding: 60px 24px 100px;
}

.legal-content .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--clr-coral);
    font-weight: 600;
    font-size: var(--fs-sm);
    margin-bottom: 40px;
}

.legal-content .back-link:hover {
    color: var(--clr-coral-deep);
}

.legal-content h2 {
    font-size: var(--fs-xl);
    color: var(--clr-forest);
    margin: 40px 0 14px;
    padding-top: 16px;
    border-top: 1px solid var(--clr-sand);
}

.legal-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.legal-content h3 {
    font-size: var(--fs-md);
    margin: 24px 0 10px;
    color: var(--clr-slate);
}

.legal-content p {
    color: var(--clr-slate);
    margin-bottom: 14px;
    line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
    padding-left: 24px;
    margin-bottom: 14px;
}

.legal-content ul {
    list-style: disc;
}

.legal-content ol {
    list-style: decimal;
}

.legal-content li {
    color: var(--clr-slate);
    margin-bottom: 6px;
    line-height: 1.7;
}

.legal-content a {
    color: var(--clr-coral);
    font-weight: 500;
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--clr-coral-deep);
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: var(--fs-sm);
}

.legal-content th,
.legal-content td {
    padding: 12px 16px;
    border: 1px solid var(--clr-sand);
    text-align: left;
}

.legal-content th {
    background: var(--clr-light-gray);
    font-weight: 600;
    color: var(--clr-forest);
}

.legal-content strong {
    color: var(--clr-charcoal);
}

/* ── Trust Center Grid ────────────────────────────── */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.trust-card {
    background: var(--clr-cream-soft);
    border: 1px solid var(--clr-sand);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
}

.trust-card:hover {
    border-color: var(--clr-sage);
    box-shadow: var(--shadow-sm);
}

.trust-card h3 {
    font-size: var(--fs-base);
    margin-bottom: 10px;
    color: var(--clr-forest);
}

@media (max-width: 600px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Contact Page ─────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin: 32px 0;
}

.contact-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-sand);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
}

.contact-card h3 {
    font-size: var(--fs-lg);
    color: var(--clr-forest);
    margin-bottom: 12px;
}

.contact-card p {
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Notification Preferences ─────────────────────── */
.pref-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.pref-table th,
.pref-table td {
    padding: 14px 18px;
    border: 1px solid var(--clr-sand);
    text-align: left;
    font-size: var(--fs-sm);
}

.pref-table th {
    background: var(--clr-forest);
    color: var(--clr-white);
    font-weight: 600;
}

.pref-table tr:nth-child(even) {
    background: var(--clr-cream-soft);
}

.pref-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: 600;
}

.pref-badge.essential {
    background: rgba(27, 67, 50, 0.1);
    color: var(--clr-forest);
}

.pref-badge.optional {
    background: rgba(224, 122, 95, 0.1);
    color: var(--clr-coral);
}

/* ── 404 Page ─────────────────────────────────────── */
.page-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--grad-hero);
    padding: 40px;
}

.page-404 h1 {
    font-size: 8rem;
    color: var(--clr-coral);
    line-height: 1;
    margin-bottom: 12px;
}

.page-404 h2 {
    color: var(--clr-white);
    font-size: var(--fs-2xl);
    margin-bottom: 16px;
}

.page-404 p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
    max-width: 440px;
}

/* ── Animations ───────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* stagger */
.stagger>*:nth-child(1) {
    transition-delay: 0s;
}

.stagger>*:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger>*:nth-child(3) {
    transition-delay: 0.2s;
}

.stagger>*:nth-child(4) {
    transition-delay: 0.3s;
}

.stagger>*:nth-child(5) {
    transition-delay: 0.4s;
}

.stagger>*:nth-child(6) {
    transition-delay: 0.5s;
}

.stagger>*:nth-child(7) {
    transition-delay: 0.6s;
}

/* ── Scroll progress bar ─────────────────────────── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--grad-coral);
    z-index: 1001;
    transition: width 0.1s linear;
}