/*
Theme Name: Velerbu Starter
Theme URI:
Author: Velerbu
Description: Universal WooCommerce starter theme
Version: 1.0
Text Domain: velerbu-starter
*/

/* ---------- ОСНОВА ---------- */

:root {
    --p48-blue: #2f4a80;
    --p48-blue-dark: #20365f;
    --p48-burgundy: #590813;
    --p48-text: #202631;
    --p48-muted: #687184;
    --p48-bg: #f5f7fb;
    --p48-white: #ffffff;
    --p48-border: #e3e8f0;
    --p48-radius: 18px;
    --p48-shadow: 0 14px 40px rgba(31, 49, 83, 0.08);
    --p48-transition: 0.25s ease;
}

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

body {
    margin: 0;
    color: var(--p48-text);
    background: var(--p48-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.65;
}

body,
button,
input,
select,
textarea {
    font-family: 'Inter', sans-serif;
}

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

a {
    color: var(--p48-blue);
    text-decoration: none;
    transition: color var(--p48-transition);
}

a:hover {
    color: var(--p48-burgundy);
}

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

button,
.button {
    cursor: pointer;
}




/* ---------- ШАПКА САЙТА ---------- */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-container {
    width: min(1600px, calc(100% - 48px));
    min-height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 65px;
}

/* Логотип */

.header-logo {
    flex: 0 0 auto;
}

.header-logo .logo-image {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    white-space: nowrap;
}

.header-logo .logo-image img {
    display: block;
    width: auto;
    height: 250px;
    max-width: 192px;
    max-height: 90px;
    object-fit: contain;
    padding: 10px 0px;
}

.logo-title {
    color: #fff;
    font-size: 32px;
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.7px;
}

.logo-title-accent {
    color: #3C9EE5;
}

/* Навигация и контакты */

.header-panel {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1 1 auto;
    min-width: 0;
    gap: 28px;
}

/* Меню */

.main-menu {
    flex: 0 1 auto;
    min-width: 0;
    margin-right: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-nav li {
    margin: 0;
    padding: 0;
}

.header-nav a {
    display: inline-block;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.25s ease;
}

.header-nav a:hover,
.header-nav .current-menu-item > a {
    color: #dce7ff;
}

/* Правая часть шапки */

.header-right {
    flex: 0 0 auto;
    margin-left: auto;
}

/* ---------- КОНТАКТЫ В ШАПКЕ ---------- */

.header-contacts {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 22px;
}

/* График работы */

.header-hours {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    color: #F4F8FE;
    text-align: left;
}

.header-hours__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.header-hours__schedule {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    opacity: 0.9;
}

/* Разделитель */

.header-contacts-divider {
    width: 1px;
    height: 42px;
    flex: 0 0 1px;
    background: rgba(244, 248, 254, 0.3);
}

/* Телефоны */

.header-phones {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
}

.header-phone {
    display: block;
    padding: 0 0 0 30px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    background: url("/wp-content/themes/velerbu-starter/assets/images/icon_phone.svg") no-repeat 0 50%;
    transition: opacity 0.2s ease;
}

.header-phone:hover {
    color: #F4F8FE;
    opacity: 0.75;
}

/* Бургер */

.mobile-burger {
    display: none;
}

.menu-overlay {
    display: none;
}

/* ---------- ПЛАНШЕТЫ И НЕБОЛЬШИЕ НОУТБУКИ ---------- */

@media (max-width: 1200px) {
    .header-container {
        gap: 24px;
    }

    .header-panel {
        gap: 20px;
    }

    .header-nav {
        gap: 14px;
    }

    .header-nav a {
        font-size: 12px;
    }

    .header-contacts {
        gap: 12px;
    }

    .header-phone {
        padding-left: 23px;
        font-size: 14px;
        background-size: 18px auto;
    }

    .header-hours span:first-child {
        font-size: 12px;
    }

    .header-hours span:last-child {
        font-size: 10px;
    }
}

/* ---------- МОБИЛЬНЫЕ ---------- */

@media (max-width: 700px) {
    .header-container {
        width: calc(100% - 32px);
        min-height: 80px;
        justify-content: space-between;
        gap: 12px;
    }

    .header-logo .logo-image {
        gap: 8px;
    }

    .header-logo .logo-image img {
        height: 38px;
    }

    .logo-title {
        font-size: 21px;
    }

    .mobile-burger {
        display: flex;
        flex: 0 0 auto;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 8px;
        background: rgba(3, 29, 64, 0.7);
        cursor: pointer;
    }

    .mobile-burger span {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: #fff;
    }

    .header-panel {
        display: none;
    }
}



/* =========================================
   HERO — ПЕРВЫЙ ЭКРАН ПОВЕРКА48
========================================= */

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 680px;
    padding: 80px 0 0px;
    overflow: hidden;
    background-color: #071a2a;
    background-image:
        linear-gradient(
            90deg,
            rgba(3, 19, 32, 0.97) 0%,
            rgba(4, 24, 40, 0.90) 48%,
            rgba(4, 24, 40, 0.48) 76%,
            rgba(4, 24, 40, 0.15) 100%
        ),
        url("assets/images/hero-bg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}

.hero-container {
    position: relative;
    z-index: 1;
    width: min(1600px, calc(100% - 76px));
    margin-inline: auto;
}

.hero-content {
    width: 100%;
    max-width: 900px;
}

/* Заголовок */

.hero-title,
.hero h1 {
    max-width: 800px;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(36px, 4vw, 60px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.2px;
}

.hero-title span {
    color: #39a1f2;
}

/* Подзаголовок */

.hero-subtitle {
    display: block;
    max-width: 650px;
    margin: 35px 0px;
    color: rgba(244, 248, 254, 0.94);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0;
    text-transform: none;
}

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

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 770px;
    margin: 0 0 30px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
}

.hero-feature-icon {
    display: flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 48px;
    color: #32a7fa;
}

.hero-feature-icon svg {
    display: block;
    width: 44px;
    height: 48px;
}

.hero-feature-content {
    min-width: 0;
}

.hero-feature-content strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.hero-feature-content span {
    display: block;
    color: rgba(244, 248, 254, 0.84);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}

/* Цена */

.hero-price {
    display: grid;
    grid-template-columns: minmax(210px, 0.9fr) 1px minmax(250px, 1.1fr);
    align-items: center;
    gap: 28px;
    max-width: 650px;
    min-height: 68px;
    margin: 40px 0px;
    padding: 10px 22px;
    border: 1px solid rgba(42, 151, 237, 0.55);
    border-radius: 7px;
    background: rgba(19, 55, 89, 0.72);
}

.hero-price-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: url(/wp-content/themes/velerbu-starter/assets/images/icon_price.svg) no-repeat 0% 50%;
    background-size: contain;
    padding: 0px 0px 0px 80px;
}

.hero-price-label {
    color: #c5d8ec;
    font-size: 15px;
    line-height: 1.35;
}

.hero-price-main strong {
    color: #fff;
    font-size: 29px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.3px;
}

.hero-price-divider {
    align-self: stretch;
    width: 1px;
    min-height: 42px;
    background: rgba(244, 248, 254, 0.65);
}

.hero-price-note {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #c5d8ec;
    font-size: 15px;
    line-height: 1.2;
}

/* Кнопки */

.hero-actions {
    display: grid;
    grid-template-columns: 1.12fr 1.08fr 0.88fr;
    gap: 12px;
    max-width: 850px;
}

.hero .hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    min-height: 48px;
    padding: 11px 17px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.hero .hero-button > svg {
    display: block;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
}

.hero .hero-button:hover {
    transform: translateY(-2px);
    color: #fff;
}

.hero .hero-button-primary {
    justify-content: space-between;
    background: #a90032;
}

.hero .hero-button-primary:hover {
    background: #c10b43;
}

.hero-button-arrow {
    font-size: 27px;
    font-weight: 400;
    line-height: 0.8;
}

.hero .hero-button-blue {
    background: #0874df;
    border-color: #3da2ff;
}

.hero .hero-button-blue:hover {
    background: #1688f4;
}

.hero .hero-button-outline {
    background: rgba(5, 23, 38, 0.35);
    border-color: rgba(151, 207, 246, 0.85);
}

.hero .hero-button-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Планшеты */

@media (max-width: 1000px) {
    .hero {
        min-height: 650px;
        padding: 125px 0 48px;
    }

    .hero-container {
        width: calc(100% - 48px);
    }

    .hero-content {
        max-width: 760px;
    }

    .hero-title,
    .hero h1 {
        font-size: clamp(34px, 4.8vw, 48px);
    }

    .hero-features {
        gap: 18px;
    }

    .hero-price,
    .hero-actions {
        max-width: 760px;
    }
}

/* Телефоны */

@media (max-width: 767px) {
    .hero {
        min-height: auto;
        padding: 120px 0 42px;
        background-position: 65% center;
    }

    .hero-container {
        width: calc(100% - 36px);
    }

    .hero-content {
        max-width: none;
    }

    .hero-title,
    .hero h1 {
        margin-bottom: 15px;
        font-size: clamp(31px, 8vw, 43px);
        line-height: 1.12;
        letter-spacing: -0.8px;
    }

    .hero-subtitle {
        max-width: 520px;
        margin-bottom: 23px;
        font-size: 13px;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 24px;
    }

    .hero-feature-icon {
        flex-basis: 32px;
        width: 32px;
        height: 34px;
    }

    .hero-feature-icon svg {
        width: 30px;
        height: 32px;
    }

    .hero-feature-content span {
        max-width: 280px;
        font-size: 11px;
    }

    .hero-price {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
        margin-bottom: 18px;
    }

    .hero-price-main strong {
        font-size: 28px;
    }

    .hero-price-divider {
        width: 100%;
        min-height: 1px;
        height: 1px;
    }

    .hero-price-note {
        font-size: 11px;
    }

    .hero-actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero .hero-button {
        width: 100%;
        min-height: 48px;
        justify-content: center;
        font-size: 13px;
    }

    .hero .hero-button-primary {
        justify-content: space-between;
    }
}

@media (max-width: 380px) {
    .hero-container {
        width: calc(100% - 28px);
    }

    .hero-title,
    .hero h1 {
        font-size: 30px;
    }
}






.container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 100px 0;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--p48-burgundy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading h2,
.calculator-content h2,
.promo-content h2 {
    margin: 0 0 20px;
    color: var(--p48-blue-dark);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.section-heading > p {
    margin: 0;
    color: var(--p48-muted);
    font-size: 16px;
    line-height: 1.8;
}

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border: 0;
    border-radius: 9px;
    background: var(--p48-blue);
    color: var(--p48-white);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition:
        background var(--p48-transition),
        transform var(--p48-transition),
        box-shadow var(--p48-transition);
}

.button:hover {
    transform: translateY(-2px);
    background: var(--p48-blue-dark);
    color: var(--p48-white);
    box-shadow: 0 8px 22px rgba(47, 74, 128, 0.2);
}

.button-primary {
    background: var(--p48-burgundy);
}

.button-primary:hover {
    background: #760f20;
}


/* ---------- ПЕРВЫЙ ЭКРАН ---------- */
/* Сохраняем совместимость с hero.php */
/*
.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background-color: var(--p48-blue-dark);
    background-image:
        linear-gradient(
            90deg,
            rgba(18, 34, 62, 0.88) 0%,
            rgba(25, 43, 75, 0.72) 50%,
            rgba(25, 43, 75, 0.2) 100%
        ),
        var(--hero-bg);
    background-position: center;
    background-size: cover;
    color: var(--p48-white);
}

.hero-container,
.hero .container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 40px;
}

.hero-content {
    max-width: 760px;
}

.hero-subtitle {
    display: inline-block;
    margin-bottom: 18px;
    color: #dbe6ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-title,
.hero h1 {
    margin: 0 0 24px;
    color: var(--p48-white);
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.hero-divider {
    width: 70px;
    height: 4px;
    margin: 0 0 24px;
    border-radius: 10px;
    background: #d7a9b0;
}

.hero-text,
.hero-content > p {
    max-width: 620px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 1.8;
}

.hero .button,
.hero .hero-button {
    margin-top: 5px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 55px;
}

.hero-feature {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.hero-feature h3,
.hero-feature-title {
    margin: 0 0 8px;
    color: var(--p48-white);
    font-size: 15px;
    font-weight: 700;
}

.hero-feature p,
.hero-feature-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.65;
}
*/

/* ---------- ПРЕИМУЩЕСТВА ---------- */

.about {
    background: var(--p48-white);
}

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

.about-card {
    position: relative;
    overflow: hidden;
    padding: 35px 30px;
    border: 1px solid var(--p48-border);
    border-radius: var(--p48-radius);
    background: var(--p48-white);
    transition:
        transform var(--p48-transition),
        box-shadow var(--p48-transition),
        border-color var(--p48-transition);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: #c5d1e6;
    box-shadow: var(--p48-shadow);
}

.about-card__number {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border-radius: 13px;
    background: #edf2fb;
    color: var(--p48-blue);
    font-size: 14px;
    font-weight: 800;
}

.about-card h3 {
    margin: 0 0 12px;
    color: var(--p48-blue-dark);
    font-size: 20px;
    line-height: 1.35;
}

.about-card p {
    margin: 0;
    color: var(--p48-muted);
    font-size: 14px;
    line-height: 1.8;
}



/* =========================================
   5 ПРОСТЫХ ШАГОВ — ПОВЕРКА48
========================================= */

.steps {
    position: relative;
    padding: 52px 0;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 70% 45%,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(241, 247, 253, 0.96) 65%,
            #eaf2fb 100%
        );
    color: var(--p48-blue-dark);
}

.steps *,
.steps *::before,
.steps *::after {
    box-sizing: border-box;
}

.steps-layout {
    width: min(1600px, calc(100% - 64px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(250px, 0.95fr) minmax(0, 3fr);
    align-items: center;
    gap: 38px;
}

/* Левая колонка */

.steps-intro {
    min-width: 0;
}

.steps-eyebrow {
    display: block;
    margin-bottom: 13px;
    color: #6482aa;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.steps-heading {
    margin: 0 0 15px;
    color: #18375e;
    font-size: clamp(25px, 2vw, 30px);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.6px;
}

.steps-intro-text {
    max-width: 390px;
    margin: 0 0 22px;
    color: #647b98;
    font-size: 14px;
    line-height: 1.65;
}

/* Бордовая кнопка */

.steps-cta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 13px;
    width: fit-content;
    max-width: 100%;
    min-height: 56px;
    padding: 12px 28px;
    border-radius: 999px;
    background: #800d2c;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(128, 13, 44, 0.12);
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.steps-cta:hover {
    background: #650820;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(128, 13, 44, 0.2);
}

.steps-cta > svg:first-child {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
}

.steps-cta-arrow {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    margin-left: 7px;
}

/* Общая панель пяти шагов */

.steps-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-width: 0;
    padding: 8px 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.42);
}

/* Одна карточка шага */

.steps-item {
    position: relative;
    min-width: 0;
    padding: 8px 17px 10px;
    border-right: 1px solid rgba(47, 74, 128, 0.08);
}

.steps-item:last-child {
    border-right: 0;
}

/* Номер, иконка и стрелка */

.steps-item-top {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 36px;
    margin-bottom: 13px;
}

.steps-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(145deg, #2769b8, #104889);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 3px 8px rgba(24, 75, 137, 0.15);
}

.steps-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    color: #2460a5;
}

