/* ==========================================================
   IBLA CONTACT PAGE
   Dedicated, fully scoped Contact page stylesheet.
   ========================================================== */

.contact-page {
    background: #ffffff;
    color: #17243a;
}

.contact-page .section {
    padding: 84px 0;
}

.contact-hero {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    isolation: isolate;
    background: #071a33;
}

.contact-hero-media,
.contact-hero-overlay,
.contact-hero-pattern {
    position: absolute;
    inset: 0;
}

.contact-hero-media {
    z-index: -3;
}

.contact-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% center;
}

.contact-hero-overlay {
    z-index: -2;
    background:
        linear-gradient(
            90deg,
            rgba(3, 17, 35, 0.97) 0%,
            rgba(5, 25, 50, 0.91) 42%,
            rgba(5, 25, 50, 0.48) 70%,
            rgba(5, 25, 50, 0.18) 100%
        );
}

.contact-hero-pattern {
    z-index: -1;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(211, 155, 24, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(211, 155, 24, 0.15) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 68%);
}

.contact-hero-shell {
    min-height: 690px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    align-items: center;
    gap: 64px;
    padding-top: 112px;
    padding-bottom: 70px;
}

.contact-hero-content {
    max-width: 760px;
    color: #ffffff;
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.contact-breadcrumb a {
    color: #e3b33e;
}

.contact-hero-content .eyebrow {
    margin-bottom: 16px;
    color: #e3b33e;
}

.contact-hero-content h1 {
    max-width: 730px;
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(58px, 5.2vw, 82px);
    font-weight: 600;
    line-height: 0.94;
    letter-spacing: -0.035em;
    color: #ffffff;
}

.contact-hero-content h1 span {
    display: block;
    color: #e3b33e;
}

.contact-hero-intro {
    max-width: 620px;
    margin: 25px 0 31px;
    font-family: "Lato", sans-serif;
    font-size: 19px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.86);
}

.contact-response-card {
    position: relative;
    padding: 35px 34px;
    border: 1px solid rgba(227, 179, 62, 0.36);
    background: rgba(6, 26, 52, 0.84);
    backdrop-filter: blur(12px);
    color: #ffffff;
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.24);
}

.contact-response-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 72px;
    height: 4px;
    background: #d39b18;
}

.contact-response-card > img {
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    padding: 10px;
    background: #ffffff;
}

.contact-response-label {
    margin: 0 0 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e3b33e;
}

.contact-response-card h2 {
    margin: 0 0 15px;
    font-family: "Cormorant Garamond", serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.04;
    color: #ffffff;
}

.contact-response-card p:last-child {
    margin: 0;
    font-family: "Lato", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.77);
}

.contact-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
    align-items: end;
    gap: 70px;
    margin-bottom: 44px;
}

.contact-section-heading h2,
.contact-process-heading h2,
.contact-global-content h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(42px, 4vw, 60px);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.025em;
    color: #0a1f3c;
}

.contact-section-heading > p {
    margin: 0;
    font-family: "Lato", sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #5c6878;
}

.contact-pathways {
    background:
        radial-gradient(circle at top right, rgba(211, 155, 24, 0.09), transparent 30%),
        #f7f5f0;
}

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

.contact-pathway-card {
    position: relative;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    padding: 29px 26px 26px;
    border: 1px solid #e2ddd3;
    background: #ffffff;
    color: #17243a;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.contact-pathway-card:hover {
    transform: translateY(-6px);
    border-color: rgba(211, 155, 24, 0.72);
    box-shadow: 0 22px 45px rgba(9, 29, 57, 0.1);
}

.contact-pathway-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    background: #f6f3eb;
}

.contact-pathway-icon img {
    width: 48px;
    height: 48px;
}

.contact-pathway-number {
    position: absolute;
    top: 28px;
    right: 25px;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #c08b15;
}

.contact-pathway-card h3 {
    margin: 0 0 13px;
    font-family: "Cormorant Garamond", serif;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.02;
    color: #0a1f3c;
}

.contact-pathway-card p {
    margin: 0 0 25px;
    font-family: "Lato", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #687383;
}

.contact-pathway-link {
    margin-top: auto;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #a8750b;
}

.contact-enquiry-section {
    background: #ffffff;
}

.contact-enquiry-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(580px, 1.22fr);
    align-items: start;
    gap: 80px;
}

