/* ============================================================
   STYLE.CSS — ОСНОВНЫЕ СТИЛИ САЙТА ГЕО
   Версия 2.0 — сгруппировано по темам
   ============================================================ */

/* ============================================================
   1. ПЕРЕМЕННЫЕ
   ============================================================ */
:root {
    --green: #1e3a2f;
    --green-soft: #2c5443;
    --red: #dc2f3c;
    --red-dark: #b8242f;
    --blue: #2c4bc7;
    --beige: #f0ede5;
    --beige-dark: #e3ded1;
    --white: #ffffff;
    --ink: #1a2520;
    --muted: #6b7a72;
    --line: #d9d4c7;
    --radius: 14px;
    --radius-sm: 8px;
    --font-head: 'Oswald', sans-serif;
    --font-body: 'PT Sans', sans-serif;
}

/* ============================================================
   2. RESET
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--white);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; cursor: pointer; background: none; color: inherit; }
ul, ol { list-style: none; }
.container {
    width: min(1400px, calc(100% - 48px));
    margin-inline: auto;
}

/* ============================================================
   3. ТИПОГРАФИКА
   ============================================================ */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.1;
    color: var(--green);
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 5rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; }

/* ============================================================
   4. КНОПКИ
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 6px 18px 6px 18px;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}
.btn--primary {
    background: var(--red);
    color: #fff;
    border: 2px solid var(--red);
}
.btn--primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 47, 60, 0.25);
}
.btn--outline {
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
}
.btn--outline:hover {
    background: var(--green);
    color: #fff;
    transform: translateY(-2px);
}
.btn--ghost {
    background: transparent;
    color: var(--green);
    border: 2px solid var(--line);
}
.btn--ghost:hover {
    border-color: var(--green);
    color: var(--green);
}

/* ============================================================
   5. ШАПКА
   ============================================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.2s ease;
}
.header.is-scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
}
.header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.header__logo-img {
    display: block;
    width: 177px;
    height: 58px;
    object-fit: contain;
}
.header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}
.header__nav a {
    padding: 10px 16px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--green);
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}
.header__nav a:hover {
    background: var(--beige);
    color: var(--red);
}
.header__side {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.header__phones {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: right;
}
.header__phones a {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 600;
    color: var(--green);
    transition: color 0.2s ease;
    white-space: nowrap;
}
.header__phones a:hover { color: var(--red); }
.header__phones small {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.04em;
}
.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    transition: background 0.2s ease;
}
.header__burger:hover { background: var(--beige); }
.header__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transition: 0.25s ease;
}

/* ============================================================
   6. МОБИЛЬНОЕ МЕНЮ
   ============================================================ */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--white);
    padding: 90px 24px 40px;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--beige);
    color: var(--green);
    font-size: 20px;
    display: grid;
    place-items: center;
}
.mobile-menu a {
    padding: 18px 22px;
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--green);
    background: var(--beige);
    border-radius: 12px;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
}
.mobile-menu a:hover {
    background: var(--green);
    color: var(--white);
}
.mobile-menu__phones {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}
.mobile-menu__phones a {
    background: transparent;
    padding: 8px;
    font-size: 20px;
}
.mobile-menu__cta {
    margin-top: 24px;
    width: 100%;
    justify-content: center;
}
body.menu-open { overflow: hidden; }

/* ============================================================
   7. HERO
   ============================================================ */
.hero {
    position: relative;
    padding: 80px 0 0;
    background: var(--beige);
    overflow: hidden;
}
.hero__inner {
    max-width: 1100px;
    position: relative;
    z-index: 2;
}
.hero__label {
    display: inline-block;
    padding: 6px 16px;
    background: var(--white);
    color: var(--green);
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border-radius: 40px;
    border: 1px solid var(--line);
    margin-bottom: 24px;
}
.hero__title {
    margin-bottom: 28px;
    line-height: 0.98;
}
.hero__title span {
    display: block;
    color: var(--red);
}
.hero__subtitle {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    line-height: 1.6;
    color: var(--green-soft);
    max-width: 680px;
    margin-bottom: 44px;
}
.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 44px;
    padding: 32px 0;
    border-top: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
}
.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 16px;
    border-right: 1px solid var(--line);
}
.hero__stat:last-child { border-right: none; }
.hero__stat-value {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 600;
    color: var(--green);
    line-height: 1;
}
.hero__stat-value em {
    font-style: normal;
    color: var(--red);
}
.hero__stat-label {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.3;
}
.hero__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-bottom: 60px;
    min-height: 80px;
}
.hero__note {
    font-size: 14px;
    color: var(--muted);
}