.steps-icon svg {
    display: block;
    width: 50px;
    height: 50px;
}

.steps-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 20px;
    margin-left: auto;
    color: #8ca4c2;
}

.steps-next svg {
    display: block;
    width: 17px;
    height: 17px;
}

/* Заголовок и описание шага */

.steps-item-title {
    margin: 0 0 12px;
    color: #18375e;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: break-word;
}

.steps-item-text {
    margin: 0;
    color: #7186a2;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    overflow-wrap: break-word;
}

/* Планшеты и небольшие ноутбуки */

@media (max-width: 1100px) {
    .steps {
        padding: 44px 0;
    }

    .steps-layout {
        grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2fr);
        gap: 24px;
        width: calc(100% - 40px);
    }

    .steps-item {
        padding-inline: 10px;
    }

    .steps-item-top {
        gap: 8px;
    }

    .steps-number {
        flex-basis: 29px;
        width: 29px;
        height: 29px;
    }

    .steps-icon,
    .steps-icon svg {
        width: 23px;
        height: 23px;
    }

    .steps-next {
        width: 12px;
    }

    .steps-item-title {
        font-size: 11px;
    }

    .steps-item-text {
        font-size: 10px;
    }
}

/* Мобильная версия */

@media (max-width: 760px) {
    .steps {
        padding: 42px 0;
    }

    .steps-layout {
        width: calc(100% - 36px);
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .steps-heading {
        font-size: clamp(27px, 6vw, 34px);
    }

    .steps-intro-text {
        max-width: 440px;
    }

    .steps-track {
        grid-template-columns: minmax(0, 1fr);
        padding: 0;
        background: rgba(255, 255, 255, 0.5);
    }

    .steps-item {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 13px;
        padding: 19px 15px;
        border-right: 0;
        border-bottom: 1px solid rgba(47, 74, 128, 0.12);
    }

    .steps-item:last-child {
        border-bottom: 0;
    }

    .steps-item-top {
        grid-column: 1;
        grid-row: 1 / span 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin: 0;
    }

    .steps-number {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .steps-icon,
    .steps-icon svg {
        width: 25px;
        height: 25px;
    }

    .steps-next {
        display: none;
    }

    .steps-item-title {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        margin-bottom: 7px;
        font-size: 13px;
    }

    .steps-item-text {
        grid-column: 2;
        grid-row: 2;
        font-size: 12px;
    }
}


/* =========================================
   CALCULATOR — УЗНАТЬ ЦЕНУ
========================================= */

.calculator {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 68px 0 100px;
    background-color: #e8f4ff;
    background-image:
        linear-gradient(
            90deg,
            rgba(226, 242, 255, 0.72),
            rgba(239, 248, 255, 0.62)
        ),
        url("/wp-content/themes/velerbu-starter/assets/images/bg_counters.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.calculator-container {
    position: relative;
    z-index: 1;
    width: min(1600px, calc(100% - 80px));
    margin: 0 auto;
}

/* Заголовок */

.calculator-heading {
    margin: 0 0 54px;
    text-align: center;
}

.calculator-heading h2 {
    margin: 0 0 12px;
    color: #102b58;
    font-size: clamp(44px, 5vw, 76px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
}

.calculator-heading h2 span {
    color: #0878f9;
}

.calculator-heading p {
    margin: 0;
    color: #6686b1;
    font-size: clamp(21px, 2.4vw, 37px);
    font-weight: 600;
    line-height: 1.35;
}

/* Общая панель */

.calculator-panel {
    padding: 38px 5.5%;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 12px 40px rgba(37, 110, 185, 0.10);
    backdrop-filter: blur(12px);
}

.price-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(250px, 0.82fr);
    align-items: center;
    gap: clamp(28px, 4vw, 72px);
    margin: 0;
}

.calculator-fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.calculator-field {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.calculator-field > label {
    margin: 0;
    color: #102d50;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

/* Поля ввода */

.calculator-field input[type="text"],
.calculator-field input[type="tel"],
.calculator-field select {
    box-sizing: border-box;
    width: 100%;
    height: 62px;
    min-width: 0;
    padding: 0 23px;
    border: 1px solid #d7e5f6;
    border-radius: 10px;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    color: #17375f;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.calculator-field input::placeholder {
    color: #999;
    opacity: 1;
}

.calculator-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236681a4' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 44px;
    color: #888;
    cursor: pointer;
}

.calculator-field input:focus,
.calculator-field select:focus {
    border-color: #2689f6;
    box-shadow: 0 0 0 3px rgba(38, 137, 246, 0.1);
}

/* Счётчик количества */

.meter-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 290px;
    height: 61px;
    padding: 0 18px;
    border: 1px solid #d0e3fa;
    border-radius: 12px;
    background: rgba(237, 246, 255, 0.8);
}

.meter-counter output {
    min-width: 40px;
    color: #102b50;
    font-size: 21px;
    font-weight: 700;
    text-align: center;
}

.meter-counter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    padding: 0;
    border: 1px solid #e4effb;
    border-radius: 13px;
    background: #fff;
    color: #0878f9;
    font-family: inherit;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 3px 9px rgba(29, 94, 164, 0.08);
    transition: background 0.2s ease, transform 0.2s ease;
}

.meter-counter-btn:hover {
    background: #eaf4ff;
    transform: translateY(-1px);
}

/* Выбор расположения */

.meter-location {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;
    min-height: 42px;
}

.meter-location-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin: 0;
    color: #102d50;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.meter-location-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.custom-radio {
    position: relative;
    display: inline-block;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid #d1e0ef;
    border-radius: 50%;
    background: #edf5fd;
}

.meter-location-option input:checked + .custom-radio::after {
    position: absolute;
    top: 9px;
    left: 9px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #38a0eb;
    content: "";
}

.meter-location-option input:focus-visible + .custom-radio {
    outline: 2px solid #0878f9;
    outline-offset: 3px;
}

/* Подсказка */

.calculator-help {
    padding-top: 4px;
}

.calculator-help strong {
    display: block;
    margin-bottom: 15px;
    color: #102d50;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.4;
}

.calculator-help p {
    margin: 0;
    color: #607d9f;
    font-size: 14px;
    line-height: 1.45;
}

/* Стоимость и отправка */

.calculator-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 38px;
    min-width: 0;
}

