.contact-page {
    overflow: clip;
}

/* Contact hero */
.contact-hero {
    position: relative;
    color: var(--color-white);
    background: var(--color-primary);
}

.contact-hero__inner {
    width: min(100% - 56px, var(--page-width));
    min-height: 440px;
    margin: 0 auto;
    padding: 30px 0 26px;
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, 0.95fr);
    align-items: center;
    gap: 34px;
}

.contact-hero__content {
    width: 100%;
    max-width: 560px;
}

.contact-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 0 30px;
    padding: 9px 22px;
    border-radius: 999px;
    color: var(--color-white);
    background: var(--color-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
}

.contact-hero__title {
    margin: 0;
    color: var(--color-white);
    font-family:
        "Trebuchet MS",
        "Arial Rounded MT Bold",
        Arial,
        sans-serif;
    font-size: clamp(40px, 4.8vw, 58px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 0.96;
}

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

.contact-hero__title strong {
    color: var(--color-yellow);
    font: inherit;
}

.contact-hero__description {
    max-width: 500px;
    margin: 22px 0 0;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}

.contact-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.contact-hero__button {
    width: 190px;
    min-height: 40px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease;
}

.contact-hero__button--primary {
    border-color: var(--color-red);
    color: var(--color-white);
    background: var(--color-red);
}

.contact-hero__button--secondary {
    border-color: var(--color-white);
    color: var(--color-primary);
    background: var(--color-white);
}

.contact-hero__button--primary:hover {
    border-color: var(--color-white);
    color: var(--color-red);
    background: var(--color-white);
    transform: translateY(-4px);
}

.contact-hero__button--secondary:hover {
    border-color: var(--color-yellow);
    color: var(--color-primary);
    background: var(--color-yellow);
    transform: translateY(-4px);
}

.contact-hero__button:focus-visible {
    outline: 3px solid var(--color-yellow);
    outline-offset: 3px;
}

.contact-hero__dots {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
}

.contact-hero__dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.contact-hero__dot--red {
    background: var(--color-red);
}

.contact-hero__dot--yellow {
    background: var(--color-yellow);
}

.contact-hero__dot--pink {
    background: var(--color-pink);
}

.contact-hero__dot--white {
    background: var(--color-white);
}

/* Contact methods */
.contact-methods {
    position: relative;
    padding: 46px 0;
    background: var(--theme-page-background);
}

.contact-methods__inner {
    width: min(100% - 56px, var(--page-width));
    margin: 0 auto;
}

.contact-methods__panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 2px solid var(--color-primary);
    border-radius: 22px;
    background: var(--theme-surface-raised);
}

.contact-method {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 112px;
    padding: 24px 30px;
    color: var(--theme-text);
    text-decoration: none;
    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.contact-method + .contact-method::before {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 0;
    width: 1px;
    background: var(--theme-border);
    content: "";
}

.contact-method:hover {
    background: var(--theme-surface-subtle);
    transform: translateY(-2px);
}

.contact-method:focus-visible {
    z-index: 1;
    outline: 3px solid var(--color-yellow);
    outline-offset: -5px;
}

.contact-method__icon {
    display: inline-flex;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-right: 20px;
    border-radius: 50%;
}

.contact-method__icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-method--red .contact-method__icon {
    color: var(--color-white);
    background: var(--color-red);
}

.contact-method--yellow .contact-method__icon {
    color: var(--color-white);
    background: var(--color-yellow);
}

.contact-method--pink .contact-method__icon {
    color: var(--color-white);
    background: var(--color-pink);
}

.contact-method__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.contact-method__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.045em;
    line-height: 1;
    text-transform: uppercase;
}

.contact-method--red .contact-method__label {
    color: var(--color-red);
}

.contact-method--yellow .contact-method__label {
    color: var(--color-yellow);
}

.contact-method--pink .contact-method__label {
    color: var(--color-pink);
}

