/* =====================================================================
   ReviveMyGTM landing website
   Brand palette and type from screens.html (ReviveMyGTM Screen Designs):
   Forest Green (primary), Olive/Gold (secondary), Urgent Red (crime),
   Slate 900 (admin), Light Lime (surface). Plus Jakarta Sans + JetBrains Mono.
   ===================================================================== */

:root {
    --green-50: #F9FFF5;
    --green-100: #F1F8E9;
    --green-400: #66BB6A;
    --green-600: #43A047;
    --green-700: #388E3C;
    --green-800: #2E7D32;
    --green-900: #1B5E20;
    --green-950: #0F3D13;
    --lime: #C5E1A5;
    --gold: #8B6914;
    --gold-light: #C49A2A;
    --gold-soft: #F6E7B8;
    --urgent: #BF360C;
    --urgent-light: #FF7043;
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-300: #CBD5E1;
    --slate-500: #64748B;
    --slate-700: #334155;
    --slate-900: #0F172A;
    --white: #FFFFFF;

    --font-display: Manrope, "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .06);
    --shadow: 0 10px 30px rgba(15, 23, 42, .10);
    --shadow-lg: 0 30px 70px rgba(15, 23, 42, .20);
    --container: 1180px;
    --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate-700);
    background: var(--white);
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green-800); }
h1, h2, h3, h4 { color: var(--slate-900); line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--slate-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.mono { font-family: var(--font-mono); }

/* ---------------------------------------------------------------- buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font: inherit; font-weight: 600; font-size: 15.5px; line-height: 1.2;
    padding: 13px 22px; border-radius: 12px; border: 1.5px solid transparent;
    text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-800); color: #fff; box-shadow: 0 6px 18px rgba(46, 125, 50, .35); }
.btn-primary:hover { background: var(--green-900); color: #fff; }
.btn-gold { background: linear-gradient(135deg, #D9AE3A, var(--gold-light)); color: #2b1f00; box-shadow: 0 8px 22px rgba(196, 154, 42, .35); }
.btn-gold:hover { color: #2b1f00; box-shadow: 0 10px 26px rgba(196, 154, 42, .5); }
.btn-ghost { background: transparent; color: var(--green-800); border-color: var(--slate-300); }
.btn-ghost:hover { background: var(--green-100); color: var(--green-800); }
.btn-outline { background: #fff; color: var(--green-800); border-color: var(--green-800); }
.btn-outline:hover { background: var(--green-800); color: #fff; }

/* App store buttons */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 190px;
    padding: 10px 18px 10px 14px; border-radius: 14px; text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn small { display: block; font-size: 11px; line-height: 1.1; opacity: .85; }
.store-btn strong { display: block; font-size: 17px; line-height: 1.2; }
.store-btn.play { background: linear-gradient(135deg, #E2B547, var(--gold-light)); color: #241a00; box-shadow: 0 10px 26px rgba(196, 154, 42, .4); }
.store-btn.apple { background: var(--slate-900); color: #fff; }
.store-btn.dark { background: var(--slate-900); color: #fff; }
.store-btn .soon {
    position: absolute; top: -9px; right: -8px; background: #fff; color: var(--green-900); font-size: 10.5px; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 8px; box-shadow: var(--shadow-sm);
}

/* ---------------------------------------------------------------- cookie notice */
.cookie-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 760px; margin: 0 auto;
    height: fit-content; max-height: calc(100vh - 32px); overflow: auto;
    background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
    padding: 18px 20px; padding-bottom: calc(18px + env(safe-area-inset-bottom));
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.cookie-banner p { margin: 0; font-size: 14px; color: var(--slate-700); flex: 1 1 320px; }
.cookie-banner a { font-weight: 600; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner-actions .btn { padding: 10px 18px; font-size: 14px; }
@media (max-width: 560px) {
    .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
    .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
    .cookie-banner-actions { width: 100%; }
    .cookie-banner-actions .btn { flex: 1; }
}

/* ---------------------------------------------------------------- launch banner + nav */
.launch {
    background: linear-gradient(90deg, var(--green-900), var(--green-700) 45%, var(--gold-light));
    color: #fff; font-size: 14px;
}
.launch .container { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; position: relative; }
.launch-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .95; }
.launch-tag i { width: 8px; height: 8px; border-radius: 50%; background: #FFE082; box-shadow: 0 0 0 4px rgba(255, 224, 130, .3); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 224, 130, 0); } }
.launch strong { font-weight: 700; }
.launch a.launch-cta { background: #fff; color: var(--green-900); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: var(--radius-sm); text-decoration: none; }
.launch-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 20px; cursor: pointer; padding: 6px 10px; opacity: .85; }

.nav { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-bottom-color: var(--slate-200); box-shadow: 0 4px 20px rgba(15, 23, 42, .06); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--slate-700); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a.active { color: var(--green-800); background: var(--green-100); }
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; background: var(--green-800); padding: 11px 18px; }
.nav-links a.btn:hover { background: var(--green-900); }
.nav-links a.btn svg { width: 18px; height: 18px; }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; color: var(--slate-900); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- hero */
.hero {
    position: relative; overflow: hidden; color: var(--green-950);
    background: var(--green-950);
}
.hero-bg-overlay {
    position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(1200px 600px at 85% 15%, rgba(197, 225, 165, .55), transparent 60%),
                radial-gradient(800px 500px at 10% 90%, rgba(246, 231, 184, .55), transparent 60%),
                linear-gradient(160deg, #FFFFFF 0%, var(--green-50) 45%, var(--lime) 100%);
}
.hero-bg-video {
    position: absolute; pointer-events: none;
    top: 50%; left: 50%; width: 68%; aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    object-fit: cover; opacity: .25;
    -webkit-mask-image: radial-gradient(circle at center, #000 25%, transparent 65%);
    mask-image: radial-gradient(circle at center, #000 25%, transparent 65%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); margin-bottom: 20px; }
.hero h1 { color: var(--green-950); font-size: clamp(40px, 6vw, 68px); margin-bottom: 18px; }
.accent { background: linear-gradient(90deg, var(--green-700), var(--gold) 55%, var(--green-900)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 19px; color: var(--slate-700); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { font-size: 13px; color: var(--slate-500); margin: 14px 0 0; max-width: 520px; }
.trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; font-size: 14px; color: var(--slate-700); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--green-700); }

/* Phone mockups */
.device {
    position: relative; width: 300px; border-radius: 46px; padding: 11px; background: linear-gradient(145deg, #2a2f36, #0d1014);
    box-shadow: 0 0 0 1.5px #3b4148, var(--shadow-lg);
}
.device::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 20px; background: #0b0d10; z-index: 2; }
.device img { width: 100%; border-radius: 36px; background: #fff; aspect-ratio: 750 / 1624; object-fit: cover; object-position: top; }
.hero-visual { position: relative; display: flex; justify-content: center; min-height: 560px; }
.hero-visual .glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(197, 225, 165, .45), transparent 65%); top: 40px; filter: blur(10px); }
.hero-visual .device { transform: rotate(-6deg); animation: float 7s ease-in-out infinite; }
.hero-visual .device.back { position: absolute; width: 250px; right: 2%; top: 70px; transform: rotate(8deg); opacity: .9; animation: float 8s ease-in-out infinite reverse; z-index: 0; }
.hero-visual .device.front { z-index: 1; }
@keyframes float { 50% { translate: 0 -12px; } }
.ic-green { background: var(--green-100); color: var(--green-800); }
.ic-gold { background: var(--gold-soft); color: var(--gold); }
.ic-red { background: #FBE9E7; color: var(--urgent); }
.ic-slate { background: var(--slate-100); color: var(--slate-900); }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; color: var(--white); z-index: 2; }

/* ---------------------------------------------------------------- sections */
section { position: relative; }
.section { padding: 96px 0; }
.section.alt { background: var(--green-50); }
.section.slate { background: var(--slate-900); color: #CBD5E1; }
.section.slate h2, .section.slate h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-700); margin-bottom: 12px; }
.section.slate .kicker { color: #A5D6A7; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 48px); }
.section-head p { font-size: 18px; color: var(--slate-500); }
.section.slate .section-head p { color: #94A3B8; }

/* Before / after */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { border-radius: var(--radius); padding: 32px; border: 1px solid var(--slate-200); background: #fff; }
.compare-card.before { background: #FFFBFA; border-color: #FFCCBC; }
.compare-card.after { background: linear-gradient(160deg, var(--green-900), var(--green-800)); border: 0; color: rgba(255, 255, 255, .88); }
.compare-card.after h3 { color: #fff; }
.compare-card h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.compare-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.compare-card li { display: flex; gap: 12px; align-items: center; }
.compare-card li svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }
.compare-card.before li svg { color: var(--urgent-light); }
.compare-card.after li svg { color: #C5E1A5; }
.pill-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 8px; }
.before .pill-label { background: #FBE9E7; color: var(--urgent); }
.after .pill-label { background: rgba(255, 255, 255, .15); color: #fff; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 26px 22px 24px; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--green-700); background: var(--green-100); padding: 4px 9px; border-radius: 8px; }
.step .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin: 18px 0 14px; }
.step .ic svg { width: 26px; height: 26px; }
.step p { font-size: 15px; color: var(--slate-500); margin: 0; }
.steps-shot { margin-top: 56px; display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.steps-shot figure { margin: 0; text-align: center; }
.steps-shot .device { width: 230px; border-radius: 38px; padding: 9px; }
.steps-shot .device img { border-radius: 30px; }
.steps-shot .device::before { width: 70px; height: 19px; top: 16px; }
.steps-shot figcaption { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--slate-700); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-400); }
.feature .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.feature .ic svg { width: 26px; height: 26px; }
.feature p { color: var(--slate-500); font-size: 15px; margin: 0; }
.feature .tag { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--gold); background: var(--gold-soft); padding: 3px 10px; border-radius: 8px; }

/* Screens gallery */
.gallery { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 20px 30px; margin: 0 -20px; scrollbar-width: thin; }
.gallery figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.gallery .device { width: 240px; border-radius: 40px; padding: 9px; }
.gallery .device img { border-radius: 32px; }
.gallery .device::before { width: 72px; height: 20px; top: 16px; }
.gallery figcaption { margin-top: 14px; font-weight: 600; font-size: 14.5px; color: var(--slate-900); }
.gallery figcaption small { display: block; font-weight: 400; color: var(--slate-500); font-size: 13px; }
.gallery-nav { display: flex; justify-content: center; gap: 10px; margin-top: 6px; }
.gallery-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--slate-300); background: #fff; cursor: pointer; color: var(--slate-900); display: grid; place-items: center; }
.gallery-nav button:hover { border-color: var(--green-800); color: var(--green-800); }
.gallery-nav svg { width: 20px; height: 20px; }

/* Departments */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(30px, 4vw, 44px); }
.split-lead { font-size: 18px; color: var(--slate-500); }
.dept-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dept { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 16px; }
.dept b { display: block; color: var(--slate-900); font-size: 15px; margin-bottom: 4px; }
.dept span { display: block; font-size: 13px; color: var(--slate-500); }
.dept a { font-family: var(--font-mono); font-size: 13px; text-decoration: none; }
.dept-tels { display: block; margin-top: 6px; }
.dept-tels a { font-family: var(--font-mono); font-size: 13px; text-decoration: none; }
.dept a.dept-email { display: block; margin-top: 3px; font-family: inherit; font-size: 12.5px; color: var(--slate-500); text-decoration: none; }
.route-card { margin-top: 22px; background: var(--green-100); border: 1px solid #C8E6C9; border-radius: var(--radius-sm); padding: 16px 18px; display: flex; gap: 14px; align-items: center; }
.route-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--green-800); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.route-card .ic svg { width: 22px; height: 22px; }
.route-card small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); }
.route-card b { color: var(--slate-900); }

/* Crime / POPIA */
.crime { background: linear-gradient(160deg, #3E1306, #7A2208 55%, var(--urgent)); color: rgba(255, 255, 255, .88); overflow: hidden; }
.crime h2 { color: #fff; }
.crime .kicker { color: #FFCCBC; }
.crime .split-lead { color: rgba(255, 255, 255, .8); }
.check-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: center; }
.check-list svg { width: 22px; height: 22px; flex-shrink: 0; color: #FFAB91; margin-top: 1px; }
.crime .device { margin: 0 auto; }

/* Emergency */
.emergency-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ec { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--slate-200); text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.ec:hover { border-color: var(--green-400); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.ec .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.ec .ic svg { width: 22px; height: 22px; }
.ec b { display: block; color: var(--slate-900); font-size: 15px; }
.ec .num { display: block; font-family: var(--font-mono); font-size: 14px; color: var(--slate-700); }
.ec .call { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; background: var(--green-800); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.ec.urgent .call { background: var(--urgent); }
.ec .call svg { width: 18px; height: 18px; }
.emergency-note { text-align: center; font-size: 14px; color: var(--slate-500); margin-top: 22px; }

/* Municipality / admin */
.admin-points { display: grid; gap: 16px; margin: 24px 0 30px; }
.admin-point { display: flex; gap: 14px; align-items: center; }
.admin-point .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #A5D6A7; display: grid; place-items: center; flex-shrink: 0; }
.admin-point .ic svg { width: 20px; height: 20px; }
.admin-point b { color: #fff; display: block; }
.admin-point span { font-size: 15px; color: #94A3B8; }
.slate .device { margin: 0 auto; }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 600px; margin: 0 auto; }
.partner { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 28px; text-align: center; }
.partner img { height: 96px; width: auto; margin: 0 auto 16px; object-fit: contain; }
.partner small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); margin-bottom: 6px; }
.partner b { display: block; color: var(--slate-900); font-size: 17px; }
.partner p { color: var(--slate-500); font-size: 14.5px; margin: 8px 0 0; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 0 22px; transition: border-color .15s; }
.faq details[open] { border-color: var(--green-400); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; color: var(--slate-900); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--green-800); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; margin: 0; color: var(--slate-500); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--green-900), var(--green-700)); border-radius: 28px; padding: 56px; color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 360px; height: 360px; right: -80px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 224, 130, .35), transparent 65%); }
.cta-band h2 { color: #fff; font-size: clamp(30px, 4vw, 42px); }
.cta-band p { color: rgba(255, 255, 255, .85); font-size: 17px; }
.notify { position: relative; z-index: 1; display: flex; gap: 10px; background: rgba(255, 255, 255, .12); padding: 8px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .2); }
.notify input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: inherit; padding: 10px 12px; }
.notify input::placeholder { color: rgba(255, 255, 255, .65); }
.notify input:focus { outline: none; }
.form-msg { position: relative; z-index: 1; font-size: 14px; font-weight: 600; margin-top: 10px; min-height: 1.4em; }
.cta-band .form-msg.success { color: #FFE082; }
.cta-band .form-msg.error { color: #FFCDD2; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 20px; display: flex; gap: 14px; align-items: center; }
.contact-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card b { display: block; color: var(--slate-900); }
.contact-card span, .contact-card a { font-size: 15px; }
.contact-card small { display: block; color: var(--slate-500); font-size: 13.5px; }
.form { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--slate-900); margin-bottom: 6px; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 15.5px; color: var(--slate-900); background: var(--slate-50);
    border: 1.5px solid var(--slate-200); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 4px rgba(67, 160, 71, .15); }
.field .err { display: block; color: var(--urgent); font-size: 13px; margin-top: 4px; min-height: 0; }
.form .form-msg.success { color: var(--green-700); }
.form .form-msg.error { color: var(--urgent); }
.form-note { font-size: 13px; color: var(--slate-500); margin: 12px 0 0; }
.alert-box { margin-top: 18px; background: #FFF8E1; border: 1px solid #FFE082; border-radius: 12px; padding: 14px 16px; font-size: 14px; color: #6D4C00; display: flex; gap: 10px; align-items: center; }
.alert-box svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold); }

/* Footer */
.footer { background: var(--green-950); color: rgba(255, 255, 255, .72); padding: 64px 0 26px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer a:hover { color: #FFE082; }
.footer-brand { display: inline-flex; background: #fff; border-radius: 14px; padding: 8px 12px; margin-bottom: 16px; }
.footer-brand img { height: 52px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Legal page */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); }
.legal h2 { font-family: var(--font-body); font-weight: 700; font-size: 21px; margin-top: 36px; }
.legal li { margin-bottom: 6px; }
.legal .updated { color: var(--slate-500); font-size: 14px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--slate-200); vertical-align: top; }
.legal th { background: var(--green-50); color: var(--slate-900); }
.legal h3 { font-family: var(--font-body); font-weight: 700; font-size: 17px; margin-top: 24px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.legal-nav li { margin: 0; }
.legal-nav a { display: inline-block; padding: 7px 14px; border: 1px solid var(--slate-200); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--slate-700); text-decoration: none; }
.legal-nav a:hover { border-color: var(--green-700); color: var(--green-800); }
.legal-nav a[aria-current="page"] { background: var(--green-800); border-color: var(--green-800); color: var(--white); }
.legal .toc { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 18px 22px; margin: 24px 0; }
.legal .toc b { display: block; margin-bottom: 8px; }
.legal .toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
.legal .toc li { margin-bottom: 4px; break-inside: avoid; }
.legal .callout { border-left: 4px solid var(--green-800); background: var(--green-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 18px; margin: 18px 0; }
.legal .callout.urgent { border-left-color: var(--urgent); background: #FFF4F0; }
.legal .callout p { margin: 0; }
.legal .callout p + p { margin-top: 8px; }
.legal .placeholder { background: var(--gold-soft); color: var(--slate-900); padding: 0 4px; border-radius: 4px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 12px 0; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1060px) {
    .hero .container { grid-template-columns: 1fr; padding-top: 48px; }
    .hero .container > div:first-child { text-align: center; }
    .eyebrow, .hero-lead, .hero-note { margin-left: auto; margin-right: auto; }
    .hero-actions, .trust { justify-content: center; }
    .hero-visual { min-height: 520px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .features { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 40px; }
    .emergency-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-band { grid-template-columns: 1fr; padding: 40px; }
    #departments .split > div:first-child,
    #municipality .split > div:last-child {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    #departments .route-card,
    #municipality .admin-points {
        text-align: left;
    }
}
@media (max-width: 900px) {
    .nav-toggle { display: grid; place-items: center; }
    .nav-menu { position: fixed; inset: calc(var(--nav-h)) 0 auto 0; background: #fff; border-bottom: 1px solid var(--slate-200); box-shadow: var(--shadow); padding: 12px 20px 20px; display: none; }
    .nav.open .nav-menu { display: block; }
    .nav-links { flex-direction: column; align-items: stretch; }
    .nav-links a { padding: 12px; font-size: 16px; text-align: center; }
    .nav-links a.btn { justify-content: center; }
    .nav-cta { margin: 10px 0 0; width: 100%; }
}
@media (max-width: 760px) {
    .section { padding: 72px 0; }
    .compare { grid-template-columns: 1fr; }
    .compare-card { padding: 24px; }
    .features, .partners, .emergency-grid, .contact-grid, .dept-list, .form-row { grid-template-columns: 1fr; }
    .feature { text-align: center; }
    .feature .ic { margin-left: auto; margin-right: auto; }
    .step { text-align: center; }
    .step .ic { margin-left: auto; margin-right: auto; }
    .footer-grid { text-align: center; }
    .footer-bottom { justify-content: center; text-align: center; }
    .hero-visual { min-height: 470px; }
    .hero-visual .device { width: 250px; }
    .hero-visual .device.back { display: none; }
    .launch .container { padding-right: 44px; justify-content: flex-start; }
    .hero-lead { font-size: 16px; }
    .section-head p { font-size: 15.5px; }
    .split-lead { font-size: 15.5px; }
    .cta-band p { font-size: 15px; }
    .legal table { font-size: 13.5px; }
    .legal th, .legal td { padding: 8px; }
    .legal .toc ol { columns: 1; }
    .legal dl { grid-template-columns: 1fr; gap: 2px; }
    .legal dd { margin-bottom: 8px; }
}
@media (max-width: 520px) {
    .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .store-btn { min-width: 0; flex: 1 1 100%; }
    .cta-band { padding: 30px 22px; border-radius: 22px; }
    .notify { flex-direction: column; }
}

/* Placeholder shown inside a .device frame until the v1.1 app screenshots are ready. */
.screen-soon { width: 100%; aspect-ratio: 750 / 1624; border-radius: 36px; background: linear-gradient(160deg, var(--green-800, #1B5E20), #2E7D32 60%, #43A047); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; color: #fff; }
.screen-soon img { width: 46%; height: auto; aspect-ratio: auto; border-radius: 0; background: transparent; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.screen-soon span { font-weight: 700; font-size: 15px; line-height: 1.35; }
.screen-soon small { display: block; font-weight: 500; font-size: 12px; opacity: .85; margin-top: 4px; }
.gallery .screen-soon, .steps-shot .screen-soon { border-radius: 30px; }
.feature .tag.soon-tag { color: var(--slate-700); background: var(--slate-200); }
