/* ============================================================
   RIVDIS — CSS PRINCIPAL
   Centrale d'achat B2B · La Réunion
   Adaptation du thème RedMoon Studio
   ============================================================ */

/* ─── VARIABLES PAR DÉFAUT ─────────────────────────────────── */
:root {
    --color-primary:    #BA7517;   /* Cuivre — CTA, accents */
    --color-navy:       #042C53;   /* Bleu nuit — hero, headers */
    --color-navy-light: #0C447C;   /* Bleu intermédiaire */
    --color-bg:         #F1EFE8;   /* Fond papier */
    --color-dark:       #042C53;   /* Sections sombres = navy */
    --color-card:       #FFFFFF;   /* Fond cartes */
    --color-text:       #2C2C2A;   /* Texte principal */

    /* Dérivées */
    --color-primary-glow: rgba(186, 117, 23, 0.15);
    --color-muted:        rgba(44, 44, 42, 0.55);
    --color-border:       rgba(44, 44, 42, 0.12);
    --color-border-dark:  rgba(255, 255, 255, 0.10);

    /* Typographie */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body:    'Inter', sans-serif;

    /* Espacements */
    --gutter:    5vw;
    --section-v: 7vw;
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Grain subtil sur fond clair */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 200px;
    pointer-events: none;
    z-index: 9998;
    opacity: .3;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; transition: color .2s; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: var(--color-navy);
}

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ─── NAVIGATION ────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--gutter);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--color-border);
    transition: border-color .3s, box-shadow .3s;
}

.site-header.scrolled {
    border-bottom-color: rgba(44, 44, 42, 0.18);
    box-shadow: 0 4px 24px rgba(4, 44, 83, 0.08);
}

.site-logo-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo-wrap .custom-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.site-logo-wrap .custom-logo-link img,
.site-logo-wrap .custom-logo {
    max-height: 48px;
    width: auto;
    display: block;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: -0.02em;
    text-decoration: none;
}
.site-logo span { color: var(--color-primary); }

.primary-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-list a {
    font-size: .875rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: color .2s;
}
.nav-list a:hover { color: var(--color-navy); }

.nav-cta {
    display: inline-block;
    padding: 9px 20px;
    background: var(--color-primary);
    color: #fff !important;
    border-radius: 4px;
    font-size: .85rem;
    font-weight: 600;
    transition: background .2s;
}
.nav-cta:hover { background: #9C5F10; }

/* Burger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-navy);
    transition: transform .3s, opacity .3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.mobile-nav {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem var(--gutter);
    z-index: 999;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s, opacity .25s;
}
.mobile-nav.is-open {
    display: block;
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: .75rem; }
.mobile-nav a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    display: block;
    padding: .5rem 0;
    border-bottom: 1px solid var(--color-border);
}
.mobile-nav .btn-primary {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 22px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
}

/* ─── BOUTONS ────────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}
.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border: 1.5px solid var(--color-primary);
}
.btn-primary:hover { background: #9C5F10; border-color: #9C5F10; }

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.45);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn-ghost-dark {
    background: transparent;
    color: var(--color-navy);
    border: 1.5px solid var(--color-navy);
}
.btn-ghost-dark:hover { background: var(--color-navy); color: #fff; }

.btn-white {
    background: #fff;
    color: var(--color-navy);
    border: 1.5px solid #fff;
}
.btn-white:hover { background: var(--color-bg); border-color: var(--color-bg); }

/* ─── UTILITAIRES SECTIONS ───────────────────────────────────── */
.section-block {
    padding: var(--section-v) var(--gutter);
}
.bg-dark {
    background: var(--color-navy);
    color: #fff;
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-dark p, .bg-dark li { color: rgba(255,255,255,.75); }

.section-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--color-primary);
    margin-bottom: .75rem;
}
.bg-dark .section-label { color: rgba(186,117,23,.9); }

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.25rem;
}

