/*
 *   Conjured Upon This Day, Thu Apr 02 2026
 *
 *   From his finger tips, through his IDE to your deployment environment at full throttle with no bugs, loss of data,
 *   fluctuations, signal interference, or doubt—it can only be
 *
 *   ███╗   ███╗ ██████╗ ██████╗ ████████╗██╗███╗   ██╗
 *   ████╗ ████║██╔═══██╗██╔══██╗╚══██╔══╝██║████╗  ██║
 *   ██╔████╔██║███████║║██████╔╝   ██║   ██║██╔██╗ ██║
 *   ██║╚██╔╝██║██╔══██║ ██╔══██╗   ██║   ██║██║╚██╗██║
 *   ██║ ╚═╝ ██║██║  ██║ ██║  ██║   ██║   ██║██║ ╚████║
 *   ╚═╝     ╚═╝╚═╝  ╚═╝ ╚═╝  ╚═╝   ╚═╝   ╚═╝╚═╝  ╚═══╝
 *   M B I T H I — The Legendary Coding Wizard 
 *
 *   📧  martin@devlan.co.ke
 *   🌐  www.martmbithi.github.io
 *   🐙  https://github.com/MartMbithi
 *
 *   If this code works, you're welcome.
 *   If it doesn't, it's a feature you haven't understood yet.
 *
 *   
 *   ╔══════════════════════════════════════════════════════════════╗
 *   ║              DEVLAN SOLUTIONS LTD                            ║
 *   ║       www.devlan.co.ke | hello@devlan.co.ke                  ║
 *   ╚══════════════════════════════════════════════════════════════╝
 *
 *   ┌─────────────────────────────────────────────────────────────┐
 *   │  THE DEVLAN SOLUTIONS LTD ULTRA MEGA SUPREME ELITE™         │
 *   │  END-USER LICENSE AGREEMENT (EULA) v4.2.0-final-FINAL-v2    │
 *   │  Copyright (c) 2022 Devlan Solutions LTD                    │
 *   │  All Rights Reserved. Yes, ALL of them. Even that one.      │
 *   └─────────────────────────────────────────────────────────────┘
 *
 *   By scrolling past this wall of text you definitely won't read,
 *   you agree to mass surveillance— just kidding. Or are we?
 *
 *
 *    1. LICENSE GRANT (a.k.a. 'YOU MAY TOUCH, BUT GENTLY')
 *
 *   Subject to the terms herein, and contingent upon you being a
 *   sentient carbon-based lifeform (sorry, AI bots—get your own),
 *   Devlan Solutions LTD graciously, magnanimously, and with great
 *   theatrical flair, grants you a limited, revocable, personal,
 *   non-exclusive, non-transferable, non-sublicensable, non-fungible,
 *   and overwhelmingly non-negotiable license to install this
 *   breathtaking piece of software on up to TWO (2) machines.
 *   That's right. Two. Not three. Not 'two and my cousin's laptop.'
 *   TWO. For personal, non-commercial, 'I'm just vibing' purposes
 *   only — unless you've secured a Commercial License from us,
 *   in which case, welcome to the VIP lounge, big spender.
 *
 *   Redistribution? No. Sharing your login? Also no. Letting your
 *   buddy 'just take a quick look'? Believe it or not, also no.
 *   Network deployment without a multi-user license? Straight to jail.
 *   We have lawyers. They are bored. Do not test them.
 *
 *
 *    2. INTELLECTUAL PROPERTY (a.k.a. 'WE BUILT THIS, BRUH')
 *
 *   This Software is, was, and shall remain the sole, undivided,
 *   deeply cherished intellectual property of Devlan Solutions LTD.
 *   It is protected by copyright law, international treaties, ancient
 *   covenants, and the sheer willpower of our engineering team who
 *   mass consumed mass amounts of coffee to ship this.
 *
 *   You shall not remove, alter, obscure, deface, or passive-
 *   aggressively cover up any proprietary notices, labels, watermarks,
 *   Easter eggs, or branding. If you see our logo, that's a feature,
 *   not a bug. Respect the drip.
 *
 *
 *    3. RESTRICTIONS (a.k.a. 'THE THINGS THAT WILL GET YOU YEETED')
 *
 *   You shall not, and shall not permit any third party, rogue AI,
 *   mischievous intern, or sentient houseplant to:
 *
 *   (a) reverse engineer, decompile, decode, decrypt, disassemble,
 *       or otherwise attempt to derive the source code, because
 *       our spaghetti code is OUR spaghetti code, thank you;
 *
 *   (b) modify, fork, remix, sample, create derivative works, or
 *       produce 'inspired-by' knockoffs — we see you, and no;
 *
 *   (c) copy (one backup. ONE. like a civilized person), distribute,
 *       publicly display, transmit, sell, rent, lease, sublicense,
 *       pawn, barter, airdrop, carrier-pigeon, or otherwise exploit
 *       this Software as if you woke up and chose piracy.
 *
 *   Violation of the above may result in license termination,
 *   strongly worded emails, and disappointment from our CTO.
 *
 *
 *    4. TERMINATION (a.k.a. 'THE SNAP')
 *
 *   This License remains in effect until terminated. Think of it
 *   like a Netflix subscription, but with more legal consequences.
 *
 *   You may terminate at any time by destroying all copies of the
 *   Software in your possession — and yes, 'all copies' includes
 *   the one on that USB drive you forgot in your junk drawer.
 *
 *   Devlan Solutions LTD may terminate this License if you breach
 *   any term herein. Upon termination, your rights evaporate faster
 *   than free snacks in a developer break room. You will then
 *   destroy all copies of the Software. We trust you. Sort of.
 *
 *
 *    5. DISCLAIMER OF WARRANTIES (a.k.a. 'IT IS WHAT IT IS')
 *
 *   THIS SOFTWARE IS PROVIDED 'AS IS', 'WHERE IS', 'YOLO', AND
 *   'WORKS ON MY MACHINE™'. DEVLAN SOLUTIONS LTD MAKES NO
 *   WARRANTIES, EXPRESS, IMPLIED, SPIRITUAL, ASTROLOGICAL, OR
 *   OTHERWISE, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
 *   OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
 *   NON-INFRINGEMENT.
 *
 *   Will it work perfectly? Probably. Will it summon a segfault at
 *   3 AM during a production deploy? We make no promises. Some
 *   jurisdictions do not allow the exclusion of implied warranties,
 *   so some of the above may not apply to you. Lucky you. But we
 *   still aren't fixing that edge case at midnight on a Friday.
 *
 *
 *    6. SEVERABILITY (a.k.a. 'THE JENGA CLAUSE')
 *
 *   If any provision of this Agreement is declared invalid, illegal,
 *   or unenforceable by a court of competent jurisdiction (or a
 *   really confident paralegal), the remaining provisions shall
 *   continue in full force and effect, standing tall and unbothered
 *   like a load-bearing wall in a code refactor.
 *
 *   The invalid provision shall be modified to the minimum extent
 *   necessary to make it valid, because we don't throw the whole
 *   codebase out over one flaky test.
 *
 *
 *    7. LIMITATION OF LIABILITY (a.k.a. 'DON'T @ US')
 *
 *   IN NO EVENT SHALL DEVLAN SOLUTIONS LTD, ITS AFFILIATES,
 *   OFFICERS, DIRECTORS, EMPLOYEES, INTERNS, OFFICE DOGS, OR
 *   THAT ONE GUY WHO STILL USES vim BE LIABLE FOR ANY INDIRECT,
 *   INCIDENTAL, SPECIAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE
 *   DAMAGES — INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS, DATA,
 *   GOODWILL, SLEEP, OR FAITH IN HUMANITY — ARISING OUT OF OR IN
 *   CONNECTION WITH THIS SOFTWARE.
 *
 *   IN ANY CASE, OUR TOTAL, AGGREGATE, MAXIMUM, ABSOLUTE CEILING
 *   OF LIABILITY SHALL NOT EXCEED THE AMOUNT YOU ACTUALLY PAID FOR
 *   THIS LICENSE. IF THAT AMOUNT IS ZERO, WELL... MATH IS MATH.
 *
 *   No drama. No class actions. Just code, pixels, and vibes.
 *
 *
 *   ── Built with sweat, mass amounts of coffee, and mass amounts of ctrl+z ──
 *   ── Devlan Solutions LTD · Nairobi, Kenya · Innovating since the WiFi worked ──
 *
 */

