:root {
    --bg: #07080c;
    --bg-2: #10131a;
    --card: rgba(255, 255, 255, 0.045);
    --line: rgba(255, 255, 255, 0.1);
    --text: #f4f6fb;
    --muted: #b4bccb;
    --yellow: #ffd000;
    --yellow-2: #ffe56a;
    --ink: #1a1404;
    --wa: #0c8f44;
    --wa-2: #14b85c;
    --header: 69px;
    --dock: 118px;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    --font: Manrope, "Segoe UI", sans-serif;
    --display: Unbounded, Manrope, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    background:
        radial-gradient(900px 480px at 100% -10%, rgba(255, 208, 0, 0.16), transparent 55%),
        radial-gradient(680px 420px at -10% 8%, rgba(18, 168, 86, 0.14), transparent 50%),
        var(--bg);
    padding-bottom: var(--dock);
}

body.toast-on { --dock: 176px; }

img, svg { max-width: 100%; }

a { color: inherit; }

button, input, select { font: inherit; color: inherit; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 12px; }

h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.05rem; font-family: var(--font); letter-spacing: -0.02em; }

p { margin: 0 0 12px; }

.wrap { width: min(1120px, calc(100% - 28px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 28px)); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 120;
    background: var(--yellow);
    color: var(--ink);
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 800;
}
.skip:focus { top: 12px; }

:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 3px;
}

::selection { background: var(--yellow); color: var(--ink); }

.taxi-stripe {
    height: 5px;
    background: repeating-linear-gradient(90deg, var(--yellow) 0 16px, #14120a 16px 26px);
}

.header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(7, 8, 12, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__in {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-right: auto;
}

.logo__mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--yellow-2), var(--yellow));
    position: relative;
    box-shadow: 0 8px 18px rgba(255, 208, 0, 0.25);
}

.logo__lamp {
    position: absolute;
    left: 11px;
    right: 11px;
    top: -5px;
    height: 7px;
    border-radius: 6px 6px 2px 2px;
    background: #fff4bf;
    box-shadow: 0 0 12px rgba(255, 208, 0, 0.8);
}

.logo__lamp::after {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    top: 8px;
    height: 16px;
    border-radius: 4px;
    background: var(--ink);
}

.logo__word { display: flex; flex-direction: column; line-height: 1.05; }
.logo__word strong { font-size: 15px; font-weight: 800; letter-spacing: -0.04em; white-space: nowrap; }
.logo__word small { color: var(--muted); font-size: 11px; font-weight: 600; }

.header__nav { display: none; gap: 18px; }
.header__nav a { text-decoration: none; color: var(--muted); font-weight: 700; font-size: 14px; }
.header__nav a:hover { color: var(--text); }

.header__cta { display: flex; align-items: center; gap: 8px; }

.header-phone {
    display: none;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 800;
    color: var(--yellow);
}

.header-wa,
.btn,
.dock-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
    font-weight: 800;
    touch-action: manipulation;
}

.header-wa {
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--wa-2), var(--wa));
    color: #fff;
    box-shadow: 0 8px 20px rgba(12, 143, 68, 0.35);
}

.header-wa .ico { width: 18px; height: 18px; }

.ico { width: 22px; height: 22px; display: block; flex: none; }

.kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: var(--yellow);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
}

.kicker__dot,
.dock-toast__dot,
.wa-phone__top em i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3dff8a;
    box-shadow: 0 0 0 0 rgba(61, 255, 138, 0.7);
    animation: blink 1.6s ease-out infinite;
    display: inline-block;
}

h1 span { color: var(--yellow); }

.lede { color: var(--muted); font-size: 1.05rem; max-width: 46rem; }
.lede--next { margin-top: -4px; }

.hero { padding: 18px 0 4px; }
.hero--city { padding-top: 18px; }

.hero__grid { display: grid; gap: 8px; }

.actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 18px 0 12px;
}

.btn {
    min-height: 54px;
    padding: 0 14px;
    border-radius: 16px;
    position: relative;
}

.btn--wa {
    background: linear-gradient(180deg, var(--wa-2), var(--wa));
    color: #fff;
    box-shadow: 0 10px 24px rgba(12, 143, 68, 0.28);
    overflow: hidden;
}

