/* Hallmark · macrostructure: long-scroll lead-gen (IA сохранена) · tone: основательный/тёплый/локальный
 * theme: identity-preserved (paper #fbfdff · committed blue · warm CTA) · studied: no
 * pre-emit critique: P4 H5 E4 S4 R4 V4
 * Слой современного дизайна главной. Подключается ВМЕСТО main.css/responsive.css
 * (те остаются на сервере для politika-konfidencialnosti.html). */

@font-face {
    font-family: "OpenSansLight";
    src: url("../fonts/OpenSansLight.woff") format("woff");
    font-display: swap;
}
@font-face {
    font-family: "OpenSansRegular";
    src: url("../fonts/OpenSansRegular.woff") format("woff");
    font-display: swap;
}
@font-face {
    font-family: "OpenSansSemibold";
    src: url("../fonts/OpenSansSemibold.woff") format("woff");
    font-display: swap;
}
@font-face {
    font-family: "OpenSansBold";
    src: url("../fonts/OpenSansBold.woff") format("woff");
    font-display: swap;
}
@font-face {
    font-family: "OpenSansCondensedBold";
    src: url("../fonts/OpenSansCondensedBold.woff") format("woff");
    font-display: swap;
}

:root {
    /* токены подобраны в OKLCH, записаны hex ради старых телефонов аудитории */
    --ink: #122a3f;
    --ink-soft: #44607a;
    --brand: #0d72b8;
    --brand-bright: #0d8fe3;
    --brand-deep: #0a3a60;
    --brand-tint: #eaf3fa;
    --warm-tint: #fdf4df;
    --cta: #ffc414;
    --cta-deep: #f5a800;
    --cta-ink: #143046;
    --paper: #fbfdff;
    --card: #ffffff;
    --line: #d8e4ee;
    --shadow-soft: 0 10px 30px rgba(10, 58, 96, .10);
    --shadow-deep: 0 18px 50px rgba(0, 20, 45, .35);
    --radius-card: 14px;
    --radius-ui: 12px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: rgba(0,0,0,0); }
html, body { overflow-x: clip; }
html { scroll-padding-top: 90px; }
body {
    font-family: "OpenSansRegular", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    min-width: 320px;
}
img { border: none; vertical-align: middle; max-width: 100%; height: auto; }
a { color: inherit; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3 { overflow-wrap: anywhere; min-width: 0; }

:focus-visible {
    outline: 3px solid rgba(13, 114, 184, .5);
    outline-offset: 2px;
}

.main_content { max-width: 1920px; margin: 0 auto; }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
}

/* ---------- Кнопка CTA (identity: жёлтая) ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 12px 26px;
    border: 0;
    border-radius: var(--radius-ui);
    background: linear-gradient(180deg, var(--cta) 0%, var(--cta-deep) 100%);
    color: var(--cta-ink);
    font-family: "OpenSansCondensedBold", Arial, sans-serif;
    font-size: 17px;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(245, 168, 0, .32);
    transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), filter .18s var(--ease-out);
}
.btn:hover { transform: translateY(-1px); filter: saturate(1.06); box-shadow: 0 14px 26px rgba(245, 168, 0, .38); }
.btn:active { transform: translateY(1px); box-shadow: 0 6px 14px rgba(245, 168, 0, .3); }

/* ---------- Формы ---------- */
.forma {
    width: 100%;
    max-width: 380px;
    background: var(--card);
    border-radius: 16px;
    padding: 28px 26px 20px;
    text-align: center;
    box-shadow: 0 18px 44px rgba(10, 58, 96, .16);
}
.forma > p {
    font-family: "OpenSansBold";
    font-size: 17px;
    line-height: 1.35;
    color: var(--ink-soft);
}
.forma > p span {
    display: block;
    margin-top: 6px;
    font-size: 23px;
    color: var(--brand-deep);
    text-transform: uppercase;
    letter-spacing: .02em;
}
.forma form { margin: 22px 0 10px; }
.forma form input[type=text] {
    width: 100%;
    height: 54px;
    margin: 0 0 14px;
    padding: 0 16px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-ui);
    background: #fdfeff;
    font-family: "OpenSansRegular", Arial, sans-serif;
    font-size: 16px;
    color: var(--ink);
    transition: border-color .15s, box-shadow .15s;
}
.forma form input[type=text]::placeholder { color: #8aa2b5; }
.forma form input[type=text]:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(13, 114, 184, .16);
    outline: none;
}
.forma form .btn { width: 100%; min-height: 58px; padding: 10px 14px; white-space: nowrap; }
.forma > span {
    display: block;
    margin-top: 10px;
    font-family: "OpenSansLight";
    font-size: 11px;
    color: var(--ink-soft);
}
.pd-agree {
    display: block;
    margin: 2px 0 16px;
    font-size: 11.5px;
    font-family: "OpenSansLight", Arial, sans-serif;
    color: var(--ink-soft);
    text-align: left;
    line-height: 1.5;
    cursor: pointer;
}
.pd-agree input { vertical-align: middle; margin: 0 6px 2px 0; width: 15px; height: 15px; accent-color: var(--brand); cursor: pointer; }
.pd-agree a { color: var(--brand); }

