/* ==========================================================================
   ЛИНЕАЛ — основна визия
   Бяло + дълбоко синьо. Техническа естетика: тънки линии, чертежна мрежа,
   доклад-карта, ясна типография.
   ========================================================================== */

@font-face {
    font-family: "Onest";
    src: url("../fonts/Onest.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Golos Text";
    src: url("../fonts/GolosText.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --navy: #0a2540;
    --navy-800: #102e4d;
    --navy-700: #16395d;
    --blue: #1266d6;
    --blue-600: #0d56b8;
    --blue-100: #e6f0fd;
    --sky: #eaf2fb;
    --sky-soft: #f4f8fd;
    --paper: #ffffff;
    --ink: #10243a;
    --muted: #5c7186;
    --muted-2: #7d8fa1;
    --line: #dce6f0;
    --line-strong: #c4d5e5;
    --ok: #17805a;
    --warn: #b5730e;
    --danger: #b3352f;

    --font-display: "Onest", "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Golos Text", "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

    --container: 1220px;
    --gutter: clamp(18px, 4vw, 40px);
    --radius: 4px;
    --radius-lg: 8px;

    --shadow-sm: 0 1px 2px rgba(10, 37, 64, .05);
    --shadow-md: 0 18px 40px -28px rgba(10, 37, 64, .45);
    --shadow-lg: 0 40px 90px -50px rgba(10, 37, 64, .55);

    --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
svg { flex: none; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--navy);
    line-height: 1.12;
    letter-spacing: -.022em;
    margin: 0 0 .6em;
    font-weight: 700;
    text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 4.4vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 2.7vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }

ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: .35em; }

strong, b { font-weight: 600; color: var(--navy); }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 16px; top: -80px; z-index: 999;
    background: var(--navy); color: #fff; padding: 12px 18px;
    font-size: .9rem; text-decoration: none; border-radius: var(--radius);
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 68px) 0; }
.section--sky { background: var(--sky-soft); }
.section--navy { background: var(--navy); color: #d7e3ef; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--line { border-top: 1px solid var(--line); }

/* --- Секционни заглавия ------------------------------------------------ */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 18px;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: .55;
}
.eyebrow--light { color: #8ab6ea; }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; max-width: 64ch; margin-bottom: 0; }
.section-head--split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 56px);
    align-items: end;
}
.section-head--split p { margin: 0 0 .35em; }

