/* ============================================
   Климат Контроль — оригинальные стили
   Сине-голубая «морозная» гамма
   ============================================ */

:root {
    --c-primary: #0369a1;
    --c-primary-dark: #075985;
    --c-primary-light: #0ea5e9;
    --c-accent: #22d3ee;
    --c-ice: #e0f2fe;
    --c-ice-deep: #bae6fd;
    --c-bg: #ffffff;
    --c-bg-alt: #f0f9ff;
    --c-text: #0f172a;
    --c-text-muted: #475569;
    --c-border: #e2e8f0;
    --c-success: #059669;
    --c-warning: #f59e0b;
    --shadow-sm: 0 2px 8px rgba(3, 105, 161, 0.06);
    --shadow-md: 0 8px 24px rgba(3, 105, 161, 0.10);
    --shadow-lg: 0 20px 50px rgba(3, 105, 161, 0.15);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --transition: 0.25s ease;
    --container: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 110px;
}

body {
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img, svg {
    max-width: 100%;
    display: block;
}

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

a:hover {
    color: var(--c-primary-light);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(14, 165, 233, 0.45);
    outline-offset: 2px;
}

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

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

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--c-text);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }

.section {
    padding: 80px 0;
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 0.6rem;
}

.section-title p {
    color: var(--c-text-muted);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ========== Кнопки ========== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-compact {
    padding: 10px 20px;
    font-size: 0.92rem;
}

.btn-full {
    width: 100%;
}

.btn-offer {
    background: #fef08a;
    color: #0c4a6e;
}

.btn-offer:hover {
    background: #fde047;
    color: #0c4a6e;
}

.btn-primary {
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary));
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--c-primary);
    border-color: var(--c-ice-deep);
}

.btn-outline:hover {
    background: var(--c-ice);
    border-color: var(--c-primary-light);
}

.btn-ghost {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.35);
    backdrop-filter: blur(6px);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* ========== Шапка ========== */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--c-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--c-text);
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary-dark));
    color: #fff;
    flex-shrink: 0;
}

.logo-text {
    line-height: 1.1;
}

.logo-text small {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--c-text-muted);
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    color: var(--c-text);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav a:hover, .nav a.active {
    color: var(--c-primary);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-phone {
    font-weight: 700;
    color: var(--c-text);
    font-size: 1.05rem;
}

.burger {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.burger span {
    width: 22px;
    height: 2px;
    background: var(--c-text);
    transition: all var(--transition);
}

/* ========== Hero ========== */

.hero {
    position: relative;
    padding: 70px 0 90px;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 55%, #ffffff 100%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,211,238,0.35), transparent 70%);
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -160px;
    left: -80px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14,165,233,0.25), transparent 70%);
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #fff;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--c-primary);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.hero-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-success);
    box-shadow: 0 0 0 4px rgba(5,150,105,0.15);
}

.hero h1 {
    margin-bottom: 20px;
}

.hero h1 .accent {
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--c-text-muted);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--c-ice-deep);
}

.hero-stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--c-primary);
    line-height: 1;
}

.hero-stat-label {
    color: var(--c-text-muted);
    font-size: 0.88rem;
    margin-top: 6px;
}

.hero-visual {
    position: relative;
    min-height: 380px;
    display: grid;
    place-items: center;
}

.hero-visual .ac-illus {
    width: 100%;
    max-width: 440px;
    filter: drop-shadow(0 30px 60px rgba(3, 105, 161, 0.25));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.hero-chip {
    position: absolute;
    background: #fff;
    padding: 12px 18px;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.92rem;
}

.hero-chip-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--c-ice);
    color: var(--c-primary);
    flex-shrink: 0;
}

.hero-chip.top-left { top: 20px; left: -10px; }
.hero-chip.bottom-right { bottom: 30px; right: -20px; }

