/* ======================================
   METRO DETECTIVE AGENCY - ABOUT PAGE
   full-width photo banner, then the three About blocks (Our Experience, Our Approach,
   Confidentiality & Reach) as red-numbered cards in one row.
   All rules are scoped under .mda-about. Side gutters follow the navbar (60 / 47 / 27 / 20px).
====================================== */

.mda-about {
    --mda-red: #ee3939;
    --mda-ink: #000000;
    --mda-muted: #5f5f5f;
    --mda-card: #fdf4f4;
    --mda-card-line: #f6e1e1;
    --mda-gutter: 60px;

    position: relative;
    width: 100%;
    padding: 0;
    overflow: clip;
    background: #ffffff;
    color: var(--mda-ink);
    font-family: "DM Sans", sans-serif;
}

.mda-about *,
.mda-about *::before,
.mda-about *::after {
    box-sizing: border-box;
}

.mda-about a {
    color: inherit;
    text-decoration: none;
}

.mda-red {
    color: var(--mda-red);
}

/* ======================================
   BANNER
====================================== */

.mda-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(380px, 52vh, 500px);
    padding: 70px var(--mda-gutter);
    overflow: hidden;
    isolation: isolate;
    background: #000000;
    color: #ffffff;
}

.mda-banner-img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 60% 42%;   /* the team at the desk and the evidence board stay in view */
}

/* dark behind the words on the left, the photo stays clear on the right */
.mda-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.75) 30%, rgba(0, 0, 0, 0.2) 62%, rgba(0, 0, 0, 0.1) 100%);
}

.mda-banner-copy {
    max-width: 640px;
}

/* the eyebrow is the page's H1 (for search); these keep the heading defaults from changing its look */
.mda-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px;
    font-family: inherit;
    line-height: 1.5;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff;
}

.mda-eyebrow::before {
    content: "";
    width: 38px;
    height: 2px;
    background: var(--mda-red);
}

.mda-title {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(40px, 4.6vw, 66px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.mda-title span {
    display: inline-block;
}

.mda-title .mda-title-red {
    color: var(--mda-red);
}

.mda-rule {
    display: block;
    width: 56px;
    height: 3px;
    margin: 22px 0 18px;
    background: var(--mda-red);
    transform-origin: left center;
}

.mda-tagline {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* ======================================
   ABOUT BLOCKS: three cards in a row
====================================== */

.mda-main {
    padding: 64px var(--mda-gutter) 32px;
}

.mda-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mda-ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-left: -10px;                 /* the drawn icon lines up with the paragraph below; the hover circle sits round it */
    border-radius: 50%;
    color: var(--mda-red);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mda-ico svg {
    width: 26px;
    height: 26px;
}

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

/* number + icon + title share the first row; the paragraph runs underneath */
.mda-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 4px;
    align-items: center;
    align-content: start;
    padding: 26px 28px 28px;
    border: 1px solid var(--mda-card-line);
    border-radius: 8px;
    background: var(--mda-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.mda-card:hover {
    border-color: rgba(238, 57, 57, 0.45);
    background: #ffffff;
    box-shadow: 0 14px 30px -18px rgba(238, 57, 57, 0.55);
    transform: translateY(-3px);
}

.mda-card:hover .mda-ico {
    background: var(--mda-red);
    color: #ffffff;
}

.mda-card h3 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--mda-ink);
}

.mda-card p {
    grid-column: 1 / -1;
    margin: 16px 0 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--mda-muted);
}

/* ======================================
   VISION BAND
====================================== */

/* sits straight under the cards, same side edges, no band of its own */
.mda-vision-wrap {
    position: relative;
    z-index: 1;
    padding: 0 var(--mda-gutter) 56px;
    background: #ffffff;
}

.mda-vision-wrap .metro-vision {
    margin: 0;
}

/* ======================================
   TABLET AND MOBILE
====================================== */

@media (max-width: 1199px) {
    .mda-about {
        --mda-gutter: 47px;
    }

    .mda-main {
        padding-top: 52px;
        padding-bottom: 28px;
    }

    .mda-card {
        padding: 22px 22px 24px;
    }

    .mda-card h3 {
        font-size: 23px;
    }
}

@media (max-width: 991px) {
    .mda-about {
        --mda-gutter: 27px;
    }

    .mda-banner {
        min-height: 400px;
    }

    .mda-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
}

@media (max-width: 767px) {
    .mda-about {
        --mda-gutter: 20px;
    }

    .mda-banner {
        min-height: 0;
        padding-top: 64px;
        padding-bottom: 56px;
    }

    .mda-banner-img {
        object-position: 78% 40%;
    }

    .mda-banner::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.85) 100%);
    }

    .mda-tagline {
        font-size: 16px;
    }

    .mda-main {
        padding-top: 44px;
        padding-bottom: 24px;
    }

    .mda-card {
        padding: 22px 20px 24px;
    }

    .mda-vision-wrap {
        padding-bottom: 44px;
    }
}

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

    .mda-about *,
    .mda-about *::before,
    .mda-about *::after {
        transition-duration: 0.01ms !important;
    }
}

