/* ============================================================
   MobiFix — ремонт телефонов. Тёмная современная тема.
   ============================================================ */

:root {
    --bg: #0f013e;
    --bg-2: #180a4e;
    --surface: #1e0f5c;
    --surface-2: #2a1a70;
    --border: rgba(255, 255, 255, .09);
    --border-strong: rgba(255, 255, 255, .16);
    --text: #f2efff;
    --muted: #b7aee8;
    --accent: #00d8ff;
    --accent-2: #a06bff;
    --green: #2fd58b;
    --red: #ff5c7a;
    --grad: linear-gradient(120deg, #00d8ff 0%, #a06bff 100%);
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
    --shadow-accent: 0 12px 40px -10px rgba(0, 216, 255, .45);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Unbounded', var(--font);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

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

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3 { line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }

/* Фоновое свечение */
body::before {
    content: "";
    position: fixed; inset: 0;
    z-index: -1;
    background:
        radial-gradient(700px 450px at 85% -5%, rgba(160, 107, 255, .22), transparent 60%),
        radial-gradient(750px 500px at -10% 20%, rgba(0, 216, 255, .12), transparent 60%),
        radial-gradient(550px 420px at 50% 120%, rgba(0, 216, 255, .07), transparent 60%);
    pointer-events: none;
}

.container { width: min(1160px, 92%); margin-inline: auto; }
.center { text-align: center; }

/* ================= Кнопки ================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 22px; border-radius: 14px;
    font-weight: 600; font-size: 15px; line-height: 1;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 16px; }
.btn-block { width: 100%; }

.btn-accent {
    color: #04121b; background: var(--grad);
    box-shadow: var(--shadow-accent);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -8px rgba(0, 209, 255, .55); }

.btn-ghost { background: rgba(255, 255, 255, .05); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--border-strong); }

.btn-outline { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn-outline:hover { background: rgba(0, 209, 255, .12); }

/* ===== Адаптивная кнопка звонка =====
   ПК: просто номер телефона. Телефон (сенсор): кнопка «Позвонить». */
.call-cta {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px; white-space: nowrap;
    font-size: 22px; font-weight: 800; line-height: 1;
    color: var(--text); background: none; border: 0; padding: 0;
}
.call-cta .call-ico { color: var(--accent); flex: 0 0 auto; }
.call-cta .call-do { display: none; }
.call-cta--lg { font-size: clamp(22px, 3vw, 30px); }
.call-cta--nav { font-size: 15.5px; font-weight: 700; }
.call-cta--sm { font-size: 17px; font-weight: 700; }
.call-cta:hover .call-num { color: var(--accent); transition: color .15s; }

/* Сенсорные устройства / мобильные — показываем кнопку «Позвонить» */
@media (hover: none), (pointer: coarse) {
    .call-cta {
        padding: 16px 26px; border-radius: 16px;
        background: var(--grad); color: #0b0140;
        font-size: 17px; font-weight: 700;
        box-shadow: var(--shadow-accent);
    }
    .call-cta .call-num { display: none; }
    .call-cta .call-do { display: inline; }
    .call-cta .call-ico { color: inherit; }
    .call-cta--nav { padding: 12px 18px; border-radius: 12px; font-size: 15px; }
    .call-cta--sm { padding: 13px 20px; font-size: 15px; }
    .call-cta--lg { padding: 17px 28px; font-size: 18px; }
}

/* ================= Бейджи и мелкое ================= */
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 100px;
    font-size: 13px; font-weight: 600; color: var(--accent);
    background: rgba(0, 209, 255, .1);
    border: 1px solid rgba(0, 209, 255, .25);
}
.pulse-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green); position: relative;
}
.pulse-dot::after {
    content: ""; position: absolute; inset: -4px; border-radius: 50%;
    border: 1px solid var(--green); opacity: .6;
    animation: pulse 2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ================= Шапка ================= */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(15, 1, 62, .78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    height: 74px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
    display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 13px;
    color: #04121b; background: var(--grad);
    box-shadow: var(--shadow-accent);
    flex: 0 0 auto;
}
.logo-text { font-weight: 800; font-size: 20px; display: flex; flex-direction: column; line-height: 1.05; }
.logo-text small { font-size: 10.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.main-nav { display: flex; align-items: center; gap: 24px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
    display: block; padding: 9px 14px; border-radius: 10px;
    color: var(--muted); font-weight: 500; font-size: 15px;
    transition: color .15s, background .15s;
}
.nav-list a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-list a.active { color: var(--text); background: rgba(0, 209, 255, .12); }
.nav-cta { padding: 11px 18px; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
    display: inline-flex; align-items: center; gap: 9px;
    font-weight: 700; font-size: 15.5px; color: var(--text);
}
.header-phone svg { color: var(--accent); }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-burger span { width: 24px; height: 2px; border-radius: 2px; background: var(--text); transition: .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= HERO ================= */
.hero {
    position: relative;
    padding: 90px 0 40px;
    overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-badge { margin-bottom: 22px; }
.hero-title { font-size: clamp(34px, 5vw, 58px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.hero-sub { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { color: var(--muted); font-size: 14.5px; display: flex; gap: 8px; align-items: center; }
.hero-points li::first-letter { color: var(--accent); }

/* Визуал: телефон */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.phone-device { position: relative; width: 260px; }
.phone-screen {
    position: relative;
    aspect-ratio: 9 / 18.5;
    background: linear-gradient(180deg, #2b1876, #150750 70%);
    border: 1px solid var(--border-strong);
    border-radius: 34px;
    padding: 16px;
    box-shadow: var(--shadow), inset 0 0 0 6px #0f013e, inset 0 0 0 7px rgba(255,255,255,.05);
    display: flex; flex-direction: column; align-items: center;
    z-index: 2;
}
.ph-chip {
    width: 90px; height: 20px; border-radius: 100px;
    background: #150750; border: 1px solid rgba(255,255,255,.08);
    margin-bottom: 18px;
    position: relative;
}
.ph-chip::after { content:""; position:absolute; inset:0; margin:auto; width:8px; height:8px; border-radius:50%; background:#1b0b5c; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.ph-icon { width: 100px; height: 100px; color: var(--accent); margin: 26px 0 10px; filter: drop-shadow(0 0 18px rgba(0,209,255,.5)); }
.ph-bars { width: 100%; display: flex; flex-direction: column; gap: 9px; margin-top: auto; }
.ph-bars i { height: 9px; border-radius: 6px; background: rgba(255,255,255,.14); }
.ph-bars i:nth-child(2) { background: rgba(255,255,255,.22); }
.ph-bars i:nth-child(3) { background: rgba(255,255,255,.14); }
.ph-ok {
    width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(47, 213, 139, .15); color: var(--green);
    border: 1px solid rgba(47,213,139,.4);
    margin: 12px 0 6px; font-weight: 800;
}
.phone-glow {
    position: absolute; inset: 8% 0 auto; margin-inline: auto;
    width: 220px; height: 220px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,209,255,.4), transparent 65%);
    filter: blur(30px); z-index: 0;
    animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .55; transform: scale(1.08); } }

.float-card {
    position: absolute; z-index: 3;
    background: rgba(17, 26, 44, .9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-strong);
    border-radius: 14px; padding: 10px 16px;
    font-size: 14px; color: var(--muted);
    box-shadow: var(--shadow);
    white-space: nowrap;
}
.float-card b { color: var(--text); display: block; }
.fc-1 { top: 16%; left: -4%; animation: floaty 6s ease-in-out infinite; }
.fc-2 { bottom: 18%; right: -6%; animation: floaty 6s 1.5s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-14px); } }

/* Статистика */
.hero-stats {
    margin-top: 64px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
    padding: 26px 0; border-top: 1px solid var(--border);
}
.stat b { display: block; font-size: 30px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 14px; }

/* ================= Бренды ================= */
.brands-strip { padding: 34px 0; border-block: 1px solid var(--border); background: rgba(255,255,255,.015); }
.strip-label { text-align: center; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.brands-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.brands-list li {
    padding: 8px 16px; border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted); font-size: 14px; font-weight: 500;
}

/* ================= Секции ================= */
.section { padding: 84px 0; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)); border-block: 1px solid var(--border); }
.section-head { margin-bottom: 44px; }
.section-head.row-between { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-tag {
    display: inline-block; margin-bottom: 14px;
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
    color: var(--accent);
}
.section-title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.015em; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow); }

/* ================= Фичи ================= */
.feature-icon {
    width: 62px; height: 62px; border-radius: 16px;
    display: grid; place-items: center;
    color: var(--accent);
    background: rgba(0, 209, 255, .1);
    border: 1px solid rgba(0, 209, 255, .22);
    margin-bottom: 20px;
}
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ================= Сервис-карточки ================= */
.service-card { display: flex; flex-direction: column; color: inherit; }
.service-icon {
    width: 58px; height: 58px; border-radius: 16px;
    display: grid; place-items: center;
    color: #04121b; background: var(--grad);
    margin-bottom: 18px;
}
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 14px; flex: 1; }
.service-price { margin-top: 16px; font-weight: 800; color: var(--accent); }

