* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: #151515;
    background: #fff;
    line-height: 1.55;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #080808;
    border-bottom: 2px solid #d7192b;
}

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand img {
    width: 360px;
    height: 80px;
    object-fit: contain;
    object-position: left center;
}

.menu {
    display: flex;
    align-items: center;
    gap: 26px;  
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding:5px 6px;
    border-radius: 10px;
    transition: .3s;
}

.menu a:hover {
    color: #e31b2d;
    background: #fff;
}

.lang {
    display: flex;
    border: 1px solid #555;
    border-radius: 8px;
    overflow: hidden;
}

.lang button {
    background: transparent;
    color: #fff;
    border: 0;
    padding: 7px 10px;
}

.lang button.active {
    background: #d7192b;
}

.menu-btn {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 28px;
}

.hero {
    position: relative;
    min-height: 590px;
    background: url("assets/branch.jpg") right 40% / cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(5, 7, 10, .94) 0%,
        rgba(5, 7, 10, .78) 42%,
        rgba(5, 7, 10, .1) 75%
    );
}

.hero-content {
    position: relative;
    color: #fff;
    padding: 82px 0 70px;
}

.eyebrow {
    color: #ef3340;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.05;
    margin: 10px 0;
}

.hero h1 span {
    color: #e11b2e;
}

.hero h2 {
    font-size: 25px;
    margin: 22px 0 8px;
}

.hero-content > p:not(.eyebrow) {
    max-width: 520px;
    color: #ddd;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin: 30px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 0;
    border-radius: 10px;
    padding: 15px 24px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
}

.btn-red {
    background: #dc1d31;
    color: #fff;
}

.btn-light {
    background: #fff;
    color: #c9182b;
}

.call-card {
    display: inline-flex;
    gap: 14px;
    align-items: center;
    text-decoration: none;
    color: #fff;
    border: 1px solid #555;
    background: rgba(0, 0, 0, .35);
    padding: 13px 20px;
    border-radius: 10px;
}

.call-card span {
    font-size: 28px;
    color: #ef3340;
}

.call-card small,
.call-card strong {
    display: block;
}

.call-card strong {
    font-size: 24px;
}

.benefits {
    margin-top: -1px;
    padding: 32px 0;
}

.grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.benefits article {
    padding: 24px;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
}

.ico {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fdebed;
    color: #d7192b;
    display: grid;
    place-items: center;
    font-size: 26px;
    font-weight: 800;
}

.benefits h3 {
    margin: 14px 0 5px;
}

.benefits p,
.why-grid p {
    color: #666;
    margin: 0;
}

.section {
    padding: 72px 0;
}

.section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

.section-head span {
    color: #d7192b;
    font-weight: 900;
}

.section-head h2 {
    font-size: 34px;
    margin: 0;
}

.why {
    background: #f7f7f8;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.why-grid > div {
    background: #fff;
    border-radius: 14px;
    padding: 25px;
    border: 1px solid #eee;
}

.why-grid b {
    display: block;
    color: #d7192b;
    font-size: 28px;
    margin-bottom: 15px;
}

.why-grid strong {
    font-size: 18px;
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.tab {
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    font-weight: 800;
    cursor: pointer;
}

.tab.active {
    background: #d7192b;
    color: #fff;
    border-color: #d7192b;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 24px;
    background: #fff;
    transition: .2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .08);
}

.card .card-icon {
    font-size: 34px;
    color: #d7192b;
}

.card h3 {
    margin: 10px 0;
}

.card p {
    color: #666;
}

.card button {
    background: none;
    border: 0;
    color: #d7192b;
    font-weight: 800;
    padding: 0;
    cursor: pointer;
}