.contact-method__content strong {
    color: var(--theme-text-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.contact-hero__visual {
    position: relative;
    width: 100%;
    min-height: 350px;
    display: block;
    pointer-events: none;
}

.contact-hero__visual-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: inherit;
}

.contact-hero__artwork {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 520px;
    height: 340px;
    transform: translate(-50%, -50%);
    transform-origin: center;
    pointer-events: none;
    user-select: none;
}

/* Ground shadow */
.contact-hero__art-shadow {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 2;
    width: 432px;
    height: 38px;
    border-radius: 50%;
    background: #2495bf;
    transform: translateX(-50%);
    box-shadow: none;
    filter: none;
}

/* Large background circles */
.contact-hero__art-circle {
    position: absolute;
    z-index: 1;
    display: block;
    border-radius: 50%;
}

.contact-hero__art-circle--white {
    bottom: 40px;
    left: -1px;
    width: 315px;
    height: 315px;
    background: var(--color-white);
}

.contact-hero__art-circle--pink {
    bottom: 38px;
    right: -27px;
    width: 333px;
    height: 333px;
    background: var(--color-pink);
}

/* Small palette circles */
.contact-hero__art-dot {
    position: absolute;
    z-index: 4;
    display: block;
    border-radius: 50%;
}

.contact-hero__art-dot--yellow {
    top: 216px;
    left: 46px;
    width: 18px;
    height: 18px;
    background: var(--color-yellow);
}

.contact-hero__art-dot--pink {
    top: 66px;
    left: 160px;
    width: 15px;
    height: 15px;
    background: var(--color-pink);
}

.contact-hero__art-dot--white {
    top: 42px;
    right: 108px;
    width: 16px;
    height: 16px;
    background: var(--color-white);
}

.contact-hero__art-dot--blue {
    top: 220px;
    left: 456px;
    width: 14px;
    height: 14px;
    background: var(--color-primary);
}

/* Stars */
.contact-hero__art-star {
    position: absolute;
    z-index: 5;
    display: block;
    line-height: 1;
}

.contact-hero__art-star--yellow {
    top: 18px;
    left: 179px;
    color: var(--color-yellow);
    font-size: 48px;
    transform: rotate(8deg);
}

.contact-hero__art-star--red {
    top: 119px;
    right: 17px;
    color: var(--color-red);
    font-size: 46px;
    transform: rotate(12deg);
}

/* Existing PNG artwork */
.contact-hero__art-dot-line,
.contact-hero__art-paper-plane,
.contact-hero__art-farhuda,
.contact-hero__art-farhud,
.contact-hero__art-mailbox {
    position: absolute;
    display: block;
    max-width: none;
    height: auto;
}

.contact-hero__art-dot-line {
    top: 44px;
    left: 225px;
    z-index: 3;
    width: 106px;
}

.contact-hero__art-paper-plane {
    top: 0px;
    right: 125px;
    z-index: 5;
    width: 88px;
}

.contact-hero__art-farhuda {
    bottom: 34px;
    left: 52px;
    z-index: 4;
    width: 155px;
}

.contact-hero__art-farhud {
    bottom: 34px;
    right: 35px;
    z-index: 4;
    width: 178px;
    transform: rotate(5deg);
    transform-origin: center bottom;
}

.contact-hero__art-mailbox {
    top: 100px;
    left: 50%;
    z-index: 6;
    width: 164px;
    transform: translateX(-50%);
}

.contact-page__next-section-anchor {
    height: 0;
    scroll-margin-top: 6rem;
}

@media (prefers-reduced-motion: reduce) {
    .contact-hero__button {
        transition: none;
    }

    .contact-hero__button:hover {
        transform: none;
    }
}

/* Contact enquiry form */
.contact-enquiry {
    position: relative;
    padding: 50px 0 58px;
    background: var(--theme-page-background);
    scroll-margin-top: 76px;
}

.contact-enquiry__inner {
    width: min(100% - 56px, var(--page-width));
    margin: 0 auto;
}

.contact-enquiry__heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.contact-enquiry__heading > p {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    margin: 0 0 20px;
    padding: 9px 22px;
    border-radius: 999px;
    color: var(--color-white);
    background: var(--color-red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.035em;
    line-height: 1;
    text-transform: uppercase;
}

.contact-enquiry__heading h2 {
    margin: 0;
    color: var(--color-primary);
    font-family:
        "Trebuchet MS",
        "Arial Rounded MT Bold",
        Arial,
        sans-serif;
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.contact-enquiry__heading > span {
    display: block;
    max-width: 680px;
    margin: 16px auto 0;
    color: var(--theme-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.contact-enquiry__panel {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: 38px 40px 40px;
    border: 2px solid var(--color-primary);
    border-radius: 24px;
    background: var(--theme-surface-raised);
}

.contact-enquiry__intro {
    margin-bottom: 30px;
}

.contact-enquiry__intro > p {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    margin: 0 0 18px;
    padding: 8px 20px;
    border-radius: 999px;
    color: var(--color-white);
    background: var(--color-yellow);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.035em;
    line-height: 1;
    text-transform: uppercase;
}

.contact-enquiry__intro h3 {
    margin: 0;
    color: var(--color-primary);
    font-family:
        "Trebuchet MS",
        "Arial Rounded MT Bold",
        Arial,
        sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.1;
}

.contact-enquiry__intro > span {
    display: block;
    margin-top: 10px;
    color: var(--theme-text-muted);
    font-size: 13px;
    line-height: 1.55;
}

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

.contact-form__field {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.contact-form__field--full {
    grid-column: 1 / -1;
}

.contact-form__field label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: var(--theme-text);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.025em;
    line-height: 1.2;
    text-transform: uppercase;
}

.contact-form__field label > span,
.contact-form__footer p > span {
    color: var(--color-red);
}

.contact-form__field label small {
    color: var(--theme-text-subtle);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
    width: 100%;
    border: 1px solid var(--theme-border);
    border-radius: 12px;
    color: var(--theme-text-muted);
    background: var(--theme-surface);
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.contact-form__field input,
.contact-form__field select {
    min-height: 50px;
    padding: 0 16px;
}

.contact-form__field textarea {
    min-height: 170px;
    padding: 15px 16px;
    resize: vertical;
}

.contact-form__help {
    display: block;
    margin-top: 7px;
    color: var(--theme-text-subtle);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.45;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
    color: var(--theme-text-subtle);
    opacity: 1;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--focus-ring-shadow);
}

.contact-form__field input:focus-visible,
.contact-form__field select:focus-visible,
.contact-form__field textarea:focus-visible {
    outline: 3px solid var(--color-yellow);
    outline-offset: 2px;
}

.contact-form__honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
}

.contact-form__footer p {
    margin: 0;
    color: var(--theme-text-muted);
    font-size: 12px;
    line-height: 1.5;
}

.contact-form__submit {
    width: 190px;
    min-height: 42px;
    border: 1px solid var(--color-red);
    color: var(--color-white);
    background: var(--color-red);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.025em;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.contact-form__submit:hover {
    border-color: var(--color-red);
    color: var(--color-red);
    background: var(--color-white);
    transform: translateY(-3px);
}

.contact-form__submit:focus-visible {
    outline: 3px solid var(--color-yellow);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .contact-form__field input,
    .contact-form__field select,
    .contact-form__field textarea,
    .contact-form__submit {
        transition: none;
    }

    .contact-form__submit:hover {
        transform: none;
    }
}

.contact-form__notice {
    margin: 0 0 26px;
    padding: 14px 16px;
    border: 1px solid var(--color-primary);
    border-radius: 12px;
    color: var(--theme-text-muted);
    background: var(--theme-surface-subtle);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
}

.contact-form__notice--info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-color: var(--color-red);
    background: var(--theme-surface);
}

.contact-form__notice--info::before {
    content: "*";
    flex: 0 0 auto;
    color: var(--color-red);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.contact-form__notice--error {
    border-color: var(--color-red);
    color: var(--color-red);
    background: var(--theme-surface);
}

/* Contact FAQ */
.contact-faq {
    position: relative;
    padding: 10px 0 82px;
    background: var(--theme-page-background);
}

.contact-faq__inner {
    width: min(100% - 56px, var(--page-width));
    margin: 0 auto;
}

.contact-faq__heading {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.contact-faq__heading > p {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    margin: 0 0 20px;
    padding: 9px 22px;
    border-radius: 999px;
    color: var(--color-white);
    background: var(--color-red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.035em;
    line-height: 1;
    text-transform: uppercase;
}

.contact-faq__heading h2 {
    margin: 0;
    color: var(--color-primary);
    font-family:
        "Trebuchet MS",
        "Arial Rounded MT Bold",
        Arial,
        sans-serif;
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.contact-faq__heading > span {
    display: block;
    max-width: 680px;
    margin: 14px auto 0;
    color: var(--theme-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.contact-faq__list {
    display: grid;
    width: min(100%, 980px);
    margin: 0 auto;
    gap: 16px;
}

.contact-faq__item {
    --faq-color: var(--color-primary);

    overflow: hidden;
    border: 2px solid var(--faq-color);
    border-radius: 18px;
    background: var(--theme-surface-raised);
    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.contact-faq__item--red {
    --faq-color: var(--color-red);
}

.contact-faq__item--blue {
    --faq-color: var(--color-primary);
}

.contact-faq__item--yellow {
    --faq-color: var(--color-yellow);
}

.contact-faq__item:hover {
    background: var(--theme-surface-subtle);
    transform: translateY(-2px);
}

.contact-faq__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
}

.contact-faq__summary::-webkit-details-marker {
    display: none;
}

.contact-faq__summary::marker {
    content: "";
}

.contact-faq__summary:focus-visible {
    outline: 3px solid var(--faq-color);
    outline-offset: -6px;
}

.contact-faq__question {
    color: var(--faq-color);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.contact-faq__toggle {
    position: relative;
    display: inline-flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--color-white);
    background: var(--faq-color);
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
}

.contact-faq__toggle::before {
    content: "+";
}

.contact-faq__item[open] .contact-faq__toggle::before {
    content: "−";
}

.contact-faq__answer {
    padding: 0 72px 20px 20px;
}

.contact-faq__answer p {
    margin: 0;
    color: var(--theme-text-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
    .contact-faq__item {
        transition: none;
    }

    .contact-faq__item:hover {
        transform: none;
    }
}

/* Final branch-support CTA */
.contact-branch-cta {
    position: relative;
    padding: 20px 0 82px;
    background: var(--theme-page-background);
}

.contact-branch-cta__inner {
    width: min(100% - 56px, var(--page-width));
    margin: 0 auto;
}

.contact-branch-cta__panel {
    position: relative;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
    gap: 42px;
    min-height: 250px;
    overflow: hidden;
    padding: 30px 46px;
    border-radius: 28px;
    color: var(--color-white);
    background: var(--color-primary);
    isolation: isolate;
}

.contact-branch-cta__visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    min-height: 180px;
    overflow: hidden;
    padding: 14px;
    border-radius: 22px;
    background: var(--color-white);
    isolation: isolate;
    transform: translateZ(0);
}

.contact-branch-cta__visual::before {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 0;
    color: var(--color-yellow);
    content: "★";
    font-size: 26px;
    line-height: 1;
    pointer-events: none;
    transform: rotate(10deg) translateZ(0);
}

.contact-branch-cta__visual::after {
    position: absolute;
    bottom: 12px;
    left: 14px;
    z-index: 0;
    width: 30px;
    height: 30px;
    border: 7px solid var(--color-pink);
    border-radius: 50%;
    content: "";
    pointer-events: none;
    transform: translateZ(0);
}

.contact-branch-cta__visual img {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 190px);
    height: auto;
}

.contact-branch-cta__content {
    position: relative;
    z-index: 1;
    width: min(100%, 680px);
}

.contact-branch-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 142px;
    margin: 0 0 18px;
    padding: 9px 22px;
    border-radius: 999px;
    color: var(--color-white);
    background: var(--color-red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.035em;
    line-height: 1;
    text-transform: uppercase;
}

.contact-branch-cta__title {
    margin: 0;
    color: var(--color-white);
    font-family:
        "Trebuchet MS",
        "Arial Rounded MT Bold",
        Arial,
        sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.contact-branch-cta__title strong {
    color: var(--color-yellow);
    font: inherit;
}

.contact-branch-cta__description {
    max-width: 610px;
    margin: 16px 0 0;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.contact-branch-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.contact-branch-cta__button {
    width: 180px;
    min-height: 40px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.contact-branch-cta__button--primary {
    border-color: var(--color-red);
    color: var(--color-white);
    background: var(--color-red);
}

.contact-branch-cta__button--secondary {
    border-color: var(--color-white);
    color: var(--color-primary);
    background: var(--color-white);
}

.contact-branch-cta__button--primary:hover {
    border-color: var(--color-white);
    color: var(--color-red);
    background: var(--color-white);
    transform: translateY(-3px);
}

.contact-branch-cta__button--secondary:hover {
    border-color: var(--color-yellow);
    color: var(--color-primary);
    background: var(--color-yellow);
    transform: translateY(-3px);
}

.contact-branch-cta__button:focus-visible {
    outline: 3px solid var(--color-yellow);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .contact-branch-cta__button {
        transition: none;
    }

    .contact-branch-cta__button:hover {
        transform: none;
    }
}

/* Contact hero artwork on tablet */
@media (min-width: 681px) and (max-width: 1100px) {
    .contact-hero__inner {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(320px, 0.78fr);
        gap: 18px;
    }

    .contact-hero__visual {
        min-height: 320px;
    }

    .contact-hero__artwork {
        transform:
            translate(-50%, -50%)
            scale(0.78);
    }
}

/* Contact mobile layout */
@media (max-width: 680px) {
    .contact-hero__inner,
    .contact-methods__inner,
    .contact-enquiry__inner,
    .contact-faq__inner,
    .contact-branch-cta__inner {
        width: min(100% - 32px, var(--page-width));
    }

    /* Mobile hero */
    .contact-hero__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        min-height: auto;
        padding: 42px 0 0;
        gap: 0;
    }

    .contact-hero__content {
        width: 100%;
        max-width: none;
    }

    .contact-hero__eyebrow {
        margin-bottom: 26px;
        padding: 8px 18px;
        font-size: 10px;
    }

    .contact-hero__title {
        width: 100%;
        max-width: none;
        font-size: clamp(38px, 12vw, 48px);
        line-height: 0.96;
    }

    .contact-hero__description {
        width: 100%;
        max-width: none;
        margin-top: 20px;
        font-size: 13px;
        line-height: 1.6;
    }

    .contact-hero__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        width: 100%;
        max-width: 220px;
        margin-top: 26px;
    }

    .contact-hero__button {
        width: 100%;
        min-width: 0;
        padding-right: 14px;
        padding-left: 14px;
        font-size: 10px;
    }

    .contact-hero__dots {
        gap: 10px;
        margin-top: 28px;
    }

    .contact-hero__dot {
        width: 9px;
        height: 9px;
    }

    .contact-hero__visual {
        width: 100%;
        min-height: 230px;
        margin-top: 26px;
    }

    .contact-hero__visual-stage {
        width: 100%;
        min-height: 230px;
    }

    .contact-hero__artwork {
        transform:
            translate(-50%, -50%)
            scale(0.58);
    }

    /* Mobile contact-method strip */
    .contact-methods {
        padding: 34px 0 40px;
    }

    .contact-methods__panel {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 18px;
    }

    .contact-method {
        min-height: 86px;
        padding: 18px 20px;
    }

    .contact-method + .contact-method::before {
        top: 0;
        right: 18px;
        bottom: auto;
        left: 18px;
        width: auto;
        height: 1px;
    }

    .contact-method__icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        margin-right: 16px;
    }

    .contact-method__icon svg {
        width: 23px;
        height: 23px;
    }

    .contact-method__content {
        gap: 6px;
    }

    .contact-method__label {
        font-size: 9px;
    }

    .contact-method__content strong {
        font-size: 13px;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    /* Mobile enquiry form */
    .contact-enquiry {
        padding: 42px 0 48px;
        scroll-margin-top: 68px;
    }

    .contact-enquiry__heading {
        margin-bottom: 30px;
    }

    .contact-enquiry__heading > p {
        min-width: 120px;
        margin-bottom: 18px;
        padding: 8px 18px;
        font-size: 9px;
    }

    .contact-enquiry__heading h2 {
        font-size: clamp(31px, 10vw, 39px);
    }

    .contact-enquiry__heading > span {
        margin-top: 14px;
        font-size: 13px;
        line-height: 1.6;
    }

    .contact-enquiry__panel {
        width: 100%;
        padding: 28px 20px 24px;
        border-radius: 20px;
    }

    .contact-enquiry__intro {
        margin-bottom: 24px;
    }

    .contact-enquiry__intro > p {
        min-width: 120px;
        margin-bottom: 16px;
        padding: 8px 16px;
        font-size: 9px;
    }

    .contact-enquiry__intro h3 {
        font-size: 28px;
    }

    .contact-enquiry__intro > span {
        font-size: 12px;
    }

    .contact-form__notice {
        margin-bottom: 24px;
        padding: 13px 14px;
        font-size: 12px;
    }

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

    .contact-form__field--full {
        grid-column: auto;
    }

    .contact-form__field label {
        margin-bottom: 8px;
        font-size: 10px;
    }

    .contact-form__field input,
    .contact-form__field select {
        min-height: 48px;
    }

    .contact-form__field textarea {
        min-height: 170px;
    }

    .contact-form__help {
        max-width: none;
        font-size: 9px;
    }

    .contact-form__footer {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
        margin-top: 24px;
    }

    .contact-form__footer p {
        font-size: 11px;
    }

    .contact-form__submit {
        width: 100%;
        min-height: 44px;
    }

    /* Mobile FAQ */
    .contact-faq {
        padding: 8px 0 54px;
    }

    .contact-faq__heading {
        margin-bottom: 28px;
    }

    .contact-faq__heading > p {
        min-width: 120px;
        margin-bottom: 18px;
        padding: 8px 18px;
        font-size: 9px;
    }

    .contact-faq__heading h2 {
        font-size: clamp(31px, 10vw, 39px);
    }

    .contact-faq__heading > span {
        font-size: 13px;
        line-height: 1.6;
    }

    .contact-faq__list {
        gap: 14px;
    }

    .contact-faq__item {
        border-radius: 16px;
    }

    .contact-faq__summary {
        gap: 14px;
        min-height: 66px;
        padding: 16px;
    }

    .contact-faq__question {
        min-width: 0;
        font-size: 14px;
        line-height: 1.45;
    }

    .contact-faq__toggle {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
        font-size: 18px;
    }

    .contact-faq__answer {
        padding: 0 16px 18px;
    }

    .contact-faq__answer p {
        font-size: 12px;
        line-height: 1.65;
    }

    /* Mobile final CTA */
    .contact-branch-cta {
        padding: 16px 0 56px;
    }

    .contact-branch-cta__panel {
        grid-template-columns: minmax(0, 1fr);
        min-height: auto;
        gap: 26px;
        padding: 26px 20px 30px;
        border-radius: 24px;
    }

    .contact-branch-cta__visual {
        width: min(100%, 220px);
        min-height: 180px;
        margin: 0 auto;
    }

    .contact-branch-cta__visual img {
        width: min(100%, 190px);
    }

    .contact-branch-cta__content {
        width: 100%;
        max-width: none;
        text-align: center;
    }

    .contact-branch-cta__eyebrow {
        min-width: 130px;
        margin-bottom: 18px;
        padding: 8px 18px;
        font-size: 9px;
    }

    .contact-branch-cta__title {
        font-size: clamp(31px, 10vw, 40px);
        line-height: 1;
    }

    .contact-branch-cta__description {
        max-width: none;
        margin-top: 14px;
        font-size: 13px;
        line-height: 1.6;
    }

    .contact-branch-cta__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        width: 100%;
        max-width: 220px;
        margin: 22px auto 0;
    }

    .contact-branch-cta__button {
        width: 100%;
        min-width: 0;
    }
}

/* Contact hero locked responsive composition
 *
 * IMPORTANT:
 * The internal 520x340 desktop artwork coordinates are locked.
 * Responsive layouts only scale/reposition the complete composition.
 */

/* Compact desktop / large tablets */
@media (min-width: 901px) and (max-width: 1100px) {
    .contact-hero__inner {
        width: min(100% - 48px, var(--page-width));
        min-height: 420px;
        padding: 30px 0 26px;
        grid-template-columns:
            minmax(0, 1fr)
            minmax(350px, 0.78fr);
        gap: 18px;
    }

    .contact-hero__content {
        max-width: 520px;
    }

    .contact-hero__visual {
        min-height: 310px;
    }

    .contact-hero__artwork {
        top: 50%;
        left: 50%;
        transform:
            translate(-50%, -50%)
            scale(0.74);
    }
}

/* Standard tablets */
@media (min-width: 681px) and (max-width: 900px) {
    .contact-hero__inner {
        width: min(100% - 40px, var(--page-width));
        min-height: 400px;
        padding: 32px 0 28px;
        grid-template-columns:
            minmax(0, 1fr)
            minmax(285px, 0.72fr);
        gap: 12px;
    }

    .contact-hero__content {
        max-width: 440px;
    }

    .contact-hero__eyebrow {
        margin-bottom: 24px;
    }

    .contact-hero__title {
        font-size: clamp(40px, 5.8vw, 50px);
    }

    .contact-hero__description {
        max-width: 430px;
        margin-top: 20px;
        font-size: 13px;
    }

    .contact-hero__actions {
        gap: 12px;
        margin-top: 24px;
    }

    .contact-hero__button {
        width: 170px;
    }

    .contact-hero__dots {
        margin-top: 26px;
    }

    .contact-hero__visual {
        min-height: 285px;
    }

    .contact-hero__artwork {
        top: 50%;
        left: 50%;
        transform:
            translate(-50%, -50%)
            scale(0.62);
    }
}

/* Mobile: complete artwork moves below the content */
@media (max-width: 680px) {
    .contact-hero__inner {
        display: block;
        width: min(100% - 32px, var(--page-width));
        min-height: 0;
        padding: 42px 0 28px;
    }

    .contact-hero__content {
        width: 100%;
        max-width: none;
    }

    .contact-hero__visual {
        position: relative;
        width: 100%;
        min-height: 230px;
        margin-top: 26px;
    }

    .contact-hero__visual-stage {
        position: absolute;
        inset: 0;
        width: 100%;
        min-height: 230px;
    }

    .contact-hero__artwork {
        top: 50%;
        left: 50%;
        transform:
            translate(-50%, -50%)
            scale(0.58);
    }
}

/* Narrow phones */
@media (max-width: 380px) {
    .contact-hero__visual,
    .contact-hero__visual-stage {
        min-height: 214px;
    }

    .contact-hero__artwork {
        transform:
            translate(-50%, -50%)
            scale(0.52);
    }
}

/* Very narrow phones */
@media (max-width: 340px) {
    .contact-hero__visual,
    .contact-hero__visual-stage {
        min-height: 202px;
    }

    .contact-hero__artwork {
        transform:
            translate(-50%, -50%)
            scale(0.49);
    }
}


/* Contact hero device-specific horizontal fit
 * Keep the approved desktop artwork locked.
 * Only nudge the complete composition left where tablet-width devices
 * are clipping on the right.
 */

/* iPad Mini and similar narrow tablets: stronger left nudge */
@media (min-width: 681px) and (max-width: 799px) {
    .contact-hero__artwork {
        left: 46%;
    }
}

/* iPad Air and similar mid tablets: lighter left nudge */
@media (min-width: 800px) and (max-width: 900px) {
    .contact-hero__artwork {
        left: 48%;
    }
}

/* Surface Pro 7 and similar compact desktop/tablet widths: stronger left nudge */
@media (min-width: 901px) and (max-width: 960px) {
    .contact-hero__artwork {
        left: 47%;
    }
}


/* iPad Mini: keep hero description clear of artwork */
@media (min-width: 681px) and (max-width: 799px) {
    .contact-hero__description {
        max-width: 360px;
    }
}


/* Contact hero Stage 12 interactions */

/* Keep the decorative-dot hover target limited to the dots themselves. */
.contact-hero__dots {
    width: fit-content;
}

/* Established deep-blue treatment on yellow secondary-button state. */
.contact-hero__button--secondary:hover,
.contact-hero__button--secondary:focus-visible {
    color:
        color-mix(
            in srgb,
            var(--color-primary) 50%,
            var(--color-text) 50%
        );
    border-color: var(--color-yellow);
    background: var(--color-yellow);
}

/* Standard button press-down response. */
.contact-hero__button:active {
    transform: translateY(1px) scale(0.98);
}

/* Five-dot travelling wave */
@keyframes contact-hero-dot-wave {
    0%,
    100% {
        transform: translateY(0);
    }

    22% {
        transform: translateY(-5px);
    }

    44% {
        transform: translateY(0);
    }

    66% {
        transform: translateY(3px);
    }

    84% {
        transform: translateY(0);
    }
}

@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
    .contact-hero__dots:hover .contact-hero__dot {
        animation:
            contact-hero-dot-wave
            720ms ease-in-out infinite;
    }

    .contact-hero__dots:hover
        .contact-hero__dot:nth-child(1) {
        animation-delay: 0ms;
    }

    .contact-hero__dots:hover
        .contact-hero__dot:nth-child(2) {
        animation-delay: 80ms;
    }

    .contact-hero__dots:hover
        .contact-hero__dot:nth-child(3) {
        animation-delay: 160ms;
    }

    .contact-hero__dots:hover
        .contact-hero__dot:nth-child(4) {
        animation-delay: 240ms;
    }

    .contact-hero__dots:hover
        .contact-hero__dot:nth-child(5) {
        animation-delay: 320ms;
    }

    /*
     * Enable hover targeting for the artwork area itself.
     * Internal artwork remains non-interactive.
     */
    .contact-hero__visual {
        pointer-events: auto;
    }

    .contact-hero__art-farhuda,
    .contact-hero__art-farhud,
    .contact-hero__art-mailbox,
    .contact-hero__art-paper-plane,
    .contact-hero__art-dot-line,
    .contact-hero__art-circle,
    .contact-hero__art-dot,
    .contact-hero__art-star,
    .contact-hero__art-shadow {
        transition:
            transform 340ms
            cubic-bezier(0.22, 1, 0.36, 1);
    }

    /*
     * Keep transform origins stable before, during, and after hover.
     * This prevents the return animation from snapping as the origin
     * changes while a transform is still interpolating.
     */
    .contact-hero__art-farhuda,
    .contact-hero__art-farhud,
    .contact-hero__art-mailbox {
        transform-origin: center bottom;
    }

    .contact-hero__art-paper-plane,
    .contact-hero__art-dot-line,
    .contact-hero__art-circle,
    .contact-hero__art-dot,
    .contact-hero__art-star,
    .contact-hero__art-shadow {
        transform-origin: center;
    }

    /* Farhuda leans outward from the mailbox. */
    .contact-hero__visual:hover
        .contact-hero__art-farhuda {
        transform:
            translateX(-5px)
            rotate(-3deg);
    }

    /*
     * Farhud already rests at rotate(5deg).
     * Preserve that direction and add only a little more movement.
     */
    .contact-hero__visual:hover
        .contact-hero__art-farhud {
        transform:
            translateX(5px)
            rotate(8deg);
    }

    /* Mailbox keeps its horizontal centering transform. */
    .contact-hero__visual:hover
        .contact-hero__art-mailbox {
        transform:
            translateX(-50%)
            translateY(-2px)
            rotate(2deg);
    }

    /* Plane continues its existing flight direction. */
    .contact-hero__visual:hover
        .contact-hero__art-paper-plane {
        transform:
            translate(6px, -7px)
            rotate(2deg);
    }

    .contact-hero__visual:hover
        .contact-hero__art-dot-line {
        transform:
            translate(2px, -2px);
    }

    /* Background circles gently separate outward. */
    .contact-hero__visual:hover
        .contact-hero__art-circle--white {
        transform:
            translate(-4px, -2px)
            scale(1.01);
    }

    .contact-hero__visual:hover
        .contact-hero__art-circle--pink {
        transform:
            translate(4px, -2px)
            scale(1.01);
    }

    /* Ground ellipse responds without changing its approved size. */
    .contact-hero__visual:hover
        .contact-hero__art-shadow {
        transform:
            translateX(-50%)
            scaleX(1.025);
    }

    /* Small artwork accents */
    .contact-hero__visual:hover
        .contact-hero__art-dot--yellow {
        transform: translate(-2px, 2px);
    }

    .contact-hero__visual:hover
        .contact-hero__art-dot--pink {
        transform: translate(2px, -3px);
    }

    .contact-hero__visual:hover
        .contact-hero__art-dot--white {
        transform: translate(2px, -3px);
    }

    .contact-hero__visual:hover
        .contact-hero__art-dot--blue {
        transform: translate(3px, 2px);
    }

    /* Preserve each star's approved resting rotation. */
    .contact-hero__visual:hover
        .contact-hero__art-star--yellow {
        transform:
            translate(-2px, -4px)
            rotate(14deg);
    }

    .contact-hero__visual:hover
        .contact-hero__art-star--red {
        transform:
            translate(3px, -2px)
            rotate(18deg);
    }
}

/* Reduced motion: keep all Contact hero interactions static. */
@media (prefers-reduced-motion: reduce) {
    .contact-hero__dot,
    .contact-hero__art-farhuda,
    .contact-hero__art-farhud,
    .contact-hero__art-mailbox,
    .contact-hero__art-paper-plane,
    .contact-hero__art-dot-line,
    .contact-hero__art-circle,
    .contact-hero__art-dot,
    .contact-hero__art-star,
    .contact-hero__art-shadow {
        animation: none;
        transition: none;
    }

    .contact-hero__button:active,
    .contact-hero__visual:hover
        .contact-hero__art-farhuda,
    .contact-hero__visual:hover
        .contact-hero__art-farhud,
    .contact-hero__visual:hover
        .contact-hero__art-mailbox,
    .contact-hero__visual:hover
        .contact-hero__art-paper-plane,
    .contact-hero__visual:hover
        .contact-hero__art-dot-line,
    .contact-hero__visual:hover
        .contact-hero__art-circle,
    .contact-hero__visual:hover
        .contact-hero__art-dot,
    .contact-hero__visual:hover
        .contact-hero__art-star {
        transform: none;
    }

    /*
     * The ellipse requires translateX(-50%) for its static centering,
     * so preserve that transform even with reduced motion.
     */
    .contact-hero__visual:hover
        .contact-hero__art-shadow {
        transform: translateX(-50%);
    }
}

/* Contact remainder Stage 12 interactions */

/* ---------------------------------------------------------
   Contact-method strip
   --------------------------------------------------------- */

.contact-method__icon,
.contact-method__icon svg {
    transition:
        transform 240ms
        cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
    .contact-method:hover,
    .contact-method:focus-visible {
        transform: translateY(-4px);
    }

    .contact-method:hover
        .contact-method__icon,
    .contact-method:focus-visible
        .contact-method__icon {
        transform:
            translateY(-3px)
            scale(1.07);
    }

    .contact-method:hover
        .contact-method__icon svg,
    .contact-method:focus-visible
        .contact-method__icon svg {
        transform: rotate(-6deg);
    }

    .contact-method:nth-child(2):hover
        .contact-method__icon svg,
    .contact-method:nth-child(2):focus-visible
        .contact-method__icon svg {
        transform: rotate(5deg);
    }
}

/* ---------------------------------------------------------
   Form interaction
   --------------------------------------------------------- */

.contact-form__field {
    position: relative;
    transition:
        transform 200ms
        cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-form__field:focus-within {
    z-index: 1;
    transform: translateY(-3px);
}

.contact-form__submit:active {
    transform:
        translateY(1px)
        scale(0.98);
}

/* ---------------------------------------------------------
   FAQ interaction
   --------------------------------------------------------- */

.contact-faq__toggle {
    transition:
        transform 240ms
        cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-faq__item[open]
    .contact-faq__toggle {
    transform:
        rotate(180deg)
        scale(1.05);
}

@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
    .contact-faq__item:hover {
        transform: translateY(-4px);
    }

    .contact-faq__item:hover
        .contact-faq__toggle {
        transform: scale(1.08);
    }

    .contact-faq__item[open]:hover
        .contact-faq__toggle {
        transform:
            rotate(180deg)
            scale(1.08);
    }
}

/* ---------------------------------------------------------
   Final branch CTA
   --------------------------------------------------------- */

.contact-branch-cta__visual,
.contact-branch-cta__visual::before,
.contact-branch-cta__visual::after,
.contact-branch-cta__visual img {
    transition:
        transform 300ms
            cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 300ms ease;
}

@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
    .contact-branch-cta__visual:hover {
        transform:
            translateY(-4px)
            translateZ(0);

        box-shadow:
            0 12px 26px
            color-mix(
                in srgb,
                var(--color-text) 9%,
                transparent
            );
    }

    .contact-branch-cta__visual:hover img {
        transform:
            translateY(-3px)
            scale(1.025);
    }

    .contact-branch-cta__visual:hover::before {
        transform:
            translate(3px, -4px)
            rotate(18deg)
            scale(1.08)
            translateZ(0);
    }

    .contact-branch-cta__visual:hover::after {
        transform:
            translate(-3px, 3px)
            scale(1.08)
            translateZ(0);
    }
}

/* Match Contact hero button language. */
.contact-branch-cta__button--primary:hover,
.contact-branch-cta__button--primary:focus-visible {
    border-color: var(--color-white);
    color: var(--color-red);
    background: var(--color-white);
    transform: translateY(-4px);
}

.contact-branch-cta__button--secondary:hover,
.contact-branch-cta__button--secondary:focus-visible {
    border-color: var(--color-yellow);

    color:
        color-mix(
            in srgb,
            var(--color-primary) 50%,
            var(--color-text) 50%
        );

    background: var(--color-yellow);
    transform: translateY(-4px);
}

.contact-branch-cta__button:active {
    transform:
        translateY(1px)
        scale(0.98);
}

/* ---------------------------------------------------------
   Desktop reveals
   --------------------------------------------------------- */

@media (min-width: 1101px) {
    .contact-hero__content.is-reveal-ready {
        opacity: 0;
        transform: translateX(-14px);
    }

    .contact-hero__visual.is-reveal-ready {
        opacity: 0;
        transform: translateX(14px);
    }

    .contact-methods__panel.is-reveal-ready,
    .contact-enquiry__heading.is-reveal-ready,
    .contact-enquiry__intro.is-reveal-ready,
    .contact-form__field.is-reveal-ready,
    .contact-form__footer.is-reveal-ready,
    .contact-faq__heading.is-reveal-ready,
    .contact-faq__item.is-reveal-ready,
    .contact-branch-cta__panel.is-reveal-ready {
        opacity: 0;
        transform: translateY(12px);
    }

    .contact-hero__content.is-revealed,
    .contact-hero__visual.is-revealed,
    .contact-methods__panel.is-revealed,
    .contact-enquiry__heading.is-revealed,
    .contact-enquiry__intro.is-revealed,
    .contact-form__field.is-revealed,
    .contact-form__footer.is-revealed,
    .contact-faq__heading.is-revealed,
    .contact-faq__item.is-revealed,
    .contact-branch-cta__panel.is-revealed {
        opacity: 1;
        transform: none;

        transition:
            opacity 440ms ease,
            transform 440ms
                cubic-bezier(
                    0.22,
                    1,
                    0.36,
                    1
                );
    }

    .contact-hero__visual.is-revealed {
        transition-delay: 70ms;
    }

    /*
     * These rules come after reveal-state transforms so active
     * interactions always win once a target has appeared.
     */
    .contact-form__field.is-revealed:focus-within {
        transform: translateY(-3px);
    }

    .contact-faq__item.is-revealed:hover {
        transform: translateY(-4px);
    }
}

/* ---------------------------------------------------------
   Tablet: simple fades
   --------------------------------------------------------- */

@media (min-width: 681px) and (max-width: 1100px) {
    .contact-hero__content.is-reveal-ready,
    .contact-hero__visual.is-reveal-ready,
    .contact-methods__panel.is-reveal-ready,
    .contact-enquiry__heading.is-reveal-ready,
    .contact-enquiry__intro.is-reveal-ready,
    .contact-form__field.is-reveal-ready,
    .contact-form__footer.is-reveal-ready,
    .contact-faq__heading.is-reveal-ready,
    .contact-faq__item.is-reveal-ready,
    .contact-branch-cta__panel.is-reveal-ready {
        opacity: 0;
        transition: opacity 420ms ease;
    }

    .contact-hero__content.is-revealed,
    .contact-hero__visual.is-revealed,
    .contact-methods__panel.is-revealed,
    .contact-enquiry__heading.is-revealed,
    .contact-enquiry__intro.is-revealed,
    .contact-form__field.is-revealed,
    .contact-form__footer.is-revealed,
    .contact-faq__heading.is-revealed,
    .contact-faq__item.is-revealed,
    .contact-branch-cta__panel.is-revealed {
        opacity: 1;
    }
}

/* ---------------------------------------------------------
   Mobile: simple fades
   --------------------------------------------------------- */

@media (max-width: 680px) {
    .contact-hero__content.is-reveal-ready,
    .contact-hero__visual.is-reveal-ready,
    .contact-methods__panel.is-reveal-ready,
    .contact-enquiry__heading.is-reveal-ready,
    .contact-enquiry__intro.is-reveal-ready,
    .contact-form__field.is-reveal-ready,
    .contact-form__footer.is-reveal-ready,
    .contact-faq__heading.is-reveal-ready,
    .contact-faq__item.is-reveal-ready,
    .contact-branch-cta__panel.is-reveal-ready {
        opacity: 0;
        transition: opacity 360ms ease;
    }

    .contact-hero__content.is-revealed,
    .contact-hero__visual.is-revealed,
    .contact-methods__panel.is-revealed,
    .contact-enquiry__heading.is-revealed,
    .contact-enquiry__intro.is-revealed,
    .contact-form__field.is-revealed,
    .contact-form__footer.is-revealed,
    .contact-faq__heading.is-revealed,
    .contact-faq__item.is-revealed,
    .contact-branch-cta__panel.is-revealed {
        opacity: 1;
    }
}

/* ---------------------------------------------------------
   Reduced motion
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .contact-method,
    .contact-method__icon,
    .contact-method__icon svg,
    .contact-form__field,
    .contact-form__submit,
    .contact-faq__item,
    .contact-faq__toggle,
    .contact-branch-cta__visual,
    .contact-branch-cta__visual::before,
    .contact-branch-cta__visual::after,
    .contact-branch-cta__visual img,
    .contact-branch-cta__button {
        transition: none;
    }

    .contact-hero__content.is-reveal-ready,
    .contact-hero__content.is-revealed,
    .contact-hero__visual.is-reveal-ready,
    .contact-hero__visual.is-revealed,
    .contact-methods__panel.is-reveal-ready,
    .contact-methods__panel.is-revealed,
    .contact-enquiry__heading.is-reveal-ready,
    .contact-enquiry__heading.is-revealed,
    .contact-enquiry__intro.is-reveal-ready,
    .contact-enquiry__intro.is-revealed,
    .contact-form__field.is-reveal-ready,
    .contact-form__field.is-revealed,
    .contact-form__footer.is-reveal-ready,
    .contact-form__footer.is-revealed,
    .contact-faq__heading.is-reveal-ready,
    .contact-faq__heading.is-revealed,
    .contact-faq__item.is-reveal-ready,
    .contact-faq__item.is-revealed,
    .contact-branch-cta__panel.is-reveal-ready,
    .contact-branch-cta__panel.is-revealed,
    .contact-method:hover,
    .contact-method:focus-visible,
    .contact-method:hover
        .contact-method__icon,
    .contact-method:focus-visible
        .contact-method__icon,
    .contact-method:hover
        .contact-method__icon svg,
    .contact-method:focus-visible
        .contact-method__icon svg,
    .contact-form__field:focus-within,
    .contact-form__submit:active,
    .contact-faq__item:hover,
    .contact-faq__toggle,
    .contact-faq__item[open]
        .contact-faq__toggle,
    .contact-branch-cta__visual:hover,
    .contact-branch-cta__visual:hover::before,
    .contact-branch-cta__visual:hover::after,
    .contact-branch-cta__visual:hover img,
    .contact-branch-cta__button:hover,
    .contact-branch-cta__button:focus-visible,
    .contact-branch-cta__button:active {
        opacity: 1;
        transform: none;
    }

    /*
     * Preserve the existing compositing transform on the CTA
     * visual rather than introducing motion.
     */
    .contact-branch-cta__visual {
        transform: translateZ(0);
    }
}

/* Stage 14 Arabic Contact */
html[dir="rtl"] .contact-hero__eyebrow,
html[dir="rtl"] .contact-enquiry__heading > p,
html[dir="rtl"] .contact-enquiry__intro > p,
html[dir="rtl"] .contact-faq__heading > p,
html[dir="rtl"] .contact-branch-cta__eyebrow {
    font-size: var(--arabic-text-eyebrow);
    font-weight: var(--arabic-weight-label);
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
}

html[dir="rtl"] .contact-hero__title,
html[dir="rtl"] .contact-enquiry__heading h2,
html[dir="rtl"] .contact-enquiry__intro h3,
html[dir="rtl"] .contact-faq__heading h2,
html[dir="rtl"] .contact-branch-cta__title {
    font-family: inherit;
    line-height: 1.3;
    letter-spacing: 0;
}

html[dir="rtl"] .contact-hero__description,
html[dir="rtl"] .contact-branch-cta__description,
html[dir="rtl"] .contact-faq__answer p {
    font-size: var(--arabic-text-body);
    font-weight: var(--arabic-weight-body);
    line-height: var(--arabic-line-body);
    letter-spacing: 0;
}

html[dir="rtl"] .contact-enquiry__heading > span,
html[dir="rtl"] .contact-enquiry__intro > span,
html[dir="rtl"] .contact-faq__heading > span {
    font-size: var(--arabic-text-supporting);
    font-weight: var(--arabic-weight-body);
    line-height: var(--arabic-line-supporting);
    letter-spacing: 0;
}

html[dir="rtl"] .contact-hero__button,
html[dir="rtl"] .contact-form__submit,
html[dir="rtl"] .contact-branch-cta__button {
    font-size: calc(var(--arabic-text-button) + 2px);
    font-weight: var(--arabic-weight-label);
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
}

html[dir="rtl"] .contact-method__label {
    font-size: var(--arabic-text-meta);
    font-weight: var(--arabic-weight-label);
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
}

html[dir="rtl"] .contact-method__content strong {
    font-size: var(--arabic-text-supporting);
    font-weight: var(--arabic-weight-label);
    line-height: 1.5;
}

html[dir="rtl"] .contact-form label,
html[dir="rtl"] .contact-form__help,
html[dir="rtl"] .contact-form__footer p {
    font-size: var(--arabic-text-supporting);
    line-height: var(--arabic-line-supporting);
    letter-spacing: 0;
}

html[dir="rtl"] .contact-faq__question {
    font-size: var(--arabic-text-card-heading);
    font-weight: var(--arabic-weight-label);
    line-height: 1.5;
    letter-spacing: 0;
}

/* Arabic desktop/tablet Contact strip */
@media (min-width: 681px) {
    html[dir="rtl"]
        .contact-method
        + .contact-method::before {
        right: 0;
        left: auto;
    }
}

html[dir="rtl"] .contact-method__icon {
    margin-right: 0;
    margin-left: 24px;
}

html[dir="rtl"] .contact-method--red .contact-method__content strong,
html[dir="rtl"] .contact-method--yellow .contact-method__content strong {
    direction: ltr;
    unicode-bidi: isolate;
}

html[dir="rtl"] .contact-form input[type="tel"],
html[dir="rtl"] .contact-form input[type="email"] {
    direction: ltr;
    text-align: left;
    unicode-bidi: isolate;
}

@media (max-width: 680px) {
    html[dir="rtl"] .contact-method__icon {
        margin-right: 0;
        margin-left: 18px;
    }

    html[dir="rtl"]
        .contact-method
        + .contact-method::before {
        top: 0;
        right: 18px;
        bottom: auto;
        left: 18px;
        width: auto;
        height: 1px;
    }
}

/* Stage 14 Arabic Contact readability refinements */
html[dir="rtl"] .contact-method__label {
    font-size: calc(var(--arabic-text-meta) + 2px);
}

html[dir="rtl"] .contact-form label small {
    font-size: calc(var(--arabic-text-meta) + 1px);
    font-weight: var(--arabic-weight-body);
    line-height: 1.5;
}

/*
 * Increase faded Arabic form prompts while leaving the phone-number
 * placeholder at its existing size.
 */
html[dir="rtl"]
    .contact-form input:not([type="tel"])::placeholder,
html[dir="rtl"] .contact-form textarea::placeholder {
    font-size: calc(var(--arabic-text-meta) + 1px);
}

html[dir="rtl"] .contact-form select {
    font-size: calc(var(--arabic-text-meta) + 1px);
}

/* Match the phone helper to the existing phone placeholder scale. */
html[dir="rtl"] .contact-form__help {
    font-size: var(--arabic-text-meta);
    font-weight: var(--arabic-weight-body);
    line-height: 1.6;
}

html[dir="rtl"] .contact-form__help bdi {
    white-space: nowrap;
}

/* Stage 14 Arabic Contact tablet Hero positioning */
@media (min-width: 681px) and (max-width: 839px) {
    html[dir="rtl"] .contact-hero__visual {
        translate: 34px 0;
    }
}

@media (min-width: 840px) and (max-width: 899px) {
    html[dir="rtl"] .contact-hero__visual {
        translate: 18px 0;
    }
}

@media (min-width: 900px) and (max-width: 960px) {
    html[dir="rtl"] .contact-hero__visual {
        translate: 28px 0;
    }
}
