/* =========================================================
   CONTACT HERO
   ========================================================= */

.contact-hero {
    position: relative;
    padding: calc(var(--navbar-height) + 95px) 0 90px;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 15%, rgba(6, 199, 232, 0.22), transparent 30%),
        radial-gradient(circle at 10% 100%, rgba(39, 166, 74, 0.12), transparent 26%),
        linear-gradient(125deg, #07133d 0%, #10175c 58%, #0c2871 100%);
}

.contact-hero::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 70px 70px;
    content: "";
    pointer-events: none;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero .kicker {
    color: var(--cyan);
}

.contact-hero h1 {
    max-width: 900px;
    margin-bottom: 22px;
    color: var(--white);
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1;
}

.contact-hero p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.08rem;
}

.contact-hero-note {
    display: flex;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.78);
    align-items: flex-start;
    gap: 16px;
}

.contact-hero-note i {
    color: var(--cyan);
    font-size: 1.7rem;
}

/* =========================================================
   CONTACT INFORMATION
   ========================================================= */

.contact-main {
    background: var(--off-white);
}

.contact-information {
    position: sticky;
    top: calc(var(--navbar-height) + 25px);
}

.contact-information .kicker {
    color: var(--cyan-dark);
}

.contact-information h2 {
    margin-bottom: 18px;
}

.contact-information > p {
    margin-bottom: 30px;
}

.contact-methods {
    display: grid;
    border-top: 1px solid var(--line);
}

.contact-methods a,
.contact-method {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    color: inherit;
    align-items: flex-start;
    gap: 15px;
}

.contact-methods a:hover strong {
    color: var(--cyan-dark);
}

.contact-methods i {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid rgba(6, 199, 232, 0.35);
    background: rgba(6, 199, 232, 0.08);
    color: var(--cyan-dark);
    place-items: center;
}

.contact-methods span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.contact-methods small {
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-methods strong {
    color: var(--navy);
    font-size: 0.87rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.contact-hours {
    display: flex;
    margin-top: 28px;
    padding: 20px;
    border-left: 4px solid var(--yellow);
    background: var(--white);
    gap: 14px;
}

.contact-hours i {
    color: var(--cyan-dark);
    font-size: 1.4rem;
}

.contact-hours div {
    display: flex;
    flex-direction: column;
}

.contact-hours strong {
    color: var(--navy);
    font-size: 0.88rem;
}

.contact-hours span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.78rem;
}

/* =========================================================
   ENQUIRY FORM
   ========================================================= */

.enquiry-panel {
    padding: 42px;
    border: 1px solid var(--line);
    border-top: 5px solid var(--cyan);
    background: var(--white);
    box-shadow: 0 22px 55px rgba(17, 27, 84, 0.09);
}

.enquiry-panel-head {
    margin-bottom: 35px;
    padding-bottom: 27px;
    border-bottom: 1px solid var(--line);
}

.form-step {
    display: block;
    margin-bottom: 10px;
    color: var(--cyan-dark);
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.enquiry-panel-head h2 {
    margin-bottom: 10px;
}

.enquiry-panel-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.enquiry-panel-head p span,
.enquiry-form label > span {
    color: #c52e3a;
}

.enquiry-form label:not(.consent-field) {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
}

.enquiry-form input:not([type="checkbox"]),
.enquiry-form select,
.enquiry-form textarea {
    width: 100%;
    border: 1px solid #cfd5df;
    border-radius: 2px;
    outline: none;
    background: #fbfcfe;
    color: var(--ink);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.enquiry-form input:not([type="checkbox"]),
.enquiry-form select {
    height: 52px;
    padding: 0 15px;
}

.enquiry-form textarea {
    min-height: 170px;
    padding: 14px 15px;
    resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
    border-color: var(--cyan-dark);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(6, 199, 232, 0.12);
}

.field-error {
    display: none;
    margin-top: 6px;
    color: #b4232f;
    font-size: 0.74rem;
}

.form-validated input:invalid,
.form-validated select:invalid,
.form-validated textarea:invalid {
    border-color: #c93b46;
}

.form-validated input:invalid + .field-error,
.form-validated select:invalid + .field-error,
.form-validated textarea:invalid + .field-error {
    display: block;
}

.consent-field {
    display: flex;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.82rem;
    align-items: flex-start;
    gap: 11px;
}

.consent-field input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--cyan-dark);
}

.form-validated .consent-field:has(input:invalid) + .consent-error {
    display: block;
}

.form-actions {
    display: flex;
    margin-top: 8px;
    align-items: center;
    gap: 20px;
}

.form-actions .btn-cyan {
    border: 0;
    background: var(--cyan);
}

.form-actions p {
    max-width: 310px;
    margin: 0;
    color: var(--muted);
    font-size: 0.76rem;
}

.form-status {
    min-height: 24px;
    margin-top: 14px;
    font-size: 0.82rem;
}

.form-status-error {
    color: #b4232f;
}

.form-status-success {
    color: #16723b;
}

/* =========================================================
   SERVICE STRIP
   ========================================================= */

.contact-services {
    padding: 24px 0;
    background: var(--navy);
}

.contact-services .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.contact-services span {
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.68);
    font-family: "IBM Plex Sans Condensed", sans-serif;
    font-size: 0.75rem;
}

/* =========================================================
   RESPONSIVE STYLES
   ========================================================= */

@media (max-width: 991.98px) {
    .contact-information {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .contact-hero {
        padding-top: calc(var(--navbar-height) + 65px);
        padding-bottom: 65px;
    }

    .enquiry-panel {
        padding: 30px 24px;
    }

    .form-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 479.98px) {
    .enquiry-panel {
        padding: 26px 18px;
    }

    .form-actions .btn-cyan {
        width: 100%;
    }
}