.hidden {
    display: none !important;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.about p {
    font-size: 18px;
    color: #555;
}

.address-box {
    padding: 15px;
    background: #fafafa;
    border-left: 4px solid #d7192b;
}

.branch-photo {
    width: 100%;
    border-radius: 18px;
    display: block;
}

.team {
    background: #fafafa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.person {
    text-align: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 25px 18px;
}

.avatar {
    width: 110px;
    height: 110px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #111;
    border: 4px solid #e31b2d;
    overflow: hidden;
}

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

.person h3 {
    font-size: 16px;
    margin: 8px 0;
}

.person p {
    color: #666;
    min-height: 48px;
    margin: 0 0 8px;
}

.person a {
    display: block;
    color: #d7192b;
    text-decoration: none;
    font-weight: 700;
}

.person small {
    display: block;
    margin-top: 12px;
    color: #777;
}

.application {
    background: #111;
    color: #fff;
}

.form-wrap {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
}

.application .section-head h2 {
    color: #fff;
}

.application p {
    color: #ccc;
}

.mini-note {
    margin-top: 25px;
    font-size: 22px;
}

.mini-note a {
    color: #fff;
}

.form-wrap form {
    background: #fff;
    color: #111;
    padding: 28px;
    border-radius: 16px;
}

.form-wrap label {
    display: block;
    font-weight: 700;
    margin-bottom: 15px;
}

.form-wrap input,
.form-wrap select,
.form-wrap textarea {
    width: 100%;
    margin-top: 7px;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 9px;
    font: inherit;
}

.form-wrap select {
    color: #111;
    font-weight: 700;
}

.form-wrap select:invalid,
.form-wrap select option[value=""] {
    color: #9aa0a6;
    font-weight: 400;
}

.form-wrap label > span:first-child {
    display: inline-block;
    margin-bottom: 0;
}

.full {
    width: 100%;
}

.form-status {
    margin: 12px 0 0;
    color: #198754 !important;
}

.form-hint {
    display: block;
    color: #888;
    margin-top: 12px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.contact-list {
    display: grid;
    gap: 15px;
}

.contact-list a,
.contact-list div {
    display: flex;
    gap: 12px;
    color: #222;
    text-decoration: none;
    font-size: 18px;
}

.social {
    display: grid;
    gap: 10px;
    align-content: start;
}

.social a {
    color: #d7192b;
    text-decoration: none;
    font-weight: 800;
}

.footer {
    background: #080808;
    color: #fff;
    padding-top: 35px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr 1fr 1.5fr;
    gap: 25px;
    align-items: center;
}

.footer-logo {
    width: 250px;
    height: 60px;
    object-fit: contain;
    object-position: left;
}

.footer p {
    color: #bbb;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social a {
    color: #fff;
    text-decoration: none;
    border: 1px solid #444;
    border-radius: 7px;
    padding: 6px 9px;
}

.copyright {
    text-align: center;
    border-top: 1px solid #222;
    margin-top: 25px;
    padding: 18px;
    color: #888;
    font-size: 13px;
}

@media (max-width: 900px) {

    .menu-btn {
        display: block;
    }

    .menu {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 82px;
        background: #080808;
        padding: 18px 4%;
        flex-direction: column;
        align-items: stretch;
    }

    .menu.open {
        display: flex;
    }

    .lang {
        width: max-content;
    }

    .hero h1 {
        font-size: 44px;
    }

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

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

    .about-grid,
    .form-wrap,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 600px) {

    .container {
        width: 91%;
    }

    .brand img {
        width: 205px;
    }

    .hero {
        min-height: 640px;
    }

    .hero-content {
        padding-top: 55px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero h2 {
        font-size: 21px;
    }

    .hero-content > p:not(.eyebrow) {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .grid4,
    .why-grid,
    .cards,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 52px 0;
    }

    .section-head h2 {
        font-size: 28px;
    }

    .about-grid {
        gap: 25px;
    }

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

    .footer-logo {
        width: 220px;
    }

    .call-card strong {
        font-size: 21px;
    }
}

.footer .brand img {
    width: 260px !important;
    height: auto;
}