:root {
    --color-primary: #1E3A5F;
    --color-secondary: #6B7B8C;
    --color-accent: #FF6B35;
    --color-bg: #F5F7FA;
    --color-text: #2C2C2C;

    /* Дизайн-система (источник истины: tehprom_homepage.html) */
    --navy: #0e1f38;
    --navy2: #162b4d;
    --blue: #1a5fb4;
    --blue2: #2970c8;
    --accent: #e8a020;
    --accent2: #f0b840;
    --steel: #4a5568;
    --stone: #8a8f99;
    --bg: #f5f4f0;
    --bg2: #eceae4;
    --white: #ffffff;
    --border: #d8d5cc;
    --green: #2d7a4f;
    --r: 10px;
    --r2: 16px;
    --shadow: 0 4px 24px rgba(14, 31, 56, .08);
    --shadow2: 0 8px 40px rgba(14, 31, 56, .14);
}

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

body {
    margin: 0;
    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: #1a1a18;
}

h1, h2, h3, .sec-title, .hero-h1, .logo-name, .section-title {
    font-family: 'Unbounded', 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.site-header {
    background: white;
    border-bottom: 1px solid #e0e4ea;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-bar {
    background: #0f172a;
    color: #e5e7eb;
    font-size: 13px;
}
.header-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 0;
}
.header-bar__left {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 70%;
}
.header-bar__icon {
    font-size: 14px;
}
.header-bar__text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.header-bar__right a {
    color: #e5e7eb;
    font-weight: 600;
}
.header-bar__phone {
    background: none;
    border: none;
    padding: 0;
    color: #e5e7eb;
    font-weight: 600;
    cursor: pointer;
}
.header-bar__phone:hover {
    text-decoration: underline;
}

.header-bar__phone {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .header-bar__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .header-bar__left {
        max-width: 100%;
    }
    .header-bar__text {
        white-space: normal;
        line-height: 1.4;
    }
    .header-bar__right {
        text-align: center;
        padding: 4px 0 2px;
    }
    .header-bar__phone {
        display: inline-block;
        padding: 2px 0;
    }
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
    flex-wrap: nowrap;
    position: relative;
}

.header-nav {
    border-top: 1px solid #e0e4ea;
}

.main-nav {
    padding: 6px 0 8px;
}

.logo-image {
    display: block;
    width: 160px;
    height: auto;
    max-width: 130px;
}

.header-slogan {
    font-size: 14px;
    color: var(--color-secondary);
    line-height: 1.25;
    white-space: nowrap;
}

.header-slogan span {
    display: block;
}

.main-nav > ul {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
}

.header-cta {
    margin-left: auto;
}

/* Выпадающая панель контактов в шапке */
.header-contacts-overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 120;
    display: block;
}
.header-contacts-overlay[hidden] {
    display: none !important;
}
.header-contacts-card {
    position: fixed;
    top: 56px;
    left: auto;
    width: 320px;
    max-width: calc(100% - 32px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15,23,42,0.25);
    padding: 18px 20px;
    pointer-events: auto;
}
.header-contacts-row {
    margin-bottom: 10px;
}
.header-contacts-phone {
    display: block;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
}
.header-contacts-phone:hover {
    text-decoration: underline;
}
.header-contacts-label {
    font-size: 13px;
    color: #9ca3af;
}
.header-contacts-meta {
    margin-top: 14px;
    border-top: 1px solid #e5e7eb;
    padding-top: 10px;
    font-size: 13px;
    color: #4b5563;
    display: grid;
    row-gap: 10px;
}
.header-contacts-meta-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9ca3af;
    margin-bottom: 2px;
}
.header-contacts-meta-value {
    line-height: 1.5;
}

/* Верхнее меню – выпадающий каталог продукции */
.nav-item {
    position: relative;
}

/* Для пункта \"Продукция\" выпадающее меню позиционируем от всего main-nav, а не от самого li */
.nav-item--products {
    position: static;
}

.nav-products-toggle {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-products-toggle::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -2px;
    transition: transform 0.2s ease;
}

.nav-item--products.nav-item--open .nav-products-toggle::after {
    transform: rotate(-135deg);
    margin-top: 2px;
}

.nav-products-dropdown {
    position: absolute;
    top: 100%;
    margin-top: 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.16);
    padding: 16px 0 18px;
    /* Базово — тянемся по всей ширине шапки */
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    display: none;
    overflow: hidden;
}

.nav-item--products.nav-item--open .nav-products-dropdown {
    display: block;
}

.nav-products-inner {
    width: 100%;
    margin: 0;
    padding: 0 16px;
}

@media (min-width: 1200px) {
    .nav-products-dropdown {
        /* Ширина меню как у контейнера шапки */
        width: 100%;
        left: 0;
        right: 0;
        transform: none;
    }
}

/* Старый табовый вид меню не используем */
.nav-products-panel,
.nav-products-panel__left,
.nav-products-panel__right,
.nav-products-panel__content,
.nav-products-panel__content--active,
.nav-products-panel__title,
.nav-products-panel__cols {
    display: none;
}

.nav-products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 20px 40px;
    align-items: flex-start;
}
@media (min-width: 980px) {
    .nav-products-grid { grid-template-columns: repeat(4, minmax(200px, 1fr)); }
}
.nav-products-col__title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
}
.nav-products-col__title a {
    color: var(--color-text);
    text-decoration: none;
}
.nav-products-col__title a:hover {
    color: var(--color-primary);
}
.nav-products-col__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-products-col__list li {
    font-size: 13px;
    margin-bottom: 3px;
    line-height: 1.4;
}
.nav-products-col__list a {
    color: var(--color-secondary);
    text-decoration: none;
}
.nav-products-col__list a:hover {
    color: var(--color-primary);
}

.site-main {
    min-height: 60vh;
}

.site-footer {
    background: #101522;
    color: white;
    padding: 24px 0;
    margin-top: 32px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer-middle ul,
.footer-right ul {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}

.footer-middle a,
.footer-right a {
    color: #d0d7e2;
}

.footer-copy {
    font-size: 12px;
    color: #9aa4ba;
}

.btn {
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 8px 16px;
    font-size: 14px;
}

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

.btn-accent {
    background: var(--color-accent);
    color: white;
}

.btn-secondary {
    background: #ffffff;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

/* Крупные кнопки и эффекты в hero */
.hero__actions .btn {
    font-size: 20px;
    padding: 12px 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.hero__actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.3);
}
.hero__actions .btn-accent:hover {
    background: #ff7b4a;
}
.hero__actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #f9fafb;
    border-color: #f9fafb;
}

.section {
    padding: 56px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 24px;
    color: var(--color-text);
}

.section-title--light {
    color: #fff;
    margin-bottom: 16px;
}

.hero {
    position: relative;
}

.hero__video {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    max-height: 75vh;
    background: var(--color-primary);
}

.hero__video-tag {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.65), transparent);
    color: white;
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero__text {
    max-width: 860px;
}

.hero__text h1 {
    font-size: clamp(36px, 4.2vw, 56px);
    line-height: 1.08;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

.hero__subtitle {
    font-size: clamp(18px, 1.8vw, 24px);
    max-width: 760px;
    margin: 0 0 24px;
    color: #e5e7eb;
    line-height: 1.35;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 14px;
    max-width: 740px;
    margin: 0 auto;
}

.hero-stat {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 10px;
    padding: 12px 14px;
    text-align: center;
}

.hero-stat__value {
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
}

.hero-stat__label {
    font-size: 13px;
    color: #cbd5f5;
}

/* Вынесенный блок статистики под hero */
.section-hero-stats {
    background: #fff;
    padding-top: 24px;
    padding-bottom: 8px;
}
.section-hero-stats .hero__stats {
    max-width: 960px;
}
@media (max-width: 768px) {
    .section-hero-stats {
        padding-top: 16px;
        padding-bottom: 8px;
    }
}

.request-modal[hidden] {
    display: none;
}

.request-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
}

