/* ==========================================================================
   WPDefender.pro — Warm Light Design System ("Sérénité & Confiance")
   Synchronized with Google Stitch redesign (light palette, warm ink, calm UX)
   Loaded AFTER tailwind-compiled.css, style.css & corporate.css
   ========================================================================== */

:root {
    /* Stitch Light Surface Hierarchy */
    --light-primary: #9B2F00;
    --light-on-primary: #FFFFFF;
    --light-primary-container: #C2410C;
    --light-on-primary-container: #FFECE7;
    --light-secondary: #006C4E;
    --light-on-secondary: #FFFFFF;
    --light-secondary-container: #97F5CC;
    --light-on-secondary-container: #007353;
    --light-tertiary: #0051AF;
    --light-on-tertiary: #FFFFFF;
    --light-tertiary-container: #0069DE;
    --light-on-tertiary-container: #ECF0FF;
    --light-error: #BA1A1A;
    --light-on-error: #FFFFFF;
    --light-error-container: #FFDAD6;
    --light-on-error-container: #93000A;

    --light-background: #FFF8F6;
    --light-on-background: #261814;
    --light-surface: #FFF8F6;
    --light-surface-dim: #EED5CD;
    --light-surface-bright: #FFF8F6;
    --light-surface-container-lowest: #FFFFFF;
    --light-surface-container-low: #FFF1ED;
    --light-surface-container: #FFE9E3;
    --light-surface-container-high: #FCE3DB;
    --light-surface-container-highest: #F7DDD6;
    --light-on-surface: #261814;
    --light-surface-variant: #FFDBD0;
    --light-on-surface-variant: #59413A;
    --light-outline: #8D7168;
    --light-outline-variant: #E1BFB5;
    --light-inverse-surface: #3C2D28;
    --light-inverse-on-surface: #FFEDE8;
    --light-inverse-primary: #FFB59D;

    /* Mapped WPDefender Design Variables (--wd-* & --c-*) */
    --wd-bg: #FFF8F6;
    --wd-bg-0: #FFF8F6;
    --wd-bg-1: #FFFFFF;
    --wd-bg-2: #FFF1ED;
    --wd-surface: #FFFFFF;
    --wd-surface-2: #FFF1ED;
    --wd-surface-3: #FFE9E3;
    --wd-surface-hi: #FCE3DB;
    --wd-border: #E1BFB5;
    --wd-border-1: #E1BFB5;
    --wd-border-2: #D4ACA0;
    --wd-border-3: #8D7168;
    --wd-border-strong: #8D7168;

    --wd-ink: #261814;
    --wd-text: #261814;
    --wd-muted: #59413A;
    --wd-text-2: #59413A;
    --wd-dim: #8D7168;
    --wd-text-3: #8D7168;

    --wd-primary: #9B2F00;
    --wd-primary-2: #C2410C;
    --wd-primary-hover: #7F2600;
    --wd-primary-soft: rgba(194, 65, 12, 0.10);
    --wd-crimson: #9B2F00;
    --wd-flame: #C2410C;
    --wd-champagne: #59413A;

    --wd-emerald: #006C4E;
    --wd-ok: #006C4E;
    --wd-emerald-soft: #97F5CC;
    --wd-mint-soft: rgba(0, 108, 78, 0.10);
    --wd-blue: #0051AF;
    --wd-gold: #B45309;
    --wd-warn: #B45309;
    --wd-danger: #BA1A1A;
    --wd-bad: #BA1A1A;

    --wd-radius: 16px;
    --wd-radius-lg: 24px;
    --wd-radius-xl: 24px;
    --wd-nav-h: 72px;
    --wd-shadow: 0 12px 32px -12px rgba(38, 24, 20, 0.10), 0 2px 8px -2px rgba(38, 24, 20, 0.04);
    --wd-ease: cubic-bezier(0.2, 0, 0, 1);

    /* Legacy corporate.css variable compatibility */
    --c-bg: #FFF8F6;
    --c-bg-elevated: #FFF8F6;
    --c-surface: #FFFFFF;
    --c-surface-2: #FFF1ED;
    --c-surface-3: #FFE9E3;
    --c-line: #E1BFB5;
    --c-line-2: #D4ACA0;
    --c-line-strong: #8D7168;
    --c-ink: #261814;
    --c-text: #261814;
    --c-text-soft: #59413A;
    --c-muted: #59413A;
    --c-dim: #8D7168;
    --c-accent: #9B2F00;
    --c-accent-2: #C2410C;
    --c-accent-hover: #7F2600;
    --c-accent-light: #C2410C;
    --c-accent-soft: #FFECE7;
    --c-success: #006C4E;
    --c-success-light: #007353;
    --c-warning: #B45309;
    --c-danger: #BA1A1A;
    --c-shadow: 0 12px 30px -10px rgba(38, 24, 20, 0.10);
    --c-radius: 16px;
    --c-radius-lg: 24px;
    --c-radius-sm: 10px;
    --wd-line: #E1BFB5;
    --wd-line-2: #D4ACA0;
    --color-brand-500: #C2410C;
    --color-brand-600: #9B2F00;
    --color-shield-400: #007353;
    --color-shield-500: #006C4E;

    color-scheme: light;
}

