@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
    color: #333;
}

.wrapper-gradient {
    color: #ffffff;
    background: linear-gradient(105deg, #38b6ff 0%, #7c4dff 45%, #9c27b0 100%);
    height: 100vh;
    max-height: 765px;
    display: flex;
    flex-direction: column;
    /*overflow-x: hidden;*/
}

.container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

header {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-v {
    position: relative;
    display: inline-block;
    margin-right: 2px;
}

.logo-v::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 5px;
    width: 25px;
    height: 25px;
    border: 3px solid #ffffff;
    border-radius: 4px;
    z-index: -1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.phone > a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    line-height: 100%;
    text-align: center;

}

.btn {
    background-color: #ffffff;
    color: #7c4dff;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 0;
    position: relative;
}

.hero-content {
    width: 45%;
    z-index: 2;
}

h1, h2 {
    font-weight: 700;
    font-size: 40px;
    line-height: 100%;
    max-width: 500px;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 400px;
}

.map-container {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 65%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

main .map-image {
    width: 100%;
    max-width: 706px;
    height: auto;
}

.map-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.map-point {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.point-1 {
    top: 30%;
    left: 25%;
}

.point-2 {
    top: 25%;
    left: 45%;
}

.point-3 {
    top: 35%;
    left: 70%;
}

.point-4 {
    top: 55%;
    left: 25%;
}

.point-5 {
    top: 60%;
    left: 55%;
}

.map-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    padding: 40px 0 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 50px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-icon {
    font-size: 28px;
    margin-bottom: 15px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-label {
    font-size: 11px;
    line-height: 1.3;
    font-weight: 500;
    opacity: 0.8;
}

.only-mob {
    display: none;
}

@media (max-width: 1500px) {
    .map-container {
        width: 90%;
        right: 0;
        top: 65%;
        justify-content: flex-end;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    main .hero-content {
        width: 100%;
        text-align: center;
        margin-bottom: 226px;
        /*display: flex;*/
        flex-direction: column;
    }

    .hero-content h1 {
        text-align: center;
        max-width: 100%;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .map-container {
        width: 90%;
        right: 5%;
        top: 65%;
    }
}

@media (max-width: 768px) {
    .only-mob {
        display: flex;
    }

    .wrapper-gradient {
        max-height: fit-content;
        height: auto;
    }

    header {
        gap: 20px;
    }

    header > .logo {
        max-width: 72px;
    }

    header .phone {
        display: none;
    }

    .header-right {
        gap: 15px;
    }

    header .btn {
        padding: 10px 18px;
    }

    h1, h2 {
        font-weight: 700;
        font-size: 24px;
        line-height: 120%;
    }

    .service-label {
        font-size: 9px;
        line-height: 1.3;
        font-weight: 500;
        opacity: 0.8;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 0;
    }

    main {
        padding: 40px 0 0 0;
    }

    .map-container {
        width: 90%;
        right: 5%;
        top: 77%;
    }

    .hero-content {
        margin-bottom: 300px;
    }
}

/* section - 2 */
.partner {
    position: relative;
    width: 100%;
    height: auto;
    padding: 80px 0;
}

.map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    object-fit: cover;
    object-position: top;
}

.content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
}

.diagram-container {
    position: relative;
    width: 600px;
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.diagram-container > img {
    width: 100%;
    height: 100%;
}

.text-container {
    flex: 1;
    max-width: 550px;
}

.text-container h1, .text-container h2 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 30px 0;
    color: #3A9DF3;
}

.text-container p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #333;
}

.text-container p strong {
    font-weight: 700;
}

@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }

    .diagram-container {
        width: 380px;
        height: 380px;
    }

    .center-circle {
        width: 180px;
        height: 180px;
    }

    .monitor-icon {
        font-size: 45px;
    }

    .center-text {
        font-size: 14px;
    }

    .vinz-text, .vinz-v {
        font-size: 26px;
    }

    .text-container , .text-container h2 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .diagram-container {
        width: 300px;
        height: 300px;
    }

    .center-circle {
        width: 150px;
        height: 150px;
        padding: 10px;
    }

    .monitor-icon {
        font-size: 35px;
        margin-bottom: 5px;
    }

    .center-text {
        font-size: 11px;
    }

    .vinz-text, .vinz-v {
        font-size: 20px;
    }

    .segment i {
        font-size: 20px;
    }

    .segment-tl i {
        top: 40px;
        left: 40px;
    }

    .segment-tr i {
        top: 40px;
        right: 40px;
    }

    .segment-bl i {
        bottom: 40px;
        left: 40px;
    }

    .segment-br i {
        bottom: 40px;
        right: 40px;
    }

    .arrow {
        height: 25px;
    }

    .arrow-tl {
        top: 90px;
        left: 90px;
    }

    .arrow-tr {
        top: 90px;
        right: 90px;
    }

    .arrow-bl {
        bottom: 90px;
        left: 90px;
    }

    .arrow-br {
        bottom: 90px;
        right: 90px;
    }
}

/* section - 3 */

.service {
    padding: 80px 0;
}

.service h1, .service h2 {
    max-width: 100%;
    text-align: center;
    color: #47a8e5;
}

.subtitle-bold {
    text-align: center;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 100%;
    font-size: 18px;
}

.subtitle-light {
    text-align: center;
    font-weight: 400;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.main-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.icon-group {
    display: flex;
    gap: 30px;
}

.icon-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 120px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 135px;
}

.icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, #1a1a2e 0%, #0f0c29 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
    position: relative;
    border: 2px solid #47a8e5;
    box-shadow: 0 0 15px rgba(71, 168, 229, 0.3), inset 0 0 10px rgba(147, 51, 234, 0.3);
}

