:root {
    --primary: #1E56A0;
    --primary-light: #4DA8DA;
    --primary-dark: #163d73;
    --bg: #FFFFFF;
    --bg-alt: #F4F7FB;
    --text: #1A1A2E;
    --text-muted: rgba(26,26,46,0.6);
    --text-light: rgba(26,26,46,0.4);
    --radius: 12px;
    --shadow: 0 2px 16px rgba(30,86,160,0.06);
    --shadow-hover: 0 12px 32px rgba(30,86,160,0.14);
    --header-h: 72px;
}
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    touch-action: manipulation;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}
body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.15;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section-label {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
}
.section-head {
    text-align: center;
    margin-bottom: 56px;
}
.section-head .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30,86,160,0.3);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.btn-white {
    background: #fff;
    color: var(--primary);
}
.btn-white:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn-ghost {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}
.consent {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 10px;
}
.consent input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--primary);
    flex-shrink: 0;
}
.consent a {
    color: var(--primary);
    text-decoration: underline;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}
.header.scrolled {
    box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}
.header .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 100%;
    gap: 24px;
}
.header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    justify-self: start;
}
.logo-img {
    height: 44px;
    width: auto;
}
.header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 24px;
}
.header__nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
    white-space: nowrap;
}
.header__nav a:hover {
    color: var(--primary);
}
.header__nav a.is-active {
    color: var(--primary);
}
.header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-self: end;
}
.header__phone {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    white-space: nowrap;
}
.header__cta {
    padding: 10px 20px;
    font-size: 0.85rem;
    color: #fff;
}
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}
.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    z-index: 999;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: all 0.3s ease;
}
.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mobile-menu a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mobile-menu a:last-child {
    border-bottom: none;
}
.mobile-menu a.mobile-menu__btn {
    display: inline-flex;
    margin-top: 16px;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    border-bottom: none;
    font-weight: 600;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background-color: var(--primary);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/hero-bg.webp') center/cover no-repeat;
    filter: brightness(0.3);
}
.hero--install::before  { background-image: url('../img/монтаж/hero-bg.webp'); }
.hero--service::before  { background-image: url('../img/обслуживание/hero-bg.webp'); }
.hero--sales::before    { background-image: url('../img/продажа/hero-bg.webp'); }
.hero--about::before    { background-image: url('../img/о%20нас/hero-bg.webp'); }
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,86,160,0.65) 0%, rgba(77,168,218,0.2) 60%, rgba(30,86,160,0.4) 100%);
}
.hero .container {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 80px;
}
.hero__content {
    max-width: 640px;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}
.hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.hero__subtitle {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}
.hero__buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.hero__trust {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    flex-wrap: wrap;
}
.hero__trust span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero__trust span::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-light);
    flex-shrink: 0;
}
.hero__trust span:first-child::before {
    display: none;
}

/* ===== SERVICES ===== */
.services {
    padding-top: 100px;
    padding-bottom: 100px;
    background: var(--bg);
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--bg);
    border: 1px solid rgba(30,86,160,0.08);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}
.service-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    transition: all 0.35s ease;
}
.service-card:hover .service-card__icon {
    background: var(--primary);
    color: #fff;
}
.service-card__icon svg {
    width: 24px;
    height: 24px;
}
.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.service-card__link {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(30,86,160,0.08);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s ease, color 0.25s ease;
    align-self: flex-start;
}
.service-card__link::after {
    content: '→';
    font-size: 1rem;
    transition: transform 0.25s ease;
}
.service-card:hover .service-card__link {
    color: var(--primary-dark);
}
.service-card:hover .service-card__link::after {
    transform: translateX(4px);
}

/* ===== BRANDS ===== */
.brands {
    padding-top: 80px;
    padding-bottom: 80px;
    background: var(--bg-alt);
}
.brands__row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(30,86,160,0.06);
    opacity: 0.85;
    transition: all 0.4s ease;
}
.brand-logo:hover {
    opacity: 1;
    box-shadow: var(--shadow);
    border-color: rgba(30,86,160,0.1);
}
.brand-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}
.brands__note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== CERTIFICATES ===== */
.certificates {
    padding-top: 100px;
    padding-bottom: 100px;
    background: var(--bg);
}
.certificates__placeholder {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 32px;
    border: 2px dashed rgba(30,86,160,0.15);
    border-radius: var(--radius);
    color: var(--text-light);
}
.certificates__placeholder svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    opacity: 0.4;
}
.certificates__placeholder p {
    font-size: 0.9rem;
}

