/* =============================================
   РолГрупп — style.css
   Единый CSS-файл для всего сайта
   ============================================= */


/* ===========================================
   CSS VARIABLES
   =========================================== */
:root {
    /* Accent */
    /* --accent: #b2d235; */
    /* --accent-hover: #9fbf2a; */
    --accent: #38BC80;
    --accent-hover: #2ea36e;

    /* Text */
    --text-primary: #333333;
    --text-secondary: #777777;
    --text-muted: #999999;
    --text-light: #bbbbbb;

    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f9f9f9;
    --bg-tertiary: #fdfdfd;
    --bg-dark: #333333;
    --bg-dark-card: #3d3d3d;
    --bg-hero: #222222;
    --bg-callback: #2c2c2c;

    /* Border */
    --border: #e0e0e0;
    --border-light: #eeeeee;

    /* White */
    --white: #ffffff;

    /* Radius */
    --radius-pill: 40px;
    --radius-card: 25px;
    --radius-card-sm: 20px;
    --radius-card-lg: 40px;
    --radius-xl: 60px;

    /* Shadows */
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.03);
    --shadow-medium: 0 20px 40px rgba(0, 0, 0, 0.05);
    --shadow-stats: 0 10px 30px rgba(0, 0, 0, 0.02);

    /* Container */
    --container-max: 1400px;
    --container-padding: 20px;
}


/* ===========================================
   RESET
   =========================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ===========================================
   BASE
   =========================================== */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea {
    font-family: inherit;
}


/* ===========================================
   TYPOGRAPHY
   =========================================== */
h1, .h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--text-primary);
}

h2, .h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    /* text-transform: uppercase; */
    color: var(--text-primary);
    margin-bottom: 16px;
}

h3, .h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 12px;
}

h4, .h4 {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
    color: var(--text-primary);
}

.subtitle {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    max-width: 900px;
    line-height: 1.3;
    margin: 0 auto 24px auto;
}

.text-sm {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.text-light {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
}

/* Section tag: [ НАЗВАНИЕ ] */
.tag {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 20px;
}


/* ===========================================
   CONTAINER
   =========================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}


/* ===========================================
   GRID
   =========================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

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


/* ===========================================
   BUTTONS
   =========================================== */

/* --- Primary: green pill with white arrow circle --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: var(--accent);
    color: var(--white);
    padding: 8px 8px 8px 25px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-primary .btn-arrow {
    background: var(--white);
    color: var(--text-primary);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Arrow symbol inside btn-arrow circle */
.btn-arrow::after {
    content: '→';
    font-size: 16px;
    line-height: 1;
}

/* --- Secondary: white pill with green arrow circle --- */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: var(--white);
    color: var(--text-primary);
    padding: 10px 10px 10px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.btn-secondary:hover {
    opacity: 0.9;
}

.btn-secondary .btn-arrow {
    background: var(--accent);
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- Submit: green, full-width pill --- */
.btn-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--accent);
    color: var(--white);
    padding: 10px 10px 10px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    max-width: 450px;
    transition: opacity 0.3s ease;
}

.btn-submit:hover {
    opacity: 0.9;
}

.btn-submit .btn-arrow {
    background: var(--white);
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- Installment: amber pill — второй CTA для рассрочки --- */
@keyframes shimmer-run {
    0%   { transform: translateX(-120%) skewX(-18deg); }
    100% { transform: translateX(350%) skewX(-18deg); }
}

.btn-installment {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #d97706;
    color: var(--white);
    padding: 8px 8px 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-installment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.38),
        transparent
    );
    animation: shimmer-run 2.4s ease-in-out infinite;
    pointer-events: none;
}

.btn-installment:hover {
    background-color: #b45309;
}

.btn-installment .btn-arrow {
    background: rgba(255,255,255,0.22);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* --- Ghost: transparent with border (for hero on dark bg) --- */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px 25px;
    backdrop-filter: blur(5px);
    color: var(--white);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: border-color 0.3s ease;
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

/* --- Arrow circle: navigation arrows (prev/next) --- */
.btn-arrow-circle {
    width: 50px;
    height: 50px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    transition: background-color 0.3s ease;
}

.btn-arrow-circle svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none;
}

.btn-arrow-circle:hover {
    background-color: var(--accent);
}

.btn-arrow-circle:hover svg {
    stroke: var(--white);
}


/* ===========================================
   CARDS
   =========================================== */

/* --- Base card --- */
.card {
    background-color: var(--white);
    border-radius: var(--radius-card-sm);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

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

/* Card icon (top-right green icon) */
.card__icon {
    align-self: flex-end;
    color: var(--accent);
}

.card__icon i {
    width: 40px;
    height: 40px;
}

/* Card text */
.card__text {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-primary);
}

/* --- Card with flex column layout --- */
.card--flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* --- Dark card (footer contacts) --- */
.card--dark {
    background-color: var(--bg-dark-card);
    color: var(--white);
    border-radius: 30px;
}

.card--dark .card__label {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.card--dark .card__value {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.card--dark .card__sub {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 5px;
}

/* --- Image card (with photo, badge, arrow) --- */
.card-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.card-image__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-image:hover .card-image__img {
    transform: scale(1.05);
}

/* Badge on image */
.card-image__badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 10px 25px;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 500;
}

/* Arrow button on image */
.card-image__arrow {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.card-image__arrow svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    stroke-width: 3;
    fill: none;
}

.card-image:hover .card-image__arrow {
    background-color: var(--accent);
}

.card-image:hover .card-image__arrow svg {
    stroke: var(--white);
}

/* --- Info card (large, with heavier shadow) --- */
.card--info {
    border-radius: var(--radius-card-lg);
    padding: 40px;
    box-shadow: var(--shadow-medium);
}

.card--info h3 {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
}

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


/* ===========================================
   FORMS
   =========================================== */

/* --- Input group (pill input with icon) --- */
.input-group {
    position: relative;
    margin-bottom: 20px;
    max-width: 450px;
}

.input-group input {
    width: 100%;
    padding: 22px 60px 22px 30px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    font-size: 16px;
    outline: none;
    color: var(--text-primary);
    background-color: var(--white);
    transition: border-color 0.3s ease;
}

.input-group input::placeholder {
    color: var(--text-muted);
}

.input-group input:focus {
    border-color: var(--accent);
}

.input-group__icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
}

.input-group__icon i {
    width: 20px;
    height: 20px;
}

/* --- Policy text (under forms) --- */
.policy {
    font-size: 12px;
    color: var(--text-light);
    max-width: 450px;
    text-align: center;
    line-height: 1.4;
}

/* --- Quiz option buttons --- */
.quiz-option {
    padding: 12px 24px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.quiz-option:hover {
    border-color: var(--text-primary);
}

.quiz-option.selected {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: var(--white);
}

/* --- Quiz progress dots --- */
.quiz-progress {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
}

.quiz-progress__dot {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    transition: background 0.3s ease;
}

.quiz-progress__dot.current {
    background: var(--accent);
}

.quiz-progress__dot.done {
    background: #1a8f5c;
}


/* ===========================================
   TABS
   =========================================== */
.tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.tab {
    flex: 1;
    text-align: center;
    padding-bottom: 15px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab.active {
    color: var(--accent);
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent);
}


/* ===========================================
   STATISTICS
   =========================================== */
.stats-bar {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: var(--shadow-stats);
}

.stat-item {
    display: flex;
    gap: 15px;
    flex: 1;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.3;
}


/* ===========================================
   SECTIONS
   =========================================== */
.section {
    padding: 80px 0;
}

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

.section--light {
    background-color: var(--bg-tertiary);
}

.section--dark {
    background-color: var(--bg-callback);
    color: var(--white);
}

.section__header {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 50px auto;
}

/* Callback card (white card on dark bg) */
.callback-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    display: flex;
    overflow: hidden;
    min-height: 600px;
}

.callback-card__form {
    flex: 1;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.callback-card__image {
    flex: 1.2;
    position: relative;
}

.callback-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ===========================================
   POPUP / MODAL
   =========================================== */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    align-items: center;
    justify-content: center;
}

.popup-overlay.active {
    display: flex;
}

.popup {
    background: var(--white);
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
}

@media (max-width: 768px) {
    .popup {
        width: calc(100% - 32px);
        max-height: calc(100vh - 32px);
        padding: 24px;
    }
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    color: var(--text-primary);
}

.popup table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.popup th,
.popup td {
    border: 1px solid var(--border);
    padding: 12px;
    text-align: left;
}

.popup th {
    background: var(--bg-secondary);
    font-weight: 700;
}


/* ===========================================
   HEADER
   =========================================== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Scrolled state: white bg, sticky */