/* Бегущая строка */
.hero__marquee {
    border-top: 1px solid var(--line);
    background: var(--green);
    padding: 20px 0;
    overflow: hidden;
}
.hero__marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 50s linear infinite;
    will-change: transform;
    transform: translateZ(0);
}
.hero__marquee-track span {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    padding-right: 48px;
}
.hero__marquee-track span::after {
    content: '·';
    color: var(--red);
    font-size: 28px;
    font-weight: 700;
    margin-left: 48px;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   8. ОБЩИЕ СЕКЦИИ
   ============================================================ */
.section { padding: 90px 0; }

/* Базовые модификаторы фона */
.section--white { background: var(--white); }
.section--beige { background: var(--beige); }

/* Модификатор с фоновой картинкой */
.section--bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
}
.section--bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(240, 237, 229, 0.85);
    pointer-events: none;
    z-index: 0;
}
.section--bg > .container {
    position: relative;
    z-index: 1;
}

/* Конкретные секции с фоновыми картинками */
.section--bg-objects {
    background-image: url('/files/bg-objects.jpg');
}
.section--bg-team {
    background-image: url('/files/bg-team.jpg');
}
.section--bg-contacts {
    background-image: url('/files/bg-contacts.jpg');
}

/* Заголовки секций */
.section-head {
    margin-bottom: 56px;
    max-width: 900px;
    min-height: 220px;
}
.section-head__label {
    display: inline-block;
    padding: 4px 14px;
    background: var(--white);
    color: var(--red);
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border-radius: 40px;
    border: 1px solid var(--red);
    margin-bottom: 16px;
}
.section--beige .section-head__label { background: var(--beige); }
.section-head h2 {
    margin-bottom: 16px;
    min-height: 60px;
}
.section-head p {
    font-size: 17px;
    color: var(--green-soft);
    max-width: 640px;
    line-height: 1.6;
}

/* ============================================================
   9. ХЛЕБНЫЕ КРОШКИ
   ============================================================ */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}
.breadcrumbs a {
    color: var(--green);
    font-weight: 600;
    transition: color 0.2s ease;
    text-decoration: none;
}
.breadcrumbs a:hover {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.breadcrumbs span[aria-hidden="true"] {
    color: var(--line);
    font-weight: 400;
}
.breadcrumbs > span:not([aria-hidden="true"]) {
    color: var(--muted);
    font-weight: 500;
}

/* ============================================================
   10. БЛОК «УСЛУГИ»
   ============================================================ */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--red);
    transition: width 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--green);
    box-shadow: 0 16px 40px rgba(30, 58, 47, 0.08);
}
.service-card:hover::before { width: 100%; }
.service-card__num {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 500;
    color: var(--red);
    letter-spacing: 0.1em;
}
.service-card__title {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 600;
    color: var(--green);
    line-height: 1.2;
    text-transform: uppercase;
}
.service-card__desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    flex: 1;
}
.service-card,
.object-card,
.team-card {
    will-change: transform;
}

/* ============================================================
   11. БЛОК «ОБЪЕКТЫ»
   ============================================================ */
.objects__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.object-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px 22px;
    background: var(--beige);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
    align-items: center;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.section--beige .object-card { background: var(--white); }
