/*
| Serving India Online — public site design system.
| docs/11-public-website.md 11.2.
|
| Hand-written CSS rather than the Tailwind source in resources/css/app.css,
| and that is a deliberate deviation from the doc. The public site has to render
| on a machine with no Node and no `npm run build`; a marketing site that 500s
| on "Vite manifest not found" is worse than one built without a bundler.
|
| Dark surfaces with one neon green accent. The accent is load-bearing: it marks
| exactly two things — the action to take, and a number worth reading — so it
| never becomes decoration. Everything else is a near-black green-tinted
| neutral, which is what keeps the neon readable at all.
|
| Panels are untouched: Filament ships its own compiled CSS and takes its
| colours from the panel providers.
*/

:root {
    /* ── Neon accent ─────────────────────────────────────────────── */
    --neon: #00e56a;
    --neon-bright: #5bffa8;
    --neon-deep: #00a34c;
    --neon-glow: 0 0 0 1px rgba(0, 229, 106, .35), 0 0 28px -6px rgba(0, 229, 106, .55);
    --neon-glow-soft: 0 0 40px -18px rgba(0, 229, 106, .65);

    /* ── Surfaces: near-black, green-tinted ──────────────────────── */
    --ink-950: #030b07;
    --ink-900: #05110b;
    --ink-850: #07170f;
    --ink-800: #0a2016;
    --ink-700: #0e2a1d;
    --line: rgba(0, 229, 106, .16);
    --line-strong: rgba(0, 229, 106, .34);

    /* ── Legacy / Inline utility tokens used across views ────────── */
    --sio-200: #b8d8c9;
    --sio-300: #8fb4a3;
    --slate-100: rgba(0, 229, 106, .10);
    --slate-200: rgba(0, 229, 106, .20);

    /* ── Text ────────────────────────────────────────────────────── */
    --head: #f1fff7;
    --text: #cfe4d9;
    --text-dim: #8ba79a;
    --text-faint: #5f7a6d;

    /* Status colours keep their meaning across the whole product (brief 44). */
    --success: #2fd47a;
    --warning: #f0b429;
    --danger: #ff5a5a;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, ui-sans-serif, system-ui, sans-serif;
    --font-display: 'Instrument Serif', ui-serif, Georgia, 'Times New Roman', serif;

    --radius-control: 10px;
    --radius-card: 16px;

    --shadow-soft: 0 1px 2px rgba(0, 0, 0, .45), 0 18px 42px -22px rgba(0, 0, 0, .85);

    --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    background: var(--ink-900);
    overflow-x: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 12% -5%, rgba(0, 229, 106, .10), transparent 60%),
        var(--ink-900);
    background-attachment: fixed;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

main#main {
    flex: 1 0 auto;
    width: 100%;
}

img, svg, video {
    max-width: 100%;
    height: auto;
}

/* Visible focus, always. Never outline: none (docs/11 11.9). */
:focus-visible {
    outline: 2px solid var(--neon);
    outline-offset: 2px;
}

::selection { background: rgba(0, 229, 106, .28); color: #fff; }

h1, h2, h3, h4 {
    color: var(--head);
    line-height: 1.18;
    margin: 0 0 .5em;
    font-weight: 600;
    letter-spacing: -.018em;
    overflow-wrap: break-word;
}
h1 { font-size: clamp(1.85rem, 4.4vw, 3.35rem); }
h2 { font-size: clamp(1.42rem, 3vw, 2.15rem); }
h3 { font-size: clamp(1.08rem, 2vw, 1.22rem); }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; overflow-wrap: break-word; }

