/* Generated by scripts/build-assets.php. */
/* Montserrat 700, Open Sans 400/600/700 — локальная копия Google Fonts.
   Загружаются с нашего домена: IP посетителя не уходит на серверы Google
   (152-ФЗ, трансграничная передача). Наборы: cyrillic, cyrillic-ext,
   latin, latin-ext. */

/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../vendor/fonts/Montserrat-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../vendor/fonts/Montserrat-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../vendor/fonts/Montserrat-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../vendor/fonts/Montserrat-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../vendor/fonts/OpenSans-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../vendor/fonts/OpenSans-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../vendor/fonts/OpenSans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../vendor/fonts/OpenSans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../vendor/fonts/OpenSans-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../vendor/fonts/OpenSans-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../vendor/fonts/OpenSans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../vendor/fonts/OpenSans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../vendor/fonts/OpenSans-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../vendor/fonts/OpenSans-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../vendor/fonts/OpenSans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../vendor/fonts/OpenSans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*! Subset of Font Awesome Free by Fonticons, Inc.
 * https://fontawesome.com/license/free
 * Fonts: SIL OFL 1.1. CSS: MIT. See vendor/fonts/site-icons-LICENSE.txt.
 */

.fas, .fab {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
}

.fas::before, .fab::before { content: var(--fa); }

@font-face {
    font-family: "Biglstroy Icons Solid";
    font-weight: 900;
    font-display: block;
    src: url("../vendor/fonts/site-icons-solid.woff2?v=8922704290ca") format("woff2");
}

.fas { font-family: "Biglstroy Icons Solid"; font-weight: 900; }

@font-face {
    font-family: "Biglstroy Icons Brands";
    font-weight: 400;
    font-display: block;
    src: url("../vendor/fonts/site-icons-brands.woff2?v=af76f2928fcb") format("woff2");
}

.fab { font-family: "Biglstroy Icons Brands"; font-weight: 400; }

.fa-arrow-down { --fa: "\f063"; }
.fa-arrow-right { --fa: "\f061"; }
.fa-arrow-up { --fa: "\f062"; }
.fa-broom { --fa: "\f51a"; }
.fa-calendar-check { --fa: "\f274"; }
.fa-check { --fa: "\f00c"; }
.fa-chevron-down { --fa: "\f078"; }
.fa-coins { --fa: "\f51e"; }
.fa-comment-dots { --fa: "\f4ad"; }
.fa-cookie-bite { --fa: "\f564"; }
.fa-envelope { --fa: "\f0e0"; }
.fa-file-invoice-dollar { --fa: "\f571"; }
.fa-file-lines { --fa: "\f15c"; }
.fa-gem { --fa: "\f3a5"; }
.fa-handshake { --fa: "\f2b5"; }
.fa-hashtag { --fa: "\23"; }
.fa-headset { --fa: "\f590"; }
.fa-home { --fa: "\f015"; }
.fa-id-card { --fa: "\f2c2"; }
.fa-layer-group { --fa: "\f5fd"; }
.fa-lock { --fa: "\f023"; }
.fa-map-marker-alt { --fa: "\f3c5"; }
.fa-phone { --fa: "\f095"; }
.fa-phone-alt { --fa: "\f879"; }
.fa-rocket { --fa: "\f135"; }
.fa-shield-alt { --fa: "\f3ed"; }
.fa-shipping-fast { --fa: "\f48b"; }
.fa-tags { --fa: "\f02c"; }
.fa-telegram { --fa: "\f2c6"; }
.fa-telegram-plane { --fa: "\f2c6"; }
.fa-times { --fa: "\f00d"; }
.fa-user { --fa: "\f007"; }
.fa-whatsapp { --fa: "\f232"; }

/* база (переменные, сбросы, типографика) */

