/* ===================================
    Individual service pages (services/<category>/<slug>/index.html)
    One shared design system for all 32 pages: photo hero with breadcrumb, about, situations, process,
    a black "how we work" band, why Metro, FAQ accordion, call to action and related services.
    Generated by service-pages-source/build_service_pages.py - edit this file, not the generated HTML.
====================================== */

.metro-service-page {
    --svc-red: #ee3939;
    --svc-red-deep: #c62828;
    --svc-ink: #171717;
    --svc-text: #444444;
    --svc-muted: #6b7280;
    --svc-line: #e5e5e5;
    --svc-soft: #f6f6f6;
    --svc-black: #0b0b0c;
    --svc-dark: #1d1d1d;
}

.metro-service-page main {
    display: block;
}

/* ---------------------------------------------------------------- hero */
.svc-hero {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background-color: #111111;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
}

/* the text sits on the left half, so the wash is strongest there and clears the photo on the right */
.svc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 8, 10, 0.92) 0%, rgba(8, 8, 10, 0.82) 38%, rgba(8, 8, 10, 0.45) 68%, rgba(8, 8, 10, 0.25) 100%);
}

.svc-hero > .container {
    position: relative;
    z-index: 1;
}

.svc-hero-in {
    max-width: 760px;
}

/* breadcrumb */
.svc-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.62);
}

.svc-crumb a {
    color: rgba(255, 255, 255, 0.78);
}

.svc-crumb a:hover,
.svc-crumb a:focus {
    color: var(--svc-red);
}

.svc-crumb li + li::before {
    content: "/";
    margin-right: 6px;
    color: rgba(255, 255, 255, 0.35);
}

.svc-crumb li[aria-current] {
    color: #ffffff;
}

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

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

.svc-h1 {
    margin: 0 0 18px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(32px, min(3.6vw, 6vh), 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-wrap: balance;
}

.svc-lead {
    max-width: 640px;
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.svc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.svc-chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.svc-chips svg {
    width: 15px;
    height: 15px;
    flex: none;
    color: var(--svc-red);
}

/* buttons (shared by the hero and the closing call to action) */
.svc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.svc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border: 1px solid var(--svc-red);
    border-radius: 999px;
    background: var(--svc-red);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.svc-btn:hover,
.svc-btn:focus {
    background: var(--svc-red-deep);
    border-color: var(--svc-red-deep);
    color: #ffffff;
}

.svc-btn svg {
    width: 17px;
    height: 17px;
    flex: none;
}

.svc-btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.svc-btn-ghost:hover,
.svc-btn-ghost:focus {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--svc-ink);
}

/* ---------------------------------------------------------------- shared section furniture */
.metro-service-page .sec-title {
    margin: 0 0 16px;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.01em;
    color: var(--svc-ink);
    text-wrap: balance;
}

.svc-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--svc-red);
}

.svc-kicker i {
    display: block;
    width: 30px;
    height: 2px;
    flex: none;
    background: var(--svc-red);
}

.svc-head-center {
    max-width: 780px;
    margin: 0 auto 40px;
    text-align: center;
}

.svc-head-center .svc-kicker {
    justify-content: center;
}

.svc-head-center p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--svc-text);
}

/* ---------------------------------------------------------------- about */
.svc-about {
    background: #ffffff;
}

/* capped so the paragraphs keep a readable line length on a wide screen; the sections
   below stay full width, which gives the page some rhythm */
.svc-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 390px);
    gap: 56px;
    align-items: start;
    max-width: 1180px;
    margin: 0 auto;
}

.svc-about-copy p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--svc-text);
}

.svc-about-copy p:last-child {
    margin-bottom: 0;
}

.svc-card {
    padding: 30px;
    border: 1px solid var(--svc-line);
    border-radius: 16px;
    background: var(--svc-soft);
}

.svc-card h3 {
    margin: 0 0 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--svc-line);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--svc-ink);
}

.svc-ticks {
    margin: 0;
    padding: 0;
    list-style: none;
}

.svc-ticks li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
    padding: 9px 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--svc-ink);
}

.svc-ticks svg {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    color: var(--svc-red);
}

/* ---------------------------------------------------------------- when do you need this */
.svc-when {
    background: var(--svc-soft);
}

.svc-when-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.svc-when-item {
    padding: 26px 24px;
    border: 1px solid var(--svc-line);
    border-radius: 14px;
    background: #ffffff;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.svc-when-item:hover {
    border-color: rgba(238, 57, 57, 0.45);
    transform: translateY(-3px);
}