.header.scrolled {
    position: fixed;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header.scrolled .header__nav-link,
.header.scrolled .header__phone,
.header.scrolled .header__logo-name {
    color: var(--text-primary);
}

.header.scrolled .header__logo-sub {
    color: var(--text-muted);
}

.header.scrolled .header__burger span {
    background: var(--text-primary);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 20px;
}

/* Logo */
.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.header__logo-img {
    width: 40px;
    height: auto;
}

.header__logo-name {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1.1;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.header__logo-sub {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: lowercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* Navigation */
.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    white-space: nowrap;
    transition: color 0.3s ease;
    position: relative;
}

/* Decorative separator | */
.header__nav-link + .header__nav-link::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease;
}

.header.scrolled .header__nav-link + .header__nav-link::before {
    background: rgba(0, 0, 0, 0.15);
}

.header__nav-link:hover {
    color: var(--accent);
}

/* Right side */
.header__right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.header__phone:hover {
    color: var(--accent);
}

.header__phone-icon {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.header__cta {
    font-size: 13px;
    padding: 6px 6px 6px 20px;
    gap: 12px;
}

.header__cta .btn-arrow {
    width: 30px;
    height: 30px;
    font-size: 14px;
}

/* Burger button */
.header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 110;
}

.header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Burger active state (X) */
.header__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.header__mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 99;
    padding: 30px var(--container-padding);
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.header__mobile-menu.active {
    display: flex;
}

.header__mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.header__mobile-link {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    transition: color 0.3s ease;
}

.header__mobile-link:hover {
    color: var(--accent);
}

.header__mobile-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 10px;
}