:root {
    --color-light: #f8f9fa;
    --color-accent-light: #e9ecef;
    --color-accent: #0d6efd;
    --color-accent-dark: #0a58ca;
    --color-dark: #212529;
    --color-gray: #6c757d;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
    --font-heading: "Montserrat", sans-serif;
    --font-body: "Open Sans", sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

@media (max-width: 1000px) {
    html {
        scroll-padding-top: 132px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
.page {
    font-family: var(--font-body);
    color: #333;
    font-weight: 400;
    line-height: 1.7;
}

.heading {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* макет (сетка, общие стили секций) */

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: var(--benefit-grid-columns, var(--benefit-default-columns, repeat(auto-fit, minmax(280px, 1fr))));
    gap: var(--benefit-grid-gap, 30px);
}

.benefit-grid--terms {
    --terms-columns: 4;
    --terms-gap: 20px;
    max-width: 1240px;
    margin: 0 auto;
    --benefit-grid-columns: repeat(var(--terms-columns), minmax(0, 1fr));
    --benefit-grid-gap: var(--terms-gap);
}

@media (max-width: 1000px) {
    .benefit-grid--terms {
        --terms-columns: 2;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .benefit-grid {
        --benefit-default-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .benefit-grid--terms {
        --terms-columns: 1;
        --terms-gap: 14px;
    }
}
.section {
    padding: 120px 0;
}

.section-header {
    margin-bottom: var(--section-header-spacing, 60px);
    text-align: center;
}

.section-header__title {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
    color: var(--section-title-color, var(--color-dark));
    font-size: var(--section-title-size, var(--section-default-title-size, 3rem));
    text-wrap: var(--section-title-wrap, wrap);
}

.section-header__description {
    max-width: var(--section-description-width, none);
    margin: var(--section-description-margin, 0);
    color: var(--section-description-color, var(--color-gray));
    font-size: var(--section-description-size, var(--section-default-description-size, 1.8rem));
}

.section-header--home {
    --section-title-size: clamp(1.7rem, 3vw, 2.7rem);
    --section-title-wrap: balance;
    --section-description-width: 720px;
    --section-description-margin: 0 auto;
    --section-description-size: clamp(1rem, 1.6vw, 1.25rem);
    --section-description-color: #666;
}

.section-header--inverse {
    --section-title-color: white;
    --section-description-color: white;
}

.surface--light {
    background-color: var(--color-light);
}

.surface--muted {
    background-color: var(--color-accent-light);
}

@media (max-width: 992px) {
    .section-header {
        --section-default-title-size: 1.7rem;
        --section-default-description-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .section-header {
        display: flow-root;
    }

    .section-header--home {
        --section-header-spacing: 32px;
    }
}

/* компоненты (переиспользуемые элементы интерфейса) */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: white;
    box-shadow: var(--shadow);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-accent);
    font-size: 24px;
    font-weight: 700;
}

.logo__link {
    color: inherit;
    text-decoration: none;
}

.logo__text {
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.header__nav-link {
    color: var(--header-link-color, var(--color-dark));
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s;
}

.header__nav-link:hover,
.header__nav-link[aria-current="page"] {
    color: var(--header-active-color, var(--color-accent));
}

.header__nav-label {
    display: inline-block;
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    white-space: nowrap;
}

.header__phone-link {
    color: var(--color-dark);
    font-weight: 600;
    text-decoration: none;
}

.header__nav-link:focus-visible,
.header__menu-toggle:focus-visible,
.logo__link:focus-visible,
.header__phone-link:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Настольная и мобильная компоновки не переопределяют друг друга. */

@media (min-width: 1001px) {
    .header {
        padding: 15px 0;
    }

    .header__container {
        gap: 24px;
    }

    .header__nav {
        display: flex;
        align-items: center;
        gap: 30px;
    }

    .header__nav-primary,
    .header__nav-secondary {
        display: contents;
    }

    .header__nav-link--home {
        order: 0;
    }

    .header__nav-link--primary {
        order: 1;
    }

    .header__nav-link--contact {
        order: 2;
    }

    .header__nav-link--mobile,
    .header__menu-toggle {
        display: none;
    }
}

@media (max-width: 1200px) {
    .header__phone {
        display: none;
    }
}

@media (max-width: 1000px) {
    .header {
        --header-top-height: 64px;
        --header-active-color: var(--color-accent-dark);
        padding-bottom: 54px;
    }

    .header--menu-open {
        --header-nav-padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 0px));
        --header-nav-background: white;
        --header-nav-radius: 0 0 15px 15px;
        --header-nav-shadow: var(--shadow-hover);
        --header-primary-columns: minmax(0, 1fr);
        --header-primary-height: 48px;
        --header-link-height: 48px;
        --header-link-border: 1px solid var(--color-accent-light);
        --header-current-background: var(--color-light);
        --header-secondary-display: grid;
        --header-toggle-background: var(--color-accent-dark);
        --header-icon-rotation: 180deg;
        z-index: 1600;
    }

    .header__container {
        height: var(--header-top-height);
        gap: 16px;
    }

    .logo__text {
        font-size: 22px;
    }

    .header__menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-width: 116px;
        min-height: 44px;
        padding: 10px 14px;
        border: none;
        border-radius: 5px;
        background: var(--header-toggle-background, var(--color-accent));
        color: white;
        font-size: 0.95rem;
        font-weight: 700;
        cursor: pointer;
        box-shadow: var(--shadow);
        transition: background-color 0.2s;
    }

    .header__menu-toggle:hover {
        background: var(--color-accent-dark);
    }

    .header__menu-icon {
        font-size: 0.75rem;
        transform: rotate(var(--header-icon-rotation, 0deg));
        transition: transform 0.3s;
    }

    .header__nav {
        position: absolute;
        top: var(--header-top-height);
        left: 0;
        right: 0;
        display: block;
        min-width: 0;
        max-width: 100%;
        max-height: calc(100vh - var(--header-top-height));
        max-height: calc(100dvh - var(--header-top-height));
        padding: var(--header-nav-padding, var(--header-nav-default-padding, 4px 20px));
        border-top: 1px solid var(--color-accent-light);
        border-bottom: 1px solid var(--color-accent-light);
        border-radius: var(--header-nav-radius, 0);
        background: var(--header-nav-background, var(--color-light));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        box-shadow: var(--header-nav-shadow, none);
    }

    .header__nav-primary {
        display: grid;
        grid-template-columns: var(--header-primary-columns, repeat(3, minmax(0, 1fr)));
        grid-auto-rows: var(--header-primary-height, 44px);
        min-width: 0;
        width: 100%;
    }

    .header__nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: var(--header-link-height, 44px);
        padding: 8px 4px;
        border: 0;
        border-bottom: var(--header-link-border, 2px solid transparent);
        border-radius: 5px;
        background: var(--header-link-background, transparent);
        font-size: 0.9rem;
        line-height: 1.3;
        text-align: center;
    }

    .header__nav-link--primary {
        width: 100%;
    }

    .header__nav-link[aria-current="page"] {
        border-bottom-color: var(--color-accent);
        background: var(--header-current-background, transparent);
        font-weight: 700;
    }

    .header__nav-link:hover {
        background: var(--header-link-hover-background, var(--color-accent-light));
    }

    .header__nav-label-detail {
        display: none;
    }

    .header__nav-secondary {
        display: var(--header-secondary-display, none);
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--color-accent-light);
    }

    /* Во время закрытия дополнительные ссылки уходят со старого места. */

    .header--menu-closing .header__nav-secondary {
        --header-link-height: 48px;
        position: absolute;
        left: 20px;
        right: 20px;
        display: grid;
        margin-top: 0;
        pointer-events: none;
    }

    .header__nav-link--request {
        --header-link-border: 0;
        --header-link-background: var(--color-accent);
        --header-link-color: white;
        --header-link-hover-background: var(--color-accent-dark);
        --header-active-color: white;
        width: 100%;
        margin-top: 12px;
        font-family: inherit;
        cursor: pointer;
        box-shadow: var(--shadow);
    }
}