/* ---------- Заголовки секций ---------- */
h2 {
    font-family: "OpenSansBold";
    font-weight: normal;
    font-size: clamp(23px, 3.6vw, 33px);
    line-height: 1.25;
    color: var(--ink);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 0 18px;
    position: relative;
}
h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-bright), var(--brand));
}

section { padding: clamp(48px, 8vw, 88px) 0; }

/* ---------- Header ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 900;
    padding: 12px 0;
    background: rgba(251, 253, 255, .96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 18px rgba(10, 58, 96, .06);
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.logo { flex: 0 0 auto; }
.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-icon { display: block; flex: 0 0 auto; filter: drop-shadow(0 4px 10px rgba(0, 90, 158, .25)); }
.logo-abbr {
    margin: 0 0 0 12px;
    font-family: "OpenSansBold";
    font-size: 28px;
    line-height: 1;
    letter-spacing: .12em;
    color: #035696;
}
.logo-sub {
    margin: 0 0 0 14px;
    padding: 3px 0 3px 14px;
    border-left: 1px solid #cfe1ef;
    font-family: "OpenSansBold";
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #3e5b75;
    text-align: left;
}
.header_right { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 28px); margin-left: auto; }
.call_gager {
    display: none;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 18px;
    border-radius: var(--radius-ui);
    background: linear-gradient(180deg, var(--cta) 0%, var(--cta-deep) 100%);
    color: var(--cta-ink);
    font-family: "OpenSansCondensedBold";
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(245, 168, 0, .3);
    transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out);
    white-space: nowrap;
}
.call_gager:hover { transform: translateY(-1px); box-shadow: 0 12px 22px rgba(245, 168, 0, .36); }
.call_gager span { font-size: 21px; }
.call_gager p { margin: 0; }
.time_work { display: none; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 13px; }
.time_work > span { font-size: 26px; color: #9db4c6; }
.time_work p span { display: block; font-family: "OpenSansSemibold"; font-size: 15px; color: var(--ink); margin-top: 2px; }
.call_back { text-align: right; }
.call_back p { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 0 0 3px; }
.call_back p span { font-size: 18px; color: var(--brand); }
.call_back p a {
    font-family: "OpenSansBold";
    font-size: clamp(16px, 2.4vw, 21px);
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
}
.call_back > a { font-size: 12.5px; color: var(--brand); text-underline-offset: 3px; }

@media (min-width: 680px) {
    .call_back > a { font-size: 13.5px; }
}
@media (min-width: 860px) {
    .call_gager { display: inline-flex; }
}
@media (min-width: 1040px) {
    .time_work { display: flex; }
}
@media (max-width: 859px) {
    .logo-sub { display: none; }
}
@media (max-width: 499px) {
    .logo-icon { width: 36px; height: 36px; }
    .logo-abbr { font-size: 22px; margin-left: 9px; }
}

/* ---------- Hero ---------- */
.section_1 {
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding: clamp(40px, 7vw, 84px) 0;
}
.section_1 .container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: clamp(24px, 4vw, 40px);
}
.title {
    flex: 1 1 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.hero-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(4, 28, 56, .88) 0%, rgba(0, 87, 158, .74) 100%);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    padding: clamp(22px, 3.5vw, 32px);
    box-shadow: var(--shadow-deep);
}
.hero-title {
    margin: 0;
    color: #fff;
    font-family: "OpenSansBold";
    font-weight: normal;
    font-size: clamp(24px, 4.5vw, 36px);
    line-height: 1.22;
    text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(0, 20, 45, .45);
}
.hero-promo {
    margin: 16px 0 0;
    color: #fff;
    font-family: "OpenSansSemibold";
    font-size: clamp(15px, 2.3vw, 18px);
    line-height: 1.5;
}
.hero-badge {
    display: inline-block;
    vertical-align: middle;
    margin: -2px 10px 4px 0;
    padding: 5px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffe044, var(--cta-deep));
    color: var(--cta-ink);
    font-family: "OpenSansCondensedBold";
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(255, 193, 7, .35);
    white-space: nowrap;
}
.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 0;
}
.hero-benefit {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px 8px 9px;
    border-radius: 999px;
    background: rgba(8, 40, 72, .6);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    font-family: "OpenSansCondensedBold";
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.hero-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-bright), #006fc9);
}
.hero-benefit-icon img { width: 16px; height: auto; }
.section_1 .forma { flex: 0 1 380px; align-self: center; margin: 0 auto; }