/* ─── CSS CUSTOM PROPERTIES ──────────────────────────────────── */
:root {
    /* Brand Colors */
    --c-blue: #14468c;
    --c-blue-dark: #0d2f5e;
    --c-blue-light: #1e5bb5;
    --c-red: #bf0d3e;
    --c-red-dark: #8f0a2e;
    --c-red-light: #e0325e;
    --c-gold: #c9a84c;
    --c-green: #006600;

    /* Neutrals */
    --c-white: #ffffff;
    --c-off-white: #f8f9fa;
    --c-gray-100: #f1f3f5;
    --c-gray-200: #e2e6ea;
    --c-gray-300: #ced4da;
    --c-gray-400: #adb5bd;
    --c-gray-500: #6c757d;
    --c-gray-600: #495057;
    --c-gray-700: #343a40;
    --c-gray-800: #212529;
    --c-black: #111111;

    /* Typography */
    --f-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --f-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --f-mono: 'Courier New', monospace;

    /* Spacing scale (mobile-first, 4px base) */
    --s-1: 0.25rem;
    --s-2: 0.5rem;
    --s-3: 0.75rem;
    --s-4: 1rem;
    --s-5: 1.25rem;
    --s-6: 1.5rem;
    --s-8: 2rem;
    --s-10: 2.5rem;
    --s-12: 3rem;
    --s-16: 4rem;
    --s-20: 5rem;
    --s-24: 6rem;

    /* Borders & Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
    --shadow: 0 4px 12px rgba(0, 0, 0, .1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, .12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, .18);

    /* Transitions */
    --ease: cubic-bezier(.4, 0, .2, 1);
    --t-fast: 150ms var(--ease);
    --t-base: 300ms var(--ease);
    --t-slow: 500ms var(--ease);

    /* Header */
    --header-h: 70px;
    --topbar-h: 36px;
}

