/* ===================================
   Alustroy - Main Stylesheet
   =================================== */

/* --- CSS Variables --- */
:root {
    /* Colors */
    --color-primary: #B45622;
    --color-secondary: #9a4a1d;
    --color-accent: #D4763A;
    --color-dark: #1f2937;
    --color-light: #f9fafb;
    --color-white: #ffffff;
    --color-gray: #6b7280;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Russo One', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.5;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
}

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

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-base);
    color: var(--color-dark);
    background-color: #F8F8F8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

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

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    text-transform: uppercase;
}

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

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

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

/* --- Sections --- */
.section {
    padding: var(--spacing-3xl) 0;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.bg-dark { background-color: var(--color-dark); }
.bg-light { background-color: var(--color-light); }

/* ===================================
   Header
   =================================== */
.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 15px 60px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.header__logo {
    text-decoration: none;
}

.header__logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    letter-spacing: 2px;
}

.header__desc {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
}

.header__right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.header__messenger {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E8F5F3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5BA89D;
    transition: all 0.3s ease;
}

.header__messenger:hover {
    background: #5BA89D;
    color: #fff;
}

.header__phone {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
}

.header__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #C68E68;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header__cta:hover {
    background: #b07d5a;
}

.header__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: none;
    border: none;
}

.header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #111;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.header__mobile-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.header__mobile-menu.active {
    right: 0;
}

.header__mobile-top {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.header__mobile-top .header__phone {
    font-size: 0.95rem;
}

.header__mobile-top .header__cta {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.header__close {
    margin-left: auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

.header__nav {
    padding: 20px;
}

.header__nav-section {
    margin-bottom: 25px;
}

.header__nav-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.header__nav-link {
    display: block;
    padding: 8px 0;
    color: #333;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.header__nav-link:hover {
    color: #C68E68;
}

.header__regions-list {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.header__contacts {
    padding: 20px;
    border-top: 1px solid #eee;
}

.header__contact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.header__contact svg {
    flex-shrink: 0;
    color: #C68E68;
}

.header__contact-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111;
}

.header__contact-value {
    font-size: 0.8rem;
    color: #666;
}

.header__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.header__overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Header Responsive */
@media (max-width: 1200px) {
    .header__container {
        padding: 15px 30px;
    }

    .header__desc {
        display: none;
    }
}

@media (max-width: 768px) {
    .header__container {
        padding: 12px 20px;
    }

    .header__messengers,
    .header__phone,
    .header__cta {
        display: none;
    }

    .header__logo-text {
        font-size: 1.2rem;
    }
}

/* ===================================
   Hero Main Section
   =================================== */
.hero-main {
    padding: 40px 60px;
    max-width: 1600px;
    margin: 0 auto;
    overflow-x: clip;
}

.hero-main__grid {
    display: grid;
    grid-template-columns: 30% 50% 20%;
    gap: 0;
    align-items: start;
}

/* --- Левая колонка --- */
.hero-main__left {
    padding-top: 60px;
    z-index: 10;
    position: relative;
}

.hero-main__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 0;
    color: #0f0f0f;
    position: relative;
    margin-right: -200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-main__title-line {
    display: inline-block;
    background-color: #F8F8F8;
    padding: 6px 14px 6px 0;
    white-space: nowrap;
    border-radius: 14px;
    position: relative;
}

/* Внутреннее скругление — на строке 1, справа внизу */
.hero-main__title-line--1 {
    border-bottom-right-radius: 0;
}

.hero-main__title-line--1::after {
    content: '';
    position: absolute;
    right: -14px;
    bottom: 0;
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at top right, transparent 14px, #F8F8F8 14px);
    z-index: 5;
}

/* Внутреннее скругление — на строке 3, справа вверху */
.hero-main__title-line--3 {
    border-top-right-radius: 0;
}

.hero-main__title-line--3::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 0;
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at top left, transparent 14px, #F8F8F8 14px);
    transform: rotate(180deg);
}

/* --- Hero Besedki: отдельные стили для подложки заголовка --- */
.hero-besedki__title-line--2 {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Внутреннее скругление сверху (соединение с 1 строкой) */
.hero-besedki__title-line--2::before {
    content: '';
    position: absolute;
    right: -14px;
    top: 0;
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at bottom right, transparent 14px, #F8F8F8 14px);
    z-index: 5;
}

/* Внутреннее скругление снизу (соединение с 3 строкой) */
.hero-besedki__title-line--2::after {
    content: '';
    position: absolute;
    right: -14px;
    bottom: 0;
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at top right, transparent 14px, #F8F8F8 14px);
    z-index: 5;
}

.hero-main__text {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 300px;
}

/* --- Центральная колонка --- */
.hero-main__center {
    position: relative;
    z-index: 1;
}

.hero-main__img-container {
    width: 100%;
    height: 650px;
    border-radius: 24px;
    overflow: hidden;
}

.hero-main__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-main__badge {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 16px 32px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
}

.hero-main__badge-divider {
    color: #ccc;
}

/* --- Правая колонка --- */
.hero-main__right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 30px;
}

.hero-main__right-content {
    padding-top: 10px;
}

.hero-main__subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    color: #111;
}

.hero-main__desc {
    font-size: 0.85rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.hero-main__vertical-img-container {
    width: 100%;
    height: 300px;
    border-radius: 24px;
    overflow: hidden;
}

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

/* --- Кнопки Hero --- */
.hero-main__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
}

.hero-main__btn--black {
    background-color: #111;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-main__btn--black:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.hero-main__btn--outline {
    color: #111;
    border: 1px solid #ccc;
    width: 100%;
}

.hero-main__btn--outline:hover {
    border-color: #111;
}

/* --- Hero Адаптив --- */
@media (max-width: 1200px) {
    .hero-main__title {
        font-size: 2.8rem;
        margin-right: 0;
    }

    .hero-main__grid {
        grid-template-columns: 1fr 1.2fr;
    }

    .hero-main__right {
        display: none;
    }

    .hero-main__img-container {
        height: 500px;
    }

    .hero-main__title-line {
        white-space: normal;
    }
}

@media (max-width: 1024px) {
    .hero-main__title {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .hero-main {
        padding: 20px;
    }

    .hero-main__grid {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .hero-main__left,
    .hero-main__center {
        min-width: 0;
    }

    .hero-main__left {
        padding-top: 20px;
    }

    .hero-main__title {
        font-size: 1.8rem;
        margin-right: 0;
    }

    .hero-main__title-line {
        padding: 2px 6px 2px 0;
        white-space: normal;
    }

    .hero-main__img-container {
        height: 400px;
        margin-top: 40px;
    }

    .hero-main__badge {
        width: 90%;
        justify-content: center;
        bottom: -20px;
        flex-wrap: wrap;
        white-space: normal;
        padding: 12px 16px;
        gap: 8px;
        font-size: 0.8rem;
    }

    .hero-main__btn {
        padding: 14px 24px;
        font-size: 0.8rem;
        width: 100%;
    }

    .hero-main__title-line--1::after,
    .hero-main__title-line--3::after,
    .hero-besedki__title-line--2::before,
    .hero-besedki__title-line--2::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-main__title {
        font-size: 1.5rem;
    }
}

/* ===================================
   Bullets Section
   =================================== */
.bullets {
    padding: 80px 60px;
    max-width: 1600px;
    margin: 0 auto;
}

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

/* --- Левая колонка --- */
.bullets__left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.bullets__photo {
    width: 100%;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
}

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

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

.bullets__action {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bullets__action-text {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
}

.bullets__btn {
    display: inline-block;
    padding: 14px 28px;
    border: 1px solid #222;
    border-radius: 50px;
    color: #222;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.bullets__btn:hover {
    background: #222;
    color: #fff;
}

/* --- Правая колонка --- */
.bullets__right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.bullets__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 320px;
}

.bullets__card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.bullets__card-icon {
    width: 48px;
    height: 48px;
    background: #C68E68;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.bullets__card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
}

.bullets__photo-bottom {
    width: 70%;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
}

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

/* --- Bullets Адаптив --- */
@media (max-width: 1200px) {
    .bullets__cards {
        height: auto;
    }

    .bullets__photo {
        height: 280px;
    }
}

@media (max-width: 992px) {
    .bullets__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bullets__photo-bottom {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .bullets {
        padding: 40px 20px;
    }

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

    .bullets__cards {
        grid-template-columns: 1fr;
        height: auto;
    }

    .bullets__photo {
        height: 220px;
    }

    .bullets__photo-bottom {
        height: 180px;
    }
}

/* ===================================
   Cases Besedki Section
   =================================== */
.cases-besedki {
    padding: 80px 60px;
    max-width: 1600px;
    margin: 0 auto;
}

.cases-besedki__container {
    display: flex;
    flex-direction: column;
}

/* --- Заголовочный блок --- */
.cases-besedki__header {
    margin-bottom: 40px;
    max-width: 800px;
}

.cases-besedki__tag {
    color: #C68E68;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.cases-besedki__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #000;
}

.cases-besedki__subtitle {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Галерея --- */
.cases-besedki__gallery {
    overflow: hidden;
    margin-bottom: 25px;
}

.cases-besedki__slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10px;
}

.cases-besedki__slider::-webkit-scrollbar {
    display: none;
}

.cases-besedki__slide {
    flex: 0 0 600px;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    scroll-snap-align: start;
}

.cases-besedki__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cases-besedki__slide:hover img {
    transform: scale(1.05);
}

/* --- Навигация слайдера --- */
.cases-besedki__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.cases-besedki__arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #E5E5E5;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.cases-besedki__arrow:hover {
    background: #C68E68;
    border-color: #C68E68;
    color: #fff;
}

.cases-besedki__track {
    height: 4px;
    background: #E5E5E5;
    border-radius: 2px;
    position: relative;
    flex: 1;
    max-width: 600px;
}

.cases-besedki__thumb {
    position: absolute;
    height: 100%;
    width: 20%;
    background: #C68E68;
    border-radius: 2px;
    left: 0;
    cursor: grab;
    transition: left 0.15s ease-out;
}

.cases-besedki__thumb:active {
    cursor: grabbing;
}

/* --- Cases Besedki Адаптив --- */
@media (max-width: 1200px) {
    .cases-besedki__slide {
        flex: 0 0 525px;
        height: 390px;
    }
}

@media (max-width: 768px) {
    .cases-besedki {
        padding: 60px 20px;
    }

    .cases-besedki__title {
        font-size: 1.8rem;
    }

    .cases-besedki__slide {
        flex: 0 0 420px;
        height: 315px;
    }

    .cases-besedki__track {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .cases-besedki__slide {
        flex: 0 0 340px;
        height: 255px;
    }
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: 80px 60px;
    max-width: 1600px;
    margin: 0 auto;
}

.services__grid {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 40px;
    align-items: start;
}

/* --- Левая колонка --- */
.services__left {
    display: flex;
    flex-direction: column;
    padding-right: 20px;
}

.services__tag {
    color: #C68E68;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.services__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #000;
}

.services__desc {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 320px;
}

.services__img-container {
    width: 100%;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
}

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

/* --- Правая колонка (слайдер) --- */
.services__right {
    overflow: hidden;
}

.services__slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10px;
}

.services__slider::-webkit-scrollbar {
    display: none;
}

/* --- Карточка услуги --- */
.services__card {
    flex: 0 0 320px;
    height: 400px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    scroll-snap-align: start;
    overflow: hidden;
}

.services__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}

.services__card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    color: white;
}

.services__card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.services__card-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
    line-height: 1.5;
}

