/* ==========================================================================
   FleetOps — Marketing website
   Brand palette taken from the FleetOps logo (signal red + road navy).
   ========================================================================== */

:root {
    --red: #e3141c;
    --red-600: #c40f16;
    --red-50: #fff1f1;
    --navy: #1c2433;
    --navy-900: #0d121c;
    --navy-800: #141b28;
    --ink: #111827;
    --body: #4b5563;
    --muted: #6b7280;
    --line: #e5e7eb;
    --surface: #f6f7fa;
    --white: #ffffff;
    --green: #16a34a;
    --amber: #d97706;
    --blue: #2563eb;
    --wa: #25d366;
    --wa-dark: #128c7e;

    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
    --shadow: 0 12px 32px rgba(16, 24, 40, .10);
    --shadow-lg: 0 30px 70px rgba(13, 18, 28, .22);

    --font-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section-alt { background: var(--surface); }

.skip-link {
    position: absolute; left: -999px; top: 8px; z-index: 200;
    background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--red) 55%, transparent); outline-offset: 2px; border-radius: 6px; }

/* ---------- Section headings ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--red);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow::after { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin: 14px 0 16px; }
.section-head p { font-size: 1.08rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-head); font-weight: 700; font-size: .95rem;
    padding: 13px 24px; border-radius: 10px; border: 2px solid transparent;
    cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.btn i { font-size: 1.05em; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(227, 20, 28, .32); }
.btn-primary:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(227, 20, 28, .4); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
    padding: 18px 0;
}
.site-header.scrolled {
    background: rgba(255,255,255,.94);
    backdrop-filter: saturate(160%) blur(12px);
    box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(16,24,40,.06);
    padding: 10px 0;
}
.nav { display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-word { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: -.03em; color: #fff; transition: color .25s; }
.brand-word span { color: var(--red); }
.site-header.scrolled .brand-word { color: var(--navy); }

.nav-menu { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-links { display: flex; gap: 28px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav-links a { font-size: .93rem; font-weight: 500; color: rgba(255,255,255,.78); transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.site-header.scrolled .nav-links a { color: var(--body); }
.site-header.scrolled .nav-links a:hover, .site-header.scrolled .nav-links a.active { color: var(--red); }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--red); border-radius: 2px; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-wa {
    display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .9rem;
    color: #fff; padding: 8px 14px 8px 10px; border-radius: 10px;
    background: rgba(37, 211, 102, .14); border: 1px solid rgba(37, 211, 102, .45); transition: background .2s, color .2s;
}
.nav-wa i { font-size: 1.15rem; color: var(--wa); }
.nav-wa:hover { background: var(--wa); color: #fff; }
.nav-wa:hover i { color: #fff; }
.site-header.scrolled .nav-wa { color: var(--ink); }
.site-header.scrolled .nav-wa:hover { color: #fff; }

.nav-toggle {
    display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font-size: 1.4rem; cursor: pointer;
}
.site-header.scrolled .nav-toggle { color: var(--ink); border-color: var(--line); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative; overflow: hidden;
    padding: 168px 0 120px;
    color: #fff;
    background:
        radial-gradient(900px 500px at 88% 8%, rgba(227, 20, 28, .30), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(37, 99, 235, .14), transparent 60%),
        linear-gradient(165deg, var(--navy) 0%, var(--navy-900) 70%);
}
.hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
/* Road stripe — a nod to the road in the logo */
/* Vehicles driving across the bottom of the hero — a nod to the road in the logo */
.hero-road { position: absolute; left: 0; right: 0; bottom: 22px; height: 44px; overflow: hidden; pointer-events: none; }
.vehicle {
    position: absolute; left: 0; bottom: 0; line-height: 1;
    font-size: var(--size, 30px); color: var(--tint, rgba(255,255,255,.55));
    animation: drive-across var(--speed, 30s) linear infinite; animation-delay: var(--delay, 0s);
    will-change: transform;
}
.vehicle svg {
    display: block; height: var(--size, 30px); width: auto; overflow: visible;
    fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round;
    animation: bump .6s ease-in-out infinite alternate;
}
.vehicle .wheel { fill: var(--navy-900); }
/* One lane, one speed, evenly spaced so vehicles never overlap. */
.vehicle.v1 { --size: 34px; --tint: var(--red);            --speed: 30s; --delay: 0s; }
.vehicle.v3 { --size: 34px; --tint: rgba(255,255,255,.75); --speed: 30s; --delay: -10s; }
.vehicle.v5 { --size: 34px; --tint: rgba(255,255,255,.5);  --speed: 30s; --delay: -20s; }
@keyframes drive-across { from { transform: translateX(-60px); } to { transform: translateX(100vw); } }
@keyframes bump { to { transform: translateY(-1.5px); } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 14px 6px 6px; border-radius: 999px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
    font-size: .85rem; color: rgba(255,255,255,.85);
}
.hero-badge b { background: var(--red); color: #fff; font-size: .72rem; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 800; margin: 24px 0 22px; letter-spacing: -.035em; }
.hero h1 .accent { color: var(--red); position: relative; white-space: nowrap; }
.hero h1 .accent svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 14px; }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,.74); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 34px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .92rem; color: rgba(255,255,255,.75); }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks i { color: var(--red); }