.request-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.request-modal__dialog {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 5vh auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
    padding: 18px 18px 14px;
}

.request-modal__title {
    margin: 0 34px 12px 0;
    font-size: 24px;
}

.request-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    font-size: 22px;
    cursor: pointer;
}

.request-modal-success {
    text-align: center;
    padding: 18px 6px 8px;
}

.request-modal-success h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.request-modal-success p {
    margin: 0 0 16px;
    color: var(--color-secondary);
}

/* ===== ПРОИЗВОДСТВЕННЫЕ ВОЗМОЖНОСТИ ===== */
.section-utp {
    background: #0b1e38;
    padding-top: 60px;
    padding-bottom: 64px;
}
.utp-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
    max-width: 680px;
}
.utp-lead {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}
.section-utp .utp-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 0;
}
.utp-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background 0.2s, border-color 0.22s, transform 0.22s;
    cursor: default;
}
.utp-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(245, 158, 11, 0.45);
    transform: translateY(-3px);
}
.utp-card--accent {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.07);
}
.utp-card--accent:hover {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.6);
}
.utp-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    flex-shrink: 0;
}
.utp-card__text {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}
.utp-card__text strong {
    color: #fff;
    font-weight: 600;
}

/* Типовые проекты — карточки с картинками */
.section-projects {
    background: var(--color-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 8px;
}

.project-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
    transition: box-shadow 0.2s, transform 0.2s;
}

.project-card:hover {
    box-shadow: 0 8px 32px rgba(30, 58, 95, 0.12);
    transform: translateY(-2px);
}

.project-card__img-wrap {
    aspect-ratio: 400 / 240;
    overflow: hidden;
    background: var(--color-bg);
}

.project-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-card__body {
    padding: 22px;
}

.project-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.project-card p {
    margin: 0;
    font-size: 14px;
    color: var(--color-secondary);
    line-height: 1.5;
}

/* Блок «О предприятии» — синий фон + картинка */
.section-about-home {
    background: var(--color-primary);
    color: #fff;
}

.about-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-home-text p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin-bottom: 16px;
}

.btn-outline-light {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    margin-top: 8px;
    transition: background 0.2s, color 0.2s;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--color-primary);
    text-decoration: none;
}

.about-home-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.about-home-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* О предприятии – внутренняя страница */
.section-about-main {
    background: #ffffff;
}

.about-hero {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.about-hero__list {
    margin: 0;
    padding-left: 20px;
    font-size: 14px;
    color: var(--color-secondary);
    line-height: 1.6;
}

.about-hero__img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.25);
}

.about-hero__img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.section-about-facts {
    background: var(--color-bg);
}

.about-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.about-fact-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.08);
    font-size: 14px;
}

.about-fact-card h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 18px;
}

.section-about-certificates {
    background: #ffffff;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 16px;
}

.certificate-card {
    margin: 0;
    text-align: center;
    font-size: 13px;
    color: var(--color-secondary);
}

.certificate-card__img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.25);
    margin-bottom: 8px;
}

.certificate-card__img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.section-about-vacancies {
    background: var(--color-bg);
}

.vacancies-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .vacancies-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.vacancy-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 3px 14px rgba(30, 58, 95, 0.08);
    font-size: 14px;
}

.vacancy-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.section-about-requisites {
    background: #ffffff;
}

.requisites-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    align-items: flex-start;
}

.requisites-table dl {
    margin: 0;
}

.requisites-table dl > div {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 6px 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e0e4ea;
}

.requisites-table dt {
    font-weight: 600;
    font-size: 13px;
    color: var(--color-secondary);
}

.requisites-table dd {
    margin: 0;
    font-size: 14px;
}

.requisites-download {
    background: var(--color-bg);
    border-radius: 12px;
    padding: 20px 22px;
    font-size: 14px;
}

.requisites-row dd {
    display: flex;
    align-items: flex-start; /* если значение переносится на 2+ строки — выравниваем копирование по верху */
    justify-content: flex-end; /* копировать справа всегда в одной точке */
    gap: 8px;
}

.requisites-value {
    flex: 1 1 auto;
    min-width: 0;
}

.requisites-copy-btn {
    flex-shrink: 0;
    align-self: flex-start;
}

.requisites-copy-btn {
    font-size: 12px;
    padding: 4px 8px;
}

.requisites-copy-all {
    margin-top: 8px;
}

.requisites-copy-hint {
    margin-top: 8px;
    font-size: 13px;
    color: #16a34a;
}

/* Партнёры — карусель логотипов */
.section-partners {
    background: #fff;
}

.partners-carousel {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.partners-carousel__viewport {
    flex: 1 1 auto;
    overflow: hidden;
}

.partners-carousel__track {
    display: flex;
    gap: 16px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.partners-carousel__nav {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-heading);
    transition: background .15s, color .15s, border-color .15s;
}

.partners-carousel__nav:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.partners-carousel__nav-icon {
    font-size: 14px;
    line-height: 1;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: var(--color-bg);
    border-radius: 12px;
    transition: background 0.2s, box-shadow 0.2s;
}

.partner-item:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.08);
}

.partner-item__logo {
    width: 100%;
    max-width: 160px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

.partner-item {
    flex: 0 0 170px;
    scroll-snap-align: start;
}

.partner-item__name {
    font-size: 12px;
    color: var(--color-secondary);
    text-align: center;
    line-height: 1.3;
}

.partner-item--summary {
    align-items: center;
    justify-content: center;
}

.partner-summary-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 160px;
    height: 80px;
    border-radius: 12px;
    background: #1E3A5F;
    color: #ffffff;
}

.partner-summary-number {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.partner-summary-text {
    font-size: 12px;
    opacity: 0.9;
}

/* Блок заявки — два столбца + картинка */
.section-request {
    background: var(--color-bg);
}

.request-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.request-info p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--color-secondary);
}

.request-benefits {
    margin: 16px 0 0;
    padding-left: 20px;
    font-size: 14px;
    color: var(--color-secondary);
    line-height: 1.7;
}

.request-info__img {
    margin-top: 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.1);
}

.request-info__img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.request-form-wrapper {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(30, 58, 95, 0.08);
}

.request-form-wrapper .form {
    max-width: none;
}

/* Блоки под героем — карточки с картинками */
.section-intro {
    background: #fff;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.intro-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
    transition: box-shadow 0.2s, transform 0.2s;
}

.intro-card:hover {
    box-shadow: 0 8px 32px rgba(30, 58, 95, 0.12);
    transform: translateY(-2px);
}

.intro-card__img-wrap {
    aspect-ratio: 600 / 320;
    overflow: hidden;
    background: var(--color-bg);
}

.intro-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.intro-card__body {
    padding: 24px;
}

.intro-card h2 {
    margin: 0 0 10px;
    font-size: 20px;
}

.intro-card p {
    margin: 0 0 18px;
    font-size: 14px;
    color: var(--color-secondary);
    line-height: 1.5;
}


.form {
    max-width: 520px;
}

.form-row {
    margin-bottom: 12px;
}

.form label {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.form input,
.form textarea {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #c8d0dd;
    font-size: 14px;
}

.alert {
    padding: 10px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
    font-size: 14px;
}

.alert-success {
    background: #e5f6e8;
    color: #207227;
}

.alert-error {
    background: #fdecea;
    color: #b3261e;
}

.contacts-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 24px;
}

.contacts-map {
    margin-top: 32px;
}

.map-embed {
    min-height: 240px;
    background: #d3d8e0;
    border-radius: 8px;
}

/* Контакты */
.contacts-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.contacts-card,
.contacts-map-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
}

.contacts-card h2,
.contacts-map-card h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
}

.contacts-main p {
    margin-bottom: 8px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-row--column {
    margin-bottom: 10px;
}

.contact-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef4fb;
    color: #1e3a5f;
    font-size: 14px;
    line-height: 1;
}