.services__card-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50px;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.services__card-btn:hover {
    background: white;
    color: #000;
    border-color: white;
}

/* --- Services Адаптив --- */
@media (max-width: 1200px) {
    .services__grid {
        grid-template-columns: 35% 65%;
    }

    .services__card {
        flex: 0 0 280px;
        height: 360px;
    }
}

@media (max-width: 1024px) {
    .services {
        padding: 60px 30px;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 40px 20px;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services__left {
        padding-right: 0;
    }

    .services__title {
        font-size: 1.5rem;
    }

    .services__card {
        flex: 0 0 260px;
        height: 320px;
    }
}

/* --- Scrollbar --- */
.services__scrollbar {
    margin-top: 25px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.services__arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #E5E5E5;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.services__arrow:hover {
    background: #C68E68;
    border-color: #C68E68;
    color: #fff;
}

.services__scrollbar-track {
    height: 4px;
    background: #E5E5E5;
    border-radius: 2px;
    position: relative;
    flex: 1;
    max-width: 600px;
}

.services__scrollbar-thumb {
    position: absolute;
    height: 100%;
    width: 30%;
    background: #C68E68;
    border-radius: 2px;
    left: 0;
    cursor: grab;
    transition: left 0.15s ease-out;
}

.services__scrollbar-thumb:active {
    cursor: grabbing;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: 80px 60px;
    max-width: 1600px;
    margin: 0 auto;
}

.about__grid {
    display: grid;
    grid-template-columns: 0.5fr 2fr 1.5fr;
    gap: 40px;
    align-items: start;
}

/* --- Колонка 1: Тег --- */
.about__tag-col {
    padding-top: 15px;
}

.about__tag {
    color: #C68E68;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Колонка 2: Заголовок и текст --- */
.about__text-col {
    display: flex;
    flex-direction: column;
}

.about__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #000;
}

.about__title-indent {
    display: block;
    margin-left: 140px;
}

.about__desc {
    color: #888888;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 640px;
}

/* --- Колонка 3: Кнопка и статистика --- */
.about__right-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about__btn-container {
    display: flex;
    justify-content: flex-end;
}

.about__btn {
    text-decoration: none;
    color: #222;
    border: 1px solid #222;
    padding: 14px 38px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
    display: inline-block;
    letter-spacing: 0.5px;
}

.about__btn:hover {
    background-color: #222;
    color: #fff;
}

/* --- Статистика --- */
.about__stats {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
}

.about__stat {
    text-align: left;
}

.about__stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #111;
}

.about__stat-label {
    font-size: 0.85rem;
    color: #888888;
    line-height: 1.4;
}

.about__stat-divider {
    width: 1px;
    height: 45px;
    background-color: #E0E0E0;
}

/* --- Фото и буллиты --- */
.about__bottom {
    margin-top: 60px;
    padding-left: calc(12.5% + 40px); /* Первая колонка (0.5fr) + gap */
}