/* ========== Преимущества ========== */

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--c-ice-deep);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--c-ice), var(--c-ice-deep));
    color: var(--c-primary);
    margin-bottom: 18px;
}

.feature-card h3 {
    margin-bottom: 8px;
    font-size: 1.12rem;
}

.feature-card p {
    color: var(--c-text-muted);
    font-size: 0.95rem;
}

/* ========== Категории ========== */

.categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cat-card {
    position: relative;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: #fff;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform var(--transition);
    isolation: isolate;
}

.cat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3,105,161,0.7), rgba(8,47,73,0.85));
    z-index: -1;
}

.cat-card.home { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.cat-card.office { background: linear-gradient(135deg, #22d3ee, #0891b2); }
.cat-card.multi { background: linear-gradient(135deg, #1e40af, #0c4a6e); }

.cat-card:hover { transform: translateY(-6px); }

.cat-card h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.cat-card p {
    opacity: 0.9;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.cat-card .cat-arrow {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.22);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    backdrop-filter: blur(6px);
}

/* ========== Сетка товаров ========== */

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-ice-deep);
}

.product-image {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--c-ice), #fff);
    display: grid;
    place-items: center;
    padding: 24px;
}

.product-image svg {
    width: 80%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(3,105,161,0.15));
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.product-badge.hit { background: var(--c-warning); color: #fff; }
.product-badge.new { background: var(--c-success); color: #fff; }
.product-badge.sale { background: #dc2626; color: #fff; }

.product-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.product-brand {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--c-text-muted);
    font-weight: 600;
}

.product-title {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.spec-chip {
    font-size: 0.78rem;
    padding: 4px 10px;
    background: var(--c-ice);
    color: var(--c-primary-dark);
    border-radius: 999px;
    font-weight: 500;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
}

.product-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--c-text);
}

.product-price s {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--c-text-muted);
}

.product-buy {
    padding: 10px 18px;
    background: var(--c-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background var(--transition);
}

.product-buy:hover {
    background: var(--c-primary-light);
}

/* ========== Услуги ========== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-border);
    transition: all var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-card h3 {
    margin: 18px 0 10px;
    font-size: 1.3rem;
}

.service-card ul {
    list-style: none;
    margin: 18px 0;
}

.service-card li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: var(--c-text-muted);
    font-size: 0.95rem;
    border-bottom: 1px dashed var(--c-border);
}

.service-card li:last-child {
    border-bottom: none;
}

.service-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 16px;
    height: 16px;
    background: var(--c-ice);
    border: 2px solid var(--c-primary-light);
    border-radius: 50%;
}

.service-card li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 18px;
    width: 6px;
    height: 3px;
    border-left: 2px solid var(--c-primary);
    border-bottom: 2px solid var(--c-primary);
    transform: rotate(-45deg);
}

.service-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-primary);
}

/* ========== Этапы ========== */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
}

.step {
    position: relative;
    text-align: center;
    padding: 0 10px;
}

.step-num {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--c-primary);
    font-weight: 800;
    font-size: 1.4rem;
    border: 3px solid var(--c-ice-deep);
    position: relative;
    z-index: 2;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step p {
    color: var(--c-text-muted);
    font-size: 0.92rem;
}

/* ========== Отзывы ========== */

.reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--c-border);
    position: relative;
}

.review-card::before {
    content: "“";
    position: absolute;
    top: 10px;
    right: 22px;
    font-size: 5rem;
    line-height: 1;
    color: var(--c-ice-deep);
    font-family: Georgia, serif;
}

.review-stars {
    color: var(--c-warning);
    margin-bottom: 14px;
    font-size: 1rem;
}

.review-text {
    color: var(--c-text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-accent));
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
}

.review-name {
    font-weight: 600;
}

.review-role {
    font-size: 0.85rem;
    color: var(--c-text-muted);
}

/* ========== FAQ ========== */

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--c-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--c-primary);
    transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
    content: "−";
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    color: var(--c-text-muted);
    transition: all var(--transition);
}

