/* ==========================================================================
   AfriPulse Pay — Core design system
   Loaded by every page. Page-specific styles live in their own stylesheet
   and are loaded after this one.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */

:root {
    /* Brand — orange, taken from the logo and extended into a usable scale */
    --brand-50:  #fff4ed;
    --brand-100: #ffe3d1;
    --brand-200: #ffc3a3;
    --brand-300: #ff9b6b;
    --brand-400: #ff7a38;
    --brand-500: #ff5900;  /* primary */
    --brand-600: #e64c00;
    --brand-700: #b83b00;
    --brand-800: #8a2d00;
    --brand-900: #5c1e00;

    /* #ff5900 is the brand accent, but white text on it only reaches 3.1:1.
       These two are the accessible stand-ins for filled buttons and for
       orange text set on light backgrounds. */
    --brand-cta: #d24300;
    --brand-ink: #b83b00;

    /* Ink — warm-tinted neutrals so black sits next to orange comfortably */
    --ink-950: #0a0908;
    --ink-900: #121110;
    --ink-850: #1a1817;
    --ink-800: #232120;
    --ink-700: #332f2d;
    --ink-600: #4a4542;
    --ink-500: #6b6460;
    --ink-400: #928a85;
    --ink-300: #b9b1ac;
    --ink-200: #dcd6d2;
    --ink-100: #ece7e3;

    /* Paper */
    --paper:   #faf8f6;
    --paper-2: #f3efeb;
    --white:   #ffffff;

    /* Semantic */
    --bg:            var(--paper);
    --text:          var(--ink-900);
    --text-muted:    var(--ink-500);
    --text-inverse:  #ffffff;
    --accent:        var(--brand-500);
    --accent-strong: var(--brand-700);
    --border:        var(--ink-200);
    --border-dark:   rgba(255, 255, 255, 0.12);

    /* Type */
    --font-display: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

    --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
    --step-0:  clamp(1rem, 0.96rem + 0.18vw, 1.09rem);
    --step-1:  clamp(1.19rem, 1.11rem + 0.36vw, 1.4rem);
    --step-2:  clamp(1.41rem, 1.28rem + 0.64vw, 1.8rem);
    --step-3:  clamp(1.68rem, 1.46rem + 1.05vw, 2.31rem);
    --step-4:  clamp(2rem, 1.66rem + 1.64vw, 2.97rem);
    --step-5:  clamp(2.37rem, 1.87rem + 2.5vw, 3.82rem);
    --step-6:  clamp(2.82rem, 2.08rem + 3.68vw, 4.9rem);

    /* Space — 8pt scale */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.5rem;
    --sp-6: 2rem;
    --sp-7: 3rem;
    --sp-8: 4rem;
    --sp-9: 6rem;
    --sp-10: 8rem;

    --section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
    --gutter:    clamp(1.25rem, 0.6rem + 3vw, 3rem);
    --container: 1240px;

    /* Radii */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-xl: 32px;
    --r-pill: 999px;

    /* Elevation */
    --shadow-sm: 0 1px 2px rgba(10, 9, 8, 0.05), 0 1px 3px rgba(10, 9, 8, 0.06);
    --shadow-md: 0 4px 10px rgba(10, 9, 8, 0.05), 0 12px 28px rgba(10, 9, 8, 0.07);
    --shadow-lg: 0 8px 20px rgba(10, 9, 8, 0.07), 0 28px 60px rgba(10, 9, 8, 0.11);
    --shadow-brand: 0 10px 30px rgba(255, 89, 0, 0.28);

    /* Motion */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --dur: 260ms;

    --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

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

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.is-locked {
    overflow: hidden;
}

img,
svg,
iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    background: none;
    border: 0;
    cursor: pointer;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

h1 { font-size: var(--step-6); }
h2 { font-size: var(--step-5); }
h3 { font-size: var(--step-3); }
h4 { font-size: var(--step-2); }
h5 { font-size: var(--step-1); }

p {
    text-wrap: pretty;
}

::selection {
    background: var(--brand-500);
    color: #fff;
}

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

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

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

.container--wide {
    max-width: 1440px;
}

.section {
    padding-block: var(--section-y);
    position: relative;
}

.section--tight {
    padding-block: clamp(3rem, 2rem + 3vw, 4.5rem);
}

.section--dark {
    background-color: var(--ink-950);
    color: var(--text-inverse);
}

.section--paper-2 {
    background-color: var(--paper-2);
}

.section--dark p {
    color: rgba(255, 255, 255, 0.72);
}

.skip-link {
    position: absolute;
    left: var(--sp-4);
    top: var(--sp-4);
    z-index: 200;
    background: var(--ink-950);
    color: #fff;
    padding: 0.7rem 1.2rem;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: var(--step--1);
    transform: translateY(-160%);
    transition: transform var(--dur) var(--ease);
}

.skip-link:focus-visible {
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   4. Type helpers
   -------------------------------------------------------------------------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-size: var(--step--1);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-ink);
    margin-bottom: var(--sp-4);
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--brand-500);
    flex: none;
}

