:root {
    --yellow: #ffc400;
    --yellow-bright: #ffdd43;
    --orange: #ff8a00;
    --ink: #0a0a0a;
    --ink-soft: #151515;
    --surface: #191919;
    --surface-raised: #222222;
    --white: #ffffff;
    --muted: #a9a9a9;
    --line: rgba(255, 255, 255, .1);
    --danger: #ff6b6b;
    --success: #75df9a;
    --shadow: 0 30px 80px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px),
        var(--ink);
    background-size: 44px 44px;
    color: var(--white);
    font-family: Cairo, "Segoe UI", Tahoma, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.page-glow {
    position: fixed;
    z-index: -1;
    top: -20rem;
    right: -12rem;
    width: 48rem;
    height: 48rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 196, 0, .2), transparent 66%);
    pointer-events: none;
}

.site-header,
.intro,
.booking-shell,
.footer-inner {
    width: min(1240px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header { padding: 20px 0 12px; }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: clamp(150px, 18vw, 230px);
    height: 72px;
    object-fit: contain;
    object-position: right center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.service-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #d9d9d9;
    font-size: .875rem;
    font-weight: 600;
}

.service-status i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #66dc8b;
    box-shadow: 0 0 0 5px rgba(102, 220, 139, .12);
}

.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: #efefef;
    text-decoration: none;
    font-size: .875rem;
    font-weight: 700;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.admin-link:hover {
    border-color: rgba(255, 196, 0, .45);
    background: rgba(255, 196, 0, .07);
    transform: translateY(-1px);
}

.admin-link svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(34px, 6vw, 76px) 0 clamp(28px, 4vw, 52px);
}

.intro-copy { max-width: 720px; }

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 15px;
    color: #d1d1d1;
    font-size: .95rem;
    font-weight: 700;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    border-radius: 9px;
    background: var(--yellow);
}

.eyebrow span { color: var(--yellow); }

.intro h1 {
    margin: 0;
    color: var(--white);
    font-size: clamp(2.35rem, 6vw, 5.15rem);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: 1.05;
}

.intro h1 strong {
    position: relative;
    color: var(--yellow);
    font-weight: inherit;
}

.intro h1 strong::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: .02em;
    width: 78%;
    height: 7px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--orange), transparent);
    opacity: .45;
}

.lead {
    max-width: 600px;
    margin: 22px 0 0;
    color: #bcbcbc;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.trust-strip {
    display: grid;
    gap: 12px;
    flex: 0 0 auto;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .025);
    backdrop-filter: blur(10px);
}

.trust-strip span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e4e4e4;
    font-size: .9rem;
    font-weight: 700;
}

.trust-strip svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: var(--yellow);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.booking-shell {
    display: grid;
    grid-template-columns: minmax(360px, .83fr) minmax(0, 1.17fr);
    grid-template-areas: "form map";
    gap: 18px;
    padding-bottom: 78px;
}

.booking-card {
    grid-area: form;
    position: relative;
    z-index: 3;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 26px;
    background: linear-gradient(145deg, #1d1d1d, #131313);
    box-shadow: var(--shadow);
}

.booking-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    border-radius: 26px 26px 0 0;
    background: linear-gradient(90deg, var(--yellow), var(--orange));
}

.card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.step-label,
.map-kicker {
    display: block;
    margin-bottom: 3px;
    color: var(--yellow);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
}

.card-heading h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
    font-weight: 900;
    line-height: 1.35;
}

.cash-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 196, 0, .2);
    border-radius: 10px;
    background: rgba(255, 196, 0, .08);
    color: var(--yellow-bright);
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
}

.cash-badge svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

label { display: block; position: relative; }

.route-fields {
    position: relative;
    display: grid;
    gap: 13px;
    margin-bottom: 19px;
}

.route-line {
    position: absolute;
    z-index: 3;
    top: 57px;
    right: 19px;
    width: 2px;
    height: 68px;
    background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .28) 0 4px, transparent 4px 8px);
    pointer-events: none;
}

.field-label {
    display: block;
    margin-bottom: 7px;
    color: #c6c6c6;
    font-size: .79rem;
    font-weight: 700;
}