/* ======================================
   MISSION & VALUES (dark glass cards + case-file note, GSAP)
====================================== */

.mv {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 0;
    background: #09090b;
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
}

/* dark desk photo with blurred papers on it */
.mv-bg {
    position: absolute;
    inset: -3%;
    z-index: -2;
    pointer-events: none;
    background: url("../images/mission-bg.jpg") center 60% / cover no-repeat;
}

.mv-bg:after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(6, 6, 9, 0.28);
}

.mv-inner {
    position: relative;
    padding: clamp(64px, 8vw, 110px) clamp(24px, 7vw, 120px) clamp(70px, 8vw, 120px);
}

.mv-title {
    margin: 0 0 clamp(28px, 3.4vw, 48px);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(38px, 3.8vw, 60px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -1px;
    color: #ffffff;
}

.mv-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
    column-gap: 8%;
    align-items: start;
}

.mv-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---- glass cards ---- */
.mv-card {
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    backdrop-filter: blur(14px) saturate(1.15);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}

.mv-card:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.mv-card.is-active {
    border-color: rgba(238, 57, 57, 0.85);
    background: rgba(238, 57, 57, 0.07);
    box-shadow: 0 0 0 1px rgba(238, 57, 57, 0.2), 0 0 32px rgba(238, 57, 57, 0.3), inset 0 0 34px rgba(238, 57, 57, 0.1);
}

.mv-head {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 22px 24px;
    border: 0;
    background: none;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
}

.mv-head:focus-visible {
    outline: 2px solid #ee3939;
    outline-offset: -4px;
    border-radius: 14px;
}

.mv-ico {
    flex: 0 0 auto;
    width: 0;
    height: 36px;
    margin-right: 0;
    overflow: hidden;
    opacity: 0;
    color: #ee3939;
    transition: width 0.4s ease, margin 0.4s ease, opacity 0.4s ease;
}

.mv-ico svg {
    display: block;
    width: 36px;
    height: 36px;
}

.mv-card.is-active .mv-ico {
    width: 36px;
    margin-right: 14px;
    opacity: 1;
}

.mv-name {
    flex: 1;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(20px, 1.9vw, 28px);
    font-weight: 600;
    line-height: 1.2;
}

.mv-chev {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    margin: -4px 4px 0 14px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
    transition: transform 0.4s ease, margin 0.4s ease;
}

.mv-card.is-active .mv-chev {
    margin-top: 4px;
    transform: rotate(-135deg);
}

.mv-body {
    height: 0;
    overflow: hidden;
}

.mv-card.is-active .mv-body {
    height: auto;
}

