
/* ==========================================================
   MDM UROLOGY SPECIALIZED HOSPITAL
   SERVICES PAGE STYLESHEET
   File: assets/css/services.css
   ========================================================== */

:root {
    --svc-blue: #335c9a;
    --svc-dark: #234674;
    --svc-deep: #172f52;
    --svc-gold: #c6964a;
    --svc-gold-light: #e4c995;
    --svc-ink: #17253a;
    --svc-muted: #66758a;
    --svc-paper: #fbfaf7;
    --svc-white: #ffffff;
    --svc-border: #e7e8eb;
    --svc-soft: #edf2f8;
    --svc-shadow: 0 15px 45px rgba(27,49,79,.09);
}

/* ==========================================================
   01. COMMON SERVICES COMPONENTS
========================================================== */

.services-section-label {
    display: block;
    color: var(--svc-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .19em;
}

.services-button-primary,
.services-button-outline {
    min-height: 48px;
    padding: 13px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    transition: .25s ease;
}

.services-button-primary {
    background: var(--svc-blue);
    color: white;
}

.services-button-primary:hover {
    background: var(--svc-dark);
    color: white;
    transform: translateY(-3px);
}

.services-button-outline {
    border-color: rgba(51,92,154,.35);
    color: var(--svc-dark);
    background: rgba(255,255,255,.75);
}

.services-button-outline:hover {
    border-color: var(--svc-gold);
    background: white;
    color: var(--svc-blue);
}

/* ==========================================================
   02. SERVICES HERO
========================================================== */

.services-hero {
    min-height: 650px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 65px max(28px, calc((100% - 1164px)/2)) 25px;

    background-color: #f3f5f8;
    background-image:
        linear-gradient(
            90deg,
            rgba(248,249,251,.98) 0%,
            rgba(248,249,251,.92) 42%,
            rgba(248,249,251,.25) 100%
        ),
        url("../images/services/services-hero-bg.jpg");

    background-size: cover;
    background-position: center;
}

.services-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(198,150,74,.13),
            transparent 32%
        );
    pointer-events: none;
}

.services-hero-container {
    width: 100%;
    max-width: 1164px;
    min-height: 500px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 25px;

    position: relative;
    z-index: 2;
}

.services-hero-copy {
    max-width: 580px;
}

.services-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--svc-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
}

.services-eyebrow > span {
    width: 28px;
    height: 2px;
    background: var(--svc-gold);
}

.services-hero h1 {
    margin: 22px 0 20px;
    color: var(--svc-dark);

    font-family: "Manrope", sans-serif;
    font-size: clamp(40px,5vw,65px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.055em;
}

.services-hero h1 em {
    color: var(--svc-gold);
    font-style: normal;
}

.services-hero-copy > p {
    max-width: 510px;
    color: var(--svc-muted);
    font-size: 14px;
    line-height: 1.9;
}

.services-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.services-hero-assurance {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 40px;
}

.hero-assurance-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    background: white;
    border: 1px solid var(--svc-border);
    border-radius: 50%;
    color: var(--svc-gold);
    font-size: 18px;
}

.services-hero-assurance > span:last-child {
    display: flex;
    flex-direction: column;
}

.services-hero-assurance strong {
    color: var(--svc-dark);
    font-size: 12px;
}

.services-hero-assurance small {
    color: var(--svc-muted);
    font-size: 10px;
}

/* ==========================================================
   03. AMBULANCE VIDEO CUTOUT
========================================================== */

.ambulance-visual {
    height: 465px;
    min-width: 0;
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    overflow: visible;
}

.ambulance-circle {
    width: min(390px,95%);
    aspect-ratio: 1;
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(51,92,154,.18);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255,255,255,.75),
        rgba(237,242,248,.15) 70%,
        transparent
    );
}

.ambulance-circle::before {
    content: "";
    position: absolute;
    inset: 25px;
    border: 1px solid rgba(198,150,74,.4);
    border-radius: 50%;
}

.ambulance-circle::after {
    content: "";
    position: absolute;
    inset: 65px;
    border: 1px dashed rgba(51,92,154,.3);
    border-radius: 50%;
}

.ambulance-video,
.ambulance-fallback {
    width: 110%;
    height: 100%;

    position: absolute;
    right: -5%;
    bottom: 0;
    z-index: 2;

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

    pointer-events: none;
}

.ambulance-video {
    filter: drop-shadow(0 18px 18px rgba(23,44,73,.12));
}

.ambulance-fallback {
    z-index: 2;
}

.ambulance-fallback[hidden] {
    display: none !important;
}