/* ================= Шаги ================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step-num {
    font-family: var(--font-display);
    font-size: 30px; font-weight: 700; line-height: 1;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    display: block; margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }
.step::after {
    content: ""; position: absolute; top: 44px; right: -14px;
    width: 8px; height: 8px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent);
    transform: rotate(45deg); opacity: .6;
}
.step:last-child::after { display: none; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .step::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ================= Прайс-таблица ================= */
.price-table { padding: 8px 26px; overflow: hidden; }
.price-row {
    display: grid; grid-template-columns: 1fr auto auto; gap: 18px;
    align-items: baseline;
    padding: 18px 0;
    border-bottom: 1px dashed var(--border);
}
.price-table .price-row:last-child { border-bottom: 0; }
.price-name { font-weight: 600; font-size: 16px; }
.price-dots { border-bottom: 2px dotted rgba(255,255,255,.18); transform: translateY(-6px); flex: 1; }
.price-value { font-weight: 800; color: var(--accent); white-space: nowrap; }
.price-hint { color: var(--muted); font-size: 13.5px; margin-top: 16px; }

.price-table.big { padding: 8px 28px; }
.price-head { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; padding-top: 14px; }
.price-head .price-value { color: var(--muted); }
.price-time { color: var(--muted); white-space: nowrap; }