.mv-body p {
    margin: 0;
    padding: 0 24px 24px;
    font-size: clamp(15px, 1.12vw, 17px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

/* ---- red wire from the open card to the target ---- */
.mv-wire {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.mv-wire path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mv-wire-line {
    stroke: #ee3939;
    stroke-width: 1.5;
    filter: drop-shadow(0 0 4px rgba(238, 57, 57, 0.9));
}

.mv-wire-pulse {
    stroke: #ffb0b0;
    stroke-width: 2.6;
    filter: drop-shadow(0 0 6px rgba(255, 90, 90, 1));
}

.mv-wire-dot {
    fill: #ff4a4a;
    filter: drop-shadow(0 0 6px rgba(255, 70, 70, 1));
}

.mv-wire-halo {
    fill: none;
    stroke: rgba(255, 74, 74, 0.7);
    stroke-width: 1.5;
}

/* ---- case-file panel ---- */
.mv-panel {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    aspect-ratio: 410 / 495;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
}

.mv-redcard {
    position: absolute;
    left: 9.3%;
    top: 6%;
    width: 83.6%;
    height: 70%;
    border: 1px solid rgba(238, 57, 57, 0.8);
    border-radius: 14px;
    box-shadow: 0 0 22px rgba(238, 57, 57, 0.25);
}

.mv-note {
    position: absolute;
    left: 3.2%;
    top: 2.6%;
    width: 87.3%;
    height: 94.6%;
    padding: clamp(56px, 6.6vw, 84px) clamp(18px, 2.2vw, 30px) 24px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.mv-note-text {
    margin: 0;
    font-size: clamp(14px, 1.08vw, 16.5px);
    line-height: 1.7;
    color: #ffffff;
}

.mv-clip {
    position: absolute;
    left: 6%;
    top: -9%;
    width: 9%;
    height: auto;
    overflow: visible;
    transform: rotate(-8deg);
    filter: drop-shadow(0 0 6px rgba(255, 60, 60, 0.9));
}

.mv-cross {
    position: absolute;
    left: 45.9%;
    top: 55.4%;
    width: 17.5%;
    height: auto;
    margin: -4.4% 0 0 -8.7%;
    overflow: visible;
    filter: drop-shadow(0 0 4px rgba(255, 60, 60, 0.8));
}

.mv-polaroid {
    position: absolute;
    right: 2.5%;
    bottom: 3.5%;
    z-index: 2;
    width: 47.6%;
    margin: 0;
    padding: 4.4% 4.4% 7%;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55);
    transform: rotate(4deg);
}

.mv-polaroid img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 166 / 172;
    object-fit: cover;
}

.mv-tape {
    position: absolute;
    left: 26%;
    top: -7%;
    width: 48%;
    height: 12%;
    background: rgba(226, 214, 168, 0.88);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transform: rotate(-3deg);
}

.mv-stamp {
    position: absolute;
    left: 9%;
    top: 71%;
    z-index: 3;
    padding: 0.35em 0.7em;
    border: 3px solid rgba(214, 52, 52, 0.9);
    border-radius: 5px;
    color: rgba(214, 52, 52, 0.95);
    font-size: clamp(14px, 1.7vw, 24px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
    white-space: nowrap;
    transform: rotate(-9deg);
}

.mv-tick {
    position: absolute;
    right: -2.2%;
    top: 75.8%;
    z-index: 3;
    width: 3.4%;
    height: 1px;
    background: #ff4d4d;
}

.mv-tick:after {
    content: "";
    position: absolute;
    right: -3px;
    top: -3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff4d4d;
    box-shadow: 0 0 8px rgba(255, 70, 70, 1);
}

/* ---- tablet and phone ---- */
@media (max-width: 991px) {
    .mv-grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 44px;
    }

    .mv-wire,
    .mv-note-text {
        display: none;
    }

    .mv-panel {
        max-width: 460px;
        margin: 0 auto;
        aspect-ratio: 1 / 0.82;
    }

    .mv-note {
        padding: 0;
    }

    .mv-polaroid {
        width: 48%;
        right: 9%;
        bottom: 8%;
    }

    .mv-stamp {
        left: 7%;
        top: 60%;
    }

    .mv-cross {
        left: 44%;
        top: 40%;
    }
}

@media (max-width: 575px) {
    .mv-head {
        padding: 18px 18px;
    }

    .mv-body p {
        padding: 0 18px 20px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .mv-card,
    .mv-ico,
    .mv-chev {
        transition: none;
    }
}

/* ======================================
   WHO WE WORK FOR, AND WHERE (local SEO copy)
   three audience cards, then a band with the head office card, centres and case steps.
   Sits after Mission & Values; uses the site's plain .container for the navbar edges.
====================================== */

.mal {
    --mal-red: #ee3939;
    --mal-ink: #000000;
    --mal-muted: #5f5f5f;
    --mal-card: #fdf4f4;
    --mal-card-line: #f6e1e1;
    padding: clamp(36px, 6vh, 64px) 0;
    background: #ffffff;
    font-family: "DM Sans", sans-serif;
}

.mal-head {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 24px 60px;
    align-items: end;
    margin-bottom: clamp(18px, 3vh, 30px);
}

.mal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mal-red);
}

.mal-eyebrow i {
    display: block;
    width: 38px;
    height: 2px;
    background: var(--mal-red);
}

.mal-title {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(32px, min(3.4vw, 5.8vh), 48px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--mal-ink);
}

.mal-title em {
    font-style: normal;
    color: var(--mal-red);
}

.mal-lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--mal-muted);
}