.section--dark .eyebrow {
    color: var(--brand-400);
}

.accent {
    color: var(--brand-600);
}

/* On dark panels the full-strength brand orange is the accessible choice. */
.section--dark .accent,
.page-hero .accent,
.cta-band .accent,
.hero .accent {
    color: var(--brand-500);
}

.section-head h2 + .lede,
h2 + .lede,
h1 + .lede {
    margin-top: var(--sp-4);
}

.lede {
    font-size: var(--step-1);
    color: var(--text-muted);
    max-width: 60ch;
    line-height: 1.6;
}

.section--dark .lede {
    color: rgba(255, 255, 255, 0.7);
}

.section-head {
    max-width: 62ch;
    margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

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

.section-head--center .eyebrow {
    justify-content: center;
}

.section-head--split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.5rem, 1rem + 3vw, 4rem);
    align-items: end;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.btn {
    --btn-bg: var(--ink-950);
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.7rem;
    background: var(--btn-bg);
    color: var(--btn-fg);
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: var(--step-0);
    letter-spacing: -0.01em;
    white-space: nowrap;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                background-color var(--dur) var(--ease),
                color var(--dur) var(--ease),
                border-color var(--dur) var(--ease);
}

.btn svg {
    width: 1.05em;
    height: 1.05em;
    flex: none;
    transition: transform var(--dur) var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    --btn-bg: var(--brand-cta);
    box-shadow: var(--shadow-brand);
}

.btn--primary:hover {
    --btn-bg: var(--brand-ink);
    box-shadow: 0 14px 38px rgba(255, 89, 0, 0.36);
}

.btn--dark:hover {
    --btn-bg: var(--ink-800);
    box-shadow: var(--shadow-md);
}

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink-900);
    border: 1.5px solid var(--ink-300);
}

.btn--ghost:hover {
    --btn-fg: #fff;
    --btn-bg: var(--ink-950);
    border-color: var(--ink-950);
}

.btn--ghost-light {
    --btn-bg: rgba(255, 255, 255, 0.06);
    --btn-fg: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(6px);
}

.btn--ghost-light:hover {
    --btn-bg: #fff;
    --btn-fg: var(--ink-950);
    border-color: #fff;
}

.btn--sm {
    padding: 0.62rem 1.25rem;
    font-size: var(--step--1);
}

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

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
    color: var(--brand-ink);
    font-size: var(--step-0);
}

.link-arrow svg {
    width: 1em;
    height: 1em;
    transition: transform var(--dur) var(--ease);
}

.link-arrow:hover svg {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. Top bar
   -------------------------------------------------------------------------- */

.topbar {
    background: var(--ink-950);
    color: rgba(255, 255, 255, 0.74);
    font-size: var(--step--1);
    position: relative;
    z-index: 60;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-5);
    min-height: 42px;
    padding-block: 0.4rem;
}