.contacts-card a:not(.btn) {
    color: #1e3a5f;
    text-decoration: none;
}

.contacts-card a:not(.btn):hover {
    text-decoration: underline;
}

.contacts-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    margin: 16px 0;
    font-size: 14px;
}

.contacts-columns--single {
    grid-template-columns: minmax(0, 1fr) !important;
}

.contacts-address p {
    font-size: 14px;
}

.contacts-map-embed {
    margin-top: 8px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-bg);
}

.contacts-map-embed iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

@media (max-width: 768px) {
    .contacts-map-embed iframe {
        height: 280px;
    }
}

.contacts-form-block {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 32px;
    align-items: flex-start;
}

.contacts-form-text .section-title {
    margin-bottom: 8px;
}

.contacts-form {
    background: #fff;
    padding: 24px 26px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
}

.contacts-form--in-layout {
    height: fit-content;
}

.contacts-map-card--after-form {
    margin-top: 20px;
}

.cookies-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    z-index: 1000;
}

.cookies-banner__text {
    max-width: 640px;
}

.cookies-banner__text p {
    margin: 0;
}

.cookies-banner__text p + p {
    margin-top: 8px;
}

.cookies-banner__text a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookies-banner__actions {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

/* Главная страница: увеличить контентный текст на 3px (без заголовков h1-h4) */
/* .page-home :is(.hero, .sec) :where(p, li, a, small, .hero-sub, .hero-badge, .brand-label, .brand-pill, .hfc-sub, .sec-sub, .cta-l-sub, .cta-pt, .cert-t, .breadcrumbs):not(form *) {
    font-size: calc(1em + 3px);
}*/

/* Отдельно: текстовые элементы карточек категорий на главной */
/*.page-home .cat-body :is(.cat-sector, .cat-title, .cat-txt, .cat-tag, .cat-link) {
    font-size: calc(1em + 3px);
}*/
/* Хлебные крошки */
.breadcrumbs {
    font-size: 13px;
    color: var(--color-secondary);
    margin-bottom: 12px;
}

/* ===== HERO ВНУТРЕННИХ СТРАНИЦ (по ТЗ) ===== */
.page-hero { position: relative; background: var(--navy); overflow: hidden; }
.page-hero__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--navy2) 1px, transparent 1px), linear-gradient(90deg, var(--navy2) 1px, transparent 1px); background-size: 60px 60px; opacity: .25; }
.page-hero__in { position: relative; z-index: 2; padding: 54px 24px; min-height: 170px; display: flex; flex-direction: column; justify-content: center; }
.page-hero__title { font-family: 'Unbounded', sans-serif; color: #fff; font-size: clamp(24px, 3vw, 38px); line-height: 1.15; letter-spacing: -.02em; margin: 8px 0 8px; }
.page-hero__sub { color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.7; max-width: 860px; }
.breadcrumbs--on-dark { color: rgba(255,255,255,.65); }
.breadcrumbs--on-dark a { color: rgba(255,255,255,.85); }
.breadcrumbs--on-dark a:hover { color: #fff; }

/* ===== УСЛУГИ: список и детальная ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-mini-list { margin: 10px 0 0; padding-left: 18px; color: var(--stone); font-size: 13px; line-height: 1.55; }
.svc-mini-list li { margin: 0 0 4px; }

.svc-detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; }
.svc-detail-side { position: sticky; top: 96px; height: fit-content; }
.svc-side-card { background: var(--navy); border-radius: 16px; padding: 24px; color: #fff; box-shadow: var(--shadow2); }
.svc-side-title { font-family: 'Unbounded', sans-serif; font-size: 16px; margin: 0 0 6px; }
.svc-side-sub { font-size: 12px; color: rgba(255,255,255,.55); margin: 0 0 14px; line-height: 1.5; }
.svc-side-card .fg label { color: rgba(255,255,255,.45); }
.svc-side-card .fi, .svc-side-card .fsel, .svc-side-card .fta { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; }
.svc-side-card .fi::placeholder, .svc-side-card .fta::placeholder { color: rgba(255,255,255,.28); }
.svc-side-card .fi:focus, .svc-side-card .fsel:focus, .svc-side-card .fta:focus { border-color: var(--accent); }
.svc-list { padding-left: 18px; color: var(--steel); line-height: 1.7; }
.svc-terms { margin-top: 14px; color: var(--steel); }

.other-services-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.other-services-grid--6 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-detail-grid { grid-template-columns: 1fr; }
  .svc-detail-side { position: static; }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .page-hero__in { padding: 44px 20px; min-height: 200px; }
}

@media (max-width: 1199px) {
  .other-services-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .other-services-grid--6 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

.breadcrumbs a {
    color: #e9a021;
}

.section-lead {
    margin-bottom: 24px;
    color: #0d0d0d;
    font-size: 16px;
    line-height: 1.7;
}

/* Каталог продукции — классическая страница с боковым меню */
.section-catalog {
    background: var(--color-bg);
}

.catalog-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    margin-top: 20px;
}

.catalog-sidebar-wrap {
    position: relative;
}

/* Кнопка «Каталог» — только на мобильных */
.catalog-sidebar-toggle {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    background: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.1);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.catalog-sidebar-toggle:hover {
    background: rgba(30, 58, 95, 0.06);
}

.catalog-sidebar-toggle__icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-bottom: 4px;
    transition: transform 0.25s ease;
}

.catalog-sidebar-wrap--open .catalog-sidebar-toggle__icon {
    transform: rotate(-135deg);
    margin-bottom: -4px;
}

.catalog-sidebar {
    position: sticky;
    top: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 16px 0;
    box-shadow: 0 2px 12px rgba(30, 58, 95, 0.08);
}

.catalog-nav {
    font-size: 14px;
}

.catalog-nav__item {
    border-bottom: 1px solid #eee;
}

.catalog-nav__item:last-child {
    border-bottom: none;
}

.catalog-nav__item > a,
.catalog-nav__cat {
    display: block;
    padding: 10px 16px;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
}

.catalog-nav__item > a:hover,
.catalog-nav__cat:hover {
    background: var(--color-bg);
    color: var(--color-primary);
    text-decoration: none;
}

.catalog-nav__item--active > a {
    background: rgba(30, 58, 95, 0.08);
    color: var(--color-primary);
}

.catalog-nav__link--active,
.catalog-nav__cat.catalog-nav__link--active {
    background: rgba(30, 58, 95, 0.1);
    color: var(--color-primary);
}

.catalog-nav__sub {
    list-style: none;
    margin: 0;
    padding: 0 0 8px;
}

.catalog-nav__sub li {
    margin: 0;
}

.catalog-nav__sub .catalog-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 8px 28px;
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 400;
}

.catalog-nav__sub .catalog-nav__link:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.catalog-nav__count {
    font-size: 12px;
    color: var(--color-secondary);
    background: #e8eaee;
    padding: 2px 6px;
    border-radius: 4px;
}

.catalog-main {
    min-width: 0;
}

.catalog-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--color-text);
}

.catalog-empty {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.catalog-empty .btn {
    margin-top: 16px;
}

/* Карточки категорий на главной каталога */
.products-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.product-category-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(30, 58, 95, 0.08);
    transition: box-shadow 0.2s, transform 0.2s;
}

.product-category-card:hover {
    box-shadow: 0 6px 24px rgba(30, 58, 95, 0.12);
    transform: translateY(-2px);
}

.product-category-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-category-card__link:hover {
    color: inherit;
    text-decoration: none;
}

.product-category-card__img-wrap {
    aspect-ratio: 400 / 240;
    overflow: hidden;
    background: var(--color-bg);
}

.product-category-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.product-category-card:hover .product-category-card__img {
    transform: scale(1.04);
}
.product-category-card__img--placeholder {
    opacity: 0.6;
    filter: grayscale(0.3);
}

.product-category-card__body {
    padding: 16px 18px;
}

