/* ==========================================================================
   KroxIT Solutions — Premium Enterprise IT (brand blue design system)
   Clean condensed display type, soft rounded surfaces, layered shadows.
   One stylesheet drives all pages.
   ========================================================================== */

/* Fonts are preconnected + linked from each page's <head> so they start loading
   with the document instead of after this stylesheet parses (avoids late FOUT reflow). */

:root {
    --paper: #ffffff;
    --paper-2: #f4f3f0;      /* light section fill */
    --paper-3: #ecebe6;      /* subtle chips / inputs */
    --ink: #1b1f27;          /* slate text / solids (matches hero) */
    --ink-2: #4a5160;        /* secondary text */
    --muted: #6d7280;        /* tertiary text — darkened from #8b90a0 to clear WCAG AA (4.5:1) on white/paper */
    --line: #e4e6ec;         /* hairline borders */
    --sage: #eef0f4;         /* tinted section background */
    --sage-line: #d7dae2;    /* hairline borders on tint */
    --line-dark: rgba(255, 255, 255, 0.14);
    --black: #1b1f27;        /* dark sections (hero slate) */
    --black-2: #23272f;      /* cards on dark */
    --slate-grad: linear-gradient(155deg, #2b303b 0%, #23272f 45%, #191c22 100%);

    --font-mega: 'Anton', sans-serif;         /* giant condensed uppercase */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    /* Brand blue system — sourced from the KroxIT logo */
    --neon: #3d6ab3;              /* primary brand blue */
    --primary: #3d6ab3;
    --primary-dark: #253a95;      /* logo gradient's dark end */
    --primary-light: #6f95d1;
    --primary-soft: rgba(61, 106, 179, 0.08);   /* tinted surface */
    --primary-soft-2: rgba(61, 106, 179, 0.14);
    --primary-grad: linear-gradient(135deg, #4a7ac2 0%, #3d6ab3 45%, #253a95 100%);
    --focus-ring: 0 0 0 4px rgba(61, 106, 179, 0.2);

    --radius-sm: 10px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --radius-pill: 999px;
    --maxw: 1860px;
    --page-gutter: 26px;
    --nav-h: 84px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-sm: 0 8px 22px -14px rgba(16, 20, 30, 0.22);
    --shadow: 0 26px 60px -30px rgba(16, 20, 30, 0.32);
    --shadow-lg: 0 30px 70px -22px rgba(16, 20, 30, 0.28);
    --shadow-glow: 0 22px 46px -18px rgba(61, 106, 179, 0.42);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    /* Always reserve the scrollbar track. Without this, a short page (no scrollbar)
       is ~15px wider than a tall one, so every navigation nudges the layout sideways. */
    scrollbar-gutter: stable;
    background: var(--paper);
}
body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Sticky footer: short pages fill the viewport, so page height never "collapses"
       between navigations. */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
}
body > main { flex: 1 0 auto; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
/* Lucide swaps <i data-lucide> for an <svg> after load — reserve the box up front
   so icons fade in instead of shoving text around. */
[data-lucide] { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }

/* ---------- Page load (no fade animation) ---------- */
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--page-gutter); }
.section { padding: 92px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 36px; } .mb-5 { margin-bottom: 56px; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 14px; } .mt-3 { margin-top: 16px; } .mt-4 { margin-top: 26px; }
.pb-0 { padding-bottom: 0; }
.min-h-sm { min-height: 20px; }
.max-w-sm { max-width: 440px; }
.text-muted-weight { color: var(--muted); font-weight: 500; }

/* lead paragraph with custom top/bottom rhythm, used where the default
   .lead margin doesn't fit the surrounding block */
.lead-tight-top { margin: 16px 0 10px; }
.lead-loose-bottom { margin: 0 0 30px; }
.lead-hero { margin: 14px 0 30px; }

/* muted lead text sitting on a dark surface (newsletter/CTA bands) */
.lead-on-dark { color: rgba(255, 255, 255, 0.62); margin-top: 8px; }

/* section-head with tighter bottom spacing, used above an "areas we serve" strip */
.section-head-tight { margin-bottom: 28px; }

