/* ==================================================
   CONTACT US HERO
   Left content / full-bleed reception photo
================================================== */

.cs-contact-fade {
    --contact-surface: #f9f8f6;
    --contact-surface-rgb: 249 248 246;
    --contact-blue: var(--cs-primary, #0870af);
    --contact-deep-blue: var(--cs-primary-dark, #065a8c);
    --contact-cyan: #159dd3;
    --contact-photo-start: 42%;
    --contact-photo-position: 78% center;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--contact-surface);
    border-bottom: 1px solid #eae5de;
}

/* Content uses the existing Bootstrap container and columns. */
.cs-contact-fade__inner {
    position: relative;
    z-index: 1;
}

.cs-contact-fade__content {
    padding-block: clamp(44px, 5vw, 80px);
}

.cs-contact-fade .cs-eyebrow__text {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.cs-contact-fade .cs-eyebrow__text::after {
    content: "";
    flex: 0 0 34px;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--contact-blue),
        var(--contact-cyan)
    );
}

.cs-contact-fade__copy {
    max-width: 52ch;
    margin-block: 14px 24px;
}

.cs-contact-fade__copy p {
    margin: 0;
}

.cs-contact-fade__copy p + p {
    margin-top: 8px;
}

/* Full-bleed photo with a soft left-to-right blend. */
.cs-contact-fade__media {
    position: absolute;
    inset: 0 0 0 var(--contact-photo-start);
}

.cs-contact-fade__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--contact-photo-position);
}

.cs-contact-fade__media::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(
        to right,
        var(--contact-surface) 0%,
        var(--contact-surface) 9%,
        rgb(var(--contact-surface-rgb) / 82%) 19%,
        rgb(var(--contact-surface-rgb) / 34%) 30%,
        transparent 42%
    );
}

/* Channelsoftech consultation button. */
.cs-contact-fade .cs-btn.cs-contact-fade__cta {
    border-color: transparent;
    background: linear-gradient(
        135deg,
        var(--contact-blue),
        var(--contact-deep-blue)
    );
    box-shadow: 0 8px 20px rgb(8 112 175 / 22%);
    color: #fff;
}

.cs-contact-fade .cs-btn.cs-contact-fade__cta:hover {
    background: linear-gradient(
        135deg,
        var(--contact-deep-blue),
        #04446b
    );
    box-shadow: 0 10px 24px rgb(8 112 175 / 30%);
    color: #fff;
}

.cs-contact-fade .cs-btn.cs-contact-fade__cta:focus-visible {
    outline: 3px solid var(--contact-blue);
    outline-offset: 4px;
}

/* Keep the enquiry heading below the sticky header after clicking the CTA. */
#consultation-reference-title {
    scroll-margin-top: 110px;
}

/* Tablet and mobile use a stacked layout with a vertical photo fade. */
@media (max-width: 991.98px) {
    .cs-contact-fade {
        display: flex;
        flex-direction: column;
    }

    .cs-contact-fade__content {
        padding-block: 38px 24px;
    }

    .cs-contact-fade__media {
        position: relative;
        inset: auto;
        order: 1;
        height: clamp(220px, 46vw, 340px);
    }

    .cs-contact-fade__media img {
        object-position: right center;
    }

    .cs-contact-fade__media::after {
        background: linear-gradient(
            to bottom,
            var(--contact-surface) 0%,
            rgb(var(--contact-surface-rgb) / 55%) 10%,
            transparent 26%
        );
    }
}

@media (max-width: 575.98px) {
    .cs-contact-fade__content {
        padding-block: 32px 20px;
    }

    .cs-contact-fade__media {
        height: clamp(200px, 58vw, 280px);
    }
}

/* ==================================================
   CONTACT PAGE — HOW CAN WE HELP (DEPARTMENTS)
   Fonts use the shared tokens from common.css;
   buttons use .cs-btn from buttons.css.
================================================== */