.ambulance-floating-note {
    position: absolute;
    right: -5px;
    bottom: 38px;
    z-index: 4;

    padding: 13px 17px;

    display: flex;
    align-items: center;
    gap: 12px;

    background: white;
    border: 1px solid var(--svc-border);
    border-radius: 6px;
    box-shadow: var(--svc-shadow);
}

.ambulance-floating-note > span:last-child {
    display: flex;
    flex-direction: column;
}

.ambulance-floating-note strong {
    color: var(--svc-dark);
    font-size: 11px;
}

.ambulance-floating-note small {
    color: var(--svc-muted);
    font-size: 9px;
}

.ambulance-pulse {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #2a9d65;
    box-shadow: 0 0 0 5px rgba(42,157,101,.12);
    flex-shrink: 0;
}

.services-hero-bottom {
    max-width: 1164px;
    margin: 28px auto 0;
    padding-top: 16px;

    display: flex;
    justify-content: space-between;
    gap: 15px;

    border-top: 1px solid rgba(51,92,154,.15);

    color: #8792a1;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

/* ==========================================================
   04. EMERGENCY SERVICES BANNER
========================================================== */

.emergency-section {
    padding: 26px max(28px, calc((100% - 1164px)/2));
    background: var(--svc-dark);
    color: white;
}

.emergency-inner {
    max-width: 1164px;
    margin: auto;

    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;
    gap: 22px;
}

.emergency-symbol {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    background: rgba(255,255,255,.11);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;

    color: var(--svc-gold-light);
    font-size: 32px;
    font-weight: 500;
}

.emergency-label {
    color: var(--svc-gold-light);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
}

.emergency-copy h2 {
    margin: 5px 0;
    color: white;
    font-size: 21px;
}

.emergency-copy p {
    margin: 0;
    color: #d4ddea;
    font-size: 11px;
}

.emergency-action {
    padding: 13px 19px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

    color: var(--svc-dark);
    background: white;
    border-radius: 4px;

    white-space: nowrap;
    font-size: 11px;
    font-weight: 800;

    transition: .25s ease;
}

.emergency-action:hover {
    color: var(--svc-dark);
    background: var(--svc-gold-light);
    transform: translateY(-2px);
}

/* ==========================================================
   05. INTRODUCTION
========================================================== */

.services-introduction {
    padding: 85px max(28px, calc((100% - 1164px)/2));
    background: white;
}

.services-intro-inner {
    max-width: 1164px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 65px;
}

.services-intro-inner h2,
.directory-heading h2,
.specialist-banner h2,
.services-contact-heading h2 {
    margin: 15px 0 0;
    color: var(--svc-dark);

    font-family: "Manrope",sans-serif;
    font-size: clamp(32px,4vw,46px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.2;
}

.services-intro-inner h2 em,
.directory-heading h2 em,
.specialist-banner h2 em,
.services-contact-heading h2 em {
    color: var(--svc-gold);
    font-style: normal;
}

.services-intro-inner > p {
    max-width: 490px;
    margin: 0;
    color: var(--svc-muted);
    font-size: 13px;
    line-height: 1.9;
}

/* ==========================================================
   06. SERVICE DIRECTORY
========================================================== */

.service-directory {
    padding: 85px max(28px, calc((100% - 1164px)/2));
    background: var(--svc-paper);
}

.directory-heading {
    margin-bottom: 32px;
}

.directory-heading h2 {
    margin-top: 10px;
}

.directory-heading > p {
    color: var(--svc-muted);
    font-size: 13px;
}

/* ==========================================================
   07. SEARCH AND FILTERS
========================================================== */

.service-filters {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 15px;
    margin-bottom: 18px;
}

.service-search {
    min-height: 54px;
    padding: 0 14px;

    display: flex;
    align-items: center;
    gap: 12px;

    background: white;
    border: 1px solid var(--svc-border);
    border-radius: 5px;

    transition: border-color .2s ease;
}

.service-search:focus-within {
    border-color: var(--svc-blue);
    box-shadow: 0 0 0 3px rgba(51,92,154,.07);
}

.service-search svg {
    width: 19px;
    height: 19px;

    flex-shrink: 0;

    fill: none;
    stroke: var(--svc-muted);
    stroke-width: 1.8;
    stroke-linecap: round;
}

.service-search input {
    width: 100%;
    min-width: 0;
    height: 48px;

    border: none;
    outline: none;
    background: transparent;

    color: var(--svc-ink);
    font-size: 12px;
}

.service-search input::placeholder {
    color: #9aa5b4;
}

.service-search button {
    width: 30px;
    height: 30px;
    display: none;
    flex-shrink: 0;

    border: none;
    border-radius: 50%;
    background: var(--svc-soft);
    color: var(--svc-dark);
    font-size: 21px;
    line-height: 1;
}

.service-search button.visible {
    display: grid;
    place-items: center;
}

.service-filter-select {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.service-filter-select label {
    color: var(--svc-muted);
    font-size: 10px;
    font-weight: 700;
}

.service-filter-select select {
    width: 100%;
    min-height: 54px;
    padding: 0 14px;

    border: 1px solid var(--svc-border);
    border-radius: 5px;

    background: white;
    color: var(--svc-dark);

    font-size: 12px;
    font-weight: 700;

    outline-color: var(--svc-blue);
    cursor: pointer;
}

.service-results-count {
    margin-bottom: 18px;
    color: var(--svc-muted);
    font-size: 11px;
}

/* ==========================================================
   08. DEPARTMENT GRID
========================================================== */

.mdm-services-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    align-items: start;
    gap: 22px;
}

.mdm-service-card {
    min-width: 0;
    height: 100%;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    background: white;

    border: 1px solid #e9edf2;
    border-radius: 6px;

    box-shadow: 0 4px 18px rgba(27,49,79,.035);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.mdm-service-card:hover {
    border-color: rgba(51,92,154,.3);
    transform: translateY(-5px);
    box-shadow: var(--svc-shadow);
}

.mdm-service-card[hidden] {
    display: none !important;
}

/* ==========================================================
   09. DEPARTMENT IMAGE CUTOUTS
========================================================== */

.department-visual {
    height: 195px;
    min-height: 195px;

    position: relative;
    isolation: isolate;

    overflow: hidden;

    display: grid;
    place-items: center;

    background: #edf2f8;
}

.dental-visual,
.optical-visual {
    background: #edf2f8;
}

.childcare-visual,
.pharmacy-visual {
    background: #f6f1e8;
}

.surgery-visual,
.radiology-visual,
.laboratory-visual {
    background: #eef2f5;
}

.urology-visual,
.physiotherapy-visual {
    background: #eaf0f6;
}

.ent-visual,
.ipd-visual {
    background: #f2f2ed;
}

.department-number {
    position: absolute;
    top: 16px;
    left: 18px;
    z-index: 3;

    color: rgba(35,70,116,.55);

    font-family: "Manrope",sans-serif;
    font-size: 11px;
    font-weight: 800;
}

.department-visual-icon {
    position: relative;
    z-index: 1;

    color: rgba(51,92,154,.25);
    font-size: 85px;
    line-height: 1;
}

.department-cutout {
    position: absolute;
    right: 7%;
    bottom: 0;
    z-index: 2;

    width: 65%;
    height: 88%;

    object-fit: contain;
    object-position: bottom right;

    pointer-events: none;
}

.department-cutout[hidden] {
    display: none !important;
}

.pharmacy-photo {
    width: 75%;
    height: 88%;
}

.department-tag {
    position: absolute;
    right: 15px;
    bottom: 13px;
    z-index: 4;

    padding: 5px 9px;

    background: rgba(255,255,255,.9);
    border-radius: 3px;

    color: var(--svc-blue);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .11em;
}

/* ==========================================================
   10. DEPARTMENT CONTENT
========================================================== */

.department-content {
    padding: 23px 22px 25px;
    flex: 1;

    display: flex;
    flex-direction: column;
}

.department-kicker {
    color: var(--svc-gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
}

.department-content h3 {
    margin: 8px 0 11px;

    color: var(--svc-dark);

    font-family: "Manrope",sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.department-content > p {
    margin-bottom: 16px;
    color: var(--svc-muted);
    font-size: 11px;
    line-height: 1.8;
}

.department-content h4 {
    margin: 8px 0 12px;
    padding-top: 14px;

    color: var(--svc-dark);
    border-top: 1px solid var(--svc-border);

    font-size: 11px;
    font-weight: 800;
}

/* ==========================================================
   11. BILINGUAL SERVICE LISTS
========================================================== */

.bilingual-list {
    margin: 0 0 17px;
    padding: 0;

    list-style: none;
}

.bilingual-list li {
    position: relative;

    padding: 10px 0 10px 17px;

    border-bottom: 1px solid #f0f2f5;
}

.bilingual-list li::before {
    content: "";

    width: 5px;
    height: 5px;

    position: absolute;
    top: 17px;
    left: 0;

    border-radius: 50%;

    background: var(--svc-gold);
}

.bilingual-list li strong {
    display: block;

    color: #364963;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.55;
}

.bilingual-list li small {
    display: block;
    margin-top: 3px;

    color: var(--svc-muted);

    font-size: 10px;
    line-height: 1.65;
}

/* ==========================================================
   12. SPECIALIST PROFILE
========================================================== */

.specialist-profile {
    display: flex;
    align-items: center;
    gap: 11px;

    margin: 8px 0 14px;
    padding: 12px;

    background: #f8f9fb;
    border: 1px solid var(--svc-border);
    border-radius: 5px;
}

.specialist-avatar {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;
    flex-shrink: 0;

    background: var(--svc-blue);
    color: white;

    border-radius: 50%;

    font-family: "Manrope",sans-serif;
    font-size: 11px;
    font-weight: 800;
}

.specialist-profile > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.specialist-profile strong {
    color: var(--svc-dark);
    font-size: 11px;
}

.specialist-profile small {
    color: var(--svc-gold);
    font-size: 9px;
    font-weight: 700;
}

/* ==========================================================
   13. CARD CONTACT CTA
========================================================== */

.department-contact {
    margin-top: auto;
    padding-top: 14px;

    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;

    border-top: 1px solid var(--svc-border);

    color: var(--svc-blue);

    font-size: 10px;
    font-weight: 800;

    transition: color .2s ease;
}

.department-contact:hover {
    color: var(--svc-gold);
}

.department-contact span {
    color: var(--svc-gold);
    font-size: 15px;
}

/* Pharmacy availability */

.pharmacy-availability {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 13px;

    background: #eff7f1;
    border-radius: 5px;

    margin: 7px 0 15px;
}

.pharmacy-status-dot {
    width: 9px;
    height: 9px;

    background: #2a9d65;
    border-radius: 50%;
    flex-shrink: 0;
}

.pharmacy-availability > span:last-child {
    display: flex;
    flex-direction: column;
}

.pharmacy-availability strong {
    color: #23754a;
    font-size: 11px;
}

.pharmacy-availability small {
    color: var(--svc-muted);
    font-size: 9px;
}

.availability-badge {
    align-self: flex-start;
    margin: 0 0 15px;
    padding: 7px 11px;

    background: #eff7f1;
    border-radius: 3px;

    color: #23754a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
}

/* ==========================================================
   14. EMPTY SEARCH RESULTS
========================================================== */

.service-empty {
    padding: 65px 20px;
    background: white;
    border: 1px dashed #ccd5e1;
    border-radius: 6px;
    text-align: center;
}

.service-empty[hidden] {
    display: none !important;
}

.service-empty > span {
    color: var(--svc-gold);
    font-size: 35px;
}

.service-empty h3 {
    margin: 12px 0;
    color: var(--svc-dark);
}

.service-empty p {
    color: var(--svc-muted);
    font-size: 12px;
}

.service-empty button {
    margin-top: 10px;
    padding: 11px 17px;

    background: var(--svc-blue);
    color: white;
    border: 0;
    border-radius: 4px;

    font-size: 11px;
    font-weight: 800;
}

/* ==========================================================
   15. SPECIALIST BANNER
========================================================== */

.specialist-banner {
    min-height: 420px;

    padding: 65px max(28px,calc((100% - 1164px)/2));

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 35px;

    background: linear-gradient(
        110deg,
        #eef2f8,
        #f8f5ed
    );

    overflow: hidden;
}

.specialist-banner-content {
    max-width: 540px;
}

.specialist-banner h2 {
    margin: 15px 0 20px;
}

.specialist-banner-content > p {
    max-width: 460px;
    color: var(--svc-muted);
    font-size: 12px;
    line-height: 1.9;
}

.specialist-banner-art {
    min-width: 0;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.specialist-banner-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

/* ==========================================================
   16. CONTACT SECTION
========================================================== */

.services-contact {
    padding: 90px max(28px,calc((100% - 1164px)/2));
    background: white;
}

.services-contact-inner {
    max-width: 1164px;
    margin: auto;
}

.services-contact-heading {
    max-width: 650px;
    margin-bottom: 40px;
}

.services-contact-heading h2 {
    margin: 13px 0;
}

.services-contact-heading > p {
    max-width: 510px;
    color: var(--svc-muted);
    font-size: 13px;
    line-height: 1.85;
}

.services-contact-cards {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
}

.services-contact-card {
    min-height: 225px;
    padding: 27px;

    border: 1px solid var(--svc-border);
    border-radius: 5px;

    transition: .25s ease;
}

.services-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--svc-shadow);
}

.services-contact-icon {
    width: 39px;
    height: 39px;

    margin-bottom: 20px;

    display: grid;
    place-items: center;

    background: var(--svc-soft);
    color: var(--svc-blue);
    border-radius: 50%;

    font-size: 17px;
}

.services-contact-card h3 {
    margin: 0 0 9px;
    color: var(--svc-dark);
    font-size: 16px;
}

.services-contact-card p {
    min-height: 62px;
    color: var(--svc-muted);
    font-size: 11px;
    line-height: 1.8;
}

.services-contact-card > a,
.open-mdm-support {
    padding: 0 0 5px;

    border: 0;
    border-bottom: 1px solid #d8e0ea;

    background: transparent;
    color: var(--svc-blue);

    font-size: 10px;
    font-weight: 800;

    cursor: pointer;
}

.services-contact-card > a:hover,
.open-mdm-support:hover {
    color: var(--svc-gold);
}

/* ==========================================================
   17. RESPONSIVE TABLET
========================================================== */

@media(max-width:1050px) {

    .mdm-services-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .services-hero-container {
        grid-template-columns: 1fr .9fr;
    }

    .ambulance-visual {
        height: 390px;
    }

    .specialist-banner {
        gap: 20px;
    }

}

/* ==========================================================
   18. RESPONSIVE MOBILE
========================================================== */

@media(max-width:760px) {

    .services-hero {
        min-height: auto;
        padding: 55px 22px 25px;
        background-position: center right;
    }

    .services-hero-container {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .services-hero h1 {
        font-size: clamp(39px,10vw,55px);
    }

    .services-hero-copy > p {
        font-size: 13px;
    }

    .ambulance-visual {
        height: 320px;
        margin-top: 10px;
    }

    .ambulance-video,
    .ambulance-fallback {
        width: 100%;
        right: 0;
    }

    .ambulance-circle {
        width: 280px;
    }

    .ambulance-floating-note {
        right: 0;
        bottom: 14px;
    }

    .services-hero-bottom {
        margin-top: 15px;
        font-size: 8px;
        letter-spacing: .07em;
    }

    .emergency-section {
        padding: 25px 22px;
    }

    .emergency-inner {
        grid-template-columns: 50px 1fr;
        gap: 15px;
    }

    .emergency-symbol {
        width: 48px;
        height: 48px;
        font-size: 26px;
    }

    .emergency-copy h2 {
        font-size: 17px;
    }

    .emergency-action {
        grid-column: 1 / -1;
        justify-self: start;
        margin-left: 63px;
    }

    .services-introduction,
    .service-directory,
    .services-contact {
        padding: 65px 22px;
    }

    .services-intro-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-intro-inner h2,
    .directory-heading h2,
    .specialist-banner h2,
    .services-contact-heading h2 {
        font-size: 34px;
    }

    .service-filters {
        grid-template-columns: 1fr;
    }

    .mdm-services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .department-visual {
        height: 220px;
    }

    .department-content {
        padding: 24px 22px;
    }

    .bilingual-list li {
        padding: 11px 0 11px 17px;
    }

    .bilingual-list li strong {
        font-size: 12px;
    }

    .bilingual-list li small {
        font-size: 10px;
    }

    .specialist-banner {
        grid-template-columns: 1fr;
        padding: 60px 22px 20px;
    }

    .specialist-banner-art {
        height: 270px;
    }

    .services-contact-cards {
        grid-template-columns: 1fr;
    }

    .services-contact-card {
        min-height: auto;
    }

    .services-contact-card p {
        min-height: auto;
    }

}

/* ==========================================================
   19. SMALL MOBILE
========================================================== */

@media(max-width:420px) {

    .services-hero {
        padding: 45px 18px 22px;
    }

    .services-hero h1 {
        font-size: 37px;
    }

    .services-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ambulance-visual {
        height: 270px;
    }

    .services-hero-bottom {
        flex-direction: column;
        gap: 9px;
    }

    .emergency-section {
        padding: 22px 18px;
    }

    .emergency-inner {
        grid-template-columns: 1fr;
    }

    .emergency-action {
        margin-left: 0;
    }

    .services-introduction,
    .service-directory,
    .services-contact {
        padding: 55px 18px;
    }

    .department-visual {
        height: 190px;
    }

    .department-content {
        padding: 21px 18px;
    }

}

/* ==========================================================
   20. REDUCED MOTION AND ACCESSIBILITY
========================================================== */

@media(prefers-reduced-motion:reduce) {

    .services-hero *,
    .service-directory *,
    .specialist-banner *,
    .emergency-section * {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

}