/* horizontal button row, centered, used under dark CTA bands */
.cta-row-center { margin-top: 26px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Typography primitives ---------- */
.kicker {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}
.kicker.on-dark { color: rgba(255, 255, 255, 0.6); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 8px 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}
.eyebrow.on-dark { color: #fff; border-color: var(--line-dark); }

.mega {
    font-family: var(--font-mega);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 0.92;
    letter-spacing: 0.005em;
    font-size: clamp(3rem, 8vw, 6.4rem);
    color: var(--ink);
}
.display {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.025em;
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    color: var(--ink);
}
.h2 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
    color: var(--ink);
}
.h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; font-size: 1.25rem; }
.lead { color: var(--ink-2); font-size: 1.08rem; max-width: 56ch; }
.lead.center { margin-left: auto; margin-right: auto; }
.on-dark, .on-dark .h2, .on-dark .h3, .on-dark .display, .on-dark .mega { color: #fff; }
.on-dark .lead { color: rgba(255, 255, 255, 0.66); }
.section-head { max-width: 620px; margin: 0 auto 52px; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--font-display); font-weight: 700; font-size: 0.94rem;
    padding: 15px 26px; border-radius: var(--radius); border: 1px solid transparent;
    cursor: pointer; white-space: nowrap;
    transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.4s var(--ease);
}
.btn i, .btn svg { width: 18px; height: 18px; }
.btn::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.35) 48%, transparent 66%);
    transform: translateX(-120%); transition: transform 0.6s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn-primary { background: var(--primary-grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(61,106,179,0.65); }
.btn-primary:hover { box-shadow: var(--shadow-glow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--shadow-glow); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #fff; box-shadow: 0 14px 30px -16px rgba(0,0,0,0.28); }
.btn-outline-light { background: transparent; color: #fff; border-color: var(--line-dark); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 11px 18px; font-size: 0.85rem; border-radius: var(--radius-sm); }
.nav-actions .btn { border-radius: 80px; }
.btn-block { width: 100%; }

/* ---------- Floating pill navbar ---------- */
.navbar {
    position: fixed; top: 16px; left: 0; right: 0; z-index: 1000;
    padding: 0 var(--page-gutter);
    transition: top 0.3s var(--ease);
}
.nav-container {
    max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
    /* Locked height: the bar measures the same on every page even before webfonts
       land, so the content below never starts high and drop down. */
    min-height: 64px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    backdrop-filter: blur(18px) saturate(1.5);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s var(--ease);
}
.navbar.scrolled { top: 8px; }
.navbar.scrolled .nav-container { box-shadow: var(--shadow); }
.logo { grid-column: 1; justify-self: start; display: flex; align-items: center; gap: 10px; flex-shrink: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em; }
.logo-img { height: 34px; width: 34px; border-radius: var(--radius-sm); object-fit: cover; }
.logo span::after { content: '.'; color: var(--primary); }
.nav-links { grid-column: 2; justify-self: center; display: flex; align-items: center; gap: 28px; }
.nav-links > a,
.nav-links .nav-parent { font-family: var(--font-display); font-weight: 600; font-size: 0.94rem; color: var(--ink-2); position: relative; transition: color 0.2s; white-space: nowrap; }
.nav-links > a:hover, .nav-links > a.active,
.nav-links .nav-parent:hover, .nav-links .nav-parent.active { color: var(--ink); }
.nav-links > a.active::after,
.nav-links .nav-parent.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--primary-grad); border-radius: var(--radius-pill); }

.nav-item.has-dropdown { position: relative; }
.nav-parent { display: inline-flex; align-items: center; gap: 4px; }
.nav-parent i, .nav-parent svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.has-dropdown:hover .nav-parent i,
.has-dropdown:hover .nav-parent svg,
.has-dropdown:focus-within .nav-parent i,
.has-dropdown:focus-within .nav-parent svg,
.has-dropdown.open .nav-parent i,
.has-dropdown.open .nav-parent svg { transform: rotate(180deg); }
.nav-dropdown {
    position: absolute; top: calc(100% + 6px); left: 0;
    transform: translateY(8px);
    min-width: 260px; width: max-content; padding: 8px;
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius-lg); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
    z-index: 1100;
}
.has-dropdown::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateY(0);
}
.nav-dropdown a {
    display: block; padding: 10px 12px; border-radius: var(--radius-sm);
    font-family: var(--font-display); font-weight: 600; font-size: 0.88rem;
    color: var(--ink-2); white-space: nowrap; transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.nav-dropdown a:hover, .nav-dropdown a:focus { background: var(--paper-2); color: var(--ink); }
.nav-dropdown a::after { display: none !important; }
.nav-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; border: none; border-radius: 50%; background: var(--ink); cursor: pointer; align-items: center; justify-content: center; transition: background 0.25s var(--ease); }
.menu-toggle:hover { background: var(--primary); }
.menu-toggle span { width: 17px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }

/* ---------- Hero (video banner, reference-style left copy) ---------- */
.hero-banner {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: min(100vh, 920px);
    min-height: min(100svh, 920px);
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 48px) 0 72px;
    color: #fff;
}
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(12, 15, 22, 0.94) 0%, rgba(12, 15, 22, 0.78) 38%, rgba(12, 15, 22, 0.42) 62%, rgba(12, 15, 22, 0.25) 100%),
        linear-gradient(180deg, rgba(12, 15, 22, 0.35) 0%, transparent 40%, rgba(12, 15, 22, 0.55) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 680px;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    margin: 0 0 22px;
    border: 1px solid rgba(111, 149, 209, 0.35);
    border-radius: var(--radius-pill);
    background: rgba(61, 106, 179, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-light);
}
.hero-banner .hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.15rem, 4.8vw, 3.85rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    text-transform: none;
    color: #fff;
    margin: 0 0 18px;
    width: 100%;
}
.hero-accent { color: var(--primary-light); }
.hero-banner .hero-lead {
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(0.98rem, 1.6vw, 1.12rem);
    line-height: 1.7;
    max-width: 50ch;
    margin: 0 0 30px;
    width: 100%;
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-self: flex-start;
    gap: 8px 12px;
    margin: 38px 0 0;
    padding: 0;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.62);
    width: 100%;
    max-width: 50ch;
}
.hero-trust-dot { opacity: 0.45; }
@media (max-width: 900px) {
    .hero-banner {
        min-height: auto;
        padding: calc(var(--nav-h) + 28px) 0 56px;
        align-items: flex-end;
    }
    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(12, 15, 22, 0.55) 0%, rgba(12, 15, 22, 0.82) 45%, rgba(12, 15, 22, 0.94) 100%);
    }
    .hero-content {
        max-width: 100%;
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }
    .hero-badge { align-self: center; }
    .hero-banner .hero-lead { margin-left: auto; margin-right: auto; }
    .hero-trust { justify-content: center; align-self: center; max-width: 100%; }
    .hero-content .btn-primary { width: 100%; justify-content: center; align-self: stretch; }
}
@media (max-width: 640px) {
    .hero-banner { padding-bottom: 48px; }
    .hero-banner .hero-title { font-size: clamp(1.85rem, 8.5vw, 2.35rem); }
    .hero-trust { font-size: 0.8rem; gap: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-video { display: none; }
    .hero-media { background: url('assets/hero/hero-poster.jpg') center/cover no-repeat; }
}
.btn-explore { background: var(--primary-grad); color: #fff; border: 1px solid transparent; border-radius: var(--radius); padding: 15px 34px; letter-spacing: 0.04em; box-shadow: 0 14px 30px -14px rgba(61,106,179,0.5); }
.btn-explore:hover { box-shadow: var(--shadow-glow); }
.btn-line { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.22); border-radius: var(--radius); padding: 15px 28px; letter-spacing: 0.04em; }
.btn-line:hover { border-color: var(--primary-light); color: var(--primary-light); background: rgba(61,106,179,0.1); }

/* ---------- Stats ---------- */
.stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; transition: 0.4s var(--ease); }
.stat:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); transform: translateY(-3px); }
.stat.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.stat-number { font-family: var(--font-mega); font-weight: 400; font-size: 2.9rem; line-height: 1; color: var(--primary); }
.stat.dark .stat-number { color: var(--primary-light); }
.stat-label { color: var(--ink-2); font-size: 0.9rem; margin-top: 6px; }
.stat.dark .stat-label { color: rgba(255,255,255,0.6); }

/* ---------- Dark CTA band (used inline as .contact-cta variant helper) ---------- */
.on-dark .btn-explore, .on-dark .btn-line { border-radius: var(--radius); }