.calculator-total {
    padding: 30px 26px;
    border-radius: 17px;
    background: rgba(232, 243, 255, 0.85);
}

.calculator-total > strong {
    display: block;
    margin-bottom: 13px;
    color: #102d50;
    font-size: 16px;
    font-weight: 750;
}

.calculator-digits {
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.calculator-digits .digit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 37px;
    border-radius: 6px;
    background: #122b50;
    color: #fff;
    font-size: 21px;
    font-weight: 750;
    line-height: 1;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.calculator-digits .digit-red {
    background: #e42d35;
}

.calculator-digits .digit-separator {
    color: #17375f;
    font-size: 22px;
    font-weight: 800;
}

.calculator-currency {
    margin-left: 3px;
    color: #6682a4;
    font-size: 18px;
    font-weight: 700;
}

.calculator-total small {
    display: block;
    margin-top: 12px;
    color: #607d9f;
    font-size: 11px;
    line-height: 1.5;
}

.calculator-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    min-height: 82px;
    padding: 18px 24px;
    border: 0;
    border-radius: 999px;
    background: #0878f9;
    color: #fff;
    font-family: inherit;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(8, 120, 249, 0.18);
    transition: background 0.2s ease, transform 0.2s ease;
}

.calculator-submit:hover {
    transform: translateY(-2px);
    background: #0069e5;
}