.contact-enquiry-intro {
    position: sticky;
    top: 115px;
}

.contact-enquiry-intro h2 {
    margin: 0 0 22px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(48px, 4.5vw, 68px);
    font-weight: 600;
    line-height: 0.93;
    color: #0a1f3c;
}

.contact-enquiry-intro h2 span {
    display: block;
    color: #c08b15;
}

.contact-enquiry-intro > p:not(.eyebrow) {
    margin: 0 0 31px;
    font-family: "Lato", sans-serif;
    font-size: 17px;
    line-height: 1.72;
    color: #5f6b7b;
}

.contact-enquiry-points {
    display: grid;
    gap: 13px;
}

.contact-enquiry-points > div {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 15px;
    align-items: center;
    padding: 16px;
    border: 1px solid #e3dfd6;
    background: #f8f6f1;
}

.contact-enquiry-points img {
    width: 46px;
    height: 46px;
}

.contact-enquiry-points strong,
.contact-enquiry-points span {
    display: block;
}

.contact-enquiry-points strong {
    margin-bottom: 4px;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0a1f3c;
}

.contact-enquiry-points span {
    font-family: "Lato", sans-serif;
    font-size: 14px;
    line-height: 1.45;
    color: #687383;
}

.contact-email-card {
    margin-top: 16px;
    padding: 18px 20px;
    border-left: 3px solid #d39b18;
    background: #0a1f3c;
}

.contact-email-card span,
.contact-email-card a {
    display: block;
}

.contact-email-card span {
    margin-bottom: 5px;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #e3b33e;
}

.contact-email-card a {
    overflow-wrap: anywhere;
    font-family: "Lato", sans-serif;
    font-size: 17px;
    color: #ffffff;
}

.contact-enquiry-form {
    padding: 39px;
    border: 1px solid #ded9cf;
    background: #f8f6f1;
    box-shadow: 0 22px 55px rgba(9, 29, 57, 0.09);
}

.contact-form-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ddd7cc;
}

.contact-form-heading span {
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0a1f3c;
}

.contact-form-heading p {
    margin: 0;
    font-family: "Lato", sans-serif;
    font-size: 13px;
    color: #78818d;
}

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

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

.contact-form-grid label > span {
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #263750;
}

.contact-form-grid input,
.contact-form-grid select,
.contact-form-grid textarea {
    width: 100%;
    border: 1px solid #cfc9be;
    border-radius: 0;
    background: #ffffff;
    font-family: "Lato", sans-serif;
    font-size: 15px;
    color: #17243a;
    outline: none;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.contact-form-grid input,
.contact-form-grid select {
    min-height: 51px;
    padding: 0 14px;
}

.contact-form-grid textarea {
    min-height: 145px;
    padding: 14px;
    resize: vertical;
}

.contact-form-grid input:focus,
.contact-form-grid select:focus,
.contact-form-grid textarea:focus {
    border-color: #c08b15;
    box-shadow: 0 0 0 3px rgba(211, 155, 24, 0.13);
}

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

.contact-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.contact-consent {
    grid-template-columns: 18px 1fr !important;
    align-items: start;
    gap: 11px !important;
}

.contact-consent input {
    width: 18px;
    min-height: 18px;
    height: 18px;
    margin-top: 1px;
}

.contact-consent span {
    font-family: "Lato", sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #687383 !important;
}

.contact-submit-button {
    width: 100%;
    margin-top: 24px;
}

.contact-form-note {
    margin: 13px 0 0;
    text-align: center;
    font-family: "Lato", sans-serif;
    font-size: 13px;
    line-height: 1.45;
    color: #6d7784;
}

.contact-global-section {
    background: #0a1f3c;
    color: #ffffff;
}

.contact-global-shell {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(600px, 1.2fr);
    gap: 78px;
    align-items: center;
}

.contact-global-content .eyebrow {
    color: #e3b33e;
}

.contact-global-content h2 {
    color: #ffffff;
}

.contact-global-content h2 span {
    display: block;
    color: #e3b33e;
}

.contact-global-content > p:last-child {
    margin: 22px 0 0;
    max-width: 510px;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

.contact-region-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-region-grid article {
    min-height: 120px;
    padding: 25px;
    background: #102a4c;
}

.contact-region-grid article:last-child {
    grid-column: 1 / -1;
}

.contact-region-grid strong,
.contact-region-grid span {
    display: block;
}

.contact-region-grid strong {
    margin-bottom: 8px;
    font-family: "Cormorant Garamond", serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 1;
    color: #ffffff;
}

.contact-region-grid span {
    font-family: "Lato", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.68);
}

.contact-process-section {
    background: #f7f5f0;
}

.contact-process-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

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

.contact-process-grid article {
    position: relative;
    padding: 31px 29px;
    border-top: 3px solid #d39b18;
    background: #ffffff;
}

.contact-process-grid article > span {
    display: block;
    margin-bottom: 24px;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #b17b0d;
}

.contact-process-grid h3 {
    margin: 0 0 12px;
    font-family: "Cormorant Garamond", serif;
    font-size: 29px;
    font-weight: 600;
    line-height: 1;
    color: #0a1f3c;
}

.contact-process-grid p {
    margin: 0;
    font-family: "Lato", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #667181;
}

.contact-supporting-cta {
    padding: 68px 0;
    background: #e6b139;
}

.contact-supporting-cta-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.contact-supporting-cta .eyebrow {
    color: #0a1f3c;
}

.contact-supporting-cta h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(38px, 3.5vw, 54px);
    font-weight: 600;
    line-height: 1;
    color: #071a33;
}

