/* =========================================
   CONTACT PAGE — HEES
   ========================================= */

.contact-page{
    position: relative;
}

.contact-head{
    margin-bottom: 22px;
}

.contact-head .lead{
    max-width: 760px;
}

/* =========================
   Flash messages
   ========================= */

.flash{
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color: var(--text);
    font-weight: 700;
    box-shadow: 0 12px 26px rgba(0,0,0,.16);
}

.flash--success{
    border-color: rgba(184,10,36,.34);
    background:
        linear-gradient(180deg, rgba(184,10,36,.14), rgba(184,10,36,.08)),
        rgba(255,255,255,.03);
}

.flash--error{
    border-color: rgba(255,255,255,.14);
    background: rgba(255,255,255,.04);
}

/* =========================
   Shell
   ========================= */

.contact-shell{
    position: relative;
}

.contact-screen{
    position: relative;
    overflow: hidden;
    max-width: 100%;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,.10);
    background:
        radial-gradient(700px 260px at 0% 0%, rgba(184,10,36,.15), transparent 60%),
        radial-gradient(560px 260px at 100% 100%, rgba(225,6,44,.08), transparent 60%),
        linear-gradient(180deg, rgba(19,19,28,.96), rgba(12,12,18,.96));
    box-shadow:
        0 26px 70px rgba(0,0,0,.38),
        0 0 0 1px rgba(255,255,255,.02);
}

.contact-screen::after{
    content: "";
    position: absolute;
    top: 18px;
    left: 22px;
    right: 22px;
    bottom: -14px;
    border-radius: 26px;
    background: rgba(0,0,0,.22);
    filter: blur(22px);
    z-index: -1;
}

/* =========================
   Header
   ========================= */

.contact-screen__header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}

.contact-screen__dots{
    display: flex;
    align-items: center;
    gap: 7px;
}

.contact-screen__dot{
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
    box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset;
}

.contact-screen__dot--red{
    background: #b80a24;
}

.contact-screen__dot--gold{
    background: #d1a646;
}

.contact-screen__dot--green{
    background: #5baf66;
}

.contact-screen__meta{
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-screen__meta span{
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,.28);
}

/* =========================
   Body
   ========================= */

.contact-screen__body{
    display: grid;
    grid-template-columns: minmax(280px, .88fr) minmax(0, 1.12fr);
    min-height: 620px;
    min-width: 0;
}

/* =========================
   Panels
   ========================= */

.contact-panel{
    position: relative;
    min-width: 0;
}

.contact-panel--left{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 42px 34px 34px;
    border-right: 1px solid rgba(255,255,255,.08);
    background:
        radial-gradient(420px 240px at 20% 10%, rgba(184,10,36,.14), transparent 60%),
        rgba(255,255,255,.015);
}

.contact-panel--right{
    padding: 42px 34px 34px;
    display: flex;
    align-items: center;
    min-width: 0;
}

.contact-panel__content{
    max-width: 360px;
}

.contact-panel__eyebrow{
    margin: 0 0 18px;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--muted);
}

.contact-panel__title{
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 18px;
    font-size: clamp(30px, 3.1vw, 42px);
    line-height: .96;
    letter-spacing: -.05em;
    font-weight: 800;
    color: var(--text);
}

.contact-panel__title span:last-child{
    color: var(--red-glow);
}

.contact-panel__title::after{
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    margin-top: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--red), var(--red-glow));
    box-shadow: 0 0 14px rgba(184,10,36,.28);
}

.contact-panel__text{
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.contact-panel__chips{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.contact-chip{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(184,10,36,.22);
    background: rgba(184,10,36,.08);
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.contact-panel__footer{
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.contact-info-card{
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
}

.contact-info-card__label{
    margin: 0 0 6px;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}

.contact-info-card__value{
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

/* =========================
   Form
   ========================= */

.contact-form{
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form__row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    min-width: 0;
}

.field{
    min-width: 0;
}

.field label{
    display: block;
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.64);
    font-weight: 700;
}

.field ul{
    margin: 8px 0 0;
    padding-left: 18px;
    color: #ffb6c1;
    font-size: 13px;
    line-height: 1.6;
}

.field--line{
    position: relative;
}

.app-form-control{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    outline: none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        color .2s ease;
}

.app-form-control::placeholder{
    color: rgba(255,255,255,.28);
    font-weight: 500;
}

.app-form-control:focus{
    border-bottom-color: rgba(184,10,36,.92);
    box-shadow: inset 0 -1px 0 rgba(184,10,36,.92);
}

.app-form-control--textarea{
    min-height: 130px;
    padding-top: 2px;
    resize: vertical;
}

.field--message{
    margin-top: 6px;
}

.contact-form__actions{
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
}

.contact-form__actions .btn{
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 1100px){
    .contact-screen__body{
        grid-template-columns: .95fr 1.05fr;
    }

    .contact-panel--left,
    .contact-panel--right{
        padding: 34px 26px 26px;
    }
}

@media (max-width: 900px){
    .contact-screen__body{
        grid-template-columns: 1fr;
        min-height: unset;
    }

    .contact-panel--left{
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
        gap: 24px;
    }

    .contact-panel__content{
        max-width: none;
    }

    .contact-panel__footer{
        margin-top: 0;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px){
    .contact-head{
        margin-bottom: 18px;
    }

    .contact-screen{
        border-radius: 22px;
    }

    .contact-screen__header{
        padding: 12px 14px;
    }

    .contact-panel--left,
    .contact-panel--right{
        padding: 24px 18px 20px;
    }

    .contact-panel--right{
        min-width: 0;
    }

    .contact-form{
        gap: 16px;
        min-width: 0;
    }

    .contact-form__row{
        grid-template-columns: 1fr;
        gap: 16px;
        min-width: 0;
    }

    .contact-panel__title{
        font-size: 30px;
    }

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

    .contact-form__actions{
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
        min-width: 0;
    }

    .contact-form__actions .btn{
        display: flex;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}