/* ---------- Panels / cards (shared) ---------- */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.panel:focus-within { border-color: var(--primary); box-shadow: var(--shadow-glow); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: calc(var(--nav-h) + 30px) 0 0; }
.page-hero-panel { background: var(--black); color: #fff; border-radius: var(--radius-xl); padding: 42px 48px; text-align: center; position: relative; overflow: hidden; }
.page-hero-panel::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(70% 100% at 50% 0%, rgba(61,106,179,0.28), transparent 65%);
    pointer-events: none;
}
.page-hero-panel > * { position: relative; }
.page-hero-panel .display { font-size: clamp(1.9rem, 3.2vw, 2.7rem); color: #fff; margin: 0 auto 12px; }
.page-hero-panel .mega { color: #fff; margin: 0 auto 12px; }
.page-hero-panel .eyebrow { margin-bottom: 14px; }
.page-hero-panel .lead { margin: 0 auto; font-size: 1.02rem; }
/* pull the first content block up toward the slim hero */
.page-hero + .section, .page-hero + .section-sm { padding-top: 48px; }

/* ---------- Trust strip (badges under a page hero) ---------- */
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 28px auto 0; max-width: 900px; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 10px 18px; font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--ink-2); transition: 0.4s var(--ease); }
.trust-item:hover { border-color: var(--primary); color: var(--ink); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.trust-item i { width: 17px; height: 17px; color: var(--primary); flex-shrink: 0; }
@media (max-width: 640px) {
    .trust-strip { gap: 10px; }
    .trust-item { padding: 8px 14px; font-size: 0.8rem; }
}

/* ---------- Process steps (service pages) ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: process; }
.process-step { text-align: center; position: relative; }
.process-num { width: 52px; height: 52px; border-radius: 50%; background: var(--primary-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-mega); font-size: 1.3rem; margin: 0 auto 16px; box-shadow: var(--shadow-glow); }
.process-step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { color: var(--ink-2); font-size: 0.9rem; }
@media (max-width: 860px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- Academy status banner (honest "in progress" notice) ---------- */
.academy-status {
    display: flex; align-items: flex-start; gap: 14px;
    background: var(--primary-soft); border: 1px solid var(--primary-soft-2);
    border-radius: var(--radius-lg); padding: 18px 22px; max-width: 900px; margin: 0 auto;
}
.academy-status i { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.academy-status p { color: var(--ink-2); font-size: 0.92rem; line-height: 1.6; }

/* ---------- Services page ---------- */
.svc-section { background: var(--sage); }
.svc-section .svc-card {
    background: #fff;
    border-color: transparent;
    box-shadow: 0 10px 28px -18px rgba(16, 20, 30, 0.28);
    transition: none;
}
.svc-section .svc-card:hover {
    background: #fff;
    border-color: transparent;
    box-shadow: 0 10px 28px -18px rgba(16, 20, 30, 0.28);
    transform: none;
}
.svc-section .svc-card-media img,
.svc-section .svc-link i { transition: none; }
.svc-section .svc-card:hover .svc-card-media img,
.svc-section .svc-card:hover .svc-link i { transform: none; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease); }
.svc-card:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); transform: translateY(-6px); background: var(--paper); }
.svc-icon { width: 54px; height: 54px; border-radius: var(--radius-sm); background: var(--primary-grad); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; box-shadow: 0 10px 22px -12px rgba(61,106,179,0.55); transition: transform 0.3s var(--ease); }
.svc-card:hover .svc-icon { transform: scale(1.08) rotate(-4deg); }
.svc-icon i, .svc-icon svg { width: 24px; height: 24px; }
.svc-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; margin-bottom: 10px; }
.svc-card p { color: var(--ink-2); font-size: 0.93rem; margin-bottom: 18px; }
.svc-card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.svc-card-media::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(27,31,39,0.02) 40%, rgba(27,31,39,0.22) 100%);
}
.svc-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; filter: saturate(1.08) contrast(1.05); transition: transform 0.7s var(--ease); }
.svc-card:hover .svc-card-media img { transform: scale(1.05); }
.svc-card:has(.svc-card-media) { padding: 0 0 28px; overflow: hidden; }
.svc-card:has(.svc-card-media) h3 { margin-top: 22px; padding: 0 30px; }
.svc-card:has(.svc-card-media) p,
.svc-card:has(.svc-card-media) .svc-link { padding: 0 30px; }
.svc-link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--primary); }
.svc-link i { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.svc-card:hover .svc-link i { transform: translateX(4px); }

.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; padding: 28px 0; scroll-margin-top: calc(var(--nav-h) + 20px); }
.svc-row:nth-child(even) .svc-row-media { order: -1; }
.svc-row-media { position: relative; border-radius: var(--radius-xl); border: 1px solid var(--line); background: var(--paper-2); aspect-ratio: 4/3; overflow: hidden; box-shadow: var(--shadow-sm); }
.svc-row-media::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, transparent 50%, rgba(27,31,39,0.18) 100%);
}
.svc-row-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(1.06) contrast(1.04); transition: transform 0.7s var(--ease); }
.svc-row:hover .svc-row-media img { transform: scale(1.04); }
.svc-row-media .svc-row-icon { position: absolute; top: 20px; left: 20px; z-index: 1; width: 54px; height: 54px; border-radius: var(--radius-sm); background: var(--primary-grad); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 22px -12px rgba(61,106,179,0.55); }
.svc-row-media .svc-row-icon i { width: 26px; height: 26px; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 30px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--ink-2); }
.tick { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); flex-shrink: 0; }
.tick i { width: 14px; height: 14px; }

/* ---------- Trusted-by logo strip ---------- */
.logo-strip { text-align: center; }
.logo-strip-label { font-family: var(--font-display); font-weight: 600; color: var(--muted); font-size: 0.94rem; margin-bottom: 30px; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px 66px; }
.logo-row span { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.02em; color: var(--ink); opacity: 0.35; transition: opacity 0.25s var(--ease), color 0.25s var(--ease); }
.logo-row span:hover { opacity: 1; color: var(--primary); }

@media (max-width: 860px) {
    .logo-row { gap: 24px 38px; }
    .logo-row span { font-size: 1.2rem; }
}

/* ---------- Channel partner slider ---------- */
.partners-section { background: var(--sage); overflow: hidden; }
.partners-section .section-head { margin-bottom: 36px; }
.partner-slider {
    overflow: visible;
    padding: 0 26px;
}
.partner-track {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
}
.partner-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 188px;
    height: 88px;
    padding: 16px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 80px;
}
.partner-slide img {
    display: block;
    margin: 0 auto;
    height: 42px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    object-position: center;
    filter: grayscale(1) opacity(0.72);
    transition: filter 0.4s var(--ease);
}
.partner-slide:hover img { filter: none; }
@media (min-width: 769px) {
    .partner-slide[aria-hidden="true"] { display: none; }
}
@keyframes partnerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .partner-slider {
        overflow: hidden;
        padding: 0;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
        mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    }
    .partner-track {
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: max-content;
        gap: 12px;
    }
    .partner-slide {
        width: 158px;
        max-width: none;
        height: 72px;
        padding: 12px 16px;
        flex-shrink: 0;
    }
    .partner-slide img {
        height: 30px;
        max-width: 100px;
    }
}
@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
    .partner-track {
        animation: partnerScroll 28s linear infinite !important;
    }
    .partner-slider:hover .partner-track,
    .partner-slider:focus-within .partner-track {
        animation-play-state: paused !important;
    }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    .partner-slider {
        -webkit-mask-image: none;
        mask-image: none;
        padding: 0 var(--page-gutter);
    }
    .partner-track {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    .partner-slide[aria-hidden="true"] { display: none; }
}