.topbar__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 500;
}

.topbar__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-500);
    box-shadow: 0 0 0 0 rgba(255, 89, 0, 0.6);
    animation: pulse-dot 2.6s var(--ease) infinite;
    flex: none;
}

@keyframes pulse-dot {
    0%   { box-shadow: 0 0 0 0 rgba(255, 89, 0, 0.55); }
    70%  { box-shadow: 0 0 0 9px rgba(255, 89, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 89, 0, 0); }
}

.topbar__links {
    display: flex;
    align-items: center;
    gap: var(--sp-5);
}

.topbar__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: color var(--dur) var(--ease);
}

.topbar__links a:hover {
    color: var(--brand-400);
}

.topbar__links svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

/* --------------------------------------------------------------------------
   7. Header & navigation
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 248, 246, 0.72);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid transparent;
    transition: background-color var(--dur) var(--ease),
                border-color var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease);
}

.site-header.is-stuck {
    background: rgba(250, 248, 246, 0.92);
    border-bottom-color: var(--border);
    box-shadow: 0 6px 24px rgba(10, 9, 8, 0.05);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-5);
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex: none;
}

.brand img {
    width: 40px;
    height: 40px;
    flex: none;
    transition: transform var(--dur) var(--ease-out);
}

.brand:hover img {
    transform: rotate(-8deg) scale(1.06);
}

.brand__word {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.32rem;
    line-height: 0.92;
    letter-spacing: -0.045em;
    text-transform: lowercase;
    color: var(--ink-950);
}

.brand__word span {
    display: block;
    color: var(--brand-500);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 0.3rem + 1.6vw, 2.1rem);
}

.site-nav a {
    position: relative;
    font-weight: 500;
    font-size: 0.97rem;
    color: var(--ink-700);
    padding-block: 0.4rem;
    transition: color var(--dur) var(--ease);
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: var(--brand-500);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--dur) var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--ink-950);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

/* Hamburger */
.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--white);
    place-items: center;
    flex: none;
}

.nav-toggle__box {
    display: grid;
    gap: 5px;
    width: 20px;
}

.nav-toggle__box span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--ink-900);
    border-radius: 2px;
    transition: transform var(--dur) var(--ease), opacity 160ms var(--ease);
}

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

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

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

/* Drawer */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 90;
    visibility: hidden;
    pointer-events: none;
}

.drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.drawer__scrim {
    position: absolute;
    inset: 0;
    background: rgba(10, 9, 8, 0.55);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}

.drawer.is-open .drawer__scrim {
    opacity: 1;
}

.drawer__panel {
    position: absolute;
    inset-block: 0;
    right: 0;
    width: min(400px, 88vw);
    background: var(--paper);
    padding: var(--sp-6) var(--sp-6) var(--sp-7);
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 380ms var(--ease-out);
    box-shadow: -20px 0 60px rgba(10, 9, 8, 0.2);
}

.drawer.is-open .drawer__panel {
    transform: translateX(0);
}

.drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
}

.drawer__close {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    transition: background-color var(--dur) var(--ease);
}

.drawer__close:hover {
    background: var(--ink-100);
}

.drawer__close svg {
    width: 18px;
    height: 18px;
}

.drawer__nav {
    display: grid;
    gap: 2px;
}

.drawer__nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--step-2);
    letter-spacing: -0.03em;
    padding: 0.7rem 0.75rem;
    border-radius: var(--r-md);
    color: var(--ink-900);
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.drawer__nav a span {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-500);
    letter-spacing: 0.08em;
}

.drawer__nav a:hover,
.drawer__nav a[aria-current="page"] {
    background: var(--brand-500);
    color: #fff;
}

.drawer__nav a:hover span,
.drawer__nav a[aria-current="page"] span {
    color: rgba(255, 255, 255, 0.65);
}

.drawer__foot {
    margin-top: auto;
    display: grid;
    gap: var(--sp-3);
    padding-top: var(--sp-5);
    border-top: 1px solid var(--border);
}

