/* =========================================================
   TWP CONTACT PAGE
   White / Deep Navy / Electric Blue
   ========================================================= */

:root {
    --twp-navy: #07172d;
    --twp-navy-2: #0b2342;
    --twp-blue: #1769e8;
    --twp-blue-dark: #0f59c9;
    --twp-blue-soft: #edf4ff;
    --twp-text: #10233f;
    --twp-muted: #617087;
    --twp-border: #dfe6ef;
    --twp-light: #f7f9fc;
    --twp-white: #ffffff;
    --twp-radius: 10px;
    --twp-shadow: 0 16px 45px rgba(7, 23, 45, .07);
}

.twp-contact-page {
    color: var(--twp-text);
    background: var(--twp-white);
    font-family: inherit;
    overflow: hidden;
}

.twp-contact-page *,
.twp-contact-page *::before,
.twp-contact-page *::after {
    box-sizing: border-box;
}

.twp-contact-container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.twp-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--twp-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.2;
}

/* HERO */
.twp-contact-hero {
    position: relative;
    min-height: 510px;
    display: flex;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #edf1f6;
}

.twp-contact-hero-grid {
    display: grid;
    grid-template-columns: 48% 52%;
    align-items: center;
    gap: 30px;
    padding: 80px 0 82px;
}

.twp-contact-hero-copy {
    position: relative;
    z-index: 2;
}

.twp-contact-hero h1 {
    margin: 0;
    color: var(--twp-navy);
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 800;
    line-height: .99;
    letter-spacing: -.045em;
}

.twp-contact-hero h1 span {
    color: var(--twp-navy-2);
}

.twp-contact-hero p {
    max-width: 590px;
    margin: 25px 0 30px;
    color: #52647b;
    font-size: 18px;
    line-height: 1.7;
}

.twp-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.twp-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 750;
    text-decoration: none !important;
    cursor: pointer;
    transition: .2s ease;
}

.twp-btn span {
    font-size: 19px;
    line-height: 1;
}

.twp-btn-primary {
    color: #fff !important;
    background: var(--twp-blue);
    box-shadow: 0 8px 20px rgba(23, 105, 232, .18);
}

.twp-btn-primary:hover {
    color: #fff !important;
    background: var(--twp-blue-dark);
    transform: translateY(-1px);
}

.twp-btn-outline {
    color: var(--twp-blue) !important;
    background: #fff;
    border-color: #8db4f5;
}

.twp-btn-outline:hover {
    color: var(--twp-blue) !important;
    background: var(--twp-blue-soft);
    border-color: var(--twp-blue);
}

.twp-contact-world {
    min-height: 350px;
    position: relative;
}

.twp-world-map {
    position: absolute;
    inset: 10px -30px 0 0;
    opacity: .92;
    background-image:
        radial-gradient(circle at 18% 38%, rgba(23,105,232,.15) 1px, transparent 1.6px),
        radial-gradient(circle at 31% 48%, rgba(23,105,232,.14) 1px, transparent 1.6px),
        radial-gradient(circle at 47% 35%, rgba(23,105,232,.14) 1px, transparent 1.6px),
        radial-gradient(circle at 63% 50%, rgba(23,105,232,.14) 1px, transparent 1.6px),
        radial-gradient(circle at 79% 38%, rgba(23,105,232,.14) 1px, transparent 1.6px);
    background-size: 11px 11px, 12px 12px, 11px 11px, 12px 12px, 11px 11px;
    border-radius: 50%;
    filter: saturate(.75);
}

.twp-world-map::before {
    content: "";
    position: absolute;
    inset: 10% 5%;
    background:
        radial-gradient(ellipse 23% 18% at 27% 34%, rgba(225,236,249,.85) 0 55%, transparent 56%),
        radial-gradient(ellipse 16% 27% at 43% 58%, rgba(225,236,249,.85) 0 55%, transparent 56%),
        radial-gradient(ellipse 22% 16% at 66% 35%, rgba(225,236,249,.85) 0 55%, transparent 56%),
        radial-gradient(ellipse 13% 28% at 77% 57%, rgba(225,236,249,.85) 0 55%, transparent 56%);
    opacity: .7;
}

