/* =========================================================================
   evac-24.ru — светлая тема в стиле avtospec77.ru:
   белый фон, жёлтый акцент, фиолетовый декор, мягкие карточки и фото.
   ========================================================================= */

:root {
    --bg: #ffffff;
    --bg-panel: #f8f7fe;
    --bg-card: #ffffff;
    --border: #e8eaf2;
    --border-strong: #d9deea;
    --divider: #eef0f6;

    --text: #000c12;
    --text-body: #3d4654;
    --text-muted: #6e7787;
    --text-meta: #9aa2b1;

    --accent: #f8c444;
    --accent-hover: #edb52a;
    --accent-on: #000c12;
    --purple: #8f82ff;
    --purple-soft: #f0edff;
    --yellow-soft: #fff7dc;
    --navy: #000c23;

    --tag-emerald: #f0edff;
    --tag-plum: #fff4cf;

    --font-head: "Manrope", "Segoe UI", Arial, sans-serif;
    --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
    --font-mono: "Manrope", "Segoe UI", Arial, sans-serif;

    --container-max: 1360px;
    --gutter: 20px;
    --gutter-lg: 40px;
    --section-space: 96px;
    --radius: 16px;
    --radius-lg: 24px;

    color-scheme: light;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(34px, 4.4vw, 54px);
    line-height: 1.08;
}

h2 {
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.015em;
}

p { margin-bottom: 16px; }
a { text-underline-offset: 3px; }

.container {
    max-width: var(--container-max);
    padding-inline: var(--gutter);
}

section {
    padding-block: 56px;
}

@media (min-width: 768px) {
    .container { padding-inline: var(--gutter-lg); }
    section { padding-block: var(--section-space); }
}

.section--panel {
    background: var(--bg-panel);
    border-top: 0;
    border-bottom: 0;
}

.section-head {
    max-width: 920px;
    margin-bottom: 40px;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 660px;
}

/* ---------- Кнопки ---------- */

.btn {
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
}
.btn--accent {
    background: var(--accent);
    color: var(--accent-on);
    box-shadow: 0 10px 22px -16px rgba(248, 196, 68, .9);
}
.btn--accent:hover { background: var(--accent-hover); color: var(--accent-on); }
.btn--accent:active { background: #e6ab1c; }
.btn--outline {
    border-color: var(--border-strong);
    color: var(--text);
}
.btn--outline:hover {
    border-color: var(--purple);
    color: var(--purple);
    background: var(--purple-soft);
}
.link-more {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: var(--purple);
}
.link-more:hover { color: #6757ec; }

/* ---------- Шапка ---------- */

.site-header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--divider);
    box-shadow: 0 10px 28px -30px rgba(0, 12, 35, .35);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}
.header-top { border-bottom: 0; }
.header-top__inner { padding-block: 15px; }
.header-nav {
    background: #fff;
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
}

.logo { gap: 12px; }
.logo__mark {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-on);
}
.logo__mark svg { width: 21px; height: 21px; }
.logo__name {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.logo__sub {
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: .08em;
}

.header-phone {
    gap: 8px;
    color: var(--text);
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
}
.header-phone svg { color: var(--purple); }
.header-phone:hover { color: var(--purple); }
.header-hours { color: var(--text-muted); }
.header-phone--nav { color: var(--text); font-size: 13px; }
.header-phone--nav:hover { color: var(--purple); }

.header-cta { border-radius: 999px; }

.main-nav__link {
    padding: 15px 14px;
    color: var(--text-body);
    font-size: 14px;
    font-weight: 600;
}
.main-nav__link:hover,
.main-nav__link.is-active {
    color: var(--text);
    border-bottom-color: var(--accent);
}
.main-nav__link.is-active { color: var(--text); }

.dropdown {
    min-width: 240px;
    padding: 10px;
    border-color: var(--border);
    border-radius: 16px;
    box-shadow: 0 20px 44px -26px rgba(0, 12, 35, .32);
}
.dropdown li a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text-body);
    font-weight: 500;
}
.dropdown li a:hover {
    background: var(--purple-soft);
    color: var(--purple);
}