.object-card:hover {
    transform: translateY(-4px);
    border-color: var(--red);
}
.object-card__icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-size: 24px;
    transition: background 0.25s ease, transform 0.25s ease;
}
.object-card:hover .object-card__icon {
    background: var(--red);
    transform: scale(1.08);
}
.object-card__title {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

/* ============================================================
   12. БЛОК «ЦЕНЫ»
   ============================================================ */
.prices__table {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(30, 58, 47, 0.05);
}
.prices__row {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 24px;
    padding: 22px 28px;
    border-bottom: 1px solid var(--line);
    align-items: center;
    transition: background 0.2s ease;
}
.prices__row:last-child { border-bottom: none; }
.prices__row:hover { background: var(--beige); }
.prices__row--head {
    background: var(--green);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    pointer-events: none;
}
.prices__row--head:hover { background: var(--green); }
.prices__name {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.prices__name strong {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.prices__name span {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
}
.prices__value {
    text-align: right;
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 600;
    color: var(--red);
    white-space: nowrap;
}
.prices__value small {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}
.prices__footnote {
    margin-top: 24px;
    padding: 20px 24px;
    background: var(--beige);
    border-left: 4px solid var(--red);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--green-soft);
    line-height: 1.6;
}

/* ============================================================
   13. БЛОК «КОМАНДА»
   ============================================================ */
.team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.team-card {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.section--beige .team-card { background: var(--white); }
.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--green);
}
.team-card__role {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    background: var(--beige);
    color: var(--red);
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 40px;
    margin-bottom: 14px;
}
.team-card__name {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    line-height: 1.25;
    margin-bottom: 10px;
}
.team-card__info {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
}
.team-card__info strong {
    display: block;
    color: var(--green);
    font-weight: 600;
    margin-bottom: 2px;
}

/* ============================================================
   14. БЛОК «FAQ»
   ============================================================ */
.faq__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}
.faq__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.faq-item[open] {
    border-color: var(--green);
    background: var(--white);
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 500;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }
.faq-item summary i {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--red);
    transition: transform 0.3s ease;
}
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item__answer {
    padding: 0 24px 22px;
    font-size: 15px;
    color: var(--green-soft);
    line-height: 1.6;
}

/* ============================================================
   15. БЛОК «ЗАКОНОДАТЕЛЬСТВО И ПОЛЕЗНЫЕ ССЫЛКИ»
   ============================================================ */
.docs__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
    align-items: start;
}

/* Левая колонка: аккордеон */
.docs__accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.docs-group {
    background: var(--beige);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.docs-group[open] {
    border-color: var(--green);
    background: var(--white);
}
.docs-group__head {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease;
    user-select: none;
}
.docs-group__head::-webkit-details-marker { display: none; }
.docs-group__head:hover .docs-group__title { color: var(--red); }
.docs-group__title {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--green);
    transition: color 0.2s ease;
}
.docs-group__count {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
}
.docs-group[open] .docs-group__count {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}
.docs-group__arrow {
    font-size: 12px;
    color: var(--red);
    transition: transform 0.3s ease;
}
.docs-group[open] .docs-group__arrow {
    transform: rotate(180deg);
}
.docs-group__list {
    padding: 4px 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-top: 1px solid var(--line);
}
.docs-group__list li {
    padding: 8px 0;
}
.docs-group__list a,
.docs-group__list span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--green-soft);
    transition: color 0.2s ease;
}

/* Иконка по умолчанию — «документ» */
.docs-group__list a::before,
.docs-group__list span::before {
    content: '\f15c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    font-size: 13px;
    color: var(--muted);
    flex-shrink: 0;
    margin-top: 3px;
    width: 14px;
    text-align: center;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Ссылка на внешний ресурс (Гарант) — «внешняя ссылка» */
.docs-group__list a.doc-link--external::before {
    content: '\f08e';
    font-weight: 900;
    color: var(--green);
}

/* Ссылка на файл .rtf — «скачать» */
.docs-group__list a.doc-link--file::before {
    content: '\f019';
    font-weight: 900;
    color: var(--red);
}

/* Ховеры */
.docs-group__list a:hover {
    color: var(--red);
}
.docs-group__list a.doc-link--external:hover::before {
    color: var(--red);
    transform: translate(2px, -2px);
}
.docs-group__list a.doc-link--file:hover::before {
    color: var(--red-dark);
    transform: translateY(2px);
}

/* Правая колонка: полезные ссылки */
.docs__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 100px;
}
.docs__links-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 6px;
}
.docs__links-label {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    background: var(--beige);
    color: var(--red);
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border-radius: 40px;
}
.docs__links-title {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.useful-link {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--beige);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.useful-link:hover {
    transform: translateY(-3px);
    border-color: var(--green);
    background: var(--white);
}
.useful-link__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--green);
    color: var(--white);
    font-size: 18px;
    transition: background 0.25s ease;
}
.useful-link:hover .useful-link__icon {
    background: var(--red);
}
.useful-link__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.useful-link__body strong {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 500;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.3;
}
.useful-link__body small {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.04em;
}
.useful-link__arrow {
    font-size: 14px;
    color: var(--muted);
    transition: color 0.2s ease, transform 0.2s ease;
}
.useful-link:hover .useful-link__arrow {
    color: var(--red);
    transform: translate(3px, -3px);
}