.about__photos {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.about__photo {
    border-radius: 20px;
    overflow: hidden;
}

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

.about__photo--wide {
    flex: 2;
    height: 350px;
}

.about__photo--square {
    flex: 1;
    height: 350px;
}

.about__bullets {
    display: flex;
    gap: 60px;
}

.about__bullet {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    max-width: 400px;
}

.about__bullet-icon {
    color: #C68E68;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.about__bullet p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- About Адаптив --- */
@media (max-width: 1024px) {
    .about__grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .about__tag-col {
        padding-top: 0;
        text-align: center;
    }

    .about__title-indent {
        margin-left: 0;
    }

    .about__title {
        font-size: 1.5rem;
    }

    .about__desc {
        margin: 0 auto;
    }

    .about__btn-container {
        justify-content: center;
        margin-bottom: 40px;
    }

    .about__stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .about__stat-divider {
        display: none;
    }

    .about__bottom {
        padding-left: 0;
    }

    .about__photos {
        flex-direction: column;
    }

    .about__photo--wide,
    .about__photo--square {
        height: 200px;
    }

    .about__bullets {
        flex-direction: column;
        gap: 20px;
    }

    .about__bullet {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 40px 20px;
    }
}

/* ===================================
   Reviews Section
   =================================== */
.reviews {
    padding: 80px 60px;
    max-width: 1600px;
    margin: 0 auto;
}

.reviews__grid {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 40px;
    align-items: start;
}

/* --- Левая колонка --- */
.reviews__left {
    display: flex;
    flex-direction: column;
    padding-right: 20px;
}

.reviews__tag {
    color: #C68E68;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.reviews__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #000;
}

.reviews__desc {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.reviews__widgets {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.reviews__widget {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #F5F5F5;
    padding: 20px 30px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.reviews__widget:hover {
    background: #EBEBEB;
}

.reviews__widget-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviews__widget-logo {
    height: 20px;
    width: auto;
}

.reviews__widget-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
}

.reviews__widget-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.reviews__widget-stars {
    display: flex;
    gap: 2px;
}

.reviews__widget-stars img {
    width: 16px;
    height: 16px;
}

.reviews__widget-count {
    font-size: 0.75rem;
    color: #888;
}

/* Разделитель между виджетами */
.reviews__widget:first-child {
    border-right: 1px solid #E0E0E0;
    padding-right: 35px;
}

/* --- Правая колонка (видео) --- */
.reviews__videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.reviews__video {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
}

.reviews__video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.reviews__video:hover img {
    transform: scale(1.05);
}

.reviews__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.reviews__play svg {
    margin-left: 4px;
}

.reviews__video:hover .reviews__play {
    transform: translate(-50%, -50%) scale(1.1);
    background: #fff;
}

/* --- Reviews Адаптив --- */
@media (max-width: 1200px) {
    .reviews__grid {
        grid-template-columns: 35% 65%;
    }

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

@media (max-width: 768px) {
    .reviews {
        padding: 40px 20px;
    }

    .reviews__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .reviews__left {
        padding-right: 0;
    }

    .reviews__title {
        font-size: 1.5rem;
    }

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

    .reviews__play {
        width: 50px;
        height: 50px;
    }

    .reviews__play svg {
        width: 20px;
        height: 20px;
    }
}

/* ===================================
   Yandex Reviews Section
   =================================== */
.yandex-reviews {
    padding: 60px;
    background: #f9f9f9;
}

.yandex-reviews__container {
    max-width: 1400px;
    margin: 0 auto;
}

.yandex-reviews__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 40px;
}

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

.yandex-reviews__card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.yandex-reviews__card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.yandex-reviews__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FC3F1D 0%, #ff6b4a 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.yandex-reviews__info {
    flex: 1;
}

.yandex-reviews__name {
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
}

.yandex-reviews__date {
    font-size: 0.85rem;
    color: #888;
}

.yandex-reviews__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.yandex-reviews__star {
    color: #FFCC00;
    font-size: 1.1rem;
}

.yandex-reviews__text {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

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

@media (max-width: 768px) {
    .yandex-reviews {
        padding: 40px 20px;
    }

    .yandex-reviews__title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

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

    .yandex-reviews__card {
        padding: 20px;
    }
}

/* ===================================
   2GIS Reviews Section
   =================================== */
.twogis-reviews {
    padding: 60px;
    background: #fff;
}

.twogis-reviews__container {
    max-width: 1400px;
    margin: 0 auto;
}

.twogis-reviews__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 40px;
}

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

.twogis-reviews__card {
    background: #f9f9f9;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.twogis-reviews__card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.twogis-reviews__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38A63A 0%, #5fce61 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.twogis-reviews__info {
    flex: 1;
}

.twogis-reviews__name {
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
}

.twogis-reviews__date {
    font-size: 0.85rem;
    color: #888;
}

.twogis-reviews__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.twogis-reviews__star {
    color: #38A63A;
    font-size: 1.1rem;
}

.twogis-reviews__text {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

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

@media (max-width: 768px) {
    .twogis-reviews {
        padding: 40px 20px;
    }

    .twogis-reviews__title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

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

    .twogis-reviews__card {
        padding: 20px;
    }
}

/* ===================================
   Process Section
   =================================== */
.process {
    padding: 80px 60px;
    max-width: 1600px;
    margin: 0 auto;
}

.process__header {
    margin-bottom: 50px;
    max-width: 800px;
}

.process__tag {
    color: #C68E68;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.process__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #000;
}

.process__desc {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Аккордеон --- */
.process__accordion {
    display: flex;
    gap: 10px;
    height: 450px;
}

.process__item {
    position: relative;
    flex: 1;
    min-width: 80px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.5s ease;
}

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

.process__item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 40%, transparent 100%);
    z-index: 1;
}

/* Лейбл "N этап" — виден когда закрыт */
.process__item-label {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
    transform-origin: center center;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Контент — виден когда открыт */
.process__item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.process__item-num {
    display: block;
    color: #C68E68;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.process__item-text {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Активный / при наведении */
.process__item--active,
.process__accordion:hover .process__item:hover {
    flex: 4;
}

.process__accordion:hover .process__item--active {
    flex: 1;
}

.process__accordion:hover .process__item--active .process__item-label {
    opacity: 1;
}

.process__accordion:hover .process__item--active .process__item-content {
    opacity: 0;
    transform: translateY(20px);
}

.process__item--active .process__item-label,
.process__accordion:hover .process__item:hover .process__item-label {
    opacity: 0;
}

.process__item--active .process__item-content,
.process__accordion:hover .process__item:hover .process__item-content {
    opacity: 1;
    transform: translateY(0);
}

/* --- Нижний блок --- */
.process__bottom {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: start;
}

.process__bottom-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.process__bottom-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.process__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.process__cta-text {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    max-width: 500px;
}

.process__btn {
    display: inline-block;
    padding: 18px 36px;
    background: #C68E68;
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
}

.process__btn:hover {
    background: #b07d5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(198, 142, 104, 0.3);
}

.process__bottom-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-top: 10px;
}

.process__bullet {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.process__bullet-icon {
    width: 40px;
    height: 40px;
    background: #C68E68;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.process__bullet p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Process Адаптив --- */
@media (max-width: 1200px) {
    .process__accordion {
        height: 400px;
    }

    .process__item-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    .process__accordion {
        flex-direction: column;
        height: auto;
    }

    .process__item {
        min-width: auto;
        min-height: 80px;
        flex: none;
        height: 80px;
    }

    .process__item--active,
    .process__accordion:hover .process__item:hover {
        flex: none;
        height: 250px;
    }

    .process__accordion:hover .process__item--active {
        flex: none;
        height: 80px;
    }

    .process__item-label {
        transform: translateX(-50%) rotate(0deg);
        bottom: 50%;
        transform: translate(-50%, 50%);
    }

    .process__item-content {
        padding: 20px;
    }

    .process__bottom {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .process {
        padding: 40px 20px;
    }

    .process__title {
        font-size: 1.5rem;
    }

    .process__cta {
        flex-direction: column;
        text-align: center;
    }

    .process__cta-text {
        max-width: 100%;
    }
}

/* ===================================
   Footer Section
   =================================== */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 60px 30px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1480px;
    margin: 0 auto;
}

/* --- Главная колонка --- */
.footer__col--main {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__phone {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__phone:hover {
    color: #C68E68;
}

.footer__email {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer__email:hover {
    color: #C68E68;
}

.footer__social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer__social:hover {
    color: #C68E68;
}

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

.footer__btn {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.footer__btn:hover {
    background: #C68E68;
    border-color: #C68E68;
}

.footer__manager {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer__manager span {
    color: #fff;
    font-weight: 500;
}

/* --- Остальные колонки --- */
.footer__col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__nav-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

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

.footer__nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer__nav a:hover {
    color: #C68E68;
}

.footer__geo {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer__legal {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* --- Нижняя часть --- */
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    max-width: 1480px;
    margin: 0 auto;
}

.footer__dev {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer__dev:hover {
    color: #C68E68;
}

.footer__copy {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer__policy {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    margin-top: 10px;
}

.footer__policy:hover {
    color: #C68E68;
}

/* --- Footer Адаптив --- */
@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }

    .footer__col--main {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 20px 80px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer__col--main {
        grid-column: auto;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ===================================
   Benefits Section
   =================================== */
.benefits {
    padding: 80px 60px;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.benefits__row--reverse {
    grid-template-columns: 1fr 2fr;
}

.benefits__row--reverse .benefits__cards {
    order: -1;
}

.benefits__photo {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.benefits__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefits__photos-double {
    display: flex;
    gap: 20px;
}

.benefits__photo--half {
    flex: 1;
}

.benefits__cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefits__card {
    background: #fff;
    border-radius: 20px;
    padding: 25px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.benefits__card-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.benefits__card-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #C68E68;
    line-height: 1;
}

.benefits__card-label {
    font-size: 1.2rem;
    color: #C68E68;
}

.benefits__card-highlight {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #111;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.benefits__card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- Benefits Адаптив --- */
@media (max-width: 992px) {
    .benefits__row,
    .benefits__row--reverse {
        grid-template-columns: 1fr;
    }

    .benefits__row--reverse .benefits__cards {
        order: 0;
    }

    .benefits__photo {
        height: 250px;
    }

    .benefits__cards {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .benefits {
        padding: 40px 20px;
    }

    .benefits__cards {
        flex-direction: column;
    }

    .benefits__photo {
        height: 200px;
    }
}

/* ===================================
   Glazing Types Section
   =================================== */
.glazing-types {
    padding: 80px 60px;
    max-width: 1600px;
    margin: 0 auto;
}

/* --- Header --- */
.glazing-types__header {
    margin-bottom: 50px;
}

.glazing-types__tag {
    color: #C68E68;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.glazing-types__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #0F0F0F;
    max-width: 50%;
}

.glazing-types__desc {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 700px;
}

/* --- Widget Grid --- */
.glazing-types__widget {
    display: grid;
    grid-template-columns: 20% 80%;
    gap: 30px;
    min-height: 500px;
}

/* --- Tabs (левая колонка) --- */
.glazing-types__tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.glazing-types__tab {
    background: transparent;
    border: none;
    padding: 15px 20px;
    text-align: left;
    font-size: 0.95rem;
    color: #999;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.glazing-types__tab:hover {
    color: #333;
}

.glazing-types__tab--active {
    background: #fff;
    color: #111;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* --- Slider (внутри контента) --- */
.glazing-types__slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #eee;
    flex: 0 0 60%;
    height: 450px;
}

.glazing-types__slider-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.glazing-types__slide {
    min-width: 100%;
    height: 100%;
}

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

.glazing-types__slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 2;
    color: #333;
}

.glazing-types__slider-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.glazing-types__slider-arrow--prev {
    left: 15px;
}

.glazing-types__slider-arrow--next {
    right: 15px;
}

.glazing-types__slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.glazing-types__slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.glazing-types__slider-dot--active {
    background: #fff;
    transform: scale(1.2);
}

/* --- Content (правая колонка) --- */
.glazing-types__content {
    position: relative;
}

.glazing-types__content-item {
    display: none;
    flex-direction: row;
    gap: 40px;
    height: 100%;
}

.glazing-types__content-item--active {
    display: flex;
}

/* --- Text block (внутри контента) --- */
.glazing-types__text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.glazing-types__content-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #111;
    line-height: 1.3;
}

.glazing-types__content-block {
    margin-bottom: 20px;
}

.glazing-types__content-label {
    display: block;
    font-weight: 600;
    color: #C68E68;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.glazing-types__content-block p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.glazing-types__btn {
    margin-top: 15px;
    display: inline-block;
    padding: 16px 30px;
    background: #C68E68;
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    align-self: flex-start;
    text-transform: uppercase;
}

.glazing-types__btn:hover {
    background: #b07d5a;
    transform: translateY(-2px);
}

/* --- Glazing Types Адаптив --- */
@media (max-width: 1200px) {
    .glazing-types__widget {
        grid-template-columns: 25% 75%;
    }

    .glazing-types__slider {
        flex: 0 0 55%;
        height: 400px;
    }
}

@media (max-width: 992px) {
    .glazing-types__widget {
        grid-template-columns: 1fr;
    }

    .glazing-types__tabs {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .glazing-types__content-item {
        flex-direction: column;
    }

    .glazing-types__slider {
        flex: none;
        width: 100%;
        height: 350px;
    }

    .glazing-types__text {
        padding-top: 20px;
    }
}

@media (max-width: 768px) {
    .glazing-types {
        padding: 40px 20px;
    }

    .glazing-types__title {
        font-size: 2rem;
        max-width: 100%;
    }

    .glazing-types__tabs {
        gap: 5px;
    }

    .glazing-types__tab {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .glazing-types__slider {
        height: 280px;
    }

    .glazing-types__content-title {
        font-size: 1.2rem;
    }
}

/* ===================================
   Measurement Section
   =================================== */
.measurement {
    padding: 80px 60px;
    max-width: 1600px;
    margin: 0 auto;
}

/* --- Header --- */
.measurement__header {
    margin-bottom: 50px;
}

.measurement__tag {
    color: #C68E68;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.measurement__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #0F0F0F;
    max-width: 70%;
}

.measurement__subtitle {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
}

/* --- Grid --- */
.measurement__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* --- Content (левая колонка) --- */
.measurement__content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.measurement__block {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.measurement__block-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 20px;
}

.measurement__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.measurement__list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.measurement__list-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #C68E68;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.measurement__list-icon svg {
    width: 14px;
    height: 14px;
}

.measurement__list p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* --- CTA --- */
.measurement__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 20px;
}

.measurement__cta-text {
    color: #333;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

.measurement__btn {
    display: inline-block;
    padding: 16px 32px;
    background: #C68E68;
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
}

.measurement__btn:hover {
    background: #b07d5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(198, 142, 104, 0.3);
}

/* --- Photo (правая колонка) --- */
.measurement__photo {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    min-height: 500px;
}

.measurement__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.measurement__photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.measurement__photo-name {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
}

.measurement__photo-role {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* --- Measurement Адаптив --- */
@media (max-width: 1024px) {
    .measurement__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .measurement__photo {
        min-height: 400px;
        order: -1;
    }

    .measurement__title {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .measurement {
        padding: 40px 20px;
    }

    .measurement__title {
        font-size: 2rem;
    }

    .measurement__cta {
        flex-direction: column;
        text-align: center;
    }

    .measurement__photo {
        min-height: 300px;
    }
}

/* ===================================
   Video Popup
   =================================== */
.video-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

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

.video-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.video-popup__container {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 1;
}

.video-popup__close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    transition: opacity 0.3s;
}

.video-popup__close:hover {
    opacity: 0.7;
}

.video-popup__content {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-popup__video {
    width: 100%;
    display: block;
}

.video-popup__cta {
    padding: 20px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    background: #1a1a1a;
}

.video-popup__cta a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
}

.video-popup__cta a:hover {
    text-decoration: underline;
}

/* ===================================
   Side Widget
   =================================== */
.side-widget {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.side-widget--visible {
    opacity: 1;
    visibility: visible;
}

.side-widget__container {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px 0 0 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.side-widget__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.side-widget__item:last-of-type {
    border-bottom: none;
}

.side-widget__item:hover {
    background: #f8f8f8;
    color: #C68E68;
}

.side-widget__item--accent {
    background: #C68E68;
    color: #fff;
}

.side-widget__item--accent:hover {
    background: #b37d5a;
    color: #fff;
}

.side-widget__item--accent .side-widget__icon svg {
    stroke: #fff;
}

.side-widget__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.side-widget__icon svg {
    color: currentColor;
}

.side-widget__label {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    display: none;
}

.side-widget--expanded .side-widget__label {
    display: block;
}

.side-widget__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    background: #fff;
    border: none;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    border-top: 1px solid #f0f0f0;
}

.side-widget__toggle:hover {
    background: #f8f8f8;
    color: #C68E68;
}

/* Collapsed state (default) - only icons */
.side-widget:not(.side-widget--expanded) .side-widget__item {
    padding: 14px;
    justify-content: center;
}

/* Mobile Widget */
@media (max-width: 768px) {
    .side-widget {
        right: 0;
        left: 0;
        top: auto;
        bottom: 0;
        transform: none;
        width: 100%;
    }

    .side-widget__container {
        flex-direction: row;
        justify-content: space-around;
        border-radius: 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .side-widget__item {
        flex-direction: column;
        gap: 4px;
        padding: 12px 8px;
        border-bottom: none;
        border-right: 1px solid #f0f0f0;
        flex: 1;
        justify-content: center;
    }

    .side-widget__item:last-of-type {
        border-right: none;
    }

    .side-widget__label {
        display: none !important;
    }

    .side-widget__toggle {
        display: none;
    }

    .side-widget__item--top {
        display: none;
    }
}

/* ===================================
   Zaglushka (Placeholder Page)
   =================================== */
.zaglushka {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.zaglushka__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
    background: #1a1a1a;
}

.zaglushka__title {
    font-family: 'Russo One', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #fff;
    margin: 0 0 20px;
    max-width: 700px;
    line-height: 1.3;
}

.zaglushka__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.zaglushka__subtitle a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.zaglushka__image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

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

@media (max-width: 768px) {
    .zaglushka__content {
        padding: 100px 20px 40px;
    }

    .zaglushka__image {
        height: 300px;
    }
}

/* ===================================
   Thanks Hero
   =================================== */
.thks-hero {
    padding: 140px 20px 80px;
    background: #f8f8f8;
}

.thks-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.thks-hero__badge {
    width: 60px;
    height: 60px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.thks-hero__badge svg {
    width: 32px;
    height: 32px;
}

.thks-hero__title {
    font-family: 'Russo One', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.thks-hero__subtitle {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.thks-hero__contacts {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}

.thks-hero__phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.thks-hero__phone svg {
    color: var(--color-accent);
}

.thks-hero__messengers {
    display: flex;
    gap: 12px;
}

.thks-hero__messenger {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    color: #666;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.thks-hero__messenger:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.thks-hero__image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.thks-hero__image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 900px) {
    .thks-hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .thks-hero__image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .thks-hero {
        padding: 120px 16px 60px;
    }

    .thks-hero__contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ===================================
   Thanks Process
   =================================== */
.thks-process {
    padding: 80px 20px;
    background: #fff;
}

.thks-process__header {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.thks-process__tag {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.thks-process__title {
    font-family: 'Russo One', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #1a1a1a;
    margin: 0 0 20px;
    line-height: 1.3;
}

.thks-process__desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.thks-process__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.thks-process__card {
    position: relative;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.thks-process__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    transition: background 0.3s ease;
}

.thks-process__card:hover .thks-process__card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.thks-process__card-content {
    position: relative;
    z-index: 1;
    padding: 30px;
    width: 100%;
}

.thks-process__card-num {
    display: inline-block;
    font-family: 'Russo One', sans-serif;
    font-size: 3rem;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 16px;
}

.thks-process__card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
    margin: 0;
}

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

    .thks-process__card {
        height: 350px;
    }
}

@media (max-width: 640px) {
    .thks-process {
        padding: 60px 16px;
    }

    .thks-process__grid {
        grid-template-columns: 1fr;
    }

    .thks-process__card {
        height: 300px;
    }

    .thks-process__card-num {
        font-size: 2.5rem;
    }

    .thks-process__card-content {
        padding: 24px;
    }
}

/* ===================================
   Thanks Portfolio
   =================================== */
.thks-portfolio {
    padding: 80px 20px;
    background: #f8f8f8;
}

.thks-portfolio__header {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.thks-portfolio__tag {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.thks-portfolio__title {
    font-family: 'Russo One', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #1a1a1a;
    margin: 0 0 20px;
    line-height: 1.3;
}

.thks-portfolio__desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.thks-portfolio__category {
    max-width: 1400px;
    margin: 0 auto 60px;
}

.thks-portfolio__category:last-child {
    margin-bottom: 0;
}

.thks-portfolio__category-title {
    font-family: 'Russo One', sans-serif;
    font-size: 1.25rem;
    color: #1a1a1a;
    margin: 0 0 24px;
    padding-left: 16px;
    border-left: 3px solid var(--color-accent);
}

.thks-portfolio__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.thks-portfolio__item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #e0e0e0;
}

.thks-portfolio__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.thks-portfolio__item:hover img {
    transform: scale(1.05);
}

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

@media (max-width: 768px) {
    .thks-portfolio {
        padding: 60px 16px;
    }

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

    .thks-portfolio__category {
        margin-bottom: 40px;
    }

    .thks-portfolio__item {
        border-radius: 8px;
    }
}

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

/* --- Portfolio Page Дополнения --- */
.portfolio-page {
    padding-top: 120px;
}

.portfolio-page .thks-portfolio__header {
    max-width: 1400px;
    text-align: left;
    margin-bottom: 48px;
}

.portfolio-page .article__breadcrumbs {
    justify-content: flex-start;
    margin-bottom: 24px;
}

.thks-portfolio__category-desc {
    font-size: 0.95rem;
    color: #666;
    margin: -16px 0 24px;
    line-height: 1.6;
}

.thks-portfolio__grid--large {
    grid-template-columns: repeat(5, 1fr);
}

.thks-portfolio__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

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

.thks-portfolio__link::after {
    content: '\2192';
}

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

@media (max-width: 768px) {
    .portfolio-page {
        padding-top: 100px;
    }

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

@media (max-width: 480px) {
    .thks-portfolio__grid--large {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   Gallery Popup
   =================================== */
.gallery-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-popup--active {
    opacity: 1;
    visibility: visible;
}

.gallery-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.gallery-popup__container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 60px 80px;
}

.gallery-popup__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-popup__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.gallery-popup__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-popup__arrow:hover {
    background: var(--color-accent);
}

.gallery-popup__arrow--prev {
    left: 20px;
}

.gallery-popup__arrow--next {
    right: 20px;
}

.gallery-popup__image {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-popup__image img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .gallery-popup__container {
        padding: 60px 20px;
    }

    .gallery-popup__arrow {
        width: 44px;
        height: 44px;
    }

    .gallery-popup__arrow--prev {
        left: 10px;
    }

    .gallery-popup__arrow--next {
        right: 10px;
    }

    .gallery-popup__close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

/* ===================================
   Lead Popup Form
   =================================== */
.lead-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.lead-popup--active {
    opacity: 1;
    visibility: visible;
}

.lead-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.lead-popup__container {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.95);
    transition: transform var(--transition-base);
    max-height: 90vh;
    overflow-y: auto;
    margin: var(--spacing-md);
}

.lead-popup--active .lead-popup__container {
    transform: translateY(0) scale(1);
}

.lead-popup__close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
    color: var(--color-dark);
}

.lead-popup__close:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}

.lead-popup__header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.lead-popup__title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    color: var(--color-dark);
    margin: 0 0 var(--spacing-sm) 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.lead-popup__subtitle {
    font-size: 15px;
    color: var(--color-gray);
    margin: 0;
    line-height: 1.4;
}

.lead-popup__form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.lead-popup__field {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.lead-popup__label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-dark);
}

.lead-popup__optional {
    font-weight: 400;
    color: var(--color-gray);
}

.lead-popup__input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: var(--font-primary);
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    background: var(--color-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.lead-popup__input::placeholder {
    color: #9ca3af;
}

.lead-popup__input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(180, 86, 34, 0.15);
}

.lead-popup__input--error {
    border-color: #ef4444;
}

.lead-popup__input--error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.lead-popup__error {
    font-size: 13px;
    color: #ef4444;
    min-height: 18px;
}

.lead-popup__submit {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-primary);
    color: var(--color-white);
    background: var(--color-primary);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.lead-popup__submit:hover:not(:disabled) {
    background: var(--color-secondary);
    transform: translateY(-1px);
}

.lead-popup__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.lead-popup__submit-loader {
    display: none;
    animation: spin 1s linear infinite;
}

.lead-popup__submit--loading .lead-popup__submit-text {
    display: none;
}

.lead-popup__submit--loading .lead-popup__submit-loader {
    display: block;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.lead-popup__policy {
    font-size: 12px;
    color: var(--color-gray);
    text-align: center;
    margin: var(--spacing-sm) 0 0 0;
    line-height: 1.5;
}

.lead-popup__policy a {
    color: var(--color-primary);
    text-decoration: underline;
}

.lead-popup__policy a:hover {
    text-decoration: none;
}

/* Lead Popup Checkbox */
.lead-popup__field--checkbox {
    margin-top: var(--spacing-md);
}

.lead-popup__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-gray);
}

.lead-popup__checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.lead-popup__checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #9ca3af;
    border-radius: 4px;
    background: #fff;
    transition: all 0.2s ease;
    position: relative;
    margin-top: 2px;
}

.lead-popup__checkbox-custom:hover {
    border-color: var(--color-primary);
}

.lead-popup__checkbox:checked + .lead-popup__checkbox-custom {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.lead-popup__checkbox:checked + .lead-popup__checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.lead-popup__checkbox:focus + .lead-popup__checkbox-custom {
    box-shadow: 0 0 0 3px rgba(180, 86, 34, 0.2);
}

.lead-popup__checkbox-text {
    flex: 1;
}

.lead-popup__checkbox-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.lead-popup__checkbox-text a:hover {
    text-decoration: none;
}

.lead-popup__field--checkbox .lead-popup__error {
    margin-left: 32px;
}

/* Lead Popup Mobile */
@media (max-width: 480px) {
    .lead-popup__container {
        padding: var(--spacing-lg);
        margin: var(--spacing-sm);
        max-height: 95vh;
    }

    .lead-popup__title {
        font-size: 20px;
    }

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

    .lead-popup__input {
        padding: 12px 14px;
        font-size: 16px;
    }

    .lead-popup__submit {
        padding: 14px 20px;
    }
}

/* ===================================
   Legal Pages (Policy, Cookies)
   =================================== */
.legal-page {
    padding: 120px 0 80px;
    min-height: 60vh;
}

.legal-page__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.legal-page__title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--color-dark);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.legal-page__content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-gray);
}

.legal-page__content h2 {
    font-size: 20px;
    color: var(--color-dark);
    margin: var(--spacing-xl) 0 var(--spacing-md);
}

.legal-page__content p {
    margin-bottom: var(--spacing-md);
}

.legal-page__content ul,
.legal-page__content ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.legal-page__content li {
    margin-bottom: var(--spacing-sm);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
    }

    .legal-page__title {
        font-size: 24px;
    }

    .legal-page__content {
        font-size: 15px;
    }
}

.legal-section {
    margin-bottom: var(--spacing-xl);
}

.legal-section h3 {
    font-size: 17px;
    color: var(--color-dark);
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.legal-page__content ul ul {
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.legal-table {
    overflow-x: auto;
    margin: var(--spacing-md) 0;
}

.legal-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.legal-table th,
.legal-table td {
    padding: 12px 16px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    background: #f5f5f5;
    font-weight: 500;
    color: var(--color-dark);
    width: 200px;
}

.legal-table ul {
    margin: 0;
    padding-left: 20px;
}

.legal-table li {
    margin-bottom: 4px;
}

.legal-page__updated {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #999;
}

@media (max-width: 600px) {
    .legal-table th {
        width: 120px;
        font-size: 14px;
    }

    .legal-table td {
        font-size: 14px;
    }
}

/* ===================================
   Konsultacia Section (Консультация архитектора)
   =================================== */
.konsultacia {
    padding: 80px 60px;
    max-width: 1600px;
    margin: 0 auto;
    background: #F8F8F8;
}

.konsultacia__container {
    max-width: 1400px;
    margin: 0 auto;
}

.konsultacia__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.konsultacia__tag {
    color: #C68E68;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.konsultacia__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #0F0F0F;
}

.konsultacia__subtitle {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Блок формы --- */
.konsultacia__form-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.konsultacia__form-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 24px;
}

.konsultacia__form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.konsultacia__form-group {
    position: relative;
}

.konsultacia__input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.konsultacia__input:focus {
    outline: none;
    border-color: #C68E68;
    box-shadow: 0 0 0 3px rgba(198, 142, 104, 0.1);
}

.konsultacia__input--error {
    border-color: #e74c3c;
}

.konsultacia__error {
    display: block;
    font-size: 0.8rem;
    color: #e74c3c;
    margin-top: 4px;
    min-height: 18px;
}

.konsultacia__consent {
    margin-bottom: 20px;
}

.konsultacia__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.konsultacia__checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #C68E68;
    cursor: pointer;
}

.konsultacia__checkbox-text {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.konsultacia__checkbox-text a {
    color: #C68E68;
    text-decoration: underline;
}

.konsultacia__submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.konsultacia__submit:hover {
    background: #C68E68;
}

.konsultacia__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.konsultacia__submit--loading {
    pointer-events: none;
}

/* --- Фото --- */
.konsultacia__image {
    border-radius: 20px;
    overflow: hidden;
    min-height: 400px;
}

.konsultacia__image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

/* --- Konsultacia Адаптив --- */
@media (max-width: 1200px) {
    .konsultacia__grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .konsultacia__image {
        display: none;
    }

    .konsultacia__title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .konsultacia {
        padding: 60px 20px;
    }

    .konsultacia__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .konsultacia__text {
        text-align: center;
    }

    .konsultacia__title {
        font-size: 1.5rem;
    }

    .konsultacia__form-wrap {
        padding: 24px;
    }

    .konsultacia__image {
        display: block;
        min-height: 280px;
        order: -1;
    }

    .konsultacia__image img {
        min-height: 280px;
    }
}

@media (max-width: 480px) {
    .konsultacia__form-wrap {
        padding: 20px;
    }

    .konsultacia__submit {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}

/* ===================================
   Po Foto Section (Расчёт по фото)
   =================================== */
.po-foto {
    padding: 80px 60px;
    max-width: 1600px;
    margin: 0 auto;
}

.po-foto__container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.po-foto__tag {
    color: #C68E68;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.po-foto__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #0F0F0F;
}

.po-foto__subtitle {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.po-foto__cta {
    background: transparent;
    padding: 0;
}

.po-foto__cta-text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
}

.po-foto__messengers {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
}

.po-foto__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.po-foto__btn svg {
    flex-shrink: 0;
}

.po-foto__btn--max {
    background: #fff;
    color: #333;
    border: 1px solid #E5E5E5;
}

.po-foto__btn--max:hover {
    background: #C68E68;
    border-color: #C68E68;
    color: #fff;
}

.po-foto__btn--max:hover svg {
    stroke: #fff;
}

.po-foto__btn--telegram {
    background: #fff;
    color: #333;
    border: 1px solid #E5E5E5;
}

.po-foto__btn--telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
    color: #fff;
}

.po-foto__btn--telegram:hover svg {
    fill: #fff;
}

.po-foto__btn--vk {
    background: #fff;
    color: #333;
    border: 1px solid #E5E5E5;
}

.po-foto__btn--vk:hover {
    background: #4C75A3;
    border-color: #4C75A3;
    color: #fff;
}

.po-foto__btn--vk:hover svg {
    fill: #fff;
}

.po-foto__image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 450px;
}

.po-foto__image img {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
    display: block;
}

/* --- Po Foto Адаптив --- */
@media (max-width: 1200px) {
    .po-foto__title {
        font-size: 2rem;
    }

    .po-foto__grid {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .po-foto__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .po-foto__image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }

    .po-foto__content {
        text-align: center;
    }

    .po-foto__messengers {
        justify-content: center;
    }

    .po-foto__image {
        min-height: 350px;
    }

    .po-foto__image img {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .po-foto {
        padding: 60px 20px;
    }

    .po-foto__title {
        font-size: 1.5rem;
    }

    .po-foto__subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .po-foto__messengers {
        flex-direction: column;
        align-items: center;
    }

    .po-foto__btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .po-foto__image {
        min-height: 280px;
    }

    .po-foto__image img {
        min-height: 280px;
    }
}

@media (max-width: 480px) {
    .po-foto__messengers {
        gap: 10px;
    }

    .po-foto__image {
        min-height: 220px;
    }

    .po-foto__image img {
        min-height: 220px;
    }
}

/* ===================================
   Quiz Section (Kviz)
   =================================== */
.kviz {
    padding: 80px 60px;
    max-width: 1600px;
    margin: 0 auto;
}

.kviz__container {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}

/* --- Заголовок секции (вне карточки) --- */
.kviz__section-header {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 40px;
}

.kviz__tag {
    color: #C68E68;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.kviz__section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #0F0F0F;
    line-height: 1.2;
    text-transform: uppercase;
}

.kviz__section-subtitle {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
}

/* --- Основной блок квиза --- */
.kviz__main {
    min-width: 0;
}

.kviz__card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* --- Прогресс-хедер --- */
.kviz__progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.kviz__step-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kviz__step-num {
    width: 32px;
    height: 32px;
    background: #C68E68;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.kviz__step-text {
    color: #666;
    font-size: 14px;
}

.kviz__percent {
    color: #C68E68;
    font-weight: 600;
    font-size: 14px;
}

.kviz__progress-bar {
    height: 4px;
    background: #E5E5E5;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 30px;
}

.kviz__progress-fill {
    height: 100%;
    background: #C68E68;
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* --- Заголовок секции --- */
.kviz__header {
    text-align: center;
    margin-bottom: 30px;
}

.kviz__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: #000;
}

.kviz__subtitle {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
}

/* --- Шаги квиза --- */
.kviz__steps {
    position: relative;
}

.kviz__step {
    display: none;
}

.kviz__step--active {
    display: block;
    animation: kvizFadeIn 0.3s ease;
}

@keyframes kvizFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.kviz__question {
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
    color: #000;
}

.kviz__question-sub {
    text-align: center;
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* --- Карточки ответов --- */
.kviz__answers {
    display: grid;
    gap: 16px;
}

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

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

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

.kviz__answer {
    cursor: pointer;
}

.kviz__answer input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.kviz__answer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 16px;
    transition: all 0.2s ease;
    min-height: 140px;
}

.kviz__answer-card:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.kviz__answer input:checked + .kviz__answer-card {
    background: #fff;
    border-color: #C68E68;
    box-shadow: 0 4px 12px rgba(198, 142, 104, 0.15);
}

/* Иконки */
.kviz__answer-icon {
    width: 56px;
    height: 56px;
    background: #e0f2fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #0ea5e9;
}

.kviz__answer-icon--yellow {
    background: #fef3c7;
    color: #f59e0b;
}

.kviz__answer-icon--orange {
    background: #ffedd5;
    color: #f97316;
}

.kviz__answer-icon--blue {
    background: #dbeafe;
    color: #3b82f6;
}

.kviz__answer-icon--red {
    background: #fee2e2;
    color: #ef4444;
}

.kviz__answer-icon--gray {
    background: #f1f5f9;
    color: #64748b;
}

/* Карточки с изображениями */
.kviz__answer--with-image .kviz__answer-card {
    padding: 0;
    overflow: hidden;
    min-height: auto;
}

.kviz__answer-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.kviz__answer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kviz__answer--with-image:hover .kviz__answer-image img {
    transform: scale(1.05);
}

.kviz__answer--with-image .kviz__answer-title,
.kviz__answer--with-image .kviz__answer-desc {
    padding: 0 12px;
}

.kviz__answer--with-image .kviz__answer-title {
    padding-top: 12px;
}

.kviz__answer--with-image .kviz__answer-desc {
    padding-bottom: 12px;
}

/* Бюджет (цифры) */
.kviz__answer-budget {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1.5rem;
    font-weight: 700;
}

.kviz__answer-budget--green {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #059669;
}

.kviz__answer-budget--blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2563eb;
}

.kviz__answer-budget--purple {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    color: #7c3aed;
}

.kviz__answer-budget--gold {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
}

.kviz__answer-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: #000;
}

.kviz__answer-desc {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.4;
}

/* --- Форма на последнем шаге --- */
.kviz__form {
    max-width: 600px;
    margin: 0 auto;
}

.kviz__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.kviz__form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.kviz__form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.kviz__form-input:focus {
    outline: none;
    border-color: #C68E68;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(198, 142, 104, 0.1);
}

.kviz__form-input--error {
    border-color: #ef4444;
}

.kviz__form-error {
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
    min-height: 16px;
    display: block;
}

/* Мессенджеры */
.kviz__messengers {
    display: flex;
    gap: 12px;
}

.kviz__messenger {
    flex: 1;
    cursor: pointer;
}

.kviz__messenger input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.kviz__messenger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 1px solid #E5E5E5;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    background: #fff;
    transition: all 0.2s ease;
}

.kviz__messenger-btn:hover {
    border-color: #C68E68;
}

.kviz__messenger input:checked + .kviz__messenger-btn {
    background: #C68E68;
    border-color: #C68E68;
    color: #fff;
}

.kviz__messenger input:checked + .kviz__messenger-btn svg {
    fill: #fff;
    stroke: #fff;
}

/* Чекбокс согласия */
.kviz__form-consent {
    margin-top: 20px;
    margin-bottom: 20px;
}

.kviz__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

.kviz__checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.kviz__checkbox-mark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background: #fff;
    position: relative;
    transition: all 0.2s ease;
}

.kviz__checkbox input:checked + .kviz__checkbox-mark {
    background: #C68E68;
    border-color: #C68E68;
}

.kviz__checkbox input:checked + .kviz__checkbox-mark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.kviz__checkbox-text a {
    color: #C68E68;
    text-decoration: underline;
}

/* Кнопка отправки */
.kviz__submit {
    width: 100%;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: #C68E68;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.kviz__submit:hover {
    background: #b5805d;
    transform: translateY(-1px);
}

.kviz__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.kviz__submit--loading .kviz__submit-text,
.kviz__submit--loading .kviz__submit-arrow {
    display: none;
}

.kviz__submit-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: kvizSpin 0.8s linear infinite;
}

.kviz__submit--loading .kviz__submit-loader {
    display: block;
}

@keyframes kvizSpin {
    to { transform: rotate(360deg); }
}

/* --- Навигация --- */
.kviz__nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.kviz__nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.kviz__nav-btn--prev {
    background: #fff;
    border: 1px solid #E5E5E5;
    color: #666;
}

.kviz__nav-btn--prev:hover:not(:disabled) {
    border-color: #ccc;
    color: #333;
}

.kviz__nav-btn--prev:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.kviz__nav-btn--next {
    background: #C68E68;
    border: none;
    color: #fff;
}

.kviz__nav-btn--next:hover:not(:disabled) {
    background: #b5805d;
}

.kviz__nav-btn--next:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Скрываем навигацию на шаге формы */
.kviz__step--form.kviz__step--active ~ .kviz__nav .kviz__nav-btn--next {
    display: none;
}

/* --- Сайдбар с консультантом --- */
.kviz__sidebar {
    position: sticky;
    top: 100px;
}

.kviz__consultant {
    background: #fff;
    border-radius: 20px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.kviz__consultant-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e0f2fe;
}

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

.kviz__consultant-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
    color: #000;
}

.kviz__consultant-role {
    color: #C68E68;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.kviz__consultant-text {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.kviz__consultant-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.kviz__consultant-stat {
    text-align: center;
}

.kviz__consultant-stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #C68E68;
}

.kviz__consultant-stat-label {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
}

/* --- Kviz Адаптив --- */
@media (max-width: 1200px) {
    .kviz__container {
        grid-template-columns: 1fr 250px;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .kviz {
        padding: 60px 30px;
    }

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

    .kviz__section-header {
        margin-bottom: 20px;
    }

    .kviz__tag {
        margin-bottom: 15px;
    }

    .kviz__section-title {
        font-size: 1.5rem;
    }

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

    .kviz__sidebar {
        position: static;
        order: -1;
    }

    .kviz__consultant {
        display: flex;
        align-items: center;
        gap: 20px;
        text-align: left;
        padding: 20px 24px;
    }

    .kviz__consultant-photo {
        width: 70px;
        height: 70px;
        margin: 0;
        flex-shrink: 0;
    }

    .kviz__consultant-content {
        flex: 1;
    }

    .kviz__consultant-stats {
        justify-content: flex-start;
        gap: 24px;
        margin-top: 12px;
    }
}

@media (max-width: 768px) {
    .kviz {
        padding: 40px 20px;
    }

    .kviz__card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .kviz__title {
        font-size: 1.4rem;
    }

    .kviz__question {
        font-size: 1.1rem;
    }

    .kviz__answers--2col,
    .kviz__answers--3col,
    .kviz__answers--4col {
        grid-template-columns: 1fr 1fr;
    }

    .kviz__answer-card {
        flex-direction: row;
        text-align: left;
        padding: 16px;
        min-height: auto;
        gap: 16px;
    }

    .kviz__answer--with-image .kviz__answer-card {
        flex-direction: column;
        padding: 0;
    }

    .kviz__answer-icon,
    .kviz__answer-budget {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .kviz__answer-budget {
        font-size: 1.2rem;
    }

    .kviz__answer-content {
        flex: 1;
    }

    .kviz__answer-image {
        height: 140px;
    }

    .kviz__section-title {
        font-size: 1.5rem;
    }

    .kviz__form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .kviz__messengers {
        flex-direction: column;
    }

    .kviz__nav {
        flex-direction: column-reverse;
        gap: 12px;
    }

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

    .kviz__consultant {
        flex-direction: column;
        text-align: center;
    }

    .kviz__consultant-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .kviz__card {
        padding: 20px 16px;
    }

    .kviz__progress-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .kviz__subtitle {
        font-size: 0.85rem;
    }
}

/* ===============================================
   ARTICLE - Блоговая страница О компании
   =============================================== */

.article {
    padding: 120px 0 80px;
    background: #fff;
}

.article__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Хлебные крошки */
.article__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 40px;
}

.article__breadcrumbs a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.article__breadcrumbs a:hover {
    color: #111;
}

.article__breadcrumbs span {
    color: #bbb;
}

/* Заголовок страницы */
.article__header {
    margin-bottom: 40px;
}

.article__title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.1;
    color: #0f0f0f;
    margin-bottom: 16px;
}

.article__meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.article__tag {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Главное фото */
.article__hero-img {
    margin: 0 0 48px;
    border-radius: 20px;
    overflow: hidden;
}

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

/* Контент */
.article__content {
    margin-bottom: 56px;
}

.article__content p,
.article__section-content p,
.article__section-full p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
    margin-bottom: 20px;
}

.article__lead {
    font-size: 1.2rem !important;
    line-height: 1.7 !important;
    color: #111 !important;
    font-weight: 400;
}

/* Секция с картинкой сбоку */
.article__section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

.article__section--reverse {
    direction: rtl;
}

.article__section--reverse > * {
    direction: ltr;
}

.article__section h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #0f0f0f;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article__section-img {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
}

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

/* Полноширинная секция */
.article__section-full {
    margin-bottom: 56px;
}

.article__section-full h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #0f0f0f;
    margin-bottom: 24px;
    line-height: 1.2;
}

/* Галерея проектов */
.article__gallery {
    margin-bottom: 64px;
}

.article__gallery h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #0f0f0f;
    margin-bottom: 24px;
}

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

.article__gallery-grid figure {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.article__gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.article__gallery-grid figure:hover img {
    transform: scale(1.03);
}

/* Шаги процесса */
.article__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 32px;
}

.article__step {
    background: #F8F8F8;
    padding: 28px 24px;
    border-radius: 16px;
}

.article__step-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #ddd;
    margin-bottom: 12px;
}

.article__step h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 12px;
    line-height: 1.3;
}

.article__step p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Широкое фото */
.article__wide-img {
    margin: 0 0 56px;
    border-radius: 16px;
    overflow: hidden;
}

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

/* Чеклист */
.article__checklist {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.article__checklist li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
}

.article__checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #111;
    font-weight: 600;
}

/* CTA секция */
.article__cta-section {
    background: #F8F8F8;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 0;
}

/* Контактная строка */
.article__contact-line {
    font-size: 1.1rem;
    margin-top: 24px;
}

.article__contact-line a,
.article__email-link {
    color: #111;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--color-accent);
    transition: border-color 0.2s;
}

.article__contact-line a:hover,
.article__email-link:hover {
    border-color: #111;
}

/* Фичи/карточки */
.article__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.article__feature {
    background: #F8F8F8;
    padding: 28px 24px;
    border-radius: 16px;
}

.article__feature h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 12px;
    line-height: 1.3;
}

.article__feature p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Чеклист в 2 колонки */
.article__checklist--grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 32px;
}

/* --- Article Адаптив --- */
@media (max-width: 1024px) {
    .article__container {
        max-width: 100%;
        padding: 0 32px;
    }

    .article__title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .article {
        padding: 100px 0 60px;
    }

    .article__container {
        padding: 0 20px;
    }

    .article__title {
        font-size: 1.8rem;
    }

    .article__section {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .article__section--reverse {
        direction: ltr;
    }

    .article__section-img {
        order: -1;
    }

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

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

    .article__cta-section {
        padding: 28px 24px;
    }

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

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

@media (max-width: 480px) {
    .article__title {
        font-size: 1.5rem;
    }

    .article__section h2,
    .article__section-full h2,
    .article__gallery h2 {
        font-size: 1.3rem;
    }

    .article__lead {
        font-size: 1.05rem !important;
    }

    .article__content p,
    .article__section-content p,
    .article__section-full p {
        font-size: 0.95rem;
    }
}

/* ===============================================
   CONTACTS PAGE - Страница контактов
   =============================================== */

.contacts-page {
    padding: 120px 0 80px;
    background: #fff;
}

.contacts-page__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.contacts-page__header {
    margin-bottom: 48px;
}

.contacts-page__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.1;
    color: #0f0f0f;
    margin-bottom: 12px;
}

.contacts-page__subtitle {
    font-size: 1.1rem;
    color: #666;
}

/* Основная сетка */
.contacts-page__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

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

.contacts-page__block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contacts-page__label {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contacts-page__phone {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Мессенджеры */
.contacts-page__messengers {
    display: flex;
    gap: 16px;
}

.contacts-page__messenger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #F8F8F8;
    border-radius: 12px;
    color: #111;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, transform 0.2s;
}

.contacts-page__messenger:hover {
    background: #eee;
    transform: translateY(-2px);
}

.contacts-page__messenger svg {
    flex-shrink: 0;
}

.contacts-page__messenger--max svg {
    color: transparent;
}

/* Почта */
.contacts-page__email {
    font-size: 1.2rem;
    color: #111;
    text-decoration: none;
    border-bottom: 2px solid var(--color-accent);
    transition: border-color 0.2s;
    display: inline-block;
}

.contacts-page__email:hover {
    border-color: #111;
}

/* Фото */
.contacts-page__photo {
    border-radius: 20px;
    overflow: hidden;
}

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

/* Регионы */
.contacts-page__regions {
    margin-bottom: 48px;
    padding: 40px;
    background: #F8F8F8;
    border-radius: 20px;
}

.contacts-page__regions-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #0f0f0f;
    margin-bottom: 12px;
}

.contacts-page__regions-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.contacts-page__regions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contacts-page__region-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    border: 1px solid #e0e0e0;
}

/* Реквизиты */
.contacts-page__legal {
    margin-bottom: 48px;
}

.contacts-page__legal-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #0f0f0f;
    margin-bottom: 20px;
}

.contacts-page__legal-grid {
    display: flex;
    gap: 48px;
    margin-bottom: 16px;
}

.contacts-page__legal-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contacts-page__legal-label {
    font-size: 0.85rem;
    color: #888;
}

.contacts-page__legal-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #111;
}

.contacts-page__policy-link {
    font-size: 0.9rem;
    color: #666;
    text-decoration: underline;
    transition: color 0.2s;
}

.contacts-page__policy-link:hover {
    color: #111;
}

/* CTA */
.contacts-page__cta {
    background: #111;
    color: #fff;
    padding: 48px;
    border-radius: 20px;
    text-align: center;
}

.contacts-page__cta-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.contacts-page__cta-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contacts-page__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #fff;
    color: #111;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.contacts-page__cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* --- Contacts Page Адаптив --- */
@media (max-width: 1024px) {
    .contacts-page__container {
        padding: 0 32px;
    }

    .contacts-page__title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contacts-page {
        padding: 100px 0 60px;
    }

    .contacts-page__container {
        padding: 0 20px;
    }

    .contacts-page__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contacts-page__photo {
        order: -1;
        max-height: 300px;
    }

    .contacts-page__phone {
        font-size: 1.8rem;
    }

    .contacts-page__messengers {
        flex-direction: column;
    }

    .contacts-page__regions {
        padding: 28px 24px;
    }

    .contacts-page__legal-grid {
        flex-direction: column;
        gap: 20px;
    }

    .contacts-page__cta {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .contacts-page__title {
        font-size: 1.6rem;
    }

    .contacts-page__phone {
        font-size: 1.5rem;
    }
}

/* ===============================================
   SERVICES PAGE - Страница услуг
   =============================================== */

.services-page {
    padding: 120px 0 80px;
    background: #fff;
}

.services-page__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.services-page__header {
    margin-bottom: 48px;
}

.services-page__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.1;
    color: #0f0f0f;
    margin-bottom: 12px;
}

.services-page__subtitle {
    font-size: 1.1rem;
    color: #666;
}

.services-page__section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #0f0f0f;
    margin-bottom: 24px;
}

/* Направления работы */
.services-page__directions {
    margin-bottom: 64px;
}

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

.services-page__direction {
    display: flex;
    flex-direction: column;
    background: #F8F8F8;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
}

.services-page__direction:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.services-page__direction-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.services-page__direction-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.services-page__direction:hover .services-page__direction-img img {
    transform: scale(1.05);
}

.services-page__direction-content {
    padding: 24px;
}

.services-page__direction-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
}

.services-page__direction-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
}

.services-page__direction-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #111;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.services-page__direction-link::after {
    content: '\2192';
}

/* Типы остекления */
.services-page__types {
    margin-bottom: 64px;
}

.services-page__types-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 24px;
    margin-top: -12px;
}