.svc-when-item h3 {
    margin: 0 0 10px;
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--svc-ink);
}

.svc-when-item h3::before {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    margin-bottom: 14px;
    border-radius: 2px;
    background: var(--svc-red);
}

.svc-when-item p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--svc-text);
}

/* ---------------------------------------------------------------- process */
.svc-process {
    background: #ffffff;
}

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

.svc-step {
    counter-increment: svc-step;
    position: relative;
    padding-top: 26px;
    border-top: 2px solid var(--svc-line);
}

.svc-step::before {
    content: "0" counter(svc-step);
    display: block;
    margin-bottom: 10px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    color: var(--svc-red);
}

/* the red bar shows how far along each step is */
.svc-step::after {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 38px;
    height: 2px;
    background: var(--svc-red);
}

.svc-step h3 {
    margin: 0 0 8px;
    font-family: "DM Sans", sans-serif;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--svc-ink);
}

.svc-step p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--svc-text);
}

/* ---------------------------------------------------------------- approach (black band) */
.svc-approach {
    background: var(--svc-black);
    color: #ffffff;
}

.svc-approach .sec-title {
    color: #ffffff;
}

.svc-approach-grid {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.svc-approach-copy p {
    margin: 0 0 16px;
    font-size: 15.5px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.76);
}

.svc-approach-copy p:last-child {
    margin-bottom: 0;
}

.svc-approach-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 36px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.svc-approach-list li {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.svc-approach-list h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 8px;
    font-family: "DM Sans", sans-serif;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.svc-approach-list svg {
    width: 20px;
    height: 20px;
    flex: none;
    color: var(--svc-red);
}

.svc-approach-list p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
}

/* ---------------------------------------------------------------- why Metro */
.svc-why {
    background: #ffffff;
}

.svc-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.svc-why-item {
    padding: 28px 24px;
    border: 1px solid var(--svc-line);
    border-radius: 14px;
    background: #ffffff;
}

.svc-why-ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: rgba(238, 57, 57, 0.1);
    color: var(--svc-red);
}

.svc-why-ico svg {
    width: 22px;
    height: 22px;
}

.svc-why-item h3 {
    margin: 0 0 8px;
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--svc-ink);
}

.svc-why-item p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--svc-text);
}

/* ---------------------------------------------------------------- FAQ accordion
   No script: every answer is open and readable. metro-service.js adds .is-ready, which collapses
   them; the padding lives on the last paragraph so a closed answer is exactly 0 high. */
.svc-faq {
    background: var(--svc-soft);
}

.svc-faq-list {
    max-width: 920px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.svc-faq-item {
    border-bottom: 1px solid var(--svc-line);
    background: transparent;
}

.svc-faq-item:first-child {
    border-top: 1px solid var(--svc-line);
}

/* the question ships as a heading and metro-service.js puts a button inside it */
.svc-faq-h {
    margin: 0;
}

.svc-faq-q {
    display: block;
    width: 100%;
    margin: 0;
    padding: 22px 48px 22px 0;
    border: 0;
    background: none;
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    color: var(--svc-ink);
    position: relative;
}

.svc-faq-list.is-ready .svc-faq-q {
    cursor: pointer;
}

.svc-faq-q:hover,
.svc-faq-q:focus-visible {
    color: var(--svc-red);
}

/* plus sign drawn with two bars; it turns into a minus when the answer is open */
.svc-faq-q::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 4px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    background:
        linear-gradient(var(--svc-red), var(--svc-red)) center/16px 2px no-repeat,
        linear-gradient(var(--svc-red), var(--svc-red)) center/2px 16px no-repeat;
    transition: transform 0.3s ease;
}

.svc-faq-item.is-open .svc-faq-q::after {
    transform: rotate(45deg);
}

.svc-faq-a {
    color: var(--svc-text);
}

.svc-faq-a p {
    margin: 0;
    padding-right: 48px;
    padding-bottom: 24px;
    font-size: 15.5px;
    line-height: 1.75;
}

/* with the script: closed answers collapse to nothing */
.svc-faq-list.is-ready .svc-faq-a {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows 0.35s ease, visibility 0s linear 0.35s;
}

.svc-faq-list.is-ready .svc-faq-a > div {
    overflow: hidden;
    min-height: 0;
}

.svc-faq-list.is-ready .svc-faq-item.is-open .svc-faq-a {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows 0.35s ease, visibility 0s;
}

/* ---------------------------------------------------------------- closing call to action */
.svc-cta {
    padding: 56px 0;
    background: var(--svc-dark);
    color: #ffffff;
}