.faq-item.open .faq-answer {
    padding: 0 24px 20px;
    max-height: 600px;
}

/* ========== Контакты ========== */

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

.contact-info h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}

.contact-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-list .ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--c-ice);
    color: var(--c-primary);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.contact-list span {
    display: block;
    color: var(--c-text-muted);
    font-size: 0.88rem;
}

.contact-list strong {
    display: block;
    color: var(--c-text);
    font-size: 1.05rem;
}

.contact-form {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--c-border);
    border-radius: 10px;
    font-size: 0.98rem;
    font-family: inherit;
    background: #fff;
    color: var(--c-text);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--c-primary-light);
    box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 0.8rem;
    color: var(--c-text-muted);
    margin-top: 10px;
}

.form-message {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.92rem;
    margin-top: 14px;
    display: none;
}

.form-message.success {
    display: block;
    background: #ecfdf5;
    color: var(--c-success);
    border: 1px solid #a7f3d0;
}

.form-message.error {
    display: block;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* ========== CTA блок ========== */

.cta-block {
    background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary));
    border-radius: var(--radius-lg);
    padding: 60px 48px;
    color: #fff;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,211,238,0.35), transparent 70%);
}

.cta-block h2 {
    color: #fff;
    margin-bottom: 12px;
}

.cta-block p {
    opacity: 0.9;
    margin-bottom: 0;
}

.cta-block .btn {
    justify-self: end;
}

/* ========== Футер ========== */

.footer {
    background: #0c4a6e;
    color: #bae6fd;
    padding: 60px 0 24px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 1.02rem;
}

.footer a {
    color: #bae6fd;
    font-size: 0.94rem;
}

.footer a:hover {
    color: #fff;
}

.footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer .logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer .logo small {
    color: #bae6fd;
}

.footer-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.socials {
    display: flex;
    gap: 10px;
}

.socials a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: #bae6fd;
    transition: all var(--transition);
}

.socials a:hover {
    background: var(--c-primary-light);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    flex-wrap: wrap;
    gap: 12px;
}

/* ========== Каталог — фильтры ========== */

.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.filters {
    background: #fff;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-border);
    position: sticky;
    top: 100px;
}

.filter-group {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--c-border);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group h4 {
    margin-bottom: 12px;
    font-size: 0.96rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    cursor: pointer;
    font-size: 0.92rem;
    color: var(--c-text-muted);
}

.filter-option input {
    accent-color: var(--c-primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.filter-option:hover {
    color: var(--c-text);
}

.filter-reset {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: var(--c-ice);
    color: var(--c-primary);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
}

.filter-reset:hover { background: var(--c-ice-deep); }

.catalog-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.catalog-count {
    color: var(--c-text-muted);
    font-size: 0.95rem;
}

.catalog-sort {
    padding: 10px 14px;
    border: 1.5px solid var(--c-border);
    border-radius: 10px;
    background: #fff;
    font-size: 0.92rem;
    color: var(--c-text);
    cursor: pointer;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--c-text-muted);
}

/* ========== Подстраница hero ========== */

.sub-hero {
    background: linear-gradient(135deg, var(--c-ice), var(--c-bg-alt));
    padding: 60px 0 50px;
}

.sub-hero-lead {
    color: var(--c-text-muted);
    max-width: 720px;
    margin-top: 10px;
}

.section-catalog {
    padding-top: 40px;
}

.section-actions {
    text-align: center;
    margin-top: 40px;
}

.countdown-note {
    font-size: 0.88rem;
    color: #e0f2fe;
}

.contact-form-title {
    margin-bottom: 18px;
}

.form-message-gap {
    margin-top: 10px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--c-text-muted);
    margin-bottom: 12px;
}

.breadcrumbs a { color: var(--c-text-muted); }
.breadcrumbs a:hover { color: var(--c-primary); }
.breadcrumbs span.sep { color: var(--c-border); }

