/* Палитра и типографика — по макету СК ТЕПЛО (тёмно-синий фон, оранжевый акцент). */

:root {
    --color-bg: #1b2632;
    --color-bg-alt: #1b2632;
    --color-header: #1b2632;
    --color-primary: #fa5701;
    --color-text: #ffffff;
    --color-muted: #97a3b3;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-card: rgba(43, 63, 85, 0.4);
    --container-width: 1200px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 clamp(24px, 12.656vw, 243px);
}

a {
    color: inherit;
}

h1, h2, h3 {
    line-height: 1.25;
    margin: 0 0 16px;
}

.muted {
    color: var(--color-muted);
}

/* Шапка */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(10px, 0.938vw, 18px);
    padding-top: 57px;
    padding-bottom: 57px;
    flex-wrap: wrap;
}

.logo {
    display: inline-flex;
    text-decoration: none;
    white-space: nowrap;
}

.logo__img {
    display: block;
    height: clamp(28px, 4.27vw, 82px);
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(8px, 0.938vw, 18px);
    flex-wrap: wrap;
}

.nav__link {
    display: inline-block;
    padding: clamp(6px, 0.469vw, 9px) clamp(10px, 0.938vw, 18px);
    border-radius: 20px;
    /* «Стеклянная» кнопка: полупрозрачная заливка с бликом сверху,
       размытие фона под кнопкой и светлая тонкая кромка */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 55%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(250, 87, 1, 0.8);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(255, 255, 255, 0.06),
        inset 0 0 6px rgba(250, 87, 1, 0.25),
        0 0 7px rgba(250, 87, 1, 0.35),
        0 4px 14px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    text-decoration: none;
    color: var(--color-text);
    font-size: clamp(12px, 0.833vw, 16px);
    line-height: 20px;
    font-weight: 500;
    white-space: nowrap;
}

/* При наведении — оранжевое «стекло»: полупрозрачная оранжевая заливка
   с тем же бликом сверху, фон под кнопкой по-прежнему размыт и просвечивает */
.nav__link:hover {
    border-color: #ff7a2e;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0) 100%),
        rgba(250, 87, 1, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        0 0 16px rgba(250, 87, 1, 0.45),
        0 4px 14px rgba(0, 0, 0, 0.28);
}

.nav__item {
    position: relative;
}

.nav__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 320px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 8px;
    z-index: 20;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

/* Невидимый «мостик» над списком: закрывает зазор между кнопкой «Услуги»
   и выпадающим списком, чтобы курсор не выходил из меню по пути вниз. */
.nav__dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
}

.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown,
.nav__item--dropdown.is-open .nav__dropdown {
    display: block;
}

.nav__dropdown-link {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    font-size: 14px;
}

.nav__dropdown-link:hover {
    background: rgba(232, 98, 44, 0.15);
    color: var(--color-primary);
}

.header__contacts {
    display: inline-block;
    padding: clamp(6px, 0.469vw, 9px) clamp(8px, 0.729vw, 14px);
    border-radius: 20px;
    background: rgba(84, 78, 73, 0.2);
    border: 1px solid rgba(250, 87, 1, 0.5);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    font-size: clamp(11px, 0.729vw, 14px);
    font-weight: 500;
    text-decoration: underline;
    color: var(--color-text);
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 1520px) {
    .header__contacts {
        white-space: normal;
        max-width: 220px;
    }
}

@media (max-width: 1100px) {
    .header__inner {
        gap: 8px;
    }

    .header__contacts {
        max-width: 150px;
        font-size: 10px;
    }

    .nav {
        gap: 6px;
    }

    .nav__link {
        padding: 6px 7px;
        font-size: 11px;
    }
}

.header__contacts a {
    color: inherit;
    text-decoration: underline;
}

/* Почта и телефоны в шапке — стеклянные кнопки, как пункты меню */
.header__pills {
    display: flex;
    align-items: center;
    gap: clamp(6px, 0.625vw, 12px);
    flex-shrink: 0;
}

.header__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header__pill a {
    color: inherit;
    text-decoration: none;
}

.header__pill a + a {
    margin-left: 10px;
}

.header__pill a:hover {
    text-decoration: underline;
}

.header__pill-icon {
    display: inline-flex;
    align-items: center;
    width: 15px;
    height: 20px;
    color: #ff7a2e;
    flex-shrink: 0;
}

.header__pill:hover .header__pill-icon {
    color: #fff;
}

.header__pill-icon svg {
    width: 15px;
    height: 15px;
    stroke-width: 2;
}

/* Шапка шире контента: логотип, меню и кнопки контактов помещаются в одну строку */
.site-header .header__inner {
    padding-left: clamp(16px, 6.25vw, 120px);
    padding-right: clamp(16px, 6.25vw, 120px);
    flex-wrap: nowrap;
}

@media (min-width: 641px) {
    .site-header .nav {
        flex-wrap: nowrap;
    }
}

/* На ноутбуках (901–1400 px) почта — кнопка-значок, иначе шапка не помещается в строку.
   На планшетах и телефонах кнопки контактов стоят отдельной строкой, и адрес почты виден целиком. */
@media (max-width: 1400px) and (min-width: 901px) {
    .header__pill--mail .header__pill-text {
        display: none;
    }

    .header__pill--mail {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Планшеты: кнопки контактов переносятся отдельной строкой под меню */
@media (max-width: 900px) {
    .site-header .header__inner {
        flex-wrap: wrap;
        row-gap: 10px;
    }
}

/* Планшеты (641–900 px): логотип, меню и кнопки контактов — по центру, каждая группа своей строкой */
@media (max-width: 900px) and (min-width: 641px) {
    .site-header .header__inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        row-gap: 14px;
    }

    .site-header .nav,
    .header__pills {
        justify-content: center;
    }

    /* Шапка в три строки выше — опускаем начало страниц «Услуги», «Объекты», «Контакты» и документов */
    .section.section--top {
        padding-top: 190px;
    }
}

@media (max-width: 640px) {
    .header__pills {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 6px;
    }

    .site-header .header__pill {
        padding: 8px 12px;
        gap: 6px;
        font-size: 12.5px;
    }

    .header__pill a + a {
        margin-left: 8px;
    }
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #0d1622 0%, #1a2431 55%, #23303f 100%);
    aspect-ratio: 1920 / 1140;
    display: flex;
    align-items: center;
}

.hero__photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 38%;
    background-repeat: no-repeat;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(63.74deg, rgba(23, 35, 50, 0) 29.31%, rgba(250, 87, 1, 0.17) 87.72%),
        linear-gradient(90deg, #172332 9.99%, rgba(43, 63, 85, 0.19) 81.14%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    background: rgba(84, 78, 73, 0.2);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    font-size: 13px;
    color: var(--color-text);
    margin-bottom: 24px;
}

.hero__title {
    font-size: clamp(28px, 3.333vw, 64px);
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.accent {
    color: var(--color-primary);
}

.hero__stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero__stats--static {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 24px;
}

.stat-card {
    background: var(--color-card);
    border-radius: 20px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    padding: 16px 20px;
    backdrop-filter: blur(6px);
}

.hero__stats--static .stat-card {
    flex: 1;
    min-width: 200px;
}

.stat-card__value {
    display: block;
    font-size: clamp(18px, 1.667vw, 32px);
    line-height: 1.22;
    font-weight: 800;
    color: var(--color-primary);
}

.stat-card__label {
    display: block;
    color: var(--color-text);
    font-weight: 400;
    font-size: clamp(14px, 1.25vw, 24px);
    line-height: 1.21;
    margin-top: 4px;
}

/* Верхний блок страницы "О нас" (декоративный градиент + штамп-печать) */

.about-hero {
    background: linear-gradient(120deg, #0d1622 0%, #1a2431 55%, #23303f 100%);
    padding: 150px 0 48px;
    position: relative;
    overflow: hidden;
}

.about-hero .container {
    position: relative;
}

.about-heading {
    font-size: clamp(28px, 2.917vw, 56px);
    line-height: 1.214;
    font-weight: 800;
}

.about-hero .lead {
    font-size: clamp(16px, 1.667vw, 32px);
    line-height: 1.219;
    max-width: 1423px;
}

.stamp {
    position: absolute;
    top: 8px;
    right: 24px;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    opacity: 0.55;
    padding: 14px 26px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 1px;
    transform: rotate(-12deg);
    text-transform: uppercase;
    white-space: nowrap;
}

/* Карточки ценностей ("Ключевые ценности компании") */

.value-cards {
    grid-template-columns: 1fr 1.209fr 1fr;
    align-items: center;
    gap: clamp(16px, 1.771vw, 34px);
}

.value-card {
    position: relative;
}

.card.value-card {
    padding: clamp(28px, 2.969vw, 57px) clamp(9px, 0.938vw, 18px) clamp(31px, 3.385vw, 65px);
    text-align: center;
}

.value-card h3 {
    font-size: clamp(18px, 1.667vw, 32px);
    line-height: 1.219;
    font-weight: 600;
}

.value-card__number {
    position: absolute;
    top: clamp(8px, 0.99vw, 19px);
    right: clamp(8px, 0.833vw, 16px);
    font-size: clamp(20px, 1.979vw, 38px);
    font-weight: 700;
    color: var(--color-muted);
    opacity: 0.4;
}

.value-card--highlight {
    border-color: var(--color-primary);
    background: rgba(232, 98, 44, 0.08);
}

.card.value-card.value-card--highlight {
    padding: clamp(29px, 3.021vw, 58px) clamp(17px, 1.771vw, 34px) clamp(30px, 3.073vw, 59px);
}

.value-card--highlight h3 {
    font-size: clamp(22px, 2.083vw, 40px);
    line-height: 1.225;
    font-weight: 700;
}

.value-card--highlight .value-card__number {
    top: clamp(10px, 1.198vw, 23px);
    right: clamp(9px, 0.99vw, 19px);
    font-size: clamp(26px, 2.5vw, 48px);
}

.value-card p {
    color: var(--color-muted);
    font-size: clamp(14px, 1.042vw, 20px);
    line-height: 1.2;
    margin: 12px auto 0;
    max-width: 388px;
}

.value-card--highlight p {
    font-size: clamp(16px, 1.25vw, 24px);
    line-height: 1.208;
    max-width: 441px;
}

/* Список "Где мы работаем" */

.work-list {
    display: grid;
    gap: 16px;
    margin-top: 20px;
    max-width: clamp(320px, 67.76vw, 1301px);
}

.work-list p {
    font-size: clamp(16px, 1.667vw, 32px);
    line-height: 1.219;
}

.work-list__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.work-list__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-primary);
    margin-top: 7px;
    flex-shrink: 0;
}

.work-list p {
    margin: 0;
    color: var(--color-muted);
}

.work-list__item--plain {
    padding-left: 21px;
}

/* Секции / преимущества */

.section {
    padding: 64px 0;
}

.section--features {
    background: var(--color-bg-alt);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.feature {
    text-align: center;
}

.feature__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: clamp(56px, 6.25vw, 120px);
    margin: 0 auto 20px;
}

.feature__icon img {
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.feature p {
    color: var(--color-text);
    font-weight: 300;
    font-size: clamp(15px, 1.458vw, 28px);
    line-height: 1.214;
}

/* Главная: три карточки 01/02/03 на фоне бледного водяного знака «СК ТЕПЛО» */

.section--home-cards {
    position: relative;
    overflow: hidden;
    background: var(--color-bg-alt);
    padding: clamp(48px, 5.208vw, 100px) 0;
}

.watermark--faint .watermark__row {
    opacity: 0.05;
    height: clamp(32px, 3.75vw, 72px);
    background-size: auto clamp(32px, 3.75vw, 72px);
    background-position: clamp(12px, 1.875vw, 36px) center;
}

.watermark--faint .watermark__row:nth-child(even) {
    background-position: calc(clamp(12px, 1.875vw, 36px) - clamp(89px, 10.38vw, 199px)) center;
}

.section--home-cards > .container {
    position: relative;
    z-index: 1;
}

.home-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 1.667vw, 32px);
}