/* ─── RESET & BASE ───────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--f-sans);
    font-weight: 400;
    line-height: 1.65;
    color: var(--c-gray-700);
    background: var(--c-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--c-blue);
    text-decoration: none;
    transition: color var(--t-fast);
}

a:hover {
    color: var(--c-red);
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--f-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--c-gray-800);
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2rem, 6vw, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h5 {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
}

h6 {
    font-size: 1rem;
    font-family: var(--f-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}

p {
    margin-bottom: var(--s-4);
}

strong {
    font-weight: 600;
}

::selection {
    background: var(--c-blue);
    color: var(--c-white);
}

/* ─── CONTAINER ──────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--s-4);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--s-6);
    }
}

@media (min-width: 1280px) {
    .container {
        padding: 0 var(--s-8);
    }
}

/* ─── SKIP LINK ──────────────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100px;
    left: var(--s-4);
    background: var(--c-blue);
    color: var(--c-white);
    padding: var(--s-2) var(--s-4);
    border-radius: var(--radius);
    z-index: 10000;
    font-size: .875rem;
}

.skip-link:focus {
    top: var(--s-4);
    color: var(--c-white);
}

/* ─── TOP BAR ────────────────────────────────────────────────── */
.topbar {
    background: var(--c-blue-dark);
    color: var(--c-white);
    font-size: .75rem;
    display: none;
}

@media (min-width: 768px) {
    .topbar {
        display: block;
    }
}

.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--topbar-h);
}

.topbar__left {
    display: flex;
    gap: var(--s-6);
}

.topbar__left a {
    color: rgba(255, 255, 255, .8);
    display: flex;
    align-items: center;
    gap: var(--s-2);
    font-size: .75rem;
}

.topbar__left a:hover {
    color: var(--c-white);
}

.topbar__left span {
    display: none;
}

@media (min-width: 1024px) {
    .topbar__left span {
        display: inline;
    }
}

.topbar__socials {
    display: flex;
    gap: var(--s-3);
}

.topbar__socials a {
    color: rgba(255, 255, 255, .7);
    font-size: .8rem;
}

.topbar__socials a:hover {
    color: var(--c-gold);
}

/* ─── HEADER ─────────────────────────────────────────────────── */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--c-white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t-base), background var(--t-base);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: var(--s-4);
}

.header__logo img {
    height: 45px;
    width: auto;
}

@media (min-width: 768px) {
    .header__logo img {
        height: 55px;
    }
}

/* Desktop Nav */
.header__nav {
    display: none;
}

@media (min-width: 1024px) {
    .header__nav {
        display: flex;
        flex: 1;
        justify-content: center;
    }
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav__item>a {
    display: flex;
    align-items: center;
    gap: var(--s-1);
    padding: var(--s-3) var(--s-4);
    color: var(--c-gray-700);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .02em;
    transition: color var(--t-fast);
    white-space: nowrap;
}

.nav__item>a i {
    font-size: .6rem;
    transition: transform var(--t-fast);
}

.nav__item:hover>a,
.nav__item.active>a {
    color: var(--c-blue);
}

/* Dropdown */
.nav__item--dropdown {
    position: relative;
}

.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--c-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: var(--s-2) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--t-base);
}

.nav__item--dropdown:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__item--dropdown:hover>a i {
    transform: rotate(180deg);
}

.nav__dropdown li a {
    display: block;
    padding: var(--s-2) var(--s-5);
    color: var(--c-gray-600);
    font-size: .875rem;
}

.nav__dropdown li a:hover {
    background: var(--c-gray-100);
    color: var(--c-blue);
}

/* Header Actions */
.header__actions {
    display: flex;
    align-items: center;
    gap: var(--s-3);
}

.header__cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--c-gray-700);
    font-size: 1.1rem;
}

.header__cart:hover {
    color: var(--c-blue);
}

.header__cart-badge {
    position: absolute;
    top: 2px;
    right: 0;
    background: var(--c-red);
    color: var(--c-white);
    font-size: .65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Hamburger */
.header__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--c-gray-700);
    border-radius: 2px;
    transition: all var(--t-base);
}

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

/* ─── MOBILE NAV ─────────────────────────────────────────────── */
.mobile-nav {
    display: none;
}

.mobile-nav.is-open {
    display: block;
}

.mobile-nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 2000;
    animation: fadeIn .3s var(--ease);
}