.field-control,
.phone-control {
    display: flex;
    align-items: center;
    min-height: 54px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #232323;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.field-control:focus-within,
.phone-control:focus-within {
    border-color: rgba(255, 196, 0, .65);
    background: #272727;
    box-shadow: 0 0 0 4px rgba(255, 196, 0, .08);
}

input[type="text"],
input[type="tel"] {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 14px 8px;
    background: transparent;
    color: var(--white);
    font-size: .92rem;
}

input::placeholder { color: #7f7f7f; opacity: 1; }

.location-dot {
    position: relative;
    z-index: 4;
    flex: 0 0 auto;
    width: 13px;
    height: 13px;
    margin-right: 14px;
    margin-left: 4px;
    border: 3px solid;
    border-radius: 50%;
    background: #222;
}

.pickup-dot { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 196, 0, .12); }
.dropoff-dot { border-color: var(--white); box-shadow: 0 0 0 4px rgba(255, 255, 255, .09); }

.input-icon {
    flex: 0 0 auto;
    width: 19px;
    margin-right: 14px;
    margin-left: 3px;
    fill: none;
    stroke: #929292;
    stroke-width: 1.7;
    stroke-linecap: round;
}

.field-action,
.swap-button {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    color: var(--yellow);
    background: rgba(255, 196, 0, .09);
    cursor: pointer;
}

.field-action { margin-left: 7px; }
.field-action:hover, .swap-button:hover { background: rgba(255, 196, 0, .17); }
.field-action:disabled { opacity: .5; cursor: wait; }
.field-action svg, .swap-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.swap-button {
    position: absolute;
    z-index: 5;
    top: 91px;
    left: 12px;
    border: 1px solid var(--line);
    background: #303030;
    color: #d9d9d9;
}

.phone-control { overflow: hidden; direction: ltr; }

.phone-control b {
    align-self: stretch;
    display: flex;
    align-items: center;
    padding: 0 13px;
    border-right: 1px solid var(--line);
    color: var(--yellow);
    font-size: .9rem;
    font-weight: 800;
}

.phone-control input { direction: ltr; text-align: left; padding-inline: 13px; }

.passenger-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.suggest {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 6px);
    inset-inline: 0;
    max-height: 218px;
    overflow: auto;
    margin: 0;
    padding: 6px;
    border: 1px solid #3a3a3a;
    border-radius: 13px;
    background: #242424;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
    list-style: none;
}

.suggest button {
    width: 100%;
    border: 0;
    border-radius: 9px;
    padding: 10px;
    background: transparent;
    color: #f2f2f2;
    text-align: right;
    font-size: .84rem;
    cursor: pointer;
}