.product-category-card h2 {
    margin: 0 0 6px;
    font-size: 18px;
}

.product-category-card__body p {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--color-secondary);
    line-height: 1.4;
}

.product-category-card__arrow {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-primary);
}

/* Сетка подкатегорий (уровень 2) */
.products-subcategories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.subcategory-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(30, 58, 95, 0.08);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}

.subcategory-card:hover {
    box-shadow: 0 6px 24px rgba(30, 58, 95, 0.12);
    transform: translateY(-2px);
    color: inherit;
    text-decoration: none;
}

.subcategory-card__img {
    aspect-ratio: 320 / 200;
    overflow: hidden;
    background: var(--color-bg);
}

.subcategory-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.subcategory-card__body {
    padding: 14px 16px;
}

.subcategory-card__title {
    display: block;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.subcategory-card__count {
    font-size: 12px;
    color: var(--color-secondary);
}

/* Продукция: список подкатегорий (старый список — оставлен для совместимости) */
.products-subcategories {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 12px;
}

.products-subcategories .subcategory-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    font-weight: 500;
}

.products-subcategories .subcategory-link:hover {
    background: var(--color-bg);
    text-decoration: none;
}

.subcategory-count {
    font-size: 12px;
    color: var(--color-secondary);
    background: #e8eaee;
    padding: 2px 8px;
    border-radius: 999px;
}

/* Продукция: карточки товаров */
/* Классическая сетка товаров: 3 в ряд, на мобиле 2 */
.product-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(30, 58, 95, 0.08);
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 6px 24px rgba(30, 58, 95, 0.12);
    transform: translateY(-2px);
}

.product-card__img-link {
    display: block;
    text-decoration: none;
}

.product-card__img-link:hover {
    opacity: 0.95;
}

.product-card__img-wrap {
    aspect-ratio: 320 / 240;
    overflow: hidden;
    background: var(--color-bg);
}

.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card__body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card__title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.product-card__desc {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--color-secondary);
    line-height: 1.45;
    flex: 1;
}

.product-card__specs {
    margin: 0 0 12px;
    padding-left: 18px;
    font-size: 12px;
    color: var(--color-secondary);
    line-height: 1.5;
}

.product-card__action {
    margin-top: auto;
}

.product-card__action .btn-block {
    width: 100%;
    padding: 10px 16px;
}

/* Детальная карточка товара */
.section-product-detail {
    background: #ffffff;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 0.9fr);
    gap: 32px;
    align-items: flex-start;
}

.product-detail-main-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.16);
}

.product-detail-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.product-detail-thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.product-detail-desc {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text);
}

.product-detail-subtitle {
    margin-top: 24px;
    margin-bottom: 8px;
    font-size: 18px;
}

.product-detail-application {
    padding-left: 20px;
    font-size: 14px;
    color: var(--color-secondary);
}

.product-detail-files {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.product-detail-files li + li {
    margin-top: 6px;
}

.product-detail-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 8px;
}

.product-detail-specs-table tr {
    border-bottom: 1px dotted #d6dbe7;
}

.product-detail-specs-table th,
.product-detail-specs-table td {
    padding: 6px 0;
    border: none;
}

.product-detail-specs-table th {
    width: 45%;
    text-align: left;
    font-weight: 500;
    color: var(--color-text);
}

.product-detail-specs-table td {
    text-align: right;
    color: var(--color-text);
    font-weight: 500;
}

.product-detail-aside {
    position: sticky;
    top: 96px;
}

.product-detail-cta {
    background: var(--color-bg);
    border-radius: 12px;
    padding: 20px 22px;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
    font-size: 14px;
}

.product-detail-cta h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 18px;
}

.product-detail-cta p {
    margin-top: 0;
    margin-bottom: 14px;
    color: var(--color-secondary);
}

.product-detail-services {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed #cfd8ea;
}

.product-detail-services h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.product-detail-services ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.product-related {
    margin-top: 34px;
}

.product-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

/* Услуги: список и карточка */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
    transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
    box-shadow: 0 8px 32px rgba(30, 58, 95, 0.12);
    transform: translateY(-2px);
}

.service-card__img-wrap {
    aspect-ratio: 360 / 220;
    overflow: hidden;
    background: var(--color-bg);
}

.service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card__body {
    padding: 20px 22px 18px;
}

.service-card h2 {
    margin-top: 0;
    font-size: 18px;
}

.service-card h2 a {
    text-decoration: none;
}

.service-card h2 a:hover {
    text-decoration: underline;
}

.service-card p {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--color-secondary);
}

.link-more {
    font-size: 14px;
    font-weight: 500;
}

.service-stages {
    padding-left: 24px;
    margin: 12px 0 24px;
}

.service-stages li {
    margin-bottom: 6px;
    line-height: 1.5;
}

.section-service-detail .section-title {
    margin-top: 24px;
}

.section-service-detail h2 {
    font-size: 20px;
    margin-top: 28px;
    margin-bottom: 10px;
}

.section-service-detail ul,
.section-service-detail ol {
    padding-left: 22px;
    margin: 8px 0 16px;
}

.section-service-detail ul li,
.section-service-detail ol li {
    margin-bottom: 5px;
    line-height: 1.55;
}

.service-detail-hero__img {
    aspect-ratio: 3 / 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(30, 58, 95, 0.18);
    margin-bottom: 16px;
}

.service-detail-hero__img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.section-service-detail .container-wide {
    max-width: 1200px;
}

/* CTA блок под hero на услугах */
.service-order-cta {
    margin-top: 16px;
    margin-bottom: 24px;
    padding: 16px 24px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.service-order-cta__icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #eff3fb;
    flex-shrink: 0;
    position: relative;
}

.service-order-cta__icon::before,
.service-order-cta__icon::after {
    content: '';
    position: absolute;
    left: 11px;
    right: 11px;
    border-radius: 2px;
    border: 2px solid #1e40af;
}

.service-order-cta__icon::before {
    top: 9px;
    bottom: 17px;
}

.service-order-cta__icon::after {
    top: 17px;
    bottom: 9px;
}

.service-order-cta__text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text);
}

.service-order-cta__action {
    margin-left: auto;
}

@media (max-width: 767px) {
    .service-order-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 16px;
    }

    .service-order-cta__icon {
        display: none;
    }

    .service-order-cta__text {
        font-size: 13px;
    }

    .service-order-cta__action {
        margin-left: 0;
        width: 100%;
    }

    .service-order-cta__action .btn {
        white-space: normal;
        width: 100%;
    }
}

.service-detail-richtext {
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    word-break: break-word;
    overflow-wrap: break-word;
}

.service-detail-richtext p {
    margin: 0 0 12px;
}

.service-detail-richtext ul,
.service-detail-richtext ol {
    margin: 8px 0 14px 22px;
}

.service-detail-richtext li {
    margin-bottom: 5px;
    line-height: 1.55;
}

.service-detail-richtext h2 {
    font-size: 20px;
    margin: 22px 0 10px;
}

.service-detail-richtext img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ===== ДРУГИЕ УСЛУГИ ===== */
.section-other-services {
    background: var(--color-bg);
    border-top: 1px solid #e4e7ef;
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.other-services-grid.other-services-grid--6 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1199px) {
    .other-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .other-services-grid.other-services-grid--6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .other-services-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .other-services-grid.other-services-grid--6 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.other-service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(30, 58, 95, 0.07);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}

.other-service-card:hover {
    box-shadow: 0 6px 24px rgba(30, 58, 95, 0.13);
    transform: translateY(-2px);
}

.other-service-card__img-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-bg);
}

.other-service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.other-service-card:hover .other-service-card__img {
    transform: scale(1.04);
}

.other-service-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.other-service-card__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-primary);
}

.other-service-card__desc {
    font-size: 13px;
    color: var(--color-secondary);
    line-height: 1.45;
}