a { color: var(--neon-bright); text-decoration: none; transition: color .15s ease-out; }
a:hover { color: #fff; }

.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.12; }
.lead { font-size: clamp(1rem, 1.6vw, 1.125rem); color: var(--text-dim); line-height: 1.6; }
.muted { color: var(--text-dim); }
.small { font-size: .9rem; }
.tiny { font-size: .8rem; }
.strong { font-weight: 600; color: var(--head); }
.mono { font-variant-numeric: tabular-nums; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.neon { color: var(--neon-bright); }

ul.stack, ol.stack { padding-left: 1.15rem; margin-top: 0; }
li { margin-bottom: .4em; }

/* ── Layout ───────────────────────────────────────────────────────────── */

.wrap { max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; position: relative; }
.section--tight { padding: 48px 0; }

/* Two dark tones give the page rhythm without introducing a light band that
   would break the neon. */
.section--slate { background: var(--ink-850); border-block: 1px solid var(--line); }
.section--ink {
    background:
        radial-gradient(800px 320px at 80% 0%, rgba(0, 229, 106, .12), transparent 65%),
        var(--ink-950);
    border-block: 1px solid var(--line);
}

.grid { display: grid; gap: 20px; }
.grid > *, .split > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row--between { justify-content: space-between; }
.spacer { flex: 1 1 auto; }

@media (max-width: 960px) {
    body { background-attachment: scroll; }
    .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split { grid-template-columns: 1fr; gap: 28px; }
    .section { padding: 56px 0; }
    .section--tight { padding: 36px 0; }
}

@media (max-width: 768px) {
    .grid--2, .grid--3 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .wrap { padding: 0 16px; }
    .section { padding: 44px 0; }
    .section--tight { padding: 28px 0; }
    .grid { gap: 14px; }
    .grid--2, .grid--3 { grid-template-columns: 1fr; }
    /* Keep 4-up grids (stats & city cards) in a crisp 2x2 grid on phones */
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

@media (max-width: 360px) {
    .grid--4 { grid-template-columns: 1fr; }
}

/* ── Scroll animation ─────────────────────────────────────────────────── */

/*
 * Reveal on scroll, driven by an IntersectionObserver in the layout.
 *
 * The default state is VISIBLE, and the observer adds .reveal-armed before
 * hiding anything. So if the script never runs — blocked, failed, an old
 * browser — the page reads normally instead of being a column of invisible
 * text. That is the whole reason this is not `opacity: 0` by default.
 */
.reveal-armed .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity .65s cubic-bezier(.22, .61, .36, 1) var(--reveal-delay, 0ms),
        transform .65s cubic-bezier(.22, .61, .36, 1) var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-armed .reveal.is-in {
    opacity: 1;
    transform: none;
}

.reveal-armed .reveal--left { transform: translateX(-24px); }
.reveal-armed .reveal--right { transform: translateX(24px); }
.reveal-armed .reveal--scale { transform: scale(.97); }

/* A stagger without a class per child: the observer sets --reveal-delay. */
.reveal-group > * { --reveal-delay: 0ms; }

/* The thin neon progress bar at the very top of the page. */
.scroll-progress {
    position: fixed;
    inset: 0 auto auto 0;
    height: 2px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--neon-deep), var(--neon-bright));
    box-shadow: 0 0 12px rgba(0, 229, 106, .8);
    z-index: 60;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .reveal-armed .reveal,
    .reveal-armed .reveal.is-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .scroll-progress { display: none; }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ── Controls ─────────────────────────────────────────────────────────── */

/* Touch targets never below 44px (WCAG 2.1 AA, docs/11 11.9). */
.btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-control);
    font: inherit;
    font-size: .93rem;
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
    text-align: center;
    transition: background-color .16s ease-out, color .16s ease-out,
                border-color .16s ease-out, box-shadow .16s ease-out, transform .16s ease-out;
}

.btn:active { transform: translateY(1px); }

/* The accent button is THE action. There is one per view wherever possible. */
.btn-accent {
    background: var(--neon);
    color: #04150c;
    box-shadow: var(--neon-glow);
}
.btn-accent:hover { background: var(--neon-bright); color: #04150c; }

.btn-primary {
    background: var(--ink-700);
    color: var(--head);
    border-color: var(--line-strong);
}
.btn-primary:hover { background: var(--ink-800); color: #fff; border-color: var(--neon); }

.btn-ghost {
    background: rgba(255, 255, 255, .02);
    color: var(--text);
    border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--neon); color: #fff; background: rgba(0, 229, 106, .06); }

.btn-quiet { background: transparent; color: var(--text-dim); padding: 8px 12px; }
.btn-quiet:hover { color: var(--neon-bright); }

.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn--block { width: 100%; }

label, .label {
    display: block;
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-dim);
    margin-bottom: 6px;
    letter-spacing: .01em;
}

.hint { font-size: .8rem; color: var(--text-faint); margin-top: 5px; margin-bottom: 0; }

input[type=text], input[type=tel], input[type=email], input[type=number],
input[type=date], input[type=url], input[type=password], select, textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    font: inherit;
    font-size: 16px; /* Prevents iOS Safari zoom on input focus */
    color: var(--head);
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line);
    border-radius: var(--radius-control);
    transition: border-color .15s ease-out, box-shadow .15s ease-out, background-color .15s ease-out;
}

@media (min-width: 768px) {
    input[type=text], input[type=tel], input[type=email], input[type=number],
    input[type=date], input[type=url], input[type=password], select, textarea {
        font-size: .95rem;
    }
}

