/* =====================================================================
   Vague Digital — landing page styles
   Aesthetic: obsidian ground, electric blue -> violet, Apple Liquid Glass
   Type: Sora (display) / Inter (body) / JetBrains Mono (data, eyebrows)
   ===================================================================== */

:root {
    /* --- committed palette (matched to the VD logo) --- */
    --ground: #0E151C;   /* deep navy, darkened from the logo slate */
    --ground-2: #1A2632; /* panel navy */
    --text: #ECF1F4;
    --muted: #9AA0A6;   /* logo grey · ≥4.5:1 on --ground */
    --faint: #7C828A;   /* ≥4.5:1 on --ground for small print */
    --accent: #49BAD2;   /* logo cyan */
    --accent-2: #5590A8; /* logo teal */
    --accent-soft: #7FD0E2; /* light cyan for small text on the dark ground */

    --line: rgba(255, 255, 255, 0.09);
    --glass-bg: linear-gradient(155deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.016));
    --glass-edge: rgba(255, 255, 255, 0.12);

    /* slate → teal → cyan, mirroring the logo's V→D transition */
    --grad: linear-gradient(105deg, #556A78 0%, #5590A8 45%, #49BAD2 100%);

    --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

    --maxw: 1200px;
    --pad: clamp(20px, 5vw, 64px);

    --r-lg: 28px;
    --r-md: 20px;
    --r-sm: 14px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----- reset / base (defensive: bootstrap reboot is also loaded) ----- */
*, *::before, *::after { box-sizing: border-box; }

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

.vd {
    position: relative;
    min-height: 100vh;
    margin: 0;
    /* transparent so the fixed 3D canvas + aurora (z-index -1/-2) show through */
    background: transparent;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: -0.01em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
/* the landing owns the whole viewport — neutralise template body chrome */
body:has(.vd) { margin: 0; background: var(--ground); }

.vd h1, .vd h2, .vd h3, .vd h4, .vd p, .vd ul, .vd figure { margin: 0; }
.vd ul { list-style: none; padding: 0; }
.vd a { color: inherit; text-decoration: none; }
.vd img, .vd svg { display: block; max-width: 100%; }
.vd :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}
/* h1 is focused programmatically by Blazor's FocusOnNavigate; it isn't
   interactive, so suppress the outline that would otherwise frame the hero. */
.vd h1:focus, .vd h1:focus-visible { outline: none; }

/* faster taps, no 300ms delay, no double-tap zoom on controls (§2) */
.vd a, .vd button, .vd input, .vd textarea, .vd select { touch-action: manipulation; }

/* skip-to-content link for keyboard users (§1) */
.vd-skip {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    transform: translateY(-150%);
    transition: transform 0.25s var(--ease);
}
.vd-skip:focus-visible { transform: translateY(0); outline-offset: 2px; }

/* persistent atmospheric ground behind everything (auroras the glass blurs) */
.vd::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(60vw 60vw at 78% -10%, rgba(73, 186, 210, 0.18), transparent 60%),
        radial-gradient(55vw 55vw at 12% 8%, rgba(85, 144, 168, 0.16), transparent 60%),
        radial-gradient(70vw 50vw at 50% 115%, rgba(73, 186, 210, 0.10), transparent 60%),
        var(--ground);
}

/* ---- the live Three.js scene, fixed behind content so glass blurs it ---- */
#vd-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    /* opacity is driven by scroll in vague.js */
}

/* film grain / vignette to keep blacks from banding */
.vd-vignette {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(120vw 100vh at 50% 35%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

/* --------------------------- layout helpers --------------------------- */
.vd-wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--pad);
}

.vd-section {
    position: relative;
    padding-block: clamp(80px, 12vw, 160px);
}

.vd-eyebrow {
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.vd-eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.vd-section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.vd-section-head h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(30px, 4.4vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-top: 18px;
}
.vd-section-head p {
    color: var(--muted);
    font-size: clamp(16px, 1.5vw, 19px);
    margin-top: 18px;
    max-width: 56ch;
}

.vd-grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ------------------------------ glass ------------------------------- */
.vd-glass {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(22px) saturate(165%);
    -webkit-backdrop-filter: blur(22px) saturate(165%);
    border: 1px solid var(--glass-edge);
    box-shadow:
        0 24px 70px -28px rgba(0, 0, 0, 0.85),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.20),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.03);
    border-radius: var(--r-md);
    overflow: hidden;
}
/* specular sheen — the "liquid" highlight that slides on hover */
.vd-glass::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(80% 120% at 15% -10%, rgba(255, 255, 255, 0.16), transparent 45%);
    opacity: 0.9;
    transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
    pointer-events: none;
}