/* ============================================================
   16. БЛОК «КОНТАКТЫ»
   ============================================================ */
.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 50px;
}
.contacts__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contacts__cta {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.25s ease;
}
.contact-item:hover { border-color: var(--green); }
.contact-item__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--beige);
    color: var(--red);
    font-size: 18px;
}
.contact-item__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.contact-item__label {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.contact-item__value {
    font-size: 16px;
    color: var(--green);
    font-weight: 600;
    line-height: 1.4;
    word-wrap: break-word;
}
.contact-item__value a {
    color: var(--green);
    transition: color 0.2s ease;
}
.contact-item__value a:hover { color: var(--red); }
.contact-item__value small {
    display: block;
    font-size: 13px;
    color: var(--muted);
    font-weight: 400;
    margin-top: 2px;
}

/* Карта */
.contacts__map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    height: 500px;
    background: var(--beige);
    position: relative;
}
.contacts__map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 100%;
    padding: 32px;
    text-align: center;
}
.contacts__map-placeholder i {
    font-size: 48px;
    color: var(--red);
}
.contacts__map-placeholder p {
    font-size: 15px;
    color: var(--muted);
    margin: 0;
}

/* ============================================================
   17. СТРАНИЦЫ ДОКУМЕНТОВ (ПОЛИТИКИ)
   ============================================================ */