.calculator-submit svg {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
}

.calculator-consent {
    margin: -23px 0 0;
    color: #69809a;
    font-size: 10px;
    line-height: 1.5;
}

.calculator-consent a {
    color: #315e94;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Планшеты */

@media (max-width: 1100px) {
    .calculator-container {
        width: calc(100% - 48px);
    }

    .calculator-panel {
        padding: 32px;
    }

    .price-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .calculator-result {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        gap: 24px;
    }

    .calculator-consent {
        grid-column: 1 / -1;
        margin-top: -12px;
    }

    .calculator-total {
        padding: 24px;
    }
}

/* Телефоны */

@media (max-width: 680px) {
    .calculator {
        padding: 48px 0 60px;
        background-position: center;
    }

    .calculator-container {
        width: calc(100% - 28px);
    }

    .calculator-heading {
        margin-bottom: 30px;
    }

    .calculator-heading h2 {
        font-size: clamp(38px, 10vw, 54px);
        letter-spacing: -1.5px;
    }

    .calculator-heading p {
        font-size: 19px;
    }

    .calculator-panel {
        padding: 23px 18px;
        border-radius: 16px;
    }

    .price-form {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .calculator-fields {
        gap: 22px;
    }

    .calculator-field {
        gap: 11px;
    }

    .calculator-field > label {
        font-size: 14px;
    }

    .calculator-field input[type="text"],
    .calculator-field input[type="tel"],
    .calculator-field select {
        height: 55px;
        padding-left: 15px;
        font-size: 14px;
    }

    .meter-counter {
        max-width: none;
    }

    .calculator-result {
        grid-column: auto;
        display: flex;
        gap: 20px;
    }

    .calculator-total {
        padding: 23px 16px;
    }

    .calculator-digits {
        gap: 2px;
    }

    .calculator-digits .digit {
        flex: 1 1 0;
        min-width: 0;
        height: 35px;
        font-size: 18px;
    }

    .calculator-submit {
        min-height: 64px;
        font-size: 19px;
    }

    .calculator-consent {
        margin-top: -10px;
    }
}


#price-settlement-status {
    margin-top: 6px;
    color: #c43d43;
    font-size: 13px;
    line-height: 1.4;
}

#price-settlement-status[hidden] {
    display: none !important;
}

.calculator-settlement-control {
    position: relative;
}

.calculator-settlement-control::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #2f4a80;
    border-bottom: 2px solid #2f4a80;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
    transition: transform 0.2s ease;
}

.calculator-settlement-control:focus-within::after {
    transform: translateY(-30%) rotate(225deg);
}
/* ========================================
   CALCULATOR SUCCESS POPUP
======================================== */

.calculator-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.calculator-popup.is-visible {
    opacity: 1;
    visibility: visible;
}

.calculator-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 20, 39, .72);
    backdrop-filter: blur(5px);
}

.calculator-popup-window {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    padding: 50px 35px 40px;
    background: #fff;
    border-radius: 22px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .2);
    transform: translateY(20px) scale(.97);
    transition: transform .35s ease;
}

.calculator-popup.is-visible .calculator-popup-window {
    transform: translateY(0) scale(1);
}

.calculator-popup-close {
    position: absolute;
    top: 15px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #777;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease;
}

.calculator-popup-close:hover {
    color: #2f4a80;
}

.calculator-popup-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #eaf0fa;
    color: #0878f9;
}

.calculator-popup-icon svg {
    width: 38px;
    height: 38px;
}

.calculator-popup-window h3 {
    margin: 0 0 14px;
    color: #17243b;
    font-size: 30px;
    font-weight: 700;
}

.calculator-popup-window p {
    margin: 0 0 28px;
    color: #687386;
    font-size: 16px;
    line-height: 1.7;
}

.calculator-popup-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 52px;
    padding: 12px 30px;
    border: 0;
    border-radius: 8px;
    background: #0878f9;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.calculator-popup-button:hover {
    background: #243b69;
    transform: translateY(-2px);
}

body.calculator-popup-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .calculator-popup-window {
        padding: 45px 24px 30px;
        border-radius: 18px;
    }

    .calculator-popup-window h3 {
        font-size: 26px;
    }
}


/* Ошибка отправки заявки */
.calculator-popup-error .calculator-popup-icon {
    background: #fce9e9;
    color: #c43d43;
}

.calculator-popup-error .calculator-popup-window h3 {
    color: #a52b35;
}



/* =========================================
   PROMO SLIDER
========================================= */

.promo-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #eaf4ff;
}

.promo-slider__track {
    position: relative;
    width: 100%;
}

.promo-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.promo-slide.is-active {
    position: relative;
    z-index: 1;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.promo-slide__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 695;
    object-fit: cover;
    object-position: center;
}

/* Кнопка поверх готового изображения */

.promo-slide__button {
    position: absolute;
    left: 4%;
    top: 67%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-width: 300px;
    min-height: 70px;
    padding: 16px 30px;
    border: 0;
    border-radius: 999px;
    background: #0878f9;
    color: #fff;
    font-family: inherit;
    font-size: clamp(16px, 1.6vw, 24px);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 93, 220, 0.18);
    transition: background 0.2s ease, transform 0.2s ease;
}

.promo-slide__button:hover {
    transform: translateY(-2px);
    background: #0069e5;
    color: #fff;
}

.promo-slide__button svg {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
}

/* Буллеты */

.promo-slider__dots {
    position: absolute;
    z-index: 5;
    left: 5%;
    bottom: 5%;
    display: flex;
    align-items: center;
    gap: 13px;
}

.promo-slider__dot {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #39a0e8;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.promo-slider__dot:hover {
    transform: scale(1.12);
}

.promo-slider__dot.is-active {
    background: #102d50;
}

/* Планшеты */