.icon-circle i {
    font-size: 28px;
    background: linear-gradient(45deg, #47a8e5, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.icon-label {
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
    color: #111111;
}

.center-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    min-width: 280px;
}

.arrows-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 15px;
    position: relative;
}

.arrow-left, .arrow-right {
    font-size: 30px;
    color: #9333ea;
}

.arrow-left {
    transform: rotate(-45deg);
}

.arrow-right {
    transform: rotate(45deg);
}

.plus-sign {
    font-size: 28px;
    color: #47a8e5;
    font-weight: bold;
    margin-bottom: 25px;
}

.repair-box-wrapper {
    position: relative;
    padding: 2px;
    border-radius: 12px;
    background: linear-gradient(to right, #47a8e5, #9333ea);
    display: inline-block;
}

.repair-box {
    background-color: #0C3461;
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
}

.repair-box span {
    display: block;
    font-weight: 400;
    font-size: 13px;
    opacity: 0.8;
}

@media (max-width: 900px) {
    .main-layout {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
    }

    .center-column {
        display: none;
    }

    .center-column {
        order: -1;
        margin-bottom: 40px;
    }

    /*.icon-group{*/
    /*    flex-wrap: wrap;*/
    /*}*/
    /*.icon-column {*/
    /*    flex-direction: row;*/
    /*    flex-wrap: wrap;*/
    /*}*/
    /*.icon-circle img {*/
    /*    width: 100%;*/
    /*}*/
}

/* section - 4 */

:root {
    --bg-color: #DAE7F0;
    --primary-blue: #3A9DF3;
    --text-blue: #4da1e6;
    --text-purple: #7b2cbf;
    --dark-text: #333333;
    --white: #ffffff;
}


.saving {
    background-color: var(--bg-color);
    color: var(--dark-text);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

.saving h1, .saving h2 {
    max-width: 100%;
    text-align: center;
    font-weight: 600;
    font-size: 40px;
    line-height: 100%;
    color: var(--primary-blue);
    text-align: center;
}

.subtitle {
    max-width: 850px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
}

.infographic-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 40px;
    padding: 0 40px;
}

.path-svg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 300px;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

.column {
    position: relative;
    z-index: 1;
    width: 18%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hexagon-wrapper {
    width: 130px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.hexagon {
    width: 124px;
    height: 144px;
    background: var(--white);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-block {
    text-align: left;
    width: 100%;
}

.text-block h3 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.3;
}

.text-block p {
    font-size: 12px;
    line-height: 1.4;
    color: #555;
}

.col-1, .col-3, .col-5 {
    margin-top: 330px;
}
.col-2 .hexagon-wrapper, .col-4 .hexagon-wrapper {
    display: none;
}

.col-1 h3, .col-3 h3 {
    color: var(--text-blue);
}

.col-5 h3 {
    color: var(--text-blue);
}

.col-2 h3, .col-4 h3 {
    color: var(--text-blue);
}

.col-5 h3 {
    color: #4da1e6;
}

.hexagon-wrapper img {
    display: none;
}

@media (max-width: 900px) {
    .infographic-container {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    .hexagon-wrapper img {
        display: flex;
    }
    .col-2 .hexagon-wrapper, .col-4 .hexagon-wrapper {
        display: flex;
    }

    .hexagon-wrapper {
        width: auto;
        height: 80px;
        margin: 10px 10px 10px 0;
    }



    .saving {
        padding: 80px 0;
        min-height: auto;
    }
    .saving h1, .saving h2 {
        font-weight: 600;
        font-size: 24px;
        line-height: 100%;
        text-align: center;
        color: #3A9DF3;
    }
    .saving .subtitle {
        text-align: center;
    }

    .path-svg {
        display: none;
    }

    .column {
        width: 100%;
        display: flex;
        flex-direction: row;
        margin-top: 0 !important;
        text-align: center;
    }

    .text-block {
        text-align: center;
    }

    /*.hexagon-wrapper {*/
    /*    height: auto;*/
    /*}*/


    .text-block h3 {
        display: flex;
        justify-content: flex-start;
        text-align: left;
    }

    .text-block p {
        display: flex;
        justify-content: flex-start;
        text-align: left;
    }
}

/* section - 5 */

.diagnostics {
    padding: 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
}

.diagnostics h1, .diagnostics h2 {
    font-weight: 600;
    font-size: 40px;
    line-height: 100%;
    text-align: center;
    color: #3A9DF3;
    max-width: 100%;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
}

.diagnostics .item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.icon-box {
    background-color: #e3ecf5;
    border-radius: 6px;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4392d5;
    font-size: 18px;
    flex-shrink: 0;
}

.diagnostics .content-box {
    background-color: #e3ecf5;
    border-radius: 6px;
    padding: 16px 20px;
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.5;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.content-box p {
    margin: 0;
}

.content-box strong {
    font-weight: 700;
}

.diagnostics .column {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
    .diagnostics h1, .diagnostics h2 {
        font-weight: 600;
        font-size: 24px;
    }
    .diagnostics .content-box {
        background-color: #e3ecf5;
        border-radius: 6px;
        padding: 8px 10px;
        flex-grow: 1;
        font-size: 14px;
        line-height: 1.5;
        min-height: 60px;
        display: flex;
        align-items: center;
    }
    .diagnostics .content-box p {
        text-align: left;
    }
}

/* section - 6 */

 .logistic {
     padding: 80px 0;
     background-color: #e3eff6;
     color: #333;
     display: flex;
     justify-content: center;
     align-items: center;
 }
 .logistic .only-mob {
     display: none;
 }

.logistic h1, .logistic h2 {
    max-width: 100%;
    text-align: center;
    color: #3498db;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.intro-box {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: inline-block;
    max-width: 800px;
    z-index: 1;
}

.intro-box p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.logistic .map-container {
    position: relative;
    width: 100%;
    margin-bottom: 50px;
    transform: unset;
}

.logistic .map-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    max-width: 100%;
}

.logistic .features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: left;
}

.logistic .feature-item {
    display: flex;
    align-items: flex-start;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    min-height: 80px;
}

.logistic .feature-icon {
    color: #6c5ce7;
    font-size: 12px;
    margin-right: 15px;
    margin-top: 4px;
}

.logistic .feature-text {
    font-size: 13px;
    line-height: 1.5;
    color: #444;
}

@media (max-width: 768px) {

    .logistic .only-mob {
        display: flex;
        font-size: 12px;
    }
    .logistic .features-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: left;
    }
    .logistic .map-container {
        top: unset;
        right: unset;
        transform: unset;
    }
    .logistic .feature-item {
        margin-bottom: 0;
    }

    .logistic h1, .logistic h2 {
        font-size: 24px;
    }

    .intro-box {
        display: none;
    }
}

/* section - 7 */

 .realization {
     padding: 80px 0;
     color: #333;
     line-height: 1.5;
 }
 .realization .only-mob {
     display: none;
 }

.head-part {
    text-align: center;
    margin-bottom: 40px;
}

.realization h1, .realization h2 {
    color: #4a90e2;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 30px;
    max-width: 100%;
    text-align: center;
}

.banner {
    background: linear-gradient(90deg, #0d2b52 0%, #162a5c 100%);
    border-radius: 12px;
    padding: 25px 40px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 60px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature-icon {
    color: #7b61ff;
    margin-right: 15px;
    margin-top: 5px;
    font-size: 14px;
}

.feature-text {
    font-size: 15px;
    color: #444;
}

.feature-text strong {
    color: #000;
    font-weight: 700;
}

.visual-container {
    position: relative;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}
.visual-container img {
    width: 100%;
    height: 100%;
}

@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    .visual-container {
        height:fit-content;
        margin-top: 40px;
    }
    .gradient-bg {
        width: 100%;
        max-width: 400px;
        right: 50%;
        transform: translate(50%, -50%);
    }
    .car-image {
        width: 400px;
        right: 50%;
        transform: translateX(50%);
    }
    .device-tablet {
        width: 300px;
        right: 10%;
    }
    .device-phone {
        width: 140px;
        left: 10%;
    }
}

@media (max-width: 600px) {
    .realization h1, .realization h2 {
        font-size: 24px;
    }
    .visual-container {
        height: 300px;
        margin-top: 0;
    }
    .car-image {
        width: 300px;
    }
    .device-tablet {
        width: 220px;
    }
    .device-phone {
        width: 100px;
    }
    .realization .only-mob {
        display: block;
        object-fit: cover;
    }
    .banner{
        margin: 0;
        font-size: 14px;
        padding: 20px;
    }
    .head-part {
        margin-bottom: 0;
    }
    .realization-image {
        display: none;
    }
    .realization .content-grid {
        gap: 20px;
    }
}

/* section - 8 */

.hero {
    position: relative;
    background: linear-gradient(90deg, rgba(224, 235, 247, 0.9) 0%, rgba(224, 235, 247, 0.7) 100%);
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-car {
    position: absolute;
    left: -100px;
    bottom: -50px;
    width: 50%;
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.hero .hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero .hero-title {
    font-weight: 600;
    font-size: 40px;
    line-height: 100%;
    color: #3A9DF3;
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 16px;
}

.feature-icon {
    color: #6a29cc;
    margin-right: 12px;
    margin-top: 4px;
    font-size: 14px;
}

.feature-item strong {
    font-weight: 700;
    margin-right: 5px;
}

.btn-consultation {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(90deg, #4a90e2 0%, #9013fe 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(144, 19, 254, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-consultation:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(144, 19, 254, 0.4);
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-screenshot {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.map-caption {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

/* Footer Section */
footer {
    background: linear-gradient(90deg, #4a90e2 0%, #9013fe 100%);
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo-box {
    border: 3px solid #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    position: relative;
}

.logo-box i {
    font-size: 24px;
    position: absolute;
    top: -10px;
    right: -5px;
}

.footer-center {
    text-align: center;
    flex: 1;
}

.footer-questions {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
}

.footer-phone {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    text-decoration: none;
    color: #fff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #fff;
    font-size: 32px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.max {
    max-width: 60px;
}
.max > img {
    width: 100%;
    height: 100%;
}

.social-icon:hover {
    opacity: 0.8;
}

@media (max-width: 992px) {
    .hero .hero-content {
        flex-direction: column;
        text-align: center;
        margin-bottom: 0;
    }
    .hero .hero-text {
        max-width: 100%;
        margin-bottom: 50px;
    }
    .feature-item {
        justify-content: flex-start;

    }
    .feature-item div {
       text-align: left;

    }
    .hero-bg-car {
        display: none;
    }
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero .hero-content {
        flex-direction: column;
        text-align: center;
        margin-bottom: 0;
    }
    .hero h1, .hero h2 {
        font-size: 24px;
    }
    .max {
        max-width: 50px;
    }
    .max > img {
        width: 100%;
        height: 100%;
    }
    .hero .hero-title {
        font-weight: 600;
        font-size: 24px;
        line-height: 100%;
        color: #3A9DF3;
    }
}

/* modal */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;

    z-index: 999;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}


.modal-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    box-sizing: border-box;
    margin: 20px;
}

.close-button {
    position: absolute;
    top: 25px;
    right: 25px;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
    border: none;
    background: none;
    padding: 0;
}

.close-button:hover {
    color: #333;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    padding-right: 30px;
    line-height: 1.3;
}

.form-group {
    margin-bottom: 16px;
}

.form-input {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.2s;
}

.form-input::placeholder {
    color: #a0a0a0;
    font-weight: 400;
}

.form-input:focus {
    outline: none;
    border-color: #4b91f1;
}

.submit-button {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #4b91f1 0%, #8e2de2 100%);
    color: white;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 24px;
    margin-bottom: 20px;
    transition: opacity 0.2s;
    box-shadow: 0 4px 15px rgba(75, 145, 241, 0.3);
}

.submit-button:hover {
    opacity: 0.9;
}

.footer-text {
    font-size: 12px;
    color: #666;
    text-align: center;
    line-height: 1.5;
    margin: 0;
    padding: 0 10px;
}

@media (max-width: 480px) {
    .modal-container {
        padding: 30px 20px;
        margin: 15px;
    }
    .modal-title {
        font-size: 18px;
    }
    .form-input, .submit-button {
        padding: 15px;
        font-size: 15px;
    }
}

/*  modal police  */

/* ссылка-кнопка внизу (чтобы выглядело как ссылка) */
.policy-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #4b91f1;
  text-decoration: underline;
  font: inherit;
}

/* модалка политики чуть шире/выше не делаем, ограничиваем по высоте */
.modal-container--policy {
  max-width: 600px;               /* можно оставить 500, если надо строго как у первой */
}

/* область контента со скроллом */
.modal-content.scrollable {
  max-height: min(60vh, 420px);   /* вот это ключ: модалка не станет огромной */
  overflow-y: auto;
  padding-right: 10px;           /* чтобы текст не прилипал к скроллбару */
}

/* чтобы длинный текст читался красиво */
.modal-content.scrollable p {
  margin: 0 0 12px;
  color: #333;
  line-height: 1.6;
  font-size: 14px;
}

/* можно чуть выделить подзаголовки */
.modal-content.scrollable strong {
  color: #1a1a1a;
}

/* на мобилке чуть уменьшим max-height */
@media (max-width: 480px) {
  .modal-content.scrollable {
    max-height: 60vh;
  }
}