.doc-page {
    padding: 60px 0 80px;
    background: var(--white);
}
.doc-page__header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--line);
    max-width: 900px;
}
.doc-page__header h1 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin-bottom: 12px;
}
.doc-page__header p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.5;
}
.doc-page__content {
    max-width: 900px;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.75;
}
.doc-page__content h4 {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin: 40px 0 16px;
    line-height: 1.3;
}
.doc-page__content h4:first-child {
    margin-top: 0;
}
.doc-page__content h4 strong {
    color: inherit;
    font-weight: inherit;
}
.doc-page__content p {
    margin: 0 0 16px;
    line-height: 1.75;
}
.doc-page__content p:last-child {
    margin-bottom: 0;
}
.doc-page__content p strong {
    color: var(--green);
    font-weight: 700;
}
.doc-page__content ul,
.doc-page__content ol {
    margin: 0 0 20px;
    padding-left: 0;
    list-style: none;
}
.doc-page__content ul li {
    position: relative;
    padding: 6px 0 6px 26px;
    line-height: 1.7;
}
.doc-page__content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
}
.doc-page__content ol {
    counter-reset: item;
}
.doc-page__content ol li {
    position: relative;
    counter-increment: item;
    padding: 6px 0 6px 34px;
    line-height: 1.7;
}
.doc-page__content ol li::before {
    content: counter(item) '.';
    position: absolute;
    left: 0;
    top: 6px;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--red);
    font-size: 15px;
}
.doc-page__content a {
    color: var(--green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 0.2s ease;
}
.doc-page__content a:hover {
    color: var(--red);
}
.doc-page__content em {
    font-style: italic;
    color: var(--muted);
}
.doc-page__content .doc-page__numbered-list {
    margin: 32px 0 12px;
    padding-left: 0;
    list-style: none;
    counter-reset: none;
}
.doc-page__content .doc-page__numbered-list li {
    counter-increment: none;
    padding-left: 0;
    position: relative;
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.3;
}
.doc-page__content .doc-page__numbered-list li::before {
    display: none;
}
.doc-page__content .doc-page__numbered-list li strong {
    color: inherit;
    font-weight: inherit;
}

/* ============================================================
   18. МОДАЛЬНОЕ ОКНО
   ============================================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal.is-open {
    display: flex;
    animation: modalFade 0.25s ease;
}
@keyframes modalFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 47, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}
.modal__dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 36px 36px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    animation: modalSlide 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}
@keyframes modalSlide {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--beige);
    color: var(--green);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}
.modal__close:hover {
    background: var(--red);
    color: var(--white);
    transform: rotate(90deg);
}
.modal__header {
    margin-bottom: 24px;
    padding-right: 40px;
}
.modal__title {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.15;
    margin-bottom: 6px;
}
.modal__subtitle {
    font-size: 14px;
    color: var(--muted);
}
.modal__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.modal__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.modal__field > span {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 500;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.modal__input,
.modal__select {
    width: 100%;
    padding: 14px 18px;
    background: var(--beige);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.25s ease, background 0.25s ease;
    appearance: none;
    -webkit-appearance: none;
}
.modal__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231e3a2f' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 44px;
    cursor: pointer;
}
.modal__input::placeholder {
    color: var(--muted);
}
.modal__input:focus,
.modal__select:focus {
    outline: none;
    border-color: var(--green);
    background-color: var(--white);
}
.modal__input.error,
.modal__select.error {
    border-color: var(--red);
    background: #fef0f1;
}
.modal__trap {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}
.modal__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
    cursor: pointer;
    margin-top: 4px;
}
.modal__consent input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--red);
    cursor: pointer;
}
.modal__consent.error {
    color: var(--red);
}
.modal__consent a {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.modal__consent a:hover { color: var(--red); }
.modal__submit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}
.modal__status {
    min-height: 0;
    margin: 0;
    font-size: 13px;
    text-align: center;
    color: var(--muted);
}
.modal__status[data-state="error"] { color: var(--red); }
.modal__status[data-state="success"] { color: var(--green); font-weight: 600; }

/* Экран «Спасибо» */
.modal__success {
    text-align: center;
    padding: 20px 0;
}
.modal__success[hidden] { display: none; }
.modal__success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--green-soft));
    color: var(--white);
    font-size: 36px;
    margin-bottom: 20px;
    animation: successPulse 0.5s ease;
}
@keyframes successPulse {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}
.modal__success-title {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.modal__success-text {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 24px;
}
body.modal-open { overflow: hidden; }

/* ============================================================
   19. ПОДВАЛ
   ============================================================ */
.footer {
    background: var(--green);
    color: rgba(255, 255, 255, 0.75);
    padding: 60px 0 24px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__col h3 {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}
.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer__col ul a,
.footer__col ul span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
    line-height: 1.5;
}
.footer__col ul a:hover { color: var(--red); }
.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer__logo-wrap {
    display: inline-flex;
    align-self: flex-start;
    padding: 10px 14px;
    background: #fff;
    border-radius: 10px;
}
.footer__logo-img {
    display: block;
    width: 180px;
    height: 58px;
    object-fit: contain;
}
.footer__brand-text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    max-width: 320px;
}
.footer__phones {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}
.footer__phones a {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    transition: color 0.2s ease;
}
.footer__phones a:hover { color: var(--red); }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}
.footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}
.footer__legal a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s ease;
}
.footer__legal a:hover { color: var(--red); }

/* ============================================================
   КНОПКА «НАВЕРХ»
   ============================================================ */
.scroll-up {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.25s ease;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(30, 58, 47, 0.25);
}
.scroll-up.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-up:hover {
    background: var(--red);
    transform: translateY(-3px);
}

/* ============================================================
   20. СТРАНИЦА 404
   ============================================================ */
.error-page {
    padding: 100px 0 120px;
    background: var(--beige);
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.error-page__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.error-page__code {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 600;
    color: var(--red);
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}
.error-page__title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 16px;
}
.error-page__desc {
    font-size: 17px;
    color: var(--green-soft);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}
.error-page__links {
    padding-top: 28px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: var(--muted);
}
.error-page__links a {
    color: var(--green);
    font-weight: 600;
    transition: color 0.2s ease;
}
.error-page__links a:hover {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