input::placeholder, textarea::placeholder { color: var(--text-faint); }
input:disabled, select:disabled, textarea:disabled {
    opacity: .6;
    cursor: not-allowed;
    background: rgba(255, 255, 255, .02);
}

textarea { min-height: 96px; resize: vertical; }

select {
    appearance: none;
    padding-right: 36px;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%),
                      linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
    background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

select option {
    background: var(--ink-850);
    color: var(--head);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--neon);
    background: rgba(0, 229, 106, .04);
    box-shadow: 0 0 0 3px rgba(0, 229, 106, .14);
    outline: none;
}

.field { margin-bottom: 18px; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--danger); }
.error { color: #ff9a9a; font-size: .82rem; margin-top: 5px; margin-bottom: 0; }

.checkline { display: flex; gap: 10px; align-items: flex-start; }
.checkline input {
    width: 18px; height: 18px; min-height: 0; margin-top: 4px; flex: none;
    accent-color: var(--neon);
}
.checkline label { margin: 0; font-weight: 400; color: var(--text); }

/* ── Surfaces ─────────────────────────────────────────────────────────── */

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
    min-width: 0;
}

.card--lift {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow-soft);
}

.card--link {
    display: flex;
    flex-direction: column;
    color: inherit;
    transition: border-color .18s ease-out, transform .18s ease-out, box-shadow .18s ease-out, background-color .18s ease-out;
}
.card--link:hover {
    border-color: var(--line-strong);
    color: inherit;
    transform: translateY(-3px);
    box-shadow: var(--neon-glow-soft);
}

.card__title { font-weight: 600; color: var(--head); line-height: 1.3; }

.panel {
    background: rgba(0, 229, 106, .055);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 20px;
}

.note {
    border-left: 3px solid var(--neon);
    background: rgba(0, 229, 106, .07);
    border-radius: 0 var(--radius-control) var(--radius-control) 0;
    padding: 14px 16px;
    font-size: .95rem;
    overflow-wrap: break-word;
}
.note a { word-break: break-all; }

.note--warn { border-left-color: var(--warning); background: rgba(240, 180, 41, .08); }
.note--bad { border-left-color: var(--danger); background: rgba(255, 90, 90, .08); }
.note--good { border-left-color: var(--success); background: rgba(47, 212, 122, .09); }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .02em;
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    border: 1px solid var(--line);
    white-space: nowrap;
}