.home-card {
    position: relative;
    background: var(--color-card);
    border-radius: clamp(28px, 2.917vw, 56px);
    /* Оранжевое свечение по контуру: тонкая линия + мягкий ореол снаружи и внутри */
    border: 1px solid rgba(250, 87, 1, 0.45);
    box-shadow:
        0 4px 4px rgba(0, 0, 0, 0.25),
        0 0 14px rgba(250, 87, 1, 0.28),
        0 0 36px rgba(250, 87, 1, 0.14),
        inset 0 0 22px rgba(250, 87, 1, 0.08);
    padding: clamp(24px, 2.344vw, 45px) clamp(22px, 1.771vw, 34px) clamp(32px, 3.125vw, 60px);
    min-height: clamp(360px, 31.9vw, 613px);
    color: var(--color-text);
}

/* Яркие «блики» на контуре: сверху ближе к правому углу, слева и справа */
.home-card::before,
.home-card::after,
.home-card__flare {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 2px;
    background: #ff8a3d;
    box-shadow: 0 0 8px 1px rgba(250, 87, 1, 0.9), 0 0 22px 4px rgba(250, 87, 1, 0.45);
}

.home-card::before {
    top: -1.5px;
    left: 42%;
    right: 13%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff8a3d 35%, #ffb27a 60%, #ff8a3d 85%, transparent);
}

.home-card::after {
    left: -1.5px;
    top: 26%;
    height: 20%;
    width: 2px;
    background: linear-gradient(180deg, transparent, #ffb27a 50%, transparent);
}

.home-card__flare {
    right: -1.5px;
    top: 62%;
    height: 22%;
    width: 2px;
    background: linear-gradient(180deg, transparent, #ffb27a 50%, transparent);
}

.home-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.home-card__number {
    font-size: clamp(36px, 3.333vw, 64px);
    line-height: 1;
    font-weight: 700;
    color: #7a848e;
    letter-spacing: -1px;
}

.home-card__icon {
    flex-shrink: 0;
    width: clamp(52px, 3.906vw, 75px);
    height: clamp(52px, 3.906vw, 75px);
    border: 2px solid #fa5701;
    border-radius: 50%;
    padding: clamp(9px, 0.729vw, 14px);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Свечение значка: неоновое кольцо снаружи и внутри */
    box-shadow:
        0 0 8px rgba(250, 87, 1, 0.85),
        0 0 22px rgba(250, 87, 1, 0.45),
        inset 0 0 10px rgba(250, 87, 1, 0.45);
}

.home-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.45) saturate(1.3) drop-shadow(0 0 3px rgba(250, 87, 1, 0.9)) drop-shadow(0 0 8px rgba(250, 87, 1, 0.5));
}

.home-card__title {
    margin: clamp(4px, 0.417vw, 8px) 0 0;
    font-size: clamp(22px, 2.083vw, 40px);
    line-height: 1.25;
    font-weight: 700;
}

.home-card__title::after {
    content: "";
    display: block;
    width: clamp(48px, 4.167vw, 80px);
    height: 3px;
    border-radius: 2px;
    background: var(--color-primary);
    margin-top: clamp(10px, 0.938vw, 18px);
}

.home-card p {
    margin: clamp(14px, 1.25vw, 24px) 0 0;
    font-size: clamp(14px, 1.25vw, 24px);
    line-height: 1.3;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
}

/* Split-блок ("о компании" на главной) */

.section__heading {
    font-size: clamp(22px, 2.083vw, 40px);
    margin-bottom: 32px;
}

.section--split-glow {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #74381e 0%, #74381e 13%, #673821 19.6%, #603424 26.1%, #523024 32.6%, #482e27 39.2%, #3d2e29 45.7%, #2f262e 52.2%, #2a242b 58.7%, #1b2632 65%, #1b2632 100%);
}

.section--split-glow::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.85%22%20numOctaves%3D%222%22%20stitchTiles%3D%22stitch%22/%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23n%29%22/%3E%3C/svg%3E");
    opacity: 0.12;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.section--split-glow > .container {
    position: relative;
    z-index: 1;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.split__card {
    background: #26323f;
    border-radius: 24px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    padding: 40px;
}

.split__card p {
    color: var(--color-text);
    font-weight: 500;
    font-size: clamp(16px, 1.667vw, 32px);
    line-height: 1.22;
}

.split__image {
    background-color: #16202c;
    border-radius: 24px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 260px;
}

/* Карточки (услуги, объекты) */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.card {
    padding: 24px;
    background: var(--color-card);
    border-radius: 20px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    color: var(--color-text);
    display: block;
}

.service-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.service-card__arrow {
    color: var(--color-primary);
    font-size: 20px;
}

.project-card__image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.project-detail__image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 24px;
}

.breadcrumb {
    color: var(--color-muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--color-muted);
    text-decoration: underline;
}

.lead {
    color: var(--color-muted);
    max-width: 720px;
    font-size: 16px;
}

/* Кнопки */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.btn--primary {
    background: var(--color-primary);
    color: #fff;
}

/* Блок с формой заявки */

.section--contact {
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 5.208vw, 100px) 0;
}