.services-page__types-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.services-page__type {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 24px;
    background: #F8F8F8;
    border-radius: 12px;
}

.services-page__type-name {
    font-weight: 600;
    color: #111;
}

.services-page__type-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Полный цикл */
.services-page__cycle {
    margin-bottom: 0;
}

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

.services-page__cycle-item {
    background: #111;
    color: #fff;
    padding: 32px;
    border-radius: 20px;
}

.services-page__cycle-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: rgba(255,255,255,0.2);
    margin-bottom: 16px;
}

.services-page__cycle-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.services-page__cycle-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
}

/* --- Services Page Адаптив --- */
@media (max-width: 1024px) {
    .services-page__container {
        padding: 0 32px;
    }

    .services-page__title {
        font-size: 2rem;
    }

    .services-page__types-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .services-page {
        padding: 100px 0 60px;
    }

    .services-page__container {
        padding: 0 20px;
    }

    .services-page__directions-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .services-page__title {
        font-size: 1.6rem;
    }

    .services-page__cycle-item {
        padding: 24px;
    }
}

/* ===============================================
   KVIZ POPUP - Попап квиз
   =============================================== */

.kviz-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.kviz-popup--active {
    opacity: 1;
    visibility: visible;
}

.kviz-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.kviz-popup__container {
    position: relative;
    width: 100%;
    max-width: 720px;
    background: var(--color-white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
    margin: 16px;
}

.kviz-popup--active .kviz-popup__container {
    transform: translateY(0) scale(1);
}

.kviz-popup__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    color: var(--color-dark);
    z-index: 10;
}

