:root {
    --blue: #2352A3;
    --red: #E51D1D;
    --white: #ffffff;
    --text: #0f172a;
    --muted: #6b7280;
    --line: #e5e7eb;
    --shadow: 0 10px 25px rgba(0, 0, 0, .12);
    --container: 1200px;
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 18px
}

/* TOPBAR */
.logo {
    display: flex;
    align-items: center
}

.logo__img {
    height: 42px;
    /* как в шапке  */
    width: auto;
    display: block;
}

.topbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50
}

.topbar__row {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 72px
}

.logo__box {
    width: 130px;
    height: 42px;
    border: 1px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #64748b
}

.menu {
    display: flex;
    gap: 22px;
    flex: 1;
    justify-content: center
}

.menu a {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase
}

.topbar__actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.user-ico {
    font-size: 18px
}

.burger {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #111;
    margin: 5px 0
}

/* HERO */
.hero {
    background: var(--blue);
    color: #fff;
    padding: 70px 0
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center
}

.hero h1 {
    margin: 0 0 18px;
    font-size: 29px;
    /* −20% */
    font-weight: 600;
    line-height: 1.2;
}



.hero__right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__img {
    max-width: 100%;
    height: auto;
    display: block;
}


.hero__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 22px
}

.hero__bullets li {
    font-size: 14px;
    font-weight: 600;
    opacity: .9;
    margin: 8px 0;
}



.hero__buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 320px
}

.hero .btn {
    padding: 11px 14px;
    /* −20% */
    font-size: 13px;
    /* −20% */
    border-radius: 9px;
}



.btn--red {
    background: var(--red);
    color: #fff;
    height: 35px;
    padding: 0 36px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 16px;

}

.btn--blue {
    background: var(--blue);
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 900
}

.btn--wide {
    width: 560px;
    max-width: 100%
}

.img-placeholder {
    border: 2px dashed rgba(100, 116, 139, .5);
    color: rgba(100, 116, 139, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .06)
}

.img-placeholder--hero {
    width: 520px;
    height: 320px;
    border-color: rgba(255, 255, 255, .35);
    color: rgba(255, 255, 255, .75)
}

.img-placeholder--steps,
.img-placeholder--faq {
    width: 520px;
    height: 320px;
    background: #f3f4f6
}

.img-placeholder--callback {
    width: 380px;
    height: 260px;
    border-color: rgba(255, 255, 255, .35);
    color: rgba(255, 255, 255, .75)
}

/* TITLES */
.section-title {
    margin: 0 0 22px;
    text-align: center;
    font-size: 28px;
    font-weight: 300
}

.section-title--white {
    color: #fff
}

/* ACCEPT */
.accept {
    background: var(--blue);
    color: #fff;
    padding: 40px 0 60px
}

.accept__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    justify-items: center
}

.accept-card {
    width: 100%;
    max-width: 210px;
    text-align: center
}

.accept-card__img {
    width: 100%;
    height: 160px;
    background: #fbbf24;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.accept-card__img img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    display: block;
}


.accept-card__img .img-placeholder {
    width: 90%;
    height: 80%;
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .35);
    color: #fff
}

.accept-card__name {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 8px
}

.accept-card__desc {
    font-size: 12px;
    opacity: .95;
    line-height: 1.4
}

/* STEPS */
.steps {
    padding: 70px 0;
    background: #fff
}

.steps__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center
}

.step-item {
    display: flex;
    gap: 18px;
    align-items: center;
    margin: 26px 0
}

.step-item__icon {
    width: 90px;
    height: 70px;
    border-radius: 12px;
    background: #f3f4f6
}

.step-item__text {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.4
}

/* FAQ */
.faq {
    padding: 60px 0;
    background: #fff
}

.faq__grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
    align-items: center
}

.accordion {
    margin-top: 14px
}

.acc-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    background: #fff;
    font-weight: 900;
    cursor: pointer
}

.acc-item+.acc-panel {
    border: 1px solid #cbd5e1;
    border-top: 0
}

.acc-panel {
    display: none
}

.acc-panel.is-open {
    display: block
}

.acc-panel__inner {
    padding: 14px 16px;
    color: #6b7280;
    line-height: 1.5
}

/* CALLBACK */
.callback {
    background: var(--blue);
    color: #fff;
    padding: 70px 0
}

.callback__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 30px;
    align-items: center
}

.callback__sub {
    margin-top: -10px;
    margin-bottom: 14px;
    opacity: .95;
    font-weight: 700
}

.callback-form {
    max-width: 500px;
    min-height: 100px
}

.callback-form label {
    display: block;
    margin: 14px 0;
    color: #dbeafe;
    font-weight: 700
}

.callback-form input {
    height: 44px;
    /* было больше — уменьшаем */
    padding: 0 16px;
    /* комфортный отступ по бокам */
    font-size: 15px;
    /* аккуратный размер текста */
    border-radius: 12px;
    /* под стиль сайта */
}


