/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =====================================================
   ROOT
===================================================== */

:root {

    --gold: #f4c400;

    --navy: #191a31;

    --orange: #ed4b21;

    --green: #06b519;

    --dark: #080909;

    --card: #f7f7f7;

    --text: #242539;

}


/* =====================================================
   BODY
===================================================== */

html,
body {

    width: 100%;

    min-height: 100%;

}


body {

    background: #050606;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    overflow-x: hidden;

}


/* =====================================================
   MAIN PAGE
===================================================== */

.page {

    width: 100%;

    max-width: 625px;

    min-height: 100vh;

    margin: 0 auto;

    position: relative;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 50% 30%,
            rgba(45, 45, 45, 0.18),
            transparent 38%
        ),

        radial-gradient(
            circle at 10% 80%,
            rgba(30, 30, 30, 0.12),
            transparent 30%
        ),

        linear-gradient(
            115deg,
            #080909 0%,
            #111313 50%,
            #080909 100%
        );

}


/* =====================================================
   SUBTLE BACKGROUND TEXTURE
===================================================== */

.page::after {

    content: "";

    position: absolute;

    top: 36px;

    left: 0;

    right: 0;

    bottom: 0;

    pointer-events: none;

    opacity: 0.12;

    background-image:

        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,0.025) 0px,
            rgba(255,255,255,0.025) 1px,
            transparent 1px,
            transparent 4px
        ),

        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.018) 0px,
            rgba(255,255,255,0.018) 1px,
            transparent 1px,
            transparent 5px
        );

}


/* =====================================================
   TOP MARQUEE
===================================================== */

.top-bar {

    width: 100%;

    height: 36px;

    background: var(--navy);

    overflow: hidden;

    position: relative;

    z-index: 20;

}


/* Marquee viewport */

.marquee {

    width: 100%;

    height: 100%;

    overflow: hidden;

    display: flex;

    align-items: center;

}


/* Moving track */

.marquee-track {

    display: flex;

    width: max-content;

    height: 100%;

    align-items: center;

    animation:
        marqueeScroll 13s linear infinite;

}


/* Each copy */

.marquee-item {

    display: flex;

    align-items: center;

    flex-shrink: 0;

    padding-right: 70px;

    padding-left: 28px;

    gap: 13px;

}


/* Marquee text */

.marquee-item span {

    color: var(--gold);

    font-size: 13px;

    font-weight: 700;

    line-height: 36px;

    white-space: nowrap;

}


/* Separator */

.marquee-item .separator {

    color: #a6a6ad;

    font-size: 17px;

    font-weight: 400;

}


/* =====================================================
   MARQUEE ANIMATION
===================================================== */

@keyframes marqueeScroll {

    0% {

        transform: translateX(0);

    }

    100% {

        transform: translateX(-50%);

    }

}


/* =====================================================
   HERO
===================================================== */

.hero {

    position: relative;

    z-index: 2;

    width: 100%;

    min-height:
        calc(100vh - 36px);

    padding:

        80px
        22px
        70px;

    text-align: center;

}


/* =====================================================
   LOGO
===================================================== */

.logo-wrapper {

    width: 214px;

    height: 98px;

    margin:

        0 auto
        34px;

    display: flex;

    justify-content: center;

    align-items: center;

}


/* Logo */

.logo {

    width: 214px;

    height: 98px;

    object-fit: contain;

    display: block;

    filter:
        drop-shadow(
            0 3px 8px
            rgba(0,0,0,0.45)
        );

}


/* =====================================================
   MAIN HEADING
===================================================== */

h1 {

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 30px;

    font-weight: 900;

    line-height: 1.12;

    letter-spacing: -0.5px;

    margin-bottom: 8px;

    text-shadow:
        0 1px 2px rgba(0,0,0,0.8);

}


/* 25% */

h1 span {

    text-decoration: underline;

    text-decoration-thickness: 1px;

    text-underline-offset: 3px;

}


/* =====================================================
   SUBTITLE
===================================================== */

.subtitle {

    color: #f3f3f3;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;

    line-height: 1.4;

    margin-bottom: 42px;

}


/* =====================================================
   OFFER CARD
===================================================== */

.offer-card {

    width: 100%;

    background:
        rgba(250,250,250,0.98);

    border-radius: 20px;

    padding:

        34px
        22px
        32px;

    color: var(--text);

    text-align: left;

    box-shadow:

        0 15px 40px
        rgba(0,0,0,0.35);

}


/* =====================================================
   CARD TITLE
===================================================== */

.offer-card h2 {

    color: var(--text);

    text-align: center;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 29px;

    font-weight: 900;

    line-height: 1.15;

    margin-bottom: 3px;

}


/* =====================================================
   RESPONSE TEXT
===================================================== */

.response {

    text-align: center;

    color: #929292;

    font-size: 16px;

    margin-bottom: 32px;

}


/* =====================================================
   FORM GROUP
===================================================== */

.form-group {

    width: 100%;

    margin-bottom: 19px;

}


/* =====================================================
   LABEL
===================================================== */

label {

    display: block;

    color: #5b5b5b;

    font-size: 14px;

    font-weight: 700;

    margin-bottom: 8px;

}


label b {

    color: var(--orange);

}


/* =====================================================
   INPUT
===================================================== */