/* ------------------------------ nav --------------------------------- */
.vd-nav {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    /* override .vd-glass overflow:hidden so the mobile dropdown isn't clipped */
    overflow: visible;
    width: calc(100% - 32px);
    max-width: 1080px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 11px 11px 22px;
    border-radius: 999px;
    transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}

.vd-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.02em;
}
.vd-brand .vd-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    padding: 5px;
    /* light badge so the two-tone VD monogram reads on the obsidian nav */
    background: linear-gradient(155deg, #ffffff, #e9eefb);
    box-shadow: 0 0 18px rgba(73, 186, 210, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.85);
    position: relative;
    overflow: hidden;
}
.vd-brand .vd-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vd-nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 15px;
    color: var(--muted);
    list-style: none;
    margin: 0;
    padding: 0;
}
.vd-nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 11px 4px;
    transition: color 0.25s var(--ease);
}
.vd-nav-links a::after {
    content: "";
    position: absolute;
    left: 4px; right: 4px; bottom: 5px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.vd-nav-links a:hover { color: var(--text); }
.vd-nav-links a.is-active { color: var(--text); }
.vd-nav-links a.is-active::after { transform: scaleX(1); opacity: 1; }

.vd-menu-btn { display: none; }

/* ------------------------------ buttons ----------------------------- */
.vd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    padding: 13px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.vd-btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.vd-btn:hover svg { transform: translateX(3px); }

.vd-btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 30px -8px rgba(73, 186, 210, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.vd-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(85, 144, 168, 0.7); }
.vd-btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.09s; }

.vd-btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--glass-edge);
    color: var(--text);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.vd-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

.vd-btn-sm { padding: 10px 18px; font-size: 14px; }

/* ------------------------------ hero -------------------------------- */
.vd-hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px var(--pad) 80px;
    position: relative;
}

.vd-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 15px 7px 11px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 30px;
}
.vd-hero-badge .vd-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #38e8a0;
    box-shadow: 0 0 10px #38e8a0;
}

.vd-hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(42px, 8.4vw, 104px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    max-width: 16ch;
}
.vd-hero h1 .vd-line { display: block; }

.vd-hero-sub {
    color: var(--muted);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.6;
    max-width: 58ch;
    margin: 28px auto 0;
}

.vd-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 40px;
}

.vd-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--faint);
}
.vd-scroll-hint .vd-track {
    width: 1px;
    height: 46px;
    background: linear-gradient(var(--accent), transparent);
    position: relative;
    overflow: hidden;
}
.vd-scroll-hint .vd-track::after {
    content: "";
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 50%;
    background: #fff;
    animation: vd-scrolldot 2.2s var(--ease) infinite;
}
@keyframes vd-scrolldot {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(300%); }
}

/* ----------------------------- marquee ------------------------------ */
.vd-marquee {
    border-block: 1px solid var(--line);
    padding-block: 26px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.vd-marquee-track {
    display: flex;
    gap: 56px;
    width: max-content;
    animation: vd-marquee 38s linear infinite;
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
}
.vd-marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.vd-marquee-track span::after { content: "✦"; color: var(--accent); }
@keyframes vd-marquee {
    to { transform: translateX(-50%); }
}

/* ----------------------------- services ----------------------------- */
.vd-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.vd-card {
    padding: 34px 32px 38px;
    border-radius: var(--r-lg);
    transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.vd-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 130, 170, 0.4);
    box-shadow: 0 34px 80px -30px rgba(73, 186, 210, 0.5),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.22);
}
.vd-card:active { transform: translateY(-2px) scale(0.992); transition-duration: 0.1s; }
.vd-card:hover::after { transform: translate(8%, 6%); opacity: 1; }

.vd-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    background: rgba(73, 186, 210, 0.12);
    border: 1px solid rgba(73, 186, 210, 0.25);
    color: var(--accent);
}
.vd-card-icon svg { width: 24px; height: 24px; }
.vd-card h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.02em;
}
.vd-card p { color: var(--muted); font-size: 16px; margin-top: 12px; }
.vd-card .vd-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--faint);
    margin-top: 20px;
    letter-spacing: 0.06em;
}

/* ----------------------------- process ------------------------------ */
.vd-steps {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}
.vd-step {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: clamp(20px, 5vw, 70px);
    padding-block: 38px;
    border-bottom: 1px solid var(--line);
    align-items: start;
    transition: background 0.4s var(--ease);
}
.vd-step:hover { background: rgba(255, 255, 255, 0.02); }
.vd-step-num {
    font-family: var(--font-mono);
    font-size: 15px;
    color: var(--accent);
    letter-spacing: 0.1em;
    padding-top: 6px;
}
.vd-step h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(22px, 3vw, 32px);
    letter-spacing: -0.025em;
}
.vd-step p { color: var(--muted); margin-top: 12px; max-width: 60ch; }