.callback__note {
    margin-top: 14px;
    font-size: 11px;
    opacity: .9;
    text-align: center
}

/* REVIEWS */
.reviews {
    padding: 70px 0;
    background: #f1f5f9
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.review-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
    text-align: center
}

.review-card__text {
    color: #6b7280;
    font-weight: 400;
    line-height: 1.7
}

.review-card__author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-weight: 800;
    color: #1d4ed8
}

.avatar {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #f3f4f6
}

.reviews__btn {
    text-align: center;
    margin-top: 28px
}

/* FOOTER */
.footer {
    background: var(--blue);
    color: #fff;
    padding: 48px 0
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px
}

.footer__logo img {
    width: 160px;
    /* ← основной размер, меняй здесь */
    max-width: 100%;
    height: auto;
    display: block;
    border: none !important;
    outline: none !important;
    box-shadow: none !important
}

.footer__logo {
    width: 150px;
    height: 50px;
    border: 2px dashed rgba(255, 255, 255, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border: none !important;
    outline: none !important;
    box-shadow: none !important
}

.footer__title {
    font-weight: 900;
    margin-bottom: 10px
}

.footer__small {
    font-size: 12px;
    opacity: .9;
    line-height: 1.5
}

.footer__link {
    display: block;
    font-size: 13px;
    opacity: .95;
    margin: 6px 0
}

.footer__icons {
    margin-top: 10px;
    opacity: .9
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .accept__grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (max-width: 900px) {

    .hero__grid,
    .steps__grid,
    .faq__grid,
    .callback__grid {
        grid-template-columns: 1fr
    }

    .reviews__grid {
        grid-template-columns: 1fr
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr
    }

    .menu {
        display: none;
        position: absolute;
        left: 18px;
        right: 18px;
        top: 72px;
        background: #fff;
        border: 1px solid var(--line);
        padding: 14px
    }

    .menu.is-open {
        display: flex;
        flex-direction: column;
        gap: 10px
    }

    .burger {
        display: block
    }
}

/* ===== КАЛЬКУЛЯТОР (по ТЗ) ===== */
.calc {
    background: var(--blue);
    color: #fff;
    padding: 54px 0
}

.calc__layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 22px;
    align-items: start;
}

.calc__controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 18px;
}

.calc-box {
    background: #fff;
    color: var(--text);
    border-radius: 14px;
    padding: 18px 18px 16px;
    box-shadow: var(--shadow);
    text-align: center;
}

.calc-box__title {
    font-weight: 800;
    color: var(--muted);
    margin-bottom: 12px;
}

.select,
.calc-input {
    width: 100%;
    padding: 12px 12px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #fff;
    outline: none;
    font-weight: 800;
    text-align: center;
}

.calc-fixed {
    padding: 12px 12px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #f3f4f6;
    font-weight: 900;
}

.calc__sum {
    margin-top: 22px;
    text-align: center;
}

.calc__sum-label {
    font-weight: 800;
    opacity: .95;
    margin-bottom: 8px;
    font-weight: 400;
}

.calc__sum-value {
    font-size: 42px;
    font-weight: 900;
    font-weight: 400;
}

.calc__rates {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
}