.mobile-nav__drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--c-white);
    z-index: 2001;
    padding: var(--s-6);
    overflow-y: auto;
    animation: slideInRight .3s var(--ease);
}

.mobile-nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--s-8);
}

.mobile-nav__logo {
    height: 40px;
}

.mobile-nav__close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--c-gray-600);
    cursor: pointer;
    line-height: 1;
}

.mobile-nav__list {
    display: flex;
    flex-direction: column;
    gap: var(--s-1);
}

.mobile-nav__list li a {
    display: block;
    padding: var(--s-3) var(--s-2);
    color: var(--c-gray-700);
    font-size: 1.05rem;
    font-weight: 500;
    border-bottom: 1px solid var(--c-gray-200);
}

.mobile-nav__list li a:hover {
    color: var(--c-blue);
}

.mobile-nav__donate {
    background: var(--c-red) !important;
    color: var(--c-white) !important;
    text-align: center;
    border-radius: var(--radius) !important;
    border-bottom: none !important;
    margin-top: var(--s-4);
    font-weight: 600 !important;
}

.mobile-nav__socials {
    display: flex;
    gap: var(--s-4);
    margin-top: var(--s-8);
    padding-top: var(--s-6);
    border-top: 1px solid var(--c-gray-200);
}

.mobile-nav__socials a {
    color: var(--c-gray-500);
    font-size: 1.2rem;
}

.mobile-nav__socials a:hover {
    color: var(--c-blue);
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    padding: var(--s-3) var(--s-6);
    font-family: var(--f-sans);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--t-base);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.4;
}

.btn--primary {
    background: var(--c-red);
    color: var(--c-white);
    border-color: var(--c-red);
}

.btn--primary:hover {
    background: var(--c-red-dark);
    border-color: var(--c-red-dark);
    color: var(--c-white);
}

.btn--blue {
    background: var(--c-blue);
    color: var(--c-white);
    border-color: var(--c-blue);
}

.btn--blue:hover {
    background: var(--c-blue-dark);
    border-color: var(--c-blue-dark);
    color: var(--c-white);
}

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

.btn--outline:hover {
    background: var(--c-white);
    color: var(--c-blue);
}

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

.btn--outline-blue:hover {
    background: var(--c-blue);
    color: var(--c-white);
}

.btn--ghost {
    background: transparent;
    color: var(--c-gray-700);
    border-color: var(--c-gray-300);
}

.btn--ghost:hover {
    border-color: var(--c-gray-700);
}

.btn--sm {
    padding: var(--s-2) var(--s-4);
    font-size: .8rem;
}

.btn--lg {
    padding: var(--s-4) var(--s-8);
    font-size: 1rem;
}

.btn--xl {
    padding: var(--s-5) var(--s-10);
    font-size: 1.1rem;
}

.btn--block {
    width: 100%;
}

.btn:disabled,
.btn.disabled {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ─── HERO SLIDER ────────────────────────────────────────────── */
.hero-slider {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: var(--c-black);
}

.hero-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.hero-slider__slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slider__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    transform: scale(1);
    transition: transform 8s ease;
}

.hero-slider__slide.active .hero-slider__bg {
    transform: scale(1.05);
}

.hero-slider__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 47, 94, .75) 0%, rgba(20, 70, 140, .5) 50%, rgba(0, 0, 0, .3) 100%);
}

.hero-slider__content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--header-h) + var(--s-12)) var(--s-4) var(--s-12);
    color: var(--c-white);
    max-width: 1240px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .hero-slider__content {
        padding: calc(var(--header-h) + var(--s-16)) var(--s-8) var(--s-16);
    }
}

.hero-slider__tag {
    display: inline-block;
    background: var(--c-red);
    color: var(--c-white);
    font-family: var(--f-sans);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: var(--s-1) var(--s-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--s-4);
}

.hero-slider__title {
    font-family: var(--f-serif);
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--c-white);
    max-width: 700px;
    margin-bottom: var(--s-4);
    font-style: italic;
}

.hero-slider__subtitle {
    font-family: var(--f-sans);
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, .85);
    max-width: 550px;
    margin-bottom: var(--s-8);
}

.hero-slider__btns {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3);
}

/* Slider Controls */
.hero-slider__dots {
    position: absolute;
    bottom: var(--s-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: var(--s-3);
}

.hero-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--t-base);
}

.hero-slider__dot.active {
    background: var(--c-white);
    border-color: var(--c-red);
    width: 30px;
    border-radius: 6px;
}

.hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--c-white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all var(--t-base);
}

.hero-slider__arrow:hover {
    background: rgba(255, 255, 255, .3);
}

.hero-slider__arrow--prev {
    left: var(--s-4);
}

.hero-slider__arrow--next {
    right: var(--s-4);
}

@media (min-width: 768px) {
    .hero-slider__arrow {
        display: flex;
    }
}

