/* =============================================================
   location.css — Locations page · Mercury Integrated Manufacturing
   Brand: primary #454646 · secondary #b0ce5a · light #dcdfdf
          white #ffffff · black #0c0a0c
   Rule:  dark bg → light text · light bg → dark text
   ============================================================= */

:root {
    --c-primary:   #454646;
    --c-secondary: #b0ce5a;
    --c-light:     #dcdfdf;
    --c-white:     #ffffff;
    --c-black:     #0c0a0c;
}


/* ─────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────── */
.loc-hero {
    position: relative;
    background: var(--c-black);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
}
.loc-hero__img-bg {
    position: absolute;
    top: 0; right: 0;
    width: 58%; height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.loc-hero__fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        var(--c-black)              0%,
        var(--c-black)             42%,
        rgba(12,10,12,0.78)        58%,
        rgba(12,10,12,0.28)        78%,
        transparent               100%
    );
    z-index: 1;
}
.loc-hero__fade::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--c-black) 0%, transparent 100%);
}
.loc-hero__accent {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, transparent, var(--c-secondary) 30%, var(--c-secondary) 70%, transparent);
    z-index: 2;
}
.loc-hero__body {
    position: relative;
    z-index: 2;
    padding: 130px 0 90px;
}
.loc-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--c-secondary);
    margin-bottom: 18px;
}
.loc-hero__tag::before {
    content: '';
    display: block;
    width: 24px; height: 2px;
    background: var(--c-secondary);
    border-radius: 2px;
    flex-shrink: 0;
}
.loc-hero__title {
    font-size: 54px;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1.06;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.loc-hero__title em {
    font-style: normal;
    color: var(--c-secondary) !important;
}
.loc-hero__sub {
    font-size: 15px;
    color: rgba(220,223,223,0.72);
    line-height: 1.85;
    max-width: 460px;
    margin-bottom: 28px;
}
.loc-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.loc-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-secondary);
    border: 1px solid rgba(176,206,90,0.35);
    padding: 6px 14px;
    border-radius: 2px;
}
.loc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.42);
    list-style: none;
    margin: 0; padding: 0;
}
.loc-breadcrumb a {
    color: rgba(255,255,255,0.42);
    text-decoration: none;
    transition: color 0.2s;
}
.loc-breadcrumb a:hover { color: var(--c-secondary); }
.loc-breadcrumb li + li::before {
    content: '/';
    margin-right: 8px;
    opacity: 0.4;
}


/* ─────────────────────────────────────────────────────────────
   STATS BAR
   ───────────────────────────────────────────────────────────── */
.loc-stats-bar {
    background: var(--c-primary);
    padding: 36px 0;
}
.loc-stats-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.loc-stat-item {
    text-align: center;
    padding: 0 48px;
}
.loc-stat-item__num {
    font-size: 40px;
    font-weight: 900;
    color: var(--c-secondary);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.loc-stat-item__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}
.loc-stats-bar__divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}


/* ─────────────────────────────────────────────────────────────
   INTRO STRIP
   ───────────────────────────────────────────────────────────── */
.loc-intro {
    background: var(--c-light);
    padding: 64px 0 56px;
}
.loc-intro p {
    font-size: 16px;
    color: var(--c-primary);
    line-height: 1.9;
    margin: 0;
}
.loc-section-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: var(--c-secondary);
    margin-bottom: 12px;
}
.loc-section-title {
    font-size: 34px;
    font-weight: 900 !important;
    color: var(--c-black) !important;
    line-height: 1.18;
    margin-bottom: 16px;
}
.loc-section-title .hl { color: var(--c-secondary) !important; }


/* ─────────────────────────────────────────────────────────────
   LOCATION CARDS  —  3-column grid
   ───────────────────────────────────────────────────────────── */
.loc-cards-section {
    background: var(--c-light);
    padding: 80px 0 90px;
}
.loc-cards-header {
    text-align: center;
    margin-bottom: 48px;
}
.loc-cards-header__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: var(--c-secondary);
    margin-bottom: 12px;
}
.loc-cards-header__title {
    font-size: 34px;
    font-weight: 900 !important;
    color: var(--c-black) !important;
    line-height: 1.18;
    margin-bottom: 12px;
}
.loc-cards-header__title .hl { color: var(--c-secondary) !important; }
.loc-cards-header__sub {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    max-width: 580px;
    margin: 0 auto;
}