/* ---- Dashboard mockup ---- */
.mock-wrap { position: relative; }
.mock {
    position: relative;
    background: #fff; color: var(--ink);
    border-radius: 18px; overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08);
    transform: perspective(1600px) rotateY(-7deg) rotateX(3deg);
    transition: transform .6s ease;
}
.mock-wrap:hover .mock { transform: perspective(1600px) rotateY(0) rotateX(0); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #f3f4f6; border-bottom: 1px solid var(--line); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; }
.mock-bar span:nth-child(1) { background: #ff5f57; }
.mock-bar span:nth-child(2) { background: #febc2e; }
.mock-bar span:nth-child(3) { background: #28c840; }
.mock-url { margin-left: 12px; flex: 1; font-size: .72rem; color: var(--muted); background: #fff; border-radius: 6px; padding: 3px 10px; border: 1px solid var(--line); }
.mock img { width: 100%; height: auto; }

.float-card {
    position: absolute; z-index: 2;
    background: #fff; color: var(--ink);
    border-radius: 12px; padding: 12px 14px;
    box-shadow: var(--shadow-lg);
    display: flex; gap: 11px; align-items: center;
    font-size: .8rem;
    animation: bob 5s ease-in-out infinite;
}
.float-card .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 1.05rem; flex: none; }
.float-card small { display: block; color: var(--muted); font-size: .7rem; }
.float-alert { left: -38px; bottom: 34px; }
.float-alert .ic { background: var(--red-50); color: var(--red); }
.float-live { right: -26px; top: -34px; animation-delay: -2.5s; }
.float-live .ic { background: #dcfce7; color: var(--green); }
.dot-live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 5px; box-shadow: 0 0 0 0 rgba(22,163,74,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ==========================================================================
   Pillars strip (Track · Maintain · Manage · Optimize · Analyze)
   ========================================================================== */
.pillars { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 3; }
.pillars-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.pillar { display: flex; align-items: center; gap: 14px; padding: 28px 18px; border-right: 1px solid var(--line); }
.pillar:last-child { border-right: 0; }
.pillar i { font-size: 1.6rem; color: var(--red); }
.pillar b { display: block; font-family: var(--font-head); font-size: .82rem; letter-spacing: .14em; color: var(--navy); }
.pillar small { color: var(--muted); font-size: .82rem; line-height: 1.4; display: block; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.03em; }
.stat b span { color: var(--red); }
.stat small { display: block; margin-top: 10px; font-size: .9rem; color: var(--muted); }

/* ==========================================================================
   Problem / Solution
   ========================================================================== */
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ps-card { border-radius: var(--radius-lg); padding: 40px; }
.ps-card h3 { font-size: 1.35rem; display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.ps-card h3 .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; }
.ps-card li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid; }
.ps-card li i { flex: none; margin-top: 3px; }
.ps-before { background: #fff; border: 1px solid var(--line); }
.ps-before h3 .ic { background: #f3f4f6; color: var(--muted); }
.ps-before li { border-color: var(--line); color: var(--muted); }
.ps-before li i { color: #9ca3af; }
.ps-after { background: var(--navy); color: rgba(255,255,255,.78); position: relative; overflow: hidden; }
.ps-after::after { content: ''; position: absolute; width: 340px; height: 340px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(227,20,28,.35), transparent 65%); }
.ps-after h3 { color: #fff; }
.ps-after h3 .ic { background: var(--red); color: #fff; }
.ps-after li { border-color: rgba(255,255,255,.1); position: relative; z-index: 1; }
.ps-after li i { color: var(--red); }
.ps-after li strong { color: #fff; }

/* ==========================================================================
   Features
   ========================================================================== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    overflow: hidden;
}
.feature::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--red); transition: width .35s ease; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature:hover::before { width: 100%; }
.feature .ic {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    font-size: 1.4rem; background: var(--red-50); color: var(--red); margin-bottom: 20px;
    transition: background .25s, color .25s;
}
.feature:hover .ic { background: var(--red); color: #fff; }
.feature h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature p { font-size: .95rem; color: var(--muted); }
.feature-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.feature-tags span { font-size: .72rem; font-weight: 600; color: var(--navy); background: var(--surface); padding: 4px 10px; border-radius: 999px; }

/* ==========================================================================
   Spotlight (alternating)
   ========================================================================== */
.spot { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.spot + .spot { margin-top: 120px; }
.spot.reverse .spot-text { order: 2; }
.spot-text h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin: 14px 0 18px; }
.spot-text > p { font-size: 1.06rem; color: var(--muted); margin-bottom: 26px; }
.checklist li { display: flex; gap: 12px; padding: 8px 0; color: var(--body); }
.checklist i { color: #fff; background: var(--red); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; flex: none; margin-top: 2px; }
.checklist strong { color: var(--ink); }

.spot.reverse { grid-template-columns: 1.15fr .85fr; }
.visual {
    position: relative; border-radius: var(--radius-lg); padding: 22px;
    background: linear-gradient(150deg, #eef1f6 0%, #f8f9fb 100%);
    border: 1px solid var(--line);
}
.visual::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(rgba(28,36,51,.09) 1px, transparent 1px); background-size: 18px 18px; pointer-events: none; }
.visual > * { position: relative; }

/* ---- Real application screenshots ---- */
.shot {
    display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; text-align: left;
    background: #fff; border-radius: 12px; overflow: hidden; position: relative;
    box-shadow: var(--shadow), 0 0 0 1px rgba(16,24,40,.06);
    transition: transform .3s ease, box-shadow .3s ease;
}
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.shot img { width: 100%; height: auto; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f3f4f6; border-bottom: 1px solid var(--line); }
.shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.shot-bar span:nth-child(2) { background: #febc2e; }
.shot-bar span:nth-child(3) { background: #28c840; }
.shot-bar em { margin-left: 10px; font-style: normal; font-size: .74rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 12px; flex: 1; max-width: 340px; }
.shot-zoom {
    position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 10px;
    display: grid; place-items: center; background: rgba(13,18,28,.78); color: #fff;
    opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s;
}
.shot:hover .shot-zoom, .shot:focus-visible .shot-zoom { opacity: 1; transform: none; }

/* ---- Product tour ---- */
.tour-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.tour-tabs button {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
    font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
    color: rgba(255,255,255,.75); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    transition: background .2s, color .2s, border-color .2s;
}
.tour-tabs button:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.tour-tabs button[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(227,20,28,.35); }
.tour-stage { max-width: 1080px; margin: 0 auto; }
.shot-lg { border-radius: 16px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08); }
.shot-lg img { transition: opacity .25s ease; }
.shot-lg img.swapping { opacity: 0; }
.tour-caption { text-align: center; margin: 22px auto 0; max-width: 680px; color: rgba(255,255,255,.72); min-height: 3.3em; }

/* ---- Lightbox ---- */
.lightbox {
    position: fixed; inset: 0; z-index: 300; padding: 56px 24px 24px;
    background: rgba(8,11,18,.92); display: grid; place-items: center; cursor: zoom-out;
    animation: fade .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1440px, 100%); max-height: 100%; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox-close {
    position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border-radius: 12px; border: 0;
    background: rgba(255,255,255,.12); color: #fff; font-size: 1.1rem; cursor: pointer;
}
.lightbox-close:hover { background: var(--red); }

/* ==========================================================================
   How it works
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: step; }
.steps::before { content: ''; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 10px, transparent 10px 20px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
    width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%;
    display: grid; place-items: center; font-size: 1.5rem; color: #fff;
    background: var(--navy-800); border: 2px solid rgba(255,255,255,.14); position: relative;
    transition: background .3s, border-color .3s, transform .3s;
}
.step:hover .step-num { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.step-num::after { counter-increment: step; content: counter(step); position: absolute; top: -4px; right: -4px; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; font-family: var(--font-head); }
.step h3 { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.step p { font-size: .93rem; color: rgba(255,255,255,.65); }
.dark { background: linear-gradient(165deg, var(--navy) 0%, var(--navy-900) 100%); color: rgba(255,255,255,.72); position: relative; overflow: hidden; }
.dark .section-head h2 { color: #fff; }
.dark .section-head p { color: rgba(255,255,255,.65); }

/* ==========================================================================
   Roles (tabs)
   ========================================================================== */
.roles { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.role-tabs { display: flex; flex-direction: column; gap: 8px; }
.role-tab {
    display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
    padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
    font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; transition: all .2s;
}
.role-tab i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); color: var(--navy); font-size: 1.1rem; transition: all .2s; }
.role-tab small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.role-tab:hover { border-color: #cbd5e1; }
.role-tab[aria-selected="true"] { border-color: var(--red); box-shadow: 0 8px 24px rgba(227,20,28,.12); }
.role-tab[aria-selected="true"] i { background: var(--red); color: #fff; }
.role-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); animation: fade .35s ease; }
.role-panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.role-panel h3 { font-size: 1.6rem; margin-bottom: 8px; }
.role-panel > p { color: var(--muted); margin-bottom: 26px; }
.access-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.access { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; font-size: .9rem; font-weight: 500; border: 1px solid var(--line); }
.access.on { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.access.on i { color: var(--green); }
.access.off { color: #9ca3af; background: #fafafa; }
.access.off i { color: #d1d5db; }

/* ==========================================================================
   Why us
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.why { padding: 36px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s; }
.why:nth-child(3n) { border-right: 0; }
.why:nth-last-child(-n+3) { border-bottom: 0; }
.why:hover { background: var(--surface); }

/* ==========================================================================
   About us (Design Hosts)
   ========================================================================== */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.about-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 14px 0 18px; }
.about-lead { font-size: 1.1rem; color: var(--ink); margin-bottom: 14px; }
.about-text > p:not(.about-lead) { color: var(--muted); margin-bottom: 20px; }
.about-text .checklist { margin-bottom: 30px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-stats div {
    padding: 24px 22px; border-radius: var(--radius); background: var(--navy); color: rgba(255,255,255,.7);
    position: relative; overflow: hidden;
}
.about-stats div::after { content: ''; position: absolute; right: -40px; top: -40px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(227,20,28,.35), transparent 70%); }
.about-stats b { display: block; font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1.05; letter-spacing: -.03em; }
.about-stats b span { color: var(--red); }
.about-stats small { display: block; margin-top: 8px; font-size: .86rem; }
.about-industries { margin-top: 14px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.about-industries h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.about-industries ul { display: flex; flex-wrap: wrap; gap: 8px; }
.about-industries li { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; font-weight: 600; color: var(--navy); background: var(--surface); padding: 7px 13px; border-radius: 999px; }
.about-industries li i { color: var(--red); }

.dh-products { margin-top: 72px; }
.dh-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.dh-head h3 { font-size: 1.4rem; }
.dh-head a { color: var(--red); font-weight: 600; font-size: .95rem; }
.dh-head a:hover { text-decoration: underline; }
.dh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dh-card {
    display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius);
    border: 1px solid var(--line); background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.dh-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.dh-card i { font-size: 1.5rem; color: var(--red); }
.dh-card b { font-family: var(--font-head); color: var(--ink); font-size: 1.02rem; }
.dh-card small { color: var(--muted); font-size: .88rem; line-height: 1.55; }

/* ---------- Image captcha ---------- */
.captcha-row { display: flex; align-items: center; gap: 10px; }
.captcha-row img { flex: none; width: 150px; height: 48px; border-radius: 10px; border: 1px solid #d1d5db; background: #f8f9fa; user-select: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: .9rem; display: flex; gap: 8px; align-items: flex-start; }
.form-error[hidden] { display: none; }
.btn.loading { opacity: .75; pointer-events: none; }
.btn.loading i { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.captcha-refresh {
    flex: none; width: 46px; height: 48px; border-radius: 10px; border: 1px solid #d1d5db; background: #fff;
    color: var(--navy); font-size: 1.15rem; cursor: pointer; transition: color .2s, border-color .2s, transform .3s;
}
.captcha-refresh:hover { color: var(--red); border-color: var(--red); }
.captcha-refresh.spin { transform: rotate(360deg); }
.captcha-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .2em; font-weight: 600; }
.captcha-row input::placeholder { text-transform: none; letter-spacing: normal; font-weight: 400; }
.why i { font-size: 1.7rem; color: var(--red); }
.why h3 { font-size: 1.08rem; margin: 16px 0 8px; }
.why p { font-size: .93rem; color: var(--muted); }

/* ==========================================================================
   Audience
   ========================================================================== */
.audience { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px; }
.aud { text-align: center; padding: 26px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.aud i { font-size: 1.7rem; color: var(--navy); }
.aud b { display: block; font-family: var(--font-head); color: var(--ink); margin: 12px 0 6px; }
.aud small { color: var(--muted); font-size: .84rem; line-height: 1.5; display: block; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-wrap .section-head { text-align: left; margin: 0; }
.faq-wrap .section-head .eyebrow::after { display: none; }
.faq-help { margin-top: 28px; padding: 22px; border-radius: var(--radius); background: var(--surface); display: flex; gap: 14px; align-items: center; }
.faq-help i { font-size: 1.6rem; color: var(--red); }
.faq-help b { color: var(--ink); display: block; }
.faq-help a { color: var(--red); font-weight: 600; font-size: .92rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
    font-family: var(--font-head); font-weight: 700; font-size: 1.06rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '\F64D'; font-family: 'bootstrap-icons'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--navy); font-size: .9rem; transition: transform .25s, background .25s, color .25s;
}
.faq details[open] summary::after { content: '\F63B'; background: var(--red); color: #fff; }
.faq details p { padding: 0 44px 22px 0; color: var(--muted); }

/* ==========================================================================
   CTA + Contact
   ========================================================================== */
.cta-band {
    border-radius: 28px; padding: 64px; color: #fff; position: relative; overflow: hidden;
    background: radial-gradient(600px 300px at 100% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(120deg, var(--red) 0%, #a80c12 100%);
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta-band::after { content: ''; position: absolute; left: 0; right: 0; bottom: 26px; height: 3px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 40px, transparent 40px 76px); }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 14px; font-size: 1.08rem; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.2); }

.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 14px 0 16px; }
.contact-info > p { color: var(--muted); margin-bottom: 30px; }
.contact-points li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-points i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--red-50); color: var(--red); font-size: 1.15rem; flex: none; }
.contact-points b { color: var(--ink); display: block; }
.contact-points small { color: var(--muted); font-size: .9rem; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.form-card h3 + p { color: var(--muted); font-size: .93rem; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field label span { color: var(--red); }
.field input, .field select, .field textarea {
    font: inherit; font-size: .95rem; color: var(--ink);
    padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 10px; background: #fff;
    transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227,20,28,.12); }
.field .err { font-size: .78rem; color: var(--red); display: none; }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.field.invalid .err { display: block; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; display: flex; gap: 8px; align-items: center; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success i { font-size: 3rem; color: var(--green); }
.form-success h3 { margin: 12px 0 8px; }
.form-success p { color: var(--muted); }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.62); padding: 80px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; padding-bottom: 56px; }
.footer-brand p { margin: 18px 0 22px; max-width: 34ch; }
.footer-brand .brand-word { color: #fff; }
.footer-tag { display: inline-block; font-size: .8rem; padding: 8px 14px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer li { padding: 6px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-dh { color: #fff; font-weight: 600; }
.footer-dh i { font-size: .75em; }
.site-footer li i { margin-right: 6px; }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 95;
    width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center; background: var(--wa); color: #fff; font-size: 1.85rem;
    box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
    transition: transform .2s ease, background .2s;
}
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.55); opacity: 0; } }
.wa-float:hover { transform: scale(1.07); background: var(--wa-dark); }
.wa-tip {
    position: absolute; right: 70px; top: 50%; transform: translateY(-50%) translateX(8px);
    background: #fff; color: var(--ink); font-size: .85rem; font-weight: 700; white-space: nowrap;
    padding: 8px 14px; border-radius: 10px; box-shadow: var(--shadow); line-height: 1.3;
    opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.wa-tip small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: translateY(-50%); }
.btn-wa { background: var(--wa); color: #fff; margin-top: 18px; }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); }
.link-red { color: var(--red); font-weight: 600; }
.link-red:hover { text-decoration: underline; }

.to-top {
    position: fixed; right: 28px; bottom: 94px; z-index: 90; width: 46px; height: 46px; border-radius: 12px;
    border: 0; background: var(--red); color: #fff; font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(16px); pointer-events: none; transition: all .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    .vehicle.v1 { transform: translateX(10vw); } .vehicle.v3 { transform: translateX(45vw); } .vehicle.v5 { transform: translateX(80vw); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .nav-links { gap: 20px; }
    .float-alert { left: -10px; }
    .float-live { right: -6px; }
    .audience { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
    .section { padding: 80px 0; }
    .nav-menu { display: none; }
    .nav-toggle { display: grid; place-items: center; }
    .site-header.open { background: #fff; box-shadow: var(--shadow); }
    .site-header.open .brand-word { color: var(--navy); }
    .site-header.open .nav-toggle { color: var(--ink); border-color: var(--line); }
    .site-header.open .nav-menu {
        display: flex; flex-direction: column; align-items: stretch; gap: 16px;
        position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 8px 24px 24px;
        background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow);
    }
    .site-header.open .nav-links { flex-direction: column; gap: 0; }
    .site-header.open .nav-links a { color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
    .site-header.open .nav-links a.active { color: var(--red); }
    .site-header.open .nav-links a.active::after { display: none; }
    .site-header.open .nav-cta { flex-direction: column; align-items: stretch; }
    .site-header.open .nav-wa { color: var(--ink); justify-content: center; padding: 11px; }
    .site-header.open .nav-wa:hover { color: #fff; }

    .hero { padding: 140px 0 100px; }
    .about { grid-template-columns: 1fr; gap: 44px; }
    .dh-grid { grid-template-columns: 1fr 1fr; }
    .hero-grid, .spot, .spot.reverse, .ps-grid, .faq-wrap, .contact, .roles, .cta-band { grid-template-columns: 1fr; }
    .hero-grid { gap: 72px; }
    .mock { transform: none; }
    .spot { gap: 44px; }
    .spot.reverse .spot-text { order: 0; }
    .pillars-grid { grid-template-columns: repeat(3, 1fr); }
    .pillar:nth-child(3) { border-right: 0; }
    .pillar { border-bottom: 1px solid var(--line); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
    .steps::before { display: none; }
    .role-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
    .role-tab { flex: none; width: auto; }
    .role-tab small { display: none; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .why:nth-child(3n) { border-right: 1px solid var(--line); }
    .why:nth-child(2n) { border-right: 0; }
    .why:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
    .why:nth-last-child(-n+2) { border-bottom: 0; }
    .cta-band { padding: 48px 36px; }
    .cta-band .actions { justify-content: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .section { padding: 68px 0; }
    .hero h1 .accent { white-space: normal; }
    .hero-actions .btn { flex: 1; }
    .float-card { display: none; }
    .pillars-grid { grid-template-columns: 1fr 1fr; }
    .pillar { border-right: 1px solid var(--line) !important; padding: 20px 14px; }
    .pillar:nth-child(2n) { border-right: 0 !important; }
    .pillar:last-child { grid-column: 1 / -1; border-right: 0 !important; }
    .stats, .features-grid, .steps, .why-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
    .why { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
    .why:last-child { border-bottom: 0 !important; }
    .audience { grid-template-columns: 1fr 1fr; }
    .ps-card, .role-panel, .form-card { padding: 26px 20px; }
    .visual { padding: 18px; }
    .cta-band { padding: 40px 22px; border-radius: 20px; }
    .footer-bottom { flex-direction: column; }
    .dh-grid { grid-template-columns: 1fr; }
    .about-stats b { font-size: 1.8rem; }
    .captcha-row { flex-wrap: wrap; }
    .captcha-row input { flex-basis: 100%; }
    .wa-float { width: 52px; height: 52px; font-size: 1.6rem; right: 16px; bottom: 16px; }
    .wa-tip { display: none; }
    .to-top { right: 20px; bottom: 80px; }
}