.badge--info { background: rgba(0, 229, 106, .12); color: var(--neon-bright); border-color: var(--line-strong); }
.badge--good { background: rgba(47, 212, 122, .16); color: #8bf3b7; }
.badge--warn { background: rgba(240, 180, 41, .16); color: #ffd979; border-color: rgba(240, 180, 41, .3); }
.badge--bad { background: rgba(255, 90, 90, .16); color: #ffb3b3; border-color: rgba(255, 90, 90, .3); }
.badge--gray { background: rgba(255, 255, 255, .05); color: var(--text-dim); }

@media (max-width: 600px) {
    .card { padding: 18px; }
    .panel { padding: 16px; }
}

/* ── Header ───────────────────────────────────────────────────────────── */

.masthead {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(5, 17, 11, .86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s ease-out, background-color .2s ease-out;
}

.masthead.is-stuck {
    background: rgba(3, 11, 7, .96);
    box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(0, 0, 0, .9);
}

.masthead__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 70px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-weight: 600;
    color: var(--head);
    min-width: 0;
}
.brand:hover { color: var(--head); }
.brand__mark {
    width: 36px; height: 36px;
    flex: none;
    border-radius: 10px;
    box-shadow: 0 0 22px -8px rgba(0, 229, 106, .8);
    transition: box-shadow .2s ease-out, transform .2s ease-out;
}
.brand:hover .brand__mark { box-shadow: 0 0 26px -4px rgba(0, 229, 106, .95); transform: translateY(-1px); }
.brand__name {
    line-height: 1.15;
    font-size: .98rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.brand__name span {
    display: block;
    font-size: .59rem;
    font-weight: 600;
    color: var(--neon);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav { display: flex; gap: 2px; align-items: center; }
.nav a {
    position: relative;
    padding: 9px 12px;
    border-radius: var(--radius-control);
    font-size: .92rem;
    color: var(--text-dim);
    white-space: nowrap;
}
.nav a:hover { color: var(--head); background: rgba(255, 255, 255, .04); }

/* The neon underline grows from the middle on hover and stays on the current
   page. One accent, used to say "you are here". */
.nav a::after {
    content: '';
    position: absolute;
    left: 12px; right: 12px; bottom: 4px;
    height: 1.5px;
    background: var(--neon);
    transform: scaleX(0);
    transition: transform .2s ease-out;
    box-shadow: 0 0 8px rgba(0, 229, 106, .9);
}
.nav a:hover::after { transform: scaleX(.6); }
.nav a[aria-current="page"] { color: var(--head); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* The mobile menu only exists below the breakpoint; above it, the bar is the nav. */
.nav-mobile { display: none; }
.nav-mobile summary {
    list-style: none;
    margin: 0;
    min-height: 42px;
    padding: 0 14px;
    font-size: .88rem;
    user-select: none;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-toggle__icon--close { display: none; }
.nav-mobile[open] .nav-toggle__icon--open { display: none; }
.nav-mobile[open] .nav-toggle__icon--close { display: block; }
.nav-mobile[open] summary.nav-toggle {
    border-color: var(--neon);
    background: rgba(0, 229, 106, .12);
    color: var(--head);
}

.nav-mobile__drawer {
    position: absolute;
    top: calc(100% + 1px);
    left: -20px;
    right: -20px;
    background: rgba(4, 14, 9, .98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-strong);
    padding: 14px 20px 20px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .85);
    z-index: 50;
}

.nav--stacked {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}
.nav--stacked a {
    padding: 11px 14px;
    font-size: .96rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-control);
}
.nav--stacked a::after { display: none; }
.nav--stacked a[aria-current="page"] {
    background: rgba(0, 229, 106, .10);
    color: var(--neon-bright);
    border: 1px solid var(--line);
}

.nav-mobile__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 14px;
}

@media (max-width: 1080px) {
    .masthead__inner > .nav,
    .masthead__inner > .nav-desktop-btn { display: none; }
    .masthead__inner { min-height: 64px; gap: 12px; }
    .nav-mobile { display: block; }
}

@media (max-width: 600px) {
    .nav-mobile__drawer {
        left: -16px;
        right: -16px;
        padding: 12px 16px 18px;
    }
    .brand__name { font-size: .90rem; }
    .brand__name span { font-size: .50rem; letter-spacing: .05em; }
}

@media (max-width: 380px) {
    .nav-mobile__actions { grid-template-columns: 1fr; }
    .nav-toggle span { display: none; }
    .nav-mobile summary { padding: 0 11px; }
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.footer {
    background: var(--ink-950);
    border-top: 1px solid var(--line);
    padding: 60px 0 28px;
}
.footer h4 {
    color: var(--neon);
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 14px;
}
.footer a { color: var(--text-dim); font-size: .92rem; display: block; padding: 5px 0; }
.footer a:hover { color: var(--head); }
.footer__bottom {
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    font-size: .8rem;
    color: var(--text-faint);
}

@media (max-width: 600px) {
    .footer { padding: 42px 0 24px; }
    .footer .grid--4 > :first-child { grid-column: 1 / -1; margin-bottom: 8px; }
    .footer__bottom { flex-direction: column; gap: 6px; margin-top: 28px; }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 90px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(760px 420px at 88% -15%, rgba(0, 229, 106, .16), transparent 62%),
        radial-gradient(600px 300px at 5% 110%, rgba(0, 229, 106, .10), transparent 60%),
        var(--ink-950);
}

/* A faint grid, to read as "infrastructure" rather than "brochure". */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(0, 229, 106, .05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 229, 106, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(760px 420px at 30% 0%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(760px 420px at 30% 0%, #000 20%, transparent 75%);
    pointer-events: none;
}

.hero > * { position: relative; }
.hero h1 { max-width: 20ch; }
.hero .lead { max-width: 54ch; color: var(--text); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--neon-bright);
    background: rgba(0, 229, 106, .07);
    margin-bottom: 16px;
}

/* The live dot next to the eyebrow: something here is actually running. */
.eyebrow::before {
    content: '';
    width: 7px; height: 7px;
    flex: none;
    border-radius: 999px;
    background: var(--neon);
    box-shadow: 0 0 10px var(--neon);
    animation: sio-pulse 2.4s ease-in-out infinite;
}

@keyframes sio-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .35; transform: scale(.8); }
}

.hero__card {
    background: linear-gradient(180deg, rgba(0, 229, 106, .09), rgba(255, 255, 255, .02));
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: var(--neon-glow-soft), var(--shadow-soft);
    min-width: 0;
}

@media (max-width: 960px) {
    .hero { padding: 56px 0 62px; }
}

@media (max-width: 600px) {
    .hero { padding: 38px 0 46px; }
    .hero__card { padding: 18px; }
    .hero .row .btn { flex: 1 1 auto; }
}

/* ── Pincode check widget ─────────────────────────────────────────────── */

@media (max-width: 480px) {
    .pincode-check__row {
        flex-direction: column;
        align-items: stretch !important;
    }
    .pincode-check__field {
        flex: 1 1 auto !important;
        width: 100%;
    }
    .pincode-check__btn {
        width: 100%;
    }
}

/* ── Stats ────────────────────────────────────────────────────────────── */

.stat__value {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.8vw, 2.75rem);
    line-height: 1.05;
    color: var(--neon-bright);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 26px rgba(0, 229, 106, .45);
}
.stat__label { font-size: .85rem; color: var(--text-dim); margin-top: 4px; }

/* ── Steps ────────────────────────────────────────────────────────────── */

.steps { counter-reset: step; }
.step { position: relative; padding-left: 52px; }
.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0; top: 0;
    display: grid;
    place-items: center;
    width: 36px; height: 36px;
    border-radius: 999px;
    background: rgba(0, 229, 106, .10);
    border: 1px solid var(--line-strong);
    color: var(--neon-bright);
    font-weight: 700;
    font-size: .9rem;
}

@media (max-width: 600px) {
    .step { padding-left: 46px; }
    .step::before { width: 32px; height: 32px; font-size: .84rem; }
}

/* ── Wizard ───────────────────────────────────────────────────────────── */

.wizard {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 36px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.wizard__rail {
    position: sticky;
    top: 96px;
    min-width: 0;
    max-width: 100%;
    width: 100%;
}
.wizard__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    scrollbar-width: none;
}
.wizard__steps::-webkit-scrollbar { display: none; }
.wizard__steps li {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    color: var(--text-faint);
    font-size: .93rem;
    margin: 0;
    min-width: 0;
}
.wizard__steps b {
    display: grid;
    place-items: center;
    width: 27px; height: 27px;
    flex: none;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: .8rem;
    font-weight: 700;
    background: rgba(255, 255, 255, .03);
}
.wizard__steps .is-current { color: var(--head); font-weight: 500; }
.wizard__steps .is-current b {
    background: var(--neon);
    border-color: var(--neon);
    color: #04150c;
    box-shadow: 0 0 18px -4px rgba(0, 229, 106, .9);
}
.wizard__steps .is-done { color: var(--text); }
.wizard__steps .is-done b { background: rgba(47, 212, 122, .2); border-color: var(--success); color: #8bf3b7; }

.step-label-short { display: none; }
.step-label-full { display: inline; }

.wizard__step-btn, .wizard__step-text {
    padding: 0;
    min-height: 0;
    background: none;
    border: 0;
    cursor: pointer;
    color: inherit;
    font: inherit;
    text-align: left;
    display: inline-flex;
    align-items: center;
    min-width: 0;
}
.wizard__step-text { cursor: default; }

.wizard__body {
    min-width: 0;
    max-width: 100%;
    width: 100%;
}
.wizard__actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    width: 100%;
    min-width: 0;
}
.wizard__btn-back {
    flex: 0 0 auto;
    min-width: 90px;
}
.wizard__btn-next {
    flex: 1 1 auto;
}

.wizard-pin-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}
.wizard-pin-field {
    flex: 0 1 220px;
    margin-bottom: 0;
    min-width: 0;
}

.slot-grid {
    display: grid;
    gap: 10px;
    width: 100%;
}
.slot-grid--dates {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
}
.slot-grid--times {
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
}

.slot--date {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 6px;
    border-radius: var(--radius-control);
}
.slot-weekday {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.slot-day {
    font-size: 0.95rem;
    white-space: nowrap;
}

/* ── Urban Company Style Service Cards ───────────────────────────── */
.wizard-cat-products {
    border-top: 1px solid var(--line);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(0, 0, 0, .25);
}

.uc-service-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    transition: border-color .18s ease-out, background-color .18s ease-out, box-shadow .18s ease-out;
    min-width: 0;
    position: relative;
}

.uc-service-card:hover {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, .045);
}