.svc-cta-in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
}

.svc-cta-text {
    max-width: 640px;
}

.svc-cta h2 {
    margin: 0 0 10px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.svc-cta p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

/* ---------------------------------------------------------------- related services */
.svc-related {
    background: #ffffff;
}

.svc-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.svc-related-card {
    display: block;
    overflow: hidden;
    border: 1px solid var(--svc-line);
    border-radius: 14px;
    background: #ffffff;
    color: var(--svc-ink);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.svc-related-card:hover,
.svc-related-card:focus-visible {
    border-color: rgba(238, 57, 57, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 18px 34px -24px rgba(17, 17, 17, 0.45);
    color: var(--svc-ink);
}

.svc-related-card img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: #eeeeee;
}

.svc-related-body {
    padding: 20px 22px 22px;
}

.svc-related-cat {
    display: block;
    margin-bottom: 7px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--svc-red);
}

.svc-related-card h3 {
    margin: 0 0 8px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: inherit;
}

.svc-related-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--svc-text);
}

.svc-related-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--svc-red);
}

.svc-related-more svg {
    width: 15px;
    height: 15px;
    transition: transform 0.25s ease;
}

.svc-related-card:hover .svc-related-more svg {
    transform: translateX(4px);
}

/* ---------------------------------------------------------------- services hub page */
.svc-hub-group + .svc-hub-group {
    margin-top: 46px;
}

.svc-hub-group h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--svc-line);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--svc-ink);
}

.svc-hub-group h2 a {
    margin-left: auto;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--svc-red);
}

.svc-hub-blurb {
    margin: -8px 0 18px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--svc-text);
}

.svc-hub-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.svc-hub-link {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--svc-line);
    border-radius: 12px;
    color: var(--svc-ink);
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.svc-hub-link:hover,
.svc-hub-link:focus-visible {
    border-color: rgba(238, 57, 57, 0.45);
    background: var(--svc-soft);
    color: var(--svc-ink);
}

.svc-hub-link img {
    width: 56px;
    height: 56px;
    border-radius: 9px;
    object-fit: cover;
    background: #eeeeee;
}

.svc-hub-link span {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

/* ---------------------------------------------------------------- laptops */
@media (max-width: 1399px) {
    .svc-when-grid,
    .svc-why-grid,
    .svc-related-grid,
    .svc-hub-list {
        gap: 18px;
    }

    .svc-about-grid,
    .svc-approach-grid {
        gap: 40px;
    }

    .svc-steps {
        gap: 0 20px;
    }
}

@media (max-width: 1199px) {
    .svc-hero {
        padding: 54px 0;
    }

    .svc-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 26px 22px;
    }

    .svc-why-grid,
    .svc-related-grid,
    .svc-hub-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------------------------------------------------------------- tablets */
@media (max-width: 991px) {
    .svc-hero::before {
        background: linear-gradient(90deg, rgba(8, 8, 10, 0.93) 0%, rgba(8, 8, 10, 0.86) 55%, rgba(8, 8, 10, 0.6) 100%);
    }

    .svc-about-grid,
    .svc-approach-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

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

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

    .svc-cta-in {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---------------------------------------------------------------- phones */
@media (max-width: 767px) {
    .svc-hero {
        padding: 44px 0;
    }

    .svc-lead {
        font-size: 15.5px;
    }

    .svc-chips li {
        padding: 6px 13px;
        font-size: 12.5px;
    }

    .svc-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .svc-about-copy p {
        font-size: 15.5px;
    }

    .svc-card {
        padding: 24px 20px;
    }

    .svc-when-grid,
    .svc-steps,
    .svc-why-grid,
    .svc-related-grid,
    .svc-hub-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .svc-approach-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .svc-when-item,
    .svc-why-item {
        padding: 22px 20px;
    }

    .svc-faq-q {
        padding: 18px 40px 18px 0;
        font-size: 16px;
    }

    .svc-faq-a p {
        padding-right: 36px;
        padding-bottom: 20px;
        font-size: 15px;
    }

    .svc-cta {
        padding: 44px 0;
    }

    .svc-hub-group h2 {
        flex-wrap: wrap;
        font-size: 22px;
    }

    .svc-hub-group h2 a {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svc-when-item,
    .svc-related-card,
    .svc-related-more svg,
    .svc-faq-q::after,
    .svc-faq-list.is-ready .svc-faq-a {
        transition: none;
    }

    .svc-when-item:hover,
    .svc-related-card:hover {
        transform: none;
    }
}