/* ===== HAMBURGER / MOBILE NAV ===== */
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    margin-left: auto;
}
.nav-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.mobile-nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav-open .nav-burger span:nth-child(2) { opacity: 0; }
.mobile-nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2500;
    background: rgba(15, 23, 42, 0.45);
    cursor: pointer;
}
.mobile-nav-open .mobile-nav-drawer {
    display: block;
}
.mobile-nav {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: auto;
    width: 320px;
    max-width: 86vw;
    background: #fff;
    padding: 0 0 24px;
    box-shadow: 0 8px 32px rgba(15,23,42,0.18);
    cursor: default;
    transform: translateX(-105%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}
.mobile-nav-open .mobile-nav {
    transform: translateX(0);
}
.mobile-nav__header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 14px 20px;
    border-bottom: 1px solid #e9edf3;
    margin-bottom: 4px;
}
.mobile-nav__brand {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.04em;
}
.mobile-nav__close {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}
.mobile-nav__close span {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}
.mobile-nav__close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}
.mobile-nav__close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.mobile-nav ul li {
    border-bottom: 1px solid #e9edf3;
}
.mobile-nav ul li a {
    display: block;
    padding: 14px 4px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
}
.mobile-nav ul li a:active,
.mobile-nav ul li a:hover {
    color: var(--color-primary);
}
.mobile-nav__kp {
    width: calc(100% - 40px);
    margin: 16px 20px 0;
    display: block;
}

@media (max-width: 1080px) {
    .section-utp .utp-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    /* Шапка — компактная */
    .header-top {
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px;
        padding: 10px 0;
    }

    .header-slogan {
        display: none;
    }

    /* Скрываем десктопную навигацию и кнопку КП в шапке на мобиле */
    .main-nav {
        display: none;
    }

    .btn-kp-header {
        display: none;
    }

    /* Показываем гамбургер */
    .nav-burger {
        display: flex;
    }

    .hero__video {
        min-height: 520px;
        max-height: none;
        overflow: visible;
    }

    .hero__video-tag {
        min-height: 520px;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero__overlay {
        padding: 20px 16px 32px;
        align-items: flex-start;
        min-height: 520px;
    }

    .hero__content {
        gap: 16px;
        padding-top: 4px;
        width: 100%;
    }

    .hero__text h1 {
        font-size: clamp(22px, 6.5vw, 32px);
        margin-bottom: 8px;
    }

    .hero__subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .hero__actions {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
        gap: 8px;
    }

    .hero-stat {
        padding: 10px 12px;
        border-radius: 8px;
        background: rgba(10, 18, 36, 0.78);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .hero-stat__value {
        font-size: 18px;
        line-height: 1.2;
    }

    .hero-stat__label {
        font-size: 11px;
        line-height: 1.4;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .section-lead {
        font-size: 14px;
    }

    .intro-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .projects-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    /* Убираем описание и характеристики в карточке товара на мобиле */
    .product-card__desc,
    .product-card__specs {
        display: none;
    }

    .product-card__body {
        padding: 12px 14px 14px;
    }

    .product-card__title {
        font-size: 15px;
        margin-bottom: 10px;
        line-height: 1.35;
    }

    .product-card__action .btn-block {
        padding: 10px 12px;
        font-size: 14px;
    }

    .catalog-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    /* Мобильный сайдбар каталога: кнопка видна, меню свёрнуто по умолчанию */
    .catalog-sidebar-toggle {
        display: flex;
    }

    .catalog-sidebar {
        position: static;
        max-height: 0;
        overflow: hidden;
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.3s ease, margin 0.3s ease;
    }

    .catalog-sidebar-wrap--open .catalog-sidebar {
        max-height: 75vh;
        opacity: 1;
        padding-top: 16px;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .catalog-sidebar .catalog-nav {
        max-height: 70vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .products-subcategories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .products-categories {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-home-grid,
    .about-hero,
    .requisites-grid,
    .contacts-layout,
    .contacts-form-block {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .about-home-img {
        order: -1;
    }

    .about-facts-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .partner-item__logo {
        max-height: 56px;
    }

    .request-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .request-info__img {
        display: none;
    }

    .contacts-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-detail-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-detail-hero__img {
        aspect-ratio: 16 / 7;
        border-radius: 10px;
        box-shadow: 0 4px 16px rgba(30, 58, 95, 0.14);
        margin-bottom: 14px;
    }

    .section-service-detail {
        padding-top: 20px;
        padding-bottom: 28px;
    }

    .section-service-detail .section-title {
        font-size: 22px;
        margin-top: 0;
        margin-bottom: 12px;
    }

    .section-service-detail h2 {
        font-size: 17px;
        margin-top: 22px;
    }

    .service-detail-richtext {
        font-size: 14px;
        line-height: 1.6;
    }

    .service-detail-richtext h2 {
        font-size: 17px;
    }

    .service-stages {
        padding-left: 18px;
    }

    .service-stages li {
        font-size: 14px;
    }

    .section-service-detail ul li,
    .section-service-detail ol li {
        font-size: 14px;
    }

    .cookies-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookies-banner__actions {
        width: 100%;
        display: flex;
    }

    .cookies-banner__actions .btn {
        flex: 1 1 0;
    }

    .request-modal__dialog {
        margin: 3vh 12px;
        max-height: 94vh;
        overflow-y: auto;
    }

    .section-utp .utp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .utp-card {
        padding: 16px 14px;
        gap: 10px;
    }
    .utp-card__icon {
        width: 40px;
        height: 40px;
    }

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

    .vacancies-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-cards-grid,
    .services-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .other-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .other-service-card__desc {
        display: none;
    }

    .other-service-card__title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .section-utp .utp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .utp-card {
        padding: 14px 12px;
    }
    .utp-card__text {
        font-size: 13px;
    }

    .product-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .products-subcategories-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-related-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero__video {
        min-height: 500px;
    }

    .hero__video-tag {
        min-height: 500px;
    }

    .hero__overlay {
        min-height: 500px;
    }

    .hero__text h1 {
        font-size: clamp(20px, 7.5vw, 26px);
    }

    .hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .hero-stat {
        padding: 9px 11px;
    }

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

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

    .section-service-detail .section-title {
        font-size: 20px;
    }

    .section-service-detail h2 {
        font-size: 16px;
    }

    .service-detail-richtext {
        font-size: 14px;
    }
}



.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ===== PHONE SELECTOR ===== */
.phone-wrap {
    position: relative;
    display: flex;
    border: 1px solid #c8d0dd;
    border-radius: 4px;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.phone-wrap:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}
.phone-country-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 8px 8px 10px;
    background: #f5f7fa;
    border: none;
    border-right: 1px solid #c8d0dd;
    border-radius: 4px 0 0 4px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    color: var(--color-text);
    line-height: 1;
    flex-shrink: 0;
    transition: background 0.15s;
}
.phone-country-btn:hover {
    background: #e9eef5;
}
.phone-flag-emoji {
    font-size: 18px;
    line-height: 1;
}
.phone-dial-display {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
}
.phone-chevron {
    flex-shrink: 0;
    color: #6b7280;
    transition: transform 0.2s;
}
.phone-country-btn[aria-expanded="true"] .phone-chevron {
    transform: rotate(180deg);
}
.phone-country-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 60;
    min-width: 220px;
    background: #fff;
    border: 1px solid #c8d0dd;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(30, 58, 95, 0.13);
    list-style: none;
    padding: 4px 0;
    margin: 0;
}
.phone-country-list[hidden] {
    display: none;
}
.phone-country-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.13s;
}
.phone-country-item:hover {
    background: #f0f4fb;
}
.phone-country-item.is-selected {
    background: #ebf1fb;
}
.phone-item-flag {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}
.phone-item-name {
    flex: 1;
    color: var(--color-text);
}
.phone-item-dial {
    color: #6b7280;
    font-size: 13px;
}
.phone-number-input {
    flex: 1;
    min-width: 0;
    border: none !important;
    outline: none !important;
    border-radius: 0 4px 4px 0 !important;
    padding: 8px 10px !important;
    font-size: 14px;
    background: transparent;
    width: auto !important;
    box-shadow: none !important;
    color: var(--color-text) !important; /* чтобы цифры были видны на белом поле phone-wrap */
}
.form-row-label {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}
.form-inline-msg {
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 12px;
}
.form-inline-msg--success {
    background: #e5f6e8;
    color: #1a7227;
    border: 1px solid #b7e0bb;
}
.form-inline-msg--error {
    background: #fdecea;
    color: #b3261e;
    border: 1px solid #f7bfbc;
}

/* Согласие на обработку персональных данных */
.checkbox-consent {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-secondary);
    cursor: pointer;
}
.checkbox-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.form-row-submit-consent {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.form-row-submit-consent .btn {
    flex-shrink: 0;
}

/* SEO‑текст и теги услуг на страницах каталога */
.catalog-seo-text {
    margin-top: 24px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
}

.catalog-seo-text p,
.catalog-seo-text li,
.section-lead p,
.section-lead li,
.service-detail-richtext p,
.service-detail-richtext li {
    font-size: 16px;
}

.catalog-service-tags {
    margin-top: 30px;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.catalog-service-tags__title {
    width: 100%;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--color-text);
}

.service-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    font-size: 13px;
    color: var(--color-primary);
    text-decoration: none;
    background: #fff;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.service-tag:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* ===== 404 PAGE ===== */
.section-404 {
    padding: 48px 0 72px;
    background: var(--color-bg);
}
.page-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}
.page-404__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-heading);
    margin: 0 0 24px;
}
.page-404__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    margin-bottom: 20px;
}
.page-404__caption {
    font-size: 17px;
    color: var(--color-secondary);
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 28px;
}
@media (max-width: 768px) {
    .section-404 { padding: 32px 0 48px; }
    .page-404__img { border-radius: 10px; }
    .page-404__title { font-size: 22px; }
    .page-404__caption { font-size: 14px; }
}