.section-foot {
    margin-top: clamp(26px, 3vw, 40px);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

/* --- Бутони ------------------------------------------------------------- */
.btn {
    --btn-bg: var(--blue);
    --btn-fg: #fff;
    --btn-bd: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    min-height: 48px;
    font-family: var(--font-display);
    font-size: .93rem;
    font-weight: 600;
    letter-spacing: -.005em;
    line-height: 1.2;
    color: var(--btn-fg);
    background: var(--btn-bg);
    border: 1px solid var(--btn-bd);
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    transition: background .18s var(--ease), color .18s var(--ease),
                border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn svg { transition: transform .18s var(--ease); }
.btn:hover svg.ic-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn-primary { --btn-bg: var(--blue); --btn-bd: var(--blue); }
.btn-primary:hover { --btn-bg: var(--blue-600); --btn-bd: var(--blue-600); color: #fff; }

.btn-navy { --btn-bg: var(--navy); --btn-bd: var(--navy); }
.btn-navy:hover { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); color: #fff; }

.btn-outline {
    --btn-bg: transparent;
    --btn-fg: var(--navy);
    --btn-bd: var(--line-strong);
}
.btn-outline:hover { --btn-bd: var(--navy); --btn-bg: var(--sky-soft); color: var(--navy); }

.btn-light { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }
.btn-light:hover { --btn-bg: var(--sky); --btn-bd: var(--sky); color: var(--navy); }

.btn-ghost-light {
    --btn-bg: transparent;
    --btn-fg: #dce9f6;
    --btn-bd: rgba(255, 255, 255, .28);
}
.btn-ghost-light:hover { --btn-bg: rgba(255, 255, 255, .08); --btn-bd: rgba(255, 255, 255, .55); color: #fff; }

.btn-sm { min-height: 40px; padding: 9px 16px; font-size: .85rem; }
.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .92rem;
    color: var(--blue);
    text-decoration: none;
}
.link-arrow svg { transition: transform .18s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --- Горна лента и хедър ------------------------------------------------ */
.topbar {
    background: var(--navy);
    color: #b9cee2;
    font-size: .8rem;
    letter-spacing: .01em;
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 38px;
    padding-top: 6px;
    padding-bottom: 6px;
}
.topbar__tag { margin: 0; color: #c9dcec; }
.topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #dbe9f6;
    text-decoration: none;
    font-weight: 500;
}
.topbar a:hover { color: #fff; }
.topbar svg { opacity: .8; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 10px 30px -24px rgba(10, 37, 64, .5); }
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(14px, 2vw, 34px);
    min-height: 78px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__img { height: 80px; width: auto; }

.main-nav { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 26px); }
.main-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(4px, 1.2vw, 22px);
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav__list li { margin: 0; }
.main-nav__link {
    position: relative;
    display: inline-block;
    padding: 10px 2px;
    font-family: var(--font-display);
    font-size: .89rem;
    font-weight: 500;
    color: var(--navy);
    text-decoration: none;
    white-space: nowrap;
}
.main-nav__link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s var(--ease);
}
.main-nav__link:hover::after,
.main-nav__link.is-active::after { transform: scaleX(1); }
.main-nav__link.is-active { color: var(--blue); }
.main-nav__cta { display: none; }

.header-tools { display: flex; align-items: center; gap: 10px; flex: none; }

.lang-switch { position: relative; }
.lang-switch__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    transition: border-color .18s var(--ease), background .18s var(--ease);
}
.lang-switch__btn:hover { border-color: var(--line-strong); background: var(--sky-soft); }
.lang-switch__btn .ic-close { transform: rotate(45deg); transition: transform .2s var(--ease); opacity: .5; }
.lang-switch.is-open .lang-switch__btn .ic-close { transform: rotate(0); opacity: .8; }
.lang-switch__btn .ic-globe { color: var(--blue); }

.lang-switch__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 186px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
    z-index: 120;
}
.lang-switch.is-open .lang-switch__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switch__menu li { margin: 0; }
.lang-switch__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: var(--radius);
    color: var(--ink);
    font-size: .9rem;
    text-decoration: none;
}
.lang-switch__item:hover { background: var(--sky-soft); color: var(--navy); }
.lang-switch__item.is-active { background: var(--blue-100); color: var(--navy); font-weight: 600; }
.lang-switch__item svg { margin-left: auto; color: var(--blue); }
.lang-switch__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    padding: 2px 6px;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    font-family: var(--font-display);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--navy);
}

.header-call {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--navy);
}
.header-call:hover { background: var(--sky-soft); color: var(--blue); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    padding: 0 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
}
.nav-toggle__bar {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--navy);
    transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero --------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(10, 37, 64, .045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(10, 37, 64, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), rgba(0,0,0,.15) 78%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), rgba(0,0,0,.15) 78%, transparent);
    pointer-events: none;
}
.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: clamp(44px, 7vw, 92px) 0 clamp(48px, 7vw, 96px);
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 13px 7px 10px;
    background: var(--blue-100);
    border: 1px solid #cfe2fb;
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .05em;
    color: #0f56b4;
    margin-bottom: 24px;
}
.hero__badge::before {
    content: "";
    width: 7px; height: 7px;
    background: var(--blue);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(18, 102, 214, .16);
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent {
    display: block;
    color: var(--blue);
    position: relative;
}
.hero__subtitle {
    max-width: 54ch;
    font-size: clamp(1.02rem, 1.3vw, 1.16rem);
    color: var(--muted);
    margin-bottom: 30px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__note {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .85rem;
    color: var(--muted);
    margin: 0;
}
.hero__note svg { color: var(--ok); }

.hero__media { position: relative; }
.hero__photo {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
    background: var(--sky);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, .34), transparent 52%);
}