/* ===== ADVANTAGES ===== */
.advantages {
    padding-top: 100px;
    padding-bottom: 100px;
    background: var(--bg);
}
.advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.adv-card {
    display: flex;
    gap: 16px;
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid rgba(30,86,160,0.06);
    transition: all 0.3s ease;
}
.adv-card:hover {
    border-color: rgba(30,86,160,0.12);
    box-shadow: var(--shadow);
}
.adv-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}
.adv-card__icon svg {
    width: 20px;
    height: 20px;
}
.adv-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.adv-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ===== PRICING ===== */
.pricing {
    padding-top: 100px;
    padding-bottom: 100px;
    background: var(--bg-alt);
}
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.price-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 32px;
    border: 1px solid rgba(30,86,160,0.06);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}
.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.price-card.featured {
    border: 2px solid var(--primary);
    position: relative;
}
.price-card__badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}
.price-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.price-card__price {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
}
.price-card__price span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}
.price-card ul {
    margin-bottom: 28px;
    flex-grow: 1;
}
.price-card li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.price-card li::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-alt);
    flex-shrink: 0;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l3 3 5-5' stroke='%231E56A0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
.price-card .btn {
    width: 100%;
}
.price-card--wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    padding: 24px 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: none;
    gap: 0;
}
.price-card--wide:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(30,86,160,0.25);
}
.price-card--wide h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 2px;
    white-space: nowrap;
}
.price-card--wide .price-card__price {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
}
.price-card--wide ul {
    margin: 0 auto;
    padding: 0;
    display: flex;
    gap: 28px;
    flex-grow: 0;
}
.price-card--wide li {
    padding: 0;
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
}
.price-card--wide li::before {
    background: rgba(255,255,255,0.15);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l3 3 5-5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    width: 16px;
    height: 16px;
}
.price-card--wide .btn {
    width: auto;
    flex-shrink: 0;
    background: #fff;
    color: var(--primary);
    font-weight: 600;
}
.price-card--wide .btn:hover {
    background: rgba(255,255,255,0.9);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.pricing__note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== REVIEWS ===== */
.reviews {
    padding-top: 100px;
    padding-bottom: 100px;
    background: var(--bg);
}
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 32px 28px;
    position: relative;
}
.review-card__quote {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 8px;
}
.review-card__stars {
    color: #F5A623;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}
.review-card p {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.65;
    margin-bottom: 18px;
}
.review-card__author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}
.reviews__cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== CTA ===== */
.cta-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    top: -120px;
    right: -80px;
}
.cta-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    bottom: -100px;
    left: -60px;
}
.cta-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}
.cta-section h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}
.cta-section p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.cta-section__buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.cta-section .consent {
    justify-content: center;
    color: rgba(255,255,255,0.45);
}
.cta-section .consent a {
    color: rgba(255,255,255,0.7);
}