.watermark {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.watermark__row {
    height: clamp(28px, 6.823vw, 131px);
    background-image: url("/static/images/brand/wordmark-watermark.png");
    background-repeat: repeat-x;
    background-size: auto clamp(28px, 6.823vw, 131px);
    background-position: 0 center;
    opacity: 0.14;
}

.section--contact > .container {
    position: relative;
    z-index: 1;
}

/* Визитка с формой: такая же полупрозрачная карточка, как карточки 01/02/03
   на главной, без оранжевой рамки и свечения. */
.contact-panel {
    display: grid;
    grid-template-columns: clamp(220px, 20.3vw, 390px) clamp(260px, 24.27vw, 466px);
    justify-content: center;
    column-gap: clamp(32px, 4.9vw, 94px);
    align-items: center;
    background: var(--color-card);
    border-radius: clamp(28px, 2.917vw, 56px);
    /* Визитка уже, чем контейнер, и с меньшими отступами сверху и снизу —
       прямоугольник плотнее облегает заголовок, логотип и форму. */
    max-width: clamp(320px, 61.46vw, 1180px);
    padding: clamp(32px, 3.125vw, 60px) clamp(24px, 3.125vw, 60px);
    margin: 0 auto;
    position: relative;
    /* Свечение по контуру — в том же стиле, что у карточек 01/02/03 на главной */
    border: 1px solid rgba(250, 87, 1, 0.5);
    box-shadow:
        0 4px 4px rgba(0, 0, 0, 0.25),
        0 0 16px rgba(250, 87, 1, 0.3),
        0 0 44px rgba(250, 87, 1, 0.14),
        inset 0 0 26px rgba(250, 87, 1, 0.08);
}

/* Яркие блики на контуре визитки: верхний край, левая сторона, правый нижний угол */
.contact-panel::before,
.contact-panel__flare {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 2px;
    box-shadow: 0 0 8px 1px rgba(250, 87, 1, 0.9), 0 0 24px 5px rgba(250, 87, 1, 0.45);
}

.contact-panel::before {
    top: -1.5px;
    left: 18%;
    right: 18%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff8a3d 30%, #ffb27a 50%, #ff8a3d 70%, transparent);
    box-shadow: 0 0 6px rgba(250, 87, 1, 0.6);
    opacity: 0.8;
}

.contact-panel__flare--left {
    left: -1.5px;
    top: 18%;
    height: 50%;
    width: 2px;
    background: linear-gradient(180deg, transparent, #ffb27a 50%, transparent);
}

.contact-panel__flare--right {
    right: -1.5px;
    bottom: 12%;
    height: 30%;
    width: 2px;
    background: linear-gradient(180deg, transparent, #ffb27a 60%, transparent);
}

.contact-panel__intro h2 {
    font-size: clamp(22px, 2.083vw, 40px);
    line-height: 1.3;
    font-weight: 600;
    white-space: nowrap;
}

.logo--panel {
    margin-top: clamp(24px, 2.917vw, 56px);
}

/* Логотип без подписи «инженерные системы…» (как в шапке) — чуть крупнее,
   чтобы занимал то же место, что и прежний логотип с подписью */
.logo--panel .logo__img {
    height: auto;
    width: 100%;
    max-width: clamp(220px, 21.35vw, 410px);
}

.logo--footer .logo__img {
    height: auto;
    width: clamp(200px, 28.75vw, 552px);
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 7px 20px;
    font-size: clamp(13px, 0.833vw, 16px);
    line-height: 20px;
    border: none;
    border-radius: 999px;
    font-family: inherit;
    background: #fff;
    color: #1a2431;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* Поле формы со значком слева */
.contact-field {
    position: relative;
    display: block;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    padding-left: clamp(46px, 2.917vw, 56px);
}

.contact-field__icon {
    position: absolute;
    left: clamp(16px, 1.042vw, 20px);
    top: 50%;
    transform: translateY(-50%);
    width: clamp(18px, 1.146vw, 22px);
    height: clamp(18px, 1.146vw, 22px);
    color: #1b2632;
    pointer-events: none;
    display: flex;
}

.contact-field--textarea .contact-field__icon {
    top: 14px;
    transform: none;
}

.contact-field__icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.8;
}

.contact-form textarea {
    border-radius: 16px;
    padding-top: 14px;
    padding-bottom: 10px;
    min-height: clamp(72px, 4.53vw, 87px);
    resize: vertical;
}

.contact-form button[type="submit"] {
    justify-self: center;
    padding: 10px 20px;
    font-size: clamp(14px, 0.833vw, 16px);
    font-weight: 600;
    border-radius: 16px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.contact-form ::placeholder {
    color: #6b7684;
}

.form-status {
    min-height: 20px;
    font-size: 14px;
    color: var(--color-muted);
    grid-column: 1 / -1;
    text-align: center;
    margin: 0;
}

/* Пустая строка статуса не занимает места — форма остаётся по центру визитки. */
.form-status:empty {
    display: none;
}

/* Страница «Контакты» */

.section--contacts {
    position: relative;
    overflow: hidden;
    padding-bottom: clamp(48px, 5.208vw, 100px);
}

.section--contacts > .container {
    position: relative;
    z-index: 1;
}

.contacts-heading {
    display: flex;
    align-items: center;
    gap: clamp(16px, 1.667vw, 32px);
}

.contacts-heading__dash {
    display: inline-block;
    width: clamp(40px, 4.167vw, 80px);
    height: 4px;
    border-radius: 2px;
    background: var(--color-primary);
}

.contacts-lead {
    color: var(--color-muted);
    font-size: clamp(16px, 1.25vw, 24px);
    line-height: 1.35;
    max-width: clamp(280px, 46.875vw, 900px);
    margin: 0 0 clamp(32px, 3.125vw, 60px);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 1.667vw, 32px);
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 0.625vw, 12px);
    background: var(--color-card);
    border: 1px solid rgba(250, 87, 1, 0.35);
    border-radius: clamp(24px, 2.083vw, 40px);
    box-shadow:
        0 4px 4px rgba(0, 0, 0, 0.25),
        0 0 14px rgba(250, 87, 1, 0.18),
        inset 0 0 22px rgba(250, 87, 1, 0.06);
    padding: clamp(24px, 1.875vw, 36px) clamp(20px, 1.563vw, 30px);
}

.contact-card__icon {
    width: clamp(52px, 3.906vw, 75px);
    height: clamp(52px, 3.906vw, 75px);
    border: 2px solid #fa5701;
    border-radius: 50%;
    padding: clamp(12px, 0.99vw, 19px);
    color: #ff7a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(8px, 0.833vw, 16px);
    box-shadow:
        0 0 8px rgba(250, 87, 1, 0.85),
        0 0 22px rgba(250, 87, 1, 0.45),
        inset 0 0 10px rgba(250, 87, 1, 0.45);
}

.contact-card__icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 3px rgba(250, 87, 1, 0.8));
}

.contact-card__title {
    margin: 0;
    font-size: clamp(18px, 1.354vw, 26px);
    font-weight: 700;
}

.contact-card__title::after {
    content: "";
    display: block;
    width: clamp(36px, 2.5vw, 48px);
    height: 3px;
    border-radius: 2px;
    background: var(--color-primary);
    margin: clamp(8px, 0.625vw, 12px) 0 clamp(4px, 0.417vw, 8px);
}

.contact-card__value {
    color: #fff;
    text-decoration: none;
    font-size: clamp(16px, 1.146vw, 22px);
    font-weight: 600;
    white-space: nowrap;
}

.contact-card__value:hover,
.contact-card__link:hover {
    color: var(--color-primary);
}

.contact-card__text {
    margin: 0;
    font-size: clamp(14px, 0.99vw, 19px);
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
}

.contact-card__note {
    margin: 0;
    font-size: clamp(13px, 0.833vw, 16px);
    line-height: 1.35;
    color: var(--color-muted);
}

.contact-card__link {
    margin-top: auto;
    padding-top: 8px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(14px, 0.885vw, 17px);
}

@media (max-width: 1450px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   Страница «О нас» (новый макет). Все классы с префиксом ab-.
   ============================================================ */

.ab-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 clamp(10px, 0.938vw, 18px);
    font-size: clamp(11px, 0.729vw, 14px);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.ab-eyebrow::before {
    content: "";
    width: clamp(18px, 1.354vw, 26px);
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

.ab-h2 {
    margin: 0 0 clamp(16px, 1.25vw, 24px);
    font-size: clamp(26px, 2.292vw, 44px);
    line-height: 1.15;
    font-weight: 800;
}

.ab-h2__line {
    display: block;
}

.ab-text {
    margin: 0 0 clamp(24px, 2.083vw, 40px);
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(15px, 1.042vw, 20px);
    line-height: 1.5;
    max-width: 620px;
}

.ab-caps {
    margin: 0 0 6px;
    font-size: clamp(14px, 0.938vw, 18px);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Круглый значок со свечением */
.ab-ring {
    flex-shrink: 0;
    width: clamp(52px, 3.646vw, 70px);
    height: clamp(52px, 3.646vw, 70px);
    border: 2px solid #fa5701;
    border-radius: 50%;
    padding: clamp(12px, 0.885vw, 17px);
    color: #ff7a2e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 8px rgba(250, 87, 1, 0.7),
        0 0 22px rgba(250, 87, 1, 0.3),
        inset 0 0 10px rgba(250, 87, 1, 0.35);
    background: rgba(15, 22, 32, 0.55);
}

.ab-ring svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 3px rgba(250, 87, 1, 0.7));
}

.ab-ring--lg {
    width: clamp(60px, 4.583vw, 88px);
    height: clamp(60px, 4.583vw, 88px);
    padding: clamp(14px, 1.094vw, 21px);
}

/* Кнопки */
.ab-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: clamp(12px, 0.938vw, 18px) clamp(26px, 2.083vw, 40px);
    border-radius: 999px;
    font-weight: 600;
    font-size: clamp(15px, 1.042vw, 20px);
    text-decoration: none;
    color: #fff;
    transition: box-shadow 0.2s, background 0.2s;
}

.ab-btn__arrow {
    display: inline-flex;
    width: 1.3em;
    height: 1.3em;
}

.ab-btn__arrow svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.8;
}