@media (max-width: 360px) {
    .header {
        --header-nav-default-padding: 4px 12px;
    }

    .header__nav-link {
        font-size: 0.82rem;
    }

    .logo__text {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header__menu-toggle,
    .header__menu-icon,
    .header__nav-link {
        transition: none;
    }
}
/* Запас для blur обрезается родительским hero. */

.hero-background {
    position: absolute;
    inset: -20px;
    z-index: 1;
    background-color: var(--color-dark);
    filter: blur(1.5px) brightness(0.6);
}

.hero-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(13, 110, 253, 0.25);
}

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

.hero-background--home .hero-background__image {
    object-position: center 5%;
}
.content-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.content-image__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 992px) {
    .content-image {
        width: 70%;
    }
}

@media (max-width: 576px) {
    .content-image {
        width: 100%;
    }
}
.contact {
    background-color: var(--color-dark);
    position: relative;
    color: white;
}

.contact__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.2);
    z-index: 1;
}

.contact__container {
    position: relative;
    z-index: 2;
}

.contact__wrapper {
    display: flex;
    gap: 50px;
    align-items: stretch;
    margin-top: 50px;
}

.contact__info {
    flex: 1.2;
    padding-right: 30px;
}

.contact__info-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
}

.contact__info-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-light);
    margin-bottom: 30px;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.contact__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    font-size: 1.4rem;
    color: var(--color-accent);
    margin-top: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact__max-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    margin-top: 5px;
}