.btn--call {
    background: linear-gradient(180deg, var(--yellow-2), var(--yellow));
    color: var(--ink);
}

.btn--lg { min-height: 58px; padding-inline: 18px; }

.btn__rings {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.hero-phone {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    text-decoration: none;
    margin-top: 4px;
}
.hero-phone span { color: var(--muted); font-size: 13px; font-weight: 700; }
.hero-phone strong {
    font-family: var(--display);
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    color: var(--yellow);
}

.wa-phone { display: none; }

.kk-line { color: var(--yellow); font-weight: 700; margin-top: -6px; }

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 14px;
}
.crumbs a { color: var(--text); font-weight: 700; }

.note { color: var(--muted); font-size: 14px; }

.section { padding: 22px 0; }
.section--tight { padding-top: 8px; }

#cities { scroll-margin-top: 78px; }

.cities__head {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}
.cities__lead { color: var(--muted); margin: 0; }

.city-search {
    position: sticky;
    top: var(--header);
    z-index: 25;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 56px;
    padding: 0 14px;
    border-radius: 18px;
    background: rgba(16, 19, 26, 0.94);
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.city-search .ico { color: var(--yellow); }
.city-search input {
    flex: 1;
    min-width: 0;
    height: 54px;
    border: 0;
    background: transparent;
    outline: none;
    font-size: 16px;
}
.city-search input::placeholder { color: #8e97ab; }
.search__clear {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    font-size: 22px;
}

.hot, .chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 0 4px;
    scrollbar-width: none;
}
.hot::-webkit-scrollbar, .chips::-webkit-scrollbar { display: none; }

.hot a, .chip {
    flex: none;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    min-height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}
.chip span { color: var(--muted); font-size: 12px; }
.chip.is-on {
    background: var(--yellow);
    color: var(--ink);
    border-color: var(--yellow);
}
.chip.is-on span { color: rgba(26, 20, 4, 0.65); }

.city-count { color: var(--muted); font-size: 13px; font-weight: 700; margin: 8px 0; }

.city-grid { display: grid; gap: 8px; }

.city-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
    min-height: 74px;
    padding: 10px 10px 10px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
}

.city-card__go {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.city-card__title { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: baseline; }
.city-card__name { font-weight: 800; letter-spacing: -0.02em; }
.city-card__kk, .city-card__region { color: var(--muted); font-size: 12px; font-weight: 600; }
.city-card__wa {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(20, 184, 92, 0.16);
    color: #5dff9a;
    text-decoration: none;
}
.city-card__wa .ico { width: 22px; height: 22px; }

.empty {
    margin-top: 16px;
    padding: 18px;
    border-radius: 18px;
    border: 1px dashed var(--line);
    text-align: center;
}
.empty .btn { margin-top: 8px; }

.why, .reqs, .steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }

.why li, .reqs li, .steps li {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
}

.why__ico {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 208, 0, 0.12);
    color: var(--yellow);
    margin-bottom: 10px;
}

.why p, .reqs span, .steps p { color: var(--muted); margin: 0; }
.reqs strong, .steps h3 { display: block; margin-bottom: 4px; }

.steps { counter-reset: none; }
.steps span {
    font-family: var(--display);
    color: var(--yellow);
    font-size: 13px;
    letter-spacing: 0.08em;
}

.wa-band { padding: 8px 0 20px; }
.wa-band__in {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    background:
        radial-gradient(400px 120px at 100% 0%, rgba(255, 255, 255, 0.16), transparent 50%),
        linear-gradient(135deg, #0e9a48, #086b34);
    box-shadow: var(--shadow);
}
.wa-band h2 { font-size: 1.45rem; }
.wa-band p { color: rgba(255, 255, 255, 0.86); margin: 0; }
.wa-band .btn--wa {
    background: #fff;
    color: #086b34;
    box-shadow: none;
}

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 28px 16px 0;
    font-weight: 800;
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 12px;
    color: var(--yellow);
    font-size: 24px;
    line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin-top: 0; }