.twp-map-pin {
    position: absolute;
    top: 44%;
    left: 69%;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--twp-blue);
    background: #fff;
    border: 1px solid #dce7f6;
    box-shadow: 0 12px 30px rgba(7,23,45,.13);
    font-size: 27px;
    font-weight: 800;
}

.twp-map-label {
    position: absolute;
    top: 62%;
    left: 62%;
    width: 175px;
    padding: 13px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(7,23,45,.09);
}

.twp-map-label strong,
.twp-map-label small {
    display: block;
}

.twp-map-label strong {
    color: var(--twp-text);
    font-size: 11px;
}

.twp-map-label small {
    margin-top: 4px;
    color: var(--twp-muted);
    font-size: 10px;
}

/* SECTION HEADINGS */
.twp-section-heading {
    margin-bottom: 30px;
}

.twp-center {
    text-align: center;
}

.twp-section-heading h2,
.twp-enquiry-form-area h2,
.twp-why-area h2 {
    margin: 0;
    color: var(--twp-navy);
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.twp-section-heading p {
    margin: 9px 0 0;
    color: var(--twp-muted);
    font-size: 15px;
}

/* PATHWAYS */
.twp-contact-pathways {
    padding: 78px 0 85px;
}

.twp-pathway-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.twp-pathway-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    padding: 27px 25px;
    border: 1px solid var(--twp-border);
    border-radius: var(--twp-radius);
    background: #fff;
    transition: .22s ease;
}

.twp-pathway-card:hover {
    border-color: #bdd2f2;
    box-shadow: var(--twp-shadow);
    transform: translateY(-3px);
}

.twp-icon-circle {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--twp-blue);
    background: #eaf2ff;
    font-size: 21px;
    font-weight: 800;
}

.twp-pathway-card h3 {
    margin: 22px 0 9px;
    color: var(--twp-navy);
    font-size: 18px;
    line-height: 1.25;
}

.twp-pathway-card p {
    margin: 0;
    color: var(--twp-muted);
    font-size: 14px;
    line-height: 1.65;
}

.twp-pathway-card a {
    margin-top: auto;
    padding-top: 22px;
    color: var(--twp-blue);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.twp-pathway-card a span {
    margin-left: 4px;
}

/* ENQUIRY */
.twp-enquiry-section {
    padding: 5px 0 90px;
}

.twp-enquiry-shell {
    display: grid;
    grid-template-columns: 58% 42%;
    border: 1px solid var(--twp-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 55px rgba(7,23,45,.045);
}

.twp-enquiry-form-area {
    padding: 50px 48px;
    background: #fff;
}

.twp-enquiry-form-area .twp-eyebrow {
    margin-bottom: 12px;
}

.twp-enquiry-form-area h2 {
    font-size: 31px;
}

.twp-form-intro {
    margin: 10px 0 28px;
    color: var(--twp-muted);
    font-size: 14px;
}

.twp-form-alert {
    margin-bottom: 24px;
    padding: 16px 18px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.55;
}

.twp-form-alert strong,
.twp-form-alert span {
    display: block;
}

.twp-form-success {
    color: #185b36;
    background: #eefaf3;
    border: 1px solid #c7ead5;
}

.twp-form-success span {
    margin-top: 3px;
}

.twp-form-error {
    color: #7a1f1f;
    background: #fff4f4;
    border: 1px solid #f0cccc;
}

.twp-form-error ul {
    margin: 7px 0 0 18px;
    padding: 0;
}

.twp-form-error li {
    margin: 3px 0;
}

.twp-business-form {
    position: relative;
}

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

.twp-field {
    min-width: 0;
}

.twp-field-full {
    grid-column: 1 / -1;
}

.twp-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--twp-text);
    font-size: 12px;
    font-weight: 750;
}

.twp-field label span {
    color: var(--twp-blue);
}

.twp-field input,
.twp-field select,
.twp-field textarea {
    width: 100%;
    display: block;
    border: 1px solid #d7e0eb;
    border-radius: 4px;
    outline: none;
    color: var(--twp-text);
    background: #fff;
    font: inherit;
    font-size: 13px;
    transition: .18s ease;
}