/* ------------------------------ stats ------------------------------- */
.vd-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.vd-stat {
    padding: 32px 26px;
    border-radius: var(--r-md);
}
.vd-stat .vd-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(34px, 5vw, 56px);
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.vd-stat .vd-label {
    color: var(--muted);
    font-size: 14.5px;
    margin-top: 14px;
}

/* ----------------------------- clients ------------------------------ */
.vd-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.vd-logo {
    position: relative;
    display: grid;
    place-items: center;
    padding: 30px 28px;
    min-height: 132px;
    border-radius: var(--r-md);
    /* frosted glass — light surface keeps the brand logos legible on the dark ground */
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.84));
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid var(--glass-edge);
    box-shadow: 0 24px 70px -28px rgba(0, 0, 0, 0.85),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.55),
                inset 0 -1px 0 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
/* liquid specular sheen that slides on hover — same material as the glass cards */
.vd-logo::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(80% 120% at 15% -10%, rgba(255, 255, 255, 0.5), transparent 50%);
    opacity: 0.7;
    transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
    pointer-events: none;
}
.vd-logo:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 130, 170, 0.4);
    box-shadow: 0 34px 80px -30px rgba(73, 186, 210, 0.5),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.55);
}
.vd-logo:hover::after { transform: translate(8%, 6%); opacity: 0.9; }
.vd-logo img {
    position: relative;
    z-index: 1;
    max-height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
/* the one white logo (Toastit) sits on the site's dark glass instead */
.vd-logo--dark {
    background: var(--glass-bg);
    border-color: var(--glass-edge);
}
.vd-logo--dark::after {
    background: radial-gradient(80% 120% at 15% -10%, rgba(255, 255, 255, 0.16), transparent 45%);
}

/* ----------------------------- contact ------------------------------ */
.vd-cta {
    text-align: center;
    padding: clamp(48px, 7vw, 88px) var(--pad);
    border-radius: var(--r-lg);
    position: relative;
}
.vd-cta h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(32px, 5.5vw, 66px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}
.vd-cta p { color: var(--muted); font-size: clamp(16px, 2vw, 20px); margin: 20px auto 0; max-width: 50ch; }
.vd-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 36px;
}
.vd-cta-mail {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--muted);
    margin-top: 28px;
}
.vd-cta-mail a { color: var(--accent-soft); }

/* ----------------------------- form -------------------------------- */
.vd-form {
    display: grid;
    gap: 18px;
    max-width: 580px;
    margin: 36px auto 0;
    text-align: left;
}
.vd-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vd-field { display: grid; gap: 8px; }
.vd-label {
    display: inline-flex;
    gap: 5px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.005em;
}
.vd-req { color: var(--accent-soft); }
.vd-input, .vd-textarea, .vd-select {
    width: 100%;
    font: inherit;
    font-size: 16px; /* ≥16px avoids iOS focus zoom (§5) */
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-edge);
    border-radius: 14px;
    padding: 13px 16px;
    min-height: 48px;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.vd-textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.vd-input::placeholder, .vd-textarea::placeholder { color: var(--faint); }
.vd-input:focus, .vd-textarea:focus, .vd-select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(73, 186, 210, 0.07);
    box-shadow: 0 0 0 4px rgba(73, 186, 210, 0.18);
}
.vd-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 44px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239AA0A6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}
.vd-select option { background: var(--ground-2); color: var(--text); }
.vd-error {
    display: none;
    font-size: 13px;
    color: #FF9B9B; /* ≥4.5:1 on obsidian */
}
.vd-field.has-error .vd-input,
.vd-field.has-error .vd-textarea,
.vd-field.has-error .vd-select {
    border-color: #FF6B6B;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.14);
}
.vd-field.has-error .vd-error { display: block; }
.vd-form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.vd-form-note { font-family: var(--font-mono); font-size: 12.5px; color: var(--faint); }

/* submitting + sent states */
.vd-btn[disabled] { opacity: 0.55; cursor: progress; pointer-events: none; }
.vd-spinner {
    width: 15px; height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: vd-spin 0.7s linear infinite;
}
@keyframes vd-spin { to { transform: rotate(360deg); } }

.vd-success {
    display: none;
    text-align: center;
    padding: 12px 0 4px;
}
.vd-success .vd-check {
    width: 56px; height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(56, 232, 160, 0.14);
    border: 1px solid rgba(56, 232, 160, 0.4);
    color: #38e8a0;
}
.vd-success h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }
.vd-success p { color: var(--muted); margin-top: 10px; }
.vd-form.is-sent .vd-form-body { display: none; }
.vd-form.is-sent .vd-success { display: block; }