.closer { padding: 10px 0 28px; }
.closer__in {
    padding: 22px 18px;
    border-radius: 28px;
    background:
        radial-gradient(500px 180px at 0% 0%, rgba(255, 208, 0, 0.2), transparent 55%),
        #141820;
    border: 1px solid rgba(255, 208, 0, 0.28);
}
.closer__phone {
    font-family: var(--display);
    color: var(--yellow);
    font-size: 1.4rem;
    text-decoration: none;
    letter-spacing: -0.03em;
}

.jump { margin-top: 16px; display: grid; gap: 6px; max-width: 420px; }
.jump label { font-size: 13px; font-weight: 800; color: var(--muted); }
.jump select {
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #10131a;
    padding: 0 12px;
    font-size: 16px;
}

.footer { padding: 12px 0 8px; color: var(--muted); }
.footer__grid { display: grid; gap: 22px; }
.footer h2 { font-family: var(--font); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.footer__about { font-size: 14px; }
.footer__phone, .footer__wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}
.footer__phone { color: var(--yellow); font-size: 1.15rem; }
.footer__cities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.footer__cities a { text-decoration: none; font-weight: 700; }
.footer__legal {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 12px;
}
.text-link { color: var(--yellow); font-weight: 800; }

.dock-wrap {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 10px calc(10px + env(safe-area-inset-bottom));
    pointer-events: none;
    animation: dockIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.dock-toast,
.dock { pointer-events: auto; width: min(640px, 100%); }

.dock-toast {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 8px 8px 8px 12px;
    border-radius: 16px;
    background: rgba(12, 18, 16, 0.88);
    border: 1px solid rgba(61, 255, 138, 0.28);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.dock-toast__text {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dock-toast__go {
    flex: none;
    text-decoration: none;
    background: var(--wa-2);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    border-radius: 999px;
    padding: 7px 10px;
}
.dock-toast__x {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 22px;
}

.dock {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 8px;
    padding: 8px;
    border-radius: 26px;
    background: rgba(10, 12, 18, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px) saturate(1.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.dock-btn {
    position: relative;
    min-height: 64px;
    border-radius: 18px;
    padding: 8px 10px;
    justify-content: flex-start;
    text-align: left;
}

.dock-btn__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    position: relative;
    flex: none;
}
.dock-btn__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.dock-btn__text strong { font-size: 15px; }
.dock-btn__text small { font-size: 11px; font-weight: 700; opacity: 0.82; }

.dock-btn--call {
    background: linear-gradient(180deg, var(--yellow-2), var(--yellow));
    color: var(--ink);
    box-shadow: 0 8px 22px rgba(255, 208, 0, 0.28);
}
.dock-btn--call .dock-btn__icon { background: rgba(26, 20, 4, 0.1); }
.dock-btn--call .ico { animation: ring 2.2s ease-in-out infinite; transform-origin: 50% 60%; }

.rings::before,
.rings::after,
.wa-ping {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 16px;
    border: 2px solid rgba(26, 20, 4, 0.45);
    animation: ping 1.8s ease-out infinite;
}
.rings::after { animation-delay: 0.55s; }

.dock-btn--wa {
    background: linear-gradient(180deg, #1ed86a, #0b8a40);
    color: #fff;
    overflow: hidden;
    animation: glow 2.2s ease-in-out infinite;
}
.dock-btn--wa .dock-btn__icon {
    background: rgba(255, 255, 255, 0.16);
    animation: hop 2.8s ease-in-out infinite;
}
.wa-ping {
    border-color: rgba(255, 255, 255, 0.7);
    inset: -2px;
}
.dock-btn__shine {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 38%;
    left: -40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: shine 2.8s ease-in-out infinite;
}

@keyframes dockIn {
    from { opacity: 0; translate: 0 36px; }
    to { opacity: 1; translate: 0 0; }
}
@keyframes ring {
    0%, 46%, 100% { rotate: 0deg; }
    8% { rotate: -18deg; }
    16% { rotate: 16deg; }
    24% { rotate: -12deg; }
    32% { rotate: 8deg; }
    40% { rotate: 0deg; }
}
@keyframes ping {
    0% { transform: scale(0.75); opacity: 0.75; }
    100% { transform: scale(1.45); opacity: 0; }
}
@keyframes hop {
    0%, 70%, 100% { translate: 0 0; }
    78% { translate: 0 -4px; }
    88% { translate: 0 0; }
}
@keyframes glow {
    0%, 100% { box-shadow: 0 8px 22px rgba(14, 160, 74, 0.35); }
    50% { box-shadow: 0 10px 28px rgba(40, 220, 110, 0.55), 0 0 0 6px rgba(40, 220, 110, 0.16); }
}
@keyframes shine {
    0%, 58% { left: -45%; }
    100% { left: 130%; }
}
@keyframes blink {
    0% { box-shadow: 0 0 0 0 rgba(61, 255, 138, 0.65); }
    70%, 100% { box-shadow: 0 0 0 8px rgba(61, 255, 138, 0); }
}
@keyframes rise {
    from { opacity: 0; translate: 0 8px; }
    to { opacity: 1; translate: 0 0; }
}
@keyframes lane {
    to { background-position: -32px 0; }
}

@media (min-width: 720px) {
    .section { padding: 42px 0; }
    .city-grid { grid-template-columns: 1fr 1fr; }
    .why { grid-template-columns: 1fr 1fr; }
    .reqs { grid-template-columns: 1fr 1fr; }
    .footer__grid { grid-template-columns: 1.3fr 0.8fr 1fr; }
    .wa-band__in, .closer__in {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
    .cities__head { grid-template-columns: 1fr 1fr; align-items: end; }
}

@media (min-width: 1040px) {
    .header__nav { display: flex; }
    .header-phone { display: inline-flex; }
}

@media (min-width: 960px) {
    .hot, .chips { flex-wrap: wrap; overflow: visible; }
    .hero { padding: 48px 0 10px; }
    .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; }
    .wa-phone {
        display: block;
        background: #0e1412;
        border-radius: 28px;
        padding: 14px;
        border: 1px solid rgba(61, 255, 138, 0.2);
        box-shadow: var(--shadow);
    }
    .wa-phone__top { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
    .avatar {
        width: 40px; height: 40px; border-radius: 50%;
        display: grid; place-items: center;
        background: var(--wa); color: #fff; font-weight: 800;
    }
    .wa-phone__top strong { display: block; }
    .wa-phone__top em { color: #8ddead; font-style: normal; font-size: 13px; display: flex; gap: 6px; align-items: center; }
    .bubble {
        max-width: 92%;
        padding: 10px 12px;
        border-radius: 14px;
        margin-bottom: 8px;
        font-size: 14px;
        animation: rise 0.55s both;
    }
    .bubble.in { background: #1c2420; border-bottom-left-radius: 4px; }
    .bubble.out { margin-left: auto; background: #115c38; border-bottom-right-radius: 4px; }
    .bubble:nth-child(2) { animation-delay: 0.15s; }
    .bubble:nth-child(3) { animation-delay: 0.3s; }
    .lane {
        height: 8px;
        margin-top: 8px;
        border-radius: 99px;
        background: repeating-linear-gradient(90deg, var(--yellow) 0 18px, transparent 18px 32px);
        background-size: 32px 8px;
        animation: lane 0.9s linear infinite;
    }
    .city-grid { grid-template-columns: 1fr 1fr 1fr; }
    .steps { grid-template-columns: 1fr 1fr 1fr; }
    .dock-btn__text small { font-size: 12px; }
}

@media (min-width: 1200px) {
    .city-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

@media (hover: hover) {
    .city-card:hover {
        border-color: rgba(255, 208, 0, 0.55);
        translate: 0 -2px;
    }
    .hot a:hover { border-color: var(--yellow); }
    .header-wa:hover, .btn--wa:hover { filter: brightness(1.05); }
}

@media (max-width: 719px) {
    .dock-toast { display: none !important; }
    body.toast-on { --dock: 108px; }
    .cities { padding-top: 6px; }
    .cities__head { margin-bottom: 8px; }
    h1 { font-size: 1.85rem; }
}

@media (max-width: 520px) {
    .logo__word small { display: none; }
}

@media (max-width: 380px) {
    .dock-btn { padding-inline: 8px; gap: 6px; }
    .dock-btn__text strong { font-size: 13px; }
    .dock-btn__text small { font-size: 10px; letter-spacing: -0.02em; }
    .header-wa span { display: none; }
    .header-wa { width: 42px; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