@media (max-width: 900px) {
    .promo-slide__button {
        top: 67%;
        min-width: 0;
        min-height: 52px;
        gap: 12px;
        padding: 12px 22px;
        font-size: 16px;
    }

    .promo-slide__button svg {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }

    .promo-slider__dots {
        gap: 9px;
    }

    .promo-slider__dot {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }
}

/* Телефоны */

@media (max-width: 600px) {
    .promo-slide__image {
        aspect-ratio: 4 / 5;
        object-position: center;
    }

    .promo-slide__button {
        top: auto;
        bottom: 17%;
        left: 5%;
        min-height: 44px;
        padding: 10px 16px;
        gap: 9px;
        font-size: 13px;
    }

    .promo-slide__button svg {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }

    .promo-slider__dots {
        left: 5%;
        bottom: 5%;
        gap: 8px;
    }

    .promo-slider__dot {
        width: 11px;
        height: 11px;
        flex-basis: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .promo-slide,
    .promo-slider__dot,
    .promo-slide__button {
        transition: none;
    }
}




/* =========================================
   ОТЗЫВЫ — ПОВЕРКА48
   ========================================= */

.reviews {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 100px 0;
    background: url('assets/images/reviews-bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.reviews,
.reviews * {
    box-sizing: border-box;
}

.reviews-container {
    width: min(1600px, calc(100% - 48px));
    margin: 0 auto;
}

/* Заголовок */


/* Заголовочная часть отзывов */

.reviews-heading {
    width: 100%;
    margin: 0 0 52px;
    text-align: left;
}

.reviews-eyebrow {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;

    color: #24aaff;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 2px;
    line-height: 1.4;
}

.reviews-eyebrow__line {
    display: inline-block;
    width: 59px;
    height: 2px;
    flex: 0 0 59px;
    background: #29aaff;
}

.reviews-title {
    margin: 0 0 20px;
    color: #f7f8fc;
    font-size: clamp(36px, 4.6vw, 72px);
    font-weight: 800;
    letter-spacing: -1.8px;
    line-height: 1.1;
}

.reviews-title span {
    color: #078df0;
}

.reviews-subtitle {
    max-width: 720px;
    margin: 0;

    color: #c7ddf5;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.55;
}

/* Мобильная версия */

@media (max-width: 700px) {
    .reviews-heading {
        margin-bottom: 32px;
    }

    .reviews-eyebrow {
        gap: 12px;
        margin-bottom: 13px;
        font-size: 13px;
        letter-spacing: 1.5px;
    }

    .reviews-eyebrow__line {
        width: 36px;
        flex-basis: 36px;
    }

    .reviews-title {
        margin-bottom: 15px;
        font-size: clamp(32px, 8vw, 46px);
        letter-spacing: -0.8px;
        line-height: 1.12;
    }

    .reviews-subtitle {
        font-size: 15px;
        line-height: 1.6;
    }

    .reviews-subtitle__break {
        display: none;
    }
}


/* Карусель */

.reviews-carousel {
    position: relative;
    width: 100%;
    min-width: 0;
}

.reviews-viewport {
    width: 100%;
    overflow: hidden;
    padding: 12px 2px 24px;
}

.reviews-track {
    display: flex;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    transition: transform 0.45s ease;
    will-change: transform;
}

/* Карточка отзыва */

.review-card {
    position: relative;
    display: flex;
    flex: 0 0 calc((100% - 24px) / 2);
    flex-direction: column;
    min-width: 0;
    min-height: 270px;
    padding: 30px;
    overflow: hidden;
    background: rgb(0 33 64 / 55%);
    border: 1px solid rgb(106 144 176 / 65%);
    border-radius: 20px;
}

.review-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 12% 8%,
            rgba(112, 176, 239, 0.22),
            transparent 55%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.35),
            rgba(174, 211, 246, 0.12)
        );
}

/* Фото клиента, имя и рейтинг */

.review-author {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    margin-bottom: 28px;
}

.review-avatar {
    position: relative;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    overflow: hidden;
    border: 1px solid rgb(116 162 197);
    border-radius: 50%;
    background: #d3e5f7;
}

.review-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.review-author-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
}

.review-name {
    margin: 0;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

/* Пять синих звёзд */

.review-stars {
    display: flex;
    align-items: center;
    gap: 3px;
}

.review-star {
    display: block;
    width: 18px;
    height: 18px;
    fill: #2876d2;
}

/* Текст отзыва и иконка кавычек */

.review-body {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
}

.review-quote-icon {
    display: block;
    width: 28px;
    height: 28px;
    fill: #2876d2;
    opacity: 0.9;
}

.review-text {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

/* =========================================
   СТРЕЛКИ КАРУСЕЛИ
   Синий полупрозрачный фон и голубая обводка
   ========================================= */

.reviews-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.reviews-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    padding: 0;

    color: #2f4a80;
    background: rgba(71, 139, 211, 0.16);
    border: 1px solid rgba(112, 176, 231, 0.65);
    border-radius: 50%;

    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);

    box-shadow:
        0 8px 24px rgba(47, 74, 128, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);

    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.reviews-arrow svg {
    display: block;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.reviews-arrow:hover:not(:disabled) {
    background: rgba(71, 139, 211, 0.28);
    border-color: #70b0e7;
}

.reviews-arrow:disabled {
    opacity: 0.45;
    cursor: default;
}

/* Точки навигации */

.reviews-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.reviews-dot {
    display: block;
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    padding: 0;
    background: #b8cde4;
    border: 0;
    border-radius: 50%;
    cursor: pointer;

    transition:
        width 0.25s ease,
        background 0.25s ease,
        border-radius 0.25s ease;
}

.reviews-dot.is-active {
    flex-basis: 25px;
    width: 25px;
    background: #2f4a80;
    border-radius: 10px;
}

/* =========================================
   КОМПЬЮТЕРЫ
   Стрелки по краям карусели
   ========================================= */

@media (min-width: 1001px) {
    .reviews-arrow {
        position: absolute;
        top: 50%;
        z-index: 3;
        transform: translateY(-50%);
    }

    .reviews-arrow:hover:not(:disabled) {
        transform: translateY(-50%) scale(1.05);
    }

    .reviews-prev {
        left: -64px;
    }

    .reviews-next {
        right: -64px;
    }

    .reviews-navigation {
        margin-top: 0;
    }

    .reviews-dots {
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%);
    }
}

/* =========================================
   ПЛАНШЕТЫ
   ========================================= */

@media (max-width: 1000px) {
    .reviews {
        padding: 80px 0;
    }

    .reviews-container {
        width: calc(100% - 36px);
    }

    .review-card {
        padding: 24px;
    }

    .review-avatar {
        flex-basis: 68px;
        width: 68px;
        height: 68px;
    }

    .reviews-arrow {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }
}

/* =========================================
   ТЕЛЕФОНЫ
   Одна карточка за раз
   ========================================= */

@media (max-width: 640px) {
    .reviews {
        padding: 64px 0;
    }

    .reviews-container {
        width: calc(100% - 32px);
    }

    .reviews-heading {
        margin-bottom: 28px;
    }

    .reviews-title {
        font-size: 30px;
    }

    .reviews-subtitle {
        font-size: 14px;
    }

    .reviews-track {
        gap: 16px;
    }

    .review-card {
        flex-basis: 100%;
        min-height: 270px;
        padding: 23px;
        border-radius: 17px;
    }

    .review-author {
        gap: 14px;
        margin-bottom: 24px;
    }

    .review-avatar {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
    }

    .review-name {
        font-size: 17px;
    }

    .review-star {
        width: 16px;
        height: 16px;
    }

    .review-body {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 9px;
    }

    .review-quote-icon {
        width: 24px;
        height: 24px;
    }

    .review-text {
        font-size: 14px;
        line-height: 1.75;
    }

    .reviews-navigation {
        gap: 14px;
    }

    .reviews-arrow {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }
}

/* Уважение настройки уменьшения анимации */

@media (prefers-reduced-motion: reduce) {
    .reviews-track,
    .reviews-arrow,
    .reviews-dot {
        transition: none;
    }
}





/* ---------- АДАПТИВНОСТЬ ---------- */

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

    .hero {
        padding: 85px 0;
    }

    .hero-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .calculator-grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
        gap: 35px;
    }

    .calculator-form {
        padding: 28px;
    }

    .promo-content {
        padding: 38px;
    }

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