.cs-help {
    --help-ink: var(--cs-c-title, #393939);
    --help-text: var(--cs-c-text, #73777a);
    --help-line: #dfe7ef;

    padding-block: var(--cs-section-y, 60px);
    background:
        radial-gradient(ellipse at 0% 100%, #fff0e0, transparent 32%),
        linear-gradient(105deg, #f9fbfe, #edf5fc 44%);
}

.cs-help,
.cs-help * {
    box-sizing: border-box;
}

.cs-help > .container > .cs-section-head {
    max-width: 850px;
    margin: 0 auto var(--cs-head-gap, 40px);
    text-align: center;
}

.cs-help .cs-section-head .cs-subtext {
    margin: 14px auto 0;
    max-width: 76ch;
}

/* Four equal desktop columns */
.cs-help__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

/* Category bars */
.cs-help__category {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 15px;
}

.cs-help__category--new {
    grid-column: 1;
    background: linear-gradient(115deg, #e9f9ed, #d9f0e2);
    border-color: #cee9d6;
    color: #176330;
}

.cs-help__category--existing {
    grid-column: 2 / -1;
    background: linear-gradient(115deg, #e5f0ff, #d5e6fc);
    border-color: #ccdef5;
    color: #144f96;
}

.cs-help__category > i {
    font-size: 29px;
    line-height: 1;
}

.cs-help__category h3 {
    margin: 0;
    color: inherit;
    font-size: var(--cs-fs-card-title);
    font-weight: 700;
    line-height: 1.25;
}

.cs-help__category p {
    margin: 4px 0 0;
    color: inherit;
    font-size: var(--cs-fs-label);
    line-height: 1.4;
}

/* Department cards */
.cs-help-card {
    --contact-color: #167037;
    --contact-tint: #e8f7e9;
    --contact-edge: #d0e9d6;

    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(15px, 1.6vw, 21px);
    overflow: hidden;
    border: 1px solid #e1e8ef;
    border-radius: 21px;
    background: linear-gradient(150deg, #fff 65%, #fafcfe);
    box-shadow:
        0 16px 30px -19px rgba(24, 55, 85, .30),
        0 3px 7px rgba(24, 55, 85, .045);
}

.cs-help-card--projects {
    --contact-color: #0b57c6;
    --contact-tint: #e8f0ff;
    --contact-edge: #d2e1fb;
}

.cs-help-card--support {
    --contact-color: #087b77;
    --contact-tint: #e0f7f3;
    --contact-edge: #c4eae5;
}

.cs-help-card--accounts {
    --contact-color: #a65009;
    --contact-tint: #fff0df;
    --contact-edge: #f3ddc4;
}

/* Curved colour accent in the top-right corner */
.cs-help-card::before {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 65px;
    height: 65px;
    background: var(--contact-color);
    border-bottom-left-radius: 100%;
    opacity: .15;
    pointer-events: none;
    content: "";
}

.cs-help-card__icon {
    display: grid;
    width: 53px;
    height: 53px;
    margin-bottom: 14px;
    place-items: center;
    border: 1px solid var(--contact-edge);
    border-radius: 15px;
    background: linear-gradient(145deg, #fff, var(--contact-tint));
    color: var(--contact-color);
    font-size: 25px;
    line-height: 1;
}

.cs-help .cs-help-card h4 {
    margin: 0 0 8px;
    color: var(--help-ink);
    font-size: var(--cs-fs-card-title);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.01em;
}

.cs-help-card__description {
    margin: 0 0 20px;
    color: var(--help-text);
    font-size: var(--cs-fs-subtext);
    line-height: 1.6;
}

/* Contacts align at the bottom of every card */
.cs-help-card__contacts {
    margin-top: auto;
}

.cs-help-contact {
    padding-top: 15px;
    border-top: 1px solid var(--help-line);
}

.cs-help-contact + .cs-help-contact {
    margin-top: 14px;
}

.cs-help-contact__person {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.cs-help-contact__avatar {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: #eff3f7;
    color: #3b5369;
    font-size: 22px;
    line-height: 1;
}

.cs-help-contact__person > div {
    min-width: 0;
}

.cs-help .cs-help-contact h5 {
    margin: 0;
    color: var(--help-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.cs-help-contact__person p {
    margin: 3px 0 0;
    color: var(--help-text);
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

/* Call / WhatsApp — shared .cs-btn (sm), sized to fit narrow cards */
.cs-help-contact__actions {
    display: flex;
    /*flex-wrap: wrap;*/
    gap: 8px;
    margin-top: 12px;
}

.cs-help-contact__actions .cs-btn {
    --cs-btn-pad-x: 13px;
    --cs-btn-gap: 5px;
    flex: 1 1 96px;
    /* never narrower than the label: .cs-btn hides overflow, which would
       otherwise let flexbox squeeze it and clip "WhatsApp". When both
       don't fit side by side, they stack as two full-width buttons. */
    min-width: max-content;
    min-height: 40px;
    padding-block: 8px;
    font-size: 12.5px;
}

.cs-help a:focus-visible {
    outline: 3px solid var(--cs-btn-ring, #159dd3);
    outline-offset: 3px;
}

/* Message strip */
.cs-help__message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 28px;
    padding: clamp(22px, 3vw, 35px);
    border: 1px solid #d8eae2;
    border-radius: 22px;
    background: linear-gradient(110deg, #edf9f3, #fafffc 50%, #e7f5ef);
}

.cs-help__message-icon {
    display: grid;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid #d4e9dc;
    border-radius: 16px;
    background: #fff;
    color: #176330;
    font-size: 29px;
    line-height: 1;
}

.cs-help .cs-help__message h3 {
    margin: 0 0 6px;
    color: #17482c;
    font-size: var(--cs-fs-card-title);
    font-weight: 700;
    line-height: 1.25;
}

.cs-help__message p {
    max-width: 82ch;
    margin: 0;
    color: var(--help-text);
    font-size: var(--cs-fs-subtext);
    line-height: 1.7;
}

/* Tablet: New Enquiries + Sales first, then Existing Customers + support cards. */
@media (max-width: 991.98px) {
    .cs-help__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .cs-help__category--new {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .cs-help-card--sales {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .cs-help-card--sales .cs-help-card__contacts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .cs-help-card--sales .cs-help-contact + .cs-help-contact {
        margin-top: 0;
    }

    .cs-help__category--existing {
        grid-column: 1 / -1;
        grid-row: 3;
    }
}

@media (max-width: 575.98px) {
    .cs-help__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
    }

    .cs-help-card--sales .cs-help-card__contacts {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .cs-help-card {
        padding: 21px;
        border-radius: 18px;
    }

    .cs-help__message {
        flex-direction: column;
        gap: 13px;
        text-align: center;
    }
}


/* ==================================================
   CONTACT PAGE — ENQUIRY, DIRECT CONTACT, NEXT STEPS
================================================== */

.cs-enquiry-section {
    --enquiry-blue: var(--cs-primary, #0870af);
    --enquiry-deep: var(--cs-primary-dark, #065a8c);
    --enquiry-cyan: #159dd3;
    --enquiry-ink: #142c41;
    --enquiry-text: #43576a;
    --enquiry-border: #c5d8e6;
    --enquiry-radius: 24px;
    --enquiry-padding: clamp(20px, 2.8vw, 36px);

    padding-block: clamp(38px, 6vw, 80px);
    background: linear-gradient(180deg, #f5fcff 0%, #e8f8fd 55%, #eefaff 100%);
    color: var(--enquiry-ink);
}

.cs-enquiry-section #consultation-reference-title {
    scroll-margin-top: 110px;
}

.cs-enquiry-card,
.cs-enquiry-direct,
.cs-enquiry-next {
    min-width: 0;
    padding: var(--enquiry-padding);
    border-radius: var(--enquiry-radius);
}

.cs-enquiry-card {
    height: 100%;
    border: 1px solid #d4e6ef;
    background: #fff;
    box-shadow: 0 16px 38px rgb(12 78 113 / 10%);
}

.cs-enquiry-card__heading::before,
.cs-enquiry-next > .cs-title::after {
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--enquiry-blue), var(--enquiry-cyan));
    content: "";
}

.cs-enquiry-card__heading::before {
    margin-bottom: 16px;
}

.cs-enquiry-card__heading .cs-title,
.cs-enquiry-next .cs-title {
    margin: 0;
}

.cs-enquiry-card__heading p {
    max-width: 66ch;
    margin: 10px 0 0;
    color: var(--enquiry-text);
    line-height: 1.6;
}

/* Outlined fields with labels on the top border */
.cs-enquiry-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
    margin-top: 26px;
}

.cs-enquiry-fields__wide {
    grid-column: 1 / -1;
}

.cs-enquiry-field {
    position: relative;
    min-width: 0;
}

.cs-enquiry-field > label {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 11px;
    max-width: calc(100% - 22px);
    padding: 0 6px;
    background: #fff;
    color: var(--enquiry-ink);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    transform: translateY(-50%);
}

.cs-enquiry-field > label small {
    color: var(--enquiry-text);
    font-size: 0.92em;
    font-weight: 500;
}

.cs-enquiry-field > label > span,
.cs-enquiry-method > legend > span {
    color: var(--enquiry-blue);
}

.cs-enquiry-field > i {
    position: absolute;
    top: 18px;
    left: 14px;
    width: 18px;
    color: var(--enquiry-blue);
    font-size: 1rem;
    text-align: center;
    pointer-events: none;
}

.cs-enquiry-section .cs-enquiry-field > :is(input, textarea) {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 15px 12px 12px 41px;
    border: 1px solid var(--enquiry-border);
    border-radius: 11px;
    background: #fff;
    color: var(--enquiry-ink);
    font: inherit;
    font-size: 0.95rem;
    line-height: 1.45;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.cs-enquiry-field > :is(input, textarea)::placeholder {
    color: #61778a;
    opacity: 1;
}

.cs-enquiry-section .cs-enquiry-field > textarea {
    min-height: 114px;
    resize: vertical;
}

.cs-enquiry-section .cs-enquiry-field > :is(input, textarea):hover {
    border-color: #8ab6d0;
}

.cs-enquiry-section .cs-enquiry-field > :is(input, textarea):focus {
    border-color: var(--enquiry-blue);
    outline: 2px solid transparent;
    box-shadow: 0 0 0 3px rgb(8 112 175 / 15%);
}

.cs-enquiry-field:focus-within > label {
    color: var(--enquiry-deep);
}

/* Preferred contact method */
.cs-enquiry-method {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.cs-enquiry-method > legend {
    float: none;
    width: auto;
    margin: 0 0 8px;
    padding: 0;
    color: var(--enquiry-ink);
    font-size: 0.9rem;
    font-weight: 700;
}

.cs-enquiry-method__options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.cs-enquiry-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 48px;
    padding: 8px;
    border: 1px solid var(--enquiry-border);
    border-radius: 10px;
    background: #fff;
    color: var(--enquiry-ink);
    font-size: 0.87rem;
    font-weight: 650;
    cursor: pointer;
}

.cs-enquiry-option > input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--enquiry-blue);
    cursor: pointer;
}

.cs-enquiry-option > i {
    color: var(--enquiry-blue);
}

.cs-enquiry-option:hover,
.cs-enquiry-option:has(input:checked) {
    border-color: var(--enquiry-blue);
    background: #eaf8fd;
}

.cs-enquiry-option:has(input:focus-visible) {
    outline: 2px solid var(--enquiry-blue);
    outline-offset: 3px;
}

/* Submit button and privacy note */
.cs-enquiry-section .cs-btn.cs-enquiry-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    margin-top: 20px;
    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--enquiry-blue), var(--enquiry-deep));
    box-shadow: 0 8px 18px rgb(8 112 175 / 19%);
    color: #fff;
    text-align: center;
}

.cs-enquiry-section .cs-btn.cs-enquiry-submit:hover {
    background: linear-gradient(135deg, var(--enquiry-deep), #04446b);
    color: #fff;
}

.cs-enquiry-privacy {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 7px;
    margin: 12px 0 0;
    color: var(--enquiry-text);
    font-size: 0.82rem;
    text-align: center;
}

.cs-enquiry-privacy > i {
    color: var(--enquiry-blue);
}

/* Right column */
.cs-enquiry-side {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 20px;
    height: 100%;
}

.cs-enquiry-direct {
    background:
        radial-gradient(ellipse at top left, rgb(21 157 211 / 38%), transparent 65%),
        linear-gradient(145deg, #076b9f, #06446e);
    box-shadow: 0 12px 28px rgb(6 90 140 / 15%);
    color: #fff;
}

.cs-enquiry-direct__intro {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.cs-enquiry-direct__icon,
.cs-enquiry-step__icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    font-size: 1.22rem;
}

.cs-enquiry-direct__icon {
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 15px;
    background: rgb(255 255 255 / 13%);
    color: #fff;
}

.cs-enquiry-direct h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.3rem, 2.05vw, 1.8rem);
    line-height: 1.2;
}

.cs-enquiry-direct p {
    margin: 8px 0 0;
    color: #effaff;
    line-height: 1.55;
}

.cs-enquiry-direct__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.cs-enquiry-direct__actions .cs-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 9px 8px;
    border: 1px solid #fff;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

.cs-enquiry-direct__actions .cs-btn:hover {
    background: #e0f5fc;
    color: #06446e;
}

.cs-enquiry-section .cs-btn:focus-visible {
    outline: 3px solid var(--enquiry-blue);
    outline-offset: 3px;
}

.cs-enquiry-direct__actions .cs-btn:focus-visible {
    outline-color: #fff;
}

/* Connected steps */
.cs-enquiry-next {
    border: 1px solid #a8d9ec;
    background: linear-gradient(155deg, #f7fdff, #e9f8fd);
}

/* Desktop: keep "What Happens Next?" in view while the form scrolls.
   The side column stays full height (row stretch), so the panel can slide
   down it and stops at the bottom of the form card. */
@media (min-width: 992px) {
    .cs-enquiry-side {
        align-items: start;
    }

    .cs-enquiry-next {
        position: sticky;
        top: var(--enquiry-sticky-top, 130px);
        z-index: 1;
    }
}

.cs-enquiry-next > .cs-title {
    margin-top: 8px;
}

.cs-enquiry-next > .cs-title::after {
    margin-top: 13px;
}

.cs-enquiry-steps {
    position: relative;
    display: grid;
    gap: 20px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.cs-enquiry-steps::before {
    position: absolute;
    top: 26px;
    bottom: 26px;
    left: 25px;
    width: 2px;
    background: linear-gradient(180deg, #90d4ee, var(--enquiry-cyan));
    content: "";
}

.cs-enquiry-steps > li {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    min-height: 52px;
}

.cs-enquiry-step__icon {
    border: 2px solid #fff;
    border-radius: 50%;
    background: #d7f2fc;
    color: var(--enquiry-blue);
}

.cs-enquiry-steps h3 {
    margin: 3px 0 4px;
    color: var(--enquiry-ink);
    font-size: 1.03rem;
    font-weight: 750;
    line-height: 1.25;
}

.cs-enquiry-steps h3 span {
    color: var(--enquiry-blue);
}

.cs-enquiry-steps p {
    margin: 0;
    color: var(--enquiry-text);
    line-height: 1.5;
}

/* End the connecting line at the centre of the last icon. */
.cs-enquiry-steps > li:last-child {
    background: linear-gradient(
        to bottom,
        transparent 26px,
        #edf9fe 26px
    ) left top / 52px 100% no-repeat;
}

@media (max-width: 575.98px) {
    .cs-enquiry-fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .cs-enquiry-method__options {
        grid-template-columns: minmax(0, 1fr);
    }

    .cs-enquiry-option {
        justify-content: flex-start;
        padding-inline: 12px;
    }
}

@media (max-width: 359.98px) {
    .cs-enquiry-direct__actions {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cs-enquiry-section .cs-enquiry-field > :is(input, textarea) {
        transition: none;
    }
}

/* 01. Share Your Requirements — light blue */
.cs-enquiry-steps > li:nth-child(1) .cs-enquiry-step__icon {
    background: #dceffc;
    color: #0870af;
}

/* 02. Connect With Our Team — light mint */
.cs-enquiry-steps > li:nth-child(2) .cs-enquiry-step__icon {
    background: #dff5ee;
    color: #14715c;
}

/* 03. Plan Your Next Steps — light gold */
.cs-enquiry-steps > li:nth-child(3) .cs-enquiry-step__icon {
    background: #fff1d8;
    color: #8a5b12;
}

/* ==================================================
   CONTACT PAGE — OFFICE LOCATION
================================================== */

.cs-office {
    --office-blue: var(--cs-primary, #0870af);
    --office-deep: var(--cs-primary-dark, #065a8c);
    --office-cyan: #159dd3;
    --office-ink: #163047;
    --office-text: #465c70;
    --office-border: #d5e7ef;
    --office-radius: 24px;
    --office-gap: clamp(18px, 2.5vw, 32px);
    --office-padding: clamp(22px, 3vw, 38px);

    padding-block: clamp(40px, 6vw, 80px);
    background: linear-gradient(180deg, #f8fdff, #edf8fd 54%, #e9f6fc);
    color: var(--office-ink);
    scroll-margin-top: 110px;
}

/* Centred section heading */
.cs-office__heading {
    margin-bottom: clamp(24px, 4vw, 40px);
    text-align: center;
}

.cs-office__heading .cs-eyebrow {
    justify-content: center;
}

.cs-office__heading .cs-title {
    margin: 8px 0;
}

.cs-office__heading > p {
    margin: 0;
    color: var(--office-text);
    line-height: 1.6;
}

/* Desktop columns */
.cs-office__locator {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: stretch;
    gap: var(--office-gap);
}

.cs-office__contact,
.cs-office__nearby {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: var(--office-padding);
    border-radius: var(--office-radius);
}

/* Left — blue contact panel */
.cs-office__contact {
    background:
        radial-gradient(ellipse at top right, rgb(21 157 211 / 32%), transparent 65%),
        linear-gradient(155deg, #075988, #073552);
    box-shadow: 0 16px 34px rgb(6 90 140 / 17%);
    color: #fff;
}

.cs-office__contact > h3,
.cs-office__nearby > h3 {
    margin: 0 0 20px;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.25;
}

.cs-office__contact > h3 {
    color: #fff;
}

.cs-office__details,
.cs-office__landmarks {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cs-office__details {
    margin-bottom: 24px;
}

.cs-office__details > li,
.cs-office__landmarks > li {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
}

.cs-office__details > li {
    align-items: start;
}

.cs-office__details > li + li {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgb(255 255 255 / 20%);
}

.cs-office__icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 12px;
    font-size: 1.05rem;
}

.cs-office__details .cs-office__icon {
    border: 1px solid rgb(255 255 255 / 22%);
    background: rgb(255 255 255 / 12%);
    color: #fff;
}

.cs-office__label {
    display: block;
    margin-bottom: 4px;
    color: #c4eaf8;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.cs-office__details address,
.cs-office__details a {
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.55;
}

.cs-office__details address {
    font-style: normal;
}

.cs-office__details a {
    display: block;
    width: fit-content;
    max-width: 100%;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-decoration-color: rgb(255 255 255 / 50%);
    text-underline-offset: 3px;
}

.cs-office__details a:hover {
    text-decoration-color: #fff;
}

/* Office hours: day on the left, time on the right */
.cs-office__hours {
    display: grid;
    gap: 4px;
    max-width: 320px;
    margin: 0;
}

.cs-office__hours > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2px 16px;
}

.cs-office__hours dt,
.cs-office__hours dd {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}

.cs-office__hours dd {
    font-weight: 600;
}

/* Directions button */
.cs-office .cs-btn.cs-office__directions {
    align-self: flex-start;
    max-width: 100%;
    margin-top: auto;
}

.cs-office__contact a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* Right — stacked landmark cards */
.cs-office__nearby {
    border: 1px solid var(--office-border);
    background: linear-gradient(150deg, #fff 20%, #eff9fd);
    box-shadow: 0 12px 28px rgb(6 90 140 / 6%);
}

.cs-office__nearby > h3 {
    color: var(--office-ink);
}

.cs-office__nearby > h3::after {
    display: block;
    width: 44px;
    height: 3px;
    margin-top: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--office-blue), var(--office-cyan));
    content: "";
}

.cs-office__landmarks {
    display: grid;
    flex: 1;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 1fr;
    gap: 12px;
}

.cs-office__landmarks > li {
    align-items: center;
    min-width: 0;
    padding: 15px 17px;
    border: 1px solid var(--office-border);
    border-inline-start: 3px solid var(--landmark-accent);
    border-radius: 14px;
    background: linear-gradient(105deg, var(--landmark-tint), #fff 72%);
    box-shadow: 0 5px 14px rgb(6 90 140 / 5%);
}

.cs-office__landmark--majestic {
    --landmark-tint: #eff8ff;
    --landmark-accent: #87c3e4;
    --landmark-icon-bg: #dceffc;
    --landmark-icon-color: #0870af;
}

.cs-office__landmark--mall {
    --landmark-tint: #effaf6;
    --landmark-accent: #8dc9b6;
    --landmark-icon-bg: #dff5ee;
    --landmark-icon-color: #14715c;
}

.cs-office__landmark--metro {
    --landmark-tint: #fff8ed;
    --landmark-accent: #e1b773;
    --landmark-icon-bg: #fff1d8;
    --landmark-icon-color: #8a5b12;
}

.cs-office__landmarks .cs-office__icon {
    background: var(--landmark-icon-bg);
    color: var(--landmark-icon-color);
}

.cs-office__landmarks h4 {
    margin: 0 0 5px;
    color: var(--office-ink);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.cs-office__landmarks p {
    margin: 0;
    color: var(--office-text);
    font-size: 0.93rem;
    line-height: 1.55;
}

/* Full-width map */
.cs-office__map {
    margin-top: var(--office-gap);
    overflow: hidden;
    border: 1px solid var(--office-border);
    border-radius: var(--office-radius);
    background: #e7f3f8;
    box-shadow: 0 14px 32px rgb(6 90 140 / 10%);
}

.cs-office__map iframe {
    display: block;
    width: 100%;
    height: clamp(280px, 30vw, 370px);
    border: 0;
}

.cs-office__map iframe:focus-visible {
    outline: 3px solid var(--office-blue);
    outline-offset: -3px;
}

/* Tablet and mobile */
@media (max-width: 991.98px) {
    .cs-office__locator {
        grid-template-columns: minmax(0, 1fr);
    }

    .cs-office__landmarks {
        grid-auto-rows: auto;
    }

    .cs-office__map iframe {
        height: clamp(280px, 48vw, 360px);
    }
}

@media (max-width: 575.98px) {
    .cs-office {
        --office-radius: 18px;
        --office-padding: 18px;
    }

    .cs-office__details > li,
    .cs-office__landmarks > li {
        grid-template-columns: 40px minmax(0, 1fr);
        align-items: start;
        gap: 11px;
    }

    .cs-office__icon {
        width: 40px;
        height: 40px;
    }

    .cs-office__landmarks > li {
        padding: 13px;
    }

    .cs-office .cs-btn.cs-office__directions {
        width: 100%;
    }
}

/* Contact page — Final CTA */
.cs-contact-cta {
    --cta-blue: var(--cs-primary, #0870af);
    --cta-deep: var(--cs-primary-dark, #065a8c);
    --cta-navy: #043c5d;
    --cta-cyan: #54e3f4;
    --cta-photo-position: center;

    padding-block: clamp(32px, 5vw, 64px);
    background: #fff;
}

.cs-contact-cta__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(22px, 3vw, 42px);
    padding: clamp(22px, 3.4vw, 46px);
    overflow: hidden;
    border-radius: 26px;
    background:
        radial-gradient(ellipse at 73% 0%, rgb(21 157 211 / 64%), transparent 58%),
        linear-gradient(115deg, var(--cta-navy) 0%, var(--cta-deep) 52%, var(--cta-blue) 100%);
    box-shadow: 0 16px 38px rgb(6 90 140 / 16%);
}

.cs-contact-cta__content {
    min-width: 0;
    text-align: left;
}

.cs-contact-cta__content .cs-title {
    max-width: 21ch;
    margin: 0;
    color: #fff;
}

.cs-contact-cta__copy {
    max-width: 52ch;
    margin-block: 16px 24px;
}

.cs-contact-cta__copy p {
    margin: 0;
    color: #f1faff;
    line-height: 1.6;
}

.cs-contact-cta__copy p + p {
    margin-top: 12px;
}

/* Asymmetric photo frame with a cyan outline */
.cs-contact-cta__visual {
    min-width: 0;
}

/* Keep the enquiry heading clear of the sticky header */
#consultation-reference-title {
    scroll-margin-top: 110px;
}

@media (max-width: 767.98px) {
    .cs-contact-cta__panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        border-radius: 20px;
    }

    .cs-contact-cta__content .cs-title {
        max-width: none;
    }
}