.rate {
    background: #fff;
    color: var(--text);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.rate__left {
    font-size: 24px;
    font-weight: 900;
    color: var(--blue)
}

.rate__right {
    background: var(--blue);
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 900;
    min-width: 110px;
    text-align: center;
}

.rate.is-active {
    outline: 3px solid rgba(255, 255, 255, .7);
}

@media (max-width:1100px) {
    .calc__layout {
        grid-template-columns: 1fr
    }

    .calc__rates {
        flex-direction: row
    }
}

@media (max-width:900px) {
    .calc__controls {
        grid-template-columns: 1fr
    }

    .calc__rates {
        flex-direction: column
    }
}


.calc-box__title,
.select,
.calc-input,
.calc-fixed {
    font-weight: 400;
}

.calc__action {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

.calc__btn {
    min-width: 260px;
    padding: 12px 18px;
    border-radius: 10px;
}

/* Calc: flash animation on sum update */
.calc__sum-value {
    transition: transform .2s ease;
}

.flash {
    animation: flash .25s ease;
}

@keyframes flash {
    from {
        transform: scale(1.06);
    }

    to {
        transform: scale(1);
    }
}

/* ===== Вес: +/- ===== */
.weight {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: 10px;
    align-items: center;
}

.weight__btn {
    height: 44px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #fff;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    font-weight: 400;
}

.weight__btn:active {
    transform: translateY(1px);
}

.weight__input {
    text-align: center;
}

.weight__hint {
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
}

/* ===== Подсветка активной расценки ===== */
.rate {
    transition: transform .15s ease, box-shadow .15s ease, outline-color .15s ease;
}

.rate.is-active {
    outline: 3px solid rgba(35, 82, 163, .35);
    /* голубая рамка */
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .14);
}

.rate.is-active .rate__right {
    filter: brightness(1.08);
}

/* Примечание под суммой */
.calc__sum-note {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    color: rgba(255, 255, 255, .85);
}

/* ===== 3 ШАГА ===== */
.steps {
    padding: 70px 0;
    background: #fff;
}

.steps__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* картинка еврика блок 3 шага*/
.steps__main-img {
    width: 80%;
    max-width: 520px;
    height: auto;
    display: block;
}


.steps__right .section-title {
    margin-bottom: 36px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 26px;
}

/* ===== Размер иконок шагов (управляемый) ===== */
.step-item__icon {
    width: 120px;
    /* ← МЕНЯЙ ТУТ (64px → 77px = +20%) */
    height: 120px;
    flex-shrink: 0;
    border-radius: 14px;
    background: #f3f6fb;
    display: flex;
    align-items: center;
    justify-content: center;
}




.step-item__icon img {
    max-width: 100%;
    max-height: 100%;
}

.step-item__text {
    font-size: 16px;
    line-height: 1.4;
    color: #1f2937;
}

/* Адаптив */
@media (max-width: 900px) {
    .steps__grid {
        grid-template-columns: 1fr;
    }

    .steps__left {
        order: 2;
    }

    .steps__right {
        order: 1;
    }
}

/* ===== Отделения / карта ===== */
.branches {
    background: #fff;
    padding: 34px 0 60px;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 12px 0 0;
}

.tab {
    border: 1px solid #d9d9d9;
    background: #fff;
    padding: 12px 34px;
    font-size: 14px;
    font-weight: 500;
    color: #1f4f9c;
    cursor: pointer;
    border-bottom: none;
}

.tab+.tab {
    margin-left: -1px;
    /* чтобы бордеры слипались как в оригинале */
}

.tab.is-active {
    color: #0f2f63;
}

.branches__frame {
    border: 1px solid #d9d9d9;
    margin-top: -1px;
    /* подхватываем табы */
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    min-height: 520px;
}

.branches__left {
    border-right: 1px solid #d9d9d9;
    padding: 22px 22px;
}

.branch-list {
    display: none;
}

.branch-list.is-active {
    display: block;
}

.branch-item {
    display: flex;
    gap: 14px;
    padding: 10px 6px;
}

.branch-item__pin {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.branch-item__addr {
    font-size: 16px;
    font-weight: 500;
    color: #222;
    line-height: 1.25;
}

.branch-item__time {
    margin-top: 4px;
    font-size: 13px;
    color: #6b6b6b;
}

.branches__right {
    padding: 22px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branch-map {
    width: 100%;
    max-width: 760px;
    height: 420px;
}

.branch-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* адаптив */
@media (max-width: 1024px) {
    .branches__frame {
        grid-template-columns: 1fr;
    }

    .branches__left {
        border-right: 0;
        border-bottom: 1px solid #d9d9d9;
    }

    .branch-map {
        height: 360px;
    }
}

.faq__left img {
    width: 50%;
    /* размер картинки евро в faq */
    max-width: 420px;
    /* ограничение картинки евро в faq */
    height: auto;
    display: block;
    margin: 0 auto;
}

.faq__grid {
    align-items: flex-start;
}

.faq__left {
    position: sticky;
    top: 120px;
    /* регулируй: 80–140px */
    align-self: flex-start;
}

.callback {
    padding: 70px 0;
    background: #1f55a6;
    /* цвет фона */

}

.callback__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.callback__sub {
    margin: 6px 0 22px;
    color: #fff;
    font-weight: 300;
}

.callback-form label {
    display: block;
    margin: 16px 0 10px;
    color: rgba(255, 255, 255, .75);
    font-weight: 300;
}

.callback-form input {
    margin-top: 10px;
    width: 100%;
    height: 35px;
    border-radius: 10px;
    border: none;
    padding: 0 16px;
    outline: none;
}

.callback__note {
    margin-top: 18px;
    text-align: center;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.35;
}

/* картинка справа */
.callback__right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.callback__img {
    width: 350px;
    /* размер еврика в блоке обратный звонок */
    max-width: 100%;
    height: auto;
    display: block;
}


/* адаптив */
@media (max-width: 900px) {
    .callback__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .callback__img {
        max-width: 220px;
    }
}

.footer__docs {
    position: relative;
}

.docs-toggle {
    background: none;
    border: none;
    padding: 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 300;
    cursor: pointer;
    text-decoration: underline;
}

.docs-list {
    position: absolute;
    bottom: 120%;
    left: 0;
    background: #ffffff;
    border-radius: 8px;
    padding: 8px 0;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 9999;
}

.footer__docs.is-open .docs-list {
    display: block;
}

.docs-list a {
    display: block;
    padding: 8px 14px;
    color: #1e4fa3;
    font-size: 14px;
    text-decoration: none;
}

.docs-list a:hover {
    background: #f2f5fa;
}