/* =========================================
   CONTACT QUOTE FORM SECTION
========================================= */

.velo-contact-form-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    padding:
        clamp(84px, 8vw, 130px)
        24px;

    color: #07101f;

    background:
        radial-gradient(
            circle at 12% 80%,
            rgba(69, 217, 255, 0.1),
            transparent 32%
        ),
        radial-gradient(
            circle at 88% 18%,
            rgba(0, 124, 255, 0.06),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #f6fbff 0%,
            #ffffff 100%
        );
}

/* Subtle technical texture */
.velo-contact-form-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    pointer-events: none;

    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.7),
            transparent 58%
        ),
        linear-gradient(
            35deg,
            rgba(69, 217, 255, 0.03) 1px,
            transparent 1px
        );

    background-size:
        auto,
        190px 190px;
}

/* =========================================
   SHELL
========================================= */

.velo-contact-form-section__shell {
    width: min(100%, 1440px);
    max-width: 1440px;
    margin: 0 auto;
}

/* =========================================
   MAIN PANEL
========================================= */

.velo-contact-form-section__panel {
    position: relative;
    overflow: hidden;

    width: 100%;

    display: grid;
    grid-template-columns:
        minmax(320px, 0.72fr)
        minmax(620px, 1.28fr);

    align-items: center;
    gap: clamp(52px, 6vw, 96px);

    padding:
        clamp(54px, 6vw, 88px)
        clamp(40px, 6vw, 90px);

    border: 1px solid rgba(198, 226, 245, 0.94);
    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.98),
            rgba(247, 252, 255, 0.9)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 30px 80px rgba(7, 16, 31, 0.09),
        0 0 46px rgba(69, 217, 255, 0.1);
}

/* Soft glow */
.velo-contact-form-section__panel::before {
    content: "";
    position: absolute;
    left: -12%;
    bottom: -48%;

    width: 680px;
    height: 520px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(69, 217, 255, 0.18) 0%,
            rgba(69, 217, 255, 0.06) 42%,
            transparent 72%
        );

    pointer-events: none;
}

/* =========================================
   INTRODUCTION
========================================= */

.velo-contact-form-section__intro {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 430px;
}

/* Kicker */
.velo-contact-form-section__kicker {
    position: relative;

    width: fit-content;
    margin: 0 0 28px;
    padding-bottom: 17px;

    font-family: "Jura", Arial, sans-serif;
    font-size: clamp(0.74rem, 0.8vw, 0.9rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.24em;
    text-transform: uppercase;

    color: #168fff;
}

.velo-contact-form-section__kicker::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 118px;
    height: 3px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            #007cff 0%,
            #00b8ff 70%,
            rgba(255, 255, 255, 0) 100%
        );

    box-shadow:
        0 0 8px rgba(0, 140, 255, 0.32),
        0 0 18px rgba(69, 217, 255, 0.18);
}

/* Heading */
.velo-contact-form-section h2 {
    width: 100%;
    max-width: 430px;
    margin: 0;

    font-family: "Jura", Arial, sans-serif;
    font-size: clamp(2.6rem, 4vw, 4.8rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: 0.025em;
    text-wrap: balance;

    color: #07101f;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.98),
        0 12px 32px rgba(7, 16, 31, 0.07);
}

/* Accent line */
.velo-contact-form-section__accent {
    display: block;

    width: 58px;
    height: 4px;
    margin-top: 28px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            #007cff,
            #00b8ff
        );

    box-shadow:
        0 0 10px rgba(0, 140, 255, 0.34),
        0 0 20px rgba(69, 217, 255, 0.18);
}

/* Description */
.velo-contact-form-section__description {
    width: 100%;
    max-width: 390px;
    margin: 26px 0 0;

    font-size: clamp(0.98rem, 1vw, 1.08rem);
    font-weight: 500;
    line-height: 1.78;

    color: rgba(28, 49, 72, 0.72);
}

/* =========================================
   FORM
========================================= */

.velo-contact-form {
    position: relative;
    z-index: 2;

    width: 100%;
}

/* Two-column grid */
.velo-contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

/* Full-width fields */
.velo-contact-form__field--full {
    grid-column: 1 / -1;
}

/* Hide visual labels but preserve accessibility */
.velo-contact-form__field label {
    position: absolute;

    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;

    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;

    border: 0;
}