.contact-supporting-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 11px;
}

.contact-supporting-cta .button-outline {
    border-color: rgba(7, 26, 51, 0.65);
    color: #071a33;
}

.contact-supporting-cta .button-outline:hover {
    border-color: #071a33;
    background: #071a33;
    color: #ffffff;
}

@media (max-width: 1180px) {
    .contact-hero-shell {
        grid-template-columns: minmax(0, 1fr) 350px;
        gap: 40px;
    }

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

    .contact-enquiry-layout {
        grid-template-columns: 0.72fr 1.28fr;
        gap: 48px;
    }

    .contact-global-shell {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 45px;
    }
}

@media (max-width: 960px) {
    .contact-page .section {
        padding: 70px 0;
    }

    .contact-hero {
        min-height: auto;
    }

    .contact-hero-shell {
        min-height: 690px;
        grid-template-columns: 1fr;
        align-content: center;
        gap: 32px;
        padding-top: 125px;
    }

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

    .contact-response-card {
        max-width: 560px;
    }

    .contact-section-heading,
    .contact-enquiry-layout,
    .contact-global-shell {
        grid-template-columns: 1fr;
    }

    .contact-section-heading,
    .contact-global-shell {
        gap: 30px;
    }

    .contact-enquiry-layout {
        gap: 42px;
    }

    .contact-enquiry-intro {
        position: static;
        max-width: 720px;
    }

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

    .contact-global-content {
        max-width: 670px;
    }

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

    .contact-supporting-cta-shell {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-supporting-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .contact-page .section {
        padding: 58px 0;
    }

    .contact-hero-media img {
        object-position: 70% center;
    }

    .contact-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(3, 17, 35, 0.97) 0%,
                rgba(5, 25, 50, 0.89) 72%,
                rgba(5, 25, 50, 0.7) 100%
            );
    }

    .contact-hero-shell {
        min-height: 720px;
        padding-top: 105px;
        padding-bottom: 45px;
    }

    .contact-breadcrumb {
        margin-bottom: 17px;
        font-size: 10px;
    }

    .contact-hero-content h1 {
        font-size: clamp(46px, 13.3vw, 59px);
        line-height: 0.96;
    }

    .contact-hero-intro {
        margin: 19px 0 25px;
        font-size: 16px;
        line-height: 1.58;
    }

    .contact-response-card {
        padding: 26px 24px;
    }

    .contact-response-card h2 {
        font-size: 26px;
    }

    .contact-section-heading {
        gap: 20px;
        margin-bottom: 30px;
    }

    .contact-section-heading h2,
    .contact-process-heading h2,
    .contact-global-content h2 {
        font-size: 41px;
    }

    .contact-section-heading > p {
        font-size: 15px;
    }

    .contact-pathway-grid,
    .contact-enquiry-points,
    .contact-region-grid {
        grid-template-columns: 1fr;
    }

    .contact-pathway-card {
        min-height: auto;
    }

    .contact-enquiry-intro h2 {
        font-size: 49px;
    }

    .contact-enquiry-form {
        padding: 27px 20px;
    }

    .contact-form-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

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

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

    .contact-region-grid article:last-child {
        grid-column: auto;
    }

    .contact-region-grid article {
        min-height: auto;
    }

    .contact-supporting-cta {
        padding: 55px 0;
    }

    .contact-supporting-actions {
        width: 100%;
        flex-direction: column;
    }

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