/* ===== FAQ ===== */
.faq-section {
    border-top: 1px solid var(--color-border);
}
.faq-section__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 20px;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
}
.faq-item {
    border-bottom: 1px solid var(--color-border);
}
.faq-item:last-child {
    border-bottom: 0;
}
.faq-item__q {
    width: 100%;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-heading);
    line-height: 1.45;
    transition: background .15s, box-shadow .15s;
}
.faq-item__q:hover {
    background: #e5e7eb;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.6);
}
.faq-item__q[aria-expanded="true"] {
    background: #e0f2fe;
}
.faq-item__arrow {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s;
}
.faq-item__arrow::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) translate(-1px, -1px);
    transition: transform .25s;
}
.faq-item__q[aria-expanded="true"] .faq-item__arrow {
    transform: rotate(180deg);
}
.faq-item__a {
    overflow: hidden;
}
.faq-item__a-inner {
    padding: 0 20px 18px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text);
}
@media (max-width: 768px) {
    .faq-section__title { font-size: 18px; }
    .faq-item__q { font-size: 14px; padding: 14px 16px; }
    .faq-item__a-inner { padding: 0 16px 14px; }
}

/* ====================================================================== */
/* ДИЗАЙН-СИСТЕМА И КОМПОНЕНТЫ ГЛАВНОЙ (источник: tehprom_homepage.html)    */
/* ====================================================================== */