/* ========== Промо-бар (верх страницы) ========== */

.promo-bar {
    background: linear-gradient(90deg, var(--c-primary-dark), var(--c-primary), var(--c-primary-dark));
    color: #fff;
    font-size: 0.92rem;
    padding: 10px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-bar strong {
    color: #fef08a;
    font-weight: 700;
}

.promo-link {
    color: #fef08a;
    text-decoration: underline;
    font-weight: 600;
}

.promo-link:hover {
    color: #fff59d;
}

.promo-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.promo-bar .promo-fire {
    display: inline-block;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ========== Офер-блок с таймером ========== */

.offer-block {
    background: linear-gradient(135deg, #075985 0%, #0369a1 50%, #0891b2 100%);
    border-radius: var(--radius-lg);
    padding: 50px 44px;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
}

.offer-block::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,211,238,0.4), transparent 65%);
}

.offer-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(254, 240, 138, 0.2);
    color: #fef08a;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 16px;
    border: 1px solid rgba(254,240,138,0.4);
}

.offer-block h2 {
    color: #fff;
    margin-bottom: 14px;
}

.offer-perks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 28px;
}

.offer-perks li {
    list-style: none;
    position: relative;
    padding-left: 30px;
    color: #e0f2fe;
}

.offer-perks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 18px;
    height: 18px;
    background: #22d3ee;
    border-radius: 50%;
}

.offer-perks li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 10px;
    width: 7px;
    height: 3px;
    border-left: 2px solid #075985;
    border-bottom: 2px solid #075985;
    transform: rotate(-45deg);
}

.offer-price-line {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.offer-price-old {
    font-size: 1.1rem;
    text-decoration: line-through;
    color: rgba(255,255,255,0.6);
}

.offer-price-new {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fef08a;
}

.offer-price-note {
    color: #e0f2fe;
    font-size: 0.9rem;
}

.countdown {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 26px;
    border-radius: var(--radius-md);
    text-align: center;
}

.countdown-label {
    font-size: 0.92rem;
    color: #e0f2fe;
    margin-bottom: 14px;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.countdown-cell {
    background: rgba(255,255,255,0.15);
    padding: 14px 6px;
    border-radius: 10px;
}

.countdown-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.countdown-unit {
    display: block;
    font-size: 0.72rem;
    color: #bae6fd;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== Партнёры ========== */

.partners {
    padding: 40px 0;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}

.partners-title {
    text-align: center;
    color: var(--c-text-muted);
    font-size: 0.92rem;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.partners-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--c-text-muted);
    opacity: 0.7;
    letter-spacing: 1px;
    text-align: center;
    transition: all var(--transition);
    font-family: "Inter", sans-serif;
}

.partner-logo:hover {
    opacity: 1;
    color: var(--c-primary);
    transform: scale(1.05);
}

/* ========== Калькулятор-квиз ========== */

.calculator {
    background: linear-gradient(135deg, #ffffff, #f0f9ff);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--c-ice-deep);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    position: relative;
}

.calc-intro h2 {
    margin-bottom: 16px;
}

.calc-intro p {
    color: var(--c-text-muted);
    margin-bottom: 20px;
}

.calc-intro .calc-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calc-intro .calc-perks li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--c-text);
    font-size: 0.96rem;
}

.calc-intro .calc-perks svg {
    color: var(--c-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.calc-widget {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.calc-progress {
    display: flex;
    gap: 6px;
    margin-bottom: 22px;
}

.calc-progress span {
    flex: 1;
    height: 5px;
    background: var(--c-ice);
    border-radius: 3px;
    transition: background var(--transition);
}

.calc-progress span.done {
    background: var(--c-primary-light);
}

.calc-step {
    display: none;
}

.calc-step.active {
    display: block;
}

.calc-step h3 {
    margin-bottom: 18px;
    font-size: 1.2rem;
}

.calc-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.calc-opt {
    padding: 14px 16px;
    border: 2px solid var(--c-border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-weight: 500;
    text-align: left;
    transition: all var(--transition);
    font-size: 0.96rem;
    color: var(--c-text);
}

.calc-opt:hover {
    border-color: var(--c-primary-light);
    background: var(--c-ice);
}

.calc-opt.selected {
    border-color: var(--c-primary);
    background: var(--c-ice);
    color: var(--c-primary-dark);
}

.calc-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.calc-back {
    background: none;
    border: none;
    color: var(--c-text-muted);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 0;
}

.calc-back:hover { color: var(--c-primary); }

.calc-next, .calc-submit {
    padding: 12px 26px;
    background: var(--c-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.96rem;
    transition: background var(--transition);
}

.calc-next:hover, .calc-submit:hover {
    background: var(--c-primary-light);
}

.calc-result {
    text-align: center;
    padding: 10px 0;
}

.calc-result-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-ice), var(--c-ice-deep));
    color: var(--c-primary);
}

.calc-result h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.calc-result .calc-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--c-primary);
    margin: 6px 0 6px;
}

.calc-result p {
    color: var(--c-text-muted);
    font-size: 0.92rem;
    margin-bottom: 22px;
}

.calc-result input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--c-border);
    border-radius: 10px;
    font-size: 0.98rem;
    margin-bottom: 10px;
    font-family: inherit;
}