/* ---- audience cards (same look as the About cards above) ---- */
.mal-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.mal-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(16px, 2.6vh, 24px) 24px clamp(18px, 2.8vh, 26px);
    border: 1px solid var(--mal-card-line);
    border-radius: 8px;
    background: var(--mal-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.mal-card:hover {
    border-color: rgba(238, 57, 57, 0.45);
    background: #ffffff;
    box-shadow: 0 14px 30px -18px rgba(238, 57, 57, 0.55);
    transform: translateY(-3px);
}

.mal-card-no {
    margin-bottom: 8px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
    color: var(--mal-red);
}

.mal-card-h {
    margin: 0 0 8px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    color: var(--mal-ink);
}

.mal-card-p {
    flex: 1;
    margin: 0 0 14px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--mal-muted);
}

.mal-card-go,
.mal-office-links a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    font-size: 15px;
    font-weight: 600;
    color: var(--mal-red);
}

.mal-card-go i,
.mal-office-links a i {
    transition: transform 0.25s ease;
}

.mal-card-go:hover,
.mal-card-go:focus {
    color: #c92b2b;
}

.mal-card-go:hover i,
.mal-card-go:focus i,
.mal-office-links a:hover i,
.mal-office-links a:focus i {
    transform: translateX(4px);
}

/* ---- head office + centres + steps ---- */
.mal-band {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 16px;
}

.mal-office {
    padding: clamp(18px, 2.8vh, 26px) 26px;
    border-radius: 8px;
    background: #09090b;
    color: rgba(255, 255, 255, 0.72);
}

.mal-office-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mal-red);
}

.mal-office-addr {
    margin: 0 0 10px;
    font-style: normal;
    font-size: 14.5px;
    line-height: 1.55;
    color: #ffffff;
}

.mal-office-lines {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    font-size: 14.5px;
    line-height: 1.8;
}

.mal-office-lines i {
    margin-right: 10px;
    color: var(--mal-red);
}

.mal-office-lines a {
    color: #ffffff;
    word-break: break-word;
}

.mal-office-lines a:hover,
.mal-office-lines a:focus {
    color: var(--mal-red);
}

.mal-office-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.mal-office-links a {
    font-size: 14px;
    color: #ffffff;
    border-bottom-color: var(--mal-red);
}

.mal-office-links a:hover,
.mal-office-links a:focus {
    color: var(--mal-red);
}