/* === HEADER (reference .hdr) === */
.hdr { position: sticky; top: 0; z-index: 1000; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 1px 12px rgba(14,31,56,.06); }
.hdr-top { background: var(--navy); padding: 6px 0; }
.hdr-top-in { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; color: rgba(255,255,255,.65); flex-wrap: wrap; }
.hdr-top-in a { color: rgba(255,255,255,.65); transition: color .15s; }
.hdr-top-in a:hover { color: #fff; }
.hdr-contacts { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hdr-contact { display: flex; align-items: center; gap: 6px; color: #fff; border: 0; padding: 0; font: inherit; }
.hdr-contact:hover { color: #fff; }
.hdr-main { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 32px; height: 68px; position: relative; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 36px; width: auto; }
.logo-txt .logo-name { font-family: 'Unbounded', sans-serif; font-size: 15px; font-weight: 700; color: var(--navy); }
.logo-txt .logo-sub { font-size: 13px; color: var(--stone); letter-spacing: .03em; }

@media (max-width: 768px) {
    .logo-txt { display: none; }
}
.hdr nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-a { position: relative; font-size: 17px; font-weight: 500; color: var(--steel); padding: 8px 14px; border-radius: 8px; transition: color .15s, background .15s; cursor: pointer; white-space: nowrap; background: transparent; border: 0; }
.nav-a:hover { color: var(--navy); background: var(--bg); }
.nav-a.has-dd::after { content: ' ▾'; font-size: 10px; opacity: .5; }
.dd { position: absolute; top: calc(100% + 6px); left: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--r2); box-shadow: var(--shadow2); padding: 12px; min-width: 260px; opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .15s, transform .15s; z-index: 100; }
.nav-a:hover .dd { opacity: 1; pointer-events: all; transform: none; }
.dd-head { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); padding: 4px 10px 2px; }
.dd-link { display: block; font-size: 13px; color: var(--steel); padding: 6px 10px; border-radius: 8px; transition: color .15s, background .15s; }
.dd-link:hover { color: var(--navy); background: var(--bg); }
.dd-link.accent { color: var(--blue); }
.hdr-btns { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.hdr-kp-mobile { display: none !important; margin-left: auto; }

/* Buttons (system) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 13px; padding: 10px 20px; border-radius: var(--r); cursor: pointer; transition: all .15s; white-space: nowrap; border: 2px solid transparent; text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue2); border-color: var(--blue2); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,95,180,.3); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--navy); background: var(--bg); }
.btn-accent { background: var(--accent); color: var(--navy); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent2); border-color: var(--accent2); transform: translateY(-1px); }
.btn-lg { font-size: 15px; padding: 14px 28px; border-radius: 12px; }
.btn-ow { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ow:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* Generic section + container */
.sec { padding: 20px 0; }
.sec-sm { padding: 56px 0; }
.con { max-width: 1200px; margin: 0 auto; padding: 0 10px; }
.sec-label { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.sec-label::before { content: ''; width: 20px; height: 2px; background: var(--blue); border-radius: 1px; }
.sec-title { font-family: 'Unbounded', sans-serif; font-size: clamp(22px, 2.7vw, 30px); color: var(--navy); margin-bottom: 14px; letter-spacing: -.02em; line-height: 1.2; }
.sec-sub { font-size: 19px; color: var(--steel); line-height: 1.7; max-width: 640px; }
.center { text-align: center; }
.center .sec-label { justify-content: center; }
.center .sec-sub { margin: 0 auto; }

/* Hero */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; background: var(--navy); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('/img/chertezhi-home.jpg') center/cover; opacity: 0; transition: opacity .2s ease; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; pointer-events: none; }
.hero.hero--no-video .hero-bg { opacity: .22; }
.hero.hero--no-video .hero-video { display: none; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--navy2) 1px, transparent 1px), linear-gradient(90deg, var(--navy2) 1px, transparent 1px); background-size: 60px 60px; opacity: .25; }
.hero-in { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 80px 24px; display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(232,160,32,.15); border: 1px solid rgba(232,160,32,.4); color: #f0b840; font-size: 12px; font-weight: 600; letter-spacing: .06em; padding: 6px 14px; border-radius: 20px; margin-bottom: 24px; text-transform: uppercase; }
.hero-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.75)} }
.hero-h1 { font-family: 'Unbounded', sans-serif; font-size: clamp(26px, 3.5vw, 46px); color: #fff; margin-bottom: 20px; letter-spacing: -.02em; line-height: 1.15; }
.hero-h1 .hl { color: var(--accent); }
.hero-sub { font-size: 16px; color: rgba(255,255,255,.68); line-height: 1.7; margin-bottom: 28px; max-width: 560px; }
.hero-brands { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.brand-label { font-size: 11px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .06em; }
.brand-pill { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; letter-spacing: .04em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r2); padding: 28px; backdrop-filter: blur(8px); }
.hfc-title { font-family: 'Unbounded', sans-serif; font-size: 15px; color: #fff; margin-bottom: 4px; }
.hfc-sub { font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.fg { margin-bottom: 11px; }
.fg label { display: block; font-size: 10px; font-weight: 700; color: rgba(255,255,255,.45); margin-bottom: 4px; letter-spacing: .05em; text-transform: uppercase; }
.fi, .fsel, .fta { width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; color: #fff; font-family: 'Manrope', sans-serif; font-size: 14px; padding: 9px 13px; transition: border-color .15s; appearance: none; -webkit-appearance: none; }
.fsel { padding-right: 38px; background-repeat: no-repeat; background-position: right 12px center; background-size: 14px 14px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,.7)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); }
.fsel option { background: var(--navy2); color: #fff; }
.fi::placeholder, .fta::placeholder { color: rgba(255,255,255,.28); }
.fi:focus, .fsel:focus, .fta:focus { outline: none; border-color: var(--accent); }
.fta { resize: vertical; min-height: 64px; }
.ffile { display: flex; align-items: center; gap: 8px; border: 1px dashed rgba(255,255,255,.22); border-radius: 10px; padding: 9px 13px; cursor: pointer; font-size: 12px; color: rgba(255,255,255,.45); transition: border-color .15s; }
.ffile:hover { border-color: var(--accent); color: rgba(255,255,255,.75); }
.ffile input { display: none; }
.ffile-name { display: inline-block; margin-left: 6px; color: rgba(255,255,255,.85); font-weight: 600; font-size: 12px; }
.fagree { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; }
.fagree input { margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.fagree span { font-size: 11px; color: rgba(255,255,255,.38); line-height: 1.4; }

/* Stats */
.stats { background: var(--white); border-bottom: 1px solid var(--border); }
.stats-in { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 12px; text-align: center; border-right: 1px solid var(--border); transition: background .15s; }
.stat:last-child { border-right: none; }
.stat:hover { background: var(--bg); }
.stat-n { font-family: 'Unbounded', sans-serif; font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.stat-n .ac { color: var(--blue); }
.stat-t { font-size: 14px; color: var(--stone); line-height: 1.4; max-width: 160px; }

/* Industries */
.industries { background: var(--bg); }
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 48px; }
.ind-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r2); padding: 22px 18px; transition: all .2s; }
.ind-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.ind-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 12px; }
.ind-name { font-family: 'Unbounded', sans-serif; font-size: 19px; font-weight: 600; color: var(--navy); margin-bottom: 7px; line-height: 1.35; }
.ind-items { font-size: 17px; color: var(--stone); line-height: 1.55; }
.ind-client { font-size: 13px; color: var(--blue); margin-top: 9px; font-weight: 600; }

/* UTP (utz) */
.utz { background: var(--white); }
.utz-in { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.utz-img { position: relative; border-radius: var(--r2); overflow: hidden; aspect-ratio: 4/3; }
.utz-img img { width: 100%; height: 100%; object-fit: cover; }
.utz-badge { position: absolute; bottom: 20px; left: 20px; background: var(--navy); color: #fff; border-radius: 12px; padding: 12px 18px; }
.utz-badge-n { font-family: 'Unbounded', sans-serif; font-size: 28px; font-weight: 700; color: var(--accent); line-height: 1; }
.utz-badge-t { font-size: 11px; color: rgba(255,255,255,.65); margin-top: 3px; }
.feats { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.feat { display: flex; align-items: flex-start; gap: 12px; padding: 13px 15px; border-radius: var(--r); border: 1px solid var(--border); background: var(--bg); transition: border-color .15s; }
.feat:hover { border-color: var(--blue); }
.feat-ic { width: 34px; height: 34px; border-radius: 8px; background: var(--navy); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.feat-t { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.feat-d { font-size: 15px; color: var(--steel); line-height: 1.5; }

/* Elevators (analogs) */
.elev { background: var(--navy); position: relative; overflow: hidden; }
.elev-pat { position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255,255,255,.02) 20px, rgba(255,255,255,.02) 21px); }
.elev-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.elev-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(232,160,32,.15); border: 1px solid rgba(232,160,32,.35); color: #f0b840; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 5px 14px; border-radius: 20px; margin-bottom: 18px; text-transform: uppercase; }
.elev-title { font-family: 'Unbounded', sans-serif; font-size: clamp(20px, 2.5vw, 32px); color: #fff; margin-bottom: 14px; line-height: 1.2; letter-spacing: -.02em; }
.elev-sub { font-size: 18px; color: rgba(255,255,255,.58); line-height: 1.7; margin-bottom: 28px; }
.brands { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.brand-tag { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; font-family: 'Unbounded', sans-serif; font-size: 13px; font-weight: 600; padding: 8px 18px; border-radius: 8px; transition: background .15s; }
.brand-tag:hover { background: rgba(255,255,255,.15); }
.elev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ep { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r2); padding: 18px; transition: border-color .15s; }
.ep:hover { border-color: rgba(232,160,32,.4); }
.ep-ic { font-size: 22px; margin-bottom: 9px; }
.ep-t { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 5px; }
.ep-d { font-size: 15px; color: rgba(255,255,255,.5); line-height: 1.5; }

/* Catalogue cards */
.cat { background: var(--bg); }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.cat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.cat-card:hover { box-shadow: var(--shadow2); transform: translateY(-4px); }
.cat-pic { aspect-ratio: 16/9; overflow: hidden; }
.cat-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-card:hover .cat-pic img { transform: scale(1.05); }
.cat-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.cat-sector { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: rgba(26,95,180,.08); padding: 3px 10px; border-radius: 20px; margin-bottom: 9px; }
.cat-title { font-family: 'Unbounded', sans-serif; font-size: 19px; color: var(--navy); margin-bottom: 9px; line-height: 1.3; }
.cat-txt { font-size: 17px; color: var(--steel); line-height: 1.6; flex: 1; }
.cat-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0; }
.cat-tag { font-size: 14px; background: var(--bg2); color: var(--steel); padding: 3px 9px; border-radius: 20px; }
.cat-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--blue); margin-top: auto; transition: gap .15s; }
.cat-link:hover { gap: 9px; }

/* Process */
.proc { background: var(--white); }
.proc-steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; margin-top: 56px; position: relative; }
.proc-steps::before { content: ''; position: absolute; top: 27px; left: 7%; right: 7%; height: 2px; background: var(--border); }
.proc-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px; position: relative; z-index: 1; }
.proc-num { width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: 'Unbounded', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 14px; flex-shrink: 0; border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--border); transition: transform .2s, box-shadow .2s; }
.proc-step:hover .proc-num { transform: scale(1.12); box-shadow: 0 0 0 1px var(--blue), 0 4px 16px rgba(26,95,180,.25); }
.proc-name { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.proc-desc { font-size: 17px; color: var(--stone); line-height: 1.5; }

/* Capabilities */
.caps { background: var(--bg); }
.caps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.cap-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r2); padding: 26px; }
.cap-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cap-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--navy); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.cap-ht { font-family: 'Unbounded', sans-serif; font-size: 17px; color: var(--navy); }
.cap-ul { list-style: none; display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; }
.cap-ul li { display: flex; align-items: flex-start; gap: 8px; font-size: 16px; color: var(--steel); line-height: 1.5; }
.cap-ul li::before { content: '—'; color: var(--accent); flex-shrink: 0; font-weight: 700; }