.twp-field input,
.twp-field select {
    height: 46px;
    padding: 0 13px;
}

.twp-field textarea {
    min-height: 125px;
    resize: vertical;
    padding: 13px;
    line-height: 1.5;
}

.twp-field input::placeholder,
.twp-field textarea::placeholder {
    color: #a0acbb;
}

.twp-field input:focus,
.twp-field select:focus,
.twp-field textarea:focus {
    border-color: #72a5ef;
    box-shadow: 0 0 0 3px rgba(23,105,232,.08);
}

.twp-field.twp-invalid input,
.twp-field.twp-invalid select,
.twp-field.twp-invalid textarea {
    border-color: #d94d4d;
}

.twp-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.twp-form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
}

.twp-form-bottom .twp-btn {
    border: 0;
}

.twp-submit-loading {
    display: none;
}

.twp-business-form.is-sending .twp-submit-label,
.twp-business-form.is-sending .twp-submit-arrow {
    display: none;
}

.twp-business-form.is-sending .twp-submit-loading {
    display: inline;
}

.twp-business-form.is-sending button {
    pointer-events: none;
    opacity: .75;
}

.twp-form-security {
    max-width: 245px;
    display: flex;
    gap: 8px;
    margin: 0;
    color: #7b8797;
    font-size: 11px;
    line-height: 1.5;
}

.twp-form-security span {
    color: var(--twp-blue);
    font-size: 16px;
}

/* WHY TWP */
.twp-why-area {
    padding: 50px 43px;
    background: #f7f9fc;
    border-left: 1px solid var(--twp-border);
}

.twp-why-area h2 {
    margin-bottom: 38px;
}

.twp-why-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    padding: 0 0 27px;
    margin-bottom: 27px;
    border-bottom: 1px solid #dfe5ed;
}

.twp-why-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.twp-why-item h3 {
    margin: 2px 0 7px;
    color: var(--twp-navy);
    font-size: 15px;
}

.twp-why-item p {
    margin: 0;
    color: var(--twp-muted);
    font-size: 13px;
    line-height: 1.65;
}

/* CORPORATE */
.twp-corporate-contact {
    padding: 0 0 80px;
}

.twp-corporate-card {
    padding: 40px 42px 35px;
    border-radius: 7px;
    color: #fff;
    background: var(--twp-navy);
}

.twp-corporate-title h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -.02em;
}

.twp-corporate-title span {
    width: 30px;
    height: 2px;
    display: block;
    margin-top: 13px;
    background: #4388f3;
}

.twp-corporate-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr 1fr;
    gap: 0;
    margin-top: 35px;
}

.twp-corporate-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 13px;
    padding: 0 27px;
    border-right: 1px solid rgba(255,255,255,.14);
}

.twp-corporate-item:first-child {
    padding-left: 0;
}

.twp-corporate-item:last-child {
    padding-right: 0;
    border-right: 0;
}

.twp-corp-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    color: #fff;
    font-size: 15px;
}

.twp-corporate-item h3 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 12px;
}

.twp-corporate-item p {
    margin: 0;
    color: #b9c9dd;
    font-size: 12px;
    line-height: 1.65;
}

.twp-corporate-item a {
    color: #b9c9dd;
    text-decoration: none;
}

.twp-corporate-item a:hover {
    color: #fff;
}

/* FINAL CTA */
.twp-contact-final-cta {
    padding: 0 0 70px;
}

.twp-final-cta-box {
    min-height: 190px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 42px 45px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    overflow: hidden;
    background: #fff;
}