.ab-btn--solid {
    background: linear-gradient(180deg, #ff7a2e 0%, #fa5701 100%);
    box-shadow: 0 0 18px rgba(250, 87, 1, 0.55), 0 0 44px rgba(250, 87, 1, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ab-btn--solid:hover {
    box-shadow: 0 0 24px rgba(250, 87, 1, 0.75), 0 0 60px rgba(250, 87, 1, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ab-btn--outline {
    border: 1.5px solid #fa5701;
    background: rgba(15, 22, 32, 0.35);
}

.ab-btn--outline .ab-btn__arrow {
    color: #ff7a2e;
}

.ab-btn--outline:hover {
    background: rgba(250, 87, 1, 0.15);
    box-shadow: 0 0 16px rgba(250, 87, 1, 0.35);
}

/* 1. Первый экран */
.ab-hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(560px, 43vw, 826px);
    background: var(--color-bg);
    display: flex;
    align-items: center;
}

.ab-hero__photo-wrap {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 40%;
    filter: drop-shadow(0 0 10px rgba(250, 87, 1, 0.55));
}

.ab-hero__stripe,
.ab-hero__photo {
    position: absolute;
    inset: 0;
}

/* Оранжевая светящаяся диагональ вдоль левого края фото */
.ab-hero__stripe {
    background: linear-gradient(180deg, #ff9a52, #fa5701);
    clip-path: polygon(19.5% 0, 21% 0, 1.5% 100%, 0 100%);
}

.ab-hero__photo {
    left: 1.2%;
    background-size: cover;
    background-position: 30% center;
    clip-path: polygon(19.6% 0, 100% 0, 100% 100%, 0 100%);
}

.ab-hero__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    /* Как на главной и страницах услуг: оранжевое свечение по диагонали
       поверх фото и затемнение цветом сайта */
    background:
        linear-gradient(63.74deg, rgba(23, 35, 50, 0) 29.31%, rgba(250, 87, 1, 0.17) 87.72%),
        linear-gradient(180deg, rgba(27, 38, 50, 0.35) 0%, transparent 22%, transparent 78%, rgba(27, 38, 50, 0.45) 100%),
        linear-gradient(90deg, rgba(27, 38, 50, 0.55) 0%, rgba(27, 38, 50, 0.25) 35%, rgba(27, 38, 50, 0.25) 100%);
}

.ab-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding-top: 170px;
    padding-bottom: 70px;
}

.ab-hero__text {
    max-width: clamp(300px, 28.13vw, 540px);
}

.ab-hero__title {
    margin: 0;
    font-size: clamp(56px, 6.25vw, 120px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 0 24px rgba(255, 255, 255, 0.12);
}

.ab-hero__bar {
    display: block;
    width: clamp(64px, 6.25vw, 120px);
    height: 5px;
    border-radius: 3px;
    background: var(--color-primary);
    box-shadow: 0 0 10px rgba(250, 87, 1, 0.6);
    margin: clamp(18px, 1.563vw, 30px) 0 clamp(22px, 1.875vw, 36px);
}

.ab-hero__bar--sm {
    width: clamp(48px, 4.167vw, 80px);
    height: 4px;
    margin: 0 0 clamp(18px, 1.563vw, 30px);
}

.ab-hero__lead {
    margin: 0;
    font-size: clamp(16px, 1.146vw, 22px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* Стеклянная карточка справа */
.ab-glass {
    flex-shrink: 0;
    width: clamp(300px, 24.5vw, 470px);
    display: flex;
    flex-direction: column;
    gap: clamp(26px, 2.604vw, 50px);
    padding: clamp(24px, 2.083vw, 40px) clamp(20px, 1.667vw, 32px);
    border-radius: clamp(20px, 1.458vw, 28px);
    background: linear-gradient(160deg, rgba(40, 52, 66, 0.55), rgba(15, 22, 32, 0.6));
    position: relative;
    border: 1px solid rgba(250, 87, 1, 0.5);
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    /* Свечение контура — как у визитки с формой */
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.45),
        0 0 16px rgba(250, 87, 1, 0.3),
        0 0 44px rgba(250, 87, 1, 0.14),
        inset 0 0 26px rgba(250, 87, 1, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Яркие блики на контуре (как у визитки): верх, левая сторона, правый низ */
.ab-flare {
    position: absolute;
    pointer-events: none;
    border-radius: 2px;
    box-shadow: 0 0 8px 1px rgba(250, 87, 1, 0.9), 0 0 24px 5px rgba(250, 87, 1, 0.45);
}

.ab-flare--top {
    top: -1.5px;
    left: 18%;
    right: 18%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff8a3d 30%, #ffb27a 50%, #ff8a3d 70%, transparent);
    box-shadow: 0 0 6px rgba(250, 87, 1, 0.6);
    opacity: 0.8;
}

.ab-flare--left {
    left: -1.5px;
    top: 18%;
    height: 50%;
    width: 2px;
    background: linear-gradient(180deg, transparent, #ffb27a 50%, transparent);
}

.ab-flare--right {
    right: -1.5px;
    bottom: 12%;
    height: 30%;
    width: 2px;
    background: linear-gradient(180deg, transparent, #ffb27a 60%, transparent);
}

.ab-glass__item {
    display: flex;
    align-items: center;
    gap: clamp(16px, 1.25vw, 24px);
}

.ab-glass__item p,
.ab-nets__item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(13px, 0.833vw, 16px);
    line-height: 1.4;
}

/* 2. Этапы */
/* Границы разделов — как на главной: раздел ценностей стоит на оранжевом
   градиенте, остальные разделы разделяются сменой фона */
.ab-steps {
    position: relative;
    overflow: hidden;
    background: var(--color-bg-alt);
    padding: clamp(64px, 5.208vw, 100px) 0;
}

.ab-steps > .container {
    position: relative;
    z-index: 1;
}

.ab-steps__inner {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 1.45fr;
    gap: clamp(32px, 3.125vw, 60px);
    align-items: center;
}

.ab-steps__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 1.458vw, 28px);
}

.ab-step {
    position: relative;
}

/* Оранжевая черта-соединитель между кружками этапов */
.ab-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(clamp(60px, 4.583vw, 88px) / 2);
    left: calc(clamp(60px, 4.583vw, 88px) + 16%);
    width: 36%;
    height: 2px;
    background: var(--color-primary);
    box-shadow: 0 0 6px rgba(250, 87, 1, 0.6);
}

.ab-step__num {
    display: block;
    margin: clamp(14px, 1.042vw, 20px) 0 clamp(6px, 0.521vw, 10px);
    font-size: clamp(28px, 2.083vw, 40px);
    font-weight: 300;
    line-height: 1;
}

.ab-step p {
    margin: clamp(8px, 0.729vw, 14px) 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(13px, 0.833vw, 16px);
    line-height: 1.45;
}

/* 3. Наружные сети */
.ab-nets {
    position: relative;
    overflow: hidden;
    min-height: clamp(560px, 34.7vw, 666px);
    display: flex;
    align-items: center;
    background: var(--color-bg);
}

.ab-nets__photo {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 14%;
    right: 30%;
    background-size: cover;
    background-position: center;
}

.ab-nets__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--color-bg) 0%, var(--color-bg) 14%, rgba(27, 38, 50, 0.9) 24%, rgba(27, 38, 50, 0.55) 36%, rgba(27, 38, 50, 0.1) 52%, transparent 62%),
        linear-gradient(63.74deg, rgba(23, 35, 50, 0) 40%, rgba(250, 87, 1, 0.2) 85%),
        linear-gradient(180deg, rgba(13, 22, 34, 0.35) 0%, transparent 25%, transparent 75%, rgba(13, 22, 34, 0.35) 100%);
}

/* Шевронная панель справа: оранжевая кромка + тёмная заливка */
.ab-nets__panel-shape {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 40%;
    filter: drop-shadow(0 0 10px rgba(250, 87, 1, 0.6));
}

.ab-nets__panel-edge,
.ab-nets__panel-fill {
    position: absolute;
    inset: 0;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 12% 100%, 0 50%);
}

.ab-nets__panel-edge {
    background: linear-gradient(180deg, #fa5701, #ff9a52 50%, #fa5701);
}

.ab-nets__panel-fill {
    left: 3px;
    background: var(--color-bg);
}

.ab-nets__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding-top: clamp(56px, 4.688vw, 90px);
    padding-bottom: clamp(56px, 4.688vw, 90px);
}

.ab-nets__text {
    max-width: clamp(300px, 33.3vw, 640px);
}

.ab-nets__list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: clamp(280px, 19.5vw, 374px);
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 1.771vw, 34px);
}

.ab-nets__item {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.146vw, 22px);
}

/* 4. Ценности */
.ab-values {
    /* Тот же оранжевый градиент, что у «Коротко о нас» на главной,
       но свечение по центру раздела, за карточками */
    background: radial-gradient(ellipse 62% 75% at 50% 58%, #74381e 0%, #673821 18%, #523024 36%, #3d2e29 54%, #2a242b 70%, #1b2632 88%, #1b2632 100%);
    padding: clamp(56px, 4.688vw, 90px) 0 clamp(64px, 5.208vw, 100px);
}

.ab-values__grid {
    margin-top: clamp(24px, 2.083vw, 40px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 1.667vw, 32px);
}

.ab-value {
    position: relative;
}

/* Скруглённые карточки, как на главной, со свечением контура как у визитки */
.ab-value__card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Непрозрачный фон — фото сверху плавно переходит в него без шва */
    background: rgb(33, 48, 64);
    border: 1px solid rgba(250, 87, 1, 0.5);
    border-radius: clamp(28px, 2.917vw, 56px);
    box-shadow:
        0 4px 4px rgba(0, 0, 0, 0.25),
        0 0 16px rgba(250, 87, 1, 0.3),
        0 0 44px rgba(250, 87, 1, 0.14),
        inset 0 0 26px rgba(250, 87, 1, 0.08);
}

.ab-value__img {
    height: clamp(130px, 9.375vw, 180px);
    background-size: cover;
    background-position: center;
    position: relative;
}

.ab-value__img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(33, 48, 64, 0.1) 0%, rgba(33, 48, 64, 0.45) 55%, rgb(33, 48, 64) 100%);
}

/* Блики на боковых краях карточек ценностей — по центру высоты, симметрично */
.ab-value .ab-flare--left,
.ab-value .ab-flare--right {
    top: 25%;
    bottom: auto;
    height: 50%;
    background: linear-gradient(180deg, transparent, #ffb27a 50%, transparent);
}

.ab-value__body {
    position: relative;
    z-index: 1;
    padding: 0 clamp(20px, 1.563vw, 30px) clamp(28px, 2.083vw, 40px);
    margin-top: calc(clamp(52px, 3.646vw, 70px) / -2);
}

.ab-value__body .ab-ring {
    margin-bottom: clamp(14px, 1.042vw, 20px);
}

.ab-value__body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(13px, 0.833vw, 16px);
    line-height: 1.45;
}