.burger {
    border-color: var(--border);
    border-radius: 12px;
    color: var(--text);
}
.burger:hover { border-color: var(--purple); color: var(--purple); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 72px;
    background: linear-gradient(180deg, #fff 0%, #fbfaff 100%);
}
.hero::before {
    content: "";
    position: absolute;
    top: 42px;
    right: -120px;
    width: 460px;
    height: 460px;
    border: 30px solid rgba(143, 130, 255, .14);
    border-radius: 50%;
    pointer-events: none;
}
.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 38px;
    align-items: center;
}
.hero__content { max-width: 620px; }
.hero__content h1 { max-width: 680px; }
.hero__lead {
    max-width: 600px;
    margin-bottom: 26px;
    color: var(--text-body);
    font-size: 17.5px;
    line-height: 1.65;
}
.hero__bullets { gap: 11px; margin-bottom: 30px; }
.hero__bullets li {
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.5;
}
.hero__bullets svg { color: var(--purple); }
.hero__actions { gap: 12px; }

.hero__figure,
.hero__figure:not(:has(svg)) {
    display: block;
    position: relative;
    z-index: 1;
    overflow: visible;
    border: 0;
    border-radius: 28px;
    background: transparent;
    aspect-ratio: 4 / 3;
}
.hero__figure::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -24px;
    right: -24px;
    width: 66%;
    aspect-ratio: 1;
    border: 18px solid rgba(143, 130, 255, .86);
    border-radius: 50%;
    pointer-events: none;
}
.hero__figure img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    mix-blend-mode: normal;
    opacity: 1;
    box-shadow: 0 30px 54px -38px rgba(0, 12, 35, .5);
}
.hero + section { padding-top: 64px; }

.hero__figure-tag {
    z-index: 2;
    left: 18px;
    bottom: 18px;
    padding: 8px 13px;
    border: 1px solid rgba(232, 234, 242, .9);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--text);
    font-family: var(--font-head);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    box-shadow: 0 8px 20px -16px rgba(0, 12, 35, .4);
}

@media (min-width: 900px) {
    .hero { padding: 76px 0 88px; }
    .hero__inner { grid-template-columns: 1.02fr .98fr; gap: 62px; }
}

/* ---------- Finder ---------- */

#finder { padding-block: 64px; }
.finder { gap: 30px; }
.chip-grid { gap: 10px; }
.chip {
    padding: 15px 14px;
    border-color: var(--border);
    border-radius: 14px;
    background: #fff;
    color: var(--text-body);
    font-size: 13px;
    box-shadow: 0 8px 18px -18px rgba(0, 12, 35, .32);
}
.chip i[data-ic] { color: var(--purple); }
.chip:hover,
.chip.is-active {
    border-color: var(--accent);
    background: var(--yellow-soft);
    color: var(--text);
}
.finder__filter select {
    min-height: 44px;
    border-color: var(--border-strong);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
}
.map-embed {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 42px -34px rgba(0, 12, 35, .45);
}
.map-embed iframe { filter: none; }

/* ---------- Cards ---------- */

.card {
    border-color: var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 38px -34px rgba(0, 12, 35, .3);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.card:hover {
    border-color: rgba(143, 130, 255, .55);
    transform: translateY(-2px);
    box-shadow: 0 24px 44px -34px rgba(0, 12, 35, .34);
}
.card__icon {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: var(--purple-soft);
    color: var(--purple);
}
.card__title { margin-bottom: 8px; }
.card__text { color: var(--text-muted); font-size: 14.5px; }
.card__foot { border-top-color: var(--divider); }
.card__label { color: var(--text-meta); font-family: var(--font-head); font-size: 11px; }
.card__label strong { color: var(--purple); font-weight: 700; }

/* ---------- Video ---------- */

#video { background: var(--bg-panel); }
.video-block { gap: 42px; }
.video-frame {
    border: 0;
    border-radius: 24px;
    background: var(--purple-soft);
    box-shadow: 0 24px 44px -34px rgba(0, 12, 35, .35);
}
.video-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-frame__play {
    background: rgba(0, 12, 18, .18);
    color: #fff;
}
.video-frame__play svg {
    width: 58px;
    height: 58px;
    padding: 8px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--text);
}

/* ---------- Vehicles / fleet ---------- */

