/* =========================================================
   DEARDEN2007 CONTACT PAGE
========================================================= */

:root {
    --contact-red: #df252b;
    --contact-red-dark: #8e0d12;
    --contact-blue: #3c7cf4;
    --contact-blue-dark: #173f9e;
    --contact-panel: #10151c;
    --contact-line: #303a48;
    --contact-muted: #b2bbc7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

.contact-page {
    width: min(1500px, calc(100% - 48px));
    margin: 0 auto;
    padding: 42px 0 100px;
}

.contact-eyebrow {
    display: inline-block;
    color: #76a8ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Alerts */

.contact-alerts {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 1000;
    width: min(430px, calc(100% - 44px));
}

.contact-alert {
    display: grid;
    grid-template-columns: 34px 1fr 34px;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 15px;
    color: #fff;
    background: #17202b;
    border: 1px solid #415166;
    border-radius: 12px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .55);
}

.contact-alert > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    font-weight: 900;
    background: #3168c5;
    border-radius: 50%;
}

.contact-alert p { margin: 0; line-height: 1.45; }

.contact-alert button {
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    background: transparent;
    border: 0;
}

.contact-alert-success { border-left: 4px solid #48c98a; }
.contact-alert-success > span { background: #217c53; }
.contact-alert-error { border-left: 4px solid #ff555c; }
.contact-alert-error > span { background: #9d1e23; }

/* Hero */

.contact-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    align-items: center;
    gap: clamp(50px, 8vw, 115px);
    min-height: 650px;
    padding: clamp(50px, 7vw, 95px);
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 20%, rgba(60, 124, 244, .24), transparent 34%),
        radial-gradient(circle at 90% 82%, rgba(223, 37, 43, .20), transparent 35%),
        linear-gradient(135deg, #0a0d12, #030405);
    border: 1px solid #344050;
    border-radius: 30px;
    box-shadow: 0 35px 95px rgba(0, 0, 0, .55);
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.contact-hero > * { position: relative; z-index: 2; }

.contact-hero h1 {
    margin: 22px 0 25px;
    color: #fff;
    font-size: clamp(54px, 7vw, 96px);
    line-height: .95;
    letter-spacing: -4px;
}

.contact-hero h1 strong {
    display: block;
    color: var(--contact-red);
    text-shadow: 0 0 34px rgba(223, 37, 43, .28);
}

.contact-hero-copy > p {
    max-width: 780px;
    color: #c5ccd5;
    font-size: clamp(18px, 1.7vw, 23px);
    line-height: 1.8;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 24px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .7px;
    border-radius: 11px;
    transition: transform .22s ease, box-shadow .22s ease;
}

.contact-button:hover { color: #fff; transform: translateY(-3px); }

.contact-button-red {
    background: linear-gradient(135deg, #f03a40, var(--contact-red-dark));
    border: 1px solid #ff666b;
    box-shadow: 0 12px 30px rgba(223, 37, 43, .25);
}

.contact-button-blue {
    background: linear-gradient(135deg, #4a8bff, var(--contact-blue-dark));
    border: 1px solid #7dacff;
    box-shadow: 0 12px 30px rgba(60, 124, 244, .25);
}

.contact-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 11px 22px;
    margin-top: 30px;
    color: #9fa9b6;
    font-size: 13px;
    font-weight: 700;
}

.contact-trust-row i { margin-right: 6px; color: #77a9ff; }

.contact-hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 470px;
}

.contact-hero-visual > img {
    position: relative;
    z-index: 2;
    display: block;
    width: min(390px, 78%);
    border-radius: 50%;
    box-shadow:
        0 0 0 1px #48576c,
        0 30px 70px rgba(0,0,0,.6),
        0 0 55px rgba(60,124,244,.22);
}

.contact-logo-glow {
    position: absolute;
    width: min(470px, 92%);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(60,124,244,.27), transparent 56%),
        conic-gradient(from 30deg, rgba(223,37,43,.7), rgba(60,124,244,.65), rgba(223,37,43,.7));
    filter: blur(22px);
    opacity: .55;
}

.contact-hero-note {
    position: absolute;
    right: 0;
    bottom: 25px;
    z-index: 3;
    width: min(310px, 83%);
    padding: 18px 20px;
    background: rgba(11,15,21,.94);
    border: 1px solid #445268;
    border-left: 4px solid var(--contact-red);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0,0,0,.48);
}

.contact-hero-note span {
    display: block;
    color: #ff787d;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.contact-hero-note strong {
    display: block;
    margin-top: 7px;
    color: #fff;
    font-size: 18px;
    line-height: 1.4;
}

/* Headings and cards */

.contact-section-heading {
    max-width: 840px;
    margin: 0 auto 42px;
    text-align: center;
}

.contact-section-heading h2 {
    margin: 12px 0;
    color: #fff;
    font-size: clamp(37px, 5vw, 58px);
    line-height: 1.08;
}

.contact-section-heading p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 18px;
    line-height: 1.7;
}

.contact-paths { padding-top: 100px; }

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

.contact-path-card {
    min-width: 0;
    padding: 30px;
    color: inherit;
    text-align: left;
    font: inherit;
    cursor: pointer;
    background: linear-gradient(145deg, #141a22, #0b0e12);
    border: 1px solid var(--contact-line);
    border-radius: 18px;
    transition: .25s ease;
}

.contact-path-card:hover,
.contact-path-card:focus-visible {
    transform: translateY(-7px);
    border-color: #5376aa;
    box-shadow: 0 24px 65px rgba(0,0,0,.45);
    outline: none;
}

.contact-path-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin-bottom: 23px;
    color: #fff;
    font-size: 23px;
    border-radius: 50%;
}

.contact-icon-blue {
    background: linear-gradient(145deg, #4a8cff, #153b91);
    box-shadow: 0 0 24px rgba(60,124,244,.23);
}

.contact-icon-red {
    background: linear-gradient(145deg, #ef3d43, #8c0e13);
    box-shadow: 0 0 24px rgba(223,37,43,.23);
}

.contact-path-card h3 {
    margin: 0 0 13px;
    color: #fff;
    font-size: 23px;
}

.contact-path-card p {
    min-height: 100px;
    margin: 0;
    color: #aeb7c3;
    font-size: 15px;
    line-height: 1.7;
}

.contact-path-card strong {
    display: inline-block;
    margin-top: 20px;
    color: #78a9ff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .7px;
}

/* Main content */

.contact-main-grid {
    display: grid;
    grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr);
    gap: 38px;
    align-items: start;
    margin-top: 100px;
    scroll-margin-top: 25px;
}

.contact-information,
.contact-form-card {
    padding: clamp(34px, 5vw, 55px);
    background: linear-gradient(145deg, #131922, #090c10);
    border: 1px solid var(--contact-line);
    border-radius: 23px;
    box-shadow: 0 28px 75px rgba(0,0,0,.36);
}

.contact-information {
    position: sticky;
    top: 24px;
}

.contact-information > h2 {
    margin: 13px 0 18px;
    color: #fff;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.08;
}

.contact-information > p {
    color: #b8c1cc;
    font-size: 17px;
    line-height: 1.75;
}

.contact-process {
    display: grid;
    gap: 17px;
    margin: 35px 0;
}

.contact-process article {
    display: grid;
    grid-template-columns: 49px 1fr;
    gap: 15px;
    align-items: start;
    padding: 18px 0;
    border-top: 1px solid #2c3542;
}

.contact-process article > span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: #9dc0ff;
    font-size: 12px;
    font-weight: 900;
    background: #11213a;
    border: 1px solid #31558c;
    border-radius: 50%;
}

.contact-process h3 { margin: 2px 0 5px; color: #fff; font-size: 17px; }
.contact-process p { margin: 0; color: #9fa9b6; font-size: 14px; line-height: 1.6; }

.contact-direct-card {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 19px;
    background: #0e1725;
    border: 1px solid #304d77;
    border-radius: 13px;
}

.contact-direct-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #fff;
    background: #2f6ccb;
    border-radius: 50%;
}

.contact-direct-card small {
    display: block;
    color: #83adf7;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.contact-direct-card a {
    display: block;
    margin-top: 4px;
    overflow-wrap: anywhere;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.contact-safety-note {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    margin-top: 22px;
    padding: 19px;
    background: #1c1011;
    border: 1px solid #563034;
    border-radius: 13px;
}

.contact-safety-note > i { color: #ff6f75; font-size: 25px; }
.contact-safety-note h3 { margin: 0 0 7px; color: #fff; font-size: 16px; }
.contact-safety-note p { margin: 0; color: #c6aaad; font-size: 13px; line-height: 1.6; }

/* Form */

.contact-form-heading {
    padding-bottom: 25px;
    border-bottom: 1px solid #2d3642;
}

.contact-form-heading h2 {
    margin: 10px 0;
    color: #fff;
    font-size: clamp(39px, 5vw, 58px);
}

.contact-form-heading p { margin: 0; color: #aab4c1; }
.contact-form-heading strong,
.contact-field > span strong { color: #ff656b; }

#contactForm {
    display: grid;
    gap: 21px;
    margin-top: 30px;
}

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

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

.contact-field > span {
    color: #eef1f5;
    font-size: 14px;
    font-weight: 850;
}

.contact-field > span em {
    color: #7f8997;
    font-style: normal;
    font-weight: 600;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    color: #fff;
    font: inherit;
    background: #080b0f;
    border: 1px solid #3a4554;
    border-radius: 10px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-field input,
.contact-field select {
    min-height: 53px;
    padding: 12px 14px;
}

.contact-field textarea {
    min-height: 220px;
    padding: 15px;
    resize: vertical;
    line-height: 1.65;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    background: #0d1117;
    border-color: #67a0ff;
    box-shadow: 0 0 0 4px rgba(60,124,244,.13);
}

.contact-field.is-invalid input,
.contact-field.is-invalid select,
.contact-field.is-invalid textarea {
    border-color: #ff595f;
    box-shadow: 0 0 0 4px rgba(223,37,43,.11);
}

.contact-field small {
    color: #7f8997;
    font-size: 11px;
    line-height: 1.5;
}

.contact-field-error {
    display: none;
    color: #ff7c81 !important;
    font-weight: 750;
}

.contact-field.is-invalid .contact-field-error { display: block; }

.contact-message-meta {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

#messageCounter {
    flex: none;
    color: #98b8ed;
    font-weight: 800;
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #b8c1cb;
    font-size: 13px;
    line-height: 1.55;
    cursor: pointer;
}

.contact-consent input {
    flex: none;
    width: 19px;
    height: 19px;
    margin-top: 1px;
    accent-color: var(--contact-blue);
}

.contact-submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 57px;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .7px;
    cursor: pointer;
    background: linear-gradient(135deg, #ef3a40, #941015);
    border: 1px solid #ff656b;
    border-radius: 11px;
    box-shadow: 0 14px 35px rgba(223,37,43,.23);
    transition: .22s ease;
}

.contact-submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 19px 45px rgba(223,37,43,.32);
}

.contact-submit-button:disabled {
    cursor: wait;
    opacity: .68;
    transform: none;
}

.contact-form-privacy {
    margin: 0;
    color: #8994a2;
    text-align: center;
    font-size: 11px;
}

.contact-form-privacy i { margin-right: 5px; color: #6fa2fa; }

/* Social */

.contact-social-section { padding-top: 100px; }

.contact-social-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.contact-social-card {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 15px;
    min-width: 0;
    padding: 21px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(145deg, #141a22, #0a0d11);
    border: 1px solid #303a47;
    border-radius: 14px;
    transition: .22s ease;
}

.contact-social-card:hover {
    color: #fff;
    transform: translateY(-5px);
    border-color: #5178b4;
    box-shadow: 0 18px 45px rgba(0,0,0,.38);
}

.contact-social-card > i {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    color: #fff;
    font-size: 22px;
    background: linear-gradient(145deg, #3677e9, #183e96);
    border-radius: 50%;
}

.contact-social-card strong,
.contact-social-card span { display: block; }

.contact-social-card strong { font-size: 17px; }
.contact-social-card div span { margin-top: 3px; color: #929eac; font-size: 12px; }
.contact-social-card > span { color: #84affc; font-size: 20px; }

/* Final CTA */

.contact-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-top: 100px;
    padding: clamp(42px, 6vw, 75px);
    background:
        linear-gradient(110deg, rgba(19,57,132,.94), rgba(10,14,22,.97) 48%, rgba(105,12,17,.92));
    border: 1px solid #4d5d73;
    border-radius: 27px;
    box-shadow: 0 30px 80px rgba(0,0,0,.42);
}

.contact-final-cta h2 {
    margin: 14px 0;
    color: #fff;
    font-size: clamp(37px, 4.5vw, 62px);
    line-height: 1.06;
}

.contact-final-cta h2 strong { display: block; color: #ff656b; }

.contact-final-cta p {
    max-width: 880px;
    margin: 0;
    color: #d0d6de;
    font-size: 18px;
    line-height: 1.75;
}

/* Responsive */

@media (max-width: 1150px) {
    .contact-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
    .contact-hero { grid-template-columns: 1fr; }
    .contact-hero-visual { min-height: 430px; }
    .contact-main-grid { grid-template-columns: 1fr; }
    .contact-information { position: static; }
    .contact-final-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 700px) {
    .contact-page {
        width: min(100% - 28px, 1500px);
        padding-top: 22px;
    }

    .contact-hero { padding: 43px 23px; }
    .contact-hero h1 { letter-spacing: -2px; }

    .contact-path-grid,
    .contact-social-grid,
    .contact-form-row { grid-template-columns: 1fr; }

    .contact-path-card p { min-height: auto; }
    .contact-message-meta { flex-direction: column; gap: 5px; }

    .contact-hero-actions,
    .contact-button { width: 100%; }
}