/* ─── REVEAL ANIMATION ────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px var(--gutter) 80px;
    background: var(--color-navy);
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .08;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4,44,83,.98) 50%, rgba(12,68,124,.7) 100%);
}

/* Motif géométrique subtil */
.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .04;
    background-image:
        linear-gradient(rgba(186,117,23,.6) 1px, transparent 1px),
        linear-gradient(90deg, rgba(186,117,23,.6) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-label {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(186,117,23,.9);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.hero-title .accent { color: var(--color-primary); }

.hero-description {
    font-size: 1.1rem;
    color: rgba(255,255,255,.7);
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Badge accès B2B */
.hero-badge {
    position: absolute;
    right: var(--gutter);
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    width: 300px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.hero-badge-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border);
}
.hero-badge-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--color-muted); margin-bottom: 4px; }
.hero-badge-name { font-size: 1rem; font-weight: 700; color: var(--color-navy); }
.hero-badge-status {
    font-size: .65rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.status-wait { background: #FAEEDA; color: #854F0B; }
.status-ok   { background: #EAF3DE; color: #3B6D11; }
.hero-badge-row {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    font-size: .8rem;
    border-bottom: 1px dashed var(--color-border);
}
.hero-badge-row:last-of-type { border-bottom: none; }
.hero-badge-row .k { color: var(--color-muted); }
.hero-badge-row .v { font-weight: 600; }
.hero-badge-note {
    margin-top: 14px;
    padding: 10px 12px;
    background: #FAEEDA;
    border-radius: 5px;
    font-size: .75rem;
    color: #854F0B;
    line-height: 1.5;
}

/* ─── CHIFFRES CLÉS ──────────────────────────────────────────── */
.stats-strip {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 24px var(--gutter);
}
.stats-inner {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.stat-item { display: flex; align-items: center; gap: 14px; }
.stat-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-navy);
}
.stat-label { font-size: .75rem; color: var(--color-muted); line-height: 1.3; }

/* ─── SERVICES / AVANTAGES ───────────────────────────────────── */
.services-header {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.services-intro {
    max-width: 420px;
    font-size: .95rem;
    color: rgba(255,255,255,.65);
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}
.service-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 8px;
    padding: 2rem;
    transition: border-color .2s, background .2s;
}
.service-card:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(186,117,23,.4);
}
.service-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(186,117,23,.25);
    font-family: var(--font-display);
    margin-bottom: 1rem;
    line-height: 1;
}
.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: .6rem;
}
.service-desc { font-size: .875rem; color: rgba(255,255,255,.6); }
.service-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

/* ─── À PROPOS ───────────────────────────────────────────────── */
.about-split {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-visual { position: relative; }
.about-img-frame {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--color-navy);
}
.about-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-primary);
    color: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(186,117,23,.35);
}
.about-badge strong { display: block; font-size: 1.5rem; font-weight: 700; font-family: var(--font-display); }
.about-badge span   { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.about-text .section-title { margin-bottom: 1.25rem; }
.about-text p { font-size: .95rem; color: var(--color-muted); }

/* ─── PROCESSUS ──────────────────────────────────────────────── */
.process-steps {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 2rem;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(50% / 4);
    right: calc(50% / 4);
    height: 1px;
    background: rgba(255,255,255,.12);
}
.process-step { position: relative; }
.step-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: rgba(186,117,23,.3);
    line-height: 1;
    margin-bottom: .75rem;
}
.step-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: .5rem;
}
.step-desc { font-size: .85rem; color: rgba(255,255,255,.55); }

/* ─── GRILLE TARIFS (accès pro) ─────────────────────────────── */
.pricing-grid {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}
.price-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2rem;
    transition: border-color .2s, box-shadow .2s;
}
.price-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(186,117,23,.1);
}
.price-card.is-featured {
    border-color: var(--color-primary);
    background: var(--color-navy);
    color: #fff;
    box-shadow: 0 12px 40px rgba(4,44,83,.2);
}
.price-card.is-featured h3 { color: #fff; }
.price-tag {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--color-primary);
    margin-bottom: .5rem;
}
.price-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .75rem;
}
.price-amount {
    font-size: 2.2rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--color-navy);
    line-height: 1;
    margin-bottom: .25rem;
}
.price-card.is-featured .price-amount { color: var(--color-primary); }
.price-sub { font-size: .8rem; color: var(--color-muted); margin-bottom: 1.25rem; }
.price-card.is-featured .price-sub { color: rgba(255,255,255,.55); }
.price-divider {
    height: 1px;
    background: var(--color-border);
    margin: 1rem 0;
}
.price-card.is-featured .price-divider { background: rgba(255,255,255,.12); }
.price-features { margin-bottom: 1.5rem; }
.price-features li {
    font-size: .85rem;
    color: var(--color-muted);
    padding: .4rem 0;
    border-bottom: 1px dashed var(--color-border);
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}
.price-features li::before { content: '✓'; color: var(--color-primary); font-weight: 700; flex-shrink: 0; }
.price-card.is-featured .price-features li { color: rgba(255,255,255,.65); border-color: rgba(255,255,255,.09); }