/* Progress bar on slider */
.hero-slider__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--c-red);
    z-index: 10;
    transition: width linear;
}

/* ─── SECTION STYLES ─────────────────────────────────────────── */
.section {
    padding: var(--s-12) 0;
}

@media (min-width: 768px) {
    .section {
        padding: var(--s-16) 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: var(--s-20) 0;
    }
}

.section--gray {
    background: var(--c-gray-100);
}

.section--blue {
    background: var(--c-blue);
    color: var(--c-white);
}

.section--blue h2,
.section--blue h3,
.section--blue h4 {
    color: var(--c-white);
}

.section--dark {
    background: var(--c-gray-800);
    color: var(--c-gray-300);
}

.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--s-10);
}

.section__header h2 {
    margin-bottom: var(--s-4);
}

.section__header p {
    color: var(--c-gray-500);
    font-size: 1.05rem;
}

.section--blue .section__header p {
    color: rgba(255, 255, 255, .7);
}

.section__tag {
    display: inline-block;
    font-family: var(--f-sans);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--c-red);
    margin-bottom: var(--s-3);
}

.section--blue .section__tag {
    color: var(--c-gold);
}

/* ─── ACTION CARDS — Old pull-up layout (deprecated, use .home-actions instead) */
.actions-row {
    position: relative;
    z-index: 10;
    margin-top: 0;
    padding: 0;
    display: none;
    /* Replaced by .home-actions on landing page */
}

.actions-row__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-4);
    max-width: 1240px;
    margin: 0 auto;
}

@media (min-width: 576px) {
    .actions-row__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.action-card {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    padding: var(--s-6);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--t-base);
    text-decoration: none;
    display: block;
    border-bottom: 3px solid transparent;
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-bottom-color: var(--c-red);
}

.action-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--c-blue);
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--s-4);
    font-size: 1.2rem;
}

.action-card:nth-child(2) .action-card__icon {
    background: var(--c-red);
}

.action-card:nth-child(3) .action-card__icon {
    background: var(--c-green);
}

.action-card:nth-child(4) .action-card__icon {
    background: var(--c-gold);
}

.action-card__title {
    font-family: var(--f-sans);
    font-size: .95rem;
    font-weight: 700;
    color: var(--c-gray-800);
    margin-bottom: var(--s-2);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.action-card__text {
    font-size: .85rem;
    color: var(--c-gray-500);
    margin: 0;
}

/* ─── SPLIT SECTION (Crowley-style image + text) ─────────────── */
.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
}

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

    .split--reverse .split__image {
        order: 2;
    }

    .split--reverse .split__text {
        order: 1;
    }
}

.split__image {
    position: relative;
    min-height: 300px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .split__image {
        min-height: 450px;
    }
}

.split__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--s-8) var(--s-4);
}

@media (min-width: 768px) {
    .split__text {
        padding: var(--s-12) var(--s-10);
    }
}

@media (min-width: 1024px) {
    .split__text {
        padding: var(--s-16) var(--s-12);
    }
}

.split__text h2 {
    margin-bottom: var(--s-4);
}

.split__text p {
    color: var(--c-gray-600);
    margin-bottom: var(--s-6);
    font-size: 1.05rem;
}

.split--blue {
    background: var(--c-blue);
}

.split--blue .split__text {
    color: var(--c-white);
}

.split--blue .split__text h2 {
    color: var(--c-white);
}

.split--blue .split__text p {
    color: rgba(255, 255, 255, .8);
}

/* ─── INLINE DONATION (Crowley-style) ────────────────────────── */
.inline-donate {
    background: var(--c-blue);
    color: var(--c-white);
    padding: var(--s-10) var(--s-4);
    text-align: center;
}

@media (min-width: 768px) {
    .inline-donate {
        padding: var(--s-12) var(--s-4);
    }
}

.inline-donate h2 {
    color: var(--c-white);
    margin-bottom: var(--s-3);
}

.inline-donate p {
    color: rgba(255, 255, 255, .7);
    margin-bottom: var(--s-6);
}

.donate-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3);
    justify-content: center;
    max-width: 600px;
    margin: 0 auto var(--s-4);
}

.donate-amounts .amt-btn {
    padding: var(--s-3) var(--s-6);
    border: 2px solid rgba(255, 255, 255, .4);
    border-radius: var(--radius);
    background: transparent;
    color: var(--c-white);
    font-family: var(--f-sans);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--t-fast);
    min-width: 80px;
}

.donate-amounts .amt-btn:hover,
.donate-amounts .amt-btn.active {
    background: var(--c-red);
    border-color: var(--c-red);
}

.inline-donate__note {
    font-size: .8rem;
    color: rgba(255, 255, 255, .5);
    margin-top: var(--s-4);
}

/* ─── CARD GRIDS ─────────────────────────────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-6);
}

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

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

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

/* News / Post Card */
.post-card {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--t-base);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.post-card__image {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.post-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}

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