.kviz-popup__close:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}

/* Прогресс */
.kviz-popup__progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.kviz-popup__step-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kviz-popup__step-num {
    width: 32px;
    height: 32px;
    background: #C68E68;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.kviz-popup__step-text {
    font-size: 0.9rem;
    color: #666;
}

.kviz-popup__percent {
    font-weight: 600;
    color: #C68E68;
}

.kviz-popup__progress-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 24px;
}

.kviz-popup__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #C68E68, #B45622);
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* Шаги */
.kviz-popup__steps {
    min-height: 280px;
}

.kviz-popup__step {
    display: none;
}

.kviz-popup__step--active {
    display: block;
    animation: kvizPopupFadeIn 0.3s ease;
}

@keyframes kvizPopupFadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.kviz-popup__question {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.3;
}

.kviz-popup__question-sub {
    font-size: 0.9rem;
    color: #666;
    margin-top: -12px;
    margin-bottom: 20px;
}

/* Ответы */
.kviz-popup__answers {
    display: grid;
    gap: 12px;
}

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

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

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

.kviz-popup__answer {
    cursor: pointer;
}

.kviz-popup__answer input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.kviz-popup__answer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px;
    background: #F8F8F8;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.2s ease;
    min-height: 100px;
    justify-content: center;
}