.uc-service-card.is-added {
    border-color: var(--neon);
    background: rgba(0, 229, 106, .06);
    box-shadow: 0 0 20px -8px rgba(0, 229, 106, .45);
}

.uc-card__main {
    flex: 1 1 auto;
    min-width: 0;
}

.uc-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--head);
    line-height: 1.3;
    word-break: break-word;
}

.uc-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    align-items: center;
}

.uc-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 500;
    background: rgba(255, 255, 255, .05);
    color: var(--text-dim);
    border: 1px solid rgba(255, 255, 255, .06);
    white-space: nowrap;
}

.uc-badge--accent {
    background: rgba(0, 229, 106, .12);
    color: var(--neon-bright);
    border-color: var(--line);
}

.uc-card__price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--neon-bright);
    margin-top: 8px;
    font-variant-numeric: tabular-nums;
}

.uc-card__desc {
    font-size: 0.82rem;
    color: var(--text-faint);
    margin-top: 5px;
    line-height: 1.45;
    word-break: break-word;
}

.uc-card__action {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

/* UC "+ ADD" Button */
.uc-btn-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    height: 38px;
    padding: 0 16px;
    border: 1.5px solid var(--neon);
    border-radius: 9px;
    background: rgba(0, 229, 106, .10);
    color: var(--neon-bright);
    font-family: var(--font-sans);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: .03em;
    cursor: pointer;
    box-shadow: 0 0 12px -3px rgba(0, 229, 106, .35);
    transition: all .16s ease-out;
}

