/* =====================================================================
   Атлант — фирменный стиль в эстетике Apple
   Палитра: синий #2B4E77 · кран-жёлтый #FFCC02 · белый
   ===================================================================== */

/* ---------- fonts ---------- */
@font-face {
    font-family: 'Air Force';
    src: url('../assets/font/AirForce-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ---------- design tokens ---------- */
:root {
    --blue: #2B4E77;
    --blue-deep: #17324f;
    --blue-600: #35608f;
    --yellow: #FFCC02;
    --yellow-600: #e7b800;

    /* премиальный слой (luxe) */
    --navy: #0B1A2B;
    --navy-2: #12283f;
    --gold: #F3C43B;
    --gold-2: #E0A81E;
    --gold-hi: #FFE9A8;
    --line-strong: rgba(15, 32, 51, .18);
    --line-2: rgba(255, 255, 255, .14);
    --shadow-gold: 0 16px 36px rgba(224, 168, 30, .38);

    --ink: #1d1d1f;
    --ink-soft: #494a4d;
    --muted: #6e6e73;
    --line: #d2d2d7;
    --line-soft: rgba(43, 78, 119, .12);

    --bg: #ffffff;
    --bg-alt: #f5f5f7;
    --bg-tint: #eef5fc;

    --radius: 18px;
    --radius-lg: 26px;
    --radius-pill: 980px;

    --shadow-s: 0 2px 10px rgba(23, 50, 79, .06);
    --shadow-m: 0 12px 30px rgba(23, 50, 79, .10);
    --shadow-l: 0 30px 60px rgba(23, 50, 79, .16);

    --maxw: 1140px;
    --font-sys: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text',
        'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-display: 'Air Force', var(--font-sys);

    --tr: .35s cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-sys);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
    letter-spacing: -.01em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
sup { color: #ff3b30; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 120px 0; }
.section--tint { background: var(--bg-tint); }

.eyebrow {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 18px;
}
.eyebrow--light { color: var(--yellow); }

.section__title {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.06;
    letter-spacing: -.03em;
    font-weight: 600;
    color: var(--blue-deep);
    margin-bottom: 20px;
}

.section__sub {
    font-size: clamp(17px, 2vw, 21px);
    color: var(--muted);
    max-width: 640px;
    margin-bottom: 56px;
}
.section__sub--light { color: rgba(255, 255, 255, .72); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    transition: transform var(--tr), background var(--tr), color var(--tr), box-shadow var(--tr);
    white-space: nowrap;
}
.btn--sm { padding: 11px 22px; font-size: 15px; }

.btn--yellow,
.btn--gold {
    background: linear-gradient(135deg, #FFE9A8 0%, var(--gold) 46%, var(--gold-2) 100%);
    color: #201804;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 10px 24px rgba(224, 168, 30, .32);
}
.btn--yellow:hover,
.btn--gold:hover {
    transform: translateY(-2px);
    filter: saturate(1.08) brightness(1.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), var(--shadow-gold);
}

.btn--dark { background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(11, 26, 43, .28); }
.btn--dark:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(11, 26, 43, .34); }

.btn--ghost-light { border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: #fff; transform: translateY(-2px); }

.btn--ghost { border: 1.5px solid var(--line-strong); color: var(--blue-deep); }
.btn--ghost:hover { background: var(--blue-deep); color: #fff; transform: translateY(-2px); }

.btn:active { transform: translateY(0) scale(.98); }

/* ---------- header ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line-soft);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 32px; }
.nav a { font-size: 15px; color: var(--ink-soft); transition: color var(--tr); }
.nav a:hover { color: var(--blue); }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { font-size: 15px; font-weight: 500; color: var(--ink); transition: color var(--tr); }
.header__phone:hover { color: var(--blue); }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--tr); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { bottom: 15px; }
.burger.is-active span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger.is-active span:nth-child(2) { bottom: 19px; transform: rotate(-45deg); }

/* ---------- mobile menu ---------- */
.mobile-menu {
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0; z-index: 90;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 32px 24px 40px;
    display: none; flex-direction: column; justify-content: space-between;
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity var(--tr), transform var(--tr);
}
.mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a { font-size: 26px; font-weight: 500; padding: 14px 0; color: var(--blue-deep); border-bottom: 1px solid var(--line-soft); }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 12px; }
.mobile-menu__foot a { font-size: 18px; color: var(--ink-soft); }
.mobile-menu__foot .btn { margin-top: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: url('../assets/image/main-bg.jpg') center/cover no-repeat; transform: scale(1.03); }
.hero__bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(120% 95% at 12% 28%, rgba(23, 50, 79, .88), rgba(23, 50, 79, .45) 46%, rgba(23, 50, 79, .12) 74%),
        linear-gradient(180deg, rgba(23, 50, 79, .55), rgba(23, 50, 79, .18));
}
.hero__content { position: relative; z-index: 1; padding-top: 90px; }
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(46px, 9vw, 104px);
    line-height: .98; letter-spacing: .5px; font-weight: 400;
    text-transform: uppercase; margin: 6px 0 26px;
}
.hero__sub { font-size: clamp(17px, 2vw, 21px); max-width: 620px; color: rgba(255, 255, 255, .82); margin-bottom: 40px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1;
    font-family: var(--font-display); font-size: 11px; letter-spacing: 2px;
    text-transform: uppercase; color: rgba(255, 255, 255, .6);
}

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: start; margin-bottom: 56px; }
.about__lead .lead { font-size: 20px; line-height: 1.5; color: var(--ink); margin-bottom: 18px; }
.muted { color: var(--muted); font-size: 16px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stats__item {
    background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
    padding: 22px; box-shadow: var(--shadow-s);
    display: flex; flex-direction: column; gap: 8px;
}
.stats__label { font-family: var(--font-display); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.stats__value { font-size: 20px; font-weight: 600; color: var(--blue-deep); }

.cta-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
    background: linear-gradient(120deg, var(--blue), var(--blue-600));
    color: #fff; border-radius: var(--radius-lg); padding: 34px 40px; box-shadow: var(--shadow-m);
}
.cta-bar__title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; font-size: 20px; margin-bottom: 6px; }
.cta-bar__text { color: rgba(255, 255, 255, .78); font-size: 15px; }

/* ---------- segmented control ---------- */
.segmented { display: inline-flex; gap: 4px; padding: 5px; background: var(--bg-alt); border-radius: var(--radius-pill); margin-bottom: 44px; }
.segmented__btn { padding: 11px 26px; border-radius: var(--radius-pill); font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: var(--tr); }
.segmented__btn.is-active { background: #fff; color: var(--blue-deep); box-shadow: var(--shadow-s); }

/* ---------- product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
    background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); border-color: transparent; }
.card__media {
    background: linear-gradient(180deg, var(--bg-alt), #fff);
    padding: 22px; display: flex; align-items: center; justify-content: center; height: 210px;
}
.card__media img { max-height: 100%; object-fit: contain; }
.card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.card__title { font-size: 22px; font-weight: 600; color: var(--blue-deep); letter-spacing: -.02em; }
.spec { display: flex; flex-direction: column; gap: 10px; }
.spec li { display: flex; justify-content: space-between; gap: 14px; font-size: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.spec li span { color: var(--muted); }
.spec li b { color: var(--ink); font-weight: 600; text-align: right; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.price { display: flex; flex-direction: column; }
.price b { font-size: 20px; font-weight: 600; color: var(--blue); }
.price span { font-size: 12.5px; color: var(--muted); }

/* ---------- dark section (transport) ---------- */
.section--dark { background: linear-gradient(160deg, var(--blue-deep), var(--blue)); color: #fff; }
.section--dark .section__title { color: #fff; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.feature {
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
    backdrop-filter: blur(6px); transition: transform var(--tr), background var(--tr);
}
.feature:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); }
.feature__media { height: 240px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: 30px 32px 34px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.feature__body h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.feature__body p { color: rgba(255, 255, 255, .75); font-size: 15.5px; }
.feature__body .btn { align-self: flex-start; margin-top: auto; }
.feature__icon { width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 204, 2, .15); color: var(--yellow); display: flex; align-items: center; justify-content: center; }
.feature--tint .feature__body { justify-content: center; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); aspect-ratio: 4 / 3; padding: 0; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22, .61, .36, 1); }
.gallery__item:hover img { transform: scale(1.06); }