.vehicle-card {
    border-color: var(--border);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 18px 38px -34px rgba(0, 12, 35, .3);
}
.vehicle-card__media {
    aspect-ratio: 16 / 10;
    border-bottom: 0;
    background: var(--purple-soft);
}
.vehicle-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vehicle-card__body { padding: 22px; }

.fleet-gallery { gap: 20px; }
.fleet-item {
    border: 0;
    border-radius: 20px;
    background: var(--purple-soft);
    box-shadow: 0 18px 38px -34px rgba(0, 12, 35, .3);
}
@media (min-width: 1024px) {
    .fleet-gallery > *:first-child {
        grid-column: span 2;
        grid-row: auto;
        aspect-ratio: 16 / 9;
    }
}
.fleet-item img { border-radius: 0; }
.fleet-item__tag { left: 14px; right: 14px; bottom: 14px; }
.fleet-item__tag span {
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--text);
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    box-shadow: 0 6px 14px -12px rgba(0, 12, 35, .35);
}

/* ---------- Prices ---------- */

.pricing { gap: 24px; }
.pricing-card {
    padding: 32px;
    border: 0;
    border-radius: 24px;
    background: var(--yellow-soft);
}
.pricing-card__price {
    color: var(--text);
    font-size: 42px;
    font-weight: 800;
}
.pricing-card__price span { color: var(--text-muted); }
.pricing-card .hero__bullets { margin-bottom: 24px; }
.pricing-table {
    border-color: var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 38px -34px rgba(0, 12, 35, .3);
}
.pricing-table thead th { background: var(--bg-panel); }
.pricing-table td:last-child,
.pricing-table th:last-child { color: var(--purple); font-weight: 700; }
.pricing-table summary { background: var(--bg-panel); }
.pricing-table__note { color: var(--text-muted); }

/* ---------- Calculator ---------- */

.calculator {
    border-color: var(--border);
    border-radius: 24px;
    background: var(--bg-panel);
    padding: 32px;
}
.calc-tabs { border-bottom-color: var(--border); }
.calc-tabs button { font-family: var(--font-head); font-weight: 700; }
.calc-tabs button.is-active,
.calc-tabs button[aria-selected="true"] {
    color: var(--purple);
    border-bottom-color: var(--purple);
}
.calc-result__value { color: var(--text); font-weight: 800; }
.field input,
.field textarea,
.field select {
    border-color: var(--border-strong);
    border-radius: 12px;
    background: #fff;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(143, 130, 255, .14);
}

/* ---------- Reviews ---------- */

.review-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 38px -34px rgba(0, 12, 35, .3);
}
.badge--emerald {
    background: var(--purple-soft);
    color: #6b5ae0;
}
.badge--plum {
    background: var(--yellow-soft);
    color: #8a6a00;
}
.review-card__stars { color: var(--accent); }
.review-card__stars svg {
    fill: currentColor;
    stroke: currentColor;
}
.review-card__author strong { color: var(--text); }

/* ---------- Map ---------- */

.map-block .map-embed {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 22px 42px -34px rgba(0, 12, 35, .4);
}
.map-block .map-embed iframe { filter: none; }

/* ---------- FAQ ---------- */