@media (max-width: 767px) {
    .container,
    .hero-container,
    .hero .container {
        width: min(100% - 36px, 560px);
    }

    .section {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 35px;
        text-align: left;
    }

    .section-heading h2,
    .calculator-content h2,
    .promo-content h2 {
        font-size: clamp(28px, 7vw, 36px);
    }

    .section-heading > p {
        font-size: 14px;
    }

    .hero {
        padding: 70px 0 60px;
        background-position: 60% center;
    }

    .hero-container {
        display: block;
    }

    .hero-title,
    .hero h1 {
        font-size: clamp(32px, 9vw, 46px);
    }

    .hero-text,
    .hero-content > p {
        font-size: 15px;
    }

    .hero-features {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 35px;
    }

    .hero-feature {
        padding: 15px;
    }

    .hero-feature h3,
    .hero-feature-title {
        font-size: 13px;
    }

    .hero-feature p,
    .hero-feature-text {
        font-size: 12px;
    }

    .about-grid,
    .steps-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-card,
    .step-card,
    .review-card {
        padding: 25px;
    }

    .step-card {
        min-height: auto;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .calculator-form {
        padding: 24px 20px;
    }

    .calculator-form h3 {
        font-size: 21px;
    }

    .calculator-price strong {
        font-size: 27px;
    }

    .promo-banner {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .promo-content {
        padding: 30px 24px;
    }

    .promo-image,
    .promo-image img {
        min-height: 250px;
        max-height: 350px;
    }

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

    .contacts-info {
        padding: 10px 22px;
    }

    .contacts-map,
    .contacts-map iframe,
    .contacts-map__placeholder {
        min-height: 280px;
    }

    .contacts-legal {
        margin-top: 35px;
    }

    .button {
        width: 100%;
        padding-inline: 20px;
    }
}

@media (max-width: 380px) {
    .container,
    .hero-container,
    .hero .container {
        width: calc(100% - 28px);
    }

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

    .hero-title,
    .hero h1 {
        font-size: 30px;
    }

    .promo-content {
        padding: 25px 20px;
    }
}




/* =========================================
   VERIFICATION — Поверка48
========================================= */

.verification-section {
    position: relative;
    overflow: hidden;
    padding: 64px 0 72px;
    background:
        radial-gradient(
            ellipse at 70% 45%,
            rgba(255, 255, 255, 0.92) 0%,
            rgba(237, 249, 255, 0.78) 48%,
            rgba(224, 243, 253, 0.95) 100%
        );
    color: #064a91;
}

.verification-section *,
.verification-section *::before,
.verification-section *::after {
    box-sizing: border-box;
}

/* Основная сетка */

.verification-container {
    width: min(1600px, calc(100% - 64px));
    margin-inline: auto;

    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 2.15fr);
    align-items: stretch;
    gap: 0;
}

/* =========================================
   ЛЕВАЯ КОЛОНКА
========================================= */

.verification-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    padding: 24px 34px 24px 0;
}

.verification-title {
    max-width: 520px;
    margin: 0 0 22px;

    color: #06458b;
    font-size: clamp(27px, 2.2vw, 39px);
    font-weight: 750;
    line-height: 1.14;
    letter-spacing: -1.1px;
}

.verification-title span {
    color: #0878f9;
}

.verification-description {
    max-width: 470px;
    margin: 0 0 24px;

    color: #1766a9;
    font-size: 15px;
    line-height: 1.65;
}

/* =========================================
   ИЗОБРАЖЕНИЕ АТТЕСТАТА
========================================= */

.verification-document {
    position: relative;
    display: block;

    width: 100%;
    max-width: 360px;
    padding: 0;
    margin: 0 0 22px;

    border: 0;
    border-radius: 12px;
    overflow: hidden;

    background: #ffffff;
    cursor: pointer;

    box-shadow: 0 10px 28px rgba(18, 64, 105, 0.16);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.verification-document:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(18, 64, 105, 0.23);
}

.verification-document img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.verification-document-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;

    color: #ffffff;
    background: rgba(3, 45, 91, 0.65);

    font-size: 15px;
    font-weight: 600;

    opacity: 0;
    transition: opacity 0.25s ease;
}

.verification-document:hover .verification-document-overlay {
    opacity: 1;
}

.verification-document-zoom {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: 2px solid #ffffff;
    border-radius: 50%;

    font-size: 28px;
    font-weight: 300;
}

/* =========================================
   КАРТОЧКА АТТЕСТАТА
========================================= */

.verification-certificate {
    width: 100%;
    margin: 0 0 32px;
    display: flex;
    align-items: center;
    gap: 16px;

    margin-top: 0;
    padding: 20px 18px;

    border: 0;
    border-radius: 15px;

    background: rgba(199, 232, 255, 0.72);
    color: #0754a2;

    text-align: left;
    font-family: inherit;
    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.verification-certificate:hover {
    background: #c3e5ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(18, 64, 105, 0.10);
}

.verification-certificate:focus-visible,
.verification-document:focus-visible {
    outline: 3px solid #0780ff;
    outline-offset: 4px;
}

.verification-certificate-icon {
    display: flex;
    flex: 0 0 65px;

    width: 65px;
    height: 65px;

    align-items: center;
    justify-content: center;

    color: #0780ff;
}

.verification-certificate-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.verification-certificate-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;

    min-width: 0;
}

.verification-certificate-text strong {
    color: #0780ff;
    font-size: 20px;
    font-weight: 750;
    line-height: 1.3;
}

.verification-certificate-text small {
    color: #0754a2;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.verification-certificate-arrow {
    flex: 0 0 auto;
    color: #0780ff;
    font-size: 35px;
    line-height: 1;

    transition: transform 0.25s ease;
}

.verification-certificate:hover .verification-certificate-arrow {
    transform: translateX(4px);
}

/* =========================================
   ПРАВАЯ КОЛОНКА — ПРЕИМУЩЕСТВА
========================================= */

.verification-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-content: center;

    min-width: 0;
    padding-left: 0;

    border-left: 1px solid rgba(0, 119, 255, 0.18);
}

.verification-benefit {
    min-width: 0;
    padding: 20px 16px 18px;

    border-bottom: 1px solid rgba(0, 119, 255, 0.17);
    border-right: 1px solid rgba(0, 119, 255, 0.17);
}