@media (max-width: 1450px) {
    .ab-steps__inner {
        grid-template-columns: 1fr;
    }

    .ab-values__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .ab-hero {
        display: block;
        min-height: 0;
    }

    .ab-hero__photo-wrap {
        position: relative;
        left: auto;
        height: 400px;
        filter: none;
    }

    .ab-hero__stripe {
        display: none;
    }

    .ab-hero__photo {
        left: 0;
        clip-path: none;
    }

    .ab-hero__photo::after {
        background: linear-gradient(180deg, rgba(13, 22, 34, 0.3) 0%, transparent 40%, #16212d 100%);
    }

    .ab-hero__inner {
        flex-direction: column;
        align-items: stretch;
        padding-top: 32px;
        padding-bottom: 48px;
    }

    .ab-hero__text,
    .ab-glass,
    .ab-nets__text,
    .ab-nets__list {
        max-width: none;
        width: 100%;
    }

    .ab-steps__list {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 32px;
    }

    .ab-step::after {
        display: none;
    }

    .ab-nets {
        display: block;
        min-height: 0;
    }

    .ab-nets__photo {
        position: relative;
        left: auto;
        right: auto;
        height: 260px;
    }

    .ab-nets__shade {
        top: 0;
        bottom: auto;
        height: 260px;
        background: linear-gradient(180deg, rgba(27, 38, 50, 0.25), transparent 40%, var(--color-bg) 100%);
    }

    .ab-nets__panel-shape {
        display: none;
    }

    .ab-nets__inner {
        flex-direction: column;
        align-items: stretch;
        padding-top: 16px;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .ab-values__grid,
    .ab-steps__list {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Страница «Услуги» (список всех услуг). Классы с префиксом sv-.
   ============================================================ */

.sv {
    position: relative;
    overflow: hidden;
    padding-top: clamp(170px, 11.46vw, 220px);
    padding-bottom: clamp(64px, 5.208vw, 100px);
    background:
        radial-gradient(ellipse 55% 45% at 85% 8%, rgba(250, 87, 1, 0.16), transparent 70%),
        radial-gradient(ellipse 60% 50% at 50% 85%, rgba(250, 87, 1, 0.1), transparent 70%),
        var(--color-bg);
}

.sv-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: clamp(32px, 3.125vw, 60px);
    margin-bottom: clamp(40px, 3.646vw, 70px);
}

.sv-head__text {
    max-width: clamp(300px, 36vw, 690px);
}

.sv-head__title {
    margin: 0;
    font-size: clamp(48px, 5.208vw, 100px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.sv-head__lead {
    margin: 0;
    font-size: clamp(16px, 1.146vw, 22px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.sv-facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: clamp(12px, 1.042vw, 20px);
}

.sv-fact {
    width: clamp(160px, 11.46vw, 220px);
    padding: clamp(16px, 1.25vw, 24px) clamp(16px, 1.146vw, 22px);
    border-radius: clamp(18px, 1.25vw, 24px);
    background: linear-gradient(160deg, rgba(40, 52, 66, 0.55), rgba(15, 22, 32, 0.6));
    border: 1px solid rgba(250, 87, 1, 0.45);
    box-shadow: 0 0 14px rgba(250, 87, 1, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sv-fact__value {
    display: block;
    color: var(--color-primary);
    font-size: clamp(20px, 1.458vw, 28px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
}

.sv-fact__label {
    display: block;
    font-size: clamp(12px, 0.781vw, 15px);
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.72);
}

.sv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 1.667vw, 32px);
}

.sv-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text);
    background: rgb(33, 48, 64);
    border: 1px solid rgba(250, 87, 1, 0.4);
    border-radius: clamp(24px, 2.083vw, 40px);
    box-shadow:
        0 4px 4px rgba(0, 0, 0, 0.25),
        0 0 14px rgba(250, 87, 1, 0.2),
        inset 0 0 22px rgba(250, 87, 1, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sv-card:hover,
.sv-card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(250, 87, 1, 0.8);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.4),
        0 0 22px rgba(250, 87, 1, 0.45),
        0 0 54px rgba(250, 87, 1, 0.2),
        inset 0 0 26px rgba(250, 87, 1, 0.1);
    outline: none;
}

.sv-card__photo {
    position: relative;
    height: clamp(170px, 11.46vw, 220px);
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.sv-card:hover .sv-card__photo {
    transform: scale(1.05);
}

/* Как на страницах услуг: оранжевый оттенок по диагонали и переход в фон карточки */
.sv-card__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(63.74deg, rgba(23, 35, 50, 0) 29.31%, rgba(250, 87, 1, 0.2) 87.72%),
        linear-gradient(180deg, rgba(33, 48, 64, 0.15) 0%, rgba(33, 48, 64, 0.35) 55%, rgb(33, 48, 64) 100%);
}

.sv-card__num {
    position: absolute;
    z-index: 1;
    top: clamp(14px, 1.042vw, 20px);
    left: clamp(18px, 1.354vw, 26px);
    font-size: clamp(22px, 1.563vw, 30px);
    font-weight: 300;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.sv-card__body {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 clamp(16px, 1.458vw, 28px) clamp(22px, 1.667vw, 32px);
    margin-top: calc(clamp(52px, 3.646vw, 70px) / -2);
    background: rgb(33, 48, 64);
}

.sv-card__icon {
    margin-bottom: clamp(14px, 1.042vw, 20px);
    padding: clamp(10px, 0.729vw, 14px);
}

.sv-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.6) drop-shadow(0 0 3px rgba(250, 87, 1, 0.8));
}

.sv-card__title {
    margin: 0 0 10px;
    font-size: clamp(15px, 1.146vw, 22px);
    line-height: 1.25;
    font-weight: 800;
}

.sv-card__title::after {
    content: "";
    display: block;
    width: clamp(32px, 2.083vw, 40px);
    height: 3px;
    border-radius: 2px;
    background: var(--color-primary);
    margin-top: 12px;
}

.sv-card__text {
    margin: 0 0 clamp(18px, 1.25vw, 24px);
    font-size: clamp(13px, 0.833vw, 16px);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
}

.sv-card__more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ff7a2e;
    font-weight: 700;
    font-size: clamp(14px, 0.885vw, 17px);
}

.sv-card__arrow {
    display: inline-flex;
    width: 1.2em;
    height: 1.2em;
    transition: transform 0.25s ease;
}

.sv-card__arrow svg {
    width: 100%;
    height: 100%;
    stroke-width: 2;
}

.sv-card:hover .sv-card__arrow {
    transform: translateX(5px);
}

/* Список услуг на широком экране: по 4 в ряд, неполный последний ряд — по центру */
@media (min-width: 1281px) {
    .sv-grid:not(.ob-grid) {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .sv-grid:not(.ob-grid) > .sv-card {
        width: calc((100% - 3 * clamp(20px, 1.667vw, 32px)) / 4);
    }
}

/* Список услуг: 4 колонки на широком экране, 2 — на узком */
@media (max-width: 1280px) {
    .sv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Одиночная карточка в последнем ряду — по центру */
    .sv-grid:not(.ob-grid) > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - clamp(10px, 0.833vw, 16px));
    }
}

@media (max-width: 1100px) {
    .sv-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .sv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .sv-facts {
        flex-direction: column;
        width: 100%;
    }

    .sv-fact {
        width: 100%;
    }

    .sv-grid {
        grid-template-columns: 1fr;
    }
}

/* Страница «Объекты» — в стиле списка услуг (классы sv-), с отличиями ниже */

.ob-grid {
    grid-template-columns: repeat(3, 1fr);
}

.ob-card__photo {
    height: clamp(200px, 14.58vw, 280px);
}

.ob-card__place {
    position: absolute;
    z-index: 1;
    top: clamp(14px, 1.042vw, 20px);
    right: clamp(14px, 1.042vw, 20px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 8px;
    border-radius: 999px;
    font-size: clamp(12px, 0.729vw, 14px);
    font-weight: 600;
    color: #fff;
    background: rgba(15, 22, 32, 0.55);
    border: 1px solid rgba(250, 87, 1, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ob-card__pin {
    display: inline-flex;
    width: 16px;
    height: 16px;
    color: #ff7a2e;
}

.ob-card__pin svg {
    width: 100%;
    height: 100%;
}

/* Заглушка вместо фото, пока нет исходника */
.ob-card__photo--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse 70% 80% at 50% 45%, rgba(250, 87, 1, 0.28), transparent 70%),
        linear-gradient(160deg, #2a3a4d 0%, #1b2632 100%);
}

.ob-card__photo--empty::after {
    background: linear-gradient(180deg, transparent 60%, rgb(33, 48, 64) 100%);
}

.ob-card__placeholder {
    position: relative;
    z-index: 1;
    width: clamp(56px, 4.167vw, 80px);
    height: clamp(56px, 4.167vw, 80px);
    color: rgba(255, 138, 61, 0.85);
    filter: drop-shadow(0 0 8px rgba(250, 87, 1, 0.6));
}

.ob-card__placeholder svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.2;
}

/* Карточка без страницы объекта — без подъёма и зума при наведении */
.ob-card--static:hover {
    transform: none;
    border-color: rgba(250, 87, 1, 0.4);
    box-shadow:
        0 4px 4px rgba(0, 0, 0, 0.25),
        0 0 14px rgba(250, 87, 1, 0.2),
        inset 0 0 22px rgba(250, 87, 1, 0.06);
}

.ob-card--static:hover .sv-card__photo {
    transform: none;
}

/* Без значка в круге текст начинается сразу под фото */
.ob-card__body {
    margin-top: 0;
    padding-top: clamp(18px, 1.354vw, 26px);
}

@media (max-width: 1100px) {
    .ob-grid {
        grid-template-columns: 1fr;
    }
}

/* Одиночная карточка в последнем ряду — по центру, как в макете */
@media (min-width: 1101px) {
    .ob-grid > :last-child:nth-child(3n + 1) {
        grid-column: 2;
    }
}

/* ============================================================
   Страница объекта (/objects/{slug}). Классы od-.
   ============================================================ */

.od-crumbs {
    margin: 0 0 clamp(20px, 1.667vw, 32px);
    font-size: clamp(13px, 0.781vw, 15px);
    color: rgba(255, 255, 255, 0.55);
}

.od-crumbs a {
    color: rgba(255, 255, 255, 0.75);
}

.od-head {
    margin-bottom: clamp(32px, 2.917vw, 56px);
}

.od-title {
    margin: 0;
    max-width: clamp(320px, 57vw, 1100px);
    font-size: clamp(32px, 3.333vw, 64px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.od-head .ab-hero__bar {
    margin: clamp(18px, 1.458vw, 28px) 0 clamp(18px, 1.458vw, 28px);
}

.od-place {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 12px;
    border-radius: 999px;
    font-size: clamp(13px, 0.833vw, 16px);
    font-weight: 600;
    color: #fff;
    background: rgba(15, 22, 32, 0.55);
    border: 1px solid rgba(250, 87, 1, 0.6);
    box-shadow: 0 0 12px rgba(250, 87, 1, 0.2);
}

.od-place .ob-card__pin {
    width: 18px;
    height: 18px;
}

.od-main {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: clamp(24px, 2.083vw, 40px);
    align-items: stretch;
}

.od-photo {
    position: relative;
    border-radius: clamp(24px, 2.083vw, 40px);
    overflow: hidden;
    border: 1px solid rgba(250, 87, 1, 0.5);
    box-shadow:
        0 4px 4px rgba(0, 0, 0, 0.25),
        0 0 16px rgba(250, 87, 1, 0.3),
        0 0 44px rgba(250, 87, 1, 0.14);
    min-height: clamp(320px, 26vw, 500px);
}

.od-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.od-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(63.74deg, rgba(23, 35, 50, 0) 40%, rgba(250, 87, 1, 0.14) 90%);
    pointer-events: none;
}

/* Карточка «Выполненные работы» — со свечением как у визитки */
.od-work {
    position: relative;
    padding: clamp(28px, 2.083vw, 40px) clamp(24px, 1.875vw, 36px);
    border-radius: clamp(24px, 2.083vw, 40px);
    background: rgb(33, 48, 64);
    border: 1px solid rgba(250, 87, 1, 0.5);
    box-shadow:
        0 4px 4px rgba(0, 0, 0, 0.25),
        0 0 16px rgba(250, 87, 1, 0.3),
        0 0 44px rgba(250, 87, 1, 0.14),
        inset 0 0 26px rgba(250, 87, 1, 0.08);
}

.od-work__title {
    margin: 0;
    font-size: clamp(22px, 1.667vw, 32px);
    line-height: 1.2;
    font-weight: 800;
}

.od-work__title::after {
    content: "";
    display: block;
    width: clamp(36px, 2.5vw, 48px);
    height: 3px;
    border-radius: 2px;
    background: var(--color-primary);
    margin-top: 14px;
}

.od-work__intro {
    margin: clamp(16px, 1.25vw, 24px) 0 0;
    font-size: clamp(15px, 0.938vw, 18px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

.od-steps {
    list-style: none;
    margin: clamp(18px, 1.458vw, 28px) 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 0.938vw, 18px);
}

.od-step {
    display: flex;
    align-items: flex-start;
    gap: clamp(12px, 0.833vw, 16px);
}

.od-step__num {
    flex-shrink: 0;
    width: clamp(36px, 2.292vw, 44px);
    height: clamp(36px, 2.292vw, 44px);
    border-radius: 50%;
    border: 2px solid #fa5701;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(13px, 0.833vw, 16px);
    font-weight: 800;
    color: #ff7a2e;
    background: rgba(15, 22, 32, 0.55);
    box-shadow: 0 0 8px rgba(250, 87, 1, 0.55), inset 0 0 8px rgba(250, 87, 1, 0.3);
}

.od-step__text {
    padding-top: clamp(6px, 0.469vw, 9px);
    font-size: clamp(15px, 0.938vw, 18px);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
}

/* Итоговый абзац */
.od-summary {
    display: flex;
    align-items: center;
    gap: clamp(18px, 1.458vw, 28px);
    margin: clamp(32px, 2.917vw, 56px) 0;
    padding: clamp(22px, 1.667vw, 32px) clamp(24px, 1.875vw, 36px);
    border-radius: clamp(20px, 1.458vw, 28px);
    background: linear-gradient(90deg, rgba(250, 87, 1, 0.12), rgba(33, 48, 64, 0.6) 40%);
    border-left: 4px solid var(--color-primary);
}

.od-summary p {
    margin: 0;
    font-size: clamp(16px, 1.146vw, 22px);
    line-height: 1.5;
    font-weight: 500;
    color: #fff;
}

/* Галерея */
.od-gallery__label {
    margin-bottom: clamp(16px, 1.25vw, 24px);
}

.od-gallery {
    display: grid;
    gap: clamp(16px, 1.25vw, 24px);
    height: clamp(420px, 28.65vw, 550px);
}

.od-gallery--4 {
    grid-template-columns: 1fr 1fr 1fr;
}

.od-gallery__stack {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: clamp(16px, 1.25vw, 24px);
    min-height: 0;
}

.od-gallery__item {
    position: relative;
    overflow: hidden;
    min-height: 0;
    border-radius: clamp(18px, 1.458vw, 28px);
    border: 1px solid rgba(250, 87, 1, 0.4);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25), 0 0 14px rgba(250, 87, 1, 0.2);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.od-gallery__item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.od-gallery__item:hover {
    border-color: rgba(250, 87, 1, 0.8);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 22px rgba(250, 87, 1, 0.45);
}

.od-gallery__item:hover img {
    transform: scale(1.05);
}

.od-back {
    margin-top: clamp(32px, 2.917vw, 56px);
}

.od-back__arrow {
    transform: rotate(180deg);
}

@media (max-width: 1100px) {
    .od-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .od-gallery,
    .od-gallery--4 {
        grid-template-columns: 1fr !important;
        height: auto;
    }

    .od-gallery__stack {
        grid-template-rows: none;
    }

    .od-gallery__item {
        height: 240px;
    }

    .od-summary {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   Страница «Контакты». Классы ct-.
   ============================================================ */

.ct-head {
    margin-bottom: clamp(28px, 2.083vw, 40px);
}

.ct-title {
    display: flex;
    align-items: center;
    gap: clamp(20px, 1.667vw, 32px);
    margin: 0;
    font-size: clamp(48px, 5.208vw, 100px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ct-title__dash {
    display: inline-block;
    width: clamp(40px, 3.646vw, 70px);
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.85);
    margin-top: 0.15em;
}

.ct-lead {
    margin: clamp(14px, 1.042vw, 20px) 0 0;
    font-size: clamp(18px, 1.458vw, 28px);
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
}

.ct-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 1.667vw, 32px);
    margin-bottom: clamp(20px, 1.667vw, 32px);
}

/* Карточка — со свечением контура, как у визитки */
.ct-card {
    position: relative;
    border-radius: clamp(20px, 1.458vw, 28px);
    background: rgb(22, 32, 44);
    border: 1px solid rgba(250, 87, 1, 0.45);
    box-shadow:
        0 4px 4px rgba(0, 0, 0, 0.25),
        0 0 16px rgba(250, 87, 1, 0.22),
        0 0 44px rgba(250, 87, 1, 0.1),
        inset 0 0 26px rgba(250, 87, 1, 0.06);
}

/* Оранжевый изогнутый уголок справа сверху */
.ct-corner {
    position: absolute;
    top: -1px;
    right: -1px;
    width: clamp(40px, 2.604vw, 50px);
    height: clamp(40px, 2.604vw, 50px);
    border-top: 3px solid #fa5701;
    border-right: 3px solid #fa5701;
    border-top-right-radius: clamp(20px, 1.458vw, 28px);
    filter: drop-shadow(0 0 6px rgba(250, 87, 1, 0.8));
    pointer-events: none;
    z-index: 2;
}

/* Реквизиты */
.ct-info {
    padding: clamp(12px, 1.042vw, 20px) clamp(24px, 1.771vw, 34px);
}

.ct-row {
    display: flex;
    gap: clamp(18px, 1.458vw, 28px);
    padding: clamp(20px, 1.458vw, 28px) clamp(4px, 0.625vw, 12px);
}

.ct-row + .ct-row {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.ct-row__icon {
    flex-shrink: 0;
    width: clamp(34px, 2.083vw, 40px);
    height: clamp(34px, 2.083vw, 40px);
    color: #fa5701;
    filter: drop-shadow(0 0 6px rgba(250, 87, 1, 0.45));
}

.ct-row__icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2.2;
}

.ct-row__title {
    margin: 0 0 6px;
    font-size: clamp(16px, 1.042vw, 20px);
    font-weight: 800;
    line-height: 1.3;
}

.ct-row__text,
.ct-row__link {
    margin: 0;
    font-size: clamp(15px, 0.99vw, 19px);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
}

.ct-row__link {
    font-weight: 600;
    text-decoration: none;
    color: #fff;
}

.ct-row__link:hover {
    color: #ff7a2e;
}

/* Форма запроса */
.ct-request {
    padding: clamp(28px, 2.083vw, 40px) clamp(24px, 2.083vw, 40px);
}

.ct-request__title {
    margin: 0;
    font-size: clamp(24px, 1.771vw, 34px);
    font-weight: 800;
    line-height: 1.2;
}

.ct-request__lead {
    margin: 10px 0 clamp(20px, 1.458vw, 28px);
    font-size: clamp(15px, 0.938vw, 18px);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.85);
}

.ct-form {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 0.729vw, 14px);
}

.ct-field {
    position: relative;
    display: block;
}

.ct-form .ct-field input,
.ct-form .ct-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px 14px clamp(48px, 3.021vw, 58px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(8, 14, 22, 0.75);
    color: #fff;
    font-family: inherit;
    font-size: clamp(14px, 0.833vw, 16px);
    line-height: 1.4;
    text-align: left;
    box-shadow: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ct-form .ct-field textarea {
    min-height: clamp(84px, 4.583vw, 88px);
    resize: vertical;
}

.ct-form .ct-field input::placeholder,
.ct-form .ct-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.ct-form .ct-field input:focus,
.ct-form .ct-field textarea:focus {
    outline: none;
    border-color: rgba(250, 87, 1, 0.8);
    box-shadow: 0 0 10px rgba(250, 87, 1, 0.3);
}

.ct-field__icon {
    position: absolute;
    left: clamp(16px, 1.042vw, 20px);
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.85);
    pointer-events: none;
    display: flex;
}

.ct-field--textarea .ct-field__icon {
    top: 16px;
    transform: none;
}

.ct-field__icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.8;
}

.ct-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    font-size: clamp(13px, 0.781vw, 15px);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
}

.ct-consent input {
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    border-radius: 3px;
    box-shadow: none;
    accent-color: #fa5701;
    flex-shrink: 0;
}

.ct-consent__accent {
    color: #ff7a2e;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ct-form button.ct-submit {
    align-self: flex-start;
    margin-top: clamp(8px, 0.625vw, 12px);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Согласие в визитке с формой: по центру, над кнопкой */
.contact-consent {
    justify-self: center;
    margin-top: 0;
}

.ct-form .form-status {
    text-align: left;
}

/* Карта */
.ct-map {
    overflow: hidden;
    min-height: clamp(280px, 17.19vw, 330px);
    display: flex;
    align-items: center;
}

.ct-map__img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 62%;
    background-size: cover;
    background-position: center 35%;
    border-radius: 0 clamp(20px, 1.458vw, 28px) clamp(20px, 1.458vw, 28px) 0;
}

/* Карта плавно уходит в фон карточки слева */
.ct-map__img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(22, 32, 44) 0%, rgba(22, 32, 44, 0.5) 10%, transparent 24%);
}