.calc-result input:focus {
    outline: none;
    border-color: var(--c-primary-light);
}

/* ========== Сравнение мы / другие ========== */

.compare {
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--c-border);
}

.compare-head {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    background: var(--c-bg-alt);
    border-bottom: 1px solid var(--c-border);
}

.compare-head > div {
    padding: 20px;
    font-weight: 700;
    text-align: center;
}

.compare-head > div:first-child {
    text-align: left;
    color: var(--c-text-muted);
    font-weight: 500;
}

.compare-head .us {
    color: var(--c-primary);
    background: var(--c-ice);
    border-left: 1px solid var(--c-border);
    border-right: 1px solid var(--c-border);
}

.compare-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    border-bottom: 1px solid var(--c-border);
}

.compare-row:last-child { border-bottom: none; }

.compare-row > div {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.compare-row > div:first-child {
    justify-content: flex-start;
    font-weight: 500;
    color: var(--c-text);
}

.compare-row .us {
    color: var(--c-primary-dark);
    background: #f8fdff;
    font-weight: 600;
    border-left: 1px solid var(--c-border);
    border-right: 1px solid var(--c-border);
}

.cmp-yes { color: var(--c-success); }
.cmp-no { color: #dc2626; }

/* ========== Блок гарантий ========== */

.guarantees {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.guarantee-card {
    padding: 28px 24px;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    display: flex;
    gap: 16px;
    transition: all var(--transition);
}

.guarantee-card:hover {
    border-color: var(--c-primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.guarantee-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1rem;
}

.guarantee-card h3 {
    font-size: 1.02rem;
    margin-bottom: 6px;
}

.guarantee-card p {
    color: var(--c-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ========== Плавающая кнопка ========== */

.floating-cta {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.fcta-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary-dark));
    color: #fff;
    border: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 30px rgba(3,105,161,0.35);
    position: relative;
    transition: transform var(--transition);
}

.fcta-main:hover { transform: scale(1.05); }

.fcta-main::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--c-primary-light);
    opacity: 0.5;
    animation: ripple 1.6s ease-out infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.4); opacity: 0; }
}

.fcta-menu {
    display: none;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    padding: 8px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--c-border);
    min-width: 220px;
}

.fcta-menu.open { display: flex; }

.fcta-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--c-text);
    font-weight: 500;
    font-size: 0.94rem;
}

.fcta-menu a:hover {
    background: var(--c-ice);
    color: var(--c-primary);
}

