/*
=======================================================================
 ASCARS - CONTACT

 Page-specific presentation only.
 Core ASCARS header / footer / typography remain untouched.
=======================================================================
*/

.contact-page {
    min-height: 100vh;

    background:
        linear-gradient(
            rgba(3, 9, 16, .72),
            rgba(3, 9, 16, .94)
        ),
        url("/assets/img/home-bg.png")
        center top / cover fixed;
}


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


.contact-eyebrow {
    margin-bottom: 16px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .18em;
    text-transform: uppercase;

    opacity: .55;
}


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

.contact-hero {
    min-height: 650px;

    display: flex;
    align-items: center;

    padding: 80px 0 72px;
}


.contact-hero-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(400px, .92fr);

    gap: 80px;

    align-items: center;
}


.contact-hero-copy {
    max-width: 680px;
}


.contact-hero h1 {
    margin: 0;

    font-size: clamp(54px, 6.2vw, 86px);
    line-height: .93;

    letter-spacing: -.055em;
}


.contact-lead {
    margin: 30px 0 0;

    max-width: 650px;

    font-size: clamp(21px, 2.2vw, 29px);
    line-height: 1.35;
}


.contact-description {
    margin: 18px 0 0;

    max-width: 650px;

    font-size: 16px;
    line-height: 1.75;

    opacity: .72;
}


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

.contact-panel {
    overflow: hidden;

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 15px;

    background: rgba(4, 10, 17, .88);

    box-shadow:
        0 32px 80px rgba(0,0,0,.40);

    backdrop-filter: blur(13px);
}


.contact-panel-top {
    min-height: 50px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 18px;

    border-bottom: 1px solid rgba(255,255,255,.08);

    background: rgba(255,255,255,.025);

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

    letter-spacing: .10em;

    opacity: .72;
}


.contact-panel-body {
    padding: 10px 22px;
}


.contact-panel-row {
    min-height: 66px;

    display: grid;

    grid-template-columns:
        34px
        140px
        1fr;

    gap: 16px;

    align-items: center;

    border-bottom: 1px solid rgba(255,255,255,.06);
}


.contact-panel-row:last-child {
    border-bottom: 0;
}


.contact-panel-row span {
    font-size: 9px;
    font-weight: 800;

    opacity: .30;
}


.contact-panel-row strong {
    font-size: 14px;
}


.contact-panel-row small {
    font-size: 11px;
    line-height: 1.5;

    opacity: .48;
}


/*
=======================================================================
 SECTIONS
=======================================================================
*/

.contact-section {
    padding: 105px 0;

    border-top: 1px solid rgba(255,255,255,.06);

    background: rgba(0,0,0,.13);
}


.contact-heading {
    max-width: 790px;

    margin-bottom: 52px;
}


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

    font-size: clamp(34px, 4vw, 53px);
    line-height: 1.08;

    letter-spacing: -.035em;
}


.contact-heading p,
.contact-form-copy p {
    margin: 19px 0 0;

    max-width: 680px;

    font-size: 16px;
    line-height: 1.75;

    opacity: .68;
}


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

.contact-form-layout {
    display: grid;

    grid-template-columns:
        minmax(0, .85fr)
        minmax(520px, 1.15fr);

    gap: 85px;

    align-items: start;
}


.contact-form {
    padding: 28px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 13px;

    background: rgba(4,10,17,.72);

    backdrop-filter: blur(9px);
}


.contact-field-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}


.contact-field label {
    display: block;

    margin-bottom: 8px;

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

    letter-spacing: .10em;
    text-transform: uppercase;

    opacity: .55;
}


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

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 7px;

    background: rgba(255,255,255,.045);

    color: inherit;

    font: inherit;

    outline: none;
}


.contact-field input,
.contact-field select {
    min-height: 46px;

    padding: 0 13px;
}


.contact-field textarea {
    resize: vertical;

    padding: 13px;
}


.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: rgba(255,255,255,.28);

    background: rgba(255,255,255,.065);
}


.contact-field select option {
    color: #111820;
}


.contact-field-message {
    margin-top: 18px;
}


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

    gap: 20px;

    margin-top: 20px;
}


.contact-form-footer p {
    margin: 0;

    font-size: 11px;

    opacity: .42;
}


.contact-form-footer button {
    min-height: 46px;

    padding: 0 21px;

    border: 0;
    border-radius: 7px;

    background: rgba(255,255,255,.18);
    color: rgba(255,255,255,.45);

    font: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: not-allowed;
}


/*
=======================================================================
 CONTACT AREAS
=======================================================================
*/

.contact-areas-section {
    background: rgba(0,0,0,.20);
}


.contact-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 14px;
}


.contact-grid a {
    min-height: 190px;

    display: flex;
    flex-direction: column;

    padding: 22px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;

    background: rgba(255,255,255,.035);

    color: inherit;

    text-decoration: none;

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


.contact-grid a:hover {
    transform: translateY(-2px);

    border-color: rgba(255,255,255,.18);

    background: rgba(255,255,255,.06);
}


.contact-grid span {
    margin-bottom: auto;

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

    opacity: .30;
}


.contact-grid strong {
    margin-top: 28px;

    font-size: 17px;
}


.contact-grid small {
    margin-top: 5px;

    font-size: 11px;
    line-height: 1.5;

    opacity: .48;
}


/*
=======================================================================
 FINAL
=======================================================================
*/

.contact-final {
    padding: 85px 0 110px;
}


.contact-final-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 50px;

    padding: 47px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 13px;

    background: rgba(255,255,255,.055);

    backdrop-filter: blur(7px);
}


.contact-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    flex-shrink: 0;
}


.contact-button {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 21px;

    border-radius: 7px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;
}


.contact-button-primary {
    background: #fff;
    color: #111820;
}


.contact-button-secondary {
    border: 1px solid rgba(255,255,255,.24);

    background: rgba(255,255,255,.045);

    color: inherit;
}


/*
=======================================================================
 RESPONSIVE
=======================================================================
*/

@media (max-width: 1020px) {

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

    .contact-panel {
        max-width: 720px;
    }

    .contact-form {
        max-width: 760px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 760px) {

    .contact-shell {
        width: min(100% - 28px, 1180px);
    }

    .contact-hero {
        min-height: auto;

        padding: 60px 0;
    }

    .contact-section {
        padding: 72px 0;
    }

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

    .contact-form-footer,
    .contact-final-panel {
        display: block;
    }

    .contact-form-footer button,
    .contact-actions {
        margin-top: 22px;
    }

    .contact-panel-row {
        grid-template-columns: 28px 115px 1fr;

        gap: 10px;
    }
}


@media (max-width: 560px) {

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

    .contact-panel-row {
        grid-template-columns: 30px 1fr;
    }

    .contact-panel-row small {
        grid-column: 2;
    }
}