/* ---------- contacts ---------- */
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact__card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 10px; }
.contact__card h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.contact__card a { font-size: 19px; font-weight: 500; color: var(--blue-deep); transition: color var(--tr); }
.contact__card a:hover { color: var(--blue); }
.contact__address { font-size: 19px; font-weight: 600; color: var(--blue-deep); }
.contact__card .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- footer ---------- */
.footer { background: var(--blue-deep); color: rgba(255, 255, 255, .72); padding: 46px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer .brand img { height: 30px; }
.footer__info { font-size: 15px; text-align: center; }
.footer__info a:hover { color: #fff; }
.footer__copy { font-size: 14px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(23, 50, 79, .55); backdrop-filter: blur(6px); animation: fade .3s ease; }
.modal__dialog { position: relative; z-index: 1; width: 100%; max-width: 440px; background: #fff; border-radius: var(--radius-lg); padding: 40px 36px 34px; box-shadow: var(--shadow-l); animation: pop .35s cubic-bezier(.22, .61, .36, 1); }
.modal__close { position: absolute; top: 14px; right: 18px; font-size: 30px; line-height: 1; color: var(--muted); transition: color var(--tr); }
.modal__close:hover { color: var(--ink); }
.modal__dialog h2 { font-size: 28px; font-weight: 600; color: var(--blue-deep); letter-spacing: -.02em; margin-bottom: 8px; }
.modal__note { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: var(--ink-soft); }
.form__field input { height: 48px; padding: 0 15px; border: 1px solid var(--line); border-radius: 12px; font-size: 16px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color var(--tr), box-shadow var(--tr); }
.form__field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43, 78, 119, .14); }
.form__field input::placeholder { color: #b0b3b8; }
.form__submit { width: 100%; margin-top: 4px; }
.form__policy { font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 210; display: none; align-items: center; justify-content: center; background: rgba(10, 20, 32, .92); padding: 40px 20px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: var(--shadow-l); animation: pop .3s ease; }
.lightbox__close { position: absolute; top: 20px; right: 26px; font-size: 40px; color: #fff; opacity: .8; }
.lightbox__close:hover { opacity: 1; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .contact__grid { grid-template-columns: 1fr 1fr; }
    .about__grid { grid-template-columns: 1fr; gap: 40px; }
    .features { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .nav, .header__phone { display: none; }
    .burger { display: block; }
    .mobile-menu { display: flex; }
    .section { padding: 90px 0; }
}

@media (max-width: 640px) {
    .section { padding: 68px 0; }
    .cards { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .contact__grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    .cta-bar { padding: 28px 24px; }
    .cta-bar .btn { width: 100%; }
    .hero__title { font-size: clamp(40px, 13vw, 64px); }
    .modal__dialog { padding: 32px 24px 28px; }
    .footer__inner { flex-direction: column; text-align: center; }
    .hero__scroll { display: none; }
    .segmented { width: 100%; }
    .segmented__btn { flex: 1; padding: 11px 12px; }
}

/* ============================================================
   МНОГОСТРАНИЧНЫЙ СЛОЙ (внутренние страницы)
   ============================================================ */

/* активный пункт меню */
.nav a.is-active { color: var(--blue-deep); font-weight: 500; }

/* ---------- page hero (внутренние страницы) ---------- */
.page-hero {
    position: relative; color: #fff; overflow: hidden;
    padding: 164px 0 86px;
    background: radial-gradient(125% 150% at 84% 0%, var(--blue-deep) 0%, var(--navy) 52%, #07101c 100%);
}
.page-hero::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(58% 92% at 10% 112%, rgba(243, 196, 59, .16), transparent 62%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; margin: 16px 0 18px; max-width: 940px; }
.page-hero p { font-size: clamp(16px, 2vw, 20px); color: rgba(255, 255, 255, .78); max-width: 700px; }
.page-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.page-hero .eyebrow { color: var(--gold); }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.breadcrumbs a { color: rgba(255, 255, 255, .82); transition: color var(--tr); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { opacity: .45; }
.breadcrumbs--light { color: var(--muted); }
.breadcrumbs--light a { color: var(--blue); }

/* ---------- prose (содержательный текст) ---------- */
.prose { max-width: 830px; }
.prose h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.03em; font-weight: 600; color: var(--blue-deep); margin: 48px 0 16px; }
.prose h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; color: var(--blue-deep); margin: 32px 0 12px; }
.prose p { font-size: 17.5px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 16px; }
.prose ul { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 22px; }
.prose ul li { position: relative; padding-left: 30px; font-size: 17px; color: var(--ink-soft); }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: linear-gradient(135deg, var(--gold), var(--gold-2)); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--blue); border-bottom: 1px solid rgba(43, 78, 119, .35); }
.prose a:hover { border-color: var(--blue); }

/* ---------- feature row (чередование фото/текст) ---------- */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.row + .row { margin-top: 96px; }
.row--reverse .row__media { order: 2; }
.row__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow-m); min-height: 300px; }
.row__media img { width: 100%; height: 100%; object-fit: cover; }
.row__body h2 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -.03em; font-weight: 600; color: var(--blue-deep); margin-bottom: 14px; }
.row__body p { font-size: 17px; color: var(--ink-soft); margin-bottom: 16px; }