.post-card__badge {
    position: absolute;
    top: var(--s-3);
    left: var(--s-3);
    background: var(--c-red);
    color: var(--c-white);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: var(--s-1) var(--s-3);
    border-radius: var(--radius-sm);
}

.post-card__body {
    padding: var(--s-5);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card__date {
    font-size: .75rem;
    color: var(--c-gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: var(--s-2);
}

.post-card__title {
    font-family: var(--f-serif);
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--c-gray-800);
    margin-bottom: var(--s-3);
}

.post-card__title a {
    color: inherit;
}

.post-card__title a:hover {
    color: var(--c-blue);
}

.post-card__excerpt {
    font-size: .9rem;
    color: var(--c-gray-500);
    flex: 1;
}

.post-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    font-size: .85rem;
    font-weight: 600;
    color: var(--c-blue);
    margin-top: var(--s-4);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.post-card__link:hover {
    color: var(--c-red);
}

/* Event Card */
.event-card {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--t-base);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.event-card__image {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.event-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card__date-badge {
    position: absolute;
    top: var(--s-3);
    right: var(--s-3);
    background: var(--c-blue);
    color: var(--c-white);
    padding: var(--s-2) var(--s-3);
    border-radius: var(--radius);
    text-align: center;
    line-height: 1.2;
}

.event-card__date-badge .day {
    font-size: 1.4rem;
    font-weight: 700;
    display: block;
}

.event-card__date-badge .month {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.event-card__body {
    padding: var(--s-5);
    flex: 1;
}

.event-card__title {
    font-family: var(--f-serif);
    font-size: 1.15rem;
    margin-bottom: var(--s-3);
    color: var(--c-gray-800);
}

.event-card__title a {
    color: inherit;
}

.event-card__title a:hover {
    color: var(--c-blue);
}

.event-card__meta {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    font-size: .85rem;
    color: var(--c-gray-500);
    margin-bottom: var(--s-3);
}

.event-card__meta i {
    color: var(--c-blue);
    width: 18px;
}

.event-card__excerpt {
    font-size: .88rem;
    color: var(--c-gray-500);
}

/* Product Card */
.product-card {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--t-base);
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.product-card__image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: var(--c-gray-100);
}

.product-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}

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

.product-card__sale {
    position: absolute;
    top: var(--s-3);
    left: var(--s-3);
    background: var(--c-red);
    color: var(--c-white);
    font-size: .65rem;
    font-weight: 700;
    padding: var(--s-1) var(--s-3);
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.product-card__body {
    padding: var(--s-4);
}

.product-card__name {
    font-family: var(--f-sans);
    font-size: .95rem;
    font-weight: 600;
    color: var(--c-gray-800);
    margin-bottom: var(--s-2);
}

.product-card__name a {
    color: inherit;
}

.product-card__name a:hover {
    color: var(--c-blue);
}

.product-card__price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-blue);
}

.product-card__price .original {
    text-decoration: line-through;
    color: var(--c-gray-400);
    font-weight: 400;
    font-size: .85rem;
    margin-left: var(--s-2);
}

.product-card__actions {
    margin-top: var(--s-3);
}

/* ─── PRIORITIES CAROUSEL ────────────────────────────────────── */
.priorities-scroll {
    display: flex;
    gap: var(--s-6);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--s-4);
    scrollbar-width: none;
}

.priorities-scroll::-webkit-scrollbar {
    display: none;
}

.priority-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: var(--c-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--t-base);
}

@media (min-width: 768px) {
    .priority-card {
        flex: 0 0 300px;
    }
}

.priority-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.priority-card__image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.priority-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.priority-card__body {
    padding: var(--s-5);
}

.priority-card__title {
    font-family: var(--f-serif);
    font-size: 1.1rem;
    margin-bottom: var(--s-3);
    color: var(--c-gray-800);
}

.priority-card__text {
    font-size: .88rem;
    color: var(--c-gray-500);
    line-height: 1.6;
}

/* ─── PAGE HEADERS (Inner pages) ─────────────────────────────── */
.page-header {
    background: var(--c-blue);
    color: var(--c-white);
    padding: calc(var(--header-h) + var(--s-8)) var(--s-4) var(--s-8);
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .page-header {
        padding: calc(var(--header-h) + var(--s-12)) var(--s-4) var(--s-12);
    }
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>');
    background-size: 80px;
}

.page-header h1 {
    color: var(--c-white);
    margin-bottom: var(--s-3);
    position: relative;
    font-style: italic;
}

.page-header p {
    color: rgba(255, 255, 255, .7);
    font-size: 1.1rem;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--s-2);
    font-size: .8rem;
    color: rgba(255, 255, 255, .5);
    margin-top: var(--s-4);
    position: relative;
}

.breadcrumb a {
    color: rgba(255, 255, 255, .7);
}

.breadcrumb a:hover {
    color: var(--c-white);
}