@media (max-width: 390px) {
    .contact-hero-shell {
        min-height: 700px;
    }

    .contact-hero-content h1 {
        font-size: 44px;
    }

    .contact-response-card {
        padding: 23px 20px;
    }

    .contact-pathway-card {
        padding: 25px 22px;
    }

    .contact-enquiry-intro h2 {
        font-size: 44px;
    }
}

/* ==========================================================
   IBLA CONTACT STANDARD CTA V1
   Premium contained pre-footer CTA aligned with inner pages.
   ========================================================== */

.contact-page .contact-supporting-cta {
    padding: 72px 0;
    background: #ffffff;
}

.contact-page .contact-supporting-cta-shell {
    position: relative;
    min-height: 230px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 54px;
    overflow: hidden;
    padding: 46px 48px;
    border-radius: 14px;
    background:
        radial-gradient(
            circle at 92% 50%,
            rgba(211, 155, 24, 0.12),
            transparent 30%
        ),
        #0a1f3c;
    box-shadow: 0 22px 50px rgba(9, 29, 57, 0.12);
}

.contact-page .contact-supporting-cta-shell::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -110px;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.contact-page .contact-supporting-cta .eyebrow {
    margin-bottom: 12px;
    color: #e3b33e;
}

.contact-page .contact-supporting-cta h2 {
    max-width: 650px;
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(43px, 4vw, 60px);
    font-weight: 600;
    line-height: 0.96;
    letter-spacing: -0.025em;
    color: #ffffff;
}

.contact-page .contact-supporting-actions {
    position: relative;
    z-index: 1;
    width: 250px;
    display: grid;
    gap: 11px;
}

.contact-page .contact-supporting-actions .button {
    width: 100%;
    min-height: 47px;
    justify-content: center;
    text-align: center;
}

.contact-page .contact-supporting-cta .button-primary {
    background: #d39b18;
    border-color: #d39b18;
    color: #071a33;
}

.contact-page .contact-supporting-cta .button-primary:hover {
    background: #e3b33e;
    border-color: #e3b33e;
}

.contact-page .contact-supporting-cta .button-outline {
    border-color: rgba(255, 255, 255, 0.34);
    color: #ffffff;
}

.contact-page .contact-supporting-cta .button-outline:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: #0a1f3c;
}

@media (max-width: 960px) {
    .contact-page .contact-supporting-cta-shell {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 42px;
    }

    .contact-page .contact-supporting-actions {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .contact-page .contact-supporting-cta {
        padding: 56px 0;
    }

    .contact-page .contact-supporting-cta-shell {
        min-height: auto;
        padding: 34px 25px;
        border-radius: 10px;
    }

    .contact-page .contact-supporting-cta h2 {
        font-size: 41px;
    }

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

/* ==========================================================
   IBLA CONTACT DETAILED REGIONS V1
   Regional address and direct-contact presentation.
   ========================================================== */

.contact-page .contact-region-grid-detailed article {
    display: flex;
    flex-direction: column;
}

.contact-page .contact-region-grid-detailed article > span {
    flex: 1;
}

.contact-page .contact-region-grid-detailed article > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.035em;
    color: #e3b33e;
}

.contact-page .contact-region-grid-detailed article > a::before {
    content: "";
    width: 18px;
    height: 1px;
    background: #d39b18;
}

.contact-page .contact-region-grid-detailed article > a:hover {
    color: #ffffff;
}

/* ==========================================================
   CONTACT FORM FUNCTIONAL FEEDBACK
   ========================================================== */

.contact-form-feedback {
    display: none;
    margin: 0 0 1.5rem;
    padding: 1rem 1.125rem;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    outline: none;
}

.contact-form-feedback.is-visible {
    display: block;
}

.contact-form-feedback.is-success {
    color: #174c35;
    background: #edf8f2;
    border-color: #b7ddc7;
}

.contact-form-feedback.is-error {
    color: #7b2525;
    background: #fff2f2;
    border-color: #e5bcbc;
}

.contact-submit-button:disabled,
.contact-submit-button[aria-disabled="true"] {
    cursor: wait;
    opacity: 0.72;
}