.fcta-menu a svg {
    color: var(--c-primary);
    flex-shrink: 0;
}

.ui-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(20px);
    background: #0c4a6e;
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    z-index: 260;
    transition: opacity var(--transition), transform var(--transition);
}

.ui-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ========== Доработки типографики и кнопок ========== */

.hero-badge.accent-badge {
    background: #fef08a;
    color: #854d0e;
}

.hero-badge.accent-badge::before {
    background: #ca8a04;
    box-shadow: 0 0 0 4px rgba(202,138,4,0.2);
}

.hero h1 .price-accent {
    display: inline-block;
    padding: 2px 14px;
    background: #fef08a;
    color: #0c4a6e;
    border-radius: 12px;
    transform: rotate(-1deg);
}

.hero-price-chip {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 18px;
    background: #fff;
    border: 2px solid var(--c-ice-deep);
    border-radius: 14px;
    margin-top: 8px;
}

.hero-price-chip .line1 {
    font-size: 0.78rem;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-price-chip .line2 {
    font-weight: 800;
    color: var(--c-primary-dark);
    font-size: 1.3rem;
}

.hero-price-chip .line2 s {
    color: var(--c-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    margin-left: 10px;
}

/* ========== Адаптив ========== */

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: left; }
    .hero-visual { min-height: 300px; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .categories { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .reviews { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .catalog-layout { grid-template-columns: 1fr; }
    .filters { position: static; }
    .cta-block { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; }
    .cta-block .btn { justify-self: center; }
    .offer-block { grid-template-columns: 1fr; padding: 40px 28px; }
    .calculator { grid-template-columns: 1fr; padding: 32px 24px; }
    .guarantees { grid-template-columns: repeat(2, 1fr); }
    .partners-row { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
}

@media (max-width: 720px) {
    .section { padding: 56px 0; }
    .nav { display: none; }
    .burger { display: flex; }
    .header-contact .header-phone { display: none; }
    .features { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
    .hero-chip { display: none; }
    .header-inner { gap: 12px; }
    .guarantees { grid-template-columns: 1fr; }
    .partners-row { grid-template-columns: repeat(2, 1fr); }
    .compare-head > div, .compare-row > div { padding: 12px 10px; font-size: 0.85rem; }
    .promo-bar .container { gap: 10px; font-size: 0.85rem; }
    .calc-options { grid-template-columns: 1fr; }
    .offer-price-new { font-size: 1.8rem; }
    .countdown-num { font-size: 1.4rem; }
    .floating-cta { right: 16px; bottom: 16px; }

    .nav.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff;
        padding: 20px;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--c-border);
        gap: 12px;
    }
}

/* ========== Кнопка "Наверх" ========== */

.to-top {
    position: fixed;
    bottom: 110px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--c-primary);
    box-shadow: 0 10px 24px rgba(3, 105, 161, 0.18);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, background .2s ease;
    z-index: 90;
}

.to-top:hover {
    background: var(--c-primary);
    color: #fff;
}

.to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 720px) {
    .to-top {
        right: 16px;
        bottom: 96px;
        width: 42px;
        height: 42px;
    }
}

/* ========== Cookie-уведомление ========== */

.cookie-bar {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: #ffffff;
    border: 1px solid var(--c-border);
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(12, 74, 110, 0.18);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.92rem;
    color: var(--c-text);
    z-index: 120;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .3s ease, transform .3s ease;
    max-width: 640px;
    margin: 0 auto;
}

.cookie-bar.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-accept {
    background: var(--c-primary);
    color: #fff;
    border: none;
    padding: 9px 18px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: background .2s ease;
}

.cookie-accept:hover {
    background: var(--c-primary-dark);
}

@media (max-width: 720px) {
    .cookie-bar {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 10px;
    }
}

/* ========== Анимация снежинок в hero ========== */

.ac-illus g[fill="#0ea5e9"] path:nth-child(1) {
    transform-origin: 130px 245px;
    animation: snowfloat1 4.5s ease-in-out infinite;
}

.ac-illus g[fill="#0ea5e9"] path:nth-child(2) {
    transform-origin: 205px 257px;
    animation: snowfloat2 5.2s ease-in-out infinite;
}

.ac-illus g[fill="#0ea5e9"] path:nth-child(3) {
    transform-origin: 285px 245px;
    animation: snowfloat1 4.8s ease-in-out infinite reverse;
}

@keyframes snowfloat1 {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.85; }
    50%      { transform: translateY(-6px) rotate(20deg); opacity: 1; }
}