.header__mobile-phone i {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.header__mobile-cta {
    width: 100%;
    justify-content: space-between;
    margin-top: 10px;
}


/* ===========================================
   FOOTER
   =========================================== */
.footer {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 80px 0;
}

.footer__tag {
    color: #666;
    margin-bottom: 30px;
}

/* --- Contact cards row (top) --- */
.footer__contacts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.footer__contact-card {
    background-color: var(--bg-dark-card);
    padding: 30px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__card-label {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.footer__card-value {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

a.footer__card-value:hover {
    color: var(--accent);
}

.footer__card-sub {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 5px;
}

/* --- Main footer: logo + nav columns + socials --- */
.footer__main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

/* Logo block */
.footer__logos {
    width: 200px;
    flex-shrink: 0;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer__logo-img {
    width: 44px;
    height: auto;
}

.footer__logo-name {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1px;
    line-height: 1.1;
    text-transform: uppercase;
}

.footer__logo-sub {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: lowercase;
}

/* Nav columns */
.footer__nav-col {
    flex-shrink: 0;
    flex-grow: 1;
}

.footer__nav-col--wide {
    flex-grow: 0;
}

.footer__nav-heading {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #444;
    color: var(--white);
    text-transform: none;
}

.footer__nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 40px;
}

.footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__nav-link {
    color: var(--text-muted);
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer__nav-link:hover {
    color: var(--white);
}

/* Socials column */
.footer__socials-col {
    width: 250px;
    flex-shrink: 0;
}

.footer__socials {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    margin-bottom: 30px;
}

.footer__social-icon {
    width: 45px;
    height: 45px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.footer__social-icon:hover {
    transform: translateY(-3px);
}

.footer__social-icon i {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

/* Yandex rating widget */
.footer__yandex {
    background-color: var(--white);
    border-radius: 10px;
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer__ya-logo {
    background: #f00;
    color: var(--white);
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.2;
}

.footer__ya-top {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer__ya-score {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 16px;
}

.footer__ya-stars {
    color: #ffcc00;
    letter-spacing: 2px;
    font-size: 14px;
}

.footer__ya-text {
    color: var(--text-muted);
    font-size: 10px;
    display: block;
}

/* Messenger icons in contact card */
.footer__messengers {
    display: flex;
    gap: 12px;
    margin: 8px 0;
}

.footer__messenger-icon {
    width: 45px;
    height: 45px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.footer__messenger-icon:hover {
    transform: translateY(-3px);
}

.footer__messenger-icon i {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

/* Bottom bar */
.footer__bottom {
    border-top: 1px solid #444;
    margin-top: 60px;
    padding-top: 25px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

.footer__bottom p {
    margin-bottom: 4px;
}

/* Legal */
.footer__legal {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 12px;
    color: #666;
}

.footer__legal p {
    margin-bottom: 8px;
}

.footer__legal a {
    color: var(--text-muted);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer__legal a:hover {
    color: var(--white);
}


/* ===========================================
   SCREEN SECTIONS (spacing)
   =========================================== */
/* ===========================================
   HERO
   =========================================== */
.hero {
    position: relative;
    min-height: 760px;
    background: url('/assets/img/general/prozrachnye-rolstavni-na-terrasu-hero.webp') center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 0;
    color: var(--white);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
}

.hero > .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero__content {
    max-width: 100%;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero__suptitle {
    font-size: 28px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    text-transform: none;
}

.hero__title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
    max-width: 800px;
}

.hero__subtitle {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.5;
    max-width: 500px;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero__btn {
    font-size: 16px;
    padding: 12px 12px 12px 30px;
}

.hero__btn .btn-arrow {
    width: 40px;
    height: 40px;
}

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

.hero__bullet {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding-left: 24px;
    position: relative;
    line-height: 1.4;
}

.hero__bullet::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: transparent;
}

.hero__bullet::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 8px;
    width: 5px;
    height: 3px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}
/* ===========================================
   BENEFITS
   =========================================== */
.benefits {
    padding: 60px 0;
    /* background: var(--bg-secondary); */
    background: linear-gradient(to bottom, #4a4a4a, #333333);
    color: var(--white);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    grid-template-rows: 180px 180px;
    gap: 20px;
}

/* Row 1: 6 / 5 / 7 */
.benefits__card:nth-child(1) { grid-column: 1 / 7; }     /* 6 cols */
.benefits__card:nth-child(2) { grid-column: 7 / 12; }    /* 5 cols */
.benefits__card:nth-child(3) { grid-column: 12 / 19; }   /* 7 cols */

/* Row 2: 5 / 7 / 6 */
.benefits__card:nth-child(4) { grid-column: 1 / 6; }     /* 5 cols */
.benefits__card:nth-child(5) { grid-column: 6 / 13; }    /* 7 cols */
.benefits__card:nth-child(6) { grid-column: 13 / 19; }   /* 6 cols */

/* Photo: 6/24, spans both rows */

.benefits__card {
    background-color: var(--white);
    border-radius: var(--radius-card-sm);
    padding: 30px;
    /* box-shadow: var(--shadow-soft); */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.benefits__card:hover {
    transform: translateY(-5px);
}

.benefits__icon {
    align-self: flex-end;
    color: var(--accent);
}

.benefits__icon i,
.benefits__icon svg {
    width: 40px !important;
    height: 40px !important;
}

.benefits__text {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-primary);
}

.benefits__image {
    grid-column: 19 / 25;
    grid-row: 1 / 3;
    border-radius: var(--radius-card-sm);
    overflow: hidden;
    /* box-shadow: var(--shadow-soft); */
}

.benefits__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefits__cta-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.benefits__cta-btn {
    flex-shrink: 0;
    font-size: 16px;
    padding: 10px 10px 10px 30px;
    position: relative;
    overflow: hidden;
}

.benefits__cta-btn .btn-arrow {
    width: 42px;
    height: 42px;
}

.benefits__cta-btn .btn-arrow::after {
    font-size: 20px;
}

.benefits__cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    transform: translateX(-100%);
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.35) 50%,
        transparent 80%
    );
    animation: btn-glint 3.5s ease-in-out infinite;
}

@keyframes btn-glint {
    0%, 100% { transform: translateX(-200%); opacity: 0; }
    5% { opacity: 1; }
    25% { opacity: 1; }
    30% { transform: translateX(300%); opacity: 0; }
    31%, 99% { transform: translateX(-200%); opacity: 0; }
}

.benefits__cta-text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    max-width: 340px;
}

/* ===========================================
   SEASONS
   =========================================== */
.seasons__heading {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.seasons__grid {
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

/* Row 1: лето шире, осень уже */
.seasons__card:nth-child(1) { grid-column: 1 / 10; }     /* 9 cols — шире */
.seasons__card:nth-child(2) { grid-column: 10 / 17; }    /* 7 cols — уже */

/* Row 2: зима и ветер равные */
.seasons__card:nth-child(3) { grid-column: 1 / 9; }      /* 8 cols */
.seasons__card:nth-child(4) { grid-column: 9 / 17; }     /* 8 cols */

.seasons__card {
    background-color: var(--white);
    border-radius: var(--radius-card-sm);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.seasons__card:hover {
    transform: translateY(-5px);
}

.seasons__icon {
    align-self: flex-end;
    color: var(--accent);
    margin-bottom: 16px;
}

.seasons__icon i,
.seasons__icon svg {
    width: 40px !important;
    height: 40px !important;
}

.seasons__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.seasons__list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.seasons__list li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.seasons__image {
    grid-column: 17 / 25;
    grid-row: 1 / 3;
    border-radius: var(--radius-card-sm);
    overflow: hidden;
}

.seasons__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===========================================
   COMPANY
   =========================================== */

/* Tabs */
.company__tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.company__tab {
    flex: 1;
    text-align: center;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    transition: color 0.3s ease;
}

.company__tab:hover {
    color: var(--text-primary);
}

.company__tab.active {
    color: var(--accent);
}

.company__tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent);
}

/* Video cards row */
.company__videos {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.company__video-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s ease;
}

.company__video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.company__video-card:hover img {
    transform: scale(1.03);
}

/* Side cards: small, semi-transparent */
.company__video-card--side {
    width: 280px;
    height: 350px;
    opacity: 0.6;
    flex-shrink: 0;
}

/* Main card: large, full opacity */
.company__video-card--main {
    flex-grow: 1;
    height: 450px;
    opacity: 1;
}

/* Active state overrides */
.company__video-card.active {
    opacity: 1;
    height: 450px;
    flex-grow: 1;
}

.company__video-card:not(.active) {
    opacity: 0.6;
    width: 280px;
    height: 220px;
    flex-grow: 0;
    flex-shrink: 0;
}

/* Play button on cards */
.company__video-card .play-btn {
    width: 60px;
    height: 60px;
}

.company__video-card.active .play-btn {
    width: 80px;
    height: 80px;
}

/* Company stats (vertical, no card) */
.company__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.company__stat {
    text-align: left;
}

.company__stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.company__stat-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.company__stat-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Video popup */
.popup--video {
    max-width: 900px;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}

.popup__video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===========================================
   INSTALLMENT
   =========================================== */
.installment {
    background: var(--bg-dark);
    padding: 80px 0;
}

.installment__card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 50px;
}

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

.installment__form-side h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: none;
}

.installment__form-sub {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.installment__micro {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
}

.installment__info-side {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.installment__example {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 30px;
}

.installment__example-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 12px;
}

.installment__example-calc {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
}

.installment__example-calc strong {
    font-weight: 800;
    color: var(--accent);
}

.installment__text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===========================================
   MEASUREMENT
   =========================================== */
.measurement__layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.measurement__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.measurement__card {
    background: var(--white);
    border-radius: var(--radius-card-sm);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.measurement__card:hover {
    transform: translateY(-5px);
}

.measurement__num {
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.measurement__card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.measurement__card-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.measurement__photo {
    border-radius: var(--radius-card-lg);
    overflow: hidden;
    height: 100%;
    min-height: 350px;
}

.measurement__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.measurement__quote {
    margin-top: 40px;
    max-width: 650px;
    font-style: italic;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 24px;
    border-left: 3px solid var(--accent);
}

.measurement__quote p {
    margin: 0;
}

.measurement__cta {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.measurement__micro {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===========================================
   QUIZ
   =========================================== */

/* White card wrapper */
.quiz__card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 40px;
}

.quiz__step {
    display: none;
}

.quiz__step.active {
    display: block;
}

.quiz__step h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: none;
}

/* --- Photo grid (steps 1, 4) --- */
.quiz__photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

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

.quiz__photo-option {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.2s ease;
}

.quiz__photo-option:hover {
    border-color: var(--text-primary);
}

.quiz__photo-option.selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent);
}

.quiz__photo-option img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.quiz__photo-option span {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* --- Split layout (steps 2, 3, 5): list + photo --- */
.quiz__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.quiz__list-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz__split-photo {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 280px;
}

.quiz__split-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Navigation --- */
.quiz__nav {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.quiz__nav .btn-secondary {
    padding: 8px 20px 8px 8px;
}

.btn-arrow--left {
    transform: rotate(180deg);
}

/* --- Final step: form + summary --- */
.quiz__final {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.quiz__final-form {
    max-width: 100%;
}

.quiz__final-summary h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: none;
}

.quiz__summary-list {
    font-size: 14px;
    line-height: 1.8;
}

.quiz__summary-list p {
    margin-bottom: 4px;
    padding-left: 24px;
    position: relative;
}

.quiz__summary-list p::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.quiz__micro {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
}


/* ===========================================
   CUSTOMIZATION
   =========================================== */
.custom__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.custom__group {
    margin-bottom: 32px;
}

.custom__group h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.custom__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.custom__btn {
    padding: 10px 20px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom__btn:hover {
    border-color: var(--text-primary);
}

.custom__btn.active {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: var(--white);
}

.custom__hint {
    font-size: 14px;
    color: var(--text-secondary);
}

.custom__photo {
    border-radius: var(--radius-card-lg);
    overflow: hidden;
    min-height: 400px;
}

.custom__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom__cta {
    margin-top: 32px;
}


/* ===========================================
   CONTROLS
   =========================================== */
.controls__video {
    position: relative;
    border-radius: var(--radius-card-lg);
    overflow: hidden;
    margin-bottom: 48px;
    height: 450px;
    cursor: pointer;
}

.controls__video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.controls__card {
    background: var(--white);
    border-radius: var(--radius-card-sm);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.controls__card:hover {
    transform: translateY(-5px);
}

.controls__icon {
    color: var(--accent);
    margin-bottom: 20px;
}

.controls__icon i {
    width: 32px;
    height: 32px;
}

.controls__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.controls__text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.controls__note {
    margin-top: 32px;
    text-align: center;
    font-size: 15px;
    color: var(--text-muted);
    font-style: italic;
}


/* ===========================================
   CASES
   =========================================== */

/* --- Project cards grid (2x2) --- */
.cases__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* --- Project card --- */
.cases__project {
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.cases__project-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cases__project-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: none;
}

.cases__project-city {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.cases__project-specs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.cases__project-specs li {
    font-size: 13px;
    color: #444;
    background: var(--bg-secondary);
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 500;
}

.cases__project-btn {
    font-size: 13px;
    padding: 8px 8px 8px 20px;
    gap: 10px;
    margin-top: auto;
    align-self: flex-start;
}

.cases__project-btn .btn-arrow {
    width: 28px;
    height: 28px;
}

.cases__view-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.cases__view-link:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

/* --- Gallery with arrows --- */
.cases__gallery {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.cases__gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease;
}

.cases__gallery-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.cases__gallery-prev,
.cases__gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.cases__gallery-prev:hover,
.cases__gallery-next:hover {
    opacity: 1;
}

.cases__gallery-prev {
    left: 12px;
}

.cases__gallery-next {
    right: 12px;
}

.cases__gallery-prev svg,
.cases__gallery-next svg {
    width: 18px;
    height: 18px;
    stroke: var(--white);
    stroke-width: 2.5;
    fill: none;
}

/* --- Big case card (legacy) --- */
.cases__big {
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.cases__big:hover {
    transform: translateY(-5px);
}

.cases__big-photo {
    height: 280px;
    overflow: hidden;
}

.cases__big-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cases__big:hover .cases__big-photo img {
    transform: scale(1.05);
}

.cases__big-content {
    padding: 28px;
}

.cases__big-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cases__big-details {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 4px;
}

.cases__big-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 12px;
    margin-bottom: 12px;
}

.cases__big-quote {
    font-size: 14px;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Mini case card --- */
.cases__mini {
    background: var(--white);
    border-radius: var(--radius-card-sm);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.cases__mini:hover {
    transform: translateY(-5px);
}

.cases__mini-photo {
    height: 280px;
    overflow: hidden;
}

.cases__mini-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cases__mini:hover .cases__mini-photo img {
    transform: scale(1.05);
}

.cases__mini-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    padding: 20px 20px 8px;
    line-height: 1.4;
    text-transform: none;
}

.cases__mini-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    padding: 0 20px;
    margin-bottom: 16px;
}

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

.objects {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.objects .cases__mini {
    box-shadow: none;
}

/* Price badge on photo */
.objects__price-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--white);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.cases__mini-photo {
    position: relative;
}

.cases__mini-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
    padding: 0 20px 12px;
}

.cases__mini-cta {
    margin: auto 20px 20px;
    font-size: 13px;
    padding: 8px 8px 8px 20px;
    gap: 10px;
    align-self: flex-start;
    width: auto;
}

.cases__mini-cta .btn-arrow {
    width: 28px;
    height: 28px;
}

.cases__mini-btn {
    margin: 0 20px 20px;
    padding: 12px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.cases__mini-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ===========================================
   REVIEWS
   =========================================== */

/* Main row: slider + logos */
.reviews__row {
    display: flex;
    gap: 30px;
}

/* Slider */
.reviews__slider {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.reviews__track {
    display: flex;
    gap: 20px;
}

.reviews__card {
    background: var(--white);
    border-radius: var(--radius-card-sm);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: calc(50% - 10px);
    min-width: calc(50% - 10px);
    max-width: calc(50% - 10px);
    flex-shrink: 0;
}

.reviews__stars {
    color: #ffcc00;
    font-size: 18px;
    letter-spacing: 2px;
}

.reviews__text {
    font-size: 15px;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.reviews__author {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Navigation arrows */
.reviews__nav {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* B2B logos block (right side) */
.reviews__b2b {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.reviews__b2b-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
    text-transform: none;
}

.reviews__logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 30px;
    align-items: center;
    justify-items: center;
}

.reviews__logo {
    width: 100px;
    height: 40px;
    object-fit: contain;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.reviews__logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.cases       { padding: 80px 0; }
.controls    { padding: 80px 0; }
.seasons     { padding: 30px 0 70px; }
.customization { padding: 80px 0; }
.quiz        { padding: 80px 0; }
.company     { padding: 80px 0; }
.installment { padding: 80px 0; }
.measurement { padding: 80px 0; }
.reviews     { padding: 80px 0; }


/* ===========================================
   PLAY BUTTON (for video cards)
   =========================================== */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.play-btn::after {
    content: '';
    display: block;
    margin-left: 5px;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent var(--accent);
}


/* ===========================================
   UTILITY CLASSES
   =========================================== */
/* Validation error state */
.input--error {
    border-color: #e53935 !important;
}

label.input--error {
    color: #e53935;
}

.text-center { text-align: center; }
.text-white  { color: var(--white); }
.text-accent { color: var(--accent); }
.mb-0  { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* Responsive visibility */
.hidden-mobile  { display: inline; }
.hidden-desktop { display: none; }


/* ===========================================
   THANKS HERO (spasibo page)
   =========================================== */
.thanks-hero {
    position: relative;
    min-height: 560px;
    background: url('/assets/img/projects/2024/P589/prozrachnye_rolstavni_na_besedku_3.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    color: var(--white);
}

.thanks-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
    z-index: 1;
}

.thanks-hero__content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.thanks-hero__icon {
    margin-bottom: 20px;
}

.thanks-hero__icon i,
.thanks-hero__icon svg {
    width: 60px !important;
    height: 60px !important;
    color: var(--accent);
}

.thanks-hero__title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    color: var(--white);
}

.thanks-hero__subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}

.thanks-hero__steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.thanks-hero__step {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    color: rgba(255,255,255,0.9);
}

.thanks-hero__step-num {
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.thanks-hero__contacts {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 24px;
}

.thanks-hero__contacts p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
}

.thanks-hero__links {
    display: flex;
    gap: 24px;
}

.thanks-hero__link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    transition: color 0.3s ease;
}

.thanks-hero__link:hover {
    color: var(--accent);
}

.thanks-hero__link i {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

@media (max-width: 768px) {
    .thanks-hero {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .thanks-hero__title {
        font-size: 28px;
    }

    .thanks-hero__subtitle {
        font-size: 17px;
    }

    .thanks-hero__links {
        flex-direction: column;
        gap: 12px;
    }
}


/* ===========================================
   POLITIC PAGE
   =========================================== */
/* Dark header bar for pages without hero */
.page-politic .header,
.page-thanks .header {
    background: var(--bg-hero);
}

.page-politic .header.scrolled,
.page-thanks .header.scrolled {
    background: var(--white);
}

.politic {
    padding: 120px 0 80px;
}

.politic h1 {
    font-size: 36px;
    margin-bottom: 30px;
    text-transform: none;
}

.politic h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    text-transform: none;
}

.politic p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
    max-width: 900px;
}

.politic strong {
    color: var(--text-primary);
}

.politic a {
    color: var(--accent);
    text-decoration: underline;
}

/* Cookie table */
.cookie-table {
    width: 100%;
    max-width: 900px;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid #e5e5e5;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
}

.cookie-table th {
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 700;
}

.cookie-table td {
    color: var(--text-secondary);
}

.cookie-table td strong {
    color: var(--text-primary);
}

/* Cookie consent banner */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    background: var(--bg-hero);
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 22px;
}

.cookie-banner__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.cookie-banner__text a {
    color: #fff;
    text-decoration: underline;
}

.cookie-banner__btn {
    flex-shrink: 0;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px 32px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cookie-banner__btn:hover {
    background: var(--accent-hover);
}

@media (max-width: 600px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px 18px;
    }
    .cookie-banner__btn {
        width: 100%;
    }
    .cookie-table {
        font-size: 13px;
    }
    .cookie-table th,
    .cookie-table td {
        padding: 9px 10px;
    }
}


/* ===========================================
   POPUP LEAD FORM
   =========================================== */
.popup-lead {
    max-width: 900px;
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius-card);
}

.popup-lead__layout {
    display: flex;
    min-height: 480px;
}

.popup-lead__photo {
    flex: 0 0 380px;
    overflow: hidden;
}

.popup-lead__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-lead__form-side {
    flex: 1;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-lead__title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-transform: none;
}

.popup-lead__subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 28px;
}

.popup-lead__field {
    margin-bottom: 16px;
}

.popup-lead__input {
    width: 100%;
    padding: 18px 24px;
    border-radius: 12px;
    border: 2px solid var(--border);
    font-size: 16px;
    outline: none;
    color: var(--text-primary);
    transition: border-color 0.3s ease;
}

.popup-lead__input::placeholder {
    color: var(--text-muted);
}

.popup-lead__input:focus {
    border-color: var(--accent);
}

.popup-lead__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.popup-lead__consent input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

.popup-lead__consent a {
    color: var(--text-primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.popup-lead__consent a:hover {
    color: var(--accent);
}

.popup-lead__submit {
    width: 100%;
}

@media (max-width: 768px) {
    .popup-lead {
        max-width: 100%;
        margin: 16px;
        border-radius: 20px;
        max-height: calc(100vh - 32px);
        overflow-y: auto;
    }

    .popup-lead__layout {
        flex-direction: column;
        min-height: auto;
    }

    .popup-lead__form-side {
        padding: 24px 20px;
    }

    .popup-lead__title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .popup-lead__subtitle {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .popup-lead__input {
        padding: 14px 18px;
        font-size: 15px;
    }

    .popup-lead__field {
        margin-bottom: 12px;
    }

    .popup-lead__consent {
        margin-bottom: 16px;
    }

    .popup-lead__submit .btn-arrow {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
    }

    .popup-lead__submit {
        padding: 8px 8px 8px 24px;
        font-size: 15px;
    }
}


/* ===========================================
   POPUP COMPARISON
   =========================================== */
.popup-comparison {
    max-width: 750px;
    padding: 40px;
}

.popup-comparison__title {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
    text-transform: none;
}

.popup-comparison__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    font-size: 14px;
}

.popup-comparison__table th,
.popup-comparison__table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.popup-comparison__table th {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg-secondary);
}

.popup-comparison__table th:first-child {
    border-radius: 10px 0 0 0;
}

.popup-comparison__table th:last-child {
    border-radius: 0 10px 0 0;
}

.popup-comparison__col-bad {
    color: var(--text-muted);
}

.popup-comparison__col-good {
    color: var(--accent);
    font-weight: 600;
}

.popup-comparison__table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.popup-comparison__form {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 30px;
}

.popup-comparison__form h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    text-transform: none;
}

@media (max-width: 768px) {
    .popup-comparison {
        padding: 20px;
        margin: 16px;
        max-height: calc(100vh - 32px);
        overflow-y: auto;
    }

    .popup-comparison__title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .popup-comparison__table {
        font-size: 12px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 20px;
    }

    .popup-comparison__table th,
    .popup-comparison__table td {
        padding: 8px 6px;
    }

    .popup-comparison__table td:first-child {
        white-space: normal;
    }

    .popup-comparison__form {
        padding: 16px;
    }

    .popup-comparison__form h4 {
        font-size: 16px;
        margin-bottom: 14px;
    }
}


/* ===========================================
   POPUP QUIZ
   =========================================== */
.popup-quiz {
    max-width: 900px;
    padding: 0;
    overflow-y: auto;
    border-radius: var(--radius-card);
}

.popup-quiz .quiz__card {
    margin: 0;
    border-radius: 0;
}

.popup-quiz .popup-close {
    z-index: 10;
    top: 12px;
    right: 12px;
}

.popup-quiz .quiz__photo-option img {
    height: 140px;
}

@media (max-width: 768px) {
    .popup-quiz-overlay {
        align-items: flex-start;
    }

    .popup-quiz {
        max-width: 100%;
        width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
        min-height: 100vh;
    }

    .popup-quiz .quiz__card {
        padding: 16px;
    }

    .popup-quiz .quiz__photo-option img {
        height: 90px;
    }
}


/* ===========================================
   STICKY PANEL
   =========================================== */
.sticky-panel {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sticky-panel.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Toggle button */
.sticky-panel__toggle {
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.sticky-panel__toggle i,
.sticky-panel__toggle svg,
.sticky-panel__toggle span {
    width: 18px !important;
    height: 18px !important;
    transition: transform 0.3s ease;
    pointer-events: none;
}

/* Toggle icons: X when open, arrow when collapsed */
.sticky-panel__toggle-open { display: none; }
.sticky-panel__toggle-close { display: flex; }

.sticky-panel.collapsed .sticky-panel__toggle-open { display: flex; }
.sticky-panel.collapsed .sticky-panel__toggle-close { display: none; }

/* Items container */
.sticky-panel__items {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--white);
    border-radius: 16px;
    padding: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.sticky-panel.collapsed .sticky-panel__items {
    opacity: 0;
    pointer-events: none;
    max-height: 0;
    padding: 0;
    margin: 0;
}

.sticky-panel__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
}

.sticky-panel__item:hover {
    background: var(--bg-secondary);
}

/* Accent item (CTA) */
.sticky-panel__item--accent {
    background: var(--accent);
    color: var(--white);
}

.sticky-panel__item--accent:hover {
    background: var(--accent-hover);
}

.sticky-panel__item--accent .sticky-panel__icon i {
    color: var(--white);
}

/* Icon */
.sticky-panel__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.sticky-panel__icon i {
    width: 22px;
    height: 22px;
    color: var(--text-primary);
}

/* Label: hidden by default, shown on hover */
.sticky-panel__label {
    font-size: 13px;
    font-weight: 600;
    display: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sticky-panel:hover .sticky-panel__label {
    display: block;
}

/* --- MOBILE: smaller, right side --- */
@media (max-width: 768px) {
    .sticky-panel {
        right: 10px;
    }

    .sticky-panel__toggle {
        width: 30px;
        height: 30px;
    }

    .sticky-panel__toggle i,
    .sticky-panel__toggle svg {
        width: 14px !important;
        height: 14px !important;
    }

    .sticky-panel__items {
        border-radius: 12px;
        padding: 4px;
    }

    .sticky-panel__item {
        padding: 8px;
        border-radius: 8px;
    }

    .sticky-panel__icon {
        width: 20px;
        height: 20px;
    }

    .sticky-panel__icon i {
        width: 18px;
        height: 18px;
    }

    .sticky-panel__label {
        display: none;
    }

    .sticky-panel:hover .sticky-panel__label {
        display: none;
    }
}


/* ===========================================
   STUB STYLES (temporary — remove when building real screens)
   =========================================== */
.stub {
    border: 2px dashed var(--border);
    border-radius: var(--radius-card);
    padding: 60px 40px;
    text-align: center;
    background: var(--bg-secondary);
}

.stub--dark {
    background: var(--bg-dark);
    border-color: #555;
}

.stub--dark .stub__label,
.stub--dark .stub__desc {
    color: var(--white);
}

.stub__label {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.stub__desc {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}


/* ===========================================
   MEDIA QUERIES
   =========================================== */
@media (max-width: 1440px) {
    :root {
        --container-max: 1340px;
    }
}

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

    .stats-bar {
        flex-direction: column;
        border-radius: 30px;
        gap: 30px;
    }

    .callback-card {
        flex-direction: column;
        border-radius: 30px;
    }

    .callback-card__form {
        padding: 40px 30px;
    }

    .callback-card__image {
        display: none;
    }

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

    .benefits__card:nth-child(n) {
        grid-column: auto;
    }

    .benefits__image {
        grid-column: span 2;
        grid-row: auto;
        height: 300px;
    }

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

    .seasons__card:nth-child(n) {
        grid-column: auto;
    }

    .seasons__image {
        grid-column: span 2;
        grid-row: auto;
        height: 300px;
    }

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

    .footer__main {
        flex-wrap: wrap;
    }

    .footer__nav-col--wide {
        flex-basis: 100%;
        order: 3;
    }
}

@media (max-width: 1100px) {
    .header__nav {
        display: none;
    }

    .header__right {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    .header,
    .header.scrolled {
        position: absolute;
    }
}

@media (max-width: 1024px) {
    h1, .h1 { font-size: 40px; }
    h2, .h2 { font-size: 30px; }
    h3, .h3 { font-size: 22px; }

    .hero__suptitle {
        font-size: 22px;
    }

    .hero__title {
        font-size: 40px;
    }

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

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

    .custom__photo {
        min-height: 300px;
    }

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

    .company__video-card--side,
    .company__video-card:not(.active) {
        width: 100%;
        max-width: 100%;
        height: 250px;
        opacity: 0.7;
    }

    .company__tabs {
        display: none;
    }

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

    .company__video-card,
    .company__video-card--side,
    .company__video-card--main,
    .company__video-card.active,
    .company__video-card:not(.active) {
        width: 100%;
        max-width: 100%;
        height: 250px;
        opacity: 1;
        flex-grow: 0;
    }

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

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

    .installment__card {
        padding: 30px;
    }

    .installment__text {
        font-size: 13px;
    }

    .company__stat-number {
        font-size: 36px;
    }

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

    .measurement__photo {
        min-height: 300px;
    }

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

    .section {
        padding: 50px 0;
    }

    .cases,
    .controls,
    .customization,
    .quiz,
    .company,
    .installment,
    .measurement,
    .reviews {
        padding: 50px 0;
    }

    .seasons {
        padding: 20px 0 50px;
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .benefits__card:nth-child(n) {
        grid-column: auto;
    }

    .benefits__image {
        grid-column: span 1;
        height: 250px;
    }

    .benefits__card {
        min-height: auto;
        padding: 24px;
    }

    .benefits__cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

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

    .seasons__card:nth-child(n) {
        grid-column: auto;
    }

    .seasons__image {
        grid-column: span 1;
        height: 250px;
    }

    .seasons__icon i,
    .seasons__icon svg {
        width: 28px !important;
        height: 28px !important;
    }

    .benefits__icon i,
    .benefits__icon svg {
        width: 28px !important;
        height: 28px !important;
    }

    .benefits__text {
        font-size: 14px;
    }

    .footer__contacts {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer__main {
        flex-direction: column;
        gap: 30px;
    }

    .footer__logos {
        width: auto;
    }

    .footer__socials-col {
        width: auto;
    }

    .footer__nav-heading {
        font-size: 22px;
    }

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

    .footer {
        padding: 50px 0;
    }

    /* Responsive visibility */
    .hidden-mobile  { display: none !important; }
    .hidden-desktop { display: inline !important; }

    /* Buttons: full width on mobile */
    .btn-primary,
    .btn-secondary,
    .btn-submit {
        width: 100%;
        justify-content: space-between;
    }

    .hero__suptitle {
        font-size: 18px;
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__subtitle {
        font-size: 15px;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__bullets {
        grid-template-columns: 1fr;
        gap: 12px;
    }

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

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

    .quiz__card {
        padding: 16px;
    }

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

    .quiz__photo-option img {
        height: 100px;
    }

    .quiz__photo-option span {
        padding: 8px 10px;
        font-size: 13px;
    }

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

    .quiz__split-photo {
        min-height: 200px;
    }

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

    .quiz__nav .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .reviews__row {
        flex-direction: column;
    }

    .reviews__card {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .reviews__b2b {
        width: 100%;
    }

    .reviews__logos {
        grid-template-columns: repeat(4, 1fr);
    }

    .reviews__logo {
        width: 70px;
        height: 28px;
    }

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

    .cases__gallery {
        aspect-ratio: auto;
        height: 220px;
    }

    .cases__gallery-prev,
    .cases__gallery-next {
        width: 32px;
        height: 32px;
    }

    .cases__gallery-prev svg,
    .cases__gallery-next svg {
        width: 14px;
        height: 14px;
    }

    /* Objects mobile */
    .objects__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .objects .cases__mini-photo {
        height: 190px;
    }

    .cases__mini-title {
        font-size: 13px;
        padding: 12px 12px 4px;
    }

    .cases__mini-desc {
        font-size: 11px;
        padding: 0 12px 8px;
    }

    .cases__mini-cta {
        margin: auto 12px 12px;
        font-size: 11px;
        padding: 6px 6px 6px 14px;
        width: auto;
    }

    .cases__mini-cta .btn-arrow {
        width: 24px;
        height: 24px;
    }

    .objects__price-badge {
        font-size: 11px;
        padding: 5px 10px;
        border-radius: 8px;
        top: 8px;
        right: 8px;
    }

    .cases__mini-price {
        font-size: 13px;
        padding: 0 12px;
    }

    .reviews__logo {
        height: 28px;
    }
}

@media (max-width: 600px) {
    h1, .h1 { font-size: 32px; }
    h2, .h2 { font-size: 26px; }

    :root {
        --container-padding: 16px;
    }
}


/* ===========================================
   LANDING PAGE — /landing
   =========================================== */

/* --- LP: shared elements --- */
.lp-hook {
    text-align: center;
    color: var(--accent);
    font-weight: 500;
    font-size: 16px;
    margin-top: 50px;
    font-style: italic;
}

.lp-micro {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 10px;
}

.lp-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
    line-height: 1.4;
    max-width: 60%;
}

.lp-solution__cta-wrap {
    text-align: center;
    margin-top: 40px;
}

/* --- LP Hero --- */
.lp-hero {
    position: relative;
    background: url('/assets/img/general/prozrachnye-rolstavni-na-terrasu-hero.webp') center/cover no-repeat;
    color: var(--white);
    padding: 140px 0 80px;
    overflow: hidden;
}

.lp-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.45) 100%
    );
    z-index: 1;
}

.lp-hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.lp-hero__title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #ffffff;
}

.lp-hero__subtitle {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
    margin-bottom: 35px;
}

.lp-hero__anchors {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
}

.lp-hero__anchor {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border-radius: var(--radius-card-sm);
    padding: 18px 24px;
    flex: 1;
}

.lp-hero__anchor-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
}

.lp-hero__anchor-label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

.lp-hero__text {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
}

.lp-hero__text p + p {
    margin-top: 14px;
}

.lp-hero__row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.lp-hero__facts {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.lp-hero__facts span {
    white-space: nowrap;
}

.lp-hero__cta {
    font-size: 16px;
    padding: 10px 10px 10px 30px;
    flex-shrink: 0;
}

.lp-hero__cta .btn-arrow {
    width: 42px;
    height: 42px;
}

.lp-hero__cta .btn-arrow::after {
    font-size: 20px;
}

.lp-hero__micro {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 12px;
}

.lp-hero__hook {
    color: var(--accent);
    font-style: italic;
    font-weight: 500;
    margin-top: 50px;
    font-size: 16px;
}

/* --- LP Problem --- */
.lp-problem {
    padding: 80px 0;
}

.lp-problem__scenario {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: center;
}

.lp-problem__scenario p + p {
    margin-top: 14px;
}

.lp-problem__subtitle {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.lp-problem__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.lp-problem__card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 30px;
    border: 1px solid var(--border-light);
    position: relative;
}

.lp-problem__card-label {
    display: inline-block;
    background: #ff4d4d;
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.lp-problem__card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.3;
}

.lp-problem__card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.lp-problem__card blockquote {
    font-style: italic;
    font-size: 13px;
    color: var(--text-muted);
    border-left: 3px solid var(--border);
    padding-left: 14px;
    margin-top: 12px;
}

.lp-problem__card blockquote + blockquote {
    margin-top: 8px;
}

.lp-problem__summary {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-card);
    padding: 30px 40px;
    font-size: 16px;
    line-height: 1.7;
}

.lp-problem__summary p + p {
    margin-top: 10px;
}

/* --- LP Solution --- */
.lp-solution {
    padding: 80px 0;
}

.lp-solution__video {
    max-width: 800px;
    margin: 0 auto 40px;
    aspect-ratio: 16 / 9;
    background: var(--bg-hero);
    border-radius: var(--radius-card-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.lp-solution__video-placeholder {
    text-align: center;
    color: rgba(255,255,255,0.6);
}

.lp-solution__video-placeholder i,
.lp-solution__video-placeholder svg {
    width: 64px !important;
    height: 64px !important;
    color: var(--accent);
    display: block;
    margin: 0 auto 12px;
}

.lp-solution__video-placeholder span {
    font-size: 15px;
}

.lp-solution__text {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.lp-solution__text p + p {
    margin-top: 14px;
}

.lp-solution__features-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
}

.lp-solution__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.lp-solution__feature {
    background: var(--bg-secondary);
    border-radius: var(--radius-card);
    padding: 30px;
    text-align: center;
}

.lp-solution__feature-icon {
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.lp-solution__feature-icon i,
.lp-solution__feature-icon svg {
    width: 28px !important;
    height: 28px !important;
    color: var(--white) !important;
}

.lp-solution__feature h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.lp-solution__feature p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.lp-solution__quotes {
    max-width: 700px;
    margin: 0 auto 30px;
}

.lp-solution__quotes blockquote {
    font-style: italic;
    color: var(--text-muted);
    border-left: 3px solid var(--accent);
    padding-left: 16px;
    margin-bottom: 12px;
    font-size: 14px;
}

/* --- LP Comparison --- */
.lp-comparison {
    padding: 80px 0;
}

.lp-comparison__table-wrap {
    overflow-x: auto;
    margin-bottom: 40px;
    border-radius: var(--radius-card);
}

.lp-comparison__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
}

.lp-comparison__table thead th {
    padding: 16px 18px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: left;
    border-bottom: 2px solid var(--border-light);
}

.lp-comparison__table thead th:first-child {
    background: var(--bg-secondary);
}

.lp-comparison__col--bad {
    background: rgba(255, 77, 77, 0.05);
}

.lp-comparison__col--neutral {
    background: rgba(200, 200, 200, 0.08);
}

.lp-comparison__col--good {
    background: rgba(178, 210, 53, 0.08);
}

.lp-comparison__table thead .lp-comparison__col--good {
    color: var(--accent-hover);
}

.lp-comparison__table thead .lp-comparison__col--bad {
    color: #cc3333;
}

.lp-comparison__table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: top;
}

.lp-comparison__table tbody td:first-child {
    font-weight: 600;
    background: var(--bg-secondary);
    white-space: nowrap;
}

.lp-comparison__money {
    max-width: 750px;
    margin: 0 auto 30px;
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 30px 40px;
    border-left: 4px solid var(--accent);
}

.lp-comparison__money h3 {
    font-size: 20px;
    margin-bottom: 14px;
}

.lp-comparison__money p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.lp-comparison__money p + p {
    margin-top: 10px;
}

.lp-comparison__quotes {
    max-width: 700px;
    margin: 0 auto 30px;
}

.lp-comparison__quotes blockquote {
    font-style: italic;
    color: var(--text-muted);
    border-left: 3px solid var(--accent);
    padding-left: 16px;
    margin-bottom: 12px;
    font-size: 14px;
}

/* --- LP Why Us --- */
.lp-why {
    padding: 80px 0;
}

.lp-why__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.lp-why__card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 30px;
    border: 1px solid var(--border-light);
}

.lp-why__card--accent {
    background: var(--bg-hero);
    color: var(--white);
    border-color: transparent;
}

.lp-why__card--accent p {
    color: rgba(255,255,255,0.8);
}

.lp-why__card-num {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--white);
    font-weight: 800;
    font-size: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.lp-why__card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.3;
}

.lp-why__card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.lp-why__card-result {
    background: rgba(178, 210, 53, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
}

.lp-why__card-example {
    background: rgba(178, 210, 53, 0.15);
    border-radius: 12px;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin: 14px 0;
}

.lp-why__card blockquote {
    font-style: italic;
    font-size: 13px;
    color: var(--text-muted);
    border-left: 3px solid var(--accent);
    padding-left: 14px;
    margin-top: 10px;
}

.lp-why__card--accent blockquote {
    color: rgba(255,255,255,0.6);
}

.lp-why__bonus {
    max-width: 750px;
    margin: 0 auto 30px;
    background: var(--bg-secondary);
    border-radius: var(--radius-card);
    padding: 30px 40px;
}

.lp-why__bonus h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.lp-why__bonus p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.lp-why__bonus blockquote {
    font-style: italic;
    font-size: 13px;
    color: var(--text-muted);
    border-left: 3px solid var(--accent);
    padding-left: 14px;
    margin-top: 14px;
}

/* --- LP Gallery --- */
.lp-gallery {
    padding: 80px 0;
}

.lp-gallery__cases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.lp-gallery__case {
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.lp-gallery__case-photo img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.lp-gallery__case-info {
    padding: 24px;
}

.lp-gallery__case-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.lp-gallery__case-before,
.lp-gallery__case-after {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.lp-gallery__case-info blockquote {
    font-style: italic;
    font-size: 13px;
    color: var(--text-muted);
    border-left: 3px solid var(--accent);
    padding-left: 14px;
    margin-top: 12px;
}

.lp-gallery__stripes {
    max-width: 750px;
    margin: 0 auto 40px;
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 30px 40px;
    text-align: center;
}

.lp-gallery__stripes h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.lp-gallery__stripes p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.lp-gallery__stripes blockquote {
    font-style: italic;
    color: var(--text-muted);
    margin-top: 14px;
    font-size: 14px;
}

.lp-gallery__counter {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 30px;
}

.lp-gallery__counter-item {
    text-align: center;
}

.lp-gallery__counter-value {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--accent);
}

.lp-gallery__counter-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* --- LP Process --- */
.lp-process {
    padding: 80px 0;
}

.lp-process__steps {
    max-width: 800px;
    margin: 0 auto 40px;
    position: relative;
}

.lp-process__steps::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 48px;
    bottom: 48px;
    width: 2px;
    background: var(--border-light);
}

.lp-process__step {
    display: flex;
    gap: 24px;
    margin-bottom: 36px;
    position: relative;
}

.lp-process__step:last-child {
    margin-bottom: 0;
}

.lp-process__step-num {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--accent);
    color: var(--white);
    font-weight: 800;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.lp-process__step-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    padding-top: 10px;
}

.lp-process__step-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.lp-process__step-note {
    background: rgba(178, 210, 53, 0.1);
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 13px !important;
    font-weight: 500;
}

.lp-process__step-content blockquote {
    font-style: italic;
    font-size: 13px;
    color: var(--text-muted);
    border-left: 3px solid var(--accent);
    padding-left: 14px;
    margin-top: 8px;
}

.lp-process__selfinstall {
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-card);
    padding: 20px 30px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* --- LP Reviews --- */
.lp-reviews {
    padding: 80px 0;
}

.lp-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.lp-reviews__card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 28px;
    border: 1px solid var(--border-light);
}

.lp-reviews__card-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.lp-reviews__card blockquote {
    font-style: italic;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.lp-reviews__card-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
}

.lp-reviews__repeat {
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
}

.lp-reviews__logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.lp-reviews__logos img {
    height: 35px;
    width: auto;
}

.lp-reviews__logos-text {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* --- LP Price --- */
.lp-price {
    padding: 80px 0;
}

.lp-price__main {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.lp-price__sqm {
    background: var(--bg-hero);
    color: var(--white);
    border-radius: var(--radius-card);
    padding: 30px;
    margin-bottom: 16px;
}

.lp-price__sqm-value {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
}

.lp-price__sqm-label {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-top: 6px;
}

.lp-price__depends {
    font-size: 14px;
    color: var(--text-muted);
}

.lp-price__typical {
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-card);
    padding: 30px;
}

.lp-price__typical h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.lp-price__typical p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.lp-price__typical-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
}

.lp-price__compare {
    margin-bottom: 40px;
}

.lp-price__compare h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.lp-price__compare-table,
.lp-price__installment-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
    font-size: 14px;
}

.lp-price__compare-table thead th,
.lp-price__installment-table thead th {
    padding: 14px 18px;
    background: var(--bg-secondary);
    font-weight: 700;
    font-size: 13px;
    text-align: left;
    border-bottom: 2px solid var(--border-light);
}

.lp-price__compare-table tbody td,
.lp-price__installment-table tbody td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-light);
}

.lp-price__compare-highlight td {
    background: rgba(178, 210, 53, 0.1);
    font-weight: 600;
}

.lp-price__human {
    max-width: 700px;
    margin: 0 auto 40px;
}

.lp-price__human h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.lp-price__human-items {
    display: flex;
    gap: 20px;
}

.lp-price__human-item {
    flex: 1;
    background: var(--bg-hero);
    color: var(--white);
    border-radius: var(--radius-card);
    padding: 24px;
    text-align: center;
}

.lp-price__human-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
}

.lp-price__human-label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 6px;
}

.lp-price__installment {
    max-width: 700px;
    margin: 0 auto 30px;
}

.lp-price__installment h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.lp-price__installment-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
}

.lp-price__save {
    max-width: 600px;
    margin: 0 auto 30px;
    background: var(--bg-secondary);
    border-radius: var(--radius-card);
    padding: 24px 30px;
}

.lp-price__save h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.lp-price__save ul {
    list-style: disc;
    padding-left: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.lp-price__save li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* --- LP FAQ --- */
.lp-faq {
    padding: 80px 0;
}

.lp-faq__list {
    max-width: 800px;
    margin: 0 auto 40px;
}

.lp-faq__item {
    border-bottom: 1px solid var(--border-light);
}

.lp-faq__item:first-child {
    border-top: 1px solid var(--border-light);
}

.lp-faq__question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--text-primary);
    transition: color 0.2s;
}

.lp-faq__question:hover {
    color: var(--accent-hover);
}

.lp-faq__icon {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.lp-faq__icon i,
.lp-faq__icon svg {
    width: 20px !important;
    height: 20px !important;
}

.lp-faq__item.active .lp-faq__icon {
    transform: rotate(180deg);
}

.lp-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.lp-faq__answer p,
.lp-faq__answer ol,
.lp-faq__answer ul {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.lp-faq__answer ol,
.lp-faq__answer ul {
    padding-left: 20px;
}

.lp-faq__answer li {
    margin-bottom: 4px;
}

.lp-faq__item.active .lp-faq__answer {
    padding-bottom: 20px;
}

/* --- LP Closing --- */
.lp-closing {
    padding: 80px 0;
}

.lp-closing__card {
    background: var(--bg-hero);
    color: var(--white);
    border-radius: var(--radius-card-lg);
    padding: 60px;
}

.lp-closing__card .section__header h2 {
    color: var(--white);
}

.lp-closing__card .section__header .subtitle {
    color: rgba(255,255,255,0.7);
}

.lp-closing__text {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
}

.lp-closing__text p + p {
    margin-top: 10px;
}

.lp-closing__options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.lp-closing__option {
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-card-sm);
    padding: 24px;
}

.lp-closing__option h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent);
}

.lp-closing__option p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.75);
}

.lp-closing__quotes {
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: center;
}

.lp-closing__quotes blockquote {
    font-style: italic;
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
}

.lp-closing__final {
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
}

.lp-closing .lp-micro {
    color: rgba(255,255,255,0.5);
}

.btn-primary--lg {
    font-size: 16px;
    padding: 12px 12px 12px 32px;
}

.btn-primary--lg .btn-arrow {
    width: 44px;
    height: 44px;
}

.btn-primary--lg .btn-arrow::after {
    font-size: 20px;
}

/* --- LP Responsive --- */
@media (max-width: 1024px) {
    .lp-hero__title { font-size: 40px; }
    .lp-hero__row { flex-direction: column; align-items: flex-start; }
    .lp-hero__anchors { flex-direction: column; gap: 12px; }
    .lp-problem__cards { grid-template-columns: 1fr; }
    .lp-solution__features { grid-template-columns: 1fr; }
    .lp-why__cards { grid-template-columns: 1fr; }
    .lp-gallery__cases { grid-template-columns: 1fr; }
    .lp-reviews__grid { grid-template-columns: 1fr; }
    .lp-closing__options { grid-template-columns: 1fr; }
    .lp-closing__card { padding: 40px 30px; }
    .lp-price__human-items { flex-direction: column; }
}

@media (max-width: 768px) {
    .lp-hero { padding: 120px 0 60px; }
    .lp-hero__title { font-size: 28px; }
    .lp-hero__subtitle { font-size: 16px; }
    .lp-hero__cta { font-size: 14px; padding: 8px 8px 8px 25px; }
    .lp-hero__cta .btn-arrow { width: 38px; height: 38px; }
    .lp-hero__cta .btn-arrow::after { font-size: 18px; }

    .lp-problem,
    .lp-solution,
    .lp-comparison,
    .lp-why,
    .lp-gallery,
    .lp-process,
    .lp-reviews,
    .lp-price,
    .lp-faq,
    .lp-closing {
        padding: 60px 0;
    }

    .lp-comparison__table { font-size: 12px; }
    .lp-comparison__table tbody td:first-child { white-space: normal; }
    .lp-comparison__money { padding: 24px; }

    .lp-gallery__counter { flex-direction: column; gap: 20px; }
    .lp-gallery__counter-value { font-size: 32px; }

    .lp-price__sqm-value { font-size: 28px; }
    .lp-price__typical-value { font-size: 26px; }

    .lp-closing__card { padding: 30px 20px; }

    .btn-primary--lg { font-size: 16px; padding: 16px 30px; }
}

@media (max-width: 600px) {
    .lp-hero__title { font-size: 24px; }
    .lp-gallery__stripes { padding: 24px; }
    .lp-why__bonus { padding: 24px; }
    .lp-problem__summary { padding: 24px; }
}



/* ===========================================
   СТРАНИЦА ПРОЕКТА
   =========================================== */

/* --- Hero --- */
.proj-hero {
    padding: 40px 0 60px;
    background: var(--bg-primary);
}

.proj-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.proj-hero__breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.proj-hero__breadcrumb a:hover { color: var(--accent); }

.proj-hero__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.proj-hero__info .tag { margin-bottom: 16px; }

.proj-hero__title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
    text-transform: none;
}

.proj-hero__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.proj-hero__location svg { width: 16px; height: 16px; }

.proj-hero__specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.proj-hero__spec {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 14px;
}

.proj-hero__spec--accent {
    background: var(--accent);
}

.proj-hero__spec--accent .proj-hero__spec-value,
.proj-hero__spec--accent .proj-hero__spec-label {
    color: var(--white);
}

.proj-hero__spec-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.proj-hero__spec-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.proj-hero__photo {
    border-radius: var(--radius-card);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.proj-hero__main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proj-hero__photo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.proj-hero__photo-placeholder svg { width: 48px; height: 48px; }

/* --- Gallery --- */
.proj-gallery {
    padding: 0 0 60px;
    background: var(--bg-primary);
}

.proj-gallery__main {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin-bottom: 16px;
}

.proj-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.proj-gallery__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.proj-gallery__play:hover { background: rgba(0,0,0,0.5); }

.proj-gallery__play svg {
    width: 64px;
    height: 64px;
    color: var(--white);
}

.proj-gallery__thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.proj-gallery__thumbs::-webkit-scrollbar { display: none; }

.proj-gallery__thumb {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s;
}

.proj-gallery__thumb.active { border-color: var(--accent); }

.proj-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Details --- */
.proj-details {
    padding: 60px 0 80px;
    background: var(--bg-secondary);
}

.proj-details__layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 60px;
    align-items: start;
}

.proj-details__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: none;
}

/* Specs table */
.proj-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.proj-specs-table tr {
    border-bottom: 1px solid var(--border);
}

.proj-specs-table__label {
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-muted);
    width: 50%;
}

