/* =========================================================
   TOUCHMEDICAL — SERVICE PAGE
========================================================= */

.tm-service-page {
    width: 100%;
    overflow: hidden;
    background: #fff;
}

.tm-service-content {
    width: 100%;
    color: var(--tm-color-text, #111111);
    font-family: var(--tm-font, 'Manrope', sans-serif);
}


/* =========================================================
   HERO
========================================================= */

.tm-service-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background: #F4F5F2;
}

.tm-service-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    pointer-events: none;
}

.tm-service-hero-container {
    position: relative;
    z-index: 1;

    padding-top: 40px;
    padding-bottom: 40px;
}


/* =========================================================
   BREADCRUMBS
========================================================= */

.tm-service-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    margin-bottom: 40px;

    color: #66706A;

    font-family: var(--tm-font);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.tm-service-breadcrumbs a {
    color: inherit !important;
    text-decoration: none !important;
}

.tm-service-breadcrumbs a:hover {
    color: var(--tm-color-button) !important;
}

.tm-service-breadcrumbs > span[aria-hidden="true"] {
    color: #9BA39D;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.tm-service-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 40px;
    align-items: center;

    min-height: 205px;
}

.tm-service-hero-copy {
    position: relative;
    z-index: 2;

    max-width: 570px;
}

.tm-service-overline {
    margin-bottom: 12px;

    color: #69B96B;

    font-family: var(--tm-font);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tm-service-hero-title {
    margin: 0 0 22px !important;

    color: var(--tm-color-text) !important;

    font-family: var(--tm-font) !important;
    font-size: 40px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.tm-service-hero-description {
    max-width: 530px;
    margin: 0;

    color: #66706A;

    font-family: var(--tm-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}


/* =========================================================
   HERO IMAGE — ABOVE BACKGROUND
========================================================= */

.tm-service-hero-visual {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    height: 220px;
}

.tm-service-hero-image {
    position: relative;
    z-index: 2;

    display: block;

    width: 150%;
    height: 150%;
    max-width: 600px;

    object-fit: contain;
    object-position: center;

    mix-blend-mode: normal;
}


/* =========================================================
   SERVICE CONTENT
========================================================= */

.tm-service-coverage {
    padding-top: 60px;
    padding-bottom: 50px;

    background: #fff;
}

.tm-service-section-title {
    margin: 0 0 26px !important;

    color: var(--tm-color-text) !important;

    font-family: var(--tm-font) !important;
    font-size: 34px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}


/* =========================================================
   SERVICE LIST
========================================================= */

.tm-service-list {
    display: flex;
    flex-direction: column;
    gap: 18px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.tm-service-list-item {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    align-items: start;
    gap: 13px;

    margin: 0;
    padding: 0;
}

.tm-service-check-icon {
    display: block;

    width: 16px;
    height: 20px;

    margin-top: 2px;

    object-fit: contain;
}

.tm-service-list-content {
    min-width: 0;
}

.tm-service-list-content h3 {
    margin: 0 0 6px !important;

    color: var(--tm-color-text) !important;

    font-family: var(--tm-font) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.tm-service-list-content p {
    margin: 0;

    color: var(--tm-color-text);

    font-family: var(--tm-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}


/* =========================================================
   INFORMATION NOTICE
========================================================= */

.tm-service-notice {
    display: flex;
    align-items: center;
    gap: 32px;

    max-width: 920px;

    margin: 60px auto 0;
    padding: 30px 36px;

    background: #F4F5F2;
    border-radius: 10px;
}

.tm-service-notice-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 58px;

    width: 58px;
    height: 58px;
    padding: 15px;

    background: #E1EFD0;
    border-radius: 50%;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.tm-service-notice-icon img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.tm-service-notice p {
    margin: 0;

    color: var(--tm-color-text);

    font-family: var(--tm-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}


/* =========================================================
   CONTACT SECTION
========================================================= */

.tm-service-contact {
    padding-top: 20px;
    padding-bottom: 64px;

    background: #fff;
}

.tm-service-contact-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(500px, 1fr);

    grid-template-areas:
        "copy form"
        "details form";

    grid-template-rows: auto 1fr;

    gap: 22px 60px;
    align-items: center;
}

.tm-service-contact-copy {
    grid-area: copy;
    min-width: 0;
}

.tm-service-contact-title {
    margin: 0 0 18px !important;

    color: var(--tm-color-text) !important;

    font-family: var(--tm-font) !important;
    font-size: 34px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.tm-service-contact-description {
    max-width: 520px;
    margin: 0;

    color: #66706A;

    font-family: var(--tm-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}


/* =========================================================
   CONTACT FORM
========================================================= */

.tm-service-form-card {
    grid-area: form;
    align-self: center;
    min-width: 0;
}


/* =========================================================
   CONTACT DETAILS — DESKTOP GRID
========================================================= */

.tm-service-contact-details {
    grid-area: details;

    display: grid;

    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(0, 1.2fr);

    grid-template-areas:
        "phone address"
        "email .";

    gap: 18px 24px;

    margin: 0;
    padding: 0;

    background: transparent;
}

.tm-service-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    min-width: 0;
    margin: 0;

    color: var(--tm-color-text) !important;
    text-decoration: none !important;
}

.tm-service-contact-item--phone {
    grid-area: phone;
}

.tm-service-contact-item--address {
    grid-area: address;
}

.tm-service-contact-item--email {
    grid-area: email;
}

.tm-service-contact-icon {
    display: flex;
    align-items: flex-start;
    justify-content: center;

    flex: 0 0 24px;

    width: 24px;
    height: 24px;
}

.tm-service-contact-icon img {
    display: block;

    width: 24px;
    height: 24px;

    object-fit: contain;
}

.tm-service-contact-text {
    display: block;

    min-width: 0;

    color: var(--tm-color-text);

    font-family: var(--tm-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;

    overflow-wrap: anywhere;
}

.tm-service-contact-text strong {
    display: block;

    margin-bottom: 1px;

    font-size: 16px;
    font-weight: 700;
}

.tm-service-contact-text small {
    display: block;

    color: #66706A;

    font-size: 12px;
    line-height: 1.4;
}


/* =========================================================
   HIDE COMMON FOOTER CONTACT CTA ON THIS PAGE
========================================================= */

.tm-page-service .tm-footer-contact {
    display: none !important;
}


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

@media (max-width: 1024px) and (min-width: 768px) {

    .tm-service-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
        gap: 24px;
    }

    .tm-service-hero-title {
        font-size: 36px !important;
    }

    .tm-service-contact-layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(400px, 1fr);

        gap: 22px 32px;
    }

}


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

@media (max-width: 767px) {

    /* -----------------------------------------------------
       HERO
    ----------------------------------------------------- */

    .tm-service-hero-container {
        padding-top: 17px;
        padding-bottom: 0;
    }

    .tm-service-breadcrumbs {
        gap: 7px;
        margin-bottom: 22px;

        font-size: 12px;
    }

    .tm-service-hero-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        min-height: 0;
    }

    .tm-service-hero-copy {
        max-width: none;
        text-align: center;
    }

    .tm-service-overline {
        margin-bottom: 8px;
        font-size: 14px;
    }

    .tm-service-hero-title {
        max-width: 380px;

        margin: 0 auto 16px !important;

        font-size: 26px !important;
        line-height: 1.25 !important;
    }

    .tm-service-hero-description {
        max-width: 420px;
        margin: 0 auto;

        font-size: 14px;
        line-height: 1.45;
    }

    .tm-service-hero-visual {
        width: 100%;
        height: 145px;
        margin-top: 8px;
    }

    .tm-service-hero-image {
        width: 100%;
        height: 100%;
        max-width: 240px;
    }


    /* -----------------------------------------------------
       SERVICE LIST
    ----------------------------------------------------- */

    .tm-service-coverage {
        padding-top: 27px;
        padding-bottom: 30px;
    }

    .tm-service-section-title {
        margin-bottom: 22px !important;

        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .tm-service-list {
        gap: 20px;
    }

    .tm-service-list-item {
        grid-template-columns: 15px minmax(0, 1fr);
        gap: 11px;
    }

    .tm-service-check-icon {
        width: 15px;
        height: 19px;
    }

    .tm-service-list-content h3 {
        margin-bottom: 6px !important;

        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    .tm-service-list-content p {
        font-size: 14px;
        line-height: 1.45;
    }


    /* -----------------------------------------------------
       NOTICE
    ----------------------------------------------------- */

    .tm-service-notice {
        align-items: flex-start;
        gap: 16px;

        margin-top: 30px;
        padding: 20px 17px;

        border-radius: 9px;
    }

    .tm-service-notice-icon {
        flex-basis: 40px;

        width: 40px;
        height: 40px;
        padding: 11px;
    }

    .tm-service-notice p {
        font-size: 14px;
        line-height: 1.4;
    }


    /* -----------------------------------------------------
       CONTACT
    ----------------------------------------------------- */

    .tm-service-contact {
        padding-top: 0;
        padding-bottom: 20px;
    }

    .tm-service-contact-layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
    }

    .tm-service-contact-copy {
        text-align: center;
    }

    .tm-service-contact-title {
        margin-bottom: 14px !important;

        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .tm-service-contact-description {
        max-width: 400px;
        margin: 0 auto;

        font-size: 14px;
        line-height: 1.45;
    }


    /* -----------------------------------------------------
       FORM
    ----------------------------------------------------- */

    .tm-service-form-card {
        width: 100%;
        padding: 0;

        border-radius: 0;
        box-shadow: none;
    }

    .tm-service-form-card .tm-cf7-row-2 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tm-service-form-card
    .tm-cf7-form
    input[type="text"],
    .tm-service-form-card
    .tm-cf7-form
    input[type="email"],
    .tm-service-form-card
    .tm-cf7-form
    input[type="tel"] {
        height: 52px;
        font-size: 14px;
    }

    .tm-service-form-card
    .tm-cf7-form
    textarea {
        min-height: 110px;
        font-size: 14px;
    }

    .tm-service-form-card
    .tm-cf7-submit
    input[type="submit"] {
        min-height: 54px;
        font-size: 17px;
    }


    /* -----------------------------------------------------
       CONTACT DETAILS
    ----------------------------------------------------- */

    .tm-service-contact-details {
        display: flex;
        flex-direction: column;
        gap: 22px;

        width: calc(100% + 32px);

        margin: 0 -16px;
        padding: 27px 16px 30px;

        background: #EDF4EE;
    }

    .tm-service-contact-item {
        gap: 14px;
    }

    .tm-service-contact-icon {
        flex-basis: 24px;
    }

    .tm-service-contact-text {
        font-size: 14px;
    }

    .tm-service-contact-text strong {
        font-size: 16px;
    }

}