/* ===== CONTACTS ===== */
.contacts {
    padding-top: 100px;
    padding-bottom: 100px;
    background: var(--bg);
}
.contacts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.contact-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.contact-card:hover {
    border-color: rgba(30,86,160,0.1);
    box-shadow: var(--shadow);
}
.contact-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0 auto 14px;
}
.contact-card__icon svg {
    width: 22px;
    height: 22px;
}
.contact-card__icon img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}
.contact-card__label {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contact-card__value {
    font-weight: 600;
    font-size: 0.95rem;
}
.contact-card__value a {
    color: var(--primary);
    transition: opacity 0.2s;
}
.contact-card__value a:hover {
    opacity: 0.7;
}
.contacts__note {
    text-align: center;
    margin-top: 28px;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text);
    padding-top: 40px;
    padding-bottom: 40px;
}
.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer__left {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
.footer__left strong {
    font-family: 'Comfortaa', sans-serif;
    color: rgba(255,255,255,0.8);
    font-weight: 700;
}
.footer__right {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}
.footer__right a {
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}
.footer__right a:hover {
    color: rgba(255,255,255,0.8);
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    position: relative;
    transform: scale(0.92) translateY(16px);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}
.modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-alt);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.modal__close:hover {
    background: #eee;
    color: var(--text);
}
.modal h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.modal p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}
.modal__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.modal__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 24px;
    border-radius: var(--radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    background: var(--bg-alt);
    border: 1px solid rgba(30,86,160,0.08);
    transition: all 0.3s ease;
}
.modal__btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.modal__btn img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(160deg, #0a1628 0%, #112244 50%, #1E56A0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.preloader::before,
.preloader::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}
.preloader::before {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(77,168,218,0.1) 0%, transparent 70%);
}
.preloader::after {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -80px;
    background: radial-gradient(circle, rgba(30,86,160,0.12) 0%, transparent 70%);
}
.preloader.done {
    animation: preloaderOut 0.7s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}