.accordion {
    display: grid;
    gap: 10px;
    border-top: 0;
}
.accordion-item {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
}
.accordion-item h3 { margin: 0; }
.accordion-item__trigger {
    padding: 19px 22px;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
}
.accordion-item__trigger::before { display: none; }
.accordion-item__trigger > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.accordion-item__trigger > span:first-child svg {
    display: inline-block;
    flex: 0 0 auto;
}
.accordion-item__trigger svg { color: var(--purple); }
.accordion-item__panel {
    max-width: none;
    padding: 0 22px 22px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ---------- Article / prose ---------- */

.article-body {
    color: var(--text-body);
    font-size: 16.5px;
    line-height: 1.7;
}
.article-body h2,
.article-body h3 { color: var(--text); }
.article-body a:not(.btn) {
    color: var(--purple);
    text-decoration-color: rgba(143, 130, 255, .45);
}
.article-body a:has(> img.alignright) {
    display: block;
    float: right;
    max-width: 300px;
    margin: 4px 0 20px 26px;
    color: #000;
    text-decoration: none;
}
.article-body a:has(> img.alignright) img {
    float: none;
    width: 100%;
    height: auto;
    margin: 0;
}
.article-body a:not(.btn):hover { color: #6655e9; }
.article-body img,
.article-lead .hero__figure img {
    border-radius: 18px;
}
.article-lead .hero__figure {
    border-radius: 22px;
    overflow: hidden;
}
.article-lead .hero__figure img { border-radius: 22px; }
.article-body img.alignright,
img.alignright {
    float: right;
    max-width: 300px;
    height: auto;
    margin: 4px 0 20px 26px;
    border-radius: 14px;
}
@media (max-width: 599px) {
    .article-body img.alignright,
    img.alignright {
        float: none;
        display: block;
        max-width: 100%;
        margin: 20px auto;
    }
}

/* ---------- CTA / directions ---------- */

.directions-list a,
.coverage-list a { color: var(--text-body); }
.directions-list a:hover,
.coverage-list a:hover { color: var(--purple); }
.coverage-list a svg,
.directions-list a svg { color: var(--purple); }

/* ---------- Footer ---------- */

.site-footer {
    margin-top: 0;
    border-top: 0;
    background: var(--navy);
    color: rgba(255, 255, 255, .72);
}
.site-footer .logo__name { color: #fff; }
.site-footer .logo__sub { color: rgba(255, 255, 255, .55); }
.footer-brand__desc { color: rgba(255, 255, 255, .62); }

/* Шапка мобильного оверлея: логотип и явная кнопка закрытия */
.mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--divider);
}
.mobile-menu__top .logo__name { color: var(--text); }
.mobile-menu__top .burger { margin-left: 0; }
.footer-contacts li,
.footer-contacts li a { color: rgba(255, 255, 255, .78); }
.footer-contacts li a:hover { color: var(--accent); }
.footer-contacts svg { color: var(--accent); }
.footer-col__title { color: rgba(255, 255, 255, .5); }
.footer-col a { color: rgba(255, 255, 255, .74); }
.footer-col a:hover { color: var(--accent); }
.footer-mid { border-top-color: rgba(255, 255, 255, .14); }
.footer-pay__label,
.footer-pay__icon { color: rgba(255, 255, 255, .55); }
.footer-social a {
    border-color: rgba(255, 255, 255, .2);
    color: rgba(255, 255, 255, .75);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-bottom {
    border-top-color: rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .48);
}
.footer-bottom a { color: rgba(255, 255, 255, .52); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Chat / misc ---------- */

.chat-bubble__toggle {
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: var(--text);
    box-shadow: 0 14px 30px -18px rgba(248, 196, 68, .9);
    font-family: var(--font-head);
    font-weight: 700;
}
.chat-bubble__toggle:hover { background: var(--accent-hover); }
.chat-bubble__panel {
    border-color: var(--border);
    border-radius: 20px;
    box-shadow: 0 22px 46px -26px rgba(0, 12, 35, .36);
}
.chat-bubble__phone { color: var(--purple); }

.scroll-top {
    border-color: var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--text);
}
.scroll-top:hover { border-color: var(--purple); color: var(--purple); }

/* ---------- Мобильная адаптация ---------- */

@media (max-width: 899px) {
    .hero { padding: 44px 0 54px; }
    .hero::before { right: -220px; width: 380px; height: 380px; }
    .hero__inner { gap: 32px; }
    .hero__lead { font-size: 16px; }
    .hero__figure::before { top: -14px; right: -14px; border-width: 12px; }
    .hero__figure img { border-radius: 22px; }
    .header-top__inner { padding-block: 12px; }
    .header-nav { display: none; }
    .section-head { margin-bottom: 30px; }
    #finder { padding-block: 48px; }
    .video-block { gap: 26px; }
    .pricing-card { padding: 25px; }
    .calculator { padding: 24px; }
    .accordion-item__trigger { padding: 17px 18px; font-size: 15px; }
    .footer-top { gap: 28px; }
}

@media (max-width: 599px) {
    h1 { font-size: 32px; }
    h2 { font-size: 27px; }
    section { padding-block: 48px; }
    .hero__actions .btn { flex: 1 1 auto; }
    .hero__figure::before { display: none; }
    .footer-bottom { gap: 8px; }
    .article-body a:has(> img.alignright) {
        float: none;
        max-width: 100%;
        margin: 20px auto;
    }
}