.kviz-popup__answer-card:hover {
    border-color: #C68E68;
    background: #fff;
}

.kviz-popup__answer input:checked + .kviz-popup__answer-card {
    border-color: #C68E68;
    background: #FDF8F4;
    box-shadow: 0 4px 12px rgba(198, 142, 104, 0.2);
}

/* Иконки ответов */
.kviz-popup__answer-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 8px;
    color: #666;
}

.kviz-popup__answer-icon--yellow { color: #F59E0B; background: #FEF3C7; }
.kviz-popup__answer-icon--orange { color: #EA580C; background: #FFEDD5; }
.kviz-popup__answer-icon--blue { color: #2563EB; background: #DBEAFE; }
.kviz-popup__answer-icon--red { color: #DC2626; background: #FEE2E2; }
.kviz-popup__answer-icon--gray { color: #6B7280; background: #F3F4F6; }

/* Ответы с картинками */
.kviz-popup__answer--with-image .kviz-popup__answer-card {
    padding: 0;
    overflow: hidden;
}

.kviz-popup__answer-image {
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.kviz-popup__answer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kviz-popup__answer--with-image:hover .kviz-popup__answer-image img {
    transform: scale(1.05);
}

.kviz-popup__answer--with-image .kviz-popup__answer-title,
.kviz-popup__answer--with-image .kviz-popup__answer-desc {
    padding: 0 12px;
}

.kviz-popup__answer--with-image .kviz-popup__answer-title {
    padding-top: 10px;
}

.kviz-popup__answer--with-image .kviz-popup__answer-desc {
    padding-bottom: 12px;
}

/* Бюджет */
.kviz-popup__answer-budget {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.kviz-popup__answer-budget--green { background: #D1FAE5; color: #059669; }
.kviz-popup__answer-budget--blue { background: #DBEAFE; color: #2563EB; }
.kviz-popup__answer-budget--purple { background: #E9D5FF; color: #7C3AED; }
.kviz-popup__answer-budget--gold { background: #FEF3C7; color: #D97706; }

.kviz-popup__answer-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #111;
    margin-bottom: 4px;
}

.kviz-popup__answer-desc {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.3;
}

/* Форма */
.kviz-popup__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kviz-popup__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.kviz-popup__form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kviz-popup__form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.kviz-popup__form-input {
    padding: 14px 16px;
    font-size: 16px;
    font-family: var(--font-primary);
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.kviz-popup__form-input:focus {
    border-color: #C68E68;
    box-shadow: 0 0 0 3px rgba(198, 142, 104, 0.15);
}

.kviz-popup__form-input--error {
    border-color: #ef4444;
}

.kviz-popup__form-error {
    font-size: 0.8rem;
    color: #ef4444;
    min-height: 18px;
}

/* Мессенджеры */
.kviz-popup__messengers {
    display: flex;
    gap: 10px;
}

.kviz-popup__messenger {
    flex: 1;
}

.kviz-popup__messenger input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.kviz-popup__messenger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #F8F8F8;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.kviz-popup__messenger-btn:hover {
    background: #fff;
    border-color: #C68E68;
}

.kviz-popup__messenger input:checked + .kviz-popup__messenger-btn {
    background: #FDF8F4;
    border-color: #C68E68;
    color: #C68E68;
}

/* Согласие */
.kviz-popup__form-consent {
    margin-top: 8px;
}

.kviz-popup__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.kviz-popup__checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.kviz-popup__checkbox-mark {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #9ca3af;
    border-radius: 4px;
    background: #fff;
    transition: all 0.2s ease;
    position: relative;
    margin-top: 2px;
}

.kviz-popup__checkbox input:checked + .kviz-popup__checkbox-mark {
    background: #C68E68;
    border-color: #C68E68;
}

.kviz-popup__checkbox input:checked + .kviz-popup__checkbox-mark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.kviz-popup__checkbox-text a {
    color: #C68E68;
    text-decoration: underline;
}

.kviz-popup__checkbox-text a:hover {
    text-decoration: none;
}

/* Кнопка отправки */
.kviz-popup__submit {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    color: #fff;
    background: linear-gradient(135deg, #C68E68, #B45622);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.kviz-popup__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(180, 86, 34, 0.3);
}

.kviz-popup__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.kviz-popup__submit-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.kviz-popup__submit--loading .kviz-popup__submit-text,
.kviz-popup__submit--loading .kviz-popup__submit-arrow {
    display: none;
}

.kviz-popup__submit--loading .kviz-popup__submit-loader {
    display: block;
}

/* Навигация */
.kviz-popup__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.kviz-popup__nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-primary);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.kviz-popup__nav-btn--prev {
    background: transparent;
    color: #666;
}

.kviz-popup__nav-btn--prev:hover:not(:disabled) {
    background: #F8F8F8;
    color: #111;
}

.kviz-popup__nav-btn--prev:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.kviz-popup__nav-btn--next {
    background: #111;
    color: #fff;
}

.kviz-popup__nav-btn--next:hover:not(:disabled) {
    background: #333;
}

.kviz-popup__nav-btn--next:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.kviz-popup__step--form.kviz-popup__step--active ~ .kviz-popup__nav .kviz-popup__nav-btn--next {
    display: none;
}

/* --- Kviz Popup Адаптив --- */
@media (max-width: 768px) {
    .kviz-popup__container {
        max-width: 100%;
        padding: 24px 20px;
        margin: 8px;
        max-height: 95vh;
        border-radius: 16px;
    }

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

    .kviz-popup__answer-image {
        height: 80px;
    }

    .kviz-popup__question {
        font-size: 1.1rem;
    }

    .kviz-popup__form-row {
        grid-template-columns: 1fr;
    }

    .kviz-popup__messengers {
        flex-direction: column;
    }

    .kviz-popup__nav {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .kviz-popup__nav-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .kviz-popup__container {
        padding: 20px 16px;
    }

    .kviz-popup__answers--2col,
    .kviz-popup__answers--3col,
    .kviz-popup__answers--4col {
        grid-template-columns: 1fr 1fr;
    }

    .kviz-popup__answer-card {
        padding: 12px 8px;
        min-height: auto;
    }

    .kviz-popup__answer-icon,
    .kviz-popup__answer-budget {
        width: 40px;
        height: 40px;
    }

    .kviz-popup__answer-title {
        font-size: 0.8rem;
    }

    .kviz-popup__answer-desc {
        font-size: 0.7rem;
    }

    .kviz-popup__progress-header {
        flex-wrap: wrap;
        gap: 8px;
    }
}