input {

    width: 100%;

    height: 55px;

    border:

        1px solid
        #d7d7d7;

    border-radius: 10px;

    background: #ffffff;

    padding:

        0
        16px;

    outline: none;

    color: #333333;

    font-family: Arial, sans-serif;

    font-size: 16px;

    transition:

        border-color 0.2s ease,

        box-shadow 0.2s ease;

}


/* Placeholder */

input::placeholder {

    color: #999999;

}


/* Focus */

input:focus {

    border-color: #9a9a9a;

    box-shadow:

        0 0 0 3px
        rgba(0,0,0,0.04);

}


/* =====================================================
   PHONE ROW
===================================================== */

.phone-row {

    width: 100%;

    display: grid;

    grid-template-columns:
        84px
        1fr;

    gap: 10px;

}


/* =====================================================
   COUNTRY CODE
===================================================== */

.country-code {

    height: 55px;

    border:

        1px solid
        #d7d7d7;

    border-radius: 10px;

    background: #f3f3f3;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    color: #5e5e5e;

    font-size: 13px;

}


/* =====================================================
   ERROR
===================================================== */

.error {

    display: block;

    min-height: 15px;

    margin:

        4px
        2px
        0;

    color: #d83c25;

    font-size: 11px;

}


/* =====================================================
   SUBMIT BUTTON
===================================================== */

button {

    width: 100%;

    height: 58px;

    margin-top: 1px;

    border: none;

    border-radius: 10px;

    background: var(--green);

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;

    font-weight: 800;

    cursor: pointer;

    box-shadow:

        0 7px 15px
        rgba(0,120,20,0.22);

    transition:

        background 0.2s ease,

        transform 0.12s ease,

        box-shadow 0.2s ease;

}


/* Hover */

button:hover {

    background: #07a817;

    box-shadow:

        0 9px 18px
        rgba(0,120,20,0.27);

}


/* Active */

button:active {

    transform:
        translateY(1px);

}


/* Disabled */

button:disabled {

    opacity: 0.75;

    cursor: wait;

}


/* =====================================================
   SPINNER
===================================================== */

.spinner {

    display: none;

    width: 17px;

    height: 17px;

    margin-left: 8px;

    vertical-align: middle;

    border:

        2px solid
        rgba(255,255,255,0.4);

    border-top-color: #ffffff;

    border-radius: 50%;

    animation:
        spin 0.7s linear infinite;

}


/* Show spinner */

.loading .spinner {

    display: inline-block;

}


/* =====================================================
   SUCCESS MESSAGE
===================================================== */

.success-message {

    display: none;

    width: 100%;

    margin-top: 14px;

    padding: 12px;

    border-radius: 9px;

    background: #e8f9eb;

    color: #167420;

    text-align: center;

    font-size: 13px;

    line-height: 1.4;

}


/* Show */

.success-message.show {

    display: block;

}


/* =====================================================
   SPINNER ANIMATION
===================================================== */

@keyframes spin {

    to {

        transform:
            rotate(360deg);

    }

}


/* =====================================================
   TRUST ROW
===================================================== */

.trust-row {

    width: 100%;

    margin-top: 21px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 28px;

}


/* Trust item */

.trust-item {

    display: flex;

    align-items: center;

    gap: 5px;

    color: #dddddd;

    font-size: 12px;

    white-space: nowrap;

}


/* Icons */

.trust-icon {

    color: var(--orange);

    font-size: 13px;

    font-style: normal;

}


/* =====================================================
   DESKTOP
===================================================== */

@media (min-width: 626px) {

    .page {

        min-height: 100vh;

    }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 625px) {

    .hero {

        padding:

            70px
            20px
            60px;

    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 500px) {

    .top-bar {

        height: 35px;

    }


    .marquee-item {

        padding-left: 22px;

        padding-right: 55px;

        gap: 11px;

    }


    .marquee-item span {

        font-size: 12px;

    }


    .hero {

        padding:

            54px
            18px
            55px;

    }


    .logo-wrapper {

        width: 180px;

        height: 82px;

        margin-bottom: 28px;

    }


    .logo {

        width: 180px;

        height: 82px;

    }


    h1 {

        font-size: 22px;

        line-height: 1.12;

    }


    .subtitle {

        font-size: 15px;

        margin-bottom: 31px;

    }


    .offer-card {

        border-radius: 17px;

        padding:

            28px
            18px
            28px;

    }


    .offer-card h2 {

        font-size: 25px;

    }


    .response {

        font-size: 14px;

        margin-bottom: 25px;

    }


    label {

        font-size: 13px;

    }


    input {

        height: 44px;

        font-size: 14px;

        padding-left: 14px;

    }


    .phone-row {

        grid-template-columns:
            66px
            1fr;

        gap: 8px;

    }


    .country-code {

        height: 44px;

        font-size: 12px;

    }


    button {

        height: 46px;

        font-size: 14px;

    }


    .trust-row {

        gap: 15px;

        margin-top: 18px;

    }


    .trust-item {

        font-size: 10px;

        gap: 3px;

    }


    .trust-icon {

        font-size: 11px;

    }

}


/* =====================================================
   VERY SMALL MOBILE
===================================================== */

@media (max-width: 370px) {

    .hero {

        padding-left: 14px;

        padding-right: 14px;

    }


    .top-bar {

        font-size: 10px;

    }


    h1 {

        font-size: 20px;

    }


    .subtitle {

        font-size: 13px;

    }


    .offer-card {

        padding-left: 14px;

        padding-right: 14px;

    }


    .trust-row {

        gap: 8px;

    }


    .trust-item {

        font-size: 9px;

    }

}