:root {
    --contact-navy: #071d32;
    --contact-navy-light: #102c48;
    --contact-orange: #ff6800;
    --contact-orange-dark: #dc5900;
    --contact-orange-soft: #fff2e8;

    --contact-text: #152236;
    --contact-text-soft: #697586;
    --contact-border: #dfe5ec;
    --contact-page: #f5f7fa;
    --contact-card: #ffffff;

    --contact-shadow:
        0 18px 50px rgba(13, 32, 51, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--contact-text);
    background: var(--contact-page);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

button,
input,
select,
textarea {
    font: inherit;
}

.contact-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* Hero */

.contact-hero {
    position: relative;
    overflow: hidden;

    padding: 92px 0 88px;

    color: #fff;
    background:
        radial-gradient(circle at 88% 20%,
            rgba(255, 104, 0, 0.18),
            transparent 32%),
        linear-gradient(135deg,
            #06192c 0%,
            #0b2945 100%);
}

.contact-hero::after {
    content: "";

    position: absolute;
    right: -130px;
    bottom: -210px;

    width: 460px;
    height: 460px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.contact-hero .contact-container {
    position: relative;
    z-index: 1;
}

.contact-eyebrow {
    margin: 0 0 12px;

    color: var(--contact-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.contact-hero h1 {
    max-width: 720px;
    margin: 0;

    font-size: clamp(38px, 6vw, 62px);
    line-height: 1.04;
    letter-spacing: -2.3px;
}

.contact-hero-copy {
    max-width: 650px;
    margin: 20px 0 0;

    color: rgba(255, 255, 255, 0.74);
    font-size: 17px;
    line-height: 1.7;
}

/* Layout */

.contact-section {
    padding: 70px 0 90px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 335px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.contact-sidebar,
.contact-form-card {
    background: var(--contact-card);
    border: 1px solid var(--contact-border);
    border-radius: 18px;
    box-shadow: var(--contact-shadow);
}

/* Sidebar */

.contact-sidebar {
    padding: 30px;
}

.contact-sidebar-heading h2,
.contact-form-heading h2 {
    margin: 0;

    color: var(--contact-text);
    font-size: 21px;
    letter-spacing: -0.45px;
}

.contact-sidebar-heading p,
.contact-form-heading p {
    margin: 8px 0 0;

    color: var(--contact-text-soft);
    font-size: 13px;
    line-height: 1.65;
}

.contact-methods {
    display: grid;
    gap: 23px;

    margin-top: 29px;
    padding-top: 26px;

    border-top: 1px solid var(--contact-border);
}

.contact-method {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
}

.contact-method-icon {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    color: var(--contact-orange);
    background: var(--contact-orange-soft);
    border-radius: 11px;
}

.contact-method-icon svg {
    width: 19px;
    height: 19px;
}

.contact-method strong {
    display: block;
    margin: 1px 0 5px;

    color: var(--contact-text);
    font-size: 13px;
}

.contact-method p,
.contact-method a {
    margin: 0;

    color: var(--contact-text-soft);
    font-size: 12px;
    line-height: 1.55;
}

.contact-method a {
    text-decoration: none;
}

.contact-method a:hover {
    color: var(--contact-orange-dark);
}

.contact-support-note {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 11px;

    margin-top: 30px;
    padding: 17px;

    color: #6e3a13;
    background: var(--contact-orange-soft);
    border: 1px solid #ffd5b8;
    border-radius: 12px;
}

.contact-support-note>svg {
    width: 19px;
    height: 19px;
    color: var(--contact-orange);
}

.contact-support-note strong {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
}

.contact-support-note p {
    margin: 0;
    font-size: 11px;
    line-height: 1.55;
}

/* Form card */

.contact-form-card {
    overflow: hidden;
}

.contact-form-heading {
    padding: 28px 30px 24px;
    border-bottom: 1px solid var(--contact-border);
}

.contact-form {
    padding: 30px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.contact-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-field label {
    color: var(--contact-text);
    font-size: 12px;
    font-weight: 750;
}

.contact-field label span {
    color: var(--contact-orange);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;

    color: var(--contact-text);
    background: #fff;
    border: 1px solid #d4dce6;
    border-radius: 9px;
    outline: none;

    font-size: 13px;

    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease;
}

.contact-field input,
.contact-field select {
    height: 46px;
    padding: 0 13px;
}

.contact-field textarea {
    min-height: 165px;
    padding: 13px;
    resize: vertical;
    line-height: 1.6;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--contact-orange);
    box-shadow: 0 0 0 3px rgba(255, 104, 0, 0.11);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #98a2b3;
}

.contact-input-icon,
.contact-select-wrapper {
    position: relative;
}

.contact-input-icon>svg {
    position: absolute;
    top: 50%;
    left: 13px;

    width: 17px;
    height: 17px;

    color: #8793a5;
    pointer-events: none;
    transform: translateY(-50%);
}

.contact-input-icon input {
    padding-left: 41px;
}

.contact-select-wrapper select {
    padding-right: 43px;
    appearance: none;
    cursor: pointer;
}

.contact-select-wrapper>svg {
    position: absolute;
    top: 50%;
    right: 13px;

    width: 17px;
    height: 17px;

    color: #788598;
    pointer-events: none;
    transform: translateY(-50%);
}

.contact-field-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    color: var(--contact-text-soft);
    font-size: 10px;
    line-height: 1.45;
}

.contact-field-meta span:last-child {
    flex: 0 0 auto;
}

/* Turnstile */

.contact-turnstile {
    margin-top: 24px;
}

/*
 * Flexible Turnstile widgets can grow to fit their container.
 */
.contact-turnstile .cf-turnstile {
    max-width: 100%;
}

/* Footer */

.contact-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    margin-top: 25px;
    padding-top: 23px;

    border-top: 1px solid var(--contact-border);
}

.contact-form-footer p {
    max-width: 420px;
    margin: 0;

    color: var(--contact-text-soft);
    font-size: 11px;
    line-height: 1.55;
}

.contact-submit-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 45px;
    padding: 0 19px;

    color: #fff;
    background: var(--contact-orange);
    border: 1px solid var(--contact-orange);
    border-radius: 9px;
    cursor: pointer;

    font-size: 12px;
    font-weight: 800;

    transition:
        background 0.16s ease,
        border-color 0.16s ease,
        transform 0.16s ease;
}

.contact-submit-button:hover,
.contact-submit-button:focus-visible {
    background: var(--contact-orange-dark);
    border-color: var(--contact-orange-dark);
    outline: none;
}

.contact-submit-button:active {
    transform: translateY(1px);
}

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

.contact-submit-button svg {
    width: 17px;
    height: 17px;
}

.contact-submit-button.is-loading svg {
    animation: contact-spin 0.8s linear infinite;
}

@keyframes contact-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Alerts */

.contact-alert {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 24px 30px 0;
    padding: 13px 14px;

    border: 1px solid;
    border-radius: 10px;

    font-size: 12px;
    font-weight: 650;
    line-height: 1.5;
}

.contact-alert svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}

.contact-alert-success {
    color: #146c37;
    background: #edf9f1;
    border-color: #bce5c9;
}

.contact-alert-error {
    color: #a11f18;
    background: #fff1f0;
    border-color: #f2c1bd;
}

/* Bot trap */

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Responsive */

@media (max-width: 880px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        order: 2;
    }

    .contact-methods {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .contact-container {
        width: min(100% - 28px, 1180px);
    }

    .contact-hero {
        padding: 70px 0 67px;
    }

    .contact-hero h1 {
        letter-spacing: -1.5px;
    }

    .contact-hero-copy {
        font-size: 15px;
    }

    .contact-section {
        padding: 42px 0 65px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-field-full {
        grid-column: auto;
    }

    .contact-form-heading,
    .contact-form,
    .contact-sidebar {
        padding-right: 20px;
        padding-left: 20px;
    }

    .contact-alert {
        margin-right: 20px;
        margin-left: 20px;
    }

    .contact-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-submit-button {
        width: 100%;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .contact-field-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}