.mal-reach {
    padding: clamp(18px, 2.8vh, 26px) 28px;
    border: 1px solid var(--mal-card-line);
    border-radius: 8px;
    background: #ffffff;
}

.mal-reach-h {
    margin: 0 0 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    color: var(--mal-ink);
}

.mal-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.mal-chips li {
    padding: 4px 13px;
    border: 1px solid var(--mal-card-line);
    border-radius: 999px;
    background: var(--mal-card);
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--mal-muted);
}

.mal-chips-links li {
    padding: 0;
    background: #ffffff;
}

.mal-chips-links a {
    display: block;
    padding: 4px 13px;
    border-radius: 999px;
    color: var(--mal-ink);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mal-chips-links a:hover,
.mal-chips-links a:focus {
    background: var(--mal-red);
    color: #ffffff;
}

.mal-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: mal-step;
}

.mal-steps li {
    position: relative;
    padding: 20px 0 0;
    border-top: 2px solid var(--mal-card-line);
    counter-increment: mal-step;
}

.mal-steps li::before {
    content: counter(mal-step);
    position: absolute;
    top: -13px;
    left: 0;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--mal-red);
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.mal-steps strong {
    display: block;
    margin-bottom: 2px;
    font-size: 15px;
    font-weight: 600;
    color: var(--mal-ink);
}

.mal-steps span {
    display: block;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--mal-muted);
}

/* wide desktop: each heading in the right-hand panel sits to the left of its chips / steps */
@media (min-width: 1440px) {
    .mal-reach {
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr);
        column-gap: 24px;
        align-items: start;
    }
    .mal-reach-h {
        grid-column: 1;
        margin: 0;
        padding-top: 4px;
    }
    .mal-chips,
    .mal-steps {
        grid-column: 2;
    }
    .mal-reach-h:last-of-type {
        padding-top: 16px;
    }
    .mal-steps {
        margin-top: 14px;
    }
}

/* short laptop screens */
@media (min-width: 992px) and (max-height: 860px) {
    .mal-lead {
        font-size: 14.5px;
        line-height: 1.55;
    }
    .mal-card-p {
        line-height: 1.55;
    }
    .mal-office-addr {
        font-size: 14px;
    }
    .mal-office-lines {
        margin-bottom: 8px;
        line-height: 1.7;
    }
}

@media (max-width: 1199px) {
    .mal-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 24px;
    }
}

/* tablets and phones: the three cards become one swipeable row */
@media (max-width: 991px) {
    .mal {
        padding: 48px 0;
    }
    .mal-head,
    .mal-band {
        grid-template-columns: minmax(0, 1fr);
    }
    .mal-head {
        gap: 12px;
        margin-bottom: 22px;
    }
    .mal-cards {
        display: flex;
        gap: 14px;
        margin: 0 -27px 16px;
        padding: 0 27px 4px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 27px;
        scrollbar-width: none;
    }
    .mal-cards::-webkit-scrollbar {
        display: none;
    }
    .mal-card {
        flex: 0 0 min(380px, 78%);
        scroll-snap-align: start;
    }
    .mal-card:hover {
        transform: none;
    }
}

/* tablets: the head office card uses its width (address left, phone / email / links right) */
@media (min-width: 576px) and (max-width: 991px) {
    .mal-office {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: "label label" "addr lines" "addr links";
        column-gap: 28px;
        align-items: start;
    }
    .mal-office-label { grid-area: label; }
    .mal-office-addr { grid-area: addr; margin: 0; }
    .mal-office-lines { grid-area: lines; }
    .mal-office-links { grid-area: links; }
}

@media (max-width: 575px) {
    .mal-card,
    .mal-office,
    .mal-reach {
        padding: 20px 18px;
    }
    .mal-card {
        flex-basis: 84%;
    }
    .mal-steps {
        column-gap: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mal-card,
    .mal-card-go i,
    .mal-office-links a i,
    .mal-chips-links a {
        transition: none;
    }
    .mal-card:hover {
        transform: none;
    }
}
