* {
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    color: #18232d;
}

section {
    scroll-margin-top: 112px;
}

#home {
    position: relative;
    min-height: 100vh;
    background:
    linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42)),
    url("../img/truck_image_1.png") center / cover no-repeat;
}

nav {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 84px;
    padding: 12px clamp(20px, 5vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(0, 0, 0, 0.32);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    display: block;
    width: min(180px, 38vw);
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 42px);
}

.nav-links a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: #f3b42c;
}

.firma {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: clamp(40px, 8vw, 120px);
    padding: clamp(72px, 10vw, 150px) clamp(20px, 8vw, 150px);
    background: #f4f6f7;
}

.firma-intro {
    max-width: 680px;
}

.firma-label {
    margin: 0 0 18px;
    color: #bd7800;
    font-size: 0.9rem;
    font-weight: 800;
}

.firma-label i {
    margin-right: 8px;
}

.firma h1,
.firma h2 {
    margin: 0;
    text-wrap: balance;
}

.firma h1 {
    position: relative;
    max-width: 12ch;
    padding-bottom: 28px;
    font-size: clamp(2.7rem, 5.6vw, 5.4rem);
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: -0.035em;
}

.firma h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 74px;
    height: 5px;
    background: #f3b42c;
}

.firma-lead {
    margin: 32px 0 18px;
    max-width: 58ch;
    color: #273b49;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    font-weight: 700;
    line-height: 1.55;
}

.firma-intro > p:last-child {
    max-width: 64ch;
    margin: 0;
    color: #465762;
    line-height: 1.7;
}

.firma-services {
    align-self: center;
    padding: clamp(28px, 4vw, 48px);
    background: #18232d;
    color: #fff;
}

.firma-services h2 {
    color: #f3b42c;
    font-size: clamp(1.45rem, 2vw, 2rem);
}

.firma-services ul {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.firma-services li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 12px;
    line-height: 1.45;
}

.firma-services li::before {
    content: "✓";
    color: #f3b42c;
    font-weight: 900;
}

.firma-promise {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: clamp(6px, 2vw, 28px);
    padding-top: clamp(28px, 4vw, 48px);
    border-top: 1px solid #c5cdd1;
    color: #18232d;
}

.firma-promise i {
    color: #bd7800;
    font-size: 1.65rem;
}

.firma-promise p {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 800;
}

.cookie-banner {
    position: fixed;
    z-index: 40;
    right: clamp(16px, 3vw, 36px);
    bottom: clamp(16px, 3vw, 36px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(560px, calc(100vw - 32px));
    padding: 22px 24px;
    background: #18232d;
    color: #fff;
    box-shadow: 0 8px 24px rgba(10, 18, 25, 0.3);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner__content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.cookie-banner__content > i {
    flex: 0 0 auto;
    margin-top: 3px;
    color: #f3b42c;
    font-size: 1.4rem;
}

.cookie-banner h2,
.cookie-banner p {
    margin: 0;
}

.cookie-banner h2 {
    font-size: 1.05rem;
}

.cookie-banner p {
    max-width: 42ch;
    margin-top: 6px;
    color: #d3dbe0;
    font-size: 0.92rem;
    line-height: 1.45;
    text-wrap: pretty;
}

.cookie-banner__button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 16px;
    border: 0;
    border-radius: 0;
    background: #f3b42c;
    color: #18232d;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease;
}

.cookie-banner__button:hover,
.cookie-banner__button:focus-visible {
    background: #fff;
}

.cookie-banner__button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 640px) {
    nav {
        min-height: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .firma {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .firma-services {
        padding: 28px 24px;
    }
}

.oferta-legacy {
    display: none;
}

.kontakt-legacy {
    display: none;
}

.oferta {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: clamp(120px, 14vw, 180px) clamp(20px, 8vw, 150px) clamp(72px, 10vw, 130px);
    background:
        linear-gradient(90deg, rgba(10, 18, 25, 0.94) 0%, rgba(10, 18, 25, 0.77) 50%, rgba(10, 18, 25, 0.3) 100%),
        url("../img/truck_image_2.png") center / cover no-repeat;
    color: #fff;
}

.oferta-heading {
    display: none;
}

.oferta-heading p {
    margin: 0;
    color: #f3b42c;
    font-size: 0.9rem;
    font-weight: 800;
}

.oferta-heading h2 {
    margin: 0;
    max-width: 11ch;
    font-size: clamp(2.6rem, 5.4vw, 5.6rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.oferta-heading span {
    display: block;
    max-width: 58ch;
    margin-top: 28px;
    color: #d3dbe0;
    line-height: 1.65;
    text-wrap: pretty;
}

.oferta-list {
    display: none;
}

.oferta-required {
    width: min(100%, 1080px);
    margin-left: auto;
    padding: clamp(30px, 5vw, 64px);
    border-top: 6px solid #f3b42c;
    background: #fff;
    color: #18232d;
}

.oferta-required h2 {
    margin: 0 0 clamp(28px, 4vw, 48px);
    font-size: clamp(2.8rem, 5vw, 5.25rem);
    line-height: 0.95;
    letter-spacing: -0.035em;
}

.oferta-required ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px clamp(28px, 5vw, 70px);
    margin: 0;
    padding-left: 1.2rem;
    list-style: disc;
}

.oferta-required li {
    padding-left: 5px;
    color: #344650;
    line-height: 1.5;
}

.oferta-required li::marker {
    color: #bd7800;
    font-size: 1.1em;
}

.oferta-group {
    padding: clamp(28px, 4vw, 48px);
    border-right: 1px solid #c9d1d5;
}

.oferta-group:last-child {
    border-right: 0;
}

.oferta-group > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 28px;
    background: #f3b42c;
    color: #18232d;
    font-size: 1.25rem;
}

.oferta-group > div {
    display: block;
}

.oferta-group h3 {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    line-height: 1.1;
    text-wrap: balance;
}

.oferta-group ul {
    display: grid;
    gap: 13px;
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
    color: #40515c;
}

.oferta-group li {
    line-height: 1.45;
}

@media (max-width: 800px) {
    .oferta {
        align-items: flex-start;
    }

    .oferta-required ul {
        grid-template-columns: 1fr;
    }

    .oferta-required {
        margin-left: 0;
    }

    .oferta-list {
        grid-template-columns: 1fr;
        max-width: 620px;
    }

    .oferta-group {
        border-right: 0;
        border-bottom: 1px solid #c9d1d5;
    }

    .oferta-group:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 540px) {
    .oferta {
        background-position: 62% center;
    }

    .oferta-heading h2 {
        font-size: clamp(2.45rem, 13vw, 3.7rem);
    }
}

.kontakt {
    padding: clamp(72px, 10vw, 140px) clamp(20px, 8vw, 150px);
    background: #f4f6f7;
}

.kontakt-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: clamp(36px, 6vw, 70px);
}

.kontakt-heading p {
    margin: 0;
    color: #bd7800;
    font-size: 0.9rem;
    font-weight: 800;
}

.kontakt-heading h2 {
    max-width: 11ch;
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.15fr) minmax(260px, 0.85fr);
    gap: clamp(32px, 7vw, 110px);
}