/* ---------- luxe: блик на золотых кнопках ---------- */
.btn--gold, .btn--yellow { position: relative; overflow: hidden; }
.btn--gold::after, .btn--yellow::after {
    content: ''; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
    transform: skewX(-18deg); transition: left .65s ease; pointer-events: none;
}
.btn--gold:hover::after, .btn--yellow:hover::after { left: 135%; }

/* ---------- price table ---------- */
.price-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); }
.price-table thead th { background: var(--navy); color: #fff; text-align: left; font-size: 14px; font-weight: 500; letter-spacing: .02em; padding: 16px 20px; }
.price-table tbody td { padding: 16px 20px; font-size: 16px; color: var(--ink-soft); border-bottom: 1px solid var(--line); background: #fff; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover td { background: var(--bg-tint); }
.price-table .price-cell { color: var(--blue); font-weight: 600; white-space: nowrap; }
.price-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ---------- faq ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow var(--tr), border-color var(--tr); }
.faq details[open] { box-shadow: var(--shadow-m); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-size: 18px; font-weight: 600; color: var(--blue-deep); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--gold-2); transition: transform var(--tr); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; font-size: 16px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- geo (города обслуживания) ---------- */
.geo { display: flex; flex-wrap: wrap; gap: 10px; }
.geo span { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); transition: var(--tr); }
.geo span:hover { border-color: var(--gold); color: var(--blue-deep); transform: translateY(-2px); }