.drawer__foot a {
    color: var(--ink-600);
    font-size: var(--step--1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.drawer__foot a:hover {
    color: var(--brand-ink);
}

.drawer__foot svg {
    width: 15px;
    height: 15px;
    opacity: 0.55;
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    background: var(--ink-950);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 62%;
    transform: scale(1.06);
    animation: slow-zoom 22s var(--ease) infinite alternate;
}

@keyframes slow-zoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1.14); }
}

.hero__veil {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(105deg, rgba(10, 9, 8, 0.94) 0%, rgba(10, 9, 8, 0.82) 38%, rgba(10, 9, 8, 0.34) 68%, rgba(10, 9, 8, 0.6) 100%),
        linear-gradient(to top, rgba(10, 9, 8, 0.9) 0%, rgba(10, 9, 8, 0) 45%);
}

.hero__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.25;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 80% 60% at 20% 40%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 20% 40%, #000 20%, transparent 78%);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(2rem, 1rem + 4vw, 5rem);
    align-items: center;
    padding-block: clamp(4.5rem, 3rem + 7vw, 9rem);
    min-height: min(88vh, 860px);
}

.hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.42rem 0.5rem 0.42rem 0.85rem;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    font-size: var(--step--1);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: var(--sp-5);
}

.hero__pill b {
    white-space: nowrap;
    background: var(--brand-500);
    color: #fff;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: var(--r-pill);
}

.hero h1 {
    font-size: var(--step-6);
    letter-spacing: -0.045em;
    margin-bottom: var(--sp-5);
}

.hero h1 em {
    font-style: normal;
    display: block;
    background: linear-gradient(100deg, var(--brand-400) 0%, var(--brand-500) 45%, #ffb185 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__copy p {
    font-size: var(--step-1);
    color: rgba(255, 255, 255, 0.78);
    max-width: 52ch;
    margin-bottom: var(--sp-6);
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    margin-bottom: var(--sp-7);
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-6);
    padding-top: var(--sp-5);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__meta div {
    min-width: 96px;
}

.hero__meta dt {
    font-family: var(--font-display);
    font-size: var(--step-3);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #fff;
    line-height: 1.1;
}

.hero__meta dd {
    font-size: var(--step--1);
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
}

/* Hero visual card */
.hero__visual {
    position: relative;
    justify-self: end;
    width: min(100%, 460px);
}

.hero__photo {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.14);
    aspect-ratio: 4 / 5;
}

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

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--ink-950);
    border-radius: var(--r-lg);
    padding: 0.95rem 1.15rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: float-y 6s ease-in-out infinite;
}

.float-card--pay {
    left: -14%;
    top: 14%;
}

.float-card--data {
    right: -10%;
    bottom: 12%;
    animation-delay: -3s;
}

@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-11px); }
}

.float-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    flex: none;
    background: var(--brand-500);
    color: #fff;
}

.float-card__icon svg {
    width: 19px;
    height: 19px;
}

.float-card--data .float-card__icon {
    background: var(--ink-950);
}

.float-card__label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-500);
    line-height: 1.3;
}

.float-card__value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
    white-space: nowrap;
}

/* Page hero (inner pages) */
.page-hero {
    position: relative;
    background: var(--ink-950);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.page-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(100deg, rgba(10, 9, 8, 0.95) 8%, rgba(10, 9, 8, 0.62) 60%, rgba(10, 9, 8, 0.85) 100%),
        radial-gradient(60% 90% at 88% 10%, rgba(255, 89, 0, 0.28), transparent 62%);
}

.page-hero__inner {
    padding-block: clamp(3.5rem, 2.5rem + 5vw, 6.5rem);
    max-width: 72ch;
}

.page-hero h1 {
    font-size: var(--step-5);
    margin-bottom: var(--sp-4);
}

.page-hero p {
    font-size: var(--step-1);
    color: rgba(255, 255, 255, 0.75);
    max-width: 58ch;
    margin-bottom: var(--sp-6);
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: var(--step--1);
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--sp-5);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.72);
    transition: color var(--dur) var(--ease);
}