/* ---------- Service areas (homepage) ---------- */
.areas-section { background: var(--sage); }
.areas-simple { text-align: center; }
.areas-simple .h2 { margin-bottom: 28px; }
.areas-list {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 12px; list-style: none;
}
.areas-list li {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius-pill); padding: 12px 22px;
    font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
    color: var(--ink);
}
.area-badge {
    display: inline-flex; align-items: center;
    font-family: var(--font-display); font-weight: 700; font-size: 0.68rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: #fff; background: var(--primary-grad);
    border-radius: var(--radius-pill); padding: 3px 8px;
}

/* ---------- Google-style reviews ---------- */
.g-reviews-section {
    --g-text: #202124;
    --g-secondary: #5f6368;
    --g-border: #dadce0;
    --g-star: #fbbc04;
    --g-link: #1a73e8;
    background: #f8f9fa;
}
.g-reviews-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    align-items: start;
    font-family: 'Roboto', var(--font-body);
    color: var(--g-text);
}
.g-reviews-summary {
    background: #fff;
    border: 1px solid var(--g-border);
    border-radius: 8px;
    padding: 28px 22px 24px;
    text-align: center;
}
.g-reviews-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--g-text);
}
.g-logo { width: 28px; height: 28px; flex-shrink: 0; }
.g-logo-sm { width: 18px; height: 18px; position: absolute; top: 16px; right: 16px; }
.g-reviews-biz {
    margin: 18px 0 6px;
    font-size: 0.95rem;
    font-weight: 500;
}
.g-reviews-score {
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
}
.g-reviews-count {
    color: var(--g-secondary);
    font-size: 0.88rem;
    margin: 8px 0 18px;
}
.g-reviews-write {
    display: inline-block;
    color: var(--g-link);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid var(--g-border);
    border-radius: 4px;
    transition: background 0.15s, box-shadow 0.15s;
}
.g-reviews-write:hover {
    background: #f8f9fa;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.15);
}
.g-reviews-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.g-reviews-all {
    color: var(--g-link);
    font-size: 0.88rem;
    font-weight: 500;
}
.g-reviews-all:hover { text-decoration: underline; }
.g-reviews-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.g-review-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--g-border);
    border-radius: 8px;
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
}
.g-review-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 24px;
    margin-bottom: 10px;
}
.g-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.g-review-name {
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.3;
}
.g-review-sub {
    font-size: 0.75rem;
    color: var(--g-secondary);
    line-height: 1.3;
    margin-top: 1px;
}
.g-review-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.g-review-rating time {
    font-size: 0.82rem;
    color: var(--g-secondary);
}
.g-review-text {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #3c4043;
}
.g-stars {
    display: inline-flex;
    gap: 1px;
    vertical-align: middle;
}
.g-stars i {
    width: 16px;
    height: 16px;
    background: var(--g-star);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.g-stars[data-rating="4"] i:nth-child(n+5) { background: #dadce0; }
.g-reviews-summary .g-stars i { width: 22px; height: 22px; }

/* ---------- Testimonial ---------- */
.testimonial { background: var(--black); color: #fff; border-radius: var(--radius-xl); padding: 12px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 12px; align-items: stretch; box-shadow: var(--shadow-lg); }
.testimonial-media { border-radius: var(--radius-lg); overflow: hidden; background: var(--black-2); min-height: 320px; }
.testimonial-media img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.testimonial-body .quote-mark { font-family: var(--font-mega); font-size: 5rem; line-height: 0.6; color: rgba(61,106,179,0.35); }
.testimonial-body blockquote { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.35; letter-spacing: -0.01em; margin: 8px 0 26px; }
.testimonial-author b { font-family: var(--font-display); font-size: 1rem; }
.testimonial-author small { display: block; color: rgba(255,255,255,0.55); font-size: 0.85rem; }

/* ---------- Contact CTA (giant) ---------- */
.contact-cta { background: var(--black); color: #fff; border-radius: var(--radius-xl); padding: 66px 56px; position: relative; overflow: hidden; }
.contact-cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(60% 90% at 85% 15%, rgba(61,106,179,0.3), transparent 60%);
    pointer-events: none;
}
.contact-cta > * { position: relative; }
.contact-cta-title { max-width: 22ch; margin: 4px 0 30px; }
.contact-cta .mega { color: #fff; margin: 6px 0 34px; word-break: break-word; background: var(--primary-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.contact-cta-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line-dark); font-family: var(--font-display); font-weight: 600; }
.contact-cta-foot .socials a { color: #fff; }

/* ---------- Trusted-by / pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; background: var(--paper); transition: 0.4s var(--ease); }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: var(--primary); }
.price-card.featured { background: var(--black); color: #fff; border-color: var(--black); }
.price-card.featured:hover { border-color: var(--primary); }
.price-tier { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.price-amount { font-family: var(--font-mega); font-size: 3.2rem; margin: 12px 0 4px; line-height: 1; }
.price-amount span { font-family: var(--font-display); font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-card.featured .price-amount span { color: rgba(255,255,255,0.6); }
.price-quote { font-family: var(--font-mega); font-size: 1.9rem; margin: 16px 0 4px; line-height: 1; color: var(--primary); }
.price-card.featured .price-quote { color: var(--primary-light); }
.price-desc { color: var(--ink-2); font-size: 0.92rem; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.price-card.featured .price-desc { color: rgba(255,255,255,0.6); border-color: var(--line-dark); }
.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.price-features li { display: flex; align-items: center; gap: 11px; font-size: 0.92rem; color: var(--ink-2); }
.price-features li i { width: 17px; height: 17px; color: var(--primary); flex-shrink: 0; }
.price-features li.off { color: var(--muted); text-decoration: line-through; }
.price-features li.off i { color: var(--muted); }
.price-card.featured .price-features li { color: rgba(255,255,255,0.8); }
.price-card.featured .price-features li i { color: var(--primary-light); }
.price-badge { align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; background: var(--primary-grad); color: #fff; padding: 6px 13px; border-radius: var(--radius-pill); margin-bottom: 16px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label, .form-label { font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; color: var(--ink); }
.input, .form-input, .subscribe-input, textarea.input {
    width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 14px 16px; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.input::placeholder, textarea.input::placeholder { color: var(--muted); }
.input:focus, .form-input:focus, textarea.input:focus { border-color: var(--primary); box-shadow: var(--focus-ring); }
.subscribe-input:focus { border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.14); }
textarea.input { min-height: 130px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233d6ab3' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-note { color: var(--muted); font-size: 0.85rem; margin-top: 14px; }

/* ---------- Booking wizard: card ---------- */
.wizard { max-width: 900px; margin: 0 auto; }
.wizard-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.wiz-progress { height: 6px; background: var(--paper-3); }
.wiz-progress > span { display: block; height: 100%; width: 33%; background: var(--primary-grad); border-radius: 0 4px 4px 0; transition: width 0.45s var(--ease); }
.wiz-narrow { max-width: 560px; margin: 0 auto; text-align: left; }

.wiz-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 20px 26px 2px; }
.wiz-head .wiz-back { justify-self: start; }
.wiz-head .wiz-skip { justify-self: end; }
.wiz-back, .wiz-skip { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--ink-2); background: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: color 0.2s; text-decoration: none; }
.wiz-back i, .wiz-skip i { width: 16px; height: 16px; }
.wiz-back:hover, .wiz-skip:hover { color: var(--primary); }
.wiz-back[hidden] { visibility: hidden; pointer-events: none; }
.wiz-step { font-family: var(--font-display); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary); }

.wizard-body { padding: 18px clamp(24px, 4vw, 52px) 46px; }
.wizard-step { display: none; }
.wizard-step.active { display: block; }

.wiz-title, .wizard-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.02em; line-height: 1.18; text-align: center; max-width: 22ch; margin: 8px auto 30px; }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 34px; }
.choice { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 16px; cursor: pointer; text-align: center; transition: 0.4s var(--ease); background: var(--paper); display: flex; flex-direction: column; align-items: center; }
.choice:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.choice-ic { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; transition: 0.22s var(--ease); }
.choice-ic i { width: 24px; height: 24px; }
.choice b { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; }
.choice small { color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.choice.selected { border-color: var(--primary); background: var(--primary-soft); box-shadow: var(--shadow-glow); }
.choice.selected .choice-ic { background: var(--primary-grad); color: #fff; border-color: transparent; }

.wiz-actions { display: flex; justify-content: center; }
.wiz-actions .btn { min-width: 210px; }
.ticket { text-align: center; padding: 20px; }
.ticket-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--primary-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 22px; box-shadow: var(--shadow-glow); }
.ticket-mark i { width: 34px; height: 34px; }
.ticket-id { font-family: var(--font-mega); font-size: 1.9rem; letter-spacing: 0.05em; margin: 16px 0; color: var(--primary); }
.ticket-summary { text-align: left; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin: 26px 0; }
.ticket-summary .row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.ticket-summary .row:last-child { border-bottom: none; }
.ticket-summary .row span:first-child { color: var(--muted); }
.ticket-summary .row span:last-child { font-weight: 600; text-align: right; }

/* ---------- Contact page ---------- */
.home-contact { background: var(--sage); }
.home-contact .panel { background: #fff; }
.home-contact .info-card p a { color: var(--primary); font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); transition: transform 0.4s var(--ease); }
.info-card:last-child { border-bottom: none; }
.info-card:hover { transform: translateX(4px); }
.info-ic { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--primary-grad); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 10px 20px -12px rgba(61,106,179,0.55); }
.info-ic i { width: 20px; height: 20px; }
.info-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 3px; }
.info-card p { color: var(--ink-2); font-size: 0.94rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); overflow: hidden; transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.faq-item:hover { border-color: var(--sage-line); }
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.faq-icon { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.3s var(--ease), color 0.3s; color: var(--primary); }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; color: var(--ink-2); padding: 0 24px; transition: max-height 0.3s var(--ease), padding 0.3s var(--ease); }
.faq-item.active .faq-answer { max-height: 420px; padding: 0 24px 22px; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--black); color: #fff; border-radius: var(--radius-xl); padding: 62px 40px; text-align: center; position: relative; overflow: hidden; }
.newsletter::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 100% at 50% 0%, rgba(61,106,179,0.3), transparent 60%); pointer-events: none; }
.newsletter > * { position: relative; }
.newsletter .subscribe-form { display: flex; gap: 10px; max-width: 460px; margin: 24px auto 0; }
.subscribe-input { background: rgba(255,255,255,0.06); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 14px 18px; color: #fff; flex: 1; outline: none; }
.subscribe-input::placeholder { color: rgba(255,255,255,0.5); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #fff; padding: 70px 0 32px; position: relative; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--primary-grad); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid var(--line-dark); }
.footer .logo { color: #fff; }
.footer .logo span::after { color: var(--primary-light); }
.footer-brand { color: rgba(255,255,255,0.6); margin-top: 16px; font-size: 0.94rem; max-width: 34ch; }
.footer-socials { margin-top: 22px; }
.footer h4 { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255,255,255,0.8); font-size: 0.94rem; transition: color 0.35s var(--ease); }
.footer-links a:hover { color: var(--primary-light); }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact a svg { width: 16px; height: 16px; color: var(--primary-light); flex-shrink: 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.socials { display: flex; gap: 12px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: center; transition: 0.4s var(--ease); }
.socials a svg { width: 20px; height: 20px; display: block; }
.socials a:hover { background: var(--primary-grad); border-color: transparent; color: #fff; box-shadow: var(--shadow-glow); }
.socials a i { width: 17px; height: 17px; }

.footer-socials { gap: 10px; }
.footer-socials a {
    width: 40px; height: 40px;
    border: none;
    color: #fff;
}
.footer-socials a svg { width: 18px; height: 18px; }
.footer-socials a[aria-label="WhatsApp"] svg { width: 22px; height: 22px; }
.footer-socials a[aria-label="Facebook"] svg { width: 18px; height: 18px; transform: translateX(1px); }
.footer-socials a[aria-label="LinkedIn"] { background: #0A66C2; }
.footer-socials a[aria-label="Facebook"] { background: #1877F2; }
.footer-socials a[aria-label="WhatsApp"] { background: #25D366; }
.footer-socials a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
    filter: brightness(1.1);
}
.footer-socials a[aria-label="LinkedIn"]:hover { background: #0A66C2; }
.footer-socials a[aria-label="Facebook"]:hover { background: #1877F2; }
.footer-socials a[aria-label="WhatsApp"]:hover { background: #25D366; }

/* ---------- Reveal ---------- */
.reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .g-reviews-list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .g-reviews-layout { grid-template-columns: 1fr; }
    .g-reviews-summary { max-width: 100%; }
    .g-reviews-list {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    .g-review-card { flex: 0 0 min(300px, 86vw); scroll-snap-align: start; }
}
@media (max-width: 960px) {
    .stats-row, .testimonial, .contact-grid { grid-template-columns: 1fr; }
    .svc-grid { grid-template-columns: 1fr 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .stat-cards { grid-template-columns: 1fr 1fr; }
    .svc-row, .svc-row:nth-child(even) .svc-row-media { grid-template-columns: 1fr; order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-cta, .page-hero-panel { padding: 40px 28px; }
    .testimonial-media { min-height: 240px; }
}
/* Nav drawer — switches over well before the bar can crowd, so the header is the
   same shape on every page at every width. */
@media (max-width: 1024px) {
    .navbar { top: 10px; }
    .nav-links { display: none; }
    .menu-toggle { display: flex; position: relative; z-index: 1500; }
    body.nav-open { overflow: hidden; }
    body.nav-open .navbar { z-index: 1600; }   /* keep the toggle above the drawer */
    /* backdrop-filter on the pill makes it a containing block for position:fixed,
       which would trap the drawer inside the pill — drop it while the drawer is open */
    body.nav-open .nav-container { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; box-shadow: none; }
    /* full-screen slate drawer */
    .nav-links.open {
        display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px;
        position: fixed; inset: 0; z-index: 1400;
        background: var(--slate-grad);
        padding: 104px 28px 64px 56px;
    }
    .nav-links.open > a,
    .nav-links.open .nav-parent {
        font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
        font-size: clamp(1.9rem, 9vw, 2.6rem); letter-spacing: -0.01em;
        color: #fff; padding: 10px 0; width: 100%;
    }
    .nav-links.open a::after { display: none; }
    .nav-links.open > a.active, .nav-links.open > a:hover,
    .nav-links.open .nav-parent.active, .nav-links.open .nav-parent:hover { color: var(--primary-light); }
    .nav-links.open .has-dropdown { width: 100%; }
    .nav-links.open .has-dropdown::after { display: none; }
    .nav-links.open .nav-dropdown {
        position: static; transform: none; left: auto; width: auto;
        display: none; opacity: 1; visibility: visible; pointer-events: auto;
        min-width: 0; padding: 0 0 12px 4px;
        background: transparent; border: none; box-shadow: none;
    }
    .nav-links.open .has-dropdown.open .nav-dropdown { display: flex; flex-direction: column; gap: 2px; }
    .nav-links.open .nav-dropdown a {
        font-size: 1.05rem; font-weight: 600; text-transform: none; letter-spacing: 0;
        color: rgba(255,255,255,0.72); padding: 8px 0; width: 100%;
    }
    .nav-links.open .nav-dropdown a:hover { color: #fff; background: transparent; }
    .nav-links.open::after {
        content: '© 2026 KroxIT Solutions'; position: absolute; left: 56px; bottom: 40px;
        font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; color: var(--primary-light);
    }
    /* hamburger → X */
    .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
    .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
    :root { --page-gutter: 16px; }
    .container { padding: 0 var(--page-gutter); }
    .section { padding: 56px 0; }
    .section-sm { padding: 44px 0; }
    .section-head { margin-bottom: 36px; }
    .display { font-size: clamp(2rem, 9vw, 2.6rem); }
    .h2 { font-size: clamp(1.45rem, 6vw, 1.9rem); }
    .navbar { top: 8px; }
    .nav-container { min-height: 56px; padding: 8px 16px; border-radius: 28px; grid-template-columns: 1fr auto; }
    .logo { grid-column: 1; }
    .nav-actions { grid-column: 2; }
    .logo { font-size: 1.05rem; gap: 8px; }
    .logo-img { width: 30px; height: 30px; }
    /* logo + CTA + hamburger no longer fit — the drawer carries the CTA */
    .nav-actions .btn-sm { display: none; }
    .choice-grid, .form-grid, .footer-grid, .stat-cards, .svc-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 2.2rem; }
    .stat { padding: 20px 18px; }
    .panel { padding: 24px 18px; }
    .page-hero-panel { padding: 28px 18px; border-radius: var(--radius-lg); }
    .page-hero + .section, .page-hero + .section-sm { padding-top: 32px; }
    .contact-grid { gap: 28px; }
    .info-card { gap: 12px; padding: 16px 0; }
    .info-ic { width: 40px; height: 40px; }
    .g-reviews-list { padding-bottom: 6px; }
    .g-review-card { flex: 0 0 min(280px, 88vw); }
    .faq-question { padding: 18px 16px; font-size: 0.96rem; }
    .faq-answer, .faq-item.active .faq-answer { padding-left: 16px; padding-right: 16px; }
    .wiz-actions { flex-direction: column; align-items: stretch; }
    .wiz-actions .btn { min-width: 0; width: 100%; }
    .wizard-body { padding: 16px 16px 32px; }
    .footer-bottom, .contact-cta-foot { flex-direction: column; text-align: center; }
    .newsletter { padding: 40px 20px; }
    .newsletter .subscribe-form { flex-direction: column; }
    .contact-cta, .page-hero-panel { padding: 32px 20px; }
    .input, .form-input, textarea.input, select.input, .subscribe-input { font-size: 16px; }
    .nav-links.open { padding: 92px 20px 56px 24px; }
    .nav-links.open::after { left: 24px; bottom: 28px; }
}
@media (max-width: 400px) {
    :root { --page-gutter: 14px; }
    .container { padding: 0 var(--page-gutter); }
    .float-actions { right: 12px; bottom: 12px; gap: 10px; }
    .float-btn { width: 50px; height: 50px; }
}

/* ---------- Floating call + WhatsApp ---------- */
.float-actions {
    position: fixed; right: 24px; bottom: 24px; z-index: 2000;
    display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.float-btn {
    position: relative;
    width: 58px; height: 58px; border-radius: 50%; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.float-call { background: #2f7cf6; }
.float-whatsapp { background: #25d366; }
.float-btn:hover, .float-btn:focus-visible { transform: scale(1.08); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); }
.float-btn svg { width: 26px; height: 26px; }
.float-whatsapp svg { width: 30px; height: 30px; }
.float-label {
    position: absolute; right: calc(100% + 12px); top: 50%;
    transform: translate(8px, -50%);
    background: #111; color: #fff;
    font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
    white-space: nowrap; padding: 8px 14px; border-radius: 8px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.float-btn:hover .float-label,
.float-btn:focus-visible .float-label {
    opacity: 1; transform: translate(0, -50%);
}
@media (max-width: 640px) {
    .float-actions { right: 16px; bottom: 16px; }
    .float-btn { width: 52px; height: 52px; }
    .float-btn svg { width: 24px; height: 24px; }
    .float-whatsapp svg { width: 27px; height: 27px; }
}

/* ---------- No motion (site-wide) ---------- */
*, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}
.mo-reveal { opacity: 1 !important; transform: none !important; }