/* ----------------------------- footer ------------------------------- */
.vd-footer {
    border-top: 1px solid var(--line);
    padding: 56px var(--pad) 44px;
}
.vd-footer-inner {
    max-width: var(--maxw);
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
}
.vd-footer .vd-slogan { color: var(--faint); font-size: 14px; margin-top: 10px; max-width: 30ch; }
.vd-footer-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.vd-footer-links a:hover { color: var(--text); }
.vd-copy { width: 100%; color: var(--faint); font-size: 13px; font-family: var(--font-mono); margin-top: 12px; }

/* --------------------- scroll reveal base states -------------------- */
/* Visible by default — content must never depend on JS to appear. The
   hidden start state is applied only once JS confirms it's running. */
html.vd-anim .vd-reveal { opacity: 0; transform: translateY(38px); will-change: transform, opacity; }
html.vd-anim .vd-reveal.vd-revealed {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
/* stagger siblings within a group so they cascade in (§7: 30–50ms steps) */
html.vd-anim .vd-services-grid .vd-card:nth-child(2),
html.vd-anim .vd-stats .vd-stat:nth-child(2) { transition-delay: 0.06s; }
html.vd-anim .vd-services-grid .vd-card:nth-child(3),
html.vd-anim .vd-stats .vd-stat:nth-child(3) { transition-delay: 0.12s; }
html.vd-anim .vd-services-grid .vd-card:nth-child(4),
html.vd-anim .vd-stats .vd-stat:nth-child(4) { transition-delay: 0.18s; }
html.vd-anim .vd-steps .vd-step:nth-child(2) { transition-delay: 0.05s; }
html.vd-anim .vd-steps .vd-step:nth-child(3) { transition-delay: 0.10s; }
html.vd-anim .vd-steps .vd-step:nth-child(4) { transition-delay: 0.15s; }

/* ---------------------------- responsive ---------------------------- */
@media (max-width: 860px) {
    .vd-nav { padding: 10px 10px 10px 18px; }

    /* nav links collapse into a glass dropdown panel under the pill */
    .vd-nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 10px;
        border-radius: 22px;
        background: var(--glass-bg);
        backdrop-filter: blur(22px) saturate(165%);
        -webkit-backdrop-filter: blur(22px) saturate(165%);
        border: 1px solid var(--glass-edge);
        box-shadow: 0 28px 70px -24px rgba(0, 0, 0, 0.85);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    }
    .vd-nav.is-open .vd-nav-links {
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }
    .vd-nav-links a {
        padding: 14px 16px;
        min-height: 44px;
        border-radius: 12px;
        font-size: 16px;
    }
    .vd-nav-links a::after { display: none; }
    .vd-nav-links a:hover,
    .vd-nav-links a.is-active { background: rgba(255, 255, 255, 0.07); color: var(--text); }

    .vd-menu-btn {
        display: inline-flex;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid var(--glass-edge);
        color: var(--text);
        border-radius: 999px;
        width: 44px; height: 44px;
        align-items: center; justify-content: center;
        cursor: pointer;
        transition: background 0.25s var(--ease);
    }
    .vd-nav.is-open .vd-menu-btn { background: rgba(73, 186, 210, 0.18); border-color: rgba(73, 186, 210, 0.5); }

    .vd-services-grid { grid-template-columns: 1fr; }
    .vd-stats { grid-template-columns: repeat(2, 1fr); }
    .vd-logos { grid-template-columns: repeat(2, 1fr); }
    .vd-step { grid-template-columns: 64px 1fr; gap: 18px; }
}

@media (max-width: 480px) {
    .vd { font-size: 16px; }
    .vd-stats { grid-template-columns: 1fr; }
    .vd-hero-cta { flex-direction: column; width: 100%; }
    .vd-hero-cta .vd-btn { width: 100%; }
    .vd-nav .vd-brand span.vd-brand-text { display: none; }
    .vd-field-row { grid-template-columns: 1fr; }
}

/* ------------------------- floating WhatsApp ------------------------ */
.vd-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    transition: transform .18s ease, box-shadow .18s ease;
}
.vd-whatsapp:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
}
.vd-whatsapp svg { position: relative; z-index: 2; }
.vd-whatsapp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    opacity: .55;
    z-index: 1;
    animation: vd-wa-pulse 2.4s ease-out infinite;
}
@keyframes vd-wa-pulse {
    0% { transform: scale(1); opacity: .55; }
    70% { transform: scale(1.9); opacity: 0; }
    100% { transform: scale(1.9); opacity: 0; }
}

/* ------------------------- reduced motion --------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .vd-marquee-track,
    .vd-scroll-hint .vd-track::after { animation: none; }
    .vd-reveal { opacity: 1; transform: none; }
    .vd-whatsapp-pulse { animation: none; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}