.breadcrumb a:hover {
    color: var(--brand-400);
}

.breadcrumb svg {
    width: 12px;
    height: 12px;
    opacity: 0.5;
}

.breadcrumb [aria-current="page"] {
    color: var(--brand-400);
}

/* --------------------------------------------------------------------------
   9. Logo / trust strip
   -------------------------------------------------------------------------- */

.trust {
    background: var(--white);
    border-block: 1px solid var(--border);
    padding-block: var(--sp-5);
}

.trust__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-4) var(--sp-6);
}

.trust__label {
    font-size: var(--step--1);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-500);
    flex: none;
}

.trust__items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3) clamp(1rem, 0.4rem + 1.6vw, 2.1rem);
}

.trust__item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink-700);
    letter-spacing: -0.01em;
}

.trust__item svg {
    width: 18px;
    height: 18px;
    color: var(--brand-500);
    flex: none;
}

/* --------------------------------------------------------------------------
   10. Stats
   -------------------------------------------------------------------------- */

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.stat {
    background: var(--white);
    padding: clamp(1.5rem, 1rem + 1.6vw, 2.4rem);
    transition: background-color var(--dur) var(--ease);
}

.stat:hover {
    background: var(--brand-50);
}

.stat__value {
    font-family: var(--font-display);
    font-size: var(--step-4);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--ink-950);
    margin-bottom: 0.45rem;
    display: flex;
    align-items: baseline;
    gap: 0.05em;
}

.stat__value i {
    font-style: normal;
    color: var(--brand-500);
}

.stat__label {
    font-weight: 600;
    font-size: var(--step-0);
    color: var(--ink-900);
    margin-bottom: 0.2rem;
}

.stat__note {
    font-size: var(--step--1);
    color: var(--text-muted);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   11. About
   -------------------------------------------------------------------------- */

.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 1rem + 4vw, 4.5rem);
    align-items: start;
}

.about__body p + p {
    margin-top: var(--sp-4);
}

.about__body p {
    color: var(--ink-600);
    font-size: var(--step-0);
}

.about__figure {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 5 / 4;
    box-shadow: var(--shadow-lg);
}

.about__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 800ms var(--ease-out);
}

.about__figure:hover img {
    transform: scale(1.05);
}

.about__figure figcaption {
    position: absolute;
    left: var(--sp-4);
    right: var(--sp-4);
    bottom: var(--sp-4);
    background: rgba(10, 9, 8, 0.72);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: var(--r-md);
    font-size: var(--step--1);
    line-height: 1.5;
}

.pillars {
    display: grid;
    gap: var(--sp-4);
    margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pillar {
    padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem);
    border-radius: var(--r-lg);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.pillar--mission {
    background: linear-gradient(140deg, #c2410c 0%, var(--brand-700) 48%, var(--brand-800) 100%);
    color: #fff;
}

.pillar--vision {
    background: var(--ink-950);
    color: #fff;
}

.pillar::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    z-index: -1;
}

.pillar__icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.16);
    display: grid;
    place-items: center;
    margin-bottom: var(--sp-4);
}

.pillar__icon svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.pillar h3 {
    font-size: var(--step-2);
    margin-bottom: var(--sp-3);
}

.pillar p {
    color: rgba(255, 255, 255, 0.93);
    font-size: var(--step-0);
}

.pillar--vision p {
    color: rgba(255, 255, 255, 0.78);
}

/* --------------------------------------------------------------------------
   12. Steps / how it works
   -------------------------------------------------------------------------- */

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sp-5);
    counter-reset: step;
    position: relative;
}

.steps::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 26px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.26) 8%, rgba(255, 255, 255, 0.26) 92%, transparent);
}

.step {
    position: relative;
    padding-top: var(--sp-8);
}

