/* Hero */
.hero-section {
    height: 500px;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    background-image: var(--bg-desktop);
}

.hero-section::before {
    content: "";
    position: relative;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        90deg,
        rgba(0, 31, 51, 1) 0%,
        rgba(0, 62, 102, 0.6) 41%,
        rgba(0, 93, 153, 0) 100%
    );
}

.hero-section .text {
    position: relative;
    z-index: 2;
    padding-top: 150px;
    padding-left: 100px;
    width: 600px;
}

.hero-section .text h2 {
    color: #00BBF4;
    text-align: left;
    font-weight: 700;
}

.hero-section .text span {
    color: white;
    line-height: 1.5;
}



/* История бренда */
.history {
    padding: 100px 100px 0 100px;
    display: flex;
    gap: 50px;
    width: 100%;
    align-items: stretch;
}

.history .image {
    width: 40%;
    display: flex;
}

.history .image img {
    width: 100%;
    height: 86%;
    object-fit: cover;
    border-radius: 12px;
}

.history .main-text {
    width: 60%;
}

.history .main-text .block {
    padding-bottom: 35px;
}

.history .main-text .block:last-child {
    padding-bottom: 0;
}

.history .main-text .block h3 {
    color: #1A2E47;
    font-weight: 600;
    font-size: 30px;
}

.history .main-text .block .sub-block {
    display: flex;
    gap: 30px;
    padding-top: 15px;
    align-items: stretch;
}

.history .main-text .block .sub-block .vertical-bar {
    background-color: #00BBF4;
    width: 4px;
    border-radius: 50px;

}

.history .main-text .block .sub-block .vertical-bar .dot {
    background-color: #00BBF4;
    width: 14px;
    height: 14px;
    border-radius: 50px;
    margin-left: -5px;
    margin-top: 20px;
}

.history .main-text .block .sub-block .text {
    padding: 15px;
    background-color: #F1F1F1;
    border-radius: 10px;
}

.history .main-text .block .sub-block .text p {
    font-size: 20px;
    color: #000000;
    font-weight: 600;
    padding-bottom: 10px;
}

.history .main-text .block .sub-block .text span {
    font-weight: 300;
    line-height: 1.5;
}




/* Карта */
.map {
    padding: 50px 100px;
    display: grid;
    place-items: center;
}

.map .title .sub-block {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
}

.map .title .sub-block span {
    margin-top: 2px;
    color: #3E3E3E;
    font-weight: 400;
}

.map .container {
    width: 100%;
    padding-top: 25px;
}

.map .container iframe {
    width: 100%;
    border-radius: 8px;
}

@media (min-width: 1750px) {
    .hero-section .text {
        padding-left: 160px;
    }

    .history {
        padding: 100px 160px 0;
    }

    .map {
        padding: 50px 160px;
    }
}

@media (min-width: 1537px) and (max-width: 1749.98px) {
    .hero-section .text {
        padding-left: 120px;
    }

    .history {
        padding: 100px 120px 0;
    }

    .map {
        padding: 50px 120px;
    }
}

@media (max-width: 1440px) {
    .cta .image.right-side ~ .text {
        margin-left: 150px;
    }
}

@media (min-width: 1441px) and (max-width: 1536.98px) {
    .history {
        padding: 100px 110px 0;
    }

    .map {
        padding: 50px 110px;
    }
}

@media (max-width: 1280px) {
    .hero-section .text {
        padding-top: 130px;
        padding-left: 60px;
    }

    .cta .image img {
        margin-left: -75px;
    }

    .history {
        padding: 70px 60px 0;
        gap: 35px;
    }

    .map {
        padding: 50px 60px;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        height: 420px;
    }

    .cta .image.right-side ~ .text {
        margin-left: 0;
    }

    .hero-section .text {
        padding-top: 110px;
        padding-left: 40px;
        padding-right: 40px;
        width: 100%;
        max-width: 640px;
    }

    .history {
        flex-direction: column;
        padding: 50px 40px 0;
        gap: 30px;
    }

    .history .image {
        width: 100%;
    }

    .history .image img {
        height: auto;
        max-height: 420px;
    }

    .cta .image, .cta .image.right-side {
        margin: 28px 65% 0;
    }

    .history .main-text {
        width: 100%;
    }

    .history .main-text .block h3 {
        font-size: 26px;
    }

    .map {
        padding: 50px 40px;
    }
}

@media (max-width: 920px) {
    .hero-section .text {
        padding-left: 32px;
        padding-right: 32px;
    }

    .history {
        padding: 45px 32px 0;
    }

    .map {
        padding: 45px 32px;
    }
}

@media (max-width: 834px) {
    .hero-section .text {
        padding-left: 28px;
        padding-right: 28px;
    }

    .history {
        padding: 45px 28px 0;
    }

    .map {
        padding: 45px 28px;
    }
}

@media (max-width: 800px) {
    .hero-section {
        background-image: var(--bg-mobile);
        height: 600px;
        background-position: center -500px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 550px;
    }

    .hero-section .text {
        padding-top: 90px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .history {
        padding: 40px 24px 0;
    }

    .map {
        padding: 40px 24px;
    }
}

@media (max-width: 600px) {
    .hero-section {
        height: 395px;
        background-position: center -400px;
    }

    .hero-section .text {
        padding-top: 80px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .history {
        padding: 35px 20px 0;
        gap: 25px;
    }

    .history .image img {
        max-height: 320px;
    }

    .history .main-text .block {
        padding-bottom: 28px;
    }

    .history .main-text .block h3 {
        font-size: 24px;
    }

    .history .main-text .block .sub-block {
        gap: 20px;
    }

    .history .main-text .block .sub-block .text p {
        font-size: 18px;
    }

    .cta .image, .cta .image.right-side {
        margin: 28px 55% 0;
    }

    .map {
        padding: 35px 20px;
    }

    .map .container iframe {
        height: 360px;
    }
}

@media (max-width: 540px) {
    .hero-section {
        height: 320px;
        background-position: center -150px;
    }

    .map .container iframe {
        height: 330px;
    }
}

@media (max-width: 430px) {
    .hero-section {
        height: 450px;
    }

    .hero-section .text {
        padding-top: 70px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .history {
        padding: 30px 16px 0;
    }

    .cta .image, .cta .image.right-side {
        margin: 28px 50% 0;
    }

    .history .main-text .block .sub-block {
        gap: 14px;
    }

    .map {
        padding: 30px 16px;
    }

    .map .container iframe {
        height: 300px;
    }
}

@media (max-width: 400px) {
    .hero-section .text {
        padding-left: 14px;
        padding-right: 14px;
    }

    .history {
        padding: 30px 14px 0;
    }

    .map {
        padding: 30px 14px;
    }
}

@media (max-width: 375px) {
    .hero-section {
        height: 285px;
    }

    .hero-section .text {
        padding-left: 12px;
        padding-right: 12px;
    }

    .history {
        padding: 28px 12px 0;
    }

    .history .main-text .block h3 {
        font-size: 22px;
    }

    .map {
        padding: 28px 12px;
    }
}

@media (max-width: 360px) {
    .hero-section {
        height: 400px;
        background-position: center -100px;
    }

    .history .main-text .block .sub-block .text p {
        font-size: 17px;
    }
}