.price-table.two-col .price-row { grid-template-columns: 1fr auto; }

.works-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px;
    max-width: 900px; margin: 0 auto 6px;
}
.works-grid li {
    display: flex; gap: 12px; align-items: flex-start;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 14px 16px;
    font-weight: 500; font-size: 15px;
}
.works-grid li::before { content: "✔"; color: var(--accent); font-weight: 800; flex: 0 0 auto; }
@media (max-width: 640px) { .works-grid { grid-template-columns: 1fr; } }

.guarantees-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guarantee h3 { font-size: 19px; margin-bottom: 10px; }
.guarantee p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .guarantees-grid { grid-template-columns: 1fr; } }

.price-note { display: flex; gap: 20px; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.price-note .price-note-icon {
    flex: 0 0 auto; width: 62px; height: 62px; border-radius: 16px;
    display: grid; place-items: center; color: var(--accent);
    background: rgba(0, 209, 255, .1); border: 1px solid rgba(0, 209, 255, .22);
}
.price-note h3 { font-size: 20px; margin-bottom: 6px; }
.price-note p { color: var(--muted); margin-bottom: 14px; max-width: 640px; }
.price-note .btn { flex: 0 0 auto; }

/* ================= Отзывы ================= */
.review-stars { color: #ffc23d; letter-spacing: 3px; margin-bottom: 14px; }
.review p { color: var(--text); font-size: 15px; margin-bottom: 20px; }
.review-author b { display: block; font-size: 15px; }
.review-author span { color: var(--muted); font-size: 13px; }

/* ================= CTA ================= */
.cta-section { padding-top: 40px; }
.cta-card {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px;
    align-items: center;
    padding: 54px;
    border-radius: 26px;
    background:
        radial-gradient(500px 300px at 90% 0%, rgba(124,92,255,.28), transparent 60%),
        radial-gradient(400px 300px at 0% 100%, rgba(0,209,255,.22), transparent 60%),
        var(--surface-2);
    border: 1px solid var(--border-strong);
}
.cta-card h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.cta-info p { color: var(--muted); margin-bottom: 26px; max-width: 520px; }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-form h3 { margin-bottom: 6px; font-size: 20px; }

/* Вариант CTA без формы — по центру */
.cta-card-simple { grid-template-columns: 1fr; text-align: center; padding: 60px 40px; }
.cta-card-simple .cta-info { margin-inline: auto; }
.cta-card-simple .cta-info p { margin-inline: auto; }
.cta-card-simple .cta-contacts { justify-content: center; }
.cta-meta { color: var(--muted); font-size: 14px; }

/* ================= Формы ================= */
.form { display: flex; flex-direction: column; gap: 14px; }
.form h3 { font-size: 21px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font: inherit; font-size: 15px;
    padding: 13px 16px;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 209, 255, .18);
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3bd' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }
.field select option { background: var(--surface-2); }
.form-note { font-size: 12.5px; color: var(--muted); }
.form-note a { color: var(--accent); }
.form .hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
/* Скрой honeypot и на индекс-форме */
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ================= Внутренние страницы: hero ================= */
.page-hero { padding: 90px 0 60px; text-align: center; }
.page-hero .badge { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; letter-spacing: -.02em; margin: 0 auto 18px; max-width: 760px; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 680px; margin: 0 auto; }

/* ================= Услуги (список) ================= */
.services-list { display: flex; flex-direction: column; gap: 22px; }
.service-block { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; }
.service-block h2 { font-size: 22px; margin-bottom: 8px; }
.service-lead { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.service-extras { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.service-extras li { position: relative; padding-left: 18px; color: var(--muted); font-size: 14px; }
.service-extras li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.service-side { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 140px; }
.service-block .service-price { font-size: 20px; }
@media (max-width: 800px) {
    .service-block { grid-template-columns: auto 1fr; }
    .service-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
}

/* Чипы */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 26px; }
.chip {
    padding: 12px 22px; border-radius: 100px;
    background: var(--surface); border: 1px solid var(--border);
    font-weight: 500; font-size: 15px; transition: .2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.note { color: var(--muted); font-size: 15px; }

/* ================= О нас ================= */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-checks { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.about-checks li { display: flex; gap: 12px; align-items: flex-start; }
.about-checks li::before { content: "✔"; color: var(--accent); font-weight: 800; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fact-card { text-align: center; padding: 28px 16px; }
.fact-card b { display: block; font-size: 34px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact-card span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.team-card { text-align: center; padding-top: 34px; }
.team-card .feature-icon { margin: 0 auto 16px; }
.team-card h3 { font-size: 19px; }
.team-avatar {
    width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%;
    display: grid; place-items: center;
    font-size: 32px; font-weight: 800;
    color: #04121b;
    background: linear-gradient(135deg, hsl(var(--hue, 200) 90% 62%), hsl(calc(var(--hue, 200) + 50) 85% 55%));
    box-shadow: var(--shadow-accent);
}
.team-card h3 { font-size: 19px; }
.team-card > span { display: block; color: var(--accent); font-size: 13.5px; margin: 6px 0 12px; }
.team-card p { color: var(--muted); font-size: 14.5px; }

/* ================= FAQ ================= */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 4px 22px;
    transition: border-color .2s;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
    cursor: pointer; list-style: none;
    padding: 16px 0; font-weight: 600; font-size: 16.5px;
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; font-size: 24px; font-weight: 400; color: var(--accent); line-height: 1;
    transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding: 0 0 18px; font-size: 15px; }

/* ================= Контакты ================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 18px; }
.contact-card .big-link { display: block; font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 8px; transition: color .2s; }
.contact-card .big-link:hover { color: var(--accent); }
.contact-card p { color: var(--muted); font-size: 14.5px; }
.order-form-card h2 { font-size: 26px; margin-bottom: 8px; }
.order-form-card .note { margin-bottom: 18px; }

.contact-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.contact-cta h2 { font-size: 27px; }
.contact-cta p { color: var(--muted); font-size: 15px; }
.contact-cta .contact-cta-note { font-size: 13.5px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.map-section { padding-bottom: 90px; }
.map-wrap { padding: 10px; position: relative; }
.map-wrap iframe { width: 100%; height: 440px; border: 0; border-radius: calc(var(--radius) - 8px); display: block; }
.map-fallback { display: none; min-height: 220px; padding: 34px 20px; text-align: center; align-items: center; justify-content: center; flex-direction: column; gap: 14px; color: var(--muted); }
.map-wrap.map-fallback-mode iframe { display: none; }
.map-wrap.map-fallback-mode .map-fallback { display: flex; }
.map-actions { display: flex; justify-content: flex-end; margin-top: 16px; }
@media (max-width: 560px) {
    .map-actions { justify-content: stretch; }
    .map-actions .btn { width: 100%; }
}
.directions { display: flex; gap: 20px; align-items: flex-start; margin-top: 20px; }
.directions h3 { margin-bottom: 6px; }

/* ================= Подвал ================= */
.site-footer { border-top: 1px solid var(--border); background: #0a0133; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin-bottom: 18px; }
.footer-about p { color: var(--muted); font-size: 14.5px; margin: 18px 0; max-width: 320px; }
.footer-brands { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-brands li { font-size: 12.5px; color: var(--muted); border: 1px solid var(--border); border-radius: 100px; padding: 5px 12px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: var(--muted); font-size: 14.5px; transition: color .15s, padding-left .15s; }
.footer-links a:hover, .footer-links a.active { color: var(--accent); padding-left: 4px; }
.footer-contacts li { color: var(--muted); font-size: 14.5px; margin-bottom: 11px; display: flex; gap: 8px; }
.footer-contacts a { color: var(--muted); }
.footer-contacts a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
.footer-admin a { color: var(--muted); opacity: .7; font-size: 12.5px; }
.footer-admin a:hover { color: var(--accent); opacity: 1; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ================= Плавающий звонок ================= */
.fab-call {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center;
    color: #04121b; background: var(--grad);
    box-shadow: var(--shadow-accent);
    animation: floaty 4s ease-in-out infinite;
}
.fab-call:hover { transform: scale(1.06); }

/* ================= Модалка ================= */
.modal {
    position: fixed; inset: 0; z-index: 200;
    display: none; align-items: center; justify-content: center;
    padding: 20px;
}
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7, 0, 30, .72); backdrop-filter: blur(4px); }
.modal-card {
    position: relative; z-index: 2;
    width: min(440px, 100%);
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: 22px; padding: 32px;
    box-shadow: var(--shadow);
    animation: modalIn .25s ease;
}
@keyframes modalIn { from { transform: translateY(16px) scale(.97); opacity: 0; } }
.modal-close {
    position: absolute; top: 14px; right: 14px;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.06); border: 1px solid var(--border);
    color: var(--muted); font-size: 15px;
}
.modal-close:hover { color: var(--text); }
.modal-card h3 { font-size: 24px; margin-bottom: 8px; }
.modal-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }

/* ================= Тост ================= */
.toast {
    position: fixed; left: 50%; bottom: 28px; z-index: 300;
    transform: translateX(-50%) translateY(30px);
    display: flex; align-items: center; gap: 14px;
    max-width: min(560px, 92vw);
    background: var(--surface-2); border: 1px solid var(--border-strong);
    border-left: 4px solid var(--accent);
    border-radius: 14px; padding: 16px 18px;
    box-shadow: var(--shadow);
    font-size: 15px;
    animation: toastIn .4s ease forwards;
}
.toast-success { border-left-color: var(--green); }
.toast-error { border-left-color: var(--red); }
@keyframes toastIn { to { transform: translateX(-50%) translateY(0); opacity: 1; } }
.toast-close { background: none; border: 0; color: var(--muted); font-size: 14px; margin-left: auto; flex: 0 0 auto; }
.toast-close:hover { color: var(--text); }

/* ================= Анимации появления ================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ================= Мобильная адаптация ================= */
@media (max-width: 1100px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { min-height: 340px; order: 2; }
    .hero { padding-top: 60px; }
    .cta-card { grid-template-columns: 1fr; padding: 36px 28px; }
}
@media (max-width: 860px) {
    .header-phone span { display: none; }
    .header-actions { gap: 10px; }
    .call-cta--nav { padding: 9px 14px; font-size: 14px; }
    .call-cta--nav .call-num { display: none; }
    .call-cta--nav .call-do { display: inline; }
    .nav-burger { display: flex; }
    .main-nav {
        position: fixed; inset: 74px 0 auto 0; z-index: 99;
        background: rgba(15, 1, 62, .97);
        border-bottom: 1px solid var(--border);
        flex-direction: column; align-items: stretch; gap: 8px;
        padding: 18px 6vw 24px;
        transform: translateY(-120%); transition: transform .3s ease;
    }
    .main-nav.open { transform: none; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
    .nav-list a { padding: 14px 12px; font-size: 17px; }
    .nav-cta { margin-top: 8px; }
}
@media (max-width: 620px) {
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
    .float-card { font-size: 12.5px; }
    .fc-1 { left: 0; }
    .fc-2 { right: 0; }
    .section { padding: 60px 0; }
    .cta-card { padding: 30px 20px; }
    .hero-stats { margin-top: 40px; }
    .map-wrap iframe { height: 300px; }
    .toast { width: 92vw; }
}

/* Очень узкие экраны: чтобы шапка и контент не вылезали за границы */
@media (max-width: 480px) {
    .header-actions { gap: 8px; }
    .call-cta--nav { display: none; } /* звонить можно плавающей кнопкой и в контенте */
    .logo { gap: 9px; }
    .logo-mark { width: 40px; height: 40px; border-radius: 12px; }
    .logo-text { font-size: 18px; }
    .logo-text small { font-size: 9px; }
    .nav-burger { padding: 6px 4px; }
}
@media (max-width: 360px) {
    .logo-text { font-size: 16px; }
    .logo-text small { font-size: 8.5px; }
    .hero-title { font-size: 30px; }
    .hero-stats .stat b { font-size: 26px; }
    .hero-stats .stat { min-width: 0; }
    /* компактные кнопки звонка — чтобы ничего не вылезало за экран */
    .call-cta .call-num { display: none; }
    .call-cta .call-do { display: inline; }
    .call-cta--sm { padding: 11px 15px; font-size: 14px; }
    /* страховка от «распирания» сеток длинным текстом */
    .about-grid > *, .about-facts, .about-facts .fact-card, .service-block, .hero-stats { min-width: 0; }
    .section-title, .service-block h2 { overflow-wrap: break-word; }
    .fact-card b { font-size: 27px; overflow-wrap: anywhere; }
    .fact-card { padding: 20px 10px; }
}
