@import url('https://fonts.googleapis.com/css?family=Prompt:300,400,500,600,700&subset=latin-ext');

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    max-width: 100vw;
    overflow-x: hidden;
    font-family: 'Prompt', Arial, sans-serif;
    color: #005093;
}
body {
    background: linear-gradient(to bottom, #cfe1f1 0%, #eaf2f9 55%, #ffffff 100%) no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
}

img { border: 0; max-width: 100%; display: block; }
a { color: #005093; text-decoration: none; }

.page {
    width: 80%;
    max-width: 1800px;
    margin: 0 auto;
    padding: clamp(15px, 3vw, 40px) 0 0;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
}
@media screen and (max-width: 970px) {
    .page { width: 90%; }
}
@media screen and (max-width: 601px) {
    .page { width: 100%; padding-left: 15px; padding-right: 15px; }
}

/* ---------- HEADER ---------- */
.header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(15px, 3vw, 40px);
    flex-wrap: nowrap;
}

.header__logo {
    display: block;
    flex: 0 0 auto;
}
.header__logo img {
    height: clamp(70px, 10.6vw, 131px);
    width: auto;
}

.header__contacts {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(20px, 4vw, 60px);
    row-gap: 20px;
    flex-wrap: wrap;
}

.contact {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.5vw, 16px);
    color: #005093;
    font-weight: 500;
    line-height: 1.2;
}
.contact__icon {
    width: clamp(38px, 4.5vw, 52px);
    height: clamp(38px, 4.5vw, 52px);
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-shadow: 0 2px 6px rgba(0,80,147,0.08);
}
.contact__icon img {
    width: 50%;
    height: 50%;
    fill: #005093;
}
.contact__text {
    font-size: clamp(14px, 1.5vw, 20px);
    text-decoration: underline;
}
.contact:hover .contact__text {
    text-decoration: none;
}
.contact--phone .contact__text {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.contact--phone .contact__text small {
    font-size: clamp(11px, 1vw, 13px);
    font-weight: 400;
    color: #005093;
    margin-top: 2px;
    text-decoration: none;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero__clouds {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1800px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.hero__trucks {
    position: relative;
    z-index: 2;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}
@media (min-width: 970px) {
    .hero__trucks {
        margin-top: -120px;
    }
}

.hero__eu {
    position: absolute;
    right: calc((100vw - 100%) / -2);
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: #ffffff;
    padding: clamp(6px, 0.8vw, 12px) clamp(8px, 1vw, 14px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.hero__eu img {
    height: clamp(60px, 8vw, 120px);
    width: auto;
}

/* ---------- BRANDS ---------- */
.brands {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    margin-top: auto;
    padding: clamp(30px, 4vw, 60px) 0 0;
}

.brands__item {
    box-sizing: border-box;
    background: rgba(0,0,0,0.8);
    flex: 1 1 0;
    max-width: 350px;
    height: 160px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    transition: background 0.2s;
}
.brands__item:hover {
    background: rgba(0,0,0,0.7);
}
.brands__item img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* ---------- TABLET / SMALL DESKTOP ---------- */
@media (max-width: 969px) {
    .page {
        height: auto;
        min-height: 100vh;
    }
    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        flex-wrap: wrap;
    }
    .header__logo img {
        height: 132px;
    }
    .header__contacts {
        justify-content: center;
        gap: 25px;
        width: 100%;
        flex-wrap: wrap;
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 600px) {
    .header__logo img {
        height: 108px;
    }
    .header__contacts {
        gap: 12px;
    }
    .contact {
        font-size: 13px;
    }
    .contact__text {
        font-size: 13px;
    }

    .hero {
        margin-top: 15px;
    }
    .hero__trucks {
        width: 100%;
        margin-top: 20px;
    }
    .hero__eu img {
        height: 60px;
    }

    .brands {
        flex-direction: column;
        align-items: center;
        padding: 20px 0 0;
    }
    .brands__item {
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
        height: 100px;
        padding: 20px;
    }
}

@media (max-width: 380px) {
    .header__logo img { height: 66px; }
    .contact__icon { width: 36px; height: 36px; }
    .contact__text { font-size: 12px; }
    .contact--phone .contact__text small { font-size: 10px; }
}

/* ---------- LARGE DESKTOP (>2000px): brands +20% ---------- */
@media (min-width: 2001px) {
    .brands__item {
        max-width: 420px;
        height: 192px;
        padding: 48px 24px;
        font-size: 24px;
    }
    .brands__item img {
        height: 120px;
    }
}