.verification-benefit:nth-child(4n) {
    border-right: 0;
}

.verification-benefit:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.verification-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: 50px;
    height: 50px;
    margin-bottom: 10px;

    color: #0780ff;
}

.verification-benefit-icon svg {
    display: block;
    width: 50px;
    height: 50px;
}

.verification-benefit h3 {
    margin: 0 0 7px;

    color: #06458b;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.28;
}

.verification-benefit p {
    margin: 0 0 7px;

    color: #1766a9;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

.verification-benefit p:last-child {
    margin-bottom: 0;
}

/* =========================================
   POPUP — АТТЕСТАТ
========================================= */

.verification-modal {
    position: fixed;
    width: fit-content;
    max-width: calc(100% - 40px);
    max-height: 90vh;
    margin: auto;
    padding: 48px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 25px 80px rgba(0, 20, 55, 0.35);
    overflow: visible;
}

.verification-modal[open] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    animation: verificationModalShow 0.25s ease;
}

.verification-modal::backdrop {
    background: rgba(2, 20, 45, 0.82);
    backdrop-filter: blur(5px);
}

.verification-modal-content {
    width: 100%;
    max-height: calc(90vh - 100px);

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: auto;
}

.verification-modal img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(90vh - 68px);
    object-fit: contain;
    border-radius: 0 0 12px 12px;
}

.verification-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;

    border: none;
    border-radius: 50%;
    background: #f1f4f8;
    color: #064a91;

    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.verification-modal-close:hover {
    background: #064a91;
    color: #ffffff;
    transform: none;
}

.verification-modal-close:focus {
    outline: none;
}

.verification-modal-close span {
    display: block;
    line-height: 1;
    transform: translateY(-1px);
}

.verification-modal-caption {
    color: #0754a2;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

@keyframes verificationModalShow {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* =========================================
   ПЛАНШЕТЫ
========================================= */

@media (max-width: 1200px) {

    .verification-container {
        grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.65fr);
    }

    .verification-intro {
        padding-right: 24px;
    }

    .verification-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .verification-benefit:nth-child(4n) {
        border-right: 1px solid rgba(0, 119, 255, 0.17);
    }

    .verification-benefit:nth-child(3n) {
        border-right: 0;
    }

    .verification-benefit:nth-last-child(-n + 2) {
        border-bottom: 1px solid rgba(0, 119, 255, 0.17);
    }

    .verification-benefit:last-child {
        border-bottom: 0;
    }
}

/* =========================================
   МОБИЛЬНЫЕ
========================================= */

@media (max-width: 700px) {

    .verification-section {
        padding: 44px 0 48px;
    }

    .verification-container {
        width: min(100% - 36px, 540px);
        grid-template-columns: minmax(0, 1fr);
    }

    .verification-intro {
        padding: 0 0 28px;
    }

    .verification-title {
        margin-bottom: 17px;
        font-size: clamp(28px, 7vw, 36px);
        letter-spacing: -0.7px;
    }

    .verification-description {
        margin-bottom: 22px;
        font-size: 14px;
    }

    .verification-document {
        max-width: 100%;
        margin-bottom: 18px;
    }

    .verification-document-overlay {
        opacity: 1;
        background: linear-gradient(
            transparent 40%,
            rgba(3, 45, 91, 0.7)
        );
        justify-content: flex-end;
        padding: 15px;
    }

    .verification-certificate {
        padding: 16px;
        gap: 12px;
    }

    .verification-certificate-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .verification-certificate-text strong {
        font-size: 14px;
    }

    .verification-certificate-text small {
        font-size: 12px;
    }

    .verification-benefits {
        grid-column: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        margin-top: 0;

        border-top: 1px solid rgba(0, 119, 255, 0.17);
        border-left: 0;
    }

    .verification-benefit {
        padding: 20px 12px;

        border-right: 1px solid rgba(0, 119, 255, 0.17);
        border-bottom: 1px solid rgba(0, 119, 255, 0.17);
    }

    .verification-benefit:nth-child(3n),
    .verification-benefit:nth-child(4n) {
        border-right: 1px solid rgba(0, 119, 255, 0.17);
    }

    .verification-benefit:nth-child(2n) {
        border-right: 0;
    }

    .verification-benefit:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .verification-benefit h3 {
        font-size: 13px;
    }

    .verification-benefit p {
        font-size: 12px;
    }

    .verification-modal {
        width: calc(100% - 24px);
        max-height: 88vh;
        padding: 48px 12px 16px;
        border-radius: 12px;
    }

    .verification-modal-content {
        max-height: calc(88vh - 95px);
    }

    .verification-modal-content img {
        max-height: calc(88vh - 105px);
    }
}

/* =========================================
   УЗКИЕ ЭКРАНЫ
========================================= */

@media (max-width: 380px) {

    .verification-benefits {
        grid-template-columns: minmax(0, 1fr);
    }

    .verification-benefit,
    .verification-benefit:nth-child(2n),
    .verification-benefit:nth-child(3n),
    .verification-benefit:nth-child(4n) {
        border-right: 0;
        border-bottom: 1px solid rgba(0, 119, 255, 0.17);
    }

    .verification-benefit:last-child {
        border-bottom: 0;
    }
}




/* ==================================================
   ПОВЕРКА48 — КОНТАКТЫ И ФУТЕР
   Единый фон с изображением счётчика
   ================================================== */

.contacts {
    --footer-blue: #27a8ff;
    --footer-light: #8bd2ff;
    --footer-white: #f4f8ff;
    color: var(--footer-white);
    background: url('assets/images/contacts-bg.jpg');
    background-repeat: no-repeat;
    background-position: center top;
}

.site-footer {
    background: #01234D;
}

.contacts *,
.site-footer * {
    box-sizing: border-box;
}

/* Убираем старые декоративные слои */

.contacts::before,
.contacts::after {
    content: none !important;
}

/* ==================================================
   КОНТАКТЫ — ВЕРХНЯЯ ЧАСТЬ
   ================================================== */

.contacts {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 70px 0 36px;
    border: 0;
}

.contacts-main {
    position: relative;
    z-index: 1;
}

.contacts-container {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 60px;

    width: min(1794px, calc(100% - 7%));
    margin: 0 auto;
}

/* ==================================================
   КАРТА
   ================================================== */

.contacts-map {
    position: relative;
    width: 100%;
    height: 474px;
    min-width: 0;
    overflow: hidden;

    border: 1px solid #75c7ff;
    border-radius: 8px;
    background: #dceeff;
    box-shadow: 0 0 18px rgba(20, 145, 255, 0.1);
}

.contacts-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    border: 0;
}

/* Заглушка карты до подключения карты */

.contacts-map-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    overflow: hidden;

    color: #315d91;
    background: #dceeff;
}

.contacts-map-placeholder__controls {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;

    display: flex;
    flex-direction: column;
    overflow: hidden;

    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(19, 61, 108, 0.12);
}

.contacts-map-placeholder__controls span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 36px;

    color: #47698d;
    font-size: 24px;
    font-weight: 600;
}

.contacts-map-placeholder__controls span + span {
    border-top: 1px solid #e5edf6;
}

.contacts-map-placeholder__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px;
    text-align: center;
}