.twp-final-cta-box > div:first-child {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.twp-final-cta-box .twp-eyebrow {
    margin-bottom: 10px;
}

.twp-final-cta-box h2 {
    margin: 0;
    color: var(--twp-navy);
    font-size: 30px;
    letter-spacing: -.025em;
}

.twp-final-cta-box p {
    max-width: 600px;
    margin: 8px 0 0;
    color: var(--twp-muted);
    font-size: 13px;
    line-height: 1.6;
}

.twp-final-cta-box .twp-btn {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}

.twp-cta-decoration {
    position: absolute;
    right: -40px;
    bottom: -95px;
    width: 330px;
    height: 220px;
    border: 1px dashed #c7dbf8;
    border-radius: 50%;
    transform: rotate(-18deg);
    opacity: .8;
}

.twp-cta-decoration::before,
.twp-cta-decoration::after {
    content: "";
    position: absolute;
    border: 1px solid #d9e7fa;
    border-radius: 50%;
}

.twp-cta-decoration::before {
    width: 90px;
    height: 90px;
    right: 30px;
    top: -45px;
}

.twp-cta-decoration::after {
    width: 44px;
    height: 44px;
    right: 112px;
    top: 60px;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
    .twp-contact-hero-grid {
        grid-template-columns: 55% 45%;
    }

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

    .twp-enquiry-shell {
        grid-template-columns: 1fr;
    }

    .twp-why-area {
        border-top: 1px solid var(--twp-border);
        border-left: 0;
    }

    .twp-corporate-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 0;
    }

    .twp-corporate-item:nth-child(2) {
        border-right: 0;
    }

    .twp-corporate-item:nth-child(3) {
        padding-left: 0;
    }
}

@media (max-width: 760px) {
    .twp-contact-container {
        width: min(100% - 32px, 1200px);
    }

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

    .twp-contact-hero-grid {
        display: block;
        padding: 60px 0 55px;
    }

    .twp-contact-hero h1 {
        font-size: 48px;
    }

    .twp-contact-hero p {
        font-size: 16px;
    }

    .twp-contact-world {
        min-height: 240px;
        margin-top: 20px;
    }

    .twp-world-map {
        inset: 0;
    }

    .twp-pathway-grid {
        grid-template-columns: 1fr;
    }

    .twp-contact-pathways,
    .twp-enquiry-section {
        padding-top: 55px;
    }

    .twp-enquiry-form-area,
    .twp-why-area {
        padding: 35px 24px;
    }

    .twp-form-grid {
        grid-template-columns: 1fr;
    }

    .twp-field-full {
        grid-column: auto;
    }

    .twp-form-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .twp-form-security {
        max-width: none;
    }

    .twp-corporate-card {
        padding: 32px 24px;
    }

    .twp-corporate-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .twp-corporate-item,
    .twp-corporate-item:nth-child(2),
    .twp-corporate-item:nth-child(3) {
        padding: 0;
        border-right: 0;
    }

    .twp-final-cta-box {
        align-items: flex-start;
        flex-direction: column;
        padding: 35px 24px;
    }

    .twp-final-cta-box h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .twp-contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .twp-btn {
        width: 100%;
    }

    .twp-contact-hero h1 {
        font-size: 42px;
    }

    .twp-section-heading h2,
    .twp-enquiry-form-area h2 {
        font-size: 27px;
    }
}


/* =========================================================
   TWP CONTACT HERO — NEW RIGHT-SIDE IMAGE
   ---------------------------------------------------------
   Only the existing hero artwork is replaced. All other
   Contact page styling remains unchanged.
   ========================================================= */

.twp-contact-hero-image-wrap {
    min-height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.twp-contact-hero-image {
    display: block;
    width: min(100%, 690px);
    height: auto;
    max-height: 500px;
    object-fit: contain;
    object-position: center right;
    margin-left: auto;
    filter: drop-shadow(0 18px 34px rgba(7, 23, 45, .08));
}

@media (max-width: 1050px) {
    .twp-contact-hero-image {
        width: min(100%, 590px);
        max-height: 430px;
    }
}

@media (max-width: 760px) {
    .twp-contact-hero-image-wrap {
        min-height: 250px;
        justify-content: center;
        margin-top: 10px;
    }

    .twp-contact-hero-image {
        width: min(100%, 560px);
        max-height: 330px;
        margin-inline: auto;
        object-position: center;
    }
}

@media (max-width: 480px) {
    .twp-contact-hero-image-wrap {
        min-height: 210px;
    }

    .twp-contact-hero-image {
        width: 100%;
        max-height: 260px;
    }
}
