@font-face {
    font-family: "Citroen";
    src: url("./fonts/CitroenCyrillicType-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Citroen";
    src: url("./fonts/CitroenCyrillicType-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Citroen";
    src: url("./fonts/CitroenCyrillicType-Black.ttf") format("truetype");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

:root {
    --campaign-blue: #8c9faf;
    --form-blue: #1495df;
    --footer-blue: #8195a4;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: #111;
    background: #fff;
    font-family: "Citroen", Arial, sans-serif;
}

button, input, select {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.campaign-hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    color: #fff;
    background: #07121c;
    aspect-ratio: 2048 / 1338;
}

.campaign-hero::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .2));
}

.campaign-hero__picture,
.campaign-hero__picture img {
    display: block;
    width: 100%;
    height: 100%;
}

.campaign-hero__picture {
    position: absolute;
    inset: 0;
}

.campaign-hero__picture img {
    object-fit: cover;
}

.campaign-hero__logos,
.campaign-hero__content,
.campaign-hero__actions,
.campaign-hero__bottom-row {
    position: absolute;
    z-index: 2;
}

.campaign-hero__logos {
    top: 6.3%;
    right: 5.6%;
    left: 5.2%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.campaign-hero__dealer {
    width: clamp(125px, 15.5vw, 245px);
    height: auto;
}

.campaign-hero__brand {
    width: clamp(105px, 12vw, 190px);
    height: auto;
}

.campaign-hero__content {
    right: 4.9%;
    bottom: 16%;
    width: 42.5%;
    text-align: right;
    text-transform: uppercase;
}

.campaign-hero__actions {
    bottom: 2.3%;
    left: 50%;
    width: min(32%, 510px);
    transform: translateX(-50%);
    text-align: center;
}

.campaign-hero__bottom-row {
    display: none;
}

.campaign-hero h1 {
    margin: 0 0 2.3%;
    font-size: clamp(47px, 5.04vw, 82px);
    line-height: .9;
    letter-spacing: .01em;
    font-weight: 900;
    -webkit-text-stroke: .012em currentColor;
    paint-order: stroke fill;
}

.exchange-symbol {
    display: inline-block;
    width: 0.9em;
    height: 0.9em;
    margin: 0 0.05em;
    vertical-align: -.1em;
}

.campaign-hero__date {
    display: inline-block;
    margin: 0 0 2.6%;
    padding: .35em .65em .25em;
    color: #111;
    background: #fff;
    font-size: clamp(17px, 1.7vw, 29px);
    line-height: 1;
    letter-spacing: .02em;
}

.campaign-hero__offer {
    margin: 0 auto;
    font-size: clamp(16px, 1.65vw, 27px);
    line-height: 1.17;
    font-weight: 400;
}

.campaign-hero__offer strong {
    font-weight: 900;
}

.campaign-hero__cta {
    display: block;
    width: 100%;
    margin: 0 auto 1.2%;
    padding: .32em 1em .25em;
    border-radius: 999px;
    color: #fff;
    background: var(--campaign-blue);
    font-size: clamp(18px, 1.9vw, 32px);
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}

.campaign-hero__cta:hover,
.campaign-hero__cta:focus-visible {
    background: #a4b4c1;
    transform: translateY(-2px);
}

.campaign-hero__note {
    margin: 0;
    font-size: clamp(10px, .92vw, 15px);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
}

.form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 468px;
    padding: 48px 20px;
    background: #fff;
}

.form-section form {
    width: min(100%, 660px);
}

.form-fields {
    display: grid;
    gap: 7px;
}

.form-fields input,
.form-fields select {
    width: 100%;
    min-height: 40px;
    padding: 7px 12px;
    border: 1.5px solid #47b4ec;
    border-radius: 3px;
    color: #333;
    background: #fff;
    outline: none;
}

.form-fields input:focus,
.form-fields select:focus {
    border-color: #008fd8;
    box-shadow: 0 0 0 3px rgba(20, 149, 223, .2);
}