.contact__max-symbol {
    width: 100%;
    height: 100%;
    display: block;
}

.contact__link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

    .contact__info {
        padding-right: 0;
        text-align: center;
    }

    .contact__item {
        gap: 15px;
        text-align: left;
    }
}
/* Миксы блоков настраивают кнопку через --button-*, а не порядок импорта. */

.button {
    display: inline-block;
    padding: var(--button-padding, 15px 30px);
    border: var(--button-border, none);
    border-radius: var(--button-radius, 5px);
    background: var(--button-background, var(--color-accent));
    color: var(--button-color, white);
    font-size: var(--button-font-size, 1.1rem);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--button-shadow, var(--shadow));
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.button:hover {
    background-color: var(--button-hover-background, var(--color-accent-dark));
    transform: var(--button-hover-transform, translateY(-3px));
    box-shadow: var(--button-hover-shadow, var(--shadow-hover));
}

.button--large {
    --button-padding: 15px 35px;
    --button-font-size: 18px;
}

.button--light {
    --button-background: white;
    --button-color: var(--color-accent);
    --button-hover-background: var(--color-accent-light);
}

@keyframes button-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(13, 110, 253, 0);
    }

    100% {
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .button--pulse {
        animation: button-pulse 2s infinite;
    }
}

@media (prefers-reduced-motion: reduce) {
    .button {
        transition: none;
    }
}
/* Portfolio Card */

.portfolio-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.portfolio-card__image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.portfolio-card__info {
    padding: 20px;
}

.portfolio-card__title {
    color: var(--color-dark);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.benefit-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: var(--benefit-padding, 30px);
    border-radius: 15px;
    background: white;
    text-align: var(--benefit-align, center);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.benefit-card__title {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: var(--benefit-title-spacing, 15px);
    color: var(--color-dark);
    font-size: var(--benefit-title-size, var(--benefit-default-title-size, 1.4rem));
}

.benefit-card__text {
    margin-top: auto;
    font-size: var(--benefit-text-size, var(--benefit-default-text-size, 1rem));
}

.benefit-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--benefit-icon-size, var(--benefit-default-icon-size, 80px));
    height: var(--benefit-icon-size, var(--benefit-default-icon-size, 80px));
    margin: var(--benefit-icon-margin, var(--benefit-default-icon-margin, 0 auto 20px));
    border-radius: 50%;
    background: var(--color-accent);
    color: white;
}

.benefit-card__icon-symbol {
    font-size: var(--benefit-symbol-size, var(--benefit-default-symbol-size, 1rem));
}

.benefit-card__step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    border: 5px solid var(--color-accent-light);
    border-radius: 50%;
    background: var(--color-accent);
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 70px;
}

.benefit-card--terms {
    --benefit-padding: 24px;
    --benefit-align: left;
    --benefit-title-size: 1.05rem;
    --benefit-text-size: 0.95rem;
    --benefit-icon-size: 52px;
    --benefit-icon-margin: 0 auto 20px 0;
    --benefit-symbol-size: 1.3rem;
}

@media (max-width: 992px) {
    .benefit-card {
        --benefit-title-spacing: 10px;
        --benefit-default-title-size: 1.2rem;
        --benefit-default-icon-size: 60px;
        --benefit-default-icon-margin: 0 auto 10px;
        --benefit-default-symbol-size: 2rem;
    }

    .benefit-card--terms {
        --benefit-icon-margin: 0 auto 10px 0;
    }
}