/* Inputs */
.velo-contact-form input,
.velo-contact-form select,
.velo-contact-form textarea {
    width: 100%;

    box-sizing: border-box;

    font-family: "Bai Jamjuree", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;

    color: #07101f;

    border: 1px solid rgba(188, 211, 229, 0.88);
    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(249, 252, 255, 0.88)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        0 8px 22px rgba(7, 16, 31, 0.035);

    outline: none;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.velo-contact-form input,
.velo-contact-form select {
    min-height: 72px;
    padding: 0 24px;
}

.velo-contact-form textarea {
    min-height: 190px;
    padding: 22px 24px;

    line-height: 1.65;
    resize: vertical;
}

/* Placeholder */
.velo-contact-form input::placeholder,
.velo-contact-form textarea::placeholder {
    color: rgba(28, 49, 72, 0.56);
    opacity: 1;
}

/* Select */
.velo-contact-form select {
    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    padding-right: 58px;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            #44566c 50%
        ),
        linear-gradient(
            135deg,
            #44566c 50%,
            transparent 50%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(249, 252, 255, 0.88)
        );

    background-position:
        calc(100% - 28px) 50%,
        calc(100% - 20px) 50%,
        center;

    background-size:
        8px 8px,
        8px 8px,
        100% 100%;

    background-repeat: no-repeat;
}

/* Focus states */
.velo-contact-form input:focus,
.velo-contact-form select:focus,
.velo-contact-form textarea:focus {
    border-color: rgba(0, 140, 255, 0.74);

    background-color: #ffffff;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 0 0 4px rgba(69, 217, 255, 0.1),
        0 12px 28px rgba(7, 16, 31, 0.06);

    transform: translateY(-1px);
}

/* =========================================
   SUBMIT BUTTON
========================================= */

.velo-contact-form__submit {
    width: min(100%, 370px);
    min-height: 68px;
    margin: 30px 0 0;
    padding: 0 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    border: 1px solid rgba(0, 140, 255, 0.48);
    border-radius: 8px 8px 24px 8px;

    font-family: "Jura", Arial, sans-serif;
    font-size: clamp(0.82rem, 0.9vw, 0.98rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #071a35 0%,
            #08294c 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 18px 40px rgba(7, 16, 31, 0.22),
        0 0 30px rgba(69, 217, 255, 0.16);

    cursor: pointer;

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.velo-contact-form__submit-arrow {
    flex: 0 0 auto;

    font-size: 1.5rem;
    line-height: 1;

    transition: transform 0.25s ease;
}

.velo-contact-form__submit:hover {
    transform: translateY(-3px);

    color: #07101f;
    border-color: #45d9ff;

    background:
        linear-gradient(
            135deg,
            #45d9ff 0%,
            #00b8ff 100%
        );

    box-shadow:
        0 22px 48px rgba(0, 124, 255, 0.2),
        0 0 36px rgba(69, 217, 255, 0.36);
}

.velo-contact-form__submit:hover
.velo-contact-form__submit-arrow {
    transform: translateX(5px);
}

.velo-contact-form__submit:focus-visible {
    outline: 3px solid rgba(0, 124, 255, 0.28);
    outline-offset: 4px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {
    .velo-contact-form-section__panel {
        grid-template-columns: 1fr;
        gap: 52px;

        padding:
            62px
            clamp(28px, 7vw, 72px);
    }

    .velo-contact-form-section__intro {
        max-width: 720px;
        margin: 0 auto;

        text-align: center;
    }

    .velo-contact-form-section__kicker {
        margin-left: auto;
        margin-right: auto;
    }

    .velo-contact-form-section__kicker::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .velo-contact-form-section h2,
    .velo-contact-form-section__description {
        margin-left: auto;
        margin-right: auto;
    }

    .velo-contact-form-section__accent {
        margin-left: auto;
        margin-right: auto;
    }

    .velo-contact-form {
        max-width: 860px;
        margin: 0 auto;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {
    .velo-contact-form-section {
        padding: 68px 18px;
    }

    .velo-contact-form-section__panel {
        gap: 40px;

        padding: 42px 20px;

        border-radius: 16px;
    }

    .velo-contact-form-section__kicker {
        margin-bottom: 24px;

        font-size: 0.7rem;
        letter-spacing: 0.18em;
    }

    .velo-contact-form-section h2 {
        font-size: clamp(2.15rem, 10vw, 3.25rem);
        line-height: 1.06;
    }

    .velo-contact-form-section__description {
        margin-top: 22px;

        font-size: 0.94rem;
        line-height: 1.66;
    }

    .velo-contact-form__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .velo-contact-form__field--full {
        grid-column: auto;
    }

    .velo-contact-form input,
    .velo-contact-form select {
        min-height: 60px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .velo-contact-form select {
        padding-right: 52px;

        background-position:
            calc(100% - 27px) 50%,
            calc(100% - 19px) 50%,
            center;
    }

    .velo-contact-form textarea {
        min-height: 165px;
        padding: 18px;
    }

    .velo-contact-form__submit {
        width: 100%;
        min-height: 60px;
        margin-top: 20px;
        padding: 0 22px;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
    .velo-contact-form input,
    .velo-contact-form select,
    .velo-contact-form textarea,
    .velo-contact-form__submit,
    .velo-contact-form__submit-arrow {
        transition: none;
    }

    .velo-contact-form input:focus,
    .velo-contact-form select:focus,
    .velo-contact-form textarea:focus,
    .velo-contact-form__submit:hover {
        transform: none;
    }
}