.uc-btn-add:hover {
    background: var(--neon);
    color: #04150c;
    box-shadow: var(--neon-glow);
    transform: translateY(-1px);
}

.uc-btn-add:active {
    transform: translateY(1px);
}

/* UC Stepper */
.uc-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--neon);
    border-radius: 9px;
    background: rgba(0, 229, 106, .12);
    box-shadow: 0 0 16px -4px rgba(0, 229, 106, .4);
    overflow: hidden;
}

.uc-stepper__btn {
    background: transparent;
    border: none;
    color: var(--head);
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s ease-out, color .15s ease-out;
}

.uc-stepper__btn:hover {
    background: rgba(0, 229, 106, .3);
    color: var(--neon-bright);
}

.uc-stepper__val {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--neon-bright);
    font-size: 0.96rem;
}

.uc-sticky-bar {
    display: none;
}

/* Payment option cards */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.payment-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, .025);
    cursor: pointer;
    transition: border-color .18s ease-out, background-color .18s ease-out, box-shadow .18s ease-out;
    min-width: 0;
    width: 100%;
    user-select: none;
}
.payment-card:hover {
    border-color: var(--line-strong);
    background: rgba(0, 229, 106, .04);
}
.payment-card.is-selected {
    border-color: var(--neon);
    background: rgba(0, 229, 106, .08);
    box-shadow: var(--neon-glow-soft);
}
.payment-card__radio {
    margin-top: 3px;
    accent-color: var(--neon);
    width: 18px;
    height: 18px;
    flex: none;
}
.payment-card__content {
    flex: 1 1 auto;
    min-width: 0;
}
.payment-card__header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.payment-card__title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--head);
    word-break: break-word;
}
.payment-card__desc {
    font-size: 0.84rem;
    color: var(--text-dim);
    margin: 6px 0 0;
    line-height: 1.45;
}

