/* =========================================================
   RADMED RESPONSIVE LAYOUT AND SECTION-HEIGHT IMPROVEMENTS
   Loaded after site.css and footer.css
   ========================================================= */

/* Prevent grid and flex children from causing overflow */
.section-heading > *,
.split > *,
.footer-columns > *,
.about-information-grid > * {
    min-width: 0;
}

/* =========================================================
   HOMEPAGE INTRODUCTION
   ========================================================= */

.reference-intro {
    padding: clamp(46px, 5vw, 62px) 0;
}

.reference-intro .eyebrow {
    margin-bottom: 10px;
}

.reference-intro h2 {
    margin-bottom: 16px;
}

.reference-intro .lead {
    max-width: 900px;
    margin: 0 auto 18px;
    line-height: 1.65;
}

/* =========================================================
   HOMEPAGE ABOUT SECTION
   ========================================================= */

.reference-about {
    padding: clamp(50px, 6vw, 70px) 0;
}

.reference-about .split {
    gap: clamp(35px, 5vw, 70px);
}

.reference-about h2 {
    margin-bottom: 16px;
}

.reference-about .prose p {
    line-height: 1.65;
    margin-bottom: 14px;
}

/* =========================================================
   HOMEPAGE PROJECT CTA
   ========================================================= */

.reference-cta {
    padding: clamp(46px, 5vw, 58px) 0;
}

.reference-cta h2 {
    margin-bottom: 16px;
}

/* =========================================================
   HOMEPAGE ENQUIRY FORM
   Two-column desktop form reduces excessive section height
   ========================================================= */

.reference-contact {
    padding: clamp(52px, 6vw, 70px) 0;
}

.reference-contact .split {
    gap: clamp(36px, 5vw, 64px);
}

.reference-contact .form-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    padding: 28px;
}

.reference-contact .form-field {
    margin-bottom: 14px;
}

.reference-contact .form-field:has(textarea),
.reference-contact .checkbox-field,
.reference-contact .form-errors,
.reference-contact .form-panel > .button,
.reference-contact .form-panel > .field-help {
    grid-column: 1 / -1;
}

.reference-contact .form-field textarea {
    min-height: 120px;
    height: 120px;
}

.reference-contact .form-panel > .button {
    justify-self: start;
}

.contact-methods a {
    margin: 12px 0;
}

/* =========================================================
   ABOUT PAGE HEADING
   ========================================================= */

.about-page-heading {
    padding: clamp(48px, 6vw, 72px) 0;
}

.about-page-heading h1 {
    max-width: 1000px;
    margin-bottom: 18px;
}

.about-page-heading > .container > p:last-child {
    max-width: 900px;
    line-height: 1.65;
}

/* =========================================================
   ABOUT RADMED INTRODUCTION
   ========================================================= */

.about-intro-section {
    padding: clamp(34px, 4vw, 48px) 0;
}

.about-intro {
    max-width: 1080px;
}

.about-intro h2 {
    margin-bottom: 12px;
}