/* ─── FORMS ──────────────────────────────────────────────────── */
.form-group {
    margin-bottom: var(--s-5);
}

.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--c-gray-700);
    margin-bottom: var(--s-2);
}

.form-control {
    width: 100%;
    padding: var(--s-3) var(--s-4);
    font-family: var(--f-sans);
    font-size: .95rem;
    color: var(--c-gray-700);
    background: var(--c-white);
    border: 1px solid var(--c-gray-300);
    border-radius: var(--radius);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--c-blue);
    box-shadow: 0 0 0 3px rgba(20, 70, 140, .15);
}

.form-control::placeholder {
    color: var(--c-gray-400);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-4);
}

@media (min-width: 576px) {
    .form-row--2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .form-row--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ─── DONATION PAGE ──────────────────────────────────────────── */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3);
    margin-bottom: var(--s-6);
}

.payment-method {
    flex: 1;
    min-width: 140px;
    padding: var(--s-4);
    border: 2px solid var(--c-gray-200);
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    transition: all var(--t-fast);
    background: var(--c-white);
}

.payment-method:hover {
    border-color: var(--c-blue-light);
}

.payment-method.active {
    border-color: var(--c-blue);
    background: rgba(20, 70, 140, .04);
}

.payment-method input[type="radio"] {
    display: none;
}

.payment-method__icon {
    font-size: 1.8rem;
    margin-bottom: var(--s-2);
    color: var(--c-blue);
}

.payment-method__name {
    font-size: .85rem;
    font-weight: 600;
    color: var(--c-gray-700);
}

/* ─── CART & CHECKOUT ────────────────────────────────────────── */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.cart-table th {
    text-align: left;
    padding: var(--s-3) var(--s-4);
    font-family: var(--f-sans);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--c-gray-500);
    border-bottom: 2px solid var(--c-gray-200);
}

.cart-table td {
    padding: var(--s-4);
    border-bottom: 1px solid var(--c-gray-100);
    vertical-align: middle;
}

.cart-item__product {
    display: flex;
    align-items: center;
    gap: var(--s-4);
}

.cart-item__image {
    width: 70px;
    height: 70px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
}

.cart-item__name {
    font-weight: 600;
    color: var(--c-gray-800);
}

.cart-item__variant {
    font-size: .8rem;
    color: var(--c-gray-500);
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--c-gray-300);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-control button {
    width: 32px;
    height: 32px;
    background: var(--c-gray-100);
    border: none;
    cursor: pointer;
    font-size: .9rem;
    color: var(--c-gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-control button:hover {
    background: var(--c-gray-200);
}

.qty-control input {
    width: 40px;
    height: 32px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--c-gray-200);
    border-right: 1px solid var(--c-gray-200);
    font-family: var(--f-sans);
    font-size: .9rem;
    outline: none;
}

.cart-item__remove {
    background: none;
    border: none;
    color: var(--c-gray-400);
    font-size: .85rem;
    cursor: pointer;
    transition: color var(--t-fast);
}

.cart-item__remove:hover {
    color: var(--c-red);
}

/* Cart Summary */
.cart-summary {
    background: var(--c-gray-100);
    border-radius: var(--radius-lg);
    padding: var(--s-6);
}

.cart-summary h3 {
    font-family: var(--f-serif);
    margin-bottom: var(--s-5);
}

.cart-summary__row {
    display: flex;
    justify-content: space-between;
    padding: var(--s-3) 0;
    font-size: .95rem;
}

.cart-summary__row--total {
    border-top: 2px solid var(--c-gray-300);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--c-gray-800);
    margin-top: var(--s-3);
    padding-top: var(--s-4);
}

/* ─── RESPONSIVE CART (mobile = stacked cards) ───────────────── */
@media (max-width: 767px) {
    .cart-table thead {
        display: none;
    }

    .cart-table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block;
        width: 100%;
    }

    .cart-table tr {
        padding: var(--s-4) 0;
        border-bottom: 1px solid var(--c-gray-200);
    }

    .cart-table td {
        padding: var(--s-2) 0;
        border: none;
    }

    .cart-table td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: .75rem;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: var(--c-gray-500);
        display: block;
        margin-bottom: var(--s-1);
    }
}

/* ─── NEWSLETTER ─────────────────────────────────────────────── */
.newsletter-section {
    background: var(--c-gray-800);
    color: var(--c-white);
    padding: var(--s-10) var(--s-4);
}

.newsletter__inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter__text h3 {
    color: var(--c-white);
    margin-bottom: var(--s-2);
}

.newsletter__text p {
    color: var(--c-gray-400);
    margin-bottom: var(--s-6);
}

.newsletter__input-group {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

@media (min-width: 576px) {
    .newsletter__input-group {
        flex-direction: row;
    }
}

.newsletter__input-group input {
    flex: 1;
    padding: var(--s-3) var(--s-4);
    border: 1px solid var(--c-gray-600);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .1);
    color: var(--c-white);
    font-family: var(--f-sans);
    font-size: .95rem;
    outline: none;
}