@keyframes preloaderOut {
    to { transform: translateY(-100%); }
}
.preloader__svg {
    position: relative;
    z-index: 2;
    width: clamp(200px, 50vw, 320px);
    height: auto;
}
.preloader__text-top {
    opacity: 0;
    animation: fadeIn 0.6s ease 0.3s forwards;
}
.preloader__text-bottom {
    opacity: 0;
    animation: fadeIn 0.6s ease 1.5s forwards;
}
.preloader__wave {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: drawWave 1s ease 0.7s forwards;
}
.preloader__wave-dup {
    display: none;
}
@keyframes drawWave {
    to { stroke-dashoffset: 0; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.preloader__domain {
    position: relative;
    z-index: 2;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
    margin-top: 10px;
    opacity: 0;
    animation: fadeUp 0.5s ease 1.5s forwards;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===== SUBPAGE: BREADCRUMBS ===== */
.breadcrumbs {
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 12px;
    background: var(--bg-alt);
    font-size: 0.85rem;
    color: var(--text-light);
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    list-style: none;
}
.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.breadcrumbs li + li::before {
    content: '/';
    color: var(--text-light);
    opacity: 0.5;
}
.breadcrumbs a {
    color: var(--primary);
    transition: opacity 0.2s;
}
.breadcrumbs a:hover {
    opacity: 0.7;
}
.breadcrumbs span[aria-current="page"] {
    color: var(--text-muted);
}

/* ===== SUBPAGE: HERO VARIANT ===== */
.hero--subpage .hero__breadcrumbs {
    padding: 0;
    background: transparent;
    border: none;
    margin-bottom: 24px;
}
.hero--subpage .hero__breadcrumbs ol {
    margin: 0;
    padding: 0;
    list-style: none;
}
.hero--subpage .hero__breadcrumbs a {
    color: rgba(255,255,255,0.78);
}
.hero--subpage .hero__breadcrumbs a:hover {
    color: #fff;
    opacity: 1;
}
.hero--subpage .hero__breadcrumbs span[aria-current="page"] {
    color: rgba(255,255,255,0.55);
}
.hero--subpage .hero__breadcrumbs li + li::before {
    color: rgba(255,255,255,0.35);
    opacity: 1;
}

/* ===== SUBPAGE: CONTENT PHOTO PLACEHOLDER ===== */
.content-photo {
    position: relative;
    margin: 56px auto 0;
    max-width: 960px;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f0f3f8;
    box-shadow: 0 18px 48px -18px rgba(30,86,160,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.content-photo.is-placeholder {
    background: linear-gradient(135deg, rgba(30,86,160,0.08), rgba(77,168,218,0.14));
    border: 2px dashed rgba(30,86,160,0.25);
    box-shadow: none;
    padding: 32px;
}
.content-photo.is-placeholder::before {
    content: 'PLACEHOLDER';
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: var(--primary);
    background: rgba(255,255,255,0.92);
    padding: 5px 12px;
    border-radius: 100px;
}
.content-photo__caption {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.98rem;
    color: var(--primary);
    font-weight: 500;
    max-width: 460px;
    line-height: 1.55;
}
.content-photo__caption b {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.content-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== SUBPAGE: PAGE HERO (legacy, kept for safety) ===== */
.page-hero {
    padding-top: 48px;
    padding-bottom: 64px;
    background: var(--bg-alt);
    border-bottom: 1px solid rgba(30,86,160,0.06);
}
.page-hero__label {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}
.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    max-width: 820px;
}
.page-hero__lead {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 720px;
    margin-bottom: 28px;
}
.page-hero__buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ===== SUBPAGE: GENERIC SECTION ===== */
.subpage-section {
    padding-top: 80px;
    padding-bottom: 80px;
}
.subpage-section--alt {
    background: var(--bg-alt);
}
.subpage-section__head {
    max-width: 720px;
    margin-bottom: 48px;
}
.subpage-section__head .section-title {
    margin-bottom: 12px;
}
.subpage-section__head p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===== SUBPAGE: INCLUDES LIST ===== */
.includes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 32px;
}
.includes-grid li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.55;
    border-bottom: 1px solid rgba(30,86,160,0.06);
}
.includes-grid li::before {
    content: '';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(30,86,160,0.08) url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8l3 3 5-5' stroke='%231E56A0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
    margin-top: 2px;
}

/* ===== SUBPAGE: STEPS ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.step-card {
    position: relative;
    padding: 28px 24px;
    background: #fff;
    border: 1px solid rgba(30,86,160,0.08);
    border-radius: var(--radius);
    transition: all 0.35s ease;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}
.step-card__num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 14px;
}
.step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ===== SUBPAGE: INFO CARDS (виды работ) ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.info-card {
    padding: 32px 28px;
    background: #fff;
    border: 1px solid rgba(30,86,160,0.08);
    border-radius: var(--radius);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}
.info-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 4px;
}
.info-card__icon svg {
    width: 20px;
    height: 20px;
}
.info-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
}
.info-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ===== SUBPAGE: FAQ ===== */
.faq-list {
    max-width: 820px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: #fff;
    border: 1px solid rgba(30,86,160,0.08);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.25s ease;
}
.faq-item[open] {
    border-color: rgba(30,86,160,0.2);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--text);
    transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item summary::after {
    content: '+';
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary);
    transition: transform 0.3s ease;
    line-height: 1;
    flex-shrink: 0;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item__body {
    padding: 0 24px 22px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===== SUBPAGE: SMALL CTA (в конце блока) ===== */
.block-cta {
    margin-top: 32px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(30,86,160,0.04) 0%, rgba(77,168,218,0.06) 100%);
    border: 1px solid rgba(30,86,160,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.block-cta p {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
    margin: 0;
}

/* ===== SUBPAGE: RELATED SERVICES ===== */
.related-services {
    padding-top: 72px;
    padding-bottom: 72px;
    background: var(--bg);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.related-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: var(--bg-alt);
    border: 1px solid rgba(30,86,160,0.06);
    border-radius: var(--radius);
    transition: all 0.35s ease;
}
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(30,86,160,0.15);
    background: #fff;
}
.related-card__content {
    flex: 1;
    min-width: 0;
}
.related-card__label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 6px;
}
.related-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.related-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.related-card__arrow {
    flex-shrink: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.25s ease;
}
.related-card:hover .related-card__arrow {
    transform: translateX(4px);
}

/* ===== ERROR PAGE (404) ===== */
.error-page {
    min-height: calc(100vh - var(--header-h));
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 64px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-alt) 0%, #fff 100%);
}
.error-page .container {
    text-align: center;
    max-width: 720px;
}
.error-page__code {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(6rem, 20vw, 10rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -3px;
}
.error-page h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 14px;
}
.error-page__text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.error-page__buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.error-page__suggest {
    margin-top: 24px;
    padding-top: 32px;
    border-top: 1px solid rgba(30,86,160,0.1);
}
.error-page__suggest-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 18px;
}
.error-page__links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.error-page__links a {
    display: inline-block;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid rgba(30,86,160,0.1);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: all 0.25s ease;
}
.error-page__links a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1020px) {
    .header .container { gap: 16px; }
    .header__nav { gap: 18px; }
    .header__nav a { font-size: 0.85rem; }
    .header__phone { display: none; }
}
@media (max-width: 860px) {
    :root { --header-h: 64px; }
    .header .container {
        display: flex;
        justify-content: space-between;
    }
    .header__nav { display: none; }
    .header__actions { display: none; }
    .burger { display: flex; }
    .mobile-menu { display: block; }
    .logo-img { height: 38px; }
    .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .advantages__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
    .price-card--wide { flex-direction: column; padding: 36px 28px; text-align: left; align-items: flex-start; gap: 16px; }
    .price-card--wide h3 { white-space: normal; font-size: 1.15rem; }
    .price-card--wide .price-card__price { margin-bottom: 4px; }
    .price-card--wide ul { flex-direction: column; gap: 8px; margin: 0 0 20px 0; padding-left: 0; }
    .price-card--wide .btn { width: 100%; }
    .reviews__grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .contacts__grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .container { padding: 0 20px; }
    html { scroll-padding-top: 76px; }
    .logo-img { height: 32px; }
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }
    .hero .container {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    .hero h1 { margin-bottom: 16px; }
    .hero__subtitle { margin-bottom: 28px; }
    .hero__buttons { flex-direction: column; }
    .hero__buttons .btn { white-space: normal; text-align: center; }
    .hero__content { max-width: 100%; }
    .hero__subtitle { max-width: 100%; }
    .services { padding-top: 60px; padding-bottom: 60px; }
    .services__grid { gap: 16px; }
    .service-card { padding: 24px 20px; }
    .brands { padding-top: 60px; padding-bottom: 60px; }
    .brands__row { grid-template-columns: repeat(5, 1fr); gap: 8px; }
    .brand-logo { padding: 12px; }
    .brand-logo img { height: 48px; }
    .certificates { padding-top: 60px; padding-bottom: 60px; }
    .advantages { padding-top: 60px; padding-bottom: 60px; }
    .advantages__grid { grid-template-columns: 1fr; }
    .adv-card { padding: 20px; }
    .pricing { padding-top: 60px; padding-bottom: 60px; }
    .price-card { padding: 28px 24px; }
    .reviews { padding-top: 60px; padding-bottom: 60px; }
    .cta-section { padding-top: 60px; padding-bottom: 60px; }
    .contacts { padding-top: 60px; padding-bottom: 60px; }
    .contacts__grid { grid-template-columns: 1fr; }
    .section-head { margin-bottom: 40px; }
    .footer .container { flex-direction: column; text-align: center; }
    .footer__right { flex-direction: column; gap: 10px; }
    .page-hero { padding-top: 32px; padding-bottom: 48px; }
    .content-photo { margin-top: 40px; aspect-ratio: 4 / 3; padding: 24px; }
    .content-photo__caption { font-size: 0.88rem; }
    .hero--subpage .hero__breadcrumbs { margin-bottom: 18px; }
    .subpage-section { padding-top: 56px; padding-bottom: 56px; }
    .subpage-section__head { margin-bottom: 32px; }
    .includes-grid { grid-template-columns: 1fr; gap: 0; }
    .steps-grid { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .faq-item summary { padding: 16px 20px; font-size: 0.95rem; }
    .faq-item__body { padding: 0 20px 18px; font-size: 0.9rem; }
    .block-cta { flex-direction: column; align-items: flex-start; text-align: left; }
    .block-cta .btn { width: 100%; }
    .related-services { padding-top: 48px; padding-bottom: 48px; }
    .related-grid { grid-template-columns: 1fr; gap: 14px; }
    .related-card { padding: 20px 22px; gap: 16px; }
    .error-page { padding-top: calc(var(--header-h) + 32px); padding-bottom: 48px; }
    .error-page__buttons { flex-direction: column; }
    .error-page__buttons .btn { width: 100%; }
}