.loc-card {
    background: var(--c-white);
    border-top: 4px solid var(--c-secondary);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s;
    overflow: hidden;
}
.loc-card:hover {
    box-shadow: 0 14px 44px rgba(0,0,0,0.13);
    transform: translateY(-5px);
}
.loc-card__img-wrap {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.loc-card__img-wrap img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s;
}
.loc-card:hover .loc-card__img-wrap img {
    transform: scale(1.05);
}
.loc-card__badge {
    position: absolute;
    bottom: 0; left: 0;
    background: var(--c-secondary);
    color: var(--c-black);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 6px 14px;
}
.loc-card__num {
    position: absolute;
    top: 14px; right: 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    background: rgba(12,10,12,0.58);
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 2px;
}
.loc-card__body {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.loc-card__eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-secondary);
    margin-bottom: 6px;
}
.loc-card__title {
    font-size: 22px;
    font-weight: 900 !important;
    color: var(--c-black) !important;
    line-height: 1.15;
    margin-bottom: 12px;
}
.loc-card__title .hl { color: var(--c-secondary) !important; }
.loc-card__desc {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 18px;
}
.loc-card__divider {
    height: 1px;
    background: var(--c-light);
    margin-bottom: 18px;
}

/* Contact rows inside card */
.loc-card__contact {
    margin-bottom: 18px;
}
.loc-card__contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}
.loc-card__contact-row:last-child { margin-bottom: 0; }
.loc-card__contact-row i {
    font-size: 14px;
    color: var(--c-secondary);
    min-width: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}
.loc-card__contact-row span {
    font-size: 12.5px;
    color: var(--c-primary);
    line-height: 1.65;
}
.loc-card__contact-row strong {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 1px;
}

/* Capability tags inside card */
.loc-card__caps {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--c-light);
}
.loc-card__cap-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--c-primary);
    background: rgba(176,206,90,0.10);
    border: 1px solid rgba(176,206,90,0.28);
    padding: 4px 9px;
    border-radius: 2px;
}


/* ─────────────────────────────────────────────────────────────
   CTA STRIP
   ───────────────────────────────────────────────────────────── */
.loc-cta {
    position: relative;
    background: var(--c-black);
    padding: 80px 0;
    overflow: hidden;
}
/* green glow removed at client request */
.loc-cta::before {
    content: none;
}
.loc-cta__accent {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, transparent, var(--c-secondary) 30%, var(--c-secondary) 70%, transparent);
}
.loc-cta__body {
    position: relative;
    z-index: 1;
    text-align: center;
}
.loc-cta__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: var(--c-secondary);
    margin-bottom: 16px;
}
.loc-cta__title {
    font-size: 36px;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1.18;
    margin-bottom: 16px;
}
.loc-cta__sub {
    font-size: 15px;
    color: rgba(220,223,223,0.65);
    line-height: 1.85;
    max-width: 520px;
    margin: 0 auto 36px;
}
.loc-cta__btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}


/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .loc-hero__title         { font-size: 44px; }
    .loc-hero__img-bg        { width: 100%; opacity: 0.18; }
    .loc-hero__fade          { background: rgba(12,10,12,0.82); }
    .loc-hero__body          { padding: 110px 0 70px; }
    .loc-hero__sub           { max-width: 100%; }

    .loc-stats-bar__inner    { flex-wrap: wrap; gap: 24px; }
    .loc-stats-bar__divider  { display: none; }
    .loc-stat-item           { padding: 0 24px; }

    .loc-cards-section       { padding: 60px 0 70px; }
    .loc-card__img-wrap img  { height: 210px; }

    .loc-cta__title          { font-size: 28px; }
}

@media (max-width: 767px) {
    .loc-hero__title         { font-size: 34px; }
    .loc-hero__body          { padding: 100px 0 60px; }
    .loc-hero__chips         { gap: 6px; }

    .loc-cards-section       { padding: 48px 0 56px; }
    .loc-card__img-wrap img  { height: 200px; }
    .loc-card                { margin-bottom: 24px; }
}

@media (max-width: 575px) {
    .loc-hero__title         { font-size: 28px; }
    .loc-hero__body          { padding: 90px 0 52px; }
    .loc-hero__chips         { display: none; }
    .loc-cta__title          { font-size: 24px; }
    .loc-cta__btns           { flex-direction: column; align-items: center; }
}

/* =============================================================
   LOCATIONS HERO — image framing
   The building photo is 1921x1081 in a hero roughly 540px tall, so
   object-fit: cover shows only the middle band of it. Centred, that
   band ends around 83% down the image and clips the "Corporation"
   line of the signage.
   Shifting object-position down to 80% moves the visible window to
   roughly 27-93%, bringing the full lockup into frame. A percentage
   is used rather than a pixel offset so the framing holds as the
   hero height changes across breakpoints.
   Scoped by virtue of location.css loading on this page only.
   ============================================================= */
.ph-hero__img-bg {
    object-position: center 80%;
}