/* ---------- Base Reset & Global Light Surface ---------- */
html {
    background-color: #FFF8F6;
    color: #261814;
    scroll-behavior: smooth;
    font-family: 'Instrument Sans', 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #FFF8F6 !important;
    background-image: none !important;
    color: #261814 !important;
    font-family: 'Instrument Sans', 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: clip;
}

body::before,
body::after,
.hero-blob,
.scan-line {
    display: none !important;
}

h1, h2, h3, .font-display, .font-headline {
    font-family: 'Red Hat Text', 'Instrument Sans', system-ui, -apple-system, sans-serif;
    color: #261814;
}

.font-title, .font-body, .font-label {
    font-family: 'Instrument Sans', system-ui, -apple-system, sans-serif;
}

code, pre, .font-mono, .mono-nums {
    font-family: 'Spline Sans Mono', 'JetBrains Mono', ui-monospace, monospace;
}

::selection {
    background: rgba(194, 65, 12, 0.18);
    color: #261814;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #FFF8F6; }
::-webkit-scrollbar-thumb { background: #E1BFB5; border-radius: 999px; border: 2px solid #FFF8F6; }
::-webkit-scrollbar-thumb:hover { background: #8D7168; }

.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Scroll Progress Bar ---------- */
.aegis-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 90;
    pointer-events: none;
    background: transparent;
}
.aegis-scroll-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #9B2F00, #C2410C);
    transition: width 0.1s linear;
}

/* ---------- Skip Navigation Link ---------- */
.skip-nav {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 100;
    padding: 10px 18px;
    border-radius: 9999px;
    background: #9B2F00;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.skip-nav:focus {
    left: 16px;
}

/* ==========================================================================
   STITCH DESIGN TOKENS & UTILITY CLASSES (unlayered for clean priority)
   ========================================================================== */

/* Colors */
.bg-light-surface { background-color: #FFF8F6; }
.bg-light-background { background-color: #FFF8F6; }
.bg-light-surface-dim { background-color: #EED5CD; }
.bg-light-surface-container-lowest { background-color: #FFFFFF; }
.bg-light-surface-container-low { background-color: #FFF1ED; }
.bg-light-surface-container { background-color: #FFE9E3; }
.bg-light-surface-container-high { background-color: #FCE3DB; }
.bg-light-surface-container-highest { background-color: #F7DDD6; }
.bg-light-surface-variant { background-color: #FFDBD0; }
.bg-light-primary { background-color: #9B2F00; }
.bg-light-primary-container { background-color: #C2410C; }
.bg-light-secondary { background-color: #006C4E; }
.bg-light-secondary-container { background-color: #97F5CC; }
.bg-light-tertiary { background-color: #0051AF; }
.bg-light-tertiary-container { background-color: #0069DE; }
.bg-light-error { background-color: #BA1A1A; }
.bg-light-error-container { background-color: #FFDAD6; }
.bg-light-inverse-surface { background-color: #3C2D28; }
.bg-transparent { background-color: transparent; }

.hover\:bg-light-primary:hover { background-color: #9B2F00; }
.hover\:bg-light-primary-container:hover { background-color: #C2410C; }
.hover\:bg-light-surface-container:hover { background-color: #FFE9E3; }
.hover\:bg-light-surface-container-low:hover { background-color: #FFF1ED; }

.text-light-on-surface { color: #261814; }
.text-light-on-background { color: #261814; }
.text-light-on-surface-variant { color: #59413A; }
.text-light-outline { color: #8D7168; }
.text-light-primary { color: #9B2F00; }
.text-light-on-primary { color: #FFFFFF; }
.text-light-primary-container { color: #C2410C; }
.text-light-on-primary-container { color: #FFECE7; }
.text-light-secondary { color: #006C4E; }
.text-light-on-secondary { color: #FFFFFF; }
.text-light-on-secondary-container { color: #007353; }
.text-light-tertiary { color: #0051AF; }
.text-light-on-tertiary { color: #FFFFFF; }
.text-light-error { color: #BA1A1A; }
.text-light-on-error-container { color: #93000A; }
.text-light-inverse-on-surface { color: #FFEDE8; }
.hover\:text-light-on-surface:hover { color: #261814; }
.hover\:text-light-primary:hover { color: #9B2F00; }
.placeholder\:text-light-outline::placeholder { color: #8D7168; opacity: 1; }

.border-light-outline { border-color: #8D7168; }
.border-light-outline-variant { border-color: #E1BFB5; }
.border-light-primary { border-color: #9B2F00; }
.border-light-primary-container { border-color: #C2410C; }
.border-light-secondary { border-color: #006C4E; }
.border-light-error { border-color: #BA1A1A; }
.border-0 { border-width: 0px; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; border-style: solid; }

.focus\:ring-0:focus { --tw-ring-shadow: 0 0 #0000; box-shadow: none; outline: none; }
.focus\:ring-light-secondary:focus { --tw-ring-color: #006C4E; outline: none; box-shadow: 0 0 0 2px rgba(0, 108, 78, 0.25); }
.focus-within\:border-light-primary:focus-within { border-color: #9B2F00; }
.focus-within\:ring-2:focus-within { box-shadow: 0 0 0 2px rgba(155, 47, 0, 0.16); }
.focus-within\:ring-light-primary\/20:focus-within { box-shadow: 0 0 0 3px rgba(155, 47, 0, 0.18); }

/* Stitch Type Scale */
.text-display-lg { font-size: 48px; line-height: 56px; letter-spacing: -0.75px; font-weight: 700; }
.text-display-lg-mobile { font-size: 32px; line-height: 38px; letter-spacing: -0.5px; font-weight: 700; }
.text-headline-lg { font-size: 36px; line-height: 44px; letter-spacing: -0.5px; font-weight: 700; }
.text-headline-lg-mobile { font-size: 28px; line-height: 34px; letter-spacing: -0.25px; font-weight: 700; }
.text-headline-md { font-size: 26px; line-height: 32px; letter-spacing: -0.25px; font-weight: 600; }
.text-title-lg { font-size: 20px; line-height: 28px; letter-spacing: 0px; font-weight: 600; }
.text-title-md { font-size: 16px; line-height: 24px; letter-spacing: 0px; font-weight: 600; }
.text-body-lg { font-size: 18px; line-height: 28px; letter-spacing: 0px; font-weight: 400; }
.text-body-md { font-size: 15px; line-height: 24px; letter-spacing: 0px; font-weight: 400; }
.text-label-lg { font-size: 14px; line-height: 20px; letter-spacing: 0.1px; font-weight: 600; }
.text-label-sm { font-size: 12px; line-height: 16px; letter-spacing: 0.25px; font-weight: 600; }
.text-mono-md { font-size: 14px; line-height: 20px; letter-spacing: 0px; font-weight: 500; }
.tabular-nums { font-variant-numeric: tabular-nums; }
.line-through { text-decoration-line: line-through; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.max-w-prose { max-width: 65ch; }

/* Stitch Spacing Scale */
.p-gutter-xs { padding: 4px; }
.p-gutter-sm { padding: 8px; }
.p-gutter-md { padding: 16px; }
.p-gutter-lg { padding: 24px; }
.p-gutter-xl { padding: 32px; }
.px-gutter-sm { padding-left: 8px; padding-right: 8px; }
.px-gutter-md { padding-left: 16px; padding-right: 16px; }
.px-gutter-lg { padding-left: 24px; padding-right: 24px; }
.px-gutter-xl { padding-left: 32px; padding-right: 32px; }
.py-gutter-xs { padding-top: 4px; padding-bottom: 4px; }
.py-gutter-sm { padding-top: 8px; padding-bottom: 8px; }
.py-gutter-md { padding-top: 16px; padding-bottom: 16px; }
.py-gutter-lg { padding-top: 24px; padding-bottom: 24px; }
.py-gutter-xl { padding-top: 32px; padding-bottom: 32px; }
.pt-gutter-xs { padding-top: 4px; }
.pt-gutter-sm { padding-top: 8px; }
.pt-gutter-md { padding-top: 16px; }
.pt-gutter-lg { padding-top: 24px; }
.pt-gutter-xl { padding-top: 32px; }
.pb-gutter-lg { padding-bottom: 24px; }
.pb-gutter-xl { padding-bottom: 32px; }
.pl-gutter-md { padding-left: 16px; }
.pb-0 { padding-bottom: 0 !important; }
.px-page-margin { padding-left: 24px; padding-right: 24px; }
.mt-gutter-sm { margin-top: 8px; }
.mt-gutter-xl { margin-top: 32px; }
.gap-gutter-xs { gap: 4px; }
.gap-gutter-sm { gap: 8px; }
.gap-gutter-md { gap: 16px; }
.gap-gutter-lg { gap: 24px; }
.gap-gutter-xl { gap: 32px; }
.gap-x-gutter-xl { column-gap: 32px; }
.gap-y-gutter-sm { row-gap: 8px; }

/* Stitch Radii & Elevation */
.rounded-sm { border-radius: 6px; }
.rounded { border-radius: 12px; }
.rounded-md { border-radius: 12px; }
.rounded-lg { border-radius: 16px; }
.rounded-xl { border-radius: 24px; }
.rounded-full { border-radius: 9999px; }
.shadow-sm { box-shadow: 0 1px 3px 0 rgba(38, 24, 20, 0.06), 0 1px 2px -1px rgba(38, 24, 20, 0.04); }
.shadow-md { box-shadow: 0 10px 28px -8px rgba(38, 24, 20, 0.10), 0 4px 10px -4px rgba(38, 24, 20, 0.05); }

/* Sizing, Positioning & Transitions */
.w-9 { width: 2.25rem; }
.h-9 { height: 2.25rem; }
.w-11 { width: 2.75rem; }
.h-11 { height: 2.75rem; }
.h-\[72px\] { height: 72px; }
.w-fit { width: fit-content; }
.min-h-\[1024px\] { min-height: 1024px; }
.z-30 { z-index: 30; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }
.self-end { align-self: flex-end; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.duration-state-change { transition-duration: 150ms; transition-timing-function: ease-out; }
.transition-opacity { transition-property: opacity; transition-timing-function: ease-out; transition-duration: 150ms; }
.hover\:opacity-95:hover { opacity: 0.95; }
.hover\:underline:hover { text-decoration-line: underline; }

/* Arbitrary font sizes for Material Symbols & small badges */
.text-\[10px\] { font-size: 10px !important; }
.text-\[11px\] { font-size: 11px !important; }
.text-\[15px\] { font-size: 15px !important; }
.text-\[16px\] { font-size: 16px !important; }
.text-\[18px\] { font-size: 18px !important; }
.text-\[19px\] { font-size: 19px !important; }
.text-\[20px\] { font-size: 20px !important; }
.text-\[22px\] { font-size: 22px !important; }
.text-\[24px\] { font-size: 24px !important; }
.text-\[28px\] { font-size: 28px !important; }

/* Material Symbols icon sizing parity with Stitch */
.material-symbols-outlined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    line-height: 1 !important;
    box-sizing: content-box;
    overflow: hidden;
    white-space: nowrap;
    direction: ltr;
    vertical-align: middle;
}

/* Responsive Breakpoints for Stitch Classes */
@media (min-width: 640px) {
    .sm\:inline { display: inline; }
    .sm\:hidden { display: none; }
    .sm\:inline-flex { display: inline-flex; }
    .sm\:px-gutter-md { padding-left: 16px; padding-right: 16px; }
}
@media (min-width: 768px) {
    .md\:py-section { padding-top: 64px; padding-bottom: 64px; }
    .md\:text-display-lg { font-size: 48px; line-height: 56px; letter-spacing: -0.75px; font-weight: 700; }
    .md\:text-headline-lg { font-size: 36px; line-height: 44px; letter-spacing: -0.5px; font-weight: 700; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .lg\:col-span-5 { grid-column: span 5 / span 5; }
    .lg\:col-span-6 { grid-column: span 6 / span 6; }
    .lg\:col-span-7 { grid-column: span 7 / span 7; }
}

/* FAQ <details> clean Chevron animation (Stitch style) */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details[open] .faq-expand-icon { transform: rotate(180deg); }
.faq-expand-icon { transition: transform 180ms ease-out; }

/* ==========================================================================
   SHARED STICKY HEADER & NAVIGATION (.nav-glass / #mainNav)
   ========================================================================== */
.nav-glass {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    height: var(--wd-nav-h);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid #E1BFB5;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.nav-glass.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 24px -12px rgba(38, 24, 20, 0.12);
}

.nav-inner,
.nav-container {
    height: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #C2410C;
    border: none;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px -4px rgba(194, 65, 12, 0.45);
}

.nav-logo-text {
    font-family: 'Red Hat Text', 'Instrument Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #261814;
    line-height: 1.2;
}
.nav-logo-text .white { color: #261814; }
.nav-logo-text .brand-accent,
.nav-logo-text .accent { color: #9B2F00; }

.nav-links {
    display: none;
    align-items: center;
    gap: 24px;
}
@media (min-width: 900px) {
    .nav-links { display: flex; }
}

.nav-link {
    position: relative;
    padding: 6px 2px;
    font-size: 14px;
    font-weight: 600;
    color: #59413A;
    text-decoration: none;
    transition: color 0.15s ease-out;
    white-space: nowrap;
}
.nav-link:hover {
    color: #9B2F00;
}
.nav-link.active {
    color: #9B2F00;
    font-weight: 700;
}
.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 99px;
    background: #9B2F00;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-btn-login {
    width: 38px;
    height: 38px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFF1ED;
    border: 1px solid #E1BFB5;
    color: #59413A;
    text-decoration: none;
    transition: all 0.15s ease-out;
}
.nav-btn-login:hover {
    background: #FFE9E3;
    border-color: #8D7168;
    color: #261814;
}

.nav-btn-cta {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 9999px;
    background: #9B2F00;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(155, 47, 0, 0.18);
    transition: background-color 0.15s ease-out, transform 0.15s ease-out;
    white-space: nowrap;
}
@media (min-width: 640px) {
    .nav-btn-cta { display: inline-flex; }
}
.nav-btn-cta:hover {
    background: #C2410C;
    color: #FFFFFF;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 11px;
    border-radius: 9999px;
    border: 1px solid #E1BFB5;
    background: #FFF8F6;
    color: #59413A;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease-out;
}
.lang-switcher:hover {
    background: #FFE9E3;
    border-color: #8D7168;
    color: #261814;
}

.mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #E1BFB5;
    background: #FFF1ED;
    color: #261814;
    cursor: pointer;
}
@media (min-width: 900px) {
    .mobile-menu-btn { display: none; }
}
@media (max-width: 639px) {
    .nav-inner,
    .nav-container {
        padding: 0 14px;
        gap: 8px;
    }
    .nav-logo { gap: 8px; min-width: 0; }
    .nav-logo-icon { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; }
    .nav-logo-text { font-size: 17px; }
    .nav-actions { gap: 6px; }
    .nav-btn-login { width: 34px; height: 34px; }
    .lang-switcher { padding: 5px 9px; font-size: 11px; }
    .mobile-menu-btn { width: 36px; height: 36px; }
}

.mobile-menu {
    display: none;
    background: #FFFFFF;
    border-bottom: 1px solid #E1BFB5;
    box-shadow: 0 18px 40px -16px rgba(38, 24, 20, 0.18);
    padding: 16px 24px 22px;
}
.mobile-menu.open {
    display: block;
}
.mobile-menu-link {
    display: block;
    padding: 11px 14px;
    border-radius: 12px;
    color: #261814;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}
.mobile-menu-link:hover {
    background: #FFF1ED;
    color: #9B2F00;
}
.mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 18px;
    border-radius: 9999px;
    background: #9B2F00;
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

/* ==========================================================================
   SHARED FOOTER (.site-footer) — Match Stitch Light Footer
   ========================================================================== */
.site-footer {
    background: #FFF1ED !important;
    border-top: 1px solid #E1BFB5 !important;
    color: #59413A !important;
    padding: 52px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
        gap: 32px;
    }
}

.footer-desc {
    color: #59413A;
    font-size: 14px;
    line-height: 1.65;
    max-width: 340px;
}

.footer-col h3 {
    margin: 0 0 14px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #261814;
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-col a {
    color: #59413A;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.15s ease-out;
}
.footer-col a:hover {
    color: #9B2F00;
}

.footer-bottom {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #E1BFB5;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    color: #8D7168;
}
@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-bottom-links a {
    color: #59413A;
    text-decoration: none;
}
.footer-bottom-links a:hover {
    color: #9B2F00;
}

/* ---------- Cookie Consent Banner ---------- */
.cookie-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 65;
    max-width: 720px;
    margin: 0 auto;
    padding: 18px 20px;
    border-radius: 16px;
    background: #FFFFFF !important;
    border: 1px solid #E1BFB5 !important;
    color: #261814 !important;
    box-shadow: 0 20px 50px -15px rgba(38, 24, 20, 0.22);
    transform: translateY(140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.cookie-consent.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.cookie-consent-title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #261814;
}
.cookie-consent-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #59413A;
}

/* ---------- Toast & Scroll-Top ---------- */
.toast-container {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 75;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    background: #FFFFFF;
    border: 1px solid #E1BFB5;
    color: #261814;
    box-shadow: 0 14px 30px -10px rgba(38, 24, 20, 0.2);
    pointer-events: auto;
    transform: translateY(16px);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }

.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 55;
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    background: #FFFFFF;
    border: 1px solid #E1BFB5;
    color: #59413A;
    box-shadow: 0 6px 18px -6px rgba(38, 24, 20, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: #FFF1ED; border-color: #9B2F00; color: #9B2F00; }

/* ==========================================================================
   SHARED CARDS, CONTAINERS & SECTIONS (Light Adaptation)
   ========================================================================== */
.container {
    width: 100%;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.spotlight-card {
    background: #FFFFFF;
    border: 1px solid #E1BFB5;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 4px 16px -6px rgba(38, 24, 20, 0.06);
    transition: transform 0.22s var(--wd-ease), box-shadow 0.22s ease, border-color 0.22s ease;
}
.spotlight-card::before {
    display: none !important;
}
.spotlight-card:hover {
    border-color: #C2410C;
    box-shadow: 0 14px 32px -12px rgba(38, 24, 20, 0.10);
}

.cta-panel {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF1ED 100%) !important;
    border: 1px solid #E1BFB5 !important;
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    color: #261814;
    box-shadow: 0 12px 32px -12px rgba(38, 24, 20, 0.08);
}
@media (max-width: 639px) {
    .cta-panel { padding: 32px 20px; }
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s var(--wd-ease), transform 0.45s var(--wd-ease);
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

.wd-section { padding: 64px 0; }
.wd-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 9999px;
    background: #FFE9E3;
    border: 1px solid #E1BFB5;
    color: #9B2F00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.wd-h2 {
    margin: 12px 0 0;
    font-family: 'Red Hat Text', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #261814;
}
.wd-lead {
    margin: 12px 0 0;
    font-size: 17px;
    line-height: 1.65;
    color: #59413A;
}

.text-brand-400,
.text-brand-500 { color: #C2410C !important; }
.text-brand-600 { color: #9B2F00 !important; }
.text-shield-400,
.text-shield-500 { color: #006C4E !important; }
.bg-brand-600 { background-color: #9B2F00 !important; }
.bg-brand-500 { background-color: #C2410C !important; }
.bg-shield-500 { background-color: #006C4E !important; }

.hero-badge,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 600;
    background: #FFF1ED;
    border: 1px solid #E1BFB5;
    color: #59413A;
}
.badge-brand {
    background: #FFECE7;
    border-color: rgba(194, 65, 12, 0.35);
    color: #9B2F00;
}

.gradient-text {
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    color: #9B2F00 !important;
}
.glow-emerald,
.dashboard-glow {
    box-shadow: var(--wd-shadow) !important;
}