.step__num {
    position: absolute;
    top: 0;
    left: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--ink-950);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.step:hover .step__num {
    background: var(--brand-500);
    border-color: var(--brand-500);
    transform: scale(1.08);
}

.step h3 {
    font-size: var(--step-1);
    margin-bottom: var(--sp-2);
    color: #fff;
}

.step p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   13. Service cards
   -------------------------------------------------------------------------- */

.services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 0.8rem + 1.8vw, 2rem);
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out), border-color var(--dur) var(--ease);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-200);
}

.service-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--ink-900);
}

.service-card__frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--ease-out);
}

.service-card:hover .service-card__media img {
    transform: scale(1.06);
}

.service-card__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 9, 8, 0.85), rgba(10, 9, 8, 0.05) 60%);
}

.service-card__tag {
    position: absolute;
    left: var(--sp-4);
    top: var(--sp-4);
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink-950);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.32rem 0.7rem;
    border-radius: var(--r-pill);
}

.service-card__icon {
    position: absolute;
    left: var(--sp-5);
    bottom: calc(-1 * var(--sp-5));
    z-index: 3;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: var(--brand-500);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-brand);
    transition: transform var(--dur) var(--ease-out);
}

.service-card:nth-child(2) .service-card__icon {
    background: var(--ink-950);
    box-shadow: 0 10px 30px rgba(10, 9, 8, 0.32);
}

.service-card:hover .service-card__icon {
    transform: rotate(-6deg) scale(1.06);
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.service-card__body {
    padding: calc(var(--sp-6) + var(--sp-3)) clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem) clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--sp-4);
}

.service-card h3 {
    font-size: var(--step-2);
}

.service-card__body > p {
    color: var(--ink-600);
    font-size: var(--step-0);
}

.service-card__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--ink-700);
    background: var(--paper-2);
    border: 1px solid var(--border);
    padding: 0.32rem 0.7rem;
    border-radius: var(--r-pill);
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.service-card:hover .chip {
    background: var(--brand-50);
    border-color: var(--brand-100);
    color: var(--brand-800);
}

.service-card__foot {
    margin-top: auto;
    padding-top: var(--sp-2);
}

/* --------------------------------------------------------------------------
   14. Mandate grid
   -------------------------------------------------------------------------- */

.mandate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(0.75rem, 0.6rem + 0.6vw, 1rem);
}

.mandate-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    display: flex;
    gap: var(--sp-4);
    align-items: flex-start;
    position: relative;
    transition: background-color var(--dur) var(--ease),
                color var(--dur) var(--ease),
                border-color var(--dur) var(--ease),
                transform var(--dur) var(--ease-out),
                box-shadow var(--dur) var(--ease);
}

.mandate-item:hover {
    background: var(--ink-950);
    border-color: var(--ink-950);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.mandate-item__num {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--brand-ink);
    padding-top: 0.28rem;
    flex: none;
    min-width: 26px;
}

.mandate-item p {
    font-weight: 500;
    font-size: var(--step-0);
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.mandate-item:hover .mandate-item__num {
    color: var(--brand-400);
}

/* --------------------------------------------------------------------------
   15. Activity cards (strategic activities)
   -------------------------------------------------------------------------- */

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1rem, 0.7rem + 1.2vw, 1.5rem);
}

.activity {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    position: relative;
    overflow: hidden;
    transition: transform 380ms var(--ease-out), box-shadow 380ms var(--ease-out), border-color var(--dur) var(--ease);
}

.activity::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 3px;
    background: var(--brand-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 420ms var(--ease-out);
}

.activity:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-200);
}

.activity:hover::before {
    transform: scaleX(1);
}

.activity__head {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.activity__icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: var(--brand-50);
    color: var(--brand-ink);
    display: grid;
    place-items: center;
    flex: none;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.activity:hover .activity__icon {
    background: var(--brand-500);
    color: #fff;
}

.activity__icon svg {
    width: 21px;
    height: 21px;
}

.activity h3 {
    font-size: var(--step-1);
    letter-spacing: -0.028em;
}

.activity ul {
    display: grid;
    gap: 0.55rem;
}

.activity li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--ink-600);
    line-height: 1.5;
}