/* ─── FORMULAIRE ACCÈS PRO ──────────────────────────────────── */
.gate-section {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--color-navy);
    border-radius: 12px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.gate-text h2 { font-size: 1.8rem; margin-bottom: .75rem; color: #fff; }
.gate-text p  { color: rgba(255,255,255,.65); font-size: .95rem; margin-bottom: 1.5rem; }
.gate-lock {
    display: flex; align-items: center; gap: .75rem;
    margin-bottom: .75rem;
}
.gate-lock-icon {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(186,117,23,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem; color: var(--color-primary); flex-shrink: 0;
}
.gate-lock span { font-size: .85rem; color: rgba(255,255,255,.65); }
.gate-form {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
}
.gate-form-label {
    display: block;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--color-muted);
    margin-bottom: 5px;
}
.gate-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: .9rem;
    color: var(--color-text);
    margin-bottom: 14px;
    transition: border-color .2s;
}
.gate-form input:focus { outline: none; border-color: var(--color-primary); }

/* ─── RÉFÉRENCES ─────────────────────────────────────────────── */
.ref-label {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(186,117,23,.7);
    text-align: center;
    margin-bottom: 2.5rem;
}
.ref-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}
.ref-item {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
    font-size: .9rem;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ref-item img { max-height: 40px; width: auto; margin: 0 auto; filter: brightness(0) invert(1); opacity: .7; }

/* ─── CITATION ────────────────────────────────────────────────── */
.quote-section {
    padding: var(--section-v) var(--gutter);
    background: var(--color-bg);
}
.quote-section blockquote {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.quote-text {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--color-navy);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}
.quote-text::before { content: '"'; color: var(--color-primary); }
.quote-text::after  { content: '"'; color: var(--color-primary); }
.quote-author { font-size: .85rem; color: var(--color-muted); font-style: normal; }

/* ─── BANDEAU CTA ─────────────────────────────────────────────── */
.cta-band {
    background: var(--color-primary);
    padding: 3rem var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.cta-band-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .25rem;
}
.cta-band-sub { font-size: .9rem; color: rgba(255,255,255,.8); }

/* ─── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
    background: #2C2C2A;
    color: rgba(255,255,255,.6);
    font-size: .875rem;
}
.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem var(--gutter) 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}
.footer-brand-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 1rem;
}
.footer-brand-logo span { color: var(--color-primary); }
.footer-brand p { color: rgba(255,255,255,.5); line-height: 1.6; max-width: 260px; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.footer-social a:hover { background: var(--color-primary); }
.footer-social svg { width: 16px; height: 16px; fill: rgba(255,255,255,.7); }
.footer-col h4 {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #fff;
    margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem var(--gutter);
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .8rem;
    color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .hero-badge { display: none; }
    .about-split { grid-template-columns: 1fr; gap: 3rem; }
    .footer-top  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr; }
    .pricing-grid  { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .process-steps::before { display: none; }
    .gate-section  { grid-template-columns: 1fr; }
    .stats-inner   { grid-template-columns: repeat(2,1fr); }
    .ref-grid      { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
    .primary-nav { display: none; }
    .nav-toggle  { display: flex; }
    .mobile-nav  { display: none; }
    .mobile-nav.is-open { display: block; }
    .footer-top  { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: 1fr 1fr; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
    .stats-inner  { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .ref-grid     { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
}