/* Benefits */
.ben { background: var(--white); }
.ben-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.ben-card { border: 1px solid var(--border); border-radius: var(--r2); padding: 26px; transition: border-color .2s, box-shadow .2s; }
.ben-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.ben-ic { font-size: 30px; margin-bottom: 14px; }
.ben-t { font-family: 'Unbounded', sans-serif; font-size: 16px; color: var(--navy); margin-bottom: 9px; line-height: 1.3; }
.ben-d { font-size: 16px; color: var(--steel); line-height: 1.65; }

/* Cases */
.cases { background: var(--bg); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.case-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.case-card:hover { box-shadow: var(--shadow2); transform: translateY(-4px); }
.case-pic { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.case-pic img { width: 100%; height: 100%; object-fit: cover; }
.case-ind { position: absolute; top: 14px; left: 14px; background: var(--navy); color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.case-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.case-t { font-family: 'Unbounded', sans-serif; font-size: 16px; color: var(--navy); margin-bottom: 12px; line-height: 1.35; }
.case-rw { display: grid; grid-template-columns: 58px 1fr; gap: 5px 10px; margin-bottom: 10px; align-items: start; }
.case-rl { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); padding-top: 3px; }
.case-rv { font-size: 15px; color: var(--steel); line-height: 1.55; }
.case-res { background: rgba(45,122,79,.07); border: 1px solid rgba(45,122,79,.2); border-radius: 10px; padding: 11px 13px; margin-top: auto; }
.case-rl2 { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-bottom: 4px; }
.case-rv2 { font-size: 15px; color: var(--steel); line-height: 1.5; }

/* Partners */
.partners { background: var(--white); }
.partner-wrap { overflow: hidden; position: relative; margin-top: 40px; }
.partner-wrap::before, .partner-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; }
.partner-wrap::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.partner-wrap::after { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.partner-track { display: flex; gap: 12px; animation: pscroll 28s linear infinite; }
.partner-track:hover { animation-play-state: paused; }
@keyframes pscroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.plogo { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r2); padding: 14px 22px; min-width: 180px; gap: 7px; flex-shrink: 0; transition: border-color .15s, box-shadow .15s; }
.plogo:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.plogo img { height: 38px; width: auto; object-fit: contain; filter: grayscale(25%); transition: filter .15s; }
.plogo:hover img { filter: none; }
.plogo-n { font-size: 11px; font-weight: 600; color: var(--steel); text-align: center; line-height: 1.3; }
.plogo a { display: inline-flex; flex-direction: column; align-items: center; gap: 7px; }

/* About preview */
.about { background: var(--bg); }
.about-in { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img { border-radius: var(--r2); overflow: hidden; }
.about-img img { width: 100%; object-fit: cover; display: block; }
.about-certs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.cert { display: flex; align-items: flex-start; gap: 9px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 11px 13px; }
.cert-ic { font-size: 17px; flex-shrink: 0; margin-top: 1px; }
.cert-t { font-size: 15px; color: var(--steel); line-height: 1.4; }
.cert-t b { display: block; font-size: 16px; color: var(--navy); font-weight: 600; margin-bottom: 2px; }

/* CTA form */
.cta-sec { background: var(--navy); position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background-image: radial-gradient(circle at 15% 50%, rgba(26,95,180,.18) 0%, transparent 50%), radial-gradient(circle at 85% 50%, rgba(232,160,32,.09) 0%, transparent 50%); }
.cta-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 500px; gap: 80px; align-items: start; }
.cta-l-title { font-family: 'Unbounded', sans-serif; font-size: clamp(20px, 2.8vw, 32px); color: #fff; margin-bottom: 14px; line-height: 1.2; letter-spacing: -.02em; }
.cta-l-sub { font-size: 18px; color: rgba(255,255,255,.58); line-height: 1.7; margin-bottom: 28px; }
.cta-pts { list-style: none; display: flex; flex-direction: column; gap: 13px; margin: 0; padding: 0; }
.cta-pt { display: flex; align-items: flex-start; gap: 11px; font-size: 17px; color: rgba(255,255,255,.72); line-height: 1.5; }
.cta-pt-ic { width: 28px; height: 28px; border-radius: 8px; background: rgba(232,160,32,.18); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.cta-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r2); padding: 30px; }
.cta-card-t { font-family: 'Unbounded', sans-serif; font-size: 17px; color: #fff; margin-bottom: 5px; }
.cta-card-sub { font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 22px; }
.cta-sec .fg label { color: rgba(255,255,255,.45); }
.cta-sec .fi, .cta-sec .fsel, .cta-sec .fta { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; }
.cta-sec .fi::placeholder, .cta-sec .fta::placeholder { color: rgba(255,255,255,.28); }
.cta-sec .fi:focus, .cta-sec .fsel:focus, .cta-sec .fta:focus { border-color: var(--accent); }
.cta-sec .fagree input { accent-color: var(--accent); }

/* Responsive */
@media(max-width:1024px){
  .hero-in{grid-template-columns:1fr} .hero-card{display:none}
  .utz-in,.elev-in,.cta-in,.about-in{grid-template-columns:1fr;gap:40px}
  .ind-grid{grid-template-columns:repeat(3,1fr)}
  .cat-grid,.cases-grid{grid-template-columns:repeat(2,1fr)}
  .ben-grid{grid-template-columns:repeat(2,1fr)}
  .proc-steps{grid-template-columns:repeat(4,1fr);gap:20px}
  .proc-steps::before{display:none}
  .caps-grid{grid-template-columns:1fr}
  .hdr-main > nav,.hdr-contacts{display:none}
  .hdr-btns{display:none !important}
  .hdr-kp-mobile{display:inline-flex !important}
}
@media(max-width:768px){
  .sec{padding:52px 0} .hero-in{padding:52px 20px}
  .stats-in{grid-template-columns:repeat(2,1fr)}
  .stat:nth-child(5){grid-column:span 2;border-right:none}
  .ind-grid{grid-template-columns:repeat(2,1fr)}
  .cat-grid,.cases-grid,.ben-grid{grid-template-columns:1fr}
  .proc-steps{grid-template-columns:repeat(2,1fr)}
  .hero-h1{font-size:26px}
}

@media(max-width:480px){
  .ind-grid{grid-template-columns:1fr}
  .ind-card{min-width:0}
  .ind-name,.ind-items,.ind-client{overflow-wrap:anywhere; word-break:break-word}
}

/* === FOOTER (reference .footer) === */
.footer { background: #080f1c; border-top: 1px solid rgba(255,255,255,.07); padding: 48px 0 24px; }
.ft { display: grid; grid-template-columns: 230px 1fr 1fr 1fr; gap: 48px; margin-bottom: 36px; }
.ft-name { font-family: 'Unbounded', sans-serif; font-size: 15px; font-weight: 700; color: #fff; }
.ft-sub { font-size: 10px; color: rgba(255,255,255,.38); margin-top: 3px; margin-bottom: 14px; }
.ft-desc { font-size: 12px; color: rgba(255,255,255,.38); line-height: 1.7; }
.ft-unp { margin-top: 14px; font-size: 11px; color: rgba(255,255,255,.25); }
.ft-cht { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 12px; }
.ft-links { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; }
.ft-links a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .15s; }
.ft-links a:hover { color: #fff; }
.ft-links a.ac { color: rgba(232,160,32,.7); }
.ft-cts { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; }
.ft-ct-lbl { font-size: 10px; color: rgba(255,255,255,.3); margin-bottom: 2px; }
.ft-ct-val { font-size: 13px; color: rgba(255,255,255,.65); }
.ft-ct-val a { color: rgba(255,255,255,.65); transition: color .15s; }
.ft-ct-val a:hover { color: #fff; }
.ft-bot { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.ft-copy { font-size: 12px; color: rgba(255,255,255,.28); }
.ft-legal { display: flex; gap: 18px; }
.ft-legal a { font-size: 12px; color: rgba(255,255,255,.28); transition: color .15s; }
.ft-legal a:hover { color: rgba(255,255,255,.55); }

@media(max-width:1024px){
  .ft{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  .ft{grid-template-columns:1fr;gap:28px}
}