@media (max-width: 768px) {
    .portfolio-card__title {
        font-size: 1.2rem;
    }

    .benefit-card__step-number {
        margin-bottom: 20px;
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .benefit-card {
        --benefit-default-title-size: 1rem;
        --benefit-default-text-size: 0.8rem;
        --benefit-default-icon-size: 40px;
        --benefit-default-symbol-size: 1rem;
    }
}

@media (max-width: 480px) {
    .benefit-card--terms {
        --benefit-padding: 20px;
        --benefit-icon-margin: 0 auto 14px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portfolio-card,
    .benefit-card {
        transition: none;
    }
}
/* Honeypot — скрытое поле для защиты от ботов */

.callback-form__honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.contact-card {
    flex: 1;
    background: white;
    color: var(--color-dark);
    border-radius: 15px;
    padding: 50px;
    box-shadow: var(--shadow-hover);
}

.contact-card__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.contact-card__text {
    margin-bottom: 25px;
    line-height: 1.7;
    color: #555;
}

.callback-form__field {
    position: relative;
    margin-bottom: 20px;
}

.callback-form__icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.callback-form__input {
    width: 100%;
    padding: 15px 20px 15px 55px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.callback-form__input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.callback-form__field:focus-within .callback-form__icon {
    color: var(--color-accent);
}

.callback-form__button {
    --button-padding: 15px 35px;
    --button-font-size: 18px;
    width: 100%;
    margin-top: 10px;
}

.callback-form__notice {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0;
    text-align: left;
}

.form-consent__checkbox {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    cursor: pointer;
    accent-color: var(--color-accent);
}

.form-consent__label {
    /* Мельче не стоит: согласие должно оставаться читаемым */
    font-size: 0.72rem;
    line-height: 1.45;
    opacity: 0.8;
    cursor: pointer;
    font-weight: var(--consent-label-weight, 400);
    margin: var(--consent-label-margin, 0);
}

.form-consent--emphasis {
    --consent-label-weight: 600;
    --consent-label-margin: 0 0 8px;
}

.form-consent__link {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .form-consent__label {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .contact-card {
        padding: 30px 20px;
    }

    .contact-card__title {
        font-size: 1.5rem;
    }

    .contact-card__text {
        font-size: 1rem;
        line-height: 1.6;
    }

    .callback-form__input {
        padding: 12px 15px 12px 50px;
        font-size: 1rem;
    }

    .callback-form__icon {
        left: 18px;
        font-size: 1rem;
    }

    .callback-form__button {
        --button-padding: 12px;
        --button-font-size: 1rem;
    }

    .callback-form__notice {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}
/* Фон страницы остаётся на месте, пока прокручивается форма заявки. */

.page:has(.modal--open) {
    overflow: hidden;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal--open {
    opacity: 1;
    visibility: visible;
}

.modal__dialog {
    display: flex;
    max-width: 900px;
    width: 95%;
    background-color: white;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    max-height: 90vh;
    max-height: 90dvh;
}

.modal--open .modal__dialog {
    transform: scale(1);
}

.modal__info {
    flex: 1;
    background-color: var(--color-accent);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.modal__icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.modal__info-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 0 0 15px 0;
}

.modal__info-text {
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 25px;
}

.modal__benefits {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 0;
}

.modal__benefit {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal__form-panel {
    flex: 1.5;
    padding: 40px;
    position: relative;
    overflow-y: auto;
}

.modal__form-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-dark);
    margin-top: 0;
    margin-bottom: 10px;
    padding-right: 24px;
}

.modal__form-text {
    color: #555;
    margin-bottom: 25px;
}

.modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.modal__close:hover {
    color: var(--color-accent);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .modal__dialog {
        flex-direction: column;
        width: 90%;
    }

    .modal__info {
        display: none;
    }

    .modal__form-panel {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .modal__form-panel {
        padding: 28px 20px;
    }

    .modal__form-title {
        font-size: 1.4rem;
        line-height: 1.35;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modal,
    .modal__dialog,
    .modal__close {
        transition: none;
    }
}
.footer {
    background: var(--color-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer__title {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.5px;
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--color-accent);
}

.footer__link,
.footer__text {
    max-width: 400px;
    margin-bottom: 10px;
    display: flex;
    text-decoration: var(--footer-link-decoration, none);
    color: var(--color-light);
}

.footer__icon {
    margin-right: 10px;
    color: var(--color-accent-light);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
}

.social-links__link:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
}

.social-links__max-icon {
    display: block;
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }

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

.footer__link {
    align-items: var(--footer-link-align, center);
}

.footer__text {
    align-items: flex-start;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.footer__document-link {
    --footer-link-align: flex-start;
    line-height: 1.5;
    overflow-wrap: anywhere;
    --footer-link-decoration: underline;
}

.footer__icon--top {
    flex-shrink: 0;
    margin-top: 3px;
}

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

@media (prefers-reduced-motion: reduce) {
    .social-links__link {
        transition: none;
    }
}
/* Back to Top Button */

.back-to-top {
    position: fixed;
    bottom: 70px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease, background-color 0.4s ease;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.back-to-top:hover {
    background: var(--color-accent-dark);
    transform: translateY(-5px);
}

/* Notifications */

.notifications {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 320px;
    width: calc(100% - 40px);
}

.notification {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid var(--notification-color);
    border-radius: 10px;
    background: white;
    color: #333;
    overflow-wrap: anywhere;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease, height 0.2s ease,
        padding-top 0.2s ease, padding-bottom 0.2s ease, margin-bottom 0.2s ease;
}

.notification::before {
    content: var(--notification-icon);
    color: var(--notification-color);
    font-family: "Font Awesome 5 Free";
    font-size: 1.2rem;
    font-weight: 900;
}

.notification--success {
    --notification-color: #28a745;
    --notification-icon: "";
}

.notification--error {
    --notification-color: #dc3545;
    --notification-icon: "";
}

.notification--entering {
    transform: translateY(var(--notification-enter-offset));
    opacity: 0;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    overflow: hidden;
}

.notification--leaving {
    opacity: 0;
    transition-property: opacity;
}

/* Cookie Consent */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /* Ниже модалки (2000), выше шапки (1000): открытое окно заявки не перекрывается */
    z-index: 1500;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 24px;
    /* Учитываем «шторку» на iPhone, иначе кнопки уезжают под неё */
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    background: var(--color-dark);
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.25);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.4s ease, visibility 0s 0.4s;
}

.cookie-consent--visible {
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
}

.cookie-consent__text {
    /* ~85 символов в строке — дальше текст читается плохо */
    max-width: 100ch;
    margin: 0 auto 0 0;
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.85;
}

.cookie-consent__link {
    color: white;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent__button {
    --button-padding: 10px 22px;
    --button-font-size: 0.9rem;
    --button-shadow: none;
    --button-hover-shadow: none;
    --button-hover-transform: none;
    white-space: nowrap;
}

.cookie-consent__button--outline {
    --button-background: transparent;
    --button-border: 1px solid rgba(255, 255, 255, 0.45);
    --button-hover-background: rgba(255, 255, 255, 0.12);
}

.cookie-consent__button--outline:hover {
    border-color: rgba(255, 255, 255, 0.7);
}

/* Планшеты и узкие окна: текст над кнопками */

@media (max-width: 900px) {
    .cookie-consent {
        flex-wrap: wrap;
        gap: 14px;
        padding: 16px 20px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }

    .cookie-consent__text {
        max-width: 100%;
        flex-basis: 100%;
    }

    .cookie-consent__actions {
        width: 100%;
    }

    .cookie-consent__button {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .cookie-consent {
        padding: 14px 16px;
        padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        /* Очень длинный текст на маленьком экране не должен занимать половину высоты */
        max-height: 60vh;
        overflow-y: auto;
    }

    .cookie-consent__text {
        font-size: 0.8rem;
        line-height: 1.55;
    }

    .cookie-consent__button {
        --button-padding: 12px 16px;
        --button-font-size: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top,
    .cookie-consent {
        transition: none;
    }

    .notification {
        transition: none;
    }

    .notification--entering {
        opacity: 1;
        transform: none;
    }
}
.service-overview {
    padding: clamp(48px, 7vw, 100px) 0;
}

.service-overview__layout {
    --container-width: 1240px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
}

.service-overview__visual {
    order: var(--overview-visual-order, 0);
    min-width: 0;
}

.service-overview__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-hover);
}

.service-overview__eyebrow {
    color: var(--color-accent-dark);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-overview__title {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 20px;
    text-wrap: balance;
}

.service-overview__description {
    color: #555;
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.service-overview__benefits {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 30px;
}

.service-overview__benefit {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.service-overview__icon {
    color: var(--color-accent);
    flex-shrink: 0;
}

.service-overview__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.service-overview__details {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--color-accent-dark);
    text-decoration: none;
    font-weight: 700;
}

.service-overview__details:hover {
    text-decoration: underline;
}

.service-overview__button {
    --button-font-size: 1rem;
    --button-padding: 14px 22px;
}

.service-overview__details:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

@media (min-width: 769px) {
    .service-overview--reverse {
        --overview-visual-order: 2;
    }
}

@media (max-width: 768px) {
    .service-overview__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .service-overview__image {
        aspect-ratio: 4 / 3;
        border-radius: 18px;
    }

    .service-overview__description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .service-overview__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .service-overview__button {
        width: 100%;
    }

    .service-overview__details {
        justify-content: center;
    }
}

/* стили для конкретных страниц */

.hero {
    position: relative;
    padding: clamp(56px, 8vw, 112px) 0;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 1020px;
    margin: 0 auto;
}

.hero__eyebrow {
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
}

.hero__title {
    margin-bottom: 24px;
    font-size: clamp(2rem, 4.4vw, 4rem);
    line-height: 1.18;
    text-wrap: balance;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero__location {
    font-family: var(--font-body);
    display: block;
    margin-top: 18px;
    font-size: 0.58em;
    font-weight: 600;
}

.hero__description {
    max-width: 680px;
    margin: 0 auto 32px;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-weight: 600;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.hero__button {
    --button-padding: 15px 35px;
    --button-font-size: 18px;
    --button-radius: 10px;
}

.hero__services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 28px;
    margin-top: 28px;
}

.hero__service-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
}

.hero__service-link:hover {
    border-color: white;
}

.hero__service-link:focus-visible {
    outline: 3px solid white;
    outline-offset: 4px;
}

.company__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    --container-width: 1140px;
}

.company__photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
}

.company__eyebrow {
    color: var(--color-accent-dark);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.company__title {
    color: var(--color-dark);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.2;
    margin-bottom: 24px;
}

.company__description {
    margin-bottom: 24px;
    color: #555;
}

.company__name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.company__role {
    color: var(--color-accent-dark);
    margin-bottom: 16px;
}

.company__contacts {
    display: grid;
    gap: 8px;
}

.company__contact {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 600;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-wrap: anywhere;
}

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

.company__contact:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

@media (max-width: 768px) {
    .hero__button {
        --button-padding: 15px;
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .company__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .company__photo-wrapper {
        max-width: 380px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero__eyebrow {
        margin-bottom: 20px;
        font-size: 0.8rem;
    }

    .hero__services {
        gap: 8px 18px;
        font-size: 0.85rem;
    }
}
.hero-service,
.service-cta {
    position: relative;
    padding: 260px 0;
    overflow: hidden;
    color: white;
    text-align: center;
}

.hero-service__content {
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.hero-service__title {
    margin-bottom: 10px;
    font-size: clamp(1.2rem, 5.5vw, 3.5rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
    text-wrap: balance;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-service__subtitle {
    font-size: clamp(1.15rem, 3.4vw, 2.2rem);
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
    text-wrap: balance;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-service__description,
.service-cta__description {
    max-width: 800px;
    margin: 20px auto 40px;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 500;
}

.hero-service__description {
    line-height: 1.4;
    text-wrap: balance;
}

.hero-service__button,
.service-cta__button {
    --button-padding: 15px 35px;
    --button-font-size: 18px;
}

.service-cta {
    background: var(--color-accent);
}

.service-cta__title {
    font-size: clamp(1.5rem, 3.4vw, 2.7rem);
    overflow-wrap: anywhere;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.service-description {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-description__text {
    flex: 1.2;
}

.service-description__title {
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: 2.5rem;
}

.service-description__paragraph {
    font-size: 1rem;
}

@media (max-width: 992px) {
    .hero-service,
    .service-cta {
        padding: 90px 0;
    }
}

@media (max-width: 768px) {
    .hero-service,
    .service-cta {
        padding: 70px 0;
    }

    .hero-service__description,
    .service-cta__description {
        margin: 15px auto 25px;
    }

    .hero-service__button,
    .service-cta__button {
        --button-padding: 15px;
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .service-description {
        flex-direction: column;
    }

    .service-description__title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-service,
    .service-cta {
        padding: 60px 0;
    }

    .service-description__title {
        font-size: 1.5rem;
    }

    .service-description__paragraph {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-service,
    .service-cta {
        padding: 50px 0;
    }

    .hero-service__content {
        padding: 0 10px;
    }
}
.calculator {
    max-width: 700px;
    margin: 30px auto 0;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--color-accent-light);
    text-align: center;
}

.calculation {
    min-height: 80vh;
}

.calculator__step {
    margin-bottom: 40px;
}

.calculator__step:last-child {
    margin-bottom: 0;
}

.calculator__step-label {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-dark);
    display: block;
    margin-bottom: 20px;
}

.calculator__area {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.calculator__range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 12px;
    background: var(--color-accent-light);
    border-radius: 6px;
    outline: none;
    margin-top: 15px;
}

.calculator__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    background: var(--color-accent);
    cursor: pointer;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.calculator__range::-moz-range-thumb {
    width: 30px;
    height: 30px;
    background: var(--color-accent);
    cursor: pointer;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.calculator__price-wrapper {
    background: var(--color-light);
    padding: 25px;
    border-radius: 15px;
}

.calculator__price {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.5px;
    font-size: 3.5rem;
    color: var(--color-accent);
    margin: 15px 0;
    transition: transform 0.3s ease;
}

.calculator__price--updated {
    transform: scale(1.08);
}

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

.calculator__button {
    --button-padding: 15px 35px;
    --button-font-size: 18px;
    width: 100%;
    max-width: 400px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 992px) {
    .calculator__price {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .calculator {
        padding: 30px 25px;
    }

    .calculator__step {
        margin-bottom: 30px;
    }

    .calculator__step-label {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .calculator__area {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .calculator__range {
        height: 10px;
    }

    .calculator__range::-webkit-slider-thumb {
        width: 26px;
        height: 26px;
    }

    .calculator__range::-moz-range-thumb {
        width: 26px;
        height: 26px;
    }

    .calculator__price-wrapper {
        padding: 20px;
    }

    .calculator__note {
        margin-top: 25px;
        font-size: 0.85rem;
    }

    .calculator__button {
        --button-padding: 12px 15px;
        --button-font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .calculator__price {
        transition: none;
    }

    .calculator__price--updated {
        transform: none;
    }
}

@media (max-width: 576px) {
    .calculator__price {
        font-size: 2rem;
    }
}
/* Shared error page */

.page-error {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-error__content {
    padding: 60px 0;
}

.page-error__number {
    font-size: 8rem;
    font-family: var(--font-heading);
    color: var(--color-accent);
    margin: 0;
    line-height: 1;
}

.page-error__title {
    font-size: 2rem;
    margin: 20px 0 10px;
}

.page-error__text {
    font-size: 1.1rem;
    color: #888;
    max-width: 500px;
    margin: 0 auto 40px;
}

.page-error__btn-wrapper {
    margin-bottom: 40px;
}
/* Юридические документы (политика обработки ПДн) */

.legal-doc {
    max-width: 860px;
    margin: 0 auto;
    text-align: left;
}

.legal-doc__title {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 10px;
}

.legal-doc__heading {
    font-size: 1.3rem;
    margin: 36px 0 14px;
}

.legal-doc__paragraph {
    margin-bottom: 14px;
    line-height: 1.7;
}

.legal-doc__meta {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 14px;
}

.legal-doc__list {
    margin: 0 0 16px 22px;
    padding: 0;
    list-style: disc;
}

.legal-doc__list-item {
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-doc__link {
    color: var(--color-accent);
    text-decoration: underline;
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .legal-doc__title {
        font-size: 1.6rem;
    }

    .legal-doc__heading {
        font-size: 1.15rem;
        margin-top: 28px;
    }

    .legal-doc__paragraph,
    .legal-doc__list-item {
        font-size: 0.95rem;
    }
}