.wizard-locate-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Quote table enhancements */
.wizard-quote-table {
    width: 100%;
}
.wizard-quote-table th {
    white-space: nowrap;
}
.wizard-quote-name {
    min-width: 120px;
    word-break: break-word;
}
.wizard-quote-total-row td {
    font-size: 1.05rem;
    border-top: 1px solid var(--line-strong) !important;
    color: var(--head);
}
.wizard-quote-total {
    color: var(--neon-bright) !important;
    font-weight: 700 !important;
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .wizard {
        grid-template-columns: 100%;
        gap: 18px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .wizard__rail {
        position: static;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .wizard__body {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .wizard__steps {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px;
        padding: 4px 2px;
        width: 100%;
        max-width: 100%;
    }
    .wizard__steps::-webkit-scrollbar { display: none; }
    .wizard__steps li {
        flex: 0 0 auto;
        padding: 7px 12px;
        white-space: nowrap;
        background: rgba(255, 255, 255, .03);
        border: 1px solid var(--line);
        border-radius: 999px;
        gap: 8px;
        font-size: .84rem;
        margin: 0;
    }
    .wizard__steps li.is-current {
        border-color: var(--neon);
        background: rgba(0, 229, 106, .12);
        color: var(--head);
        box-shadow: 0 0 16px -4px rgba(0, 229, 106, .35);
    }
    .wizard__steps li.is-done {
        border-color: rgba(47, 212, 122, .3);
        background: rgba(47, 212, 122, .06);
    }
}

@media (max-width: 600px) {
    .wizard-hero {
        padding: 24px 0 !important;
    }
    .wizard-content-section {
        padding: 16px 0 36px !important;
    }
    .step-label-full { display: none; }
    .step-label-short { display: inline; }
    .wizard__steps {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        overflow-x: visible;
        padding: 0;
        width: 100%;
    }
    .wizard__steps li {
        flex: 1 1 auto;
        padding: 7px 4px;
        justify-content: center;
        text-align: center;
        font-size: 0.74rem;
        gap: 5px;
        border-radius: var(--radius-control);
        min-width: 0;
    }
    .wizard__steps b {
        width: 20px;
        height: 20px;
        font-size: 0.72rem;
    }
    .wizard__summary {
        padding: 10px 14px;
        margin-top: 10px;
    }

    /* Step 1 Pin code row */
    .wizard-pin-row {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 8px;
        align-items: flex-end;
        width: 100%;
    }
    .wizard-pin-field {
        grid-column: 1 / 2;
        width: 100%;
    }
    .wizard-pin-btn {
        grid-column: 2 / 3;
        min-width: 80px;
    }
    .wizard-locate-btn {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 4px;
    }

    /* Urban Company Mobile Cards */
    .wizard-cat-products {
        padding: 10px 8px;
        gap: 10px;
        background: transparent;
    }
    .uc-service-card {
        padding: 14px 12px;
        gap: 10px;
        border-radius: 12px;
        background: rgba(255, 255, 255, .03);
    }
    .uc-card__title {
        font-size: 0.98rem;
    }
    .uc-card__badges {
        margin-top: 4px;
        gap: 4px;
    }
    .uc-badge {
        font-size: 0.72rem;
        padding: 2px 6px;
    }
    .uc-card__price {
        font-size: 1.05rem;
        margin-top: 6px;
    }
    .uc-card__desc {
        font-size: 0.78rem;
    }
    .uc-btn-add {
        min-width: 78px;
        height: 36px;
        font-size: 0.82rem;
        padding: 0 10px;
    }
    .uc-stepper__btn {
        width: 32px;
        height: 34px;
        font-size: 1.1rem;
    }
    .uc-stepper__val {
        min-width: 24px;
        font-size: 0.92rem;
    }

    /* Floating sticky bottom bar */
    .uc-sticky-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 55;
        background: rgba(4, 14, 9, .96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1.5px solid var(--neon);
        box-shadow: 0 -8px 28px rgba(0, 0, 0, .9);
        padding: 12px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        animation: ucSlideUp .22s cubic-bezier(.16, 1, .3, 1);
    }
    .uc-sticky-bar__info {
        min-width: 0;
    }
    .uc-sticky-bar__count {
        font-size: 0.75rem;
        color: var(--text-dim);
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: .04em;
    }
    .uc-sticky-bar__total {
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--neon-bright);
        font-variant-numeric: tabular-nums;
        line-height: 1.2;
    }
    .uc-sticky-bar__btn {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 0 18px;
        font-size: 0.92rem;
    }

    .has-sticky-bar {
        padding-bottom: 74px;
    }

    /* Step 2 Geolocation and Map */
    .wizard-locate-row {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .wizard-locate-row .btn {
        width: 100%;
    }
    .map {
        height: 220px;
    }
    .map-tools {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .map-tools .btn {
        width: 100%;
    }

    /* Step 3 Dates & Slots */
    .slot-grid--dates {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
    .slot--date {
        padding: 8px 4px;
    }
    .slot-weekday {
        font-size: 0.7rem;
    }
    .slot-day {
        font-size: 0.88rem;
    }
    .slot-grid--times {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .slot-grid--times .slot {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px 14px;
    }

    /* Step 4 Payment Card */
    .payment-card {
        padding: 12px 14px;
        gap: 10px;
    }
    .payment-card__title {
        font-size: 0.9rem;
    }
    .payment-card__desc {
        font-size: 0.78rem;
    }

    /* Step 4 Table */
    .table {
        font-size: 0.84rem;
    }
    .table th, .table td {
        padding: 8px 5px;
    }

    /* Actions */
    .wizard__actions {
        margin-top: 20px;
        padding-top: 16px;
        gap: 10px;
        width: 100%;
    }
    .wizard__actions--single {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .wizard__actions .wizard__btn-back {
        flex: 1 1 32%;
        min-width: 0;
        padding: 8px 10px;
    }
    .wizard__actions .wizard__btn-next {
        flex: 1 1 64%;
        min-width: 0;
        padding: 8px 12px;
    }
}

@media (max-width: 360px) {
    .wizard__steps li {
        font-size: 0.68rem;
        padding: 6px 2px;
        gap: 3px;
    }
    .wizard__steps b {
        width: 17px;
        height: 17px;
        font-size: 0.65rem;
    }
    .slot-grid--dates {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ── Pickable tiles ───────────────────────────────────────────────────── */

.pick {
    display: flex;
    gap: 14px;
    align-items: center;
    width: 100%;
    text-align: left;
    padding: 16px 18px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    cursor: pointer;
    font: inherit;
    color: var(--text);
    transition: border-color .16s ease-out, background-color .16s ease-out;
}
.pick:hover { border-color: var(--line-strong); background: rgba(0, 229, 106, .06); }
.pick.is-picked { border-color: var(--neon); background: rgba(0, 229, 106, .10); }
.pick__price { margin-left: auto; text-align: right; font-weight: 600; color: var(--head); white-space: nowrap; }

.slot {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    min-width: 0;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-control);
    background: rgba(255, 255, 255, .025);
    color: var(--text);
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: border-color .16s ease-out, background-color .16s ease-out, box-shadow .16s ease-out;
}
.slot:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .04); }
.slot.is-picked {
    border-color: var(--neon);
    background: rgba(0, 229, 106, .10);
    box-shadow: var(--neon-glow-soft);
}
.slot[disabled] { opacity: .4; cursor: not-allowed; }

/* ── Tables ───────────────────────────────────────────────────────────── */

.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td {
    padding: 11px 12px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.table th {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-faint);
    font-weight: 600;
}
.table td.num, .table th.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.table tfoot td { border-bottom: none; font-weight: 600; color: var(--head); }
.table tbody tr:last-child td { border-bottom: none; }

@media (max-width: 600px) {
    .table { font-size: .88rem; }
    .table th, .table td { padding: 9px 8px; }
}

/* ── Timeline ─────────────────────────────────────────────────────────── */

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
    position: relative;
    padding: 0 0 22px 26px;
    border-left: 1px solid var(--line);
    margin-left: 6px;
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
    content: '';
    position: absolute;
    left: -6px; top: 5px;
    width: 11px; height: 11px;
    border-radius: 999px;
    background: var(--ink-900);
    border: 2px solid var(--line-strong);
}
.timeline li.is-now::before {
    background: var(--neon);
    border-color: var(--neon);
    box-shadow: 0 0 14px rgba(0, 229, 106, .9);
}

/* ── Details / accordions ─────────────────────────────────────────────── */

details.card summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
details.card summary::-webkit-details-marker { display: none; }
details.card summary::after {
    content: '+';
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(0, 229, 106, .06);
    color: var(--neon);
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1;
}
details.card[open] summary::after {
    content: '–';
    border-color: var(--neon);
    background: rgba(0, 229, 106, .14);
}

/* ── Utilities ────────────────────────────────────────────────────────── */

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 34px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.hide { display: none; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
    left: 12px; top: 12px;
    z-index: 100;
    background: var(--ink-800);
    color: var(--head);
    padding: 10px 14px;
    border-radius: var(--radius-control);
    border: 1px solid var(--neon);
}

/* Livewire's loading states, so a slow connection looks busy rather than broken. */
.is-busy { opacity: .55; pointer-events: none; }
[wire\:loading] { }

/* ── The booking map ─────────────────────────────────────────────────────
   Leaflet needs a height in CSS or it renders a zero-pixel map and nothing
   in its own stylesheet provides one. 300px is tall enough to find a street
   on a phone without pushing the Continue button off the screen. */
.map {
    height: 300px;
    border-radius: 12px;
    border: 1px solid var(--line, #243);
    overflow: hidden;
    background: #11201a;
}

@media (max-width: 600px) {
    .map { height: 240px; }
}

.map--failed { height: auto; }

.map-tools {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: .5rem;
}

.btn-sm { min-height: 36px; padding: .35rem .8rem; font-size: .85rem; }

/* Leaflet's own controls carry a white panel; keep them legible on the dark
   page without fighting its stylesheet. */
.map .leaflet-control-attribution { font-size: 10px; }

/* Our own map pin. divIcon gets a white background and a border from
   Leaflet's stylesheet by default, which would box the SVG in. */
.sio-pin {
    background: none;
    border: 0;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
}

@keyframes ucSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