/* ---------- Section_2: остекление ---------- */
.glazing {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: clamp(28px, 5vw, 44px) 0 0;
}
@media (min-width: 680px) {
    .glazing { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}
.glazing li { min-width: 0; }
.glazing li a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 10px 10px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--card);
    text-decoration: none;
    transition: border-color .18s, box-shadow .18s, transform .18s var(--ease-out);
}
.glazing li a:hover { border-color: var(--brand-bright); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.glazing li img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 9px;
}
.glazing li p {
    margin: 10px 0 0;
    font-family: "OpenSansSemibold";
    font-size: 13.5px;
    line-height: 1.35;
    text-align: center;
    color: var(--ink-soft);
}
.glazing li.active a {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(13, 114, 184, .16);
}
.glazing li.active p { color: var(--brand); }

.glazing_info { margin: clamp(20px, 4vw, 32px) 0 0; }
.glazing_info > li { display: none; }
.glazing_info > li.active {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 18px;
}
.glazing_info > li > div {
    border-radius: 16px;
    border: 1px solid var(--line);
    padding: clamp(20px, 3vw, 28px);
    text-align: center;
    min-width: 0;
}
.glazing_info .cold { background: linear-gradient(180deg, var(--brand-tint) 0%, var(--paper) 80%); }
.glazing_info .warm { background: linear-gradient(180deg, var(--warm-tint) 0%, var(--paper) 80%); }
.glazing_info li > div > p:first-child {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 999px;
    font-family: "OpenSansCondensedBold";
    font-size: 14px;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin: 0 0 18px;
}
.cold > p:first-child { color: #0b6db1; background: rgba(13, 114, 184, .13); }
.warm > p:first-child { color: #a26d00; background: rgba(245, 168, 0, .16); }
.glazing_info > li > div > img { width: 100%; border-radius: 12px; }
.list { text-align: left; margin: 20px 0 0; }
.list li { position: relative; padding-left: 36px; margin: 0 0 11px; font-size: 15px; }
.list li:last-child { margin-bottom: 0; }
.list li::before {
    position: absolute;
    top: 1px;
    left: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-family: 'icomoon' !important;
    content: '\e904';
    font-size: 9px;
    line-height: 24px;
    text-align: center;
}
.cold .list li::before { background: rgba(13, 114, 184, .13); color: var(--brand); }
.warm .list li::before { background: rgba(245, 168, 0, .18); color: #a26d00; }
.glazing_info > li > div > p:not(:first-child) {
    margin: 18px 0 0;
    font-size: 14px;
    color: var(--ink-soft);
}
.price { margin: 20px 0 0; }
.price .btn { min-width: 230px; }

/* ---------- Section_3: отделка ---------- */
.section_3 { background: #f1f6fb; }
.discount {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: clamp(28px, 5vw, 44px) 0 0;
}
@media (min-width: 500px) {
    .discount { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 860px) {
    .discount { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.discount li {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 56px;
    padding: 10px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-ui);
    background: var(--card);
    font-family: "OpenSansSemibold";
    font-size: 14.5px;
    line-height: 1.3;
    color: var(--ink-soft);
    cursor: pointer;
    transition: border-color .18s, background .18s, color .18s;
}
.discount li span { border: none; }
.discount li:hover:not(.active) { border-color: var(--brand-bright); color: var(--brand); }
.discount li.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 8px 20px rgba(13, 114, 184, .28);
}

.discount_info { margin: clamp(20px, 4vw, 34px) 0 0; }
.discount_info > li { display: none; }
.discount_info > li.active {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(18px, 3vw, 30px);
    align-items: center;
}
@media (min-width: 860px) {
    .discount_info > li.active { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
    .discount_info > li.active.stack { grid-template-columns: minmax(0, 1fr); }
}
.discount_info_img { min-width: 0; }
.discount_info_img img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-soft); }
.discount_info_rigth { min-width: 0; }
.discount_info > li.active > .forma { grid-column: 1 / -1; }
.stack .discount_info_img { max-width: 420px; margin: 0 auto; }

/* Stack_pair: фото + форма замера, на десктопе одна высота */
.stack_pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(18px, 3vw, 30px);
    margin: clamp(18px, 3vw, 30px) 0 0;
}
@media (min-width: 860px) {
    .stack_pair {
        grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
        align-items: stretch;
    }
    .stack_pair .discount_info_img { max-width: none; margin: 0; height: 100%; }
    .stack_pair .discount_info_img img { height: 100%; object-fit: cover; }
    .stack_pair .forma {
        max-width: none;
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}
.types {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
@media (min-width: 640px) {
    .stack .types { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.type {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 132px;
    padding: 18px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-ui);
    background: var(--card);
    text-align: center;
    font-family: "OpenSansSemibold";
    font-size: 13.5px;
    line-height: 1.35;
    color: var(--ink);
    transition: border-color .18s var(--ease-out), box-shadow .18s var(--ease-out), transform .18s var(--ease-out);
}
.type:hover {
    border-color: var(--brand-bright);
    box-shadow: 0 10px 24px rgba(13, 114, 184, .16);
    transform: translateY(-2px);
}
.type img {
    height: 60px;
    width: 60px;
    padding: 7px;
    background: var(--brand-tint);
    border-radius: 50%;
    box-shadow: 0 0 0 3px #fff, var(--shadow-soft);
}
.type p { margin: 0; }
.colors { font-size: 14px; }
.colors > p { font-family: "OpenSansBold"; margin: 0 0 14px; }
.color {
    display: inline-block;
    vertical-align: top;
    width: 76px;
    margin: 8px 2px;
    font-size: 11px;
    color: var(--ink-soft);
    text-align: center;
}
.color a {
    display: block;
    width: 50px;
    height: 50px;
    margin: 0 auto 8px;
    border-radius: 50%;
    border: 2px solid var(--line);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .8);
    transition: transform .15s var(--ease-out), border-color .15s;
}
.color a:hover { transform: scale(1.1); border-color: var(--brand); }
.discount_icon_block > p,
.discount_icon_block2 > p { font-family: "OpenSansBold"; font-size: 16px; margin: 0 0 16px; }
.discount_icon, .discount_icon2 {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 10px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-ui);
    background: var(--card);
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}
.discount_icon img, .discount_icon2 img { width: 44px; flex: 0 0 auto; }
.discount_icon p { margin: 0; }
.discount_icon p br { display: none; }
.discount_price { display: block; font-size: 13px; color: var(--ink-soft); margin: 10px 0; }
.discount_icon_block .btn { margin-top: 8px; }
.section_3 .forma { margin: clamp(24px, 4vw, 36px) auto 0; }

/* ---------- Section_4: галерея ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: clamp(28px, 5vw, 44px) 0 0;
}
@media (min-width: 680px) {
    .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1040px) {
    .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.gallery a {
    position: relative;
    display: block;
    border-radius: var(--radius-card);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--brand-tint);
}
.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s var(--ease-out);
}
.gallery a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 58, 96, 0);
    transition: background .2s;
}
.gallery a span {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 40px;
    height: 40px;
    font-size: 40px;
    color: #fff;
    opacity: 0;
    z-index: 1;
    transition: opacity .2s;
}
@media (hover: hover) and (pointer: fine) {
    .gallery a:hover img { transform: scale(1.05); }
    .gallery a:hover::after { background: rgba(10, 58, 96, .35); }
    .gallery a:hover span { opacity: 1; }
}

/* ---------- Section_reviews: отзывы ---------- */
.reviews-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 0;
    font-family: "OpenSansSemibold";
    color: var(--ink-soft);
}
.reviews-rating-value { font-size: 22px; color: var(--ink); }
.reviews-stars, .review-stars { color: #ffb400; letter-spacing: 2px; }
.reviews-rating a, .reviews-source a { color: var(--brand); }
.reviews-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: clamp(24px, 4vw, 36px) 0 0;
}
.reviews-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    margin: 0;
    padding: 4px 4px 14px;
    list-style: none;
    -webkit-overflow-scrolling: touch;
}
.reviews-track::-webkit-scrollbar { height: 6px; }
.reviews-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
.review-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: clamp(240px, 80vw, 320px);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    padding: 20px 22px;
}
@media (min-width: 680px) { .review-card { width: clamp(260px, 42vw, 320px); } }
@media (min-width: 1040px) { .review-card { width: clamp(280px, 23vw, 320px); } }
.review-stars { font-size: 16px; margin: 0 0 10px; }
.review-text { margin: 0 0 14px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.review-author { margin: 0; font-family: "OpenSansSemibold"; font-size: 13.5px; color: var(--ink-soft); }
.reviews-nav {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--brand);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: border-color .18s var(--ease-out), box-shadow .18s var(--ease-out);
}
.reviews-nav:hover { border-color: var(--brand-bright); box-shadow: 0 10px 24px rgba(13, 114, 184, .16); }
@media (max-width: 679px) { .reviews-nav { display: none; } }
.reviews-source { text-align: center; margin: 18px 0 0; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Section_5: бонусы ---------- */
.section_5 {
    background: linear-gradient(160deg, var(--brand-deep) 0%, #0d6db1 100%);
    color: #fff;
}
.section_5 h2 { color: #fff; }
.section_5 h2::after { background: linear-gradient(90deg, #ffe044, var(--cta-deep)); }
.guarantee {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 14px;
    margin: clamp(28px, 5vw, 44px) 0 0;
}
.guarantee div {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 16px 20px;
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    text-align: left;
    min-width: 0;
}
.guarantee div img { width: 52px; flex: 0 0 auto; margin: 0; }
.guarantee div p { margin: 0; font-family: "OpenSansSemibold"; font-size: 15px; line-height: 1.45; }

/* ---------- Section_7: акция ---------- */
.section_7 {
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}
.section_7 .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 40px);
}
.stock {
    flex: 1 1 460px;
    max-width: 620px;
    min-width: 0;
    background: rgba(251, 253, 255, .94);
    border: 1px solid rgba(216, 228, 238, .8);
    border-radius: 18px;
    padding: clamp(24px, 4vw, 40px);
    box-shadow: 0 18px 44px rgba(10, 58, 96, .18);
}
.stock-lead {
    font-family: "OpenSansBold";
    font-size: clamp(22px, 3.2vw, 30px);
    line-height: 1.25;
    color: var(--brand-deep);
    margin: 0;
}
.stock-offer {
    margin: 14px 0 0;
    font-size: clamp(15px, 2.2vw, 18px);
    line-height: 1.6;
    color: var(--ink);
}
.stock-offer strong {
    font-family: "OpenSansBold";
    font-weight: normal;
    background: linear-gradient(transparent 58%, rgba(255, 196, 20, .55) 58%);
    padding: 0 2px;
}
.section_7 .forma { flex: 0 1 380px; margin: 0 auto; }

/* ---------- Section_9: вопросы и отзывы ---------- */
.section_9 {
    background: var(--brand-deep);
    color: #fff;
    text-align: center;
}
.section_9 p {
    font-family: "OpenSansSemibold";
    font-size: clamp(18px, 2.8vw, 26px);
    line-height: 1.5;
    margin: 0 0 14px;
}
.section_9 p:last-child { margin-bottom: 0; font-size: clamp(15px, 2.2vw, 18px); font-family: "OpenSansRegular"; color: rgba(255, 255, 255, .85); }
.section_9 a {
    color: #ffd75e;
    font-family: "OpenSansSemibold";
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    transition: color .15s;
}
.section_9 a:hover { color: #ffe48a; text-decoration: none; }

/* ---------- Footer ---------- */
footer {
    background: #f1f6fb;
    border-top: 1px solid var(--line);
    padding: clamp(36px, 6vw, 56px) 0 26px;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    text-align: center;
}
@media (min-width: 680px) {
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: left; }
}
.footer_logo .logo-link { justify-content: center; }
@media (min-width: 680px) {
    .footer_logo .logo-link { justify-content: flex-start; }
}
.footer_logo .logo-abbr { font-size: 24px; }
.footer-col p { margin: 0 0 8px; font-size: 15px; color: var(--ink-soft); }
.footer-col p:last-child { margin-bottom: 0; }
.footer-col .footer-label {
    font-family: "OpenSansCondensedBold";
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 10px;
}
.footer-col a { color: var(--ink); text-decoration: none; }
.footer-col a.footer-phone { font-family: "OpenSansBold"; font-size: 20px; color: var(--ink); }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--ink-soft);
    text-align: center;
    line-height: 1.7;
}
.footer-bottom a { color: var(--ink-soft); text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--brand); }

/* ---------- Модалки ---------- */
.modal { display: none; }
.modal_box { position: relative; margin: 30px auto; }
.close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(10, 58, 96, .25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s var(--ease-out);
}
.close::before {
    content: "\2715";
    font-size: 15px;
    line-height: 1;
    color: var(--ink);
}
.close:hover { transform: scale(1.08); }
.thanks {
    border-radius: 16px;
    background: var(--card);
    max-width: 380px;
    font-size: 21px;
    padding: 35px;
    text-align: center;
    font-family: "OpenSansBold";
    color: var(--ink);
}
.thanks span { font-size: 17px; display: block; margin: 9px 0 0; font-family: "OpenSansRegular"; }

/* ---------- Cookie ---------- */
#cookie-note {
    display: none;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 99990;
    max-width: 640px;
    margin: 0 auto;
    padding: 16px 20px;
    background: rgba(255, 255, 255, .97);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    box-shadow: 0 10px 35px rgba(0, 28, 58, .35);
    font-size: 13px;
    color: var(--ink);
    text-align: center;
    line-height: 1.5;
}
#cookie-note p { margin: 0; }
#cookie-note a { color: var(--brand); }
#cookie-note button {
    display: inline-block;
    margin: 10px 0 0;
    padding: 9px 28px;
    min-height: 40px;
    border: none;
    border-radius: 10px;
    background: var(--cta);
    color: var(--cta-ink);
    font-family: "OpenSansBold";
    font-size: 13px;
    cursor: pointer;
}
#cookie-note button:hover { background: var(--cta-deep); }

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
