/* =====================================================================
   shum-spl.ru — тёмная тема поверх шаблона «Velocity Cars».
   Палитра (пожелание заказчика: фиолетовый, синий, чёрный, красный):
   чёрный фон с фиолетовым отливом, акцент — градиент фиолетовый → синий,
   красный — точечно (индикатор в логотипе, «*», ошибки, live-точка).
   ===================================================================== */
:root {
    --bg: #09080f;
    --bg-2: #0f0d18;
    --card: #15121f;
    --card-2: #1b1729;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --text: #ebe9f3;
    --mute: #a19bb5;
    --violet: #8b5cf6;
    --violet-l: #b69cff;
    --blue: #3b82f6;
    --blue-l: #7cb2ff;
    --red: #ff2d55;
    --grad: linear-gradient(120deg, #8b5cf6 0%, #6366f1 50%, #3b82f6 100%);
    --glow: 0 10px 40px rgba(124, 92, 246, .35);
    --head: 'Oswald', 'Arial Narrow', sans-serif;
    --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

    /* переменные шаблона */
    --primary: #8b5cf6;
    --primary-dark: #7c4dff;
    --primary-light: #15121f;
    --secondary: #ffffff;
    --secondary-dark: #1b1729;
    --dark: #09080f;
    --border-color: rgba(255, 255, 255, .1);
    --placeholder: #6f6986;
}

/* ---------- База ---------- */
* { font-family: var(--body); }
html { scroll-padding-top: 110px; }
body { background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: var(--violet); color: #fff; }
a { color: var(--violet-l); }
a:hover { color: #fff; }
h1, h2, h3, h4, h5, h6, .card-title, .section-title h2, .section-title h3, .button, .card-subtitle, .card-badge { font-family: var(--head); }
.content, p.content { color: var(--mute); font-size: 16px; font-weight: 500; line-height: 1.65; }
.bg-light { background-color: var(--bg-2) !important; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
main { overflow: hidden; }

/* заголовки секций */
.section-title h2 { font-size: 16px; letter-spacing: .14em; font-weight: 500; color: var(--violet-l); display: inline-flex; align-items: center; gap: 10px; }
.section-title h2::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255, 45, 85, .18); }
.section-title.text-center h2::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255, 45, 85, .18); }
.section-title h3 { color: #fff; font-weight: 600; letter-spacing: .01em; }
.section-title .content + .content { margin-top: 12px; }

/* ---------- Кнопки ---------- */
.button { font-weight: 600; letter-spacing: .06em; color: #fff; border: 1px solid var(--line-2); padding: 13px 28px; align-items: center; gap: 8px; }
.button:before { background: var(--grad); }
.button:hover { color: #fff; }
.button-fill { background: var(--grad); border: 0; box-shadow: var(--glow); }
.button-fill::before { background: #fff; }
.button-fill:hover { color: #1b1240; }
.button-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); backdrop-filter: blur(8px); }
.button i { line-height: 1; }

/* ---------- Шапка ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; transition: transform .35s ease, background .35s ease; }
.topbar { background: rgba(9, 8, 15, .85); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); font-size: 13.5px; transition: margin .35s ease, opacity .35s ease; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: var(--mute); font-weight: 500; text-decoration: none; white-space: nowrap; }
a.topbar__item:hover { color: #fff; }
.topbar__item i { color: var(--violet-l); }
.topbar__slogan { font-family: var(--head); letter-spacing: .16em; text-transform: uppercase; font-size: 12.5px; color: #cfc8ea; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.site-header.is-scrolled .topbar { margin-top: -41px; opacity: 0; }

.mainnav { margin-top: 12px; height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 12px 0 20px; border-radius: 50px; background: rgba(21, 18, 31, .82); border: 1px solid var(--line-2); backdrop-filter: blur(14px); box-shadow: 0 10px 40px rgba(0, 0, 0, .45); }
.mainnav__brand { text-decoration: none; flex-shrink: 0; }
.mainnav__menu { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 24px; }
.mainnav__list { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0 auto; padding: 0; }
.mainnav__item { position: relative; }
.mainnav__link { font-family: var(--head); font-size: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 24px 0; }
.mainnav__link .fa { font-size: 14px; color: var(--violet-l); }
.mainnav__link:hover, .mainnav__link.active { color: var(--violet-l); }
.mainnav__link.active { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mainnav__drop { position: absolute; top: 100%; left: -20px; min-width: 290px; list-style: none; margin: 0; padding: 10px; background: #15121f; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s ease; }
.mainnav__drop a { display: block; padding: 10px 14px; color: var(--text); text-decoration: none; border-radius: 10px; font-weight: 600; font-size: 15px; }
.mainnav__drop a:hover { background: rgba(139, 92, 246, .14); color: #fff; }
.mainnav__item--drop:hover .mainnav__drop, .mainnav__item--drop:focus-within .mainnav__drop { opacity: 1; visibility: visible; transform: none; }
.mainnav__actions { display: flex; align-items: center; gap: 18px; }
.mainnav__phone { font-family: var(--head); font-size: 18px; font-weight: 500; letter-spacing: .03em; color: #fff; text-decoration: none; white-space: nowrap; }
.mainnav__phone i { color: var(--violet-l); margin-right: 4px; }
.mainnav__phone:hover { color: var(--violet-l); }
.mainnav__actions .button { padding: 11px 24px; }
.mainnav__toggler { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.mainnav__toggler span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.mainnav__toggler.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mainnav__toggler.open span:nth-child(2) { opacity: 0; }
.mainnav__toggler.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* логотип */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo__mark { width: 44px; height: 44px; flex-shrink: 0; filter: drop-shadow(0 4px 14px rgba(124, 92, 246, .5)); }
.logo__text { display: grid; grid-template-columns: auto auto; column-gap: 6px; line-height: 1; }
.logo__text b, .logo__text i { font-family: var(--head); font-size: 25px; font-weight: 700; font-style: normal; letter-spacing: .04em; color: #fff; }
.logo__text i { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__text small { grid-column: 1 / -1; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-top: 5px; font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding: 190px 0 90px !important; background: var(--bg); }
.hero__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 380px at 15% 18%, rgba(139, 92, 246, .28), transparent 70%), radial-gradient(640px 420px at 88% 30%, rgba(59, 130, 246, .22), transparent 70%), radial-gradient(500px 300px at 50% 100%, rgba(255, 45, 85, .08), transparent 70%); }
.hero .section-title { margin-bottom: 44px; }
.hero__title { font-family: var(--head); font-size: 68px; line-height: 1.06; font-weight: 600; text-transform: uppercase; color: #fff; margin: 6px auto 18px; max-width: 980px; }
.hero__lead { max-width: 760px; margin: 0 auto; color: var(--mute); font-size: 18px; line-height: 1.6; }
.hero__buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero a { margin-top: 0; }
.hero__slider-wrap { position: relative; }
.hero-slider { border-radius: 26px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(139, 92, 246, .15); }
.hero-image img { width: 100%; height: auto; display: block; border-radius: 0; }
.hero-slider .owl-dots { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; }
.owl-theme .owl-dots .owl-dot span { width: 9px; height: 9px; margin: 4px; background: rgba(255, 255, 255, .35); }
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span { background: #fff; width: 26px; }
.hero__chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero__chips a { display: inline-block; padding: 8px 16px; border-radius: 30px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; transition: all .25s ease; }
.hero__chips a:hover { border-color: var(--violet); background: rgba(139, 92, 246, .15); color: #fff; }

/* ---------- Карточки ---------- */
.card-wrapper { background: var(--card); border: 1px solid var(--line); border-radius: 24px; color: var(--text); }
.card-wrapper:hover { background: var(--card-2) !important; border-color: rgba(139, 92, 246, .45); box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(139, 92, 246, .2); transform: translateY(-4px); }
.card-wrapper:hover :where(h4, p) { color: inherit; }
.card-wrapper:hover p.content { color: var(--mute); }
.card-title { color: #fff; font-size: 26px; line-height: 1.2; font-weight: 600; }
.card-subtitle { color: var(--violet-l); letter-spacing: .1em; font-size: 14px; }
.card-image img { border-radius: 16px; border: 0; width: 100%; height: auto; display: block; }
.card-badge { font-size: 15px; background: rgba(9, 8, 15, .7); border-color: var(--line-2); backdrop-filter: blur(6px); }

.row-eq > [class*="col"] { display: flex; flex-direction: column; }
.row-eq > [class*="col"] > :first-child { flex: 1; }

.service { background: var(--bg-2); }
.service-card { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.service-card .card-content { display: flex; flex-direction: column; flex: 1; }
.service-card .card-title { font-size: 24px; }
.service-card .content { margin-bottom: 18px; }
.service-card__more { margin-top: auto; font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; font-size: 15px; color: var(--violet-l); display: inline-flex; align-items: center; gap: 8px; }
.service-card__more i { transition: transform .25s ease; }
.service-card:hover .service-card__more { color: #fff; }
.service-card:hover .service-card__more i { transform: translateX(5px); }
.service-card__price { font-family: var(--head); font-size: 20px; color: #fff; margin-bottom: 12px; }
.service-card--cta { background: linear-gradient(160deg, rgba(139, 92, 246, .22), rgba(59, 130, 246, .12)) , var(--card); border-color: rgba(139, 92, 246, .4); padding: 28px 24px; }
.service-card__icon { width: 64px; height: 64px; border-radius: 18px; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; margin-bottom: 22px; box-shadow: var(--glow); }

/* ---------- О студии ---------- */
.about { background: var(--bg); }
.about-image img { border-radius: 22px; height: 100%; object-fit: cover; }
.about-customers, .about-experience { height: 100%; border-radius: 22px; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; }
.about-customers { background: var(--card); border: 1px solid var(--line-2); }
.about-experience { background: var(--grad); box-shadow: var(--glow); }
.about-customers span, .about-experience span { font-size: 26px; margin-bottom: auto; color: var(--violet-l); }
.about-experience span { color: #fff; }
.about-customers h4, .about-experience h4 { font-family: var(--head); font-size: 50px; line-height: 1; font-weight: 700; color: #fff; margin: 16px 0 6px; }
.about-customers h4 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-customers p, .about-experience p { margin: 0; color: #d9d4ee; font-weight: 600; font-size: 13px; line-height: 1.35; text-transform: uppercase; letter-spacing: .04em; }
.about-experience p { color: #fff; }
.about .section-title a { margin-top: 26px; }

/* ---------- Что получает машина ---------- */
.we-do { background: radial-gradient(800px 500px at 50% 50%, rgba(99, 102, 241, .16), transparent 70%), var(--bg-2); }
.we-do .section-title h2 { color: var(--violet-l); }
.we-do-image img { border-radius: 26px; border: 1px solid var(--line-2); box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
.we-do-block span { background: rgba(139, 92, 246, .14); border: 1px solid rgba(139, 92, 246, .4); color: #fff; font-size: 28px; width: 70px; height: 70px; }
.we-do-block h4 { font-family: var(--head); font-size: 28px; font-weight: 600; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.we-do p.content { color: var(--mute); }
.we-do-block:not(:last-child) { margin-bottom: 42px; }
@media (min-width: 1200px) { .we-do-block--right { text-align: right; } }

/* ---------- Как работаем ---------- */
.process { background: var(--bg); }
.process .card-wrapper { padding: 30px 24px; }
.process span.icon { background: var(--grad); color: #fff; font-size: 30px; margin: 0 auto 20px; box-shadow: var(--glow); }
.process .card-subtitle { display: block; }
.process .card-wrapper:hover h3 { color: #fff; }

/* ---------- Призыв ---------- */
.connect-now { background-attachment: scroll; }
.connect-now::after { background: linear-gradient(120deg, rgba(9, 8, 15, .92), rgba(43, 24, 92, .82) 55%, rgba(18, 40, 96, .85)); opacity: 1; }
.connect-now .section-title { z-index: 2; }
.connect-now h3 { color: #fff; }
.connect-now__buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.connect-now a { margin-top: 0; }
.connect-now .button { background: var(--grad); border: 0; }
.connect-now .button-ghost { background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); }
.accordion-item { background: var(--card); border: 1px solid var(--line) !important; border-radius: 24px !important; overflow: hidden; }
.accordion-item:not(:last-child) { margin-bottom: 16px; }
.accordion-button { padding: 22px 24px; min-height: 76px; }
.accordion .accordion-item .accordion-header .accordion-button span { font-family: var(--head); color: #fff; font-weight: 500; letter-spacing: .03em; font-size: 20px; padding-right: 60px; }
.accordion-button:not(.collapsed) { color: #fff !important; }
.accordion .accordion-button::before { background: var(--grad); border: 0; width: 44px; height: 44px; }
.accordion .accordion-button:not(.collapsed)::before { border: 0; background: var(--red); }
.accordion .accordion-button::after { position: absolute; right: 22px; width: 40px; height: 40px; background-position: center; }
.accordion .accordion-item .accordion-collapse .accordion-body { padding: 0 24px 24px; }
.accordion-body p { color: var(--mute); font-size: 16px; line-height: 1.65; font-weight: 500; width: auto; }

/* ---------- Заявка ---------- */
.lead-section { background: var(--bg); }
.lead-panel { height: 100%; border-radius: 26px; padding: 40px 36px; background: radial-gradient(500px 300px at 0% 0%, rgba(139, 92, 246, .35), transparent 70%), radial-gradient(400px 300px at 100% 100%, rgba(59, 130, 246, .28), transparent 70%), var(--card); border: 1px solid rgba(139, 92, 246, .35); }
.lead-panel .section-title h3 { font-size: 40px; line-height: 1.12; }
.lead-panel__text { color: #d4cfe6; margin: 18px 0 18px; }
.lead-panel__list { list-style: none; padding: 0; margin: 0 0 24px; }
.lead-panel__list li { display: flex; gap: 10px; color: var(--text); font-weight: 600; margin-bottom: 10px; }
.lead-panel__list i { color: var(--violet-l); margin-top: 5px; }
.lead-panel__contacts { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line-2); padding-top: 22px; }
.lead-panel__phone { font-family: var(--head); font-size: 28px; color: #fff; text-decoration: none; letter-spacing: .02em; }
.lead-panel__phone i { color: var(--violet-l); font-size: 22px; margin-right: 6px; }
.lead-panel__msg { color: var(--text); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
a.lead-panel__msg:hover { color: var(--violet-l); }
.lead-panel__msg i { width: 22px; color: var(--blue-l); font-size: 18px; }
.lead-box { height: 100%; border-radius: 26px; padding: 36px; background: var(--card); border: 1px solid var(--line); }

.lead-form__label { display: block; font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #cfc9e3; margin: 0 0 8px; }
.lead-form__label span { color: var(--red); }
.lead-form__input { display: block; width: 100%; height: 52px; padding: 12px 18px; border-radius: 14px; background: #0e0c16; border: 1px solid var(--line-2); color: #fff; font-family: var(--body); font-size: 16px; font-weight: 500; transition: border-color .2s ease, box-shadow .2s ease; -webkit-appearance: none; appearance: none; }
.lead-form__input::placeholder { color: var(--placeholder); text-transform: none; }
.lead-form__input:hover { border-color: rgba(139, 92, 246, .5); }
.lead-form__input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 92, 246, .2); }
select.lead-form__input { background: #0e0c16 url(../img/icons/arrow-down.svg) no-repeat right 18px center / 12px; padding-right: 44px; cursor: pointer; }
select.lead-form__input option { background: #15121f; color: #fff; }
.lead-form__textarea { height: auto; min-height: 110px; resize: vertical; line-height: 1.5; }
.lead-form__bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 6px; }
.lead-form__consent { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 13px; line-height: 1.45; color: var(--mute); text-transform: none; font-weight: 500; max-width: 360px; cursor: pointer; }
.lead-form__consent input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--violet); flex-shrink: 0; }
.lead-form__btn { padding: 15px 36px; }
.form-alert { font-weight: 600; font-size: 15px; }
.form-alert:empty { display: none; }
.form-alert.ok { color: #4ade80; }
.form-alert.err { color: var(--red); }

/* ---------- Карта ---------- */
.map-block { background: var(--bg-2); border-top: 1px solid var(--line); }
.map-block__grid { display: flex; min-height: 480px; }
.map-block__card { flex: 0 0 auto; width: max(400px, calc((100vw - 1320px) / 2 + 420px)); padding: 50px 40px 50px max(24px, calc((100vw - 1320px) / 2 + 12px)); display: flex; flex-direction: column; justify-content: center; }
.map-block__card h2 { font-family: var(--head); color: #fff; font-size: 38px; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.map-block__card p { color: var(--text); font-size: 17px; margin-bottom: 10px; font-weight: 600; }
.map-block__card p i { color: var(--violet-l); width: 22px; }
.map-block__links { margin-top: 18px; }
.map-block__map { flex: 1; min-width: 0; position: relative; min-height: 480px; background: #1a1726; }
.map-block__fallback { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--card-2); color: #fff; padding: 12px 20px; border-radius: 30px; font-weight: 600; text-decoration: none; border: 1px solid var(--line-2); }
.map-pin span { display: block; width: 36px; height: 36px; background: var(--grad); border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 4px 14px rgba(0, 0, 0, .45); }
.map-pin span::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--red); }
.map-block__map .leaflet-popup-content { font-family: var(--body); font-size: 14px; line-height: 1.45; color: #1b1240; }
.map-block__map .leaflet-popup-content a { color: #6d3df0; font-weight: 700; }
.map-block__map .leaflet-container a.leaflet-popup-close-button { color: #555; }
.leaflet-container { font-family: var(--body); }

/* ---------- Внутренние страницы ---------- */
.page-hero { position: relative; padding: 200px 0 70px; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; filter: saturate(.8); }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 8, 15, .97) 0%, rgba(9, 8, 15, .75) 55%, rgba(30, 20, 70, .55) 100%), radial-gradient(500px 300px at 85% 20%, rgba(59, 130, 246, .25), transparent 70%); }
.page-hero .container { z-index: 2; }
.page-hero__title { font-family: var(--head); font-size: 58px; line-height: 1.08; font-weight: 600; text-transform: uppercase; color: #fff; margin: 14px 0 14px; max-width: 900px; }
.page-hero__lead { color: #d3cee6; font-size: 18px; max-width: 760px; margin: 0; }
.crumbs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; font-weight: 600; }
.crumbs li { color: var(--mute); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--violet-l); }
.crumbs a { color: var(--violet-l); text-decoration: none; }
.crumbs a:hover { color: #fff; }

.service-page { background: var(--bg); }
.service-page__img { width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--line-2); margin-bottom: 30px; }
.service-page__text { color: #d3cee6; font-size: 17px; line-height: 1.75; }
.service-page__h { font-family: var(--head); font-size: 32px; font-weight: 600; text-transform: uppercase; color: #fff; margin: 36px 0 18px; }
.service-page__price { font-family: var(--head); font-size: 30px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.check-list i { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--grad); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.service-aside { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; margin-bottom: 24px; }
.service-aside:first-child { position: relative; background: radial-gradient(400px 260px at 100% 0%, rgba(139, 92, 246, .3), transparent 70%), var(--card); border-color: rgba(139, 92, 246, .35); }
.service-aside h3 { font-family: var(--head); font-size: 26px; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 10px; }
.service-aside p { color: var(--mute); }
.service-aside__phone { display: block; font-family: var(--head); font-size: 26px; color: #fff; text-decoration: none; margin: 22px 0 8px; }
.service-aside__phone i { color: var(--violet-l); font-size: 20px; margin-right: 6px; }
.service-aside__msg { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-l); font-weight: 700; text-decoration: none; margin-bottom: 10px; }
.service-aside__addr { margin: 12px 0 0; font-size: 14px; }
.service-aside__addr i { color: var(--violet-l); margin-right: 4px; }
.service-aside--list ul { list-style: none; padding: 0; margin: 0; }
.service-aside--list li a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.service-aside--list li:last-child a { border-bottom: 0; }
.service-aside--list li a:hover { color: var(--violet-l); }
@media (min-width: 992px) { .service-aside:first-child { position: sticky; top: 110px; } }

.text-page { background: var(--bg); }
.text-page .container { max-width: 900px; }
.text-page p { color: #d3cee6; font-size: 17px; line-height: 1.75; }
.text-page h2 { font-family: var(--head); font-size: 28px; text-transform: uppercase; color: #fff; margin: 34px 0 12px; }
.error-code { font-family: var(--head); font-size: 140px; line-height: 1; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.py-100 h2.mb-3 { font-family: var(--head); color: #fff; text-transform: uppercase; }
.py-100.text-center .button { margin: 6px; }

/* ---------- Подвал ---------- */
.site-footer { background: #07060c; border-top: 1px solid var(--line); padding: 70px 0 0; position: relative; }
.site-footer::before { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--grad); opacity: .8; }
.site-footer__logo { display: inline-block; margin-bottom: 18px; text-decoration: none; }
.site-footer__about { color: var(--mute); font-size: 15px; max-width: 380px; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.site-footer__social a, .site-footer__social span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 30px; border: 1px solid var(--line-2); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.site-footer__social a:hover { border-color: var(--violet); background: rgba(139, 92, 246, .14); }
.site-footer__social i { color: var(--violet-l); font-size: 16px; }
.site-footer__h { font-family: var(--head); font-size: 20px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer__list, .site-footer__contacts { list-style: none; padding: 0; margin: 0; }
.site-footer__list li { margin-bottom: 10px; }
.site-footer__list a { color: var(--mute); text-decoration: none; font-weight: 500; }
.site-footer__list a:hover { color: #fff; }
.site-footer__contacts li { display: flex; gap: 10px; color: var(--text); margin-bottom: 12px; font-weight: 500; }
.site-footer__contacts i { color: var(--violet-l); width: 16px; margin-top: 5px; text-align: center; }
.site-footer__contacts a { color: var(--text); text-decoration: none; }
.site-footer__contacts a:hover { color: var(--violet-l); }
.site-footer__bottom { margin-top: 50px; border-top: 1px solid var(--line); padding: 20px 0; }
.site-footer__bottom-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.site-footer__bottom p { margin: 0; color: var(--mute); }
.site-footer__bottom a { color: var(--mute); }

/* наверх + мобильная панель */
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 1020; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; font-size: 24px; box-shadow: var(--glow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease; }
.back-to-top.active { opacity: 1; visibility: visible; transform: none; }
.mobile-bar { display: none; }

/* AOS: без анимации, пока скрипт не загрузился, контент виден */
html:not(.aos-ready) [data-aos] { opacity: 1 !important; transform: none !important; }

/* =====================================================================
   Адаптив
   ===================================================================== */
@media (max-width: 1399px) {
    .mainnav__list { gap: 24px; }
    .mainnav__phone { font-size: 16px; }
}
@media (max-width: 1199px) {
    .hero__title { font-size: 56px; }
    .mainnav__phone { display: none; }
}
@media (max-width: 991px) {
    .topbar__right .topbar__msg { display: none; }
    .mainnav { height: 64px; padding: 0 9px 0 16px; }
    .mainnav__toggler { display: flex; }
    .mainnav__menu { position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; border-radius: 22px; background: #15121f; border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); max-height: calc(100vh - 140px); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .25s ease; }
    .mainnav__menu.open { opacity: 1; visibility: visible; transform: none; }
    .site-header .container { position: relative; }
    .mainnav__list { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
    .mainnav__link { padding: 13px 4px; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line); }
    .mainnav__link .fa { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .05); margin: -8px 0; }
    .mainnav__drop { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; background: transparent; padding: 4px 0 8px 10px; min-width: 0; }
    .mainnav__item--drop.open .mainnav__drop { display: block; }
    .mainnav__actions { flex-direction: column; align-items: stretch; gap: 12px; }
    .mainnav__phone { display: block; text-align: center; font-size: 20px; padding: 6px 0; }
    .mainnav__actions .button { justify-content: center; }
    .hero { padding: 170px 0 70px !important; }
    .hero__title { font-size: 46px; }
    .page-hero { padding: 170px 0 56px; }
    .page-hero__title { font-size: 44px; }
    .map-block__grid { flex-direction: column; }
    .map-block__card { width: auto; padding: 44px 24px; }
    .map-block__map { min-height: 380px; }
    .lead-panel, .lead-box { padding: 30px 24px; }
    .we-do-block { text-align: left; }
}
@media (max-width: 767px) {
    body { padding-bottom: 60px; }
    .topbar__row { justify-content: center; }
    .topbar__right { display: none; }
    .hero__title { font-size: 36px; }
    .hero__lead { font-size: 16px; }
    .hero__chips { display: none; }
    .hero-slider { border-radius: 18px; }
    .section-title h3 { font-size: 32px; line-height: 1.15; }
    .page-hero__title { font-size: 34px; }
    .page-hero__lead { font-size: 16px; }
    .check-list { grid-template-columns: 1fr; }
    .lead-panel .section-title h3 { font-size: 30px; }
    .lead-form__bottom { flex-direction: column; align-items: stretch; }
    .lead-form__btn { justify-content: center; }
    .about-customers h4, .about-experience h4 { font-size: 34px; }
    .about-customers p, .about-experience p { font-size: 11px; }
    .about-customers, .about-experience { padding: 14px; }
    .card-title, .service-card .card-title { font-size: 22px; }
    .accordion .accordion-item .accordion-header .accordion-button span { font-size: 17px; }
    .error-code { font-size: 100px; }
    .back-to-top { display: none; }
    .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; background: rgba(9, 8, 15, .95); border-top: 1px solid var(--line-2); backdrop-filter: blur(10px); }
    .mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; height: 58px; color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
    .mobile-bar a + a { border-left: 1px solid var(--line); }
    .mobile-bar i { color: var(--violet-l); font-size: 17px; }
    .mobile-bar__lead { background: var(--grad); }
    .mobile-bar__lead i { color: #fff !important; }
}
@media (max-width: 420px) {
    .logo__text b, .logo__text i { font-size: 21px; }
    .logo__mark { width: 38px; height: 38px; }
    .hero__title { font-size: 31px; }
}

/* ---------- Поправки после проверки ---------- */
.logo__text { grid-template-columns: max-content max-content; justify-content: start; }
.service .card-wrapper p { display: block; -webkit-line-clamp: unset; overflow: visible; }
.process span.card-subtitle { background: none; margin: 0 0 8px; }
/* тёмная карта 2ГИС под тему сайта */
.map-block__map .leaflet-tile-pane { filter: invert(1) hue-rotate(200deg) brightness(.85) contrast(.9) saturate(.6); }
.logo__text { display: flex; flex-direction: column; }
.logo__name { white-space: nowrap; line-height: 1; }
.logo__text small { margin-top: 5px; }

/* ---------- Наши работы: сетка, фильтр, просмотр ---------- */
.works-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.service-page .works-filter { justify-content: flex-start; margin-bottom: 20px; }
.works-filter__btn { font-family: var(--head); font-size: 15px; letter-spacing: .04em; color: var(--text); background: var(--card); border: 1px solid var(--line-2); border-radius: 50px; padding: 8px 18px; cursor: pointer; transition: .25s; }
.works-filter__btn span { color: var(--mute); margin-left: 4px; font-size: 13px; }
.works-filter__btn:hover { border-color: var(--violet); }
.works-filter__btn.is-active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: var(--glow); }
.works-filter__btn.is-active span { color: rgba(255, 255, 255, .8); }
.works-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-page .works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.works-grid__item { min-width: 0; }
.works-grid__item[hidden] { display: none; }
.works-grid__link { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.works-grid__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.works-grid__link::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(9, 8, 15, .92)); opacity: .85; transition: .3s; }
.works-grid__cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; }
.works-grid__cap small { display: block; font-family: var(--head); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--violet-l); margin-bottom: 3px; }
.works-grid__link:hover img, .works-grid__link:focus-visible img { transform: scale(1.06); }
.works-grid__link:hover { border-color: var(--violet); }
@media (max-width: 991px) { .works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .works-grid, .service-page .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .works-grid__cap { font-size: 12px; left: 10px; right: 10px; bottom: 8px; } .works-grid__cap small { font-size: 10px; } }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(6, 5, 10, .95); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lightbox__cap { color: var(--text); margin-top: 14px; text-align: center; font-weight: 600; }
.lightbox__cap span { color: var(--mute); font-weight: 500; margin-left: 8px; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(21, 18, 31, .85); color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .25s; }
.lightbox__btn:hover { background: var(--violet); border-color: var(--violet); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
body.lightbox-open { overflow: hidden; }
@media (max-width: 767px) { .lightbox { padding: 60px 8px 80px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; } .lightbox__prev { left: calc(50% - 60px); } .lightbox__next { right: calc(50% - 60px); } }