.suggest button:hover, .suggest button:focus { background: #333; outline: 0; }

.quote-loading { display: grid; gap: 8px; margin: 10px 0 14px; }
.quote-loading[hidden] { display: none; }

.quote-loading span {
    display: block;
    height: 8px;
    border-radius: 99px;
    background: linear-gradient(90deg, #2b2b2b 25%, #3b3b3b 50%, #2b2b2b 75%);
    background-size: 200% 100%;
    animation: shimmer 1.15s infinite linear;
}

.quote-loading span:nth-child(2) { width: 82%; }
.quote-loading span:nth-child(3) { width: 58%; }

@keyframes shimmer { to { background-position: -200% 0; } }

.rides {
    display: grid;
    gap: 8px;
    margin: 8px 0 13px;
}

.rides[hidden] { display: none; }

.ride {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 55px;
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #222;
    color: var(--white);
    text-align: right;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.ride:hover { border-color: rgba(255, 196, 0, .34); }

.ride.active {
    border-color: var(--yellow);
    background: rgba(255, 196, 0, .08);
    box-shadow: inset 0 0 0 1px var(--yellow);
}

.ride-name { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 800; }
.ride-name::before { content: "🚕"; font-size: 1.15rem; }
.ride strong { color: var(--yellow); font-size: .9rem; }

.quote-meta {
    margin: 0 0 13px;
    color: #aaa;
    font-size: .78rem;
}

.message {
    margin: 0 0 13px;
    padding: 10px 12px;
    border-radius: 11px;
    font-size: .82rem;
    font-weight: 700;
}

.error { background: rgba(255, 107, 107, .1); color: var(--danger); }
.ok { background: rgba(117, 223, 154, .1); color: var(--success); }

.primary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(115deg, var(--yellow-bright), var(--yellow) 55%, var(--orange));
    color: #121212;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(255, 174, 0, .18);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.primary-button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255, 174, 0, .24); }
.primary-button:disabled { opacity: .58; cursor: wait; transform: none; }
.primary-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: scaleX(-1); }

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 12px 0 0;
    color: #818181;
    font-size: .72rem;
}

.form-note svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.map-panel {
    grid-area: map;
    position: relative;
    min-width: 0;
    min-height: 650px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 26px;
    background: #d8d2c7;
    box-shadow: var(--shadow);
}

.map-topbar {
    position: absolute;
    z-index: 700;
    top: 16px;
    right: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    background: rgba(15, 15, 15, .91);
    box-shadow: 0 9px 26px rgba(0, 0, 0, .22);
    backdrop-filter: blur(12px);
}

.map-topbar strong { display: block; font-size: .91rem; line-height: 1.35; }
.map-kicker { margin: 0; font-size: .66rem; }
.map-hint { color: #a7a7a7; font-size: .72rem; }

.map { width: 100%; height: 100%; min-height: 650px; }
.leaflet-container { font-family: Cairo, sans-serif; background: #d6d0c4; }
.leaflet-tile-pane { filter: saturate(.48) sepia(.08) contrast(.96); }
.leaflet-control-zoom { margin-top: 92px !important; border: 0 !important; box-shadow: 0 8px 20px rgba(0, 0, 0, .16) !important; }
.leaflet-control-zoom a { background: #151515 !important; color: var(--yellow) !important; border-color: #2c2c2c !important; }
.leaflet-control-attribution { background: rgba(255, 255, 255, .76) !important; font-size: 9px !important; }

.map-pin {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 8px;
    color: #111;
    font: 900 11px Cairo, sans-serif;
    transform: rotate(-45deg);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
}

.map-pin span { transform: rotate(45deg); }
.map-pin.pickup { background: var(--yellow); }
.map-pin.dropoff { background: #171717; color: var(--yellow); }

.map-watermark {
    position: absolute;
    z-index: 700;
    bottom: 18px;
    left: 18px;
    display: grid;
    padding: 9px 12px;
    border-radius: 11px;
    background: rgba(15, 15, 15, .87);
    color: #fff;
    direction: ltr;
    line-height: 1.35;
    backdrop-filter: blur(10px);
}

.map-watermark span { color: var(--yellow); font-size: .72rem; font-weight: 800; }
.map-watermark strong { font-size: .68rem; letter-spacing: .04em; }

.site-footer {
    border-top: 1px solid var(--line);
    background: #080808;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 28px;
    min-height: 138px;
    padding-block: 24px;
}

.footer-brand img { display: block; width: 125px; height: 42px; object-fit: contain; object-position: right; }
.footer-brand p, .copyright { margin: 4px 0 0; color: #757575; font-size: .75rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: #a9a9a9; text-decoration: none; font-size: .79rem; font-weight: 600; }
.site-footer a:hover { color: var(--yellow); }
.copyright { direction: ltr; }

@media (max-width: 980px) {
    .booking-shell {
        grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
    }
    .passenger-fields { grid-template-columns: 1fr; }
    .map-panel, .map { min-height: 720px; }
}

@media (max-width: 780px) {
    .site-header, .intro, .booking-shell, .footer-inner { width: min(100% - 24px, 620px); }
    .site-header { padding-top: 10px; }
    .header-inner { min-height: 60px; }
    .brand-logo { width: 142px; height: 56px; }
    .service-status { display: none; }
    .admin-link { padding: 8px 10px; font-size: .76rem; }
    .intro { display: block; padding: 32px 0 28px; }
    .intro h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
    .lead { margin-top: 16px; }
    .trust-strip { grid-template-columns: repeat(3, 1fr); margin-top: 24px; padding: 13px; gap: 8px; }
    .trust-strip span { display: grid; justify-items: center; gap: 4px; text-align: center; font-size: .68rem; }
    .booking-shell {
        grid-template-columns: 1fr;
        grid-template-areas: "form" "map";
    }
    .map-panel, .map { min-height: 390px; }
    .map-panel { border-radius: 22px; }
    .map-topbar { top: 10px; right: 10px; left: 10px; }
    .leaflet-control-zoom { margin-top: 88px !important; }
    .footer-inner { grid-template-columns: 1fr; gap: 12px; text-align: center; }
    .footer-brand img { margin-inline: auto; object-position: center; }
    .site-footer nav { justify-content: center; }
}

@media (max-width: 460px) {
    .booking-card { padding: 21px 16px; border-radius: 22px; }
    .card-heading { align-items: flex-start; }
    .cash-badge { padding: 7px 8px; }
    .map-hint { display: none; }
    .footer-inner { min-height: 170px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