.contacts-map-placeholder__pin {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    color: #fff;
    background: #168be8;
    border: 4px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    box-shadow: 0 5px 16px rgba(0, 91, 174, 0.22);
}

.contacts-map-placeholder__pin svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.contacts-map-placeholder__content strong {
    color: #355d89;
    font-size: 21px;
}

.contacts-map-placeholder__content > span:last-child {
    color: #617e9e;
    font-size: 13px;
}

/* ==================================================
   КОНТАКТНАЯ КОЛОНКА
   ================================================== */

.contacts-info {
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.contacts-title {
    margin: 0 0 28px;
    color: #f5f8ff;
    font-size: clamp(29px, 2.2vw, 38px);
    font-weight: 800;
    line-height: 1.2;
}

.contacts-title span {
    color: #35aaff;
}

/* Отдельный контакт */

.contacts-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: start;
    gap: 20px;

    min-width: 0;
    margin: 0 0 21px;
    padding: 0;
}

.contacts-item:last-of-type {
    margin-bottom: 17px;
}

/* Круглые иконки */

.contacts-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 76px;
    height: 76px;
    min-width: 76px;

    color: #ffffff;
    background: rgba(0, 121, 219, 0.12);
    border: 2px solid #009fe3;
    border-radius: 50%;
    box-sizing: border-box;
}

.contacts-icon svg {
    display: block;
    width: 34px;
    height: 34px;

    fill: #ffffff;
    stroke: none;
}

/* Текст и ссылки */

.contacts-item__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;

    min-width: 0;
    padding-top: 1px;
}

.contacts-label {
    display: block;
    margin-bottom: 1px;

    color: #c8e6ff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}

.contacts-item__content a {
    color: #f2f7ff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.contacts-item__content a:hover {
    color: #47baff;
}

.contacts-item__content .contacts-link-accent,
.contacts-label--accent {
    color: #35b3ff;
    font-weight: 600;
}

.contacts-item__content p {
    margin: 0;

    color: #b9d9f7;
    font-size: 14px;
    line-height: 1.55;
}

.contacts-item--address {
    margin-bottom: 17px;
}

.contacts-item--address .contacts-item__content {
    gap: 3px;
}

/* Политика конфиденциальности */

.contacts-privacy {
    display: inline-block;
    margin-left: 96px;

    color: #2eb2ff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contacts-privacy:hover {
    color: #a4dcff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Адаптация для мобильных */

@media (max-width: 767px) {

    .contacts-item {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 15px;
    }

    .contacts-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .contacts-icon svg {
        width: 28px;
        height: 28px;
    }

    .contacts-privacy {
        margin-left: 75px;
    }
}
/* ==================================================
   ФУТЕР — НИЖНЯЯ ЮРИДИЧЕСКАЯ ЧАСТЬ
   ================================================== */

.site-footer {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    border: 0;
}

/* Тонкая голубая линия между частями */

.footer-legal {
    position: relative;
    padding: 40px 0 42px;

    border-top: 1px solid rgba(39, 168, 255, 0.8);
    background: transparent;
}

/* Три юридические колонки */

.footer-container {
    display: grid;
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.25fr)
        minmax(0, 0.55fr);
    align-items: start;

    width: min(1794px, calc(100% - 7%));
    margin: 0 auto;
}

.footer-legal-column {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 20px;

    min-width: 0;
    min-height: 160px;
    padding: 0 34px;
}

.footer-legal-column:first-child {
    padding-left: 0;
}

.footer-legal-column + .footer-legal-column {
    border-left: 1px solid rgba(39, 168, 255, 0.7);
}

.footer-legal-column--copyright {
    padding-right: 0;
}

/* Иконки футера */

.footer-legal-icon {
    display: block;
    width: 42px;
    height: 42px;
    margin-top: 5px;

    fill: none;
    stroke: #2caaff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-copyright-icon {
    width: 42px;
    height: 42px;
}

/* Текст футера */

.footer-legal-text {
    min-width: 0;
}

.footer-legal-text p {
    margin: 0 0 10px;

    color: #4bbaff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

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

.footer-legal-text a {
    color: #4bbaff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-text a:hover {
    color: #c4eaff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ==================================================
   ПЛАНШЕТЫ
   ================================================== */

@media (max-width: 1100px) {
    .contacts {
        padding: 55px 0 32px;
    }

    .contacts-container {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 0.95fr);
        gap: 32px;
        width: calc(100% - 48px);
    }

    .contacts-map {
        height: 420px;
    }

    .contacts-title {
        margin-bottom: 24px;
        font-size: 30px;
    }

    .contacts-item {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 14px;
        margin-bottom: 17px;
    }

    .contacts-icon {
        width: 46px;
        height: 46px;
    }

    .contacts-icon svg {
        width: 22px;
        height: 22px;
    }

    .contacts-item__content a,
    .contacts-label {
        font-size: 14px;
    }

    .contacts-item__content p {
        font-size: 12px;
    }

    .contacts-privacy {
        margin-left: 60px;
        font-size: 13px;
    }

    .footer-container {
        width: calc(100% - 48px);
        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(0, 1.2fr)
            minmax(0, 0.7fr);
    }

    .footer-legal-column {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 14px;
        padding: 0 20px;
    }

    .footer-legal-icon {
        width: 32px;
        height: 32px;
    }

    .footer-legal-text p {
        font-size: 12px;
    }
}

/* ==================================================
   МОБИЛЬНЫЕ УСТРОЙСТВА
   ================================================== */

@media (max-width: 700px) {
    .contacts {
        padding: 42px 0 32px;
    }

    .contacts-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        width: calc(100% - 32px);
    }

    .contacts-map {
        height: 280px;
    }

    .contacts-title {
        margin-bottom: 25px;
        font-size: 29px;
    }

    .contacts-item {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 14px;
        margin-bottom: 21px;
    }

    .contacts-icon {
        width: 46px;
        height: 46px;
    }

    .contacts-item__content a,
    .contacts-label {
        font-size: 14px;
    }

    .contacts-item__content p {
        font-size: 12px;
    }

    .contacts-privacy {
        margin-left: 60px;
        font-size: 13px;
    }

    .footer-legal {
        padding: 28px 0;
    }

    .footer-container {
        grid-template-columns: minmax(0, 1fr);
        width: calc(100% - 32px);
        gap: 0;
    }

    .footer-legal-column {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 15px;

        min-height: auto;
        padding: 22px 0;
    }

    .footer-legal-column:first-child {
        padding-top: 0;
    }

    .footer-legal-column + .footer-legal-column {
        border-top: 1px solid rgba(39, 168, 255, 0.45);
        border-left: 0;
    }

    .footer-legal-column--copyright {
        padding-bottom: 0;
    }

    .footer-legal-icon {
        width: 32px;
        height: 32px;
        margin-top: 2px;
    }

    .footer-legal-text p {
        font-size: 12px;
        line-height: 1.65;
    }
}

/* Маленькие экраны */

@media (max-width: 380px) {
    .contacts-title {
        font-size: 26px;
    }

    .contacts-map {
        height: 230px;
    }

    .contacts-item {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 11px;
    }

    .contacts-icon {
        width: 40px;
        height: 40px;
    }

    .contacts-privacy {
        margin-left: 51px;
    }
}


/* Чёрно-белая карта */
.contacts-map iframe {
    filter: grayscale(100%);
}