.ct-map__text {
    position: relative;
    z-index: 1;
    padding: clamp(28px, 2.083vw, 40px) clamp(24px, 2.083vw, 40px);
    max-width: 38%;
}

.ct-map__title {
    margin: 0;
    font-size: clamp(24px, 1.771vw, 34px);
    font-weight: 800;
    line-height: 1.2;
}

.ct-map__title::after {
    content: "";
    display: block;
    width: clamp(44px, 2.917vw, 56px);
    height: 4px;
    border-radius: 2px;
    background: var(--color-primary);
    box-shadow: 0 0 8px rgba(250, 87, 1, 0.5);
    margin-top: 16px;
}

.ct-map__addr {
    margin: clamp(18px, 1.354vw, 26px) 0 clamp(22px, 1.667vw, 32px);
    font-size: clamp(15px, 0.99vw, 19px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.ct-route {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 28px;
    border-radius: 999px;
    border: 1.5px solid #fa5701;
    color: #ff7a2e;
    font-weight: 700;
    font-size: clamp(15px, 0.938vw, 18px);
    text-decoration: none;
    background: rgba(15, 22, 32, 0.4);
    transition: background 0.2s, box-shadow 0.2s;
}

.ct-route:hover {
    background: rgba(250, 87, 1, 0.15);
    box-shadow: 0 0 16px rgba(250, 87, 1, 0.35);
}

.ct-route__icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
}

.ct-route__icon svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 1100px) {
    .ct-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .ct-map {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .ct-map__text {
        max-width: none;
    }

    .ct-map__img {
        position: relative;
        width: 100%;
        height: 220px;
        border-radius: 0 0 clamp(20px, 1.458vw, 28px) clamp(20px, 1.458vw, 28px);
    }

    .ct-map__img::before {
        background: linear-gradient(180deg, rgb(22, 32, 44) 0%, transparent 35%);
    }

    .ct-title {
        font-size: 44px;
    }

    .ct > .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ct-lead br,
    .ct-request__lead br {
        display: none;
    }

    .ct-info {
        padding: 8px 18px;
    }

    .ct-row {
        gap: 14px;
        padding: 18px 0;
    }

    .ct-request,
    .ct-map__text {
        padding: 26px 18px;
    }

    .ct-form .ct-field input,
    .ct-form .ct-field textarea {
        padding-left: 44px;
    }

    .ct-field__icon {
        left: 14px;
    }

    .ct-route {
        white-space: nowrap;
        padding: 12px 22px;
    }

    .ct-map__img {
        background-position: 72% center;
    }
}

/* ============================================================
   Юридические страницы (/privacy, /consent). Классы lg-.
   ============================================================ */

.lg-head {
    margin-bottom: clamp(28px, 2.5vw, 48px);
}

.lg-title {
    margin: 0;
    max-width: 1100px;
    font-size: clamp(30px, 2.917vw, 56px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lg-head .ab-hero__bar {
    margin: clamp(18px, 1.458vw, 28px) 0 clamp(14px, 1.042vw, 20px);
}

.lg-date {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(14px, 0.833vw, 16px);
}

.lg-doc {
    max-width: 1100px;
    padding: clamp(28px, 2.5vw, 48px) clamp(22px, 2.917vw, 56px);
    font-size: clamp(15px, 0.938vw, 18px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.lg-doc h2 {
    margin: clamp(28px, 2.083vw, 40px) 0 clamp(10px, 0.729vw, 14px);
    font-size: clamp(19px, 1.25vw, 24px);
    line-height: 1.3;
    font-weight: 800;
    color: #fff;
}

.lg-doc > .ct-corner + h2 {
    margin-top: 0;
}

.lg-doc p {
    margin: 0 0 12px;
}

.lg-doc a {
    color: #ff7a2e;
    text-underline-offset: 3px;
}

.lg-doc b {
    color: #fff;
}

.lg-list {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.lg-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 6px;
}

.lg-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.72em;
    width: 8px;
    height: 2px;
    border-radius: 1px;
    background: var(--color-primary);
}

/* Незаполненные реквизиты — видно, что нужно указать */
.lg-todo {
    display: inline-block;
    padding: 0 8px;
    border: 1px dashed #ff7a2e;
    border-radius: 6px;
    color: #ff7a2e;
    font-size: 0.9em;
}

.footer__legal-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer__legal {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
    text-underline-offset: 3px;
}

.footer__legal:hover {
    color: #ff7a2e;
}

/* Подвал */

.site-footer {
    padding: 48px 0 40px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text);
    font-weight: 300;
    font-size: clamp(13px, 1.042vw, 20px);
    line-height: 1.2;
    background: var(--color-header);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    margin-bottom: 32px;
    align-items: center;
}

/* Адрес в подвале: оранжевая «булавка» слева и адрес в 4 строки */
.footer__address {
    display: flex;
    align-items: flex-start;
    gap: clamp(12px, 0.99vw, 19px);
}

.footer__pin {
    flex-shrink: 0;
    width: clamp(24px, 1.771vw, 34px);
    height: auto;
    margin-top: 0.1em;
}

.footer__address p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 300;
    font-size: clamp(14px, 1.198vw, 23px);
    line-height: 1.3;
}

.footer__col--brand {
    text-align: right;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

/* Страница услуги: фон-фото + блоки с иконками */

.service-hero {
    position: relative;
    min-height: 720px;
    background: linear-gradient(120deg, #0d1622 0%, #1a2431 55%, #23303f 100%);
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.service-hero__photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 116.5%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(63.74deg, rgba(23, 35, 50, 0) 29.31%, rgba(250, 87, 1, 0.17) 87.72%),
        linear-gradient(180deg, transparent 80%, var(--color-bg) 100%),
        linear-gradient(90deg, var(--color-bg) 0%, rgba(19, 27, 38, 0.96) 18%, rgba(19, 27, 38, 0.82) 27%, rgba(19, 27, 38, 0.55) 36%, rgba(19, 27, 38, 0.28) 45%, rgba(19, 27, 38, 0.1) 54%, transparent 64%);
}

.service-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 150px;
    padding-bottom: 72px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.breadcrumb--light {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.breadcrumb--light a {
    color: rgba(255, 255, 255, 0.6);
}

.service-hero__title {
    font-size: clamp(28px, 2.5vw, 48px);
    font-weight: 800;
    max-width: 960px;
    margin-bottom: clamp(32px, 3.854vw, 74px);
    letter-spacing: -0.3px;
}

.service-blocks {
    display: grid;
    gap: clamp(32px, 4.427vw, 85px);
    max-width: 960px;
}

.service-block {
    display: flex;
    align-items: center;
    gap: 26px;
}

.service-block__icon,
.service-block__badge-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-block__badge-icon {
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    width: clamp(72px, 5.859vw, 112.5px);
    height: clamp(72px, 5.859vw, 112.5px);
    padding: 8px;
}

.service-block__icon svg,
.service-block__badge-icon svg {
    width: 100%;
    height: 100%;
}

.service-block__icon img,
.service-block__badge-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-block__badge-icon:has(img) {
    border: none;
    padding: 0;
}

.service-block p {
    margin: 0;
    border-left: 3px solid var(--color-primary);
    padding: 2px 0 2px 20px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    font-size: clamp(18px, 1.667vw, 32px);
    line-height: 1.219;
}

.service-block--badge p {
    border: none;
    padding-left: 0;
    font-weight: 500;
    font-size: clamp(15px, 1.25vw, 24px);
    line-height: 1.208;
}

/* Страница услуги: альтернативная компоновка верхней секции (заголовок и
   компактные карточки слева, фото — панелью справа). Используется, когда у
   услуги установлен флаг HeroV2 (сейчас — только «Холодоснабжение»). Все
   классы ниже новые и не переиспользуются в компоновке по умолчанию, поэтому
   изменения не затрагивают остальные страницы услуг. */

.service-hero-v2__photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 64%;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    /* Левый край фото плавно растворяется (маской, а не заливкой цветом),
       поэтому под ним без шва проступает градиентный фон секции. Фото
       заходит под карточки. */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 12%, rgba(0, 0, 0, 0.4) 24%, rgba(0, 0, 0, 0.75) 36%, #000 50%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 12%, rgba(0, 0, 0, 0.4) 24%, rgba(0, 0, 0, 0.75) 36%, #000 50%);
}

.service-hero-v2__photo::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Как на остальных страницах услуг: оранжевый оттенок по диагонали,
       затемнение цветом сайта и плавный переход в фон снизу. */
    background:
        linear-gradient(63.74deg, rgba(23, 35, 50, 0) 29.31%, rgba(250, 87, 1, 0.17) 87.72%),
        linear-gradient(180deg, rgba(27, 38, 50, 0.35) 0%, transparent 22%, transparent 72%, var(--color-bg) 100%),
        linear-gradient(90deg, rgba(27, 38, 50, 0.45) 0%, rgba(27, 38, 50, 0.25) 100%);
}

.service-hero-v2__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 150px;
    padding-bottom: 72px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-hero-v2__title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(16px, 1.667vw, 32px);
    font-size: clamp(28px, 3.333vw, 64px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.5px;
    max-width: clamp(280px, 39.583vw, 760px);
    margin: 0 0 clamp(16px, 1.25vw, 24px);
}

.service-hero-v2__title-dash {
    display: inline-block;
    width: clamp(40px, 4.167vw, 80px);
    height: 4px;
    background: var(--color-primary);
    border-radius: 2px;
    flex-shrink: 0;
}

.service-hero-v2__subtitle {
    color: var(--color-muted);
    font-size: clamp(16px, 1.25vw, 24px);
    line-height: 1.35;
    max-width: clamp(280px, 39.583vw, 760px);
    margin: 0 0 clamp(28px, 2.917vw, 56px);
}

.service-mini-cards {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.667vw, 32px);
    max-width: clamp(280px, 39.583vw, 760px);
}

.service-mini-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(16px, 1.667vw, 28px);
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: clamp(16px, 1.458vw, 28px) clamp(20px, 1.771vw, 34px);
    overflow: hidden;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.service-mini-card__corner {
    position: absolute;
    top: 0;
    right: 0;
    width: clamp(24px, 2.083vw, 40px);
    height: clamp(24px, 2.083vw, 40px);
    border-top: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
    border-radius: 0 20px 0 0;
    opacity: 0.85;
}

.service-mini-card__icon {
    flex-shrink: 0;
    width: clamp(56px, 5.208vw, 100px);
    height: clamp(56px, 5.208vw, 100px);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    padding: clamp(10px, 0.938vw, 18px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-mini-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-mini-card__icon svg {
    width: 100%;
    height: 100%;
    color: #fff;
}

.service-mini-card__body {
    flex: 1 1 auto;
    min-width: 0;
}

.service-mini-card__dash {
    display: block;
    width: clamp(18px, 1.354vw, 26px);
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    margin-bottom: clamp(6px, 0.625vw, 12px);
}

.service-mini-card__title {
    margin: 0 0 clamp(4px, 0.417vw, 8px);
    font-size: clamp(17px, 1.667vw, 32px);
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}

.service-mini-card__desc {
    margin: 0;
    color: var(--color-muted);
    font-size: clamp(13px, 1.146vw, 22px);
    line-height: 1.3;
}

.service-mini-card__arrow {
    flex-shrink: 0;
    width: clamp(40px, 3.75vw, 72px);
    height: clamp(40px, 3.75vw, 72px);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-mini-card__arrow svg {
    width: 45%;
    height: 45%;
}

/* Страница "Объекты": список карточек */

.objects-hero__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.objects-hero__inner .stamp {
    position: static;
}

.objects-hero {
    padding-top: 150px;
}

.section--top {
    padding-top: 150px;
}

.objects-grid {
    margin-top: 0;
}

.object-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    background-color: var(--color-bg-alt);
    overflow: hidden;
    padding: 0;
}

.object-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 21, 32, 0.94) 100%);
}

.object-card__body {
    position: relative;
    z-index: 1;
    padding: 22px;
}

.object-card__body h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.object-card__link {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 14px;
}

/* Страница объекта */

.object-detail__title {
    font-size: 34px;
    font-weight: 800;
    max-width: 900px;
    margin-top: 16px;
    margin-bottom: 0;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 14px;
    margin: 18px 0 36px;
}

.location-badge svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.object-detail__main {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 44px;
    align-items: start;
    margin-bottom: 36px;
}

.object-detail__hero {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.object-detail__work h2 {
    margin-bottom: 14px;
}

.work-steps {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.work-steps li {
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    line-height: 1.55;
}

.work-steps__num {
    color: var(--color-primary);
    font-weight: 800;
    margin-right: 2px;
}

.object-detail__summary {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 17px;
    max-width: 900px;
    margin: 0 0 32px;
}

.object-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 20px;
    height: 520px;
}

.object-gallery__stack {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 100%;
    min-height: 0;
    min-width: 0;
}

.object-gallery__tall {
    min-height: 0;
    min-width: 0;
}

.object-gallery__stack img,
.object-gallery__tall {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

/* Адаптивность */

@media (max-width: 900px) {
    .hero__inner,
    .split,
    .contact-panel,
    .footer__inner {
        grid-template-columns: 1fr;
    }

    .footer__col--brand {
        text-align: left;
    }

    .logo--footer {
        transform: none;
    }

    .header__contacts {
        white-space: normal;
        max-width: 100%;
    }

    .header__inner {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .hero {
        aspect-ratio: auto;
        padding: 260px 0 48px;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__overlay {
        background:
            linear-gradient(160deg, rgba(23, 35, 50, 0) 30%, rgba(250, 87, 1, 0.17) 90%),
            linear-gradient(180deg, rgba(23, 35, 50, 0.86) 0%, rgba(23, 35, 50, 0.93) 100%);
    }

    .service-hero {
        min-height: 0;
    }

    .service-hero__photo {
        width: 100%;
        top: 0;
        height: 260px;
        bottom: auto;
    }

    .service-hero__inner {
        padding-top: 250px;
        padding-bottom: 40px;
    }

    .service-hero__title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .service-hero__overlay {
        background:
            linear-gradient(160deg, rgba(23, 35, 50, 0) 30%, rgba(250, 87, 1, 0.17) 90%),
            linear-gradient(180deg, transparent 78%, var(--color-bg) 100%),
            linear-gradient(180deg, rgba(15, 21, 32, 0.55) 0%, rgba(15, 21, 32, 0.93) 240px, var(--color-bg) 260px);
    }

    .home-cards {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        row-gap: 28px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .home-card {
        min-height: 0;
    }

    .service-hero--v2 {
        display: block;
        min-height: 0;
    }

    .service-hero-v2__photo {
        position: relative;
        width: 100%;
        height: 220px;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .service-hero-v2__photo::before {
        background:
            linear-gradient(160deg, rgba(23, 35, 50, 0) 30%, rgba(250, 87, 1, 0.17) 90%),
            linear-gradient(180deg, rgba(27, 38, 50, 0.3) 0%, rgba(27, 38, 50, 0.3) 50%, var(--color-bg) 100%);
    }

    .service-hero-v2__inner {
        padding-top: 32px;
        padding-bottom: 40px;
    }

    .service-hero-v2__title {
        font-size: 24px;
        gap: 12px;
    }

    .service-mini-card {
        gap: 12px;
        padding: 16px 14px;
    }

    .service-mini-card__icon {
        width: 48px;
        height: 48px;
        padding: 8px;
    }

    .service-mini-card__arrow {
        width: 36px;
        height: 36px;
    }

    .service-mini-card__title {
        font-size: 15px;
    }

    .object-detail__main {
        grid-template-columns: 1fr;
    }

    .object-detail__hero {
        max-height: 320px;
    }

    .object-gallery,
    .object-gallery.object-gallery--cols {
        grid-template-columns: 1fr !important;
        height: auto;
    }

    .object-gallery__stack {
        grid-template-rows: 1fr 1fr;
        height: auto;
    }

    .object-gallery__stack img,
    .object-gallery__tall {
        height: 220px;
    }

    .object-detail__title {
        font-size: 26px;
    }
}

@media (max-width: 640px) {
    .header__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Шапка на телефоне занимает до ~215px (меню в две строки) —
       опускаем заголовки страниц «Услуги», «Объекты», «О нас», «Контакты» ниже неё. */
    .section--top,
    .objects-hero,
    .about-hero {
        padding-top: 240px;
    }

    /* Поля визитки на телефоне: значок ближе к краю, чтобы подсказка
       «Представьтесь, пожалуйста» помещалась целиком */
    .contact-field input,
    .contact-field textarea {
        padding-left: 40px;
        padding-right: 12px;
    }

    .contact-field__icon {
        left: 14px;
        width: 17px;
        height: 17px;
    }

    /* Визитка на телефоне шире — меньше боковой отступ страницы вокруг неё */
    .section--contact > .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* В подвале на узком экране адрес переносится сам, без ручных разрывов строк */
    .footer__address br {
        display: none;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .nav__link {
        text-align: center;
        padding: 8px 16px;
        font-size: 13px;
    }

    .nav__dropdown {
        position: static;
        width: 100%;
        margin-top: 8px;
    }

    .nav__dropdown::before {
        display: none;
    }

    .contact-panel {
        padding: 24px 18px;
    }
}