/* ---------- cta section ---------- */
.cta-section { position: relative; overflow: hidden; background: radial-gradient(120% 160% at 80% 0%, var(--blue-deep), var(--navy) 60%, #07101c); color: #fff; border-radius: var(--radius-lg); padding: 60px 56px; box-shadow: var(--shadow-l); }
.cta-section::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 90% at 6% 120%, rgba(243, 196, 59, .18), transparent 60%); }
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(26px, 3.6vw, 42px); letter-spacing: -.03em; font-weight: 600; margin-bottom: 14px; }
.cta-section p { color: rgba(255, 255, 255, .78); font-size: 18px; max-width: 620px; margin-bottom: 28px; }
.cta-section__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- footer (расширенный) ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 64px 0 34px; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-2); }
.footer h4 { font-family: var(--font-display); font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 16px; }
.footer .footer__brand p { font-size: 14.5px; margin-top: 16px; max-width: 280px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 15px; color: rgba(255, 255, 255, .72); transition: color var(--tr); }
.footer__links a:hover { color: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__contact a { color: rgba(255, 255, 255, .82); }
.footer__contact a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.footer__bottom a:hover { color: #fff; }

/* ---------- responsive (дополнения) ---------- */
@media (max-width: 1040px) {
    .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
    .row { gap: 36px; }
    .row + .row { margin-top: 60px; }
}
@media (max-width: 820px) {
    .row { grid-template-columns: 1fr; }
    .row--reverse .row__media { order: 0; }
    .cta-section { padding: 44px 28px; }
    .price-table { display: block; overflow-x: auto; white-space: nowrap; }
}
@media (max-width: 640px) {
    .footer__cols { grid-template-columns: 1fr; }
    .page-hero { padding: 132px 0 60px; }
}

/* ---------- trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust__item { display: flex; flex-direction: column; gap: 8px; padding-left: 20px; border-left: 2px solid var(--line); }
.trust__num { font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -.03em; color: var(--blue-deep); }
.trust__txt { font-size: 15px; color: var(--muted); }

/* ---------- directions ---------- */
.dir-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dir-card {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; padding: 34px; color: #fff;
    box-shadow: var(--shadow-m); transition: transform var(--tr), box-shadow var(--tr);
}
.dir-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .7s cubic-bezier(.22, .61, .36, 1); }
.dir-card::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(11, 26, 43, .1) 0%, rgba(11, 26, 43, .55) 55%, rgba(11, 26, 43, .92) 100%);
}
.dir-card h3, .dir-card p, .dir-card .dir-more { position: relative; z-index: 2; }
.dir-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.dir-card:hover img { transform: scale(1.06); }
.dir-card h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -.02em; margin-bottom: 10px; }
.dir-card p { color: rgba(255, 255, 255, .82); font-size: 15.5px; margin-bottom: 18px; max-width: 440px; }
.dir-card .dir-more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--gold-hi); }