.privacy-copy {
    margin: 17px 0 13px;
    font-size: 10px;
    line-height: 1.25;
    text-align: justify;
}

.privacy-copy a,
.checkbox-row a {
    color: #168bd0;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 8px 0;
    font-size: 10px;
    line-height: 1.25;
    cursor: pointer;
}

.checkbox-row input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: -1px 0 0;
}

.submit-button {
    width: 100%;
    margin-top: 10px;
    padding: 13px 20px 10px;
    border: 0;
    color: #fff;
    background: var(--form-blue);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s ease;
}

.submit-button:hover,
.submit-button:focus-visible {
    background: #087fc2;
}

.submit-button:disabled {
    opacity: .65;
    cursor: wait;
}

footer {
    color: #fff;
    background: var(--footer-blue);
}

.footer-container {
    display: flex;
    align-items: center;
    gap: 36px;
    width: min(100%, 1920px);
    min-height: 122px;
    margin: 0 auto;
    padding: 25px 3.2%;
}

.footer-container img {
    flex: 0 0 auto;
    width: clamp(145px, 13vw, 235px);
    height: auto;
}

.footer-container p {
    margin: 0;
    font-size: clamp(8px, .82vw, 14px);
    line-height: 1.13;
    font-weight: 700;
}

@media (max-width: 1100px) and (min-width: 768px) {
    .campaign-hero {
        min-height: 590px;
    }

    .campaign-hero__content {
        width: 46%;
    }
}

@media (max-width: 767px) {
    .desktop-only {
        display: none;
    }

    .campaign-hero {
        min-height: 0;
        aspect-ratio: 1 / 1.16;
        overflow: hidden;
        padding: 0;
        background: #07121c;
    }

    .campaign-hero::before {
        display: none;
    }

    .campaign-hero::after {
        inset: 65% 0 0;
        background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .4));
    }

    .campaign-hero__picture {
        height: 100%;
    }

    .campaign-hero__picture img {
        object-fit: cover;
    }

    .campaign-hero__logos {
        position: static;
    }

    .campaign-hero__dealer {
        position: absolute;
        z-index: 2;
        top: 4.5vw;
        left: 6.2vw;
        width: 23vw;
        max-width: none;
    }

    .campaign-hero__brand {
        display: none;
    }

    .campaign-hero__content {
        inset: 20vw auto auto 6.2vw;
        width: 74vw;
        text-align: left;
    }

    .campaign-hero__actions {
        display: none;
    }

    .campaign-hero h1 {
        margin: 0 0 3.2vw;
        font-size: clamp(33px, 8.55vw, 68px);
        line-height: .94;
    }

    .campaign-hero__date {
        margin: 0;
        padding: .34em .7em .27em;
        font-size: clamp(15px, 3.8vw, 30px);
    }

    .campaign-hero__offer--desktop {
        display: none;
    }

    .campaign-hero__bottom-row {
        right: 3vw;
        bottom: 6vw;
        left: 6.2vw;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 2vw;
    }

    .campaign-hero__offer--mobile {
        position: static;
        width: 70%;
        margin: 0;
        font-size: clamp(14px, 2.8vw, 22px);
        line-height: 1.23;
        text-align: left;
        text-transform: uppercase;
    }

    .campaign-hero__brand-mobile {
        display: block;
        flex: 0 0 auto;
        width: 22vw;
        height: auto;
    }

    .form-section {
        min-height: 0;
        padding: 45px 22px 55px;
    }

    .footer-container {
        align-items: flex-start;
        gap: 22px;
        min-height: 0;
        padding: 26px 22px 30px;
    }

    .footer-container img {
        width: 110px;
    }

    .footer-container p {
        font-size: 8px;
    }
}

@media (max-width: 480px) {
    .campaign-hero__offer--mobile {
        font-size: clamp(14px, 2.8vw, 22px);
    }

    .footer-container {
        flex-direction: column;
    }
}