/* Доклад-карта */
.report-card {
    position: absolute;
    left: clamp(-8px, -2vw, -34px);
    bottom: clamp(-18px, -2vw, -30px);
    width: min(330px, 82%);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    font-size: .8rem;
    z-index: 2;
}
.report-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
    background: var(--sky-soft);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.report-card__label {
    font-family: var(--font-display);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--muted);
}
.report-card__tag {
    font-family: var(--font-display);
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue);
    border: 1px solid #cfe2fb;
    background: #fff;
    padding: 2px 7px;
    border-radius: 3px;
}
.report-card__body { padding: 8px 14px 12px; }
.report-card__row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 0;
    border-bottom: 1px dashed #e6eef6;
}
.report-card__row:last-child { border-bottom: 0; }
.report-card__row .ic { color: var(--blue); opacity: .85; }
.report-card__row span { flex: 1; color: var(--ink); font-size: .78rem; }
.risk {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-display);
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 3px;
}
.risk::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.risk--low { color: var(--ok); background: #e9f6f0; }
.risk--mid { color: var(--warn); background: #fbf3e3; }
.risk--high { color: var(--danger); background: #fbeceb; }
.report-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 14px;
    border-top: 1px solid var(--line);
    color: var(--muted-2);
    font-size: .68rem;
    letter-spacing: .02em;
}

/* Метрики */
.metrics {
    border-top: 1px solid var(--line);
    background: #fff;
}
.metrics__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}
.metric {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 24px 28px;
    border-left: 1px solid var(--line);
}
.metric:first-child { border-left: 0; padding-left: 0; }
.metric__value {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    letter-spacing: -.04em;
}
.metric__value em { font-style: normal; color: var(--blue); }
.metric__label { font-size: .85rem; color: var(--muted); line-height: 1.35; }

/* --- Карти за проверки -------------------------------------------------- */
.grid { display: grid; gap: 1px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.check-card {
    position: relative;
    background: #fff;
    padding: 28px 26px 26px;
    transition: background .2s var(--ease);
}
.check-card:hover { background: var(--sky-soft); }
.check-card__index {
    position: absolute;
    top: 16px; right: 18px;
    font-family: var(--font-display);
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--muted-2);
}
.check-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--blue);
    background: #fff;
    margin-bottom: 18px;
}
.check-card h3 { font-size: 1.06rem; margin-bottom: 8px; }
.check-card p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* --- Процес ------------------------------------------------------------- */
.process {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
    margin-top: 8px;
}
.process__step {
    position: relative;
    padding: 30px 22px 0 0;
    border-right: 1px solid rgba(255, 255, 255, .12);
}
.process__step:last-child { border-right: 0; padding-right: 0; }
.process__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, .04);
}
.process__step::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}
.process__step:hover::before { transform: scaleX(1); }
.process__step h3 { font-size: .98rem; color: #fff; margin-bottom: 9px; letter-spacing: -.005em; }
.process__step p { font-size: .84rem; color: #a9c2d8; margin: 0; line-height: 1.55; }
.process__icon { position: absolute; top: 34px; right: 16px; color: rgba(255, 255, 255, .22); }

/* --- Пакети ------------------------------------------------------------- */
.packages {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}
.package {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 24px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.package:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.package--featured {
    border-color: var(--navy);
    box-shadow: var(--shadow-md);
}
.package--featured::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--blue);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.package__tag {
    display: inline-flex;
    align-self: flex-start;
    font-family: var(--font-display);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-100);
    border-radius: 3px;
    padding: 3px 8px;
    margin-bottom: 14px;
}
.package__icon { color: var(--navy); margin-bottom: 12px; }
.package h3 { font-size: 1.12rem; margin-bottom: 10px; }
.package__desc { font-size: .875rem; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }
.package__list {
    list-style: none;
    margin: 0 0 20px;
    padding: 16px 0 0;
    border-top: 1px solid var(--line);
    font-size: .84rem;
    color: var(--ink);
}
.package__list li {
    display: flex;
    gap: 8px;
    margin-bottom: 7px;
    line-height: 1.45;
}
.package__list svg { color: var(--blue); margin-top: 3px; }
.package__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.package__price {
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 600;
    color: var(--navy);
}
.package__price small { display: block; font-size: .68rem; font-weight: 400; color: var(--muted-2); letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }
.package__cta { justify-content: space-between; }

/* --- Доклад / сплит секция ---------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.split__caption {
    margin-top: 10px;
    font-size: .74rem;
    color: var(--muted-2);
    display: flex;
    align-items: center;
    gap: 7px;
}
.split__caption::before { content: ""; width: 16px; height: 1px; background: var(--line-strong); }

.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    margin: 0;
}
.feature-list li:first-child { padding-top: 0; }
.feature-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-list__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: var(--radius);
    background: var(--blue-100);
    color: var(--blue);
    flex: none;
    margin-top: 2px;
}
.feature-list strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.feature-list span { font-size: .875rem; color: var(--muted); line-height: 1.5; }

/* --- Предимства --------------------------------------------------------- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
}
.benefits-grid__item {
    padding: 26px 24px 26px 0;
    border-right: 1px solid var(--line);
}
.benefits-grid__item:last-child { border-right: 0; }
.benefits-grid__item h3 { letter-spacing: -.01em; }
.benefits-grid__item p { line-height: 1.55; }

@media (max-width: 1020px) {
    .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .benefits-grid__item:nth-child(2n) { border-right: 0; padding-right: 0; }
    .benefits-grid__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
    .benefits-grid { grid-template-columns: 1fr; }
    .benefits-grid__item { border-right: 0; padding-right: 0; border-top: 1px solid var(--line); }
    .benefits-grid__item:first-child { border-top: 0; }
}

/* --- Отзиви ------------------------------------------------------------- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.review {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 26px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.review__mark { color: var(--blue); opacity: .28; margin-bottom: 12px; }
.review__text { font-size: .95rem; line-height: 1.65; color: var(--ink); margin-bottom: 20px; }
.review__meta { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 700;
    flex: none;
}
.review__name { font-family: var(--font-display); font-size: .88rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.review__role { font-size: .74rem; color: var(--muted-2); }
.review__stars { display: flex; gap: 2px; color: #e0a318; margin-left: auto; }

.empty-state {
    padding: clamp(32px, 5vw, 56px);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--sky-soft);
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}
.empty-state svg { color: var(--muted-2); margin: 0 auto 14px; }
.empty-state p { color: var(--muted); margin: 0 auto 20px; max-width: 46ch; }

/* --- Видеа -------------------------------------------------------------- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.video-card {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--navy);
    color: #fff;
    text-decoration: none;
}
.video-card__media { position: relative; aspect-ratio: 16 / 9; }
.video-card__media img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .25s var(--ease), transform .5s var(--ease); }
.video-card:hover .video-card__media img { opacity: 1; transform: scale(1.02); }
.video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-card__play span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px; height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--navy);
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5);
    transition: transform .2s var(--ease), background .2s var(--ease);
}
.video-card:hover .video-card__play span { transform: scale(1.06); background: #fff; }
.video-card__body { padding: 16px 18px 18px; background: #fff; color: var(--ink); border-top: 1px solid var(--line); }
.video-card__body h3 { font-size: .98rem; margin-bottom: 4px; }
.video-card__body p { font-size: .8rem; color: var(--muted); margin: 0; }
.video-card__dur {
    position: absolute;
    right: 12px; bottom: 12px;
    padding: 3px 8px;
    border-radius: 3px;
    background: rgba(10, 37, 64, .82);
    color: #fff;
    font-family: var(--font-display);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .04em;
}

/* --- CTA лента ---------------------------------------------------------- */
.prefooter {
    background: var(--blue);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.prefooter::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.prefooter__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(22px, 4vw, 56px);
    padding: clamp(36px, 5vw, 58px) 0;
}
.prefooter h2 { color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.95rem); margin-bottom: 8px; max-width: 30ch; }
.prefooter p { color: #d7e8fb; font-size: .95rem; margin: 0; max-width: 62ch; }
.prefooter__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* --- Футър -------------------------------------------------------------- */
.site-footer {
    background: var(--navy);
    color: #a9c2d8;
    font-size: .87rem;
    padding: clamp(44px, 6vw, 72px) 0 26px;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 52px);
    padding-bottom: clamp(28px, 4vw, 44px);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-footer__brand img { height: 34px; width: auto; margin-bottom: 16px; }
.site-footer__brand p { font-size: .84rem; line-height: 1.6; color: #9db8d0; max-width: 34ch; }
.site-footer h3 {
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 600;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #b6cce0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.contact-list li { display: flex; gap: 9px; align-items: flex-start; }
.contact-list svg { color: #6f93b3; margin-top: 3px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials li { margin: 0; }
.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    color: #cfe1f0;
}
.socials a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); color: #fff; }

.site-footer__note {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-footer__note p { font-size: .75rem; color: #7d9cb7; margin: 0; max-width: 92ch; }

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 20px;
    font-size: .78rem;
    color: #7d9cb7;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; gap: 20px; }
.site-footer__legal li { margin: 0; }

.to-top {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 80;
    width: 44px; height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--navy);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.to-top svg { transform: rotate(-90deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* --- Вътрешни страници -------------------------------------------------- */
.page-hero {
    position: relative;
    background: var(--sky-soft);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(10, 37, 64, .05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(10, 37, 64, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent);
    pointer-events: none;
}
.page-hero__inner {
    position: relative;
    padding: clamp(38px, 6vw, 74px) 0 clamp(34px, 5vw, 58px);
    max-width: 860px;
}
.page-hero h1 { margin-bottom: 16px; font-size: clamp(2.1rem, 4vw, 3.4rem); }
.page-hero__sub { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--muted); max-width: 66ch; margin: 0; }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    font-size: .76rem;
    color: var(--muted-2);
}
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }

.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.9em; margin-bottom: .55em; font-size: clamp(1.4rem, 2vw, 1.8rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose p { color: #2c4257; }
.prose ul, .prose ol { color: #2c4257; }
.prose li { margin-bottom: .5em; }
.prose img { border-radius: var(--radius-lg); border: 1px solid var(--line); margin: 1.6em 0; }
.prose blockquote {
    margin: 1.8em 0;
    padding: 4px 0 4px 22px;
    border-left: 2px solid var(--blue);
    color: var(--navy);
    font-size: 1.05rem;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .9rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--sky-soft); font-family: var(--font-display); }

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}
.aside-card {
    position: sticky;
    top: 104px;
    padding: 26px 24px;
    background: var(--sky-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.aside-card h3 { font-size: 1.02rem; margin-bottom: 10px; }
.aside-card p { font-size: .87rem; color: var(--muted); margin-bottom: 18px; }
.aside-card .btn { width: 100%; }
.aside-card__list { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); font-size: .85rem; }
.aside-card__list li { display: flex; gap: 8px; margin-bottom: 8px; color: var(--muted); }
.aside-card__list svg { color: var(--blue); margin-top: 3px; flex: none; }

/* --- Цени --------------------------------------------------------------- */
.price-groups { display: grid; gap: 22px; }
.price-group {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
}
.price-group__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 22px;
    background: var(--sky-soft);
    border-bottom: 1px solid var(--line);
}
.price-group__head h3 { margin: 0; font-size: 1rem; letter-spacing: .01em; }
.price-group__count { font-size: .72rem; color: var(--muted-2); letter-spacing: .06em; text-transform: uppercase; }
.price-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.price-table th {
    text-align: left;
    font-family: var(--font-display);
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    padding: 12px 22px;
    border-bottom: 1px solid var(--line);
}
.price-table th:last-child { text-align: right; }
.price-table td { padding: 15px 22px; border-bottom: 1px solid #eef4fa; vertical-align: middle; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: #fbfdff; }
.price-table td:last-child {
    text-align: right;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
}
.price-note {
    display: flex;
    gap: 12px;
    padding: 16px 18px;
    background: var(--sky-soft);
    border: 1px solid var(--line);
    border-left: 3px solid var(--blue);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: .85rem;
    color: var(--muted);
    margin-top: 22px;
}
.price-note svg { color: var(--blue); margin-top: 2px; flex: none; }
.price-note p { margin: 0; }

/* --- Контакти ----------------------------------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}
.contact-cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.contact-card {
    display: flex;
    gap: 16px;
    padding: 22px 22px;
    background: #fff;
}
.contact-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: var(--radius);
    background: var(--blue-100);
    color: var(--blue);
    flex: none;
}
.contact-card h3 { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.contact-card p, .contact-card a { margin: 0; font-size: .98rem; color: var(--navy); text-decoration: none; font-weight: 500; }
.contact-card a:hover { color: var(--blue); }
.contact-card small { display: block; font-size: .78rem; color: var(--muted-2); font-weight: 400; margin-top: 3px; }

.form-card {
    padding: clamp(24px, 3vw, 36px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin-bottom: 8px; }
.form-card__intro { font-size: .88rem; color: var(--muted); margin-bottom: 24px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row--full { grid-column: 1 / -1; }
.form-row label {
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: .01em;
}
.form-row label .req { color: var(--blue); }
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: .93rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.form-row textarea { min-height: 132px; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: 0;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(18, 102, 214, .12);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: #9aabb9; }
.form-row.has-error input,
.form-row.has-error textarea { border-color: var(--danger); }

.check-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.5;
}
.check-row input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--blue); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: .87rem;
    margin-bottom: 20px;
}
.form-alert svg { flex: none; margin-top: 2px; }
.form-alert--ok { background: #eaf6f0; border: 1px solid #c6e6d8; color: #14664a; }
.form-alert--err { background: #fbeceb; border: 1px solid #f0cdca; color: #8f2b26; }

.map-embed {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--sky-soft);
    aspect-ratio: 16 / 10;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--muted);
    background-image:
        linear-gradient(to right, rgba(10, 37, 64, .06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(10, 37, 64, .06) 1px, transparent 1px);
    background-size: 32px 32px;
    font-size: .85rem;
}
.map-placeholder svg { color: var(--blue); }

/* --- Галерия ------------------------------------------------------------ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    aspect-ratio: 4 / 3;
    background: var(--sky);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 22px 14px 12px;
    background: linear-gradient(to top, rgba(10, 37, 64, .82), transparent);
    color: #fff;
    font-size: .78rem;
}

/* --- 404 ---------------------------------------------------------------- */
.error-page {
    min-height: 56vh;
    display: flex;
    align-items: center;
    padding: clamp(48px, 8vw, 100px) 0;
}
.error-page__code {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.06em;
    color: var(--blue);
    opacity: .18;
    margin-bottom: -18px;
}
.error-page h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.error-page p { color: var(--muted); max-width: 52ch; margin-bottom: 26px; }

/* --- Видео модал -------------------------------------------------------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(6, 22, 38, .82);
    backdrop-filter: blur(4px);
}
.modal.is-open { display: flex; }
.modal__dialog {
    position: relative;
    width: min(1000px, 100%);
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7);
}
.modal__dialog video { width: 100%; max-height: 78vh; display: block; background: #000; }
.modal__close {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 2;
    width: 40px; height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .92);
    color: var(--navy);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}
.modal__close:hover { background: #fff; }

/* --- Анимации при скрол ------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* --- Адаптив ------------------------------------------------------------ */
@media (max-width: 1180px) {
    .main-nav__list { gap: 14px; }
    .main-nav__link { font-size: .84rem; }
    .packages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .process__step { padding-bottom: 26px; }
    .process__step:nth-child(3) { border-right: 0; }
}

@media (max-width: 1020px) {
    .topbar__tag { display: none; }
    .topbar__inner { justify-content: flex-end; }

    /* backdrop-filter прави хедъра „containing block“ за position: fixed
       наследници, поради което мобилното меню се свиваше до височината на
       хедъра. На мобилно изключваме ефекта, за да може панелът да покрие
       целия екран. */
    .site-header {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    /* Логото и бутонът (X) остават над отвореното меню. */
    .site-header__inner {
        position: relative;
        z-index: 120;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        width: 100%;
        max-width: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 124px 22px calc(28px + env(safe-area-inset-bottom));
        background: #fff;
        border-left: 0;
        box-shadow: none;
        transform: translateX(100%);
        transition: transform .28s var(--ease);
        overflow-y: auto;
        overscroll-behavior: contain;
        z-index: 110;
    }
    .main-nav.is-open { transform: translateX(0); }
    .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav__list li { border-bottom: 1px solid var(--line); }
    .main-nav__link { display: block; padding: 13px 2px; font-size: 1.05rem; }
    .main-nav__link::after { display: none; }
    .main-nav__cta { display: inline-flex; justify-content: center; width: 100%; margin-top: 22px; }
    .nav-toggle { display: flex; }
    .header-call { display: inline-flex; }
    .hero__inner { grid-template-columns: 1fr; gap: 44px; }
    .hero__media { max-width: 520px; }
    .report-card { left: auto; right: -6px; bottom: -24px; }
    .article-layout { grid-template-columns: 1fr; }
    .aside-card { position: static; }
    .contact-layout { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__brand { grid-column: 1 / -1; }
    .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split { grid-template-columns: 1fr; }
    .split--reverse .split__media { order: 0; }
    .section-head--split { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 760px) {
    body { font-size: 16px; }
    .brand__img { height: 32px; }
    .topbar__right { gap: 14px; font-size: .74rem; }
    .topbar__mail { display: none; }
    .hero__photo { aspect-ratio: 1 / 1; }
    .report-card { position: relative; right: auto; bottom: auto; left: auto; width: 100%; margin-top: -40px; margin-left: auto; margin-right: 0; }
    .metrics__inner { grid-template-columns: 1fr; }
    .metric { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0; }
    .metric:first-child { border-top: 0; }
    .check-grid { grid-template-columns: 1fr; }
    .packages { grid-template-columns: 1fr; }
    .process { grid-template-columns: 1fr; border-top: 0; }
    .process__step { border-right: 0; border-top: 1px solid rgba(255, 255, 255, .14); padding: 22px 0; }
    .process__step::before { display: none; }
    .process__icon { top: 26px; }
    .prefooter__inner { flex-direction: column; align-items: flex-start; }
    .video-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-grid { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; }
    .price-table th, .price-table td { padding-left: 16px; padding-right: 16px; }
    .price-table thead { display: none; }
    .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
    .price-table tr { border-bottom: 1px solid var(--line); padding: 6px 0; }
    .price-table tr:last-child { border-bottom: 0; }
    .price-table td { border: 0; padding: 8px 16px; }
    .price-table td:last-child { text-align: left; padding-top: 0; color: var(--blue); }
}

@media (max-width: 480px) {
    .hero__actions .btn { width: 100%; }
    .prefooter__actions { width: 100%; }
    .prefooter__actions .btn { flex: 1; }
    .gallery-grid { grid-template-columns: 1fr; }
}

/* --- Падащо меню (навигация) ------------------------------------------ */
.main-nav__item { position: relative; margin: 0; }
.main-nav__item-row,
.submenu__item-row {
    display: flex;
    align-items: center;
    gap: 2px;
}
.main-nav__item-row > .main-nav__link { flex: 1; }
.submenu__item-row > .submenu__link { flex: 1; }
.submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    border-radius: var(--radius);
    cursor: pointer;
    transition: color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease);
}
.submenu-toggle:hover { color: var(--navy); background: var(--sky-soft); }
.submenu-toggle svg { transform: rotate(90deg); transition: transform .18s var(--ease); }
.has-children.is-open > .main-nav__item-row .submenu-toggle svg,
.has-children.is-open > .submenu__item-row .submenu-toggle svg { transform: rotate(-90deg); }
.submenu {
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    min-width: 240px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
    z-index: 130;
}
.submenu--nested {
    left: calc(100% + 6px);
    top: -8px;
}
.submenu__item { position: relative; margin: 0; }
.submenu__link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 9px 10px;
    border-radius: var(--radius);
    color: var(--ink);
    font-size: .9rem;
    text-decoration: none;
    line-height: 1.35;
}
.submenu__link:hover { background: var(--sky-soft); color: var(--navy); }
.submenu__link.is-active { background: var(--blue-100); color: var(--navy); font-weight: 600; }
@media (min-width: 1021px) {
    .main-nav__item.has-children:hover > .submenu,
    .main-nav__item.has-children:focus-within > .submenu,
    .submenu__item.has-children:hover > .submenu,
    .submenu__item.has-children:focus-within > .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}
@media (max-width: 1020px) {
    .main-nav__item-row {
        width: 100%;
    }
    .main-nav__item-row > .main-nav__link {
        padding: 13px 2px;
    }
    .submenu-toggle {
        width: 38px;
        height: 38px;
        color: var(--navy);
    }
    .submenu {
        position: static;
        min-width: 0;
        margin: 0 0 10px 12px;
        padding: 0 0 0 10px;
        border: 0;
        border-left: 2px solid var(--line);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    .submenu--nested {
        margin-top: 4px;
        margin-left: 10px;
    }
    .has-children.is-open > .submenu {
        display: block;
    }
    .submenu__link {
        padding: 10px 4px;
        font-size: .98rem;
        border-radius: 0;
    }
}

/* --- Печат -------------------------------------------------------------- */
@media print {
    .topbar, .site-header, .prefooter, .site-footer, .to-top, .modal { display: none !important; }
    body { font-size: 11pt; color: #000; }
    a { color: #000; text-decoration: underline; }
    .hero, .page-hero { background: #fff; }
}