.kontakt-address {
    padding: clamp(30px, 5vw, 58px);
    background: #18232d;
    color: #fff;
}

.kontakt-address > i {
    color: #f3b42c;
    font-size: 1.7rem;
}

.kontakt-address h3 {
    margin: 28px 0 22px;
    font-size: clamp(1.4rem, 2.7vw, 2rem);
    line-height: 1.15;
}

.kontakt-address address {
    color: #d3dbe0;
    font-style: normal;
    line-height: 1.6;
}

.kontakt-address a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 36px;
    color: #fff;
    font-weight: 800;
    text-decoration-color: #f3b42c;
    text-underline-offset: 6px;
}

.kontakt-details {
    display: grid;
    align-content: center;
    gap: 0;
}

.kontakt-details > div {
    display: grid;
    gap: 9px;
    padding: 24px 0;
    border-bottom: 1px solid #c5cdd1;
}

.kontakt-details > div:first-child {
    padding-top: 0;
}

.kontakt-details span {
    color: #687983;
    font-size: 0.85rem;
    font-weight: 800;
}

.kontakt-details a,
.kontakt-details strong {
    color: #18232d;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 800;
    text-decoration: none;
}

.kontakt-certificate a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #bd7800;
}

.kontakt-details a:hover,
.kontakt-details a:focus-visible,
.kontakt-address a:hover,
.kontakt-address a:focus-visible {
    color: #bd7800;
}

@media (max-width: 700px) {
    .kontakt-heading,
    .kontakt-grid {
        grid-template-columns: 1fr;
    }

    .kontakt-heading {
        display: grid;
        gap: 16px;
    }
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 84px;
    padding: 22px clamp(20px, 5vw, 80px);
    border-top: 4px solid #f3b42c;
    background: #101820;
    color: #d3dbe0;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
}

@media (max-width: 640px) {
    section {
        scroll-margin-top: 124px;
    }

    nav {
        gap: 8px;
        padding: 10px 18px 12px;
        background: rgba(10, 18, 25, 0.92);
    }

    .logo img {
        width: 142px;
    }

    .nav-links {
        gap: 8px;
    }

    .nav-links a {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .nav-links i {
        font-size: 0.8rem;
    }

    #home {
        min-height: 680px;
        background-position: 22% center;
    }

    .firma,
    .kontakt {
        padding: 72px 20px;
    }

    .firma {
        gap: 40px;
    }

    .firma h1 {
        max-width: 11ch;
        font-size: clamp(2.65rem, 13vw, 4rem);
    }

    .firma-lead {
        margin-top: 26px;
        font-size: 1.08rem;
    }

    .firma-services {
        padding: 30px 22px;
    }

    .firma-promise {
        align-items: flex-start;
        gap: 13px;
    }

    .firma-promise p {
        font-size: 1.15rem;
        line-height: 1.35;
    }

    .oferta {
        min-height: auto;
        padding: 150px 20px 72px;
        background-position: 58% center;
    }

    .oferta-required {
        width: 100%;
        padding: 30px 24px;
        border-top-width: 5px;
    }

    .oferta-required h2 {
        margin-bottom: 30px;
        font-size: clamp(2.55rem, 14vw, 4rem);
    }

    .oferta-required ul {
        gap: 14px;
        padding-left: 1.05rem;
    }

    .kontakt-grid {
        gap: 40px;
    }

    .kontakt-address {
        padding: 30px 24px;
    }

    .kontakt-address a {
        margin-top: 28px;
        line-height: 1.45;
    }

    .kontakt-details a,
    .kontakt-details strong {
        overflow-wrap: anywhere;
        font-size: 1.14rem;
    }

    footer {
        min-height: 72px;
        padding: 18px 20px;
        font-size: 0.78rem;
    }

    .cookie-banner {
        right: 16px;
        bottom: 16px;
        left: 16px;
        width: auto;
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .cookie-banner__button {
        width: 100%;
    }
}