@keyframes snowfloat2 {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
    50%      { transform: translateY(-9px) rotate(-25deg); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .ac-illus g[fill="#0ea5e9"] path { animation: none; }
}

/* ========== Страница политики / юридические документы ========== */

.legal-content {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 56px 64px;
    box-shadow: var(--shadow-sm);
    color: var(--c-text);
    line-height: 1.7;
}

.legal-content h2 {
    font-size: 1.3rem;
    color: var(--c-primary-dark);
    margin-top: 40px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--c-border);
    scroll-margin-top: 90px;
}

.legal-content h2:first-of-type {
    margin-top: 16px;
}

.legal-content p {
    margin-bottom: 14px;
    color: var(--c-text);
}

.legal-content ul,
.legal-content ol {
    padding-left: 22px;
    margin-bottom: 18px;
}

.legal-content ul li,
.legal-content ol li {
    margin-bottom: 8px;
    color: var(--c-text);
}

.legal-content ul li::marker {
    color: var(--c-primary-light);
}

.legal-content a {
    color: var(--c-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(3, 105, 161, 0.3);
    transition: color var(--transition), text-decoration-color var(--transition);
}

.legal-content a:hover {
    color: var(--c-primary-dark);
    text-decoration-color: var(--c-primary);
}

.legal-content strong {
    color: var(--c-primary-dark);
    font-weight: 600;
}

.legal-toc {
    background: linear-gradient(135deg, var(--c-ice), #f0f9ff);
    border: 1px solid var(--c-ice-deep);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin-bottom: 32px;
}

.legal-toc h3 {
    color: var(--c-primary-dark);
    font-size: 1rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-toc ol {
    margin: 0;
    padding-left: 20px;
    columns: 2;
    column-gap: 28px;
}

.legal-toc ol li {
    margin-bottom: 6px;
    break-inside: avoid;
}

.legal-toc a {
    text-decoration: none;
    color: var(--c-text);
    font-size: 0.94rem;
}

.legal-toc a:hover {
    color: var(--c-primary);
    text-decoration: underline;
}

.legal-contacts {
    background: var(--c-bg-alt);
    border-left: 4px solid var(--c-primary-light);
    border-radius: 10px;
    padding: 20px 24px;
    margin: 18px 0;
}

.legal-contacts p {
    margin-bottom: 8px;
    font-size: 0.96rem;
}

.legal-contacts p:last-child {
    margin-bottom: 0;
}

.legal-footer-note {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--c-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: var(--c-text-muted);
    font-size: 0.92rem;
    flex-wrap: wrap;
}

@media (max-width: 720px) {
    .legal-content {
        padding: 36px 22px;
        border-radius: var(--radius-md);
    }
    .legal-toc {
        padding: 18px 20px;
    }
    .legal-toc ol {
        columns: 1;
    }
    .legal-content h2 {
        font-size: 1.15rem;
        scroll-margin-top: 70px;
    }
    .legal-footer-note {
        flex-direction: column;
        align-items: flex-start;
    }
}

.cookie-bar a {
    color: var(--c-primary);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-bar a:hover {
    color: var(--c-primary-dark);
}

.footer-bottom a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    transition: text-decoration-color var(--transition);
}

.footer-bottom a:hover {
    text-decoration-color: rgba(255, 255, 255, 0.8);
}