@media (max-width: 820px) {
    .trust { grid-template-columns: 1fr 1fr; }
    .dir-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .trust { grid-template-columns: 1fr; }
}

/* ============================================================
   v3 — АТМОСФЕРА · ПОЛИРОВКА · ДОСТУПНОСТЬ
   ============================================================ */

/* --- доступность: видимый фокус --- */
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline-offset: 4px; }

/* --- якоря не уезжают под фиксированную шапку --- */
:target, [id] { scroll-margin-top: 88px; }

/* --- тач и оверскролл --- */
a, button, .btn, summary { touch-action: manipulation; }
html { -webkit-tap-highlight-color: rgba(43, 78, 119, .15); }
.modal, .lightbox, .mobile-menu { overscroll-behavior: contain; }

/* --- типографика --- */
.section__title, .page-hero h1, .hero__title, .cta-section h2,
.row__body h2, .prose h2, .dir-card h3, .card__title { text-wrap: balance; }
.section__sub, .hero__sub, .prose p, .row__body p, .card__body p { text-wrap: pretty; }
.price b, .price-table .price-cell, .trust__num, .spec li b { font-variant-numeric: tabular-nums; }

/* --- фирменная «крановая» полоса-акцент (мотив логотипа) --- */
.page-hero h1::after {
    content: ''; display: block; width: 72px; height: 6px; border-radius: 3px; margin-top: 22px;
    background: repeating-linear-gradient(45deg, var(--gold-2) 0 9px, #16232f 9px 18px);
}
.hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 3;
    background: repeating-linear-gradient(45deg, var(--gold) 0 10px, #14212f 10px 20px);
    opacity: .92;
}

/* --- «зерно» на тёмных поверхностях (атмосфера) --- */
.section--dark, .page-hero, .cta-section, .footer { position: relative; }
.section--dark::before, .page-hero::before, .cta-section::before, .footer::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section--dark > .container, .footer > .container { position: relative; z-index: 1; }

/* --- тёмные поверхности: богаче градиенты --- */
.section--dark { background: radial-gradient(95% 130% at 84% -10%, #1d3f61 0%, var(--blue-deep) 46%, var(--navy) 100%); }
.footer { background: radial-gradient(120% 150% at 90% -20%, #16304a 0%, var(--navy) 55%, #08111c 100%); }

/* --- шапка: состояние при скролле --- */
.site-header { transition: background var(--tr), box-shadow var(--tr); }
.site-header.is-scrolled {
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 1px 0 var(--line-soft), 0 12px 34px rgba(23, 50, 79, .07);
}

/* --- hero: вход с каскадом и «дыхание» фона --- */
.hero__bg { animation: heroZoom 20s ease-out forwards; will-change: transform; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1.01); } }
.hero__content { position: relative; }
.hero__content::before {
    content: ''; position: absolute; z-index: -1; left: -8%; top: 4%;
    width: 540px; height: 540px; pointer-events: none;
    background: radial-gradient(closest-side, rgba(243, 196, 59, .16), transparent 70%);
}
.hero__content > * { opacity: 0; transform: translateY(20px); animation: heroIn .95s cubic-bezier(.22, .61, .36, 1) forwards; }
.hero__content > *:nth-child(1) { animation-delay: .10s; }
.hero__content > *:nth-child(2) { animation-delay: .22s; }
.hero__content > *:nth-child(3) { animation-delay: .34s; }
.hero__content > *:nth-child(4) { animation-delay: .46s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* --- карточки: премиальный отклик --- */
.card { box-shadow: var(--shadow-s); }
.card:hover { border-color: transparent; box-shadow: var(--shadow-l), 0 0 0 1px rgba(243, 196, 59, .38); }
.card__media { position: relative; }
.card__media::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity var(--tr);
    background: radial-gradient(70% 60% at 50% 15%, rgba(243, 196, 59, .14), transparent 72%);
}
.card:hover .card__media::after { opacity: 1; }
.card__media img { transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.card:hover .card__media img { transform: scale(1.04); }
.card__title { transition: color var(--tr); }
.card:hover .card__title { color: var(--blue); }

/* --- плитки-направления --- */
.dir-card::after { background: linear-gradient(180deg, rgba(11, 26, 43, .06) 0%, rgba(11, 26, 43, .5) 52%, rgba(11, 26, 43, .94) 100%); }
.dir-card .dir-more { transition: gap var(--tr), color var(--tr); }
.dir-card:hover .dir-more { gap: 14px; color: #fff; }

/* --- галерея --- */
.gallery__item { box-shadow: var(--shadow-s); }
.gallery__item::after {
    content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity var(--tr);
    background: linear-gradient(180deg, transparent 55%, rgba(11, 26, 43, .38));
}
.gallery__item:hover::after { opacity: 1; }

/* --- page-hero: сильнее свечение --- */
.page-hero::after { background: radial-gradient(58% 92% at 10% 112%, rgba(243, 196, 59, .2), transparent 62%); }

/* --- кнопки: глянец и глубина --- */
.btn--gold, .btn--yellow { background-size: 200% 200%; background-position: 0% 50%; }
.btn--gold:hover, .btn--yellow:hover { background-position: 100% 50%; }
.btn--dark { border: 1px solid rgba(255, 255, 255, .08); }
.btn--ghost { background: #fff; }

/* --- акцентные числовые блоки --- */
.trust__num { font-family: var(--font-display); letter-spacing: .5px; }
.trust__item { position: relative; padding-left: 22px; border-left: none; }
.trust__item::before {
    content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 3px;
    background: linear-gradient(180deg, var(--gold-2), rgba(224, 168, 30, .06));
}

/* --- тарифная таблица --- */
.price-table thead th { background: linear-gradient(160deg, var(--navy-2), var(--navy)); }
.price-table tbody tr { transition: background var(--tr); }
.price-table .price-cell { color: var(--blue); font-weight: 700; }

/* --- футер: фирменная полоса сверху --- */
.footer { border-top: none; }
.footer::after {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; opacity: .55;
    background: repeating-linear-gradient(45deg, var(--gold-2) 0 10px, #16232f 10px 20px);
}

/* --- cta-секция: тонкая рамка --- */
.cta-section { border: 1px solid rgba(255, 255, 255, .07); }

/* --- каскад появления (задержка задаётся через --i из JS) --- */
.reveal { transition-delay: calc(var(--i, 0) * 70ms); }

/* --- уважение к уменьшенному движению --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1 !important; transform: none !important; }
    .hero__content > * { opacity: 1 !important; transform: none !important; }
    .hero__bg { animation: none !important; }
}

/* --- утилита: только для скринридеров --- */
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}