.proj-specs-table__value {
    padding: 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.proj-specs-table__row--accent .proj-specs-table__label,
.proj-specs-table__row--accent .proj-specs-table__value {
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
}

/* Badges */
.proj-details__badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.proj-details__badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.proj-details__badge svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

/* Content side */
.proj-details__desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.proj-quote {
    border-left: 3px solid var(--accent);
    padding: 20px 24px;
    background: var(--white);
    border-radius: 0 14px 14px 0;
    margin-bottom: 32px;
}

.proj-quote__text {
    font-size: 16px;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.proj-quote__author {
    font-size: 13px;
    color: var(--text-muted);
}

.proj-details__cta {
    background: var(--white);
    border-radius: var(--radius-card-sm);
    padding: 28px;
}

.proj-details__cta p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .proj-hero { padding: 24px 0 40px; }
    .proj-hero__layout { grid-template-columns: 1fr; gap: 24px; }
    .proj-hero__photo { order: -1; }
    .proj-hero__title { font-size: 26px; }
    .proj-hero__specs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .proj-hero__spec-value { font-size: 16px; }

    .proj-gallery__thumb { width: 72px; height: 52px; }

    .proj-details__layout { grid-template-columns: 1fr; gap: 32px; }
    .proj-details { padding: 40px 0 60px; }
}

/* ===========================================
   ПОХОЖИЕ ПРОЕКТЫ
   =========================================== */

.proj-related {
    padding: 72px 0 80px;
    background: var(--bg-secondary, #f5f5f7);
}

.proj-related .section__header {
    margin-bottom: 40px;
}

.proj-related .section__header .subtitle {
    max-width: 520px;
}

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

.proj-related__card {
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.proj-related__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.proj-related__photo {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-secondary);
}

.proj-related__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.proj-related__card:hover .proj-related__photo img {
    transform: scale(1.04);
}

.proj-related__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.proj-related__type {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.proj-related__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.proj-related__meta {
    display: flex;
    gap: 16px;
    margin-bottom: auto;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.proj-related__meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.proj-related__meta-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.proj-related__meta-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.proj-related__price {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    margin-top: 14px;
}

.proj-related__price-label {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

@media (max-width: 900px) {
    .proj-related__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
    .proj-related__grid { grid-template-columns: 1fr; }
    .proj-related { padding: 48px 0 56px; }
}

/* ===========================================
   СТРАНИЦА ПРОЕКТА v2 — галерея + инфо рядом
   =========================================== */

/* Fix 1: Хедер на белом фоне — инвертируем сразу в scrolled-состояние */
.page-project .header,
.page-projects .header {
    position: fixed;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-project .header .header__nav-link,
.page-project .header .header__phone,
.page-project .header .header__logo-name,
.page-projects .header .header__nav-link,
.page-projects .header .header__phone,
.page-projects .header .header__logo-name {
    color: var(--text-primary);
}

.page-project .header .header__logo-sub,
.page-projects .header .header__logo-sub {
    color: var(--text-muted);
}

.page-project .header .header__burger span,
.page-projects .header .header__burger span {
    background: var(--text-primary);
}

.proj-layout {
    padding: 98px 0 0; /* 70px header + 28px gap */
    background: var(--bg-primary);
}

.proj-layout__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.proj-layout__breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.proj-layout__breadcrumb a:hover { color: var(--accent); }

.proj-layout__inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 48px;
    align-items: start;
}

/* --- Left: Media --- */
.proj-media {}

.proj-media__main {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 10px;
    background: var(--bg-secondary);
}

.proj-media__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s;
}

.proj-media__thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.proj-media__thumbs::-webkit-scrollbar { display: none; }

.proj-media__thumb {
    width: 76px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.65;
}

.proj-media__thumb.active {
    border-color: var(--accent);
    opacity: 1;
}

.proj-media__thumb:hover { opacity: 1; }

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

/* --- Right: Info (sticky) --- */
.proj-info {
    position: sticky;
    top: 88px;
}

.proj-info .tag { margin-bottom: 14px; }

.proj-info__title {
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 10px;
}

.proj-info__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.proj-info__location svg { width: 14px; height: 14px; flex-shrink: 0; }

.proj-info .proj-specs-table {
    margin-bottom: 0;
    width: 100%;
}

.proj-info .proj-specs-table tr { border-bottom: 1px solid var(--border-light); }
.proj-info .proj-specs-table tr:last-child { border-bottom: none; }
.proj-info .proj-specs-table__label { font-size: 13px; padding: 9px 0; }
.proj-info .proj-specs-table__value { font-size: 13px; padding: 9px 0; text-align: right; }

.proj-info__price {
    font-size: 34px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    margin: 20px 0 16px;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
}

.proj-info__actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 16px;
}

.proj-info__actions .btn-primary,
.proj-info__actions .btn-installment {
    flex: 1;
    justify-content: space-between;
    font-size: 13px;
    padding: 8px 8px 8px 16px;
    gap: 8px;
}

.proj-info__actions .btn-primary .btn-arrow,
.proj-info__actions .btn-installment .btn-arrow {
    width: 28px;
    height: 28px;
}

@media (max-width: 600px) {
    .proj-info__actions { flex-direction: column; }
}

.proj-info__badges {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.proj-info__badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.proj-info__badge svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

/* --- Content below: 2-колонки --- */
.proj-content {
    padding: 56px 0 80px;
    border-top: 1px solid var(--border-light);
    margin-top: 48px;
}

.proj-content__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0 60px;
    align-items: start;
}

.proj-content__desc {
    grid-column: 1;
    grid-row: 1 / 3;
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a; /* ярче чем text-secondary #777 */
    margin-bottom: 0;
}

.proj-quote {
    grid-column: 2;
    grid-row: 1;
}

.proj-content__cta {
    grid-column: 2;
    grid-row: 2;
    background: var(--white);
    border-radius: var(--radius-card-sm);
    padding: 28px;
    margin-top: 24px;
}

.proj-content__cta p {
    font-size: 15px;
    color: #4a4a4a;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* --- Mobile --- */
@media (max-width: 900px) {
    .proj-layout__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .proj-info {
        position: static;
    }

    .proj-info__title { font-size: 22px; }
    .proj-info__price { font-size: 28px; }
}

@media (max-width: 900px) {
    .proj-content__inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .proj-content__desc { grid-column: 1; grid-row: 1; margin-bottom: 28px; }
    .proj-quote { grid-column: 1; grid-row: 2; }
    .proj-content__cta { grid-column: 1; grid-row: 3; margin-top: 0; }
}

@media (max-width: 600px) {
    .proj-layout { padding-top: 86px; }
    .proj-media__thumb { width: 60px; height: 44px; }
    .proj-content { padding: 40px 0 56px; margin-top: 32px; }
    .proj-content__cta { padding: 20px; }
}

/* Хлебные крошки на мобильном — переносить полностью на вторую строку если не влезает */
@media (max-width: 600px) {
    .proj-layout__breadcrumb {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .proj-layout__breadcrumb > span:last-child {
        width: 100%;
        display: block;
        font-weight: 500;
        color: var(--text-primary);
    }
}

/* ===================== PROJECTS CATALOG ===================== */

.proj-catalog-hero {
    padding: 110px 0 48px; /* 70px header + 40px gap */
    background: #fff;
    border-bottom: 1px solid #dde0e5;
}

.proj-catalog-hero__content {
    margin-bottom: 32px;
}

.proj-catalog-hero__content h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 12px 0 10px;
}

.proj-catalog-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.proj-catalog-stat__value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.proj-catalog-stat__label {
    font-size: 13px;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

/* Filters */
.proj-catalog-grid-section {
    padding: 48px 0 72px;
    background: #f9f9f9;
}

/* Карточки в каталоге — выразительная тень на сером фоне */
.proj-catalog__grid .cases__project {
    box-shadow:
        0 1px 3px rgba(0,0,0,0.05),
        0 6px 20px rgba(0,0,0,0.08),
        0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.8);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.proj-catalog__grid .cases__project:hover {
    transform: translateY(-5px);
    box-shadow:
        0 2px 6px rgba(0,0,0,0.06),
        0 12px 32px rgba(0,0,0,0.11),
        0 30px 56px rgba(0,0,0,0.07);
}

.proj-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.proj-filter-btn {
    padding: 8px 20px;
    border-radius: 100px;
    border: 1.5px solid var(--border-light);
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
    font-family: inherit;
}

.proj-filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.proj-filter-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Catalog card extras */
.proj-catalog__grid {
    grid-template-columns: repeat(2, 1fr);
}

.proj-catalog__type-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-light, rgba(34, 197, 94, 0.08));
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 10px;
}

.proj-catalog__price {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    margin-bottom: 16px;
    margin-top: auto;
    padding-top: 16px;
}

.proj-catalog__actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 0;
}

.proj-catalog__actions .btn-primary,
.proj-catalog__actions .btn-installment {
    flex: 1;
    justify-content: space-between;
}

@media (max-width: 480px) {
    .proj-catalog__actions {
        flex-direction: column;
    }
}

/* Bottom CTA */
.proj-catalog-cta {
    background: var(--bg-secondary, #f5f5f7);
    padding: 64px 0;
}

.proj-catalog-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.proj-catalog-cta__text h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.proj-catalog-cta__text p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 480px;
}

@media (max-width: 768px) {
    .proj-catalog-hero { padding: 24px 0 32px; }
    .proj-catalog-hero__content h1 { font-size: 28px; }
    .proj-catalog-stats { gap: 24px; }
    .proj-catalog-stat__value { font-size: 22px; }

    .proj-catalog-grid-section { padding: 32px 0 48px; }
    .proj-catalog__grid { grid-template-columns: 1fr; }

    .proj-catalog-cta__inner { flex-direction: column; align-items: flex-start; }
    .proj-catalog-cta { padding: 40px 0; }
}
