/*
 * FarmX public site design system.
 * Self-contained token layer (reads --base-h/s/l from color.php, loaded
 * just before this file) matching the investor portal's fintech look.
 * Used by resources/views/layouts/site.blade.php.
 */

:root {
    /* Neutrals carry a faint green warmth so they sit with the brand,
       and every value keeps AA contrast on white. */
    --heading: 150 32% 12%;
    --body: 155 14% 26%;
    --muted: 155 12% 37%;
    --border: 150 16% 85%;
    --line: 150 18% 91%;
    --white: 0 0% 100%;
    /* deep forest-green near-black — matches the logo wordmark, NOT blue */
    --ink: 150 46% 8%;
    --surface: 0 0% 100%;
    --surface-2: 140 26% 97%;

    /* color.php (users/css/color.php) sets --base-h/s/l from the admin's brand
       colour. These aliases add a hard fallback (#1E7D32 = 133 61% 30%) so the
       whole site still renders on-brand if that file ever fails to load. */
    --bh: var(--base-h, 133);
    --bs: var(--base-s, 61%);
    --bl: var(--base-l, 30%);

    --base: var(--bh) var(--bs) var(--bl);
    /* mid green that still READS as green on white (contrast ~6:1) */
    --brand-text: var(--bh) calc(var(--bs) + 5%) 27%;
    --base-600: var(--bh) var(--bs) calc(var(--bl) - 6%);
    --base-700: var(--bh) var(--bs) calc(var(--bl) - 12%);
    --base-800: var(--bh) var(--bs) calc(var(--bl) - 18%);
    --base-tint: var(--bh) 40% 94%;

    --success: 122 51% 42%;
    --warning: 33 89% 54%;
    --danger: 1 74% 55%;
    /* antique gold from the logo mark */
    --gold: 43 58% 45%;
    --gold-soft: 43 60% 62%;

    /* fresh "spring" green for primary actions + highlights — brighter and
       more saturated than the deep brand green so it reads as energetic,
       but dark enough to pass AA both as white-on-fill and as text-on-white.
       --accent-soft is the lighter variant for use ON the dark sections. */
    --accent: 148 76% 30%;
    --accent-soft: 145 58% 52%;

    /* layered darks for the near-black sections */
    --ink-2: 150 40% 11%;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 34px;
    --radius-2xl: 44px;
    --radius-full: 999px;

    --shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
    --shadow-sm: 0 6px 18px rgba(16, 24, 40, .06);
    --shadow-md: 0 18px 44px rgba(16, 24, 40, .09);
    --shadow-lg: 0 36px 90px rgba(16, 24, 40, .14);

    --grad-base: linear-gradient(150deg, hsl(var(--bh) var(--bs) 42%), hsl(var(--bh) var(--bs) 25%));
    /* tight, dark range so white text stays AA across the whole fill */
    --grad-accent: linear-gradient(150deg, hsl(148 68% 34%), hsl(148 80% 24%));
    --grad-gold: linear-gradient(150deg, hsl(var(--gold-soft)), hsl(var(--gold)));
    --grad-success: linear-gradient(150deg, hsl(var(--success) / 1), hsl(var(--success-h, 122) 45% 32%));
    --glow-base: 0 12px 28px hsl(var(--base) / .35), inset 0 1px 1px rgba(255, 255, 255, .35);
    --glow-accent: 0 14px 30px hsl(var(--accent) / .34), inset 0 1px 1px rgba(255, 255, 255, .3);
    --glow-gold: 0 12px 28px hsl(var(--gold) / .38), inset 0 1px 1px rgba(255, 255, 255, .45);

    --container: 1200px;
    --section-py: clamp(72px, 10vw, 136px);

    --font-sans: "Manrope", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

html { overflow-x: hidden; }

.site-body *, .site-body *::before, .site-body *::after { box-sizing: border-box; }
/* every flex/grid child may shrink below its content so a long word or a
   wide input can never push the page sideways on a phone */
.site-body *:not(img):not(svg):not(video) { min-width: 0; }
.site-body input, .site-body select, .site-body textarea { max-width: 100%; }

.site-body {
    margin: 0;
    font-family: var(--font-sans);
    color: hsl(var(--body));
    background: hsl(var(--white));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}
.site-body img { max-width: 100%; height: auto; display: block; }
.site-body a { color: hsl(var(--brand-text)); text-decoration: none; }
.site-body h1, .site-body h2, .site-body h3, .site-body h4, .site-body p, .site-body span, .site-body a, .site-body strong { overflow-wrap: anywhere; word-break: normal; }

.site-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* --------------------------------------------------------------- type */

.site-body h1, .site-body h2, .site-body h3, .site-body h4 {
    color: hsl(var(--heading));
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 .5em;
    letter-spacing: -.025em;
}
.h-display { font-size: clamp(2.5rem, 6.2vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.03; }
.h-section { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.03em; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: hsl(var(--accent));
    margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: hsl(var(--accent)); }
.section--ink .eyebrow, .secure .eyebrow, .hero .eyebrow { color: hsl(var(--accent-soft)); }
.section--ink .eyebrow::before, .secure .eyebrow::before, .hero .eyebrow::before { background: hsl(var(--accent-soft)); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: hsl(var(--body)); max-width: 62ch; line-height: 1.6; }
.grad-text {
    background: linear-gradient(100deg, hsl(var(--bh) var(--bs) 26%), hsl(var(--bh) var(--bs) 34%) 60%, hsl(var(--gold) / .95) 120%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    /* fallback if clip unsupported */
    color: hsl(var(--brand-text));
}

.section { padding: var(--section-py) 0; }
.section--tint { background: hsl(var(--surface-2)); }
.section--ink {
    position: relative; isolation: isolate; overflow: hidden;
    background: linear-gradient(165deg, hsl(var(--ink-2)), hsl(var(--ink)));
    color: rgba(255, 255, 255, .78);
}
.section--ink::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background: radial-gradient(40% 55% at 85% 10%, hsl(var(--accent) / .3), transparent 65%),
               radial-gradient(45% 55% at 5% 95%, hsl(var(--gold) / .16), transparent 65%);
}
.section--ink h2, .section--ink h3 { color: #fff; }
.section__head { max-width: 680px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section__head .lead { margin-inline: auto; }
.section__head--left { text-align: left; margin-inline: 0; max-width: 620px; }
.section__head .eyebrow { justify-content: center; }
.section__head--left .eyebrow { justify-content: flex-start; }

/* --------------------------------------------------------------- buttons */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 16px 30px;
    font: inherit; font-weight: 700; font-size: 1rem; letter-spacing: -.01em;
    border: 0; border-radius: var(--radius-full);
    cursor: pointer; text-decoration: none;
    transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease, opacity .14s ease;
    line-height: 1; white-space: nowrap; max-width: 100%;
}
/* `.site-body a { color: brand-green }` (0,1,1) would otherwise beat a
   bare `.btn--primary { color:#fff }` (0,1,0) and paint every CTA that is
   an <a> in green-on-green. Scoping the button colours to `.site-body`
   lifts them to (0,2,0) so they win. */
.site-body .btn--primary {
    color: #fff;
    background-color: #17913f;
    background-color: hsl(var(--accent));
    background-image: var(--grad-accent);
    box-shadow: var(--glow-accent);
}
.site-body .btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 36px hsl(var(--accent) / .42), inset 0 1px 1px rgba(255,255,255,.35); }
.site-body .btn--ghost {
    color: hsl(var(--heading));
    background: hsl(var(--white));
    border: 1.5px solid hsl(var(--border));
}
.site-body .btn--ghost:hover { background: hsl(var(--surface-2)); border-color: hsl(var(--heading) / .3); color: hsl(var(--heading)); }
.site-body .btn--on-dark {
    color: hsl(var(--ink)); background: #fff;
}
.site-body .btn--on-dark:hover { color: hsl(var(--ink)); background: rgba(255,255,255,.88); transform: translateY(-2px); }
.site-body .btn--outline-dark {
    color: #fff; background: transparent; border: 1.5px solid rgba(255,255,255,.35);
}
.site-body .btn--outline-dark:hover { color: #fff; background: rgba(255,255,255,.1); }
.site-body .btn--gold { color: #3a2c05; background-image: var(--grad-gold); box-shadow: var(--glow-gold); }
.site-body .btn--gold:hover { color: #3a2c05; transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: .9rem; }
.btn--lg { padding: 19px 38px; font-size: 1.06rem; }
.btn--block { width: 100%; }
.site-body .btn-link {
    display: inline-flex; align-items: center; gap: 7px;
    font-weight: 700; font-size: .95rem; color: hsl(var(--accent));
}
.btn-link i { transition: transform .15s ease; }
.btn-link:hover i { transform: translateX(3px); }

/* aliases for shared viser button classes used inside bootstrap modals */
.site-body .btn--base { color: #fff; background-color: hsl(var(--bh) var(--bs) 30%); background-image: var(--grad-base); box-shadow: var(--glow-base); border-radius: var(--radius-full); }
.site-body .btn--base:hover { color: #fff; }
.site-body .btn.btn-dark { background: hsl(var(--ink)); color: #fff; border-radius: var(--radius-full); }
.site-body .modal .btn { padding: 10px 20px; }
.site-body .modal-content { border: 0; border-radius: var(--radius-lg); }
.site-body .modal-header, .site-body .modal-footer { border-color: hsl(var(--line)); }
.site-body .modal .close { border: 0; background: none; font-size: 1.1rem; color: hsl(var(--muted)); }
.site-body .modal-body { color: hsl(var(--body)); }
.site-body .text--danger { color: hsl(var(--danger)); }
.site-body .text--success { color: hsl(var(--success)); }
.site-body .text--base { color: hsl(var(--brand-text)); }

/* --------------------------------------------------------------- header */

.site-header {
    position: sticky; top: 0; z-index: 900;
    background: hsl(var(--white) / .82);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.site-header.is-scrolled { border-color: hsl(var(--line)); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 74px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.16rem; color: hsl(var(--heading)); letter-spacing: -.02em; }
.site-logo img { height: 34px; width: 34px; object-fit: contain; border-radius: 8px; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.site-nav a {
    padding: 9px 14px; border-radius: var(--radius-full);
    font-weight: 500; font-size: .93rem; color: hsl(var(--body));
    transition: background .12s, color .12s;
}
.site-nav a:hover, .site-nav a.is-active { background: hsl(var(--base-tint)); color: hsl(var(--brand-text)); }

.site-header__cta { display: flex; align-items: center; gap: 10px; }
.site-header__cta .link { font-weight: 600; font-size: .92rem; color: hsl(var(--heading)); padding: 8px 6px; }

.site-lang { position: relative; }
.site-lang__btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font: inherit; color: hsl(var(--body)); padding: 8px; }
.site-lang__btn img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.site-lang__menu {
    position: absolute; right: 0; top: 100%; margin-top: 6px;
    background: #fff; border: 1px solid hsl(var(--border)); border-radius: var(--radius);
    box-shadow: var(--shadow-md); padding: 6px; min-width: 170px; display: none; list-style: none;
}
.site-lang.is-open .site-lang__menu { display: block; }
.site-lang__menu li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); cursor: pointer; font-size: .9rem; color: hsl(var(--body)); }
.site-lang__menu li:hover { background: hsl(var(--base-tint)); }
.site-lang__menu img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }

.site-burger { display: none; width: 44px; height: 44px; border: 1px solid hsl(var(--border)); border-radius: var(--radius-sm); background: #fff; cursor: pointer; padding: 0; place-items: center; }
.site-burger span, .site-burger span::before, .site-burger span::after { content: ""; display: block; width: 18px; height: 2px; background: hsl(var(--heading)); border-radius: 2px; position: relative; }
.site-burger span::before { position: absolute; top: -6px; }
.site-burger span::after { position: absolute; top: 6px; }

/* mobile drawer */
.site-drawer { position: fixed; inset: 0 0 0 auto; width: min(88vw, 340px); background: #fff; z-index: 1000; transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; padding: 20px; overflow-y: auto; box-shadow: var(--shadow-lg); }
.site-drawer.is-open { transform: none; }
.site-drawer__scrim { position: fixed; inset: 0; background: rgba(16,24,40,.42); z-index: 999; opacity: 0; visibility: hidden; transition: opacity .28s; }
.site-drawer__scrim.is-open { opacity: 1; visibility: visible; }
.site-drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.site-drawer__close { width: 40px; height: 40px; border: 0; background: hsl(var(--surface-2)); border-radius: var(--radius-sm); font-size: 1.3rem; color: hsl(var(--heading)); cursor: pointer; }
.site-drawer nav { display: grid; gap: 4px; }
.site-drawer nav a { padding: 12px 12px; border-radius: var(--radius-sm); font-weight: 600; color: hsl(var(--heading)); }
.site-drawer nav a:hover { background: hsl(var(--base-tint)); }
.site-drawer__actions { margin-top: auto; display: grid; gap: 10px; padding-top: 20px; }

/* --------------------------------------------------------------- hero */

.hero {
    position: relative; overflow: hidden; isolation: isolate;
    color: rgba(255,255,255,.9);
    background: radial-gradient(120% 90% at 8% -10%, hsl(var(--bh) var(--bs) 22%), transparent 60%),
                linear-gradient(165deg, hsl(var(--ink-2)), hsl(var(--ink)) 70%);
    padding: clamp(48px, 8vw, 100px) 0 clamp(60px, 9vw, 120px);
}
.hero::before {
    content: ""; position: absolute; inset: -20%; z-index: -1;
    background:
        radial-gradient(38% 40% at 88% 14%, hsl(var(--accent) / .4), transparent 66%),
        radial-gradient(36% 40% at 8% 92%, hsl(var(--gold) / .22), transparent 68%);
    animation: heroMesh 28s ease-in-out infinite alternate;
}
@keyframes heroMesh { from { transform: translate3d(-2%,-1%,0); } to { transform: translate3d(3%,2%,0); } }

.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.03; }
.hero h1 em { font-style: normal; color: hsl(var(--accent-soft)); }
.hero__lead { font-size: clamp(1.06rem, 1.6vw, 1.28rem); color: rgba(255,255,255,.78); max-width: 44ch; margin: 22px 0 32px; line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__note { font-size: .9rem; color: rgba(255,255,255,.6); margin-top: 16px; }
.hero__note strong { color: rgba(255,255,255,.9); font-weight: 700; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.hero__chip { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: rgba(255,255,255,.8); }
.hero__chip i { color: hsl(var(--accent-soft)); font-size: 1.05rem; }

/* ---- phone / app mockup (Bamboo-style product visual) ---- */
.appshot { position: relative; display: flex; justify-content: center; }
.phone {
    position: relative; z-index: 1; width: min(300px, 78vw); aspect-ratio: 300 / 610;
    background: #0c1512; border: 2px solid rgba(255,255,255,.14);
    border-radius: 44px; padding: 12px;
    box-shadow: 0 50px 110px rgba(0,0,0,.5), inset 0 1px 2px rgba(255,255,255,.12);
}
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 42%; height: 22px; background: #0c1512; border-radius: 0 0 16px 16px; z-index: 3; }
.phone__screen {
    width: 100%; height: 100%; border-radius: 33px; overflow: hidden;
    background: linear-gradient(180deg, hsl(var(--bh) var(--bs) 16%), hsl(var(--ink)));
    padding: 34px 16px 16px; display: flex; flex-direction: column; gap: 12px;
}
.phone__bal { color: rgba(255,255,255,.55); font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.phone__amt { color: #fff; font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; }
.phone__delta { color: hsl(var(--accent-soft)); font-size: .8rem; font-weight: 700; }
.phone__card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 13px; }
.phone__card h5 { color: #fff; font-size: .82rem; margin: 0 0 8px; font-weight: 700; }
.phone__row { display: flex; justify-content: space-between; font-size: .72rem; color: rgba(255,255,255,.6); margin-top: 5px; }
.phone__row b { color: rgba(255,255,255,.92); font-weight: 700; }
.phone__bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; margin-top: 8px; }
.phone__bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad-accent); }
.phone__spark { display: flex; align-items: flex-end; gap: 4px; height: 46px; margin-top: 6px; }
.phone__spark span { flex: 1; border-radius: 3px 3px 0 0; background: hsl(var(--accent) / .55); }

.mcard {
    position: absolute; z-index: 2; background: #fff; color: hsl(var(--heading));
    border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700;
    animation: floaty 8s ease-in-out infinite;
}
.mcard i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: var(--grad-accent); font-size: .95rem; }
.mcard span { display: block; font-size: .68rem; font-weight: 600; color: hsl(var(--muted)); }
.mcard--tl { top: 8%; left: -6%; animation-delay: -2s; }
.mcard--br { bottom: 12%; right: -8%; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* --------------------------------------------------------------- 3d icon badge */

.badge3d {
    width: 56px; height: 56px; border-radius: var(--radius);
    display: grid; place-items: center; font-size: 1.4rem; color: #fff; flex: 0 0 auto;
    background: var(--grad-base); box-shadow: var(--glow-base);
}
.badge3d--gold { background: var(--grad-gold); box-shadow: var(--glow-gold); color: #3a2c05; }
.badge3d--success { background: var(--grad-success); box-shadow: 0 10px 24px hsl(var(--success) / .32), inset 0 1px 1px rgba(255,255,255,.4); }
.badge3d i, .badge3d svg { pointer-events: none; }

/* --------------------------------------------------------------- feature grid */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.feature {
    background: #fff; border: 1px solid hsl(var(--line));
    border-radius: var(--radius-lg); padding: 26px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature h3 { font-size: 1.12rem; margin: 18px 0 8px; }
.feature p { margin: 0; font-size: .93rem; }
.feature .badge3d i { font-size: 1.4rem; }

/* --------------------------------------------------------------- steps */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; counter-reset: step; }
.step {
    position: relative; background: #fff; border: 1px solid hsl(var(--line));
    border-radius: var(--radius-lg); padding: 28px 24px;
}
.step__num {
    width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center;
    font-weight: 800; color: #fff; background: var(--grad-base); box-shadow: var(--glow-base);
    margin-bottom: 16px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: .92rem; }

/* --------------------------------------------------------------- project card */

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard {
    display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid hsl(var(--line));
    border-radius: var(--radius-lg); box-shadow: var(--shadow-xs);
    transition: transform .15s ease, box-shadow .15s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pcard__media { position: relative; aspect-ratio: 16 / 10; background: hsl(var(--surface-2)); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__tag { position: absolute; left: 12px; top: 12px; background: hsl(var(--white) / .92); color: hsl(var(--brand-text)); font-size: .72rem; font-weight: 700; padding: 5px 10px; border-radius: var(--radius-full); }
.pcard__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pcard__company { font-size: .78rem; font-weight: 600; color: hsl(var(--muted)); text-transform: uppercase; letter-spacing: .04em; }
.pcard__name { font-size: 1.12rem; font-weight: 700; color: hsl(var(--heading)); margin: -4px 0 0; }
.pcard__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.pcard__stat span { display: block; font-size: .72rem; color: hsl(var(--muted)); }
.pcard__stat strong { font-size: .98rem; color: hsl(var(--heading)); }
.pcard__bar { height: 7px; border-radius: var(--radius-full); background: hsl(var(--line)); overflow: hidden; }
.pcard__bar i { display: block; height: 100%; background: var(--grad-success); border-radius: inherit; }
.pcard__meta { display: flex; justify-content: space-between; font-size: .76rem; color: hsl(var(--muted)); }
.pcard__foot { padding: 0 20px 20px; }

/* --------------------------------------------------------------- stats band */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; text-align: center; }
.stat__num { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.stat__label { font-size: .86rem; color: rgba(255,255,255,.75); margin-top: 4px; }

/* --------------------------------------------------------------- testimonials */

.tcard { background: #fff; border: 1px solid hsl(var(--line)); border-radius: var(--radius-lg); padding: 26px; height: 100%; }
.tcard__quote { font-size: 1rem; color: hsl(var(--heading)); margin: 0 0 20px; }
.tcard__quote::before { content: "“"; font-size: 2.4rem; line-height: 0; color: hsl(var(--base) / .4); vertical-align: -.4em; margin-right: 4px; }
.tcard__who { display: flex; align-items: center; gap: 12px; }
.tcard__who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.tcard__who strong { display: block; font-size: .92rem; color: hsl(var(--heading)); }
.tcard__who span { font-size: .8rem; color: hsl(var(--muted)); }

/* --------------------------------------------------------------- faq */

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
    background: #fff; border: 1px solid hsl(var(--line)); border-radius: var(--radius);
    overflow: hidden;
}
.faq summary {
    list-style: none; cursor: pointer; padding: 18px 20px;
    font-weight: 600; color: hsl(var(--heading)); font-size: .98rem;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\002B"; font-size: 1.2rem; color: hsl(var(--brand-text)); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; font-size: .93rem; color: hsl(var(--body)); }

/* --------------------------------------------------------------- cta band */

.cta-band {
    position: relative; overflow: hidden; isolation: isolate;
    border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 68px);
    text-align: center; color: #fff;
    background: linear-gradient(150deg, hsl(var(--bh) var(--bs) 26%), hsl(var(--bh) calc(var(--bs) * .85) 13%));
}
.cta-band::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(40% 50% at 85% 100%, hsl(var(--gold) / .5), transparent 65%), radial-gradient(40% 50% at 10% 0%, hsl(var(--bh) var(--bs) 50% / .5), transparent 70%); }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,.82); margin: 0 auto 26px; }

/* --------------------------------------------------------------- about split */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 66px); align-items: center; }
.split__media { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; background: hsl(var(--surface-2)); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__play { position: absolute; inset: 0; display: grid; place-items: center; }
.split__play a { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.4rem; background: var(--grad-base); box-shadow: var(--glow-base); }
.split ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.split ul li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.split ul li i { color: hsl(var(--accent)); margin-top: 3px; font-size: 1.1rem; }

/* --------------------------------------------------------------- trust strip */

.trust-strip { border-top: 1px solid hsl(var(--line)); border-bottom: 1px solid hsl(var(--line)); background: hsl(var(--white)); }
.trust-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; padding: 22px 0; }
.trust-strip__label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: hsl(var(--muted)); }
.trust-strip__item { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 600; color: hsl(var(--heading)); }
.trust-strip__item i { color: hsl(var(--accent)); font-size: 1.2rem; }

/* --------------------------------------------------------------- big stat line */

.statline { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.statline__big { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; color: hsl(var(--heading)); line-height: 1; }
.statline__big em { font-style: normal; color: hsl(var(--accent)); }
.statline p { font-size: clamp(1.05rem, 1.5vw, 1.2rem); margin: 16px 0 0; }
.statline__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.statline__cell { background: hsl(var(--surface-2)); border: 1px solid hsl(var(--line)); border-radius: var(--radius-lg); padding: 20px; }
.statline__cell strong { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: hsl(var(--heading)); }
.statline__cell span { font-size: .85rem; color: hsl(var(--muted)); }

/* --------------------------------------------------------------- category cards */

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
    display: flex; flex-direction: column; gap: 12px;
    background: hsl(var(--white)); border: 1px solid hsl(var(--line));
    border-radius: var(--radius-lg); padding: 26px;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.cat-card__ic { width: 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: var(--grad-base); box-shadow: var(--glow-base); }
.cat-card h3 { font-size: 1.16rem; margin: 6px 0 0; }
.cat-card p { font-size: .93rem; margin: 0; flex: 1; }
.cat-card .btn-link { margin-top: 4px; }

/* --------------------------------------------------------------- app tracking section */

.appblock { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.appblock--flip .appblock__media { order: -1; }
.appblock__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.appblock__list li { display: flex; gap: 14px; align-items: flex-start; }
.appblock__list i { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad-accent); font-size: 1.05rem; box-shadow: var(--glow-accent); }
.appblock__list h4 { margin: 2px 0 3px; font-size: 1.02rem; }
.appblock__list p { margin: 0; font-size: .92rem; }

/* --------------------------------------------------------------- security section */

.secure__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(36px, 5vw, 56px); }
.secure__item { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 26px; }
.secure__item i { font-size: 1.6rem; color: hsl(var(--accent-soft)); }
.secure__item h3 { color: #fff; font-size: 1.06rem; margin: 14px 0 6px; }
.secure__item p { margin: 0; font-size: .92rem; color: rgba(255,255,255,.68); }

/* --------------------------------------------------------------- returns estimator */

.calc {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    background: hsl(var(--white)); border: 1px solid hsl(var(--line));
    border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md);
    max-width: 900px; margin: 0 auto;
}
.calc__controls { padding: clamp(26px, 4vw, 40px); }
.calc__out {
    padding: clamp(26px, 4vw, 40px); color: #fff;
    background: linear-gradient(165deg, hsl(var(--bh) var(--bs) 22%), hsl(var(--ink)));
    display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.calc__field { margin-bottom: 22px; }
.calc__field:last-child { margin-bottom: 0; }
.calc__field label { display: flex; justify-content: space-between; font-size: .86rem; font-weight: 700; color: hsl(var(--heading)); margin-bottom: 10px; }
.calc__field label b { color: hsl(var(--accent)); font-weight: 800; }
.calc__field input[type="range"] { width: 100%; accent-color: hsl(var(--accent)); }
.calc__field input[type="number"] {
    width: 100%; padding: 12px 14px; font: inherit; font-weight: 700; color: hsl(var(--heading));
    border: 1.5px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--white));
}
.calc__field input:focus { outline: none; border-color: hsl(var(--accent)); box-shadow: 0 0 0 4px hsl(var(--accent) / .14); }
.calc__seg { display: flex; gap: 6px; background: hsl(var(--surface-2)); padding: 5px; border-radius: var(--radius-full); }
.calc__seg button { flex: 1; border: 0; background: none; padding: 9px 8px; border-radius: var(--radius-full); font: inherit; font-weight: 700; font-size: .84rem; color: hsl(var(--body)); cursor: pointer; }
.calc__seg button.is-active { background: hsl(var(--white)); color: hsl(var(--accent)); box-shadow: var(--shadow-xs); }
.calc__out-label { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.calc__out-big { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1; margin-top: 4px; }
.calc__out-row { display: flex; justify-content: space-between; font-size: .9rem; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); }
.calc__out-row b { font-weight: 800; color: hsl(var(--accent-soft)); }
.calc__note { font-size: .8rem; color: hsl(var(--muted)); margin: 16px auto 0; max-width: 640px; text-align: center; }

/* --------------------------------------------------------------- footer */

.site-footer { background: hsl(var(--ink)); color: rgba(255,255,255,.72); padding: clamp(50px, 7vw, 84px) 0 30px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer__brand .site-logo { color: #fff; margin-bottom: 14px; }
.site-footer__brand p { font-size: .9rem; max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { color: rgba(255,255,255,.74); font-size: .9rem; }
.site-footer ul a:hover { color: #fff; }
.site-footer__socials { display: flex; gap: 10px; margin-top: 16px; }
.site-footer__socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.site-footer__socials a:hover { background: hsl(var(--base)); }
.site-footer__news form { display: flex; gap: 8px; margin-top: 12px; }
.site-footer__news input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: var(--radius-full); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; font: inherit; }
.site-footer__news input::placeholder { color: rgba(255,255,255,.4); }
.site-footer__news button { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 0; color: #fff; background: var(--grad-base); cursor: pointer; }
.site-footer__disclaimer { margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; line-height: 1.7; color: rgba(255,255,255,.5); max-width: 90ch; }
.site-footer__bottom { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; }

/* --------------------------------------------------------------- page header + prose */

.page-hero {
    position: relative; isolation: isolate; overflow: hidden;
    background: hsl(var(--surface-2));
    padding: clamp(52px, 7vw, 92px) 0 clamp(48px, 6vw, 76px);
    text-align: center; border-bottom: 1px solid hsl(var(--line));
}
.page-hero .eyebrow { margin-bottom: 14px; justify-content: center; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
.page-hero .lead { margin-inline: auto; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }

.page-hero--dark {
    background: linear-gradient(165deg, hsl(var(--ink-2)), hsl(var(--ink)));
    color: rgba(255,255,255,.78); border-bottom: 0;
}
.page-hero--dark::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
    background: radial-gradient(38% 55% at 85% 6%, hsl(var(--accent) / .32), transparent 64%),
               radial-gradient(42% 55% at 6% 96%, hsl(var(--gold) / .16), transparent 66%);
}
.page-hero--dark h1 { color: #fff; }
.page-hero--dark h1 em { font-style: normal; color: hsl(var(--accent-soft)); }
.page-hero--dark .lead { color: rgba(255,255,255,.76); }
.page-hero--dark .eyebrow { color: hsl(var(--accent-soft)); }
.page-hero--dark .eyebrow::before { background: hsl(var(--accent-soft)); }
.page-hero--dark .breadcrumbs { color: rgba(255,255,255,.5); }
.page-hero--dark .breadcrumbs a { color: rgba(255,255,255,.8); }

.breadcrumbs { font-size: .82rem; color: hsl(var(--muted)); margin-top: 14px; }
.breadcrumbs a { color: hsl(var(--brand-text)); }

/* referral link / copy box */
.reflink {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
    background: hsl(var(--surface-2)); border: 1px solid hsl(var(--line));
    border-radius: var(--radius); padding: 10px 10px 10px 18px; max-width: 520px;
}
.reflink code { flex: 1; min-width: 0; font: inherit; font-weight: 700; color: hsl(var(--heading)); overflow-wrap: anywhere; }
.reflink .btn { flex: 0 0 auto; }

/* simple checkmark list */
.mini-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.mini-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .98rem; }
.mini-list li i { color: hsl(var(--accent)); margin-top: 3px; font-size: 1.1rem; flex: 0 0 auto; }

.site-prose { max-width: 780px; margin: 0 auto; color: hsl(var(--body)); font-size: 1.02rem; line-height: 1.72; overflow-wrap: anywhere; }
.site-prose > :first-child { margin-top: 0; }
.site-prose h1, .site-prose h2, .site-prose h3, .site-prose h4 { color: hsl(var(--heading)); }
.site-prose h2 { font-size: 1.4rem; margin: 2em 0 .7em; padding-top: 1.5em; border-top: 1px solid hsl(var(--line)); letter-spacing: -.02em; }
.site-prose h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 1.2em; }
.site-prose h3 { font-size: 1.12rem; margin: 1.7em 0 .5em; }
.site-prose p, .site-prose ul, .site-prose ol { margin: 0 0 1.05em; }
.site-prose ul, .site-prose ol { padding-left: 1.4em; }
.site-prose li { margin-bottom: .5em; }
.site-prose li::marker { color: hsl(var(--accent)); }
.site-prose a { color: hsl(var(--brand-text)); text-decoration: underline; }
.site-prose strong { color: hsl(var(--heading)); font-weight: 700; }
.site-prose img { border-radius: var(--radius); margin: 1.4em 0; }
.site-prose .policy-meta {
    display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .02em;
    color: hsl(var(--muted)); background: hsl(var(--surface-2));
    border: 1px solid hsl(var(--line)); border-radius: var(--radius-full);
    padding: 6px 14px; margin: 0 0 1.6em;
}
.site-prose .policy-note {
    background: hsl(var(--surface-2)); border: 1px solid hsl(var(--line));
    border-left: 3px solid hsl(var(--accent));
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 14px 18px; font-size: .96rem; margin: 0 0 1.4em;
}
.site-prose .policy-note :last-child { margin-bottom: 0; }
.site-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; }
.site-prose th, .site-prose td { border: 1px solid hsl(var(--line)); padding: 10px 12px; text-align: left; vertical-align: top; }
.site-prose th { background: hsl(var(--surface-2)); font-weight: 700; color: hsl(var(--heading)); }
.site-prose hr { border: 0; border-top: 1px solid hsl(var(--line)); margin: 2em 0; }

/* --------------------------------------------------------------- contact + blog */

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.contact-info { background: hsl(var(--ink)); color: rgba(255,255,255,.75); border-radius: var(--radius-lg); padding: 30px; display: grid; gap: 20px; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; list-style: none; }
.contact-info ul { margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-info strong { display: block; color: #fff; font-size: .9rem; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: hsl(var(--heading)); margin-bottom: 6px; }
.field .form-control, .field input, .field textarea, .site-body .form--control {
    width: 100%; padding: 12px 14px; font: inherit; color: hsl(var(--heading));
    border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: #fff; outline: none;
}
.field .form-control:focus, .field input:focus, .field textarea:focus { border-color: hsl(var(--base)); box-shadow: 0 0 0 4px hsl(var(--base) / .12); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bcard { display: flex; flex-direction: column; background: #fff; border: 1px solid hsl(var(--line)); border-radius: var(--radius-lg); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bcard__thumb { aspect-ratio: 16 / 10; background: hsl(var(--surface-2)); }
.bcard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.bcard__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bcard__meta { font-size: .78rem; color: hsl(var(--muted)); }
.bcard__title { font-size: 1.06rem; font-weight: 700; color: hsl(var(--heading)); margin: 0; }
.bcard__title a { color: inherit; }
.bcard__excerpt { font-size: .9rem; margin: 0; }

/* --------------------------------------------------------------- transactions table */

.trx-table { width: 100%; border-collapse: collapse; }
.trx-table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: hsl(var(--muted)); padding: 12px 14px; border-bottom: 1px solid hsl(var(--line)); }
.trx-table td { padding: 14px; border-bottom: 1px solid hsl(var(--line)); font-size: .9rem; color: hsl(var(--heading)); }
.trx-table .who { display: flex; align-items: center; gap: 10px; }
.trx-table .who img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.trx-tabs { display: inline-flex; gap: 6px; background: hsl(var(--surface-2)); padding: 5px; border-radius: var(--radius-full); margin-bottom: 22px; }
.trx-tabs button { border: 0; background: none; padding: 9px 18px; border-radius: var(--radius-full); font: inherit; font-weight: 600; font-size: .88rem; color: hsl(var(--body)); cursor: pointer; }
.trx-tabs button.is-active { background: #fff; color: hsl(var(--brand-text)); box-shadow: var(--shadow-xs); }
.trx-panel { display: none; overflow-x: auto; }
.trx-panel.is-active { display: block; }

/* --------------------------------------------------------------- state cards */

.state { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.state__ic { width: 84px; height: 84px; border-radius: var(--radius-xl); display: grid; place-items: center; font-size: 2.2rem; color: #fff; background: var(--grad-base); box-shadow: var(--glow-base); margin: 0 auto 22px; }

/* --------------------------------------------------------------- cookie banner */

.cookies-card {
    position: fixed; left: 20px; bottom: 20px; z-index: 950;
    width: min(92vw, 340px); background: hsl(var(--ink)); color: rgba(255,255,255,.8);
    border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-lg);
    transition: transform .3s ease, opacity .3s ease;
}
.cookies-card.hide { transform: translateY(20px); opacity: 0; pointer-events: none; }
.cookies-card__icon { width: 46px; height: 46px; border-radius: var(--radius); display: grid; place-items: center; font-size: 1.3rem; color: #fff; background: var(--grad-base); margin: 0 auto; }
.cookies-card__content { font-size: .86rem; margin: 12px 0 14px; }
.cookies-card__content a { color: hsl(var(--gold-soft)); text-decoration: underline; }

/* --------------------------------------------------------------- pagination */

.site-body .pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.site-body .pagination .page-item .page-link {
    display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px;
    border: 1px solid hsl(var(--border)); border-radius: var(--radius-sm);
    color: hsl(var(--brand-text)); background: #fff; font-size: .9rem; font-weight: 600;
}
.site-body .pagination .page-item.active .page-link,
.site-body .pagination .page-item .page-link:hover { background: hsl(var(--base-tint)); border-color: transparent; }
.site-body .pagination .page-item.disabled .page-link { color: hsl(var(--muted)); opacity: .5; }

/* --------------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .hero::before, .mcard { animation: none !important; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------- responsive */

/* wide content that must never push the page sideways scrolls in its own box */
.trx-tabs { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.trx-tabs button { flex: 0 0 auto; }

@media (max-width: 1100px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
    .site-nav, .site-header__cta .link, .site-lang { display: none; }
    .site-burger { display: grid; }
    .site-header__cta { margin-left: auto; }
    .hero__grid { grid-template-columns: 1fr; }
    .hero { text-align: center; }
    .hero .eyebrow, .hero__cta, .hero__chips { justify-content: center; }
    .hero__lead { margin-left: auto; margin-right: auto; }
    .appshot { margin-top: 44px; }
    .split, .statline, .appblock, .calc { grid-template-columns: 1fr; }
    .appblock--flip .appblock__media, .split__media { order: -1; }
    .grid-3, .grid-2, .steps, .projects-grid, .blog-grid, .cat-grid, .secure__grid { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .section__head { margin-bottom: clamp(28px, 6vw, 44px); }
    .calc__out { order: -1; }
}
@media (max-width: 640px) {
    .grid-3, .grid-2, .grid-4, .steps, .projects-grid, .blog-grid, .stats, .cat-grid, .secure__grid { grid-template-columns: 1fr; }
    .site-header__inner { height: 62px; gap: 12px; }
    .site-logo { font-size: 1.04rem; gap: 8px; }
    .site-logo img { height: 30px; width: 30px; }
    .hero { padding: 40px 0 52px; }
    .hero__chips { gap: 8px 16px; }
    .cta-band { border-radius: var(--radius-lg); padding: 36px 22px; }
    .btn { padding: 14px 22px; font-size: .94rem; }
    .btn--sm { padding: 10px 16px; }
    .btn--lg { padding: 16px 26px; font-size: 1rem; }
    .hero__cta { width: 100%; }
    .hero__cta .btn { flex: 1 1 auto; }
    .contact-info, .feature, .tcard, .step, .cat-card, .secure__item, .statline__cell { padding: 22px; }
    .mcard--tl { left: 0; }
    .mcard--br { right: 0; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
    .site-footer__bottom { justify-content: center; text-align: center; }
}
@media (max-width: 360px) {
    .site-logo span { display: none; }
    .mcard { display: none; }
}