.newsletter__input-group input::placeholder {
    color: var(--c-gray-500);
}

.newsletter__input-group input:focus {
    border-color: var(--c-blue-light);
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
    background: var(--c-gray-800);
    color: var(--c-gray-400);
    padding: var(--s-12) 0 var(--s-6);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-8);
    margin-bottom: var(--s-10);
}

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

@media (min-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer__logo img {
    height: 50px;
    margin-bottom: var(--s-4);
}

.footer__brand p {
    font-size: .9rem;
    line-height: 1.7;
}

.footer__slogan {
    color: var(--c-gold);
}

.footer__heading {
    font-family: var(--f-sans);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--c-white);
    margin-bottom: var(--s-5);
}

.footer__links li {
    margin-bottom: var(--s-2);
}

.footer__links a {
    color: var(--c-gray-400);
    font-size: .9rem;
}

.footer__links a:hover {
    color: var(--c-white);
}

.footer__socials {
    display: flex;
    gap: var(--s-4);
    margin-bottom: var(--s-6);
}

.footer__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: var(--c-gray-400);
    transition: all var(--t-fast);
}

.footer__socials a:hover {
    background: var(--c-blue);
    color: var(--c-white);
}

.footer__contact {
    font-size: .85rem;
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

.footer__contact i {
    width: 18px;
    color: var(--c-blue-light);
    margin-right: var(--s-2);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: var(--s-6);
    text-align: center;
    font-size: .8rem;
    color: var(--c-gray-500);
}

.footer__legal {
    margin-top: var(--s-2);
    font-size: .75rem;
}

/* ─── FLASH MESSAGES ─────────────────────────────────────────── */
.flash {
    position: fixed;
    top: calc(var(--header-h) + var(--s-4));
    right: var(--s-4);
    z-index: 5000;
    padding: var(--s-4) var(--s-8) var(--s-4) var(--s-4);
    border-radius: var(--radius);
    font-size: .9rem;
    font-weight: 500;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    animation: slideInRight .3s var(--ease);
}

.flash--success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.flash--error {
    background: #fce4ec;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.flash--warning {
    background: #fff8e1;
    color: #f57f17;
    border-left: 4px solid #f57f17;
}

.flash--info {
    background: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid #1565c0;
}

.flash__close {
    position: absolute;
    top: var(--s-2);
    right: var(--s-2);
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: inherit;
    opacity: .6;
}

/* ─── PAGINATION ─────────────────────────────────────────────── */
.pagination {
    text-align: center;
    margin-top: var(--s-10);
}

.pagination ul {
    display: inline-flex;
    gap: var(--s-1);
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    font-size: .9rem;
    font-weight: 500;
    color: var(--c-gray-600);
    background: var(--c-gray-100);
    transition: all var(--t-fast);
}

.pagination li a:hover {
    background: var(--c-blue);
    color: var(--c-white);
}

.pagination li.active a {
    background: var(--c-blue);
    color: var(--c-white);
}

.pagination__dots {
    display: flex;
    align-items: center;
    padding: 0 var(--s-2);
    color: var(--c-gray-400);
}

/* ─── BACK TO TOP ────────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: var(--s-6);
    right: var(--s-6);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--c-blue);
    color: var(--c-white);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--t-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--c-red);
}

/* ─── EMPTY STATE ────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: var(--s-16) var(--s-4);
}

.empty-state__icon {
    font-size: 3rem;
    color: var(--c-gray-300);
    margin-bottom: var(--s-4);
}

.empty-state h3 {
    font-family: var(--f-serif);
    margin-bottom: var(--s-3);
}

.empty-state p {
    color: var(--c-gray-500);
    margin-bottom: var(--s-6);
}

/* ─── LOADING ────────────────────────────────────────────────── */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--c-gray-200);
    border-top-color: var(--c-blue);
    border-radius: 50%;
    animation: spin .6s linear infinite;
}

/* ─── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all .6s var(--ease);
}

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

/* ─── UTILITIES ──────────────────────────────────────────────── */
.text-center {
    text-align: center;
}

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

.text-right {
    text-align: right;
}

.mt-4 {
    margin-top: var(--s-4);
}

.mt-6 {
    margin-top: var(--s-6);
}

.mt-8 {
    margin-top: var(--s-8);
}

.mb-4 {
    margin-bottom: var(--s-4);
}

.mb-6 {
    margin-bottom: var(--s-6);
}

.mb-8 {
    margin-bottom: var(--s-8);
}

.pt-0 {
    padding-top: 0 !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

@media (min-width: 768px) {
    .d-md-block {
        display: block;
    }

    .d-md-none {
        display: none;
    }
}

@media (min-width: 1024px) {
    .d-lg-block {
        display: block;
    }

    .d-lg-none {
        display: none;
    }
}

/* Two-col layout */
.layout-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-8);
}

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