.activity li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--brand-300);
    transition: background-color var(--dur) var(--ease);
}

.activity:hover li::before {
    background: var(--brand-500);
}

/* --------------------------------------------------------------------------
   16. Feature list (service detail pages)
   -------------------------------------------------------------------------- */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(0.9rem, 0.7rem + 0.8vw, 1.2rem);
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    padding: 1.1rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    font-weight: 500;
    font-size: 0.97rem;
    line-height: 1.45;
    letter-spacing: -0.01em;
    transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.feature:hover {
    transform: translateY(-3px);
    border-color: var(--brand-200);
    box-shadow: var(--shadow-sm);
}

.feature svg {
    width: 19px;
    height: 19px;
    color: var(--brand-500);
    flex: none;
    margin-top: 0.15rem;
}

/* Split content block */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 1rem + 4vw, 4.5rem);
    align-items: center;
}

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

.split__media {
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-lg);
}

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

.check-list {
    display: grid;
    gap: var(--sp-3);
    margin-top: var(--sp-5);
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: var(--step-0);
    color: var(--ink-600);
}

.check-list svg {
    width: 20px;
    height: 20px;
    color: var(--brand-500);
    flex: none;
    margin-top: 0.22rem;
}

.section--dark .check-list li {
    color: rgba(255, 255, 255, 0.76);
}

/* --------------------------------------------------------------------------
   17. CTA band
   -------------------------------------------------------------------------- */

.cta-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--ink-950);
    color: #fff;
}

.cta-band__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.cta-band__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.32;
}

.cta-band::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(95deg, rgba(10, 9, 8, 0.92) 12%, rgba(10, 9, 8, 0.55) 70%),
        radial-gradient(55% 100% at 82% 50%, rgba(255, 89, 0, 0.32), transparent 65%);
}

.cta-band__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) auto;
    gap: clamp(1.5rem, 1rem + 3vw, 4rem);
    align-items: center;
    padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}

.cta-band h2 {
    font-size: var(--step-4);
    margin-bottom: var(--sp-4);
}

.cta-band p {
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--step-1);
    max-width: 52ch;
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
}

/* --------------------------------------------------------------------------
   18. Contact
   -------------------------------------------------------------------------- */

.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 1rem + 3.5vw, 4rem);
    align-items: start;
}

.contact-cards {
    display: grid;
    gap: var(--sp-3);
    margin-top: var(--sp-6);
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    padding: 1.15rem 1.3rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease);
}

.contact-card:hover {
    border-color: var(--brand-300);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.contact-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--brand-50);
    color: var(--brand-ink);
    display: grid;
    place-items: center;
    flex: none;
}

.contact-card__icon svg {
    width: 19px;
    height: 19px;
}

.contact-card dt {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-500);
    margin-bottom: 0.15rem;
}

.contact-card dd {
    font-weight: 600;
    font-size: 0.99rem;
    letter-spacing: -0.015em;
    color: var(--ink-900);
    line-height: 1.5;
}

.contact-card dd a:hover {
    color: var(--brand-ink);
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
    box-shadow: var(--shadow-md);
    display: grid;
    gap: var(--sp-4);
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-4);
}

.field {
    display: grid;
    gap: 0.4rem;
}

.field label {
    font-size: var(--step--1);
    font-weight: 600;
    color: var(--ink-700);
    letter-spacing: -0.005em;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--paper);
    font-size: 0.97rem;
    transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.field textarea {
    resize: vertical;
    min-height: 130px;
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6460' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 17px;
    padding-right: 2.6rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--brand-500);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 89, 0, 0.13);
}

.form-note {
    font-size: var(--step--1);
    color: var(--text-muted);
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   19. Map
   -------------------------------------------------------------------------- */

.map-frame {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16 / 7;
    background: var(--ink-100);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.35) contrast(1.02);
}

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--ink-950);
    color: rgba(255, 255, 255, 0.66);
    padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) var(--sp-6);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -120px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 89, 0, 0.16), transparent 68%);
    pointer-events: none;
}

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 1rem + 3vw, 3.5rem);
    padding-bottom: var(--sp-7);
    position: relative;
}

.site-footer .brand__word {
    color: #fff;
}

.footer__about {
    margin-top: var(--sp-4);
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 38ch;
    color: rgba(255, 255, 255, 0.6);
}

.footer__social {
    display: flex;
    gap: 0.6rem;
    margin-top: var(--sp-5);
}

.footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.72);
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease);
}

.footer__social a:hover {
    background: var(--brand-500);
    border-color: var(--brand-500);
    color: #fff;
    transform: translateY(-3px);
}

.footer__social svg {
    width: 17px;
    height: 17px;
}

.footer__col h4 {
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.56);
    margin-bottom: var(--sp-4);
}

.footer__col ul {
    display: grid;
    gap: 0.7rem;
}

.footer__col a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
    transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.footer__col a:hover {
    color: var(--brand-400);
    padding-left: 5px;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-3);
    padding-top: var(--sp-5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--step--1);
    color: rgba(255, 255, 255, 0.56);
}

.footer__bottom nav {
    display: flex;
    gap: var(--sp-5);
    flex-wrap: wrap;
}

.footer__bottom a:hover {
    color: var(--brand-400);
}

/* --------------------------------------------------------------------------
   21. Scroll to top
   -------------------------------------------------------------------------- */

.to-top {
    position: fixed;
    right: clamp(1rem, 0.5rem + 1.5vw, 2rem);
    bottom: clamp(1rem, 0.5rem + 1.5vw, 2rem);
    z-index: 40;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--brand-500);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-brand);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.9);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease-out), visibility var(--dur), background-color var(--dur) var(--ease);
}

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

.to-top:hover {
    background: var(--ink-950);
}

.to-top svg {
    width: 20px;
    height: 20px;
}

/* --------------------------------------------------------------------------
   22. Scroll reveal
   -------------------------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

/* --------------------------------------------------------------------------
   23. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: var(--sp-8);
        min-height: 0;
    }

    .hero__visual {
        justify-self: center;
        width: min(100%, 400px);
    }

    .float-card--pay { left: -4%; }
    .float-card--data { right: -4%; }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--sp-6) var(--sp-5);
    }

    .steps::before {
        display: none;
    }

    .about__grid,
    .split,
    .contact__grid,
    .section-head--split {
        grid-template-columns: 1fr;
    }

    .split--reverse .split__media {
        order: 0;
    }

    .section-head--split {
        align-items: start;
    }

    .cta-band__inner {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .site-nav,
    .header__actions .btn {
        display: none;
    }

    .nav-toggle {
        display: grid;
    }

    .services {
        grid-template-columns: 1fr;
    }

    .topbar__links .topbar__hide-sm {
        display: none;
    }
}

@media (max-width: 620px) {
    :root {
        --header-h: 66px;
    }

    .brand img {
        width: 34px;
        height: 34px;
    }

    .brand__word {
        font-size: 1.12rem;
    }

    .stats,
    .pillars {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .hero__meta {
        gap: var(--sp-5);
    }

    .float-card {
        padding: 0.7rem 0.85rem;
        gap: 0.6rem;
    }

    .float-card__icon {
        width: 32px;
        height: 32px;
    }

    .float-card__value {
        font-size: 0.85rem;
    }

    .hero__cta .btn {
        width: 100%;
    }

    .topbar__links {
        gap: var(--sp-4);
    }

    .topbar__badge span {
        display: none;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 420px) {
    .topbar__links .topbar__hide-xs {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   24. Preferences
   -------------------------------------------------------------------------- */

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .topbar,
    .site-header,
    .drawer,
    .to-top,
    .cta-band,
    .contact-form {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }
}