.about-intro p {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* =========================================================
   HEALTHCARE CONSULTANCY
   ========================================================= */

.healthcare-about-section {
    padding: clamp(38px, 5vw, 58px) 0;
}

.healthcare-about-heading {
    align-items: flex-start;
    margin-bottom: 26px;
}

.healthcare-about-heading > div {
    flex: 1 1 auto;
    min-width: 0;
}

.healthcare-about-heading h2 {
    max-width: 780px;
    margin-bottom: 0;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.healthcare-about-heading .eyebrow {
    margin-bottom: 8px;
}

.healthcare-about-heading .text-link {
    flex: 0 0 auto;
    white-space: nowrap;
}

.healthcare-information-grid {
    gap: 18px;
}

.healthcare-information-grid h3 {
    margin-bottom: 10px;
}

.healthcare-information-grid p {
    margin-bottom: 10px;
    font-size: 0.96rem;
    line-height: 1.58;
}

.healthcare-information-grid .about-information-card {
    padding: 20px;
}

/* =========================================================
   LEADERSHIP
   ========================================================= */

.leadership-section {
    padding: clamp(38px, 5vw, 56px) 0;
}

.leadership-heading {
    margin: 0 auto 28px;
}

.leadership-heading .eyebrow {
    margin-bottom: 7px;
}

.leadership-heading h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.leadership-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1040px;
    gap: 28px;
}

.leadership-card .card-image,
.leadership-placeholder {
    width: 170px;
    height: 170px;
    margin-top: 22px;
}

.leadership-card .card-body {
    padding: 22px 28px 28px;
}

.leadership-card .card-body h3 {
    margin-bottom: 7px;
}

.leadership-card .card-body p {
    margin-bottom: 10px;
    line-height: 1.55;
}

/* =========================================================
   SERVICES ABOVE FOOTER
   ========================================================= */

.footer-services {
    padding: 48px 0;
}

.footer-services-heading {
    margin-bottom: 32px;
}

.footer-services-heading h2 {
    margin-bottom: 10px;
}

.footer-services-grid {
    gap: 26px 24px;
}

.footer-service-card {
    min-height: 180px;
    padding: 22px 20px;
    border-radius: 24px;
}

.footer-service-copy h3 {
    margin-bottom: 10px;
    font-size: clamp(1.15rem, 1.5vw, 1.55rem);
}

.footer-service-copy p {
    font-size: 0.94rem;
    line-height: 1.6;
}

.footer-services-action {
    margin-top: 28px;
}

/* =========================================================
   MAIN WHITE FOOTER
   ========================================================= */

.site-footer.reference-footer {
    padding-top: 46px;
}

.footer-columns {
    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(0, 0.72fr)
        minmax(0, 1.08fr);
    gap: 40px;
    padding-bottom: 36px;
}

.footer-logo-link {
    min-height: 100px;
}

.footer-logo-image {
    max-height: 160px;
}

.footer-tagline {
    margin: 12px 0 22px;
    line-height: 1.55;
}

.footer-contact-button {
    min-height: 48px;
    padding: 12px 26px;
    border-radius: 10px;
}

.reference-footer h2 {
    margin-bottom: 22px;
}

.footer-quick-links a {
    padding: 5px 4px;
}

.footer-contact-row {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-contact-row svg {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    margin-top: 3px;
}

.footer-opening-hours {
    margin: 12px 0;
}

/* Copyright and developer credit */
.footer-bottom {
    border-top: 1px solid #e3eaee;
    color: #56616a;
    font-size: 0.875rem;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.footer-bottom a {
    color: #087694;
    font-weight: 700;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
    .healthcare-about-heading {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .healthcare-about-heading .text-link {
        white-space: normal;
    }

    .about-information-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-information-grid > article:first-child {
        grid-column: 1 / -1;
    }

    .footer-columns {
        grid-template-columns:
            minmax(0, 0.8fr)
            minmax(0, 1.2fr);
        gap: 30px 24px;
    }

    .footer-identity {
        grid-column: 1 / -1;
        max-width: 560px;
        width: 100%;
        margin-inline: auto;
    }

    .footer-quick-links {
        text-align: left;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {
    .reference-intro,
    .reference-about,
    .reference-contact {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .reference-contact .form-panel {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .reference-contact .form-field,
    .reference-contact .form-field:has(textarea),
    .reference-contact .checkbox-field,
    .reference-contact .form-errors,
    .reference-contact .form-panel > .button,
    .reference-contact .form-panel > .field-help {
        grid-column: 1;
    }

    .reference-contact .form-panel > .button {
        width: 100%;
    }

    .about-page-heading {
        padding: 40px 0;
    }

    .about-page-heading h1 {
        font-size: clamp(2.15rem, 8vw, 3.2rem);
    }

    .about-intro-section,
    .healthcare-about-section,
    .leadership-section {
        padding-top: 32px;
        padding-bottom: 38px;
    }

    .leadership-grid {
        gap: 20px;
    }

    .footer-bottom-inner {
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

@media (max-width: 700px) {
    .leadership-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}

/* Compact service links above the footer on phones */
@media (max-width: 680px) {
    .footer-services {
        padding: 36px 0;
    }

    .footer-services-heading {
        margin-bottom: 24px;
    }

    .footer-services-heading h2 {
        font-size: 2rem;
    }

    .footer-services-heading p {
        font-size: 0.95rem;
    }

    .footer-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .footer-service-card {
        display: block;
        min-height: 120px;
        padding: 15px 11px;
        border-radius: 16px;
        text-align: center;
    }

    .footer-service-icon {
        width: 32px;
        height: 32px;
        margin: 0 auto 9px;
    }

    .footer-service-copy h3 {
        margin: 0;
        font-size: 0.94rem;
        line-height: 1.3;
    }

    .footer-service-copy p {
        display: none;
    }

    .footer-services-action {
        margin-top: 22px;
    }
}

/* Quick Links and Contact Info remain in two columns on mobile */
@media (max-width: 480px) {
    .site-footer.reference-footer {
        padding-top: 32px;
    }

    .footer-columns {
        grid-template-columns:
            minmax(0, 0.78fr)
            minmax(0, 1.22fr);
        gap: 24px 14px;
        padding-bottom: 28px;
    }

    .footer-identity {
        grid-column: 1 / -1;
    }

    .footer-logo-link {
        min-height: 80px;
    }

    .footer-logo-image {
        max-height: 125px;
    }

    .footer-tagline {
        margin: 8px 0 16px;
        font-size: 0.9rem;
    }

    .footer-contact-button {
        min-height: 44px;
        padding: 10px 20px;
        font-size: 0.86rem;
    }

    .footer-quick-links {
        grid-column: 1;
        text-align: left;
    }

    .footer-contact-info {
        grid-column: 2;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .reference-footer h2,
    .footer-contact-info h2 {
        margin-bottom: 13px;
        font-size: 1.08rem;
        text-align: left;
    }

    .footer-quick-links a {
        padding: 4px 0;
        font-size: 0.86rem;
        line-height: 1.35;
    }

    .footer-contact-row {
        gap: 7px;
        margin-bottom: 9px;
    }

    .footer-contact-row svg {
        width: 19px;
        height: 19px;
        flex-basis: 19px;
    }

    .footer-contact-row a,
    .footer-contact-row span,
    .footer-opening-hours,
    .footer-social-link {
        font-size: 0.8rem;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .footer-opening-hours {
        margin: 8px 0;
    }

    .footer-bottom-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start;
        gap: 12px;
        font-size: 0.76rem;
        line-height: 1.4;
    }

    .footer-bottom-inner > :last-child {
        text-align: right;
    }
}

/* =========================================================
   FINAL COMPACT, RESPONSIVE SITE OVERRIDES
   Keep this block at the end of the file.
   ========================================================= */

/* Consistent section rhythm without oversized empty areas. */
.section {
    padding-block: clamp(48px, 5vw, 66px);
}

.page-heading {
    padding-block: clamp(42px, 5vw, 58px);
}

.section-heading,
.center-heading {
    margin-bottom: clamp(24px, 3vw, 34px);
}

.eyebrow {
    margin-bottom: 10px;
}

/* Homepage sections. */
.reference-intro {
    padding-block: clamp(42px, 4vw, 52px);
}

.reference-intro .lead {
    margin-bottom: 14px;
}

.reference-about {
    padding-block: clamp(46px, 5vw, 58px);
}

.reference-about .split {
    gap: clamp(30px, 4vw, 56px);
}

.expertise-visual {
    min-height: 300px;
}

.expertise-visual > img {
    height: 340px;
}

.home-products-section {
    padding-block: clamp(48px, 5vw, 60px);
}

.home-products-section .section-heading {
    margin-bottom: 26px;
}

.home-products-section .card-body {
    padding: 25px;
}

.home-products-section .product-tag {
    margin-bottom: 22px;
}

.reference-cta {
    padding-block: clamp(42px, 4vw, 50px);
}

.reference-contact {
    padding-block: clamp(46px, 5vw, 58px);
}

.reference-contact .split {
    gap: clamp(30px, 4vw, 52px);
}

.reference-contact .form-panel {
    padding: 24px;
}

.reference-contact .form-field {
    margin-bottom: 12px;
}

/* Contact and healthcare form anchors land at the beginning of the form. */
#contact-form,
#home-contact-form,
#healthcare-contact {
    scroll-margin-top: 18px;
}

.contact-page-form-section {
    padding-block: clamp(42px, 5vw, 58px);
}

.contact-page-grid {
    gap: clamp(28px, 4vw, 48px);
}

.contact-page-grid .form-panel,
.contact-page-details {
    padding: 26px;
}

/* About page sections remain compact after the global section rule. */
.about-intro-section {
    padding-block: clamp(32px, 4vw, 44px);
}

.healthcare-about-section,
.leadership-section {
    padding-block: clamp(36px, 4vw, 50px);
}

/* Healthcare pages. */
.healthcare-hero {
    padding: 28px 0 64px;
}

.healthcare-subnav {
    margin-bottom: 24px;
}

.healthcare-hero h1 {
    margin: 18px auto;
}

.healthcare-actions {
    margin-top: 22px;
}

.healthcare-trust-grid,
.healthcare-contact-grid {
    gap: clamp(30px, 4vw, 50px);
}

.healthcare-heading {
    margin-bottom: 30px;
}

.healthcare-card {
    padding: 23px;
}

.healthcare-steps li {
    padding: 20px;
}

.healthcare-stat-card {
    padding: 22px 15px;
}

.healthcare-contact-methods {
    margin: 20px 0;
}

/* Eight service cards: four columns on large screens, two compact rows. */
.footer-services {
    padding-block: 42px;
}

.footer-services-heading {
    margin-bottom: 26px;
}

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

.footer-service-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 9px;
    min-height: 164px;
    padding: 19px 16px;
    border-radius: 22px;
}

.footer-service-icon {
    width: 38px;
    height: 38px;
}

.footer-service-copy h3 {
    margin-bottom: 8px;
    font-size: clamp(1rem, 1.25vw, 1.28rem);
}

.footer-service-copy p {
    font-size: 0.86rem;
    line-height: 1.5;
}

.footer-services-action {
    margin-top: 24px;
}

/* Smaller white footer. */
.site-footer.reference-footer {
    padding-top: 30px;
}

.footer-columns {
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(0, 0.7fr)
        minmax(0, 1.05fr);
    gap: 30px;
    padding-bottom: 24px;
}

.footer-logo-link {
    min-height: 68px;
}

.footer-logo-image {
    max-height: 116px;
}

.footer-tagline {
    margin: 6px auto 14px;
    font-size: 0.91rem;
    line-height: 1.45;
}

.footer-contact-button {
    min-height: 40px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.83rem;
}

.reference-footer h2 {
    margin-bottom: 13px;
    font-size: 1.25rem;
}

.footer-quick-links a {
    padding: 2px 3px;
    font-size: 0.91rem;
}

.footer-contact-row {
    gap: 9px;
    margin-bottom: 7px;
}

.footer-contact-row svg {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
    margin-top: 2px;
}

.footer-contact-row a,
.footer-contact-row span,
.footer-opening-hours,
.footer-social-link {
    font-size: 0.88rem;
    line-height: 1.38;
}

.footer-opening-hours {
    margin: 7px 0;
}

.footer-bottom-inner {
    min-height: 42px;
    padding-block: 10px;
}

/* =========================================================
   FLOATING QUICK-CONTACT DOCK
   ========================================================= */

.contact-dock {
    position: fixed;
    z-index: 80;
    top: 50%;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(-50%);
}

.contact-dock-item {
    position: relative;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: #fff;
    background: #164b68;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(9, 47, 78, 0.22);
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.contact-dock-item:hover,
.contact-dock-item:focus-visible {
    color: #fff;
    transform: translateX(-3px);
    box-shadow: 0 10px 28px rgba(9, 47, 78, 0.3);
}

.contact-dock-item svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-dock-item > span {
    position: absolute;
    top: 50%;
    right: 56px;
    width: max-content;
    max-width: 180px;
    padding: 7px 10px;
    color: #fff;
    background: #0b2f46;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0;
    pointer-events: none;
    transform: translate(8px, -50%);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.contact-dock-item:hover > span,
.contact-dock-item:focus-visible > span {
    opacity: 1;
    transform: translate(0, -50%);
}

.contact-dock-email {
    background: #126f8b;
}

.contact-dock-enquiry {
    background: #0a819d;
}

.contact-dock-whatsapp {
    background: #187a4d;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {
    .footer-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-service-card {
        min-height: 150px;
    }

    .footer-columns {
        grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
        gap: 24px;
    }

    .footer-identity {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {
    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }

    .contact-strip {
        display: none;
    }

    .section {
        padding-block: 40px;
    }

    .page-heading,
    .about-page-heading {
        padding-block: 34px;
    }

    .reference-intro,
    .reference-about,
    .home-products-section,
    .reference-contact,
    .about-intro-section,
    .healthcare-about-section,
    .leadership-section,
    .contact-page-form-section {
        padding-block: 38px;
    }

    .reference-about .split {
        gap: 26px;
    }

    .expertise-visual > img {
        height: 270px;
    }

    .reference-cta {
        padding-block: 38px;
    }

    .reference-contact .form-panel,
    .contact-page-grid .form-panel,
    .contact-page-details {
        padding: 20px;
    }

    .healthcare-hero {
        padding: 24px 0 46px;
    }

    .healthcare-subnav {
        margin-bottom: 18px;
    }

    .healthcare-card,
    .healthcare-steps li {
        padding: 20px;
    }

    /* Fixed bottom bar on phones and small tablets. */
    .contact-dock {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        flex-direction: row;
        gap: 0;
        width: 100%;
        padding-bottom: env(safe-area-inset-bottom);
        background: #fff;
        border-top: 1px solid #d8e4e8;
        box-shadow: 0 -8px 24px rgba(9, 47, 78, 0.14);
        transform: none;
    }

    .contact-dock-item {
        display: flex;
        flex: 1 1 0;
        flex-direction: column;
        gap: 3px;
        width: auto;
        height: 64px;
        min-width: 0;
        color: #164b68;
        background: #fff;
        border: 0;
        border-right: 1px solid #e2eaed;
        border-radius: 0;
        box-shadow: none;
    }

    .contact-dock-item:last-child {
        border-right: 0;
    }

    .contact-dock-item:hover,
    .contact-dock-item:focus-visible {
        color: #0a748e;
        background: #eef7f8;
        box-shadow: none;
        transform: none;
    }

    .contact-dock-whatsapp,
    .contact-dock-whatsapp:hover,
    .contact-dock-whatsapp:focus-visible {
        color: #187a4d;
    }

    .contact-dock-item svg {
        width: 20px;
        height: 20px;
    }

    .contact-dock-item > span,
    .contact-dock-item:hover > span,
    .contact-dock-item:focus-visible > span {
        position: static;
        display: block;
        max-width: 100%;
        padding: 0 3px;
        color: currentColor;
        background: transparent;
        border-radius: 0;
        font-size: 0.67rem;
        line-height: 1.05;
        text-align: center;
        opacity: 1;
        transform: none;
    }

    /* Mobile footer: identity first, then Quick Links and Contact Info side by side. */
    .site-footer.reference-footer {
        padding-top: 24px;
    }

    .footer-columns {
        grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
        gap: 20px 12px;
        padding-bottom: 20px;
    }

    .footer-identity {
        grid-column: 1 / -1;
        max-width: 420px;
    }

    .footer-logo-link {
        min-height: 58px;
    }

    .footer-logo-image {
        max-height: 100px;
    }

    .footer-tagline {
        margin: 5px auto 0;
        font-size: 0.84rem;
    }

    /* The fixed contact dock replaces this duplicate mobile button. */
    .footer-contact-button {
        display: none;
    }

    .footer-quick-links {
        grid-column: 1;
        text-align: left;
    }

    .footer-contact-info {
        grid-column: 2;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .reference-footer h2,
    .footer-contact-info h2 {
        margin-bottom: 10px;
        font-size: 1rem;
        text-align: left;
    }

    .footer-quick-links a {
        padding: 3px 0;
        font-size: 0.78rem;
        line-height: 1.3;
    }

    .footer-contact-row {
        gap: 6px;
        margin-bottom: 7px;
    }

    .footer-contact-row svg {
        width: 17px;
        height: 17px;
        flex-basis: 17px;
    }

    .footer-contact-row a,
    .footer-contact-row span,
    .footer-opening-hours,
    .footer-social-link {
        font-size: 0.74rem;
        line-height: 1.35;
    }

    .footer-bottom-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding-block: 10px;
        font-size: 0.7rem;
    }

    .footer-bottom-inner > :last-child {
        text-align: right;
    }
}

@media (max-width: 680px) {
    .footer-services {
        padding-block: 34px;
    }

    .footer-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .footer-service-card {
        display: block;
        min-height: 112px;
        padding: 14px 10px;
        border-radius: 15px;
        text-align: center;
    }

    .footer-service-icon {
        width: 30px;
        height: 30px;
        margin: 0 auto 8px;
    }

    .footer-service-copy h3 {
        margin: 0;
        font-size: 0.88rem;
        line-height: 1.25;
    }

    .footer-service-copy p {
        display: none;
    }
}

@media (max-width: 380px) {
    .footer-services .container,
    .reference-footer .container {
        width: calc(100% - 22px);
    }

    .footer-columns {
        grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
        gap: 18px 9px;
    }

    .contact-dock-item > span,
    .contact-dock-item:hover > span,
    .contact-dock-item:focus-visible > span {
        font-size: 0.62rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-dock-item,
    .contact-dock-item > span {
        transition: none;
    }
}

@media print {
    .contact-dock {
        display: none !important;
    }
}

/* =========================================================
   FIXED NAVIGATION BAR
   Keeps the main menu visible while scrolling
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 18px rgba(9, 47, 78, 0.1);
}

/* Prevent fixed header from covering linked page sections */
html {
    scroll-padding-top: 120px;
}

/* Keep the expanded mobile menu usable */
@media (max-width: 1100px) {
    html {
        scroll-padding-top: 100px;
    }

    .site-header {
        box-shadow: 0 3px 14px rgba(9, 47, 78, 0.12);
    }

    .main-nav.is-open {
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

/* Position linked forms directly below the fixed navigation */
#contact-form,
#home-contact-form,
#healthcare-contact {
    scroll-margin-top: 125px;
}

@media (max-width: 1100px) {
    #contact-form,
    #home-contact-form,
    #healthcare-contact {
        scroll-margin-top: 105px;
    }
}

/* =========================================================
   TOP CONTACT INFORMATION
   ========================================================= */

.contact-strip-details {
    display: flex;
    align-items: center;
    gap: 24px;
}

.contact-strip-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #e5f2f7;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.contact-strip-link svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: #74d3e3;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-strip-link:hover,
.contact-strip-link:focus-visible {
    color: #ffffff;
}

.contact-strip-link:hover svg,
.contact-strip-link:focus-visible svg {
    stroke: #ffffff;
}

@media (max-width: 900px) and (min-width: 761px) {
    .contact-strip-tagline {
        display: none;
    }

    .strip-inner {
        justify-content: flex-end;
    }

    .contact-strip-details {
        gap: 16px;
    }
}

/* Recognizable WhatsApp brand icon */
.contact-dock-whatsapp .whatsapp-brand-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    stroke: none;
}

@media (max-width: 760px) {
    .contact-dock-whatsapp .whatsapp-brand-icon {
        width: 21px;
        height: 21px;
    }
}

/* Mobile contact bar: visible only near the bottom of the page */
@media (max-width: 760px) {
    .js .contact-dock {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(calc(100% + env(safe-area-inset-bottom)));
        transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.25s ease;
    }

    .js .contact-dock.is-mobile-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

/* Footer WhatsApp brand icon */
.footer-contact-row .footer-whatsapp-icon {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    fill: #187a4d;
    stroke: none;
}

/* Adjustable footer logo size on mobile */
@media (max-width: 760px) {
    .footer-logo-link {
        min-height: 0;
        margin: 0 auto 8px;
        padding: 0;
    }

    .footer-logo-image {
        width: clamp(190px, 58vw, 260px);
        max-width: 100%;
        max-height: 88px;
        margin: 0 auto;
        object-fit: contain;
    }
}

@media (max-width: 380px) {
    .footer-logo-image {
        width: 210px;
        max-height: 78px;
    }
}

/* =========================================================
   FINAL CONTACT ICON SIZING AND ALIGNMENT
   These rules intentionally come last so earlier component
   styles cannot enlarge or misalign the contact icons.
   ========================================================= */

/* Footer: compact icons with vertically centred text alignment. */
.footer-contact-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.footer-contact-row svg,
.footer-contact-row .footer-whatsapp-icon {
    box-sizing: border-box;
    display: block;
    width: 28px;
    height: 28px;
    min-width: 28px;
    flex: 0 0 28px;
    margin: 0;
    padding: 6px;
    border: 1.3px solid #244767;
    border-radius: 50%;
}

.footer-contact-row > a,
.footer-contact-row > span {
    display: block;
    align-self: center;
    min-width: 0;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.footer-contact-row .footer-whatsapp-icon {
    padding: 5px;
    color: #187a4d;
    fill: #187a4d;
    stroke: none;
    border-color: #187a4d;
}

/* Top contact strip: small circular phone and email icons. */
.contact-strip-link {
    align-items: center;
}

.contact-strip-link svg {
    box-sizing: border-box;
    display: block;
    width: 22px;
    height: 22px;
    min-width: 22px;
    flex: 0 0 22px;
    margin: 0;
    padding: 4px;
    border: 1.2px solid #74d3e3;
    border-radius: 50%;
}

/* Desktop sidebar: the button is the circle, so do not draw a
   second circle around the SVG. */
@media (min-width: 761px) {
    .contact-dock-item {
        display: grid;
        place-items: center;
        border-radius: 50%;
    }

    .contact-dock-item svg,
    .contact-dock-item .whatsapp-brand-icon {
        box-sizing: border-box;
        display: block;
        width: 22px;
        height: 22px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
    }

    .contact-dock-item .whatsapp-brand-icon {
        fill: currentColor;
        stroke: none;
    }
}

/* Mobile bottom contact bar: equal-width items, centered icons and
   labels, and a reduced overall height. Visibility remains controlled
   by the existing .is-mobile-visible JavaScript class. */
@media (max-width: 760px) {
    .contact-dock {
        align-items: stretch;
        justify-content: center;
    }

    .contact-dock-item {
        box-sizing: border-box;
        display: flex;
        flex: 1 1 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        width: 0;
        min-width: 0;
        max-width: none;
        height: 64px;
        min-height: 64px;
        margin: 0;
        padding: 5px 2px 6px;
        line-height: 1;
        text-align: center;
        overflow: hidden;
    }

    .contact-dock-item svg,
    .contact-dock-item .whatsapp-brand-icon {
        box-sizing: border-box;
        display: block;
        width: 28px;
        height: 28px;
        min-width: 28px;
        flex: 0 0 28px;
        align-self: center;
        margin: 0 auto;
        padding: 5px;
        border: 1.3px solid currentColor;
        border-radius: 50%;
    }

    .contact-dock-item .whatsapp-brand-icon {
        padding: 4px;
        fill: currentColor;
        stroke: none;
    }

    .contact-dock-item > span,
    .contact-dock-item > .contact-dock-label,
    .contact-dock-item:hover > span,
    .contact-dock-item:focus-visible > span {
        position: static;
        inset: auto;
        display: block;
        align-self: stretch;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 2px;
        color: currentColor;
        background: transparent;
        border-radius: 0;
        font-size: .62rem;
        font-weight: 700;
        line-height: 1.05;
        text-align: center;
        white-space: normal;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .footer-contact-row {
        grid-template-columns: 26px minmax(0, 1fr);
        align-items: center;
        gap: 7px;
    }

    .footer-contact-row svg,
    .footer-contact-row .footer-whatsapp-icon {
        width: 26px;
        height: 26px;
        min-width: 26px;
        flex: 0 0 26px;
        align-self: center;
        margin: 0;
        padding: 5px;
    }

    .footer-contact-row .footer-whatsapp-icon {
        padding: 4px;
    }

    .footer-contact-row > a,
    .footer-contact-row > span {
        align-self: center;
        margin: 0;
        padding: 0;
    }
}

/* Very narrow phones: keep every item inside the viewport without
   changing the footer structure. */
@media (max-width: 380px) {
    .contact-dock-item svg,
    .contact-dock-item .whatsapp-brand-icon {
        width: 26px;
        height: 26px;
        min-width: 26px;
        flex-basis: 26px;
        padding: 4px;
    }

    .contact-dock-item .whatsapp-brand-icon {
        padding: 3px;
    }

    .contact-dock-item > span,
    .contact-dock-item > .contact-dock-label {
        font-size: .59rem;
    }
}

/* =========================================================
   RESPONSIVE SUPPORT AND ENQUIRY SECTIONS
   Shared by the homepage and TreatAbroad healthcare page.
   ========================================================= */

.support-contact-section {
    position: relative;
    isolation: isolate;
    overflow: clip;
    background:
        radial-gradient(circle at 8% 14%, rgba(84, 194, 199, .12), transparent 27%),
        radial-gradient(circle at 94% 84%, rgba(20, 111, 139, .09), transparent 29%),
        linear-gradient(180deg, #f8fbfc 0%, #eef5f6 100%);
}

.support-contact-section::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
        linear-gradient(rgba(18, 83, 108, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 83, 108, .035) 1px, transparent 1px);
    background-size: 42px 42px;
    content: "";
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.support-contact-grid {
    display: grid;
    grid-template-columns: minmax(310px, .86fr) minmax(0, 1.28fr);
    align-items: start;
    gap: clamp(30px, 4.5vw, 64px);
}

.support-intro-card {
    position: sticky;
    top: 132px;
    min-width: 0;
    overflow: hidden;
    padding: clamp(30px, 4vw, 48px);
    color: #fff;
    background:
        linear-gradient(145deg, rgba(11, 45, 69, .98), rgba(13, 107, 129, .97) 66%, rgba(8, 118, 111, .96));
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 28px;
    box-shadow: 0 26px 60px rgba(8, 48, 70, .22);
    transition: box-shadow .25s ease, transform .25s ease;
}

.support-intro-card:hover {
    box-shadow: 0 32px 72px rgba(8, 48, 70, .28);
    transform: translateY(-4px);
}

.support-card-content {
    position: relative;
    z-index: 2;
}

.support-card-glow {
    position: absolute;
    z-index: 1;
    display: block;
    border: 1px solid rgba(184, 239, 239, .22);
    border-radius: 50%;
    pointer-events: none;
}

.support-card-glow-one {
    top: -92px;
    right: -82px;
    width: 230px;
    height: 230px;
    box-shadow:
        0 0 0 30px rgba(188, 232, 239, .045),
        0 0 0 62px rgba(188, 232, 239, .025);
    animation: supportGlowDrift 8s ease-in-out infinite alternate;
}

.support-card-glow-two {
    bottom: -64px;
    left: -52px;
    width: 150px;
    height: 150px;
    opacity: .65;
    animation: supportGlowDrift 10s ease-in-out -2s infinite alternate-reverse;
}

@keyframes supportGlowDrift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(10px, -8px, 0) scale(1.05); }
}

.support-intro-card .eyebrow {
    margin-bottom: 14px;
    color: #bce8ef;
}

.support-intro-card h2 {
    max-width: 610px;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.08;
    text-wrap: balance;
}

.support-card-lead {
    max-width: 610px;
    margin: 0;
    color: rgba(240, 250, 252, .88);
    font-size: 1.02rem;
    line-height: 1.72;
}

.support-card-image {
    overflow: hidden;
    margin-top: 24px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
}

.support-card-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.support-contact-methods {
    display: grid;
    gap: 11px;
    margin-top: 28px;
}

.support-contact-method {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 11px 13px;
    color: #fff;
    background: rgba(255, 255, 255, .085);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.support-contact-method:hover,
.support-contact-method:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .34);
    transform: translateX(4px);
}

.support-contact-method-whatsapp {
    background: rgba(24, 122, 77, .22);
}

.support-method-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #d9f8f3;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
}

.support-method-icon svg {
    display: block;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.support-method-icon .support-whatsapp-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: none;
}

.support-method-copy {
    display: block;
    min-width: 0;
}

.support-method-copy small,
.support-method-copy strong {
    display: block;
    overflow-wrap: anywhere;
}

.support-method-copy small {
    margin-bottom: 1px;
    color: rgba(224, 245, 247, .7);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.support-method-copy strong {
    color: #fff;
    font-size: .88rem;
    font-weight: 680;
    line-height: 1.35;
}

.support-card-note {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    margin: 24px 0 0;
    padding: 14px;
    color: rgba(240, 250, 252, .84);
    background: rgba(3, 30, 45, .2);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 13px;
    font-size: .78rem;
    line-height: 1.55;
}

.support-card-note svg {
    display: block;
    width: 28px;
    height: 28px;
    padding: 5px;
    fill: none;
    stroke: #bce8ef;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    border: 1px solid rgba(188, 232, 239, .4);
    border-radius: 50%;
}

.support-contact-section .support-form-card {
    min-width: 0;
    padding: clamp(26px, 3.4vw, 42px);
    background: rgba(255, 255, 255, .96);
    border: 1px solid #d5e2e6;
    border-radius: 28px;
    box-shadow: 0 22px 52px rgba(13, 57, 78, .13);
}

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

.support-form-heading {
    grid-column: 1 / -1;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dbe6e9;
}

.support-form-heading .eyebrow {
    margin-bottom: 8px;
}

.support-form-heading h3 {
    margin: 0 0 8px;
    color: #123d58;
    font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.support-form-heading > p:last-child {
    margin: 0;
    color: #60747e;
    font-size: .9rem;
    line-height: 1.6;
}

.support-form-card .form-field {
    min-width: 0;
    margin-bottom: 16px;
}

.support-form-card .form-field > label {
    display: block;
    margin-bottom: 6px;
    color: #234554;
    font-size: .8rem;
    font-weight: 720;
    line-height: 1.4;
}

.support-form-card input:not([type="checkbox"]):not([type="radio"]),
.support-form-card select,
.support-form-card textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 49px;
    padding: 11px 13px;
    color: #193946;
    background: #fff;
    border: 1px solid #c8d8dd;
    border-radius: 10px;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.support-form-card input[type="file"] {
    padding: 8px;
    background: #f8fbfc;
}

.support-form-card textarea {
    min-height: 118px;
    resize: vertical;
}

.support-form-card input:not([type="checkbox"]):not([type="radio"]):focus,
.support-form-card select:focus,
.support-form-card textarea:focus {
    outline: 0;
    background: #fff;
    border-color: #1685a0;
    box-shadow: 0 0 0 4px rgba(22, 133, 160, .12);
}

.support-form-card .form-field:has(textarea),
.support-form-card .form-field:has(input[type="file"]),
.support-form-card .checkbox-field,
.support-form-card .form-errors,
.support-form-submit,
.support-form-help {
    grid-column: 1 / -1;
}

.support-form-card .checkbox-field {
    display: grid;
    grid-template-columns: 19px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
}

.support-form-card .checkbox-field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
}

.support-form-card .checkbox-field > label {
    margin: 0;
    color: #435d68;
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.5;
}

.support-form-card .checkbox-field .field-help,
.support-form-card .checkbox-field .field-errors {
    grid-column: 2;
}

.support-form-card .field-help {
    margin-top: 5px;
    color: #6c7f87;
    font-size: .72rem;
    line-height: 1.45;
}

.support-form-card .field-errors {
    color: #9c2f2f;
    font-size: .76rem;
}

.support-form-card .has-errors input,
.support-form-card .has-errors select,
.support-form-card .has-errors textarea {
    border-color: #c65a5a;
}

.support-form-submit {
    justify-self: start;
    margin-top: 4px;
    padding-inline: 25px;
}

.support-form-help {
    margin: 9px 0 0;
}

@media (max-width: 1024px) {
    .support-contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .support-intro-card {
        position: relative;
        top: auto;
    }

    .support-contact-methods {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .support-contact-section {
        padding-block: 42px;
    }

    .support-intro-card {
        padding: 26px;
        border-radius: 22px;
    }

    .support-intro-card:hover {
        transform: none;
    }

    .support-intro-card h2 {
        font-size: clamp(1.85rem, 8vw, 2.45rem);
    }

    .support-card-lead {
        font-size: .94rem;
        line-height: 1.65;
    }

    .support-contact-methods {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 22px;
    }

    .support-contact-method {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 10px 12px;
    }

    .support-method-icon {
        width: 38px;
        height: 38px;
    }

    .support-card-note {
        margin-top: 18px;
    }

    .support-form-card,
    .reference-contact .support-form-card {
        padding: 22px;
        border-radius: 22px;
    }

    .support-contact-section .support-form-grid {
        grid-template-columns: 1fr;
    }

    .support-form-heading,
    .support-form-card .form-field,
    .support-form-card .form-field:has(textarea),
    .support-form-card .form-field:has(input[type="file"]),
    .support-form-card .checkbox-field,
    .support-form-card .form-errors,
    .support-form-submit,
    .support-form-help {
        grid-column: 1;
    }

    .support-form-heading {
        margin-bottom: 18px;
        padding-bottom: 17px;
    }

    .support-form-card input:not([type="checkbox"]):not([type="radio"]),
    .support-form-card select,
    .support-form-card textarea {
        font-size: 16px;
    }

    .support-form-submit {
        width: 100%;
        justify-self: stretch;
    }
}

@media (max-width: 420px) {
    .support-intro-card,
    .support-form-card,
    .reference-contact .support-form-card {
        padding: 19px;
        border-radius: 18px;
    }

    .support-card-note {
        grid-template-columns: 26px minmax(0, 1fr);
        padding: 12px;
    }

    .support-card-note svg {
        width: 25px;
        height: 25px;
        padding: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .support-card-glow {
        animation: none;
    }

    .support-intro-card,
    .support-contact-method {
        transition: none;
    }
}

/* =========================================================
   STANDALONE CONTACT AND CONSULTATION PAGE
   Uses the same visual language as the homepage and
   TreatAbroad enquiry sections without changing form logic.
   ========================================================= */

.contact-page-heading {
    position: relative;
    overflow: hidden;
    padding-block: clamp(38px, 4.5vw, 56px);
    color: #fff;
    background:
        radial-gradient(circle at 88% 16%, rgba(130, 227, 219, .2), transparent 28%),
        linear-gradient(118deg, #0b2d45 0%, #0d5f76 58%, #08766f 100%);
}

.contact-page-heading::after {
    position: absolute;
    right: -90px;
    bottom: -150px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    box-shadow:
        0 0 0 38px rgba(255, 255, 255, .035),
        0 0 0 78px rgba(255, 255, 255, .02);
    content: "";
    pointer-events: none;
}

.contact-page-heading-inner {
    position: relative;
    z-index: 1;
}

.contact-page-heading .eyebrow {
    color: #bce8ef;
}

.contact-page-heading h1 {
    max-width: 850px;
    margin: 0 0 13px;
    color: #fff;
    font-size: clamp(2.2rem, 4.2vw, 3.65rem);
    line-height: 1.08;
    text-wrap: balance;
}

.contact-page-heading p:not(.eyebrow) {
    max-width: 760px;
    margin: 0;
    color: rgba(240, 250, 252, .86);
    font-size: clamp(.96rem, 1.4vw, 1.08rem);
    line-height: 1.68;
}

.contact-page-form-section {
    padding-block: clamp(44px, 5.2vw, 68px);
}

.contact-page-support-grid {
    grid-template-columns: minmax(310px, .82fr) minmax(0, 1.34fr);
}

.contact-support-details {
    display: grid;
    gap: 13px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.contact-support-detail {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    color: rgba(240, 250, 252, .84);
}

.contact-support-detail > svg {
    display: block;
    width: 29px;
    height: 29px;
    padding: 5px;
    fill: none;
    stroke: #bce8ef;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    border: 1px solid rgba(188, 232, 239, .36);
    border-radius: 50%;
}

.contact-support-detail strong,
.contact-support-detail span,
.contact-support-detail a {
    display: block;
    overflow-wrap: anywhere;
}

.contact-support-detail strong {
    margin-bottom: 2px;
    color: #fff;
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.contact-support-detail span,
.contact-support-detail a {
    color: rgba(240, 250, 252, .82);
    font-size: .8rem;
    line-height: 1.55;
    text-decoration: none;
}

.contact-support-detail a:hover,
.contact-support-detail a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-page-form-card .field-message,
.contact-page-form-card .field-consent {
    grid-column: 1 / -1;
}

@media (max-width: 1024px) {
    .contact-page-support-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .contact-page-heading {
        padding-block: 34px;
    }

    .contact-page-heading h1 {
        font-size: clamp(2rem, 9vw, 2.7rem);
    }

    .contact-page-form-section {
        padding-block: 40px;
    }

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

    .contact-page-form-card .field-message,
    .contact-page-form-card .field-consent {
        grid-column: 1;
    }
}

@media (max-width: 420px) {
    .contact-page-heading {
        padding-block: 29px;
    }

    .contact-page-heading::after {
        right: -150px;
        bottom: -185px;
    }
}
