/* =========================================================
   True North Hydrovac — site styles
   Colours come from the logo: navy #1f3a5a and steel blue #5b7ea3
   ========================================================= */

/* ===== Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #1f3a5a;
    --navy-dark: #142840;
    --steel: #5b7ea3;
    --steel-light: #a9c3de;
    --light: #f4f6f9;
    --line: #e3e8ee;
    --text: #1e2833;
    --muted: #5c6b7a;
    --heading: "Montserrat", "Arial Black", Arial, sans-serif;
    --header-h: 80px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
    font-family: "Inter", Arial, Helvetica, sans-serif;
    background-color: #fff;
    color: var(--text);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.no-scroll {
    overflow: hidden;
}

main {
    flex: 1;
}

h1, h2, h3 {
    font-family: var(--heading);
    line-height: 1.2;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.narrow {
    max-width: 820px;
}

/* Keeps space for the header while JavaScript builds it */
#site-header {
    height: var(--header-h);
    background-color: var(--navy-dark);
}

/* ===== Header ===== */
.site-header {
    background-color: var(--navy-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--steel);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1320px;
    height: var(--header-h);
}

/* Logo starts big and hangs below the bar, then shrinks into it.
   It sits in the same row as the menu, so the links always start after it. */
.brand {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    flex-shrink: 0;
    height: var(--header-h);
    padding-top: 10px;
}

.brand-logo {
    display: block;
    height: var(--logo-big, 130px);
    width: auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
    transition: height 0.35s ease, border-radius 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled .brand-logo {
    height: 60px;
    border-radius: 6px;
    box-shadow: none;
}

/* ===== Navigation ===== */
.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-list > li {
    position: relative;
}

.nav-row {
    display: flex;
    align-items: center;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.6rem 0.7rem;
    color: #fff;
    font-family: var(--heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    background: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1.5;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
}

.nav-link:hover,
.has-dropdown:hover .nav-link,
.has-dropdown.open .nav-link {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: var(--steel-light);
}

.nav-cta {
    background-color: var(--steel);
    margin: 0 0.35rem;
}

.nav-cta:hover,
.nav-cta.active {
    background-color: #fff;
    color: var(--navy);
}

.dropdown-toggle {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0.3rem 0.6rem 0;
    margin-left: -0.45rem;
}

.dropdown-toggle.labelled {
    margin-left: 0;
    padding: 0.6rem 0.7rem;
}

.chevron {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s;
}

.has-dropdown:hover .chevron,
.has-dropdown.open .chevron {
    transform: rotate(180deg);
}

/* Dropdown panel */
.dropdown {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    width: max-content;
    background-color: #fff;
    border-top: 3px solid var(--steel);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    padding: 0.4rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.open > .dropdown,
.has-sub:hover > .dropdown,
.has-sub:focus-within > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    position: relative;
}

.dropdown a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
    transition: background-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.dropdown li:last-child > a {
    border-bottom: none;
}

.dropdown a:hover,
.dropdown a:focus-visible {
    background-color: var(--light);
    color: var(--steel);
    box-shadow: inset 3px 0 0 var(--steel);
}

/* Second-level flyout (for grouped services later) */
.sub-dropdown {
    top: -0.4rem;
    left: 100%;
    border-top: none;
    border-left: 3px solid var(--steel);
    border-radius: 0 8px 8px 0;
}

.sub-arrow {
    font-size: 1.1rem;
    color: var(--muted);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.6rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
    background-color: var(--steel);
    color: #fff;
    border: 2px solid var(--steel);
}

.btn-primary:hover {
    background-color: var(--navy);
    border-color: var(--navy);
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--navy);
}

.btn-outline-dark {
    border: 2px solid var(--navy);
    color: var(--navy);
    background-color: transparent;
}

.btn-outline-dark:hover {
    background-color: var(--navy);
    color: #fff;
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ===== Parallax photos (no tint) ===== */
.parallax {
    position: relative;
    overflow: hidden;
    background-color: var(--navy-dark);
}

.parallax-img {
    position: absolute;
    top: -8%;
    left: 0;
    width: 100%;
    height: 116%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

/* ===== Home hero ===== */
.hero-banner {
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-img {
    filter: brightness(0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 7rem;
    padding-bottom: 5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.eyebrow,
.section-tag {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.eyebrow {
    color: var(--steel-light);
}

.hero-content h1 {
    font-weight: 800;
    font-size: clamp(2.6rem, 7vw, 5.5rem);
    line-height: 1.05;
    max-width: 850px;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 2.25rem;
}

.hero-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 720px;
}

.hero-buttons .btn {
    padding: 1rem 0.75rem;
    text-shadow: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

/* ===== Sections ===== */
.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--light);
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-tag {
    color: var(--steel);
}

.section-heading h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: var(--navy);
}

.section-heading h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--steel);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-heading p {
    color: var(--muted);
    margin-top: 1rem;
    line-height: 1.7;
}

/* ===== Service cards ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    border-top: 4px solid var(--steel);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--muted);
    line-height: 1.6;
}

/* ===== Photo bands ===== */
.photo-band {
    min-height: 50vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}

.photo-band-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 4rem;
    padding-bottom: 4rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.6);
}

.photo-band-content .btn {
    text-shadow: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.photo-band h2 {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
}

.photo-band-cta p {
    font-size: 1.15rem;
    margin: 1rem 0 2rem;
}

/* ===== Who we serve ===== */
.serve-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.serve-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: #fff;
    border-radius: 10px;
    border-bottom: 4px solid var(--navy);
}

.serve-item h3 {
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.serve-item p {
    color: var(--muted);
    line-height: 1.6;
}

/* ===== Inner page banner ===== */
.page-hero {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy) 60%, var(--steel));
    color: #fff;
    padding: 6rem 0 3.5rem;
}

.page-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
}

.page-hero p {
    color: #dbe5ef;
    font-size: 1.1rem;
    max-width: 620px;
    margin-top: 0.75rem;
    line-height: 1.6;
}

.page-text {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--muted);
}

.page-text + .page-text {
    margin-top: 1rem;
}

/* ===== About page ===== */
.about-split {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-split h2 {
    color: var(--navy);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-bottom: 1rem;
}

.about-split .btn {
    margin-top: 1.5rem;
}

.stat-card {
    background-color: var(--navy);
    color: #fff;
    border-radius: 12px;
    padding: 2rem;
    border-left: 5px solid var(--steel);
}

.stat-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 0.65rem 0 0.65rem 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.check-list li:last-child {
    border-bottom: none;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--steel-light);
    font-weight: 700;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    counter-reset: step;
}

.step {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem 1.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    counter-increment: step;
}

.step::before {
    content: counter(step, decimal-leading-zero);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--navy);
    color: #fff;
    font-family: var(--heading);
    font-weight: 800;
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--navy);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--muted);
    line-height: 1.6;
}

.info-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.info-columns h3 {
    color: var(--navy);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.dot-list {
    list-style: none;
    color: var(--muted);
}

.dot-list li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.25rem;
    line-height: 1.6;
}

.dot-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.95rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--steel);
}

/* ===== Accordions (Advantage = plus icon, FAQ = chevron) ===== */
.accordion {
    display: flex;
    flex-direction: column;
}

.acc-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.acc-item summary::-webkit-details-marker {
    display: none;
}

.acc-body {
    line-height: 1.7;
    color: var(--muted);
}

.acc-body a {
    color: var(--steel);
    font-weight: 600;
}

/* Advantage style */
.accordion.plus {
    gap: 0.75rem;
}

.accordion.plus .acc-item {
    background-color: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.accordion.plus .acc-item[open] {
    border-color: var(--steel);
    box-shadow: 0 8px 22px rgba(31, 58, 90, 0.1);
}

.accordion.plus summary {
    padding: 1.25rem 1.5rem;
    font-family: var(--heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
}

.accordion.plus summary:hover {
    background-color: var(--light);
}

.plus-icon {
    position: relative;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--navy);
    transition: background-color 0.2s, transform 0.25s;
}

.plus-icon::before,
.plus-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background-color: #fff;
    transform: translate(-50%, -50%);
    transition: transform 0.25s;
}

.plus-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.acc-item[open] .plus-icon {
    background-color: var(--steel);
}

.acc-item[open] .plus-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.accordion.plus .acc-body {
    padding: 0 1.5rem 1.5rem calc(1.5rem + 32px + 1rem);
}

/* FAQ style */
.accordion.chevron-style .acc-item {
    border-bottom: 1px solid var(--line);
}

.accordion.chevron-style summary {
    justify-content: space-between;
    padding: 1.2rem 0.25rem;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--text);
}

.accordion.chevron-style summary:hover {
    color: var(--steel);
}

.accordion.chevron-style summary .chevron {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--steel);
}

.accordion.chevron-style .acc-item[open] summary .chevron {
    transform: rotate(180deg);
}

.accordion.chevron-style .acc-body {
    padding: 0 0.25rem 1.4rem;
    max-width: 720px;
}

/* ===== FAQ page ===== */
.faq-search {
    position: relative;
    margin-bottom: 2.5rem;
}

.faq-search svg {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    fill: none;
    stroke: var(--muted);
    stroke-width: 2;
}

.faq-search input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--line);
    border-radius: 10px;
    background-color: #fff;
    transition: border-color 0.2s;
}

.faq-search input:focus {
    outline: none;
    border-color: var(--steel);
}

.faq-category {
    margin-bottom: 2.5rem;
}

.faq-category h2 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--steel);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--navy);
}

.faq-empty {
    text-align: center;
    color: var(--muted);
    padding: 2rem 0;
}

.faq-empty a {
    color: var(--steel);
    font-weight: 600;
}

/* ===== CTA box ===== */
.cta-box {
    background-color: var(--navy);
    color: #fff;
    border-radius: 14px;
    padding: 3rem 2rem;
    text-align: center;
}

.cta-box h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
}

.cta-box p {
    color: #dbe5ef;
    margin-bottom: 1.75rem;
}

/* ===== Estimate / Contact cards ===== */
.card-heading {
    color: var(--navy);
    font-size: clamp(1.4rem, 2.6vw, 1.8rem);
    margin-bottom: 1.5rem;
}

.location-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.location-card,
.contact-card {
    background-color: var(--light);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    border-top: 4px solid var(--steel);
    transition: transform 0.2s, box-shadow 0.2s;
}

.location-card:hover,
.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.card-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

.location-card h3 {
    color: var(--navy);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.location-card a,
.contact-card a {
    color: var(--steel);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    word-break: break-word;
}

.location-card a:hover,
.contact-card a:hover {
    color: var(--navy);
}

.book-box {
    border: 2px solid var(--line);
    border-radius: 14px;
    padding: 2.5rem 2rem;
    text-align: center;
}

.book-box h2 {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.book-box p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* ===== Social icons ===== */
.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--navy-dark);
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

a.social-icon:hover {
    background-color: var(--steel);
    color: #fff;
    transform: translateY(-2px);
}

.social-icon.is-preview {
    cursor: default;
}

.follow-panel {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
}

.follow-panel h2 {
    color: var(--navy);
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.follow-panel p {
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.follow-panel .social-row {
    justify-content: center;
}

.follow-panel .social-icon {
    background-color: var(--navy);
    color: #fff;
}

.follow-panel a.social-icon:hover {
    background-color: var(--steel);
}

/* ===== Service area map ===== */
.map-wrap {
    position: relative;
    z-index: 0;
    isolation: isolate;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
}

#service-map {
    height: 500px;
    width: 100%;
    background-color: var(--light);
}

.map-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.25rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-hub {
    background-color: var(--navy);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--navy);
}

.legend-city {
    width: 14px;
    height: 14px;
    background-color: var(--steel);
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--steel);
}

.legend-zone1 {
    background-color: rgba(31, 58, 90, 0.35);
    border: 2px solid var(--navy);
}

.legend-zone2 {
    background-color: rgba(91, 126, 163, 0.35);
    border: 2px solid var(--steel);
}

.map-tip {
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.city-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.city-chip {
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background-color: #fff;
    color: var(--navy);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.city-chip:hover,
.city-chip.is-active {
    background-color: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.city-chip.hub {
    border-color: var(--navy);
}

/* Map info cards (Leaflet tooltips/popups) */
.leaflet-tooltip.city-tip,
.leaflet-popup.city-popup .leaflet-popup-content-wrapper {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
    padding: 0;
}

.leaflet-tooltip.city-tip {
    background-color: #fff;
}

.leaflet-popup.city-popup .leaflet-popup-content {
    margin: 0;
}

.city-info {
    padding: 0.9rem 1.1rem;
    min-width: 220px;
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
}

.city-info strong {
    display: block;
    font-family: var(--heading);
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.city-info .zone-name {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background-color: var(--steel);
    border-radius: 4px;
    padding: 0.1rem 0.45rem;
    margin-bottom: 0.6rem;
}

.city-info .zone-name.hub {
    background-color: var(--navy);
}

.city-info dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.3rem 0.75rem;
    font-size: 0.85rem;
}

.city-info dt {
    color: var(--muted);
}

.city-info dd {
    font-weight: 600;
}

.mobilize-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mobilize-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.75rem;
    border-left: 4px solid var(--steel);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.mobilize-card.emergency {
    border-left-color: var(--navy);
}

.mobilize-card h3 {
    color: var(--navy);
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.mobilize-card .time {
    display: block;
    font-family: var(--heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--steel);
    margin-bottom: 0.6rem;
}

.mobilize-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.placeholder-note {
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 1.5rem;
}

/* ===== Projects gallery ===== */
.project {
    padding: 3rem 0;
    border-bottom: 1px solid var(--line);
}

.project:first-child {
    padding-top: 0;
}

.project:last-child {
    border-bottom: none;
}

.project-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    margin-bottom: 0.5rem;
}

.project-head h2 {
    color: var(--navy);
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
}

.project-status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background-color: var(--light);
    color: var(--steel);
    border: 1px solid var(--line);
}

.project-status.active {
    background-color: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.project-meta {
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.9rem;
}

.gallery-grid a {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--light);
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s;
}

.gallery-grid a::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.5-4.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 40px no-repeat,
        rgba(20, 40, 64, 0.45);
    opacity: 0;
    transition: opacity 0.25s;
}

.gallery-grid a:hover img,
.gallery-grid a:focus-visible img {
    transform: scale(1.05);
}

.gallery-grid a:hover::after,
.gallery-grid a:focus-visible::after {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(10, 18, 28, 0.94);
    padding: 3.5rem 4.5rem;
}

.lightbox[hidden] {
    display: none;
}

.lb-figure {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lb-img {
    max-width: 100%;
    max-height: calc(100vh - 9rem);
    object-fit: contain;
    border-radius: 6px;
}

.lb-caption {
    color: #dbe5ef;
    margin-top: 0.9rem;
    text-align: center;
}

.lb-count {
    position: absolute;
    top: 1.25rem;
    left: 1.5rem;
    color: #dbe5ef;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.lb-close,
.lb-prev,
.lb-next {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
    background-color: var(--steel);
}

.lb-close {
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    line-height: 1;
}

.lb-prev,
.lb-next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 2.2rem;
    line-height: 1;
    padding-bottom: 4px;
}

.lb-prev {
    left: 1rem;
}

.lb-next {
    right: 1rem;
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--navy-dark);
    color: #c5d3e0;
    padding-top: 3.5rem;
    border-top: 4px solid var(--steel);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-logo {
    max-width: 180px;
    background-color: #fff;
    padding: 0.5rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: block;
}

.site-footer h4 {
    color: #fff;
    font-family: var(--heading);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.site-footer p,
.site-footer li {
    line-height: 1.9;
    font-size: 0.95rem;
}

.site-footer ul {
    list-style: none;
}

.site-footer a {
    color: #c5d3e0;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer a.social-icon {
    color: var(--navy-dark);
}

.site-footer a.social-icon:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .menu-toggle {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        background-color: var(--navy-dark);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.5rem 1.5rem 1.25rem;
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
        z-index: 3;
    }

    .site-nav.open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-list > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-row {
        justify-content: space-between;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 0.25rem;
        font-size: 0.9rem;
    }

    .nav-row .nav-link {
        width: auto;
        flex: 1;
    }

    .dropdown-toggle.labelled {
        width: 100%;
        justify-content: space-between;
        padding: 1rem 0.25rem;
    }

    .dropdown-toggle:not(.labelled) {
        margin-left: 0;
        padding: 1rem 0.5rem;
    }

    .nav-link:hover,
    .has-dropdown:hover .nav-link,
    .has-dropdown.open .nav-link {
        background: none;
    }

    .nav-cta {
        margin: 0.75rem 0;
        justify-content: center;
        padding: 0.9rem;
    }

    /* Hover doesn't open menus on mobile; taps do */
    .has-dropdown:hover .chevron {
        transform: none;
    }

    .has-dropdown.open .chevron {
        transform: rotate(180deg);
    }

    .dropdown,
    .sub-dropdown {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 0;
        box-shadow: none;
        border: none;
        border-radius: 8px;
        background-color: rgba(255, 255, 255, 0.06);
        margin-bottom: 0.75rem;
        transition: none;
    }

    .has-dropdown.open > .dropdown,
    .has-sub > .sub-dropdown {
        display: block;
    }

    .dropdown {
        width: auto;
    }

    .dropdown a {
        white-space: normal;
        color: #dbe5ef;
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    .dropdown a:hover,
    .dropdown a:focus-visible {
        background-color: rgba(255, 255, 255, 0.08);
        color: #fff;
    }

    .sub-dropdown {
        margin: 0 0 0 1rem;
    }

    .sub-arrow {
        display: none;
    }

    .page-hero {
        padding-top: 8.5rem;
    }
}

@media (max-width: 900px) {
    .serve-grid,
    .mobilize-grid,
    .steps,
    .about-split,
    .info-columns {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    #service-map {
        height: 460px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 70px;
    }

    .brand {
        padding-top: 9px;
    }

    .brand-logo {
        height: 100px;
    }

    .site-header.scrolled .brand-logo {
        height: 52px;
    }

    .hero-banner {
        min-height: 75vh;
    }

    .hero-content {
        padding-top: 5.5rem;
        padding-bottom: 3.5rem;
    }

    .hero-text {
        font-size: 1.05rem;
    }

    .page-hero {
        padding: 6.5rem 0 2.5rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .photo-band {
        min-height: 40vh;
    }

    .accordion.plus .acc-body {
        padding-left: 1.5rem;
    }

    .lightbox {
        padding: 3.5rem 0.75rem;
    }

    .lb-prev,
    .lb-next {
        top: auto;
        bottom: 1rem;
        transform: none;
    }

    .lb-img {
        max-height: calc(100vh - 11rem);
    }
}

@media (max-width: 600px) {
    .hero-buttons {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #service-map {
        height: 400px;
    }

    .cta-box,
    .book-box {
        padding: 2rem 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}

/* ===== Map extras ===== */
.leaflet-tooltip.city-label {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    font-family: "Inter", Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--navy-dark);
    text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
    pointer-events: none;
}

.leaflet-tooltip.city-label::before {
    display: none;
}

.mobilize-card a {
    color: var(--steel);
    font-weight: 700;
    text-decoration: none;
}

/* ===== Map + city list side by side ===== */
.map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 2rem;
    align-items: start;
}

.city-panel {
    background-color: var(--light);
    border-radius: 14px;
    padding: 1.5rem;
    border-top: 4px solid var(--steel);
    max-height: 500px;
    overflow-y: auto;
}

.city-panel h2 {
    color: var(--navy);
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.city-panel p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.city-panel .city-chips {
    justify-content: flex-start;
    margin-top: 0;
}

@media (max-width: 900px) {
    .map-layout {
        grid-template-columns: 1fr;
    }

    .city-panel {
        max-height: none;
    }
}

/* ===== Map labels ===== */
.leaflet-tooltip.city-label.hub-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--navy);
}

/* ===== Service pages ===== */
.service-hero {
    min-height: 52vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 9rem;
    padding-bottom: 3.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.service-hero h1 {
    font-weight: 800;
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    line-height: 1.05;
    margin: 0.75rem 0 0.75rem;
}

.service-hero p {
    font-size: 1.15rem;
    max-width: 620px;
}

.crumb {
    display: inline-block;
    color: var(--steel-light);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.crumb:hover {
    color: #fff;
}

.service-split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.service-split h2 {
    color: var(--navy);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-bottom: 1rem;
}

.btn-row.left {
    justify-content: flex-start;
    margin-top: 2rem;
}

.service-photo {
    position: relative;
    margin: 0;
}

.service-photo::before {
    content: "";
    position: absolute;
    inset: 1.25rem -1.25rem -1.25rem 1.25rem;
    border: 3px solid var(--steel);
    border-radius: 14px;
}

.service-photo img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(20, 40, 64, 0.22);
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.info-card {
    background-color: #fff;
    border-radius: 14px;
    padding: 2.25rem 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.info-card h3 {
    color: var(--navy);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.info-card.dark {
    background-color: var(--navy);
    color: #fff;
}

.info-card.dark h3 {
    color: #fff;
}

.service-link {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.service-link p {
    flex: 1;
}

.learn-more {
    margin-top: 1.25rem;
    color: var(--steel);
    font-weight: 700;
    font-size: 0.92rem;
    transition: color 0.2s;
}

.service-link:hover .learn-more,
.service-tile:hover .learn-more {
    color: var(--navy);
}

/* Services overview tiles */
.service-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.service-tile {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.service-tile:hover {
    transform: translateY(-4px);
    border-color: var(--steel);
    box-shadow: 0 14px 30px rgba(20, 40, 64, 0.12);
}

.tile-photo {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--light);
}

.tile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.service-tile:hover .tile-photo img {
    transform: scale(1.04);
}

.tile-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.75rem;
    border-top: 4px solid var(--steel);
}

.tile-body h2 {
    color: var(--navy);
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.tile-body p {
    color: var(--muted);
    line-height: 1.6;
    flex: 1;
}

.band-btn {
    margin-top: 1.75rem;
}

/* ===== Project photo gallery ===== */
.photo-gallery {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.photo-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 2rem 1rem 0.8rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    background: linear-gradient(to top, rgba(20, 40, 64, 0.85), rgba(20, 40, 64, 0));
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s, transform 0.25s;
    pointer-events: none;
}

.photo-gallery a:hover .photo-label,
.photo-gallery a:focus-visible .photo-label {
    opacity: 1;
    transform: translateY(0);
}

/* Touch screens have no hover, so captions always show */
@media (hover: none) {
    .photo-label {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 900px) {
    .service-split,
    .info-cards,
    .service-tiles {
        grid-template-columns: 1fr;
    }

    .service-photo::before {
        inset: 0.75rem -0.75rem -0.75rem 0.75rem;
    }

    .service-split {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .service-hero-content {
        padding-top: 7rem;
        padding-bottom: 2.5rem;
    }
}

/* ===== Service grid layouts (5 services) ===== */
.service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.service-grid > .service-card {
    flex: 0 1 calc((100% - 3rem) / 3);
}

.service-grid.four > .service-card {
    flex-basis: calc((100% - 4.5rem) / 4);
}

.service-tiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.service-tiles > .service-tile {
    flex: 0 1 calc((100% - 3.5rem) / 3);
}

/* Tagline lines */
.band-tagline {
    display: block;
    font-family: var(--heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.75rem;
}

.page-hero .hero-tagline {
    font-family: var(--heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--steel-light);
}

@media (max-width: 1000px) {
    .service-grid > .service-card,
    .service-grid.four > .service-card,
    .service-tiles > .service-tile {
        flex-basis: calc((100% - 1.75rem) / 2);
    }
}

@media (max-width: 600px) {
    .service-grid > .service-card,
    .service-grid.four > .service-card,
    .service-tiles > .service-tile {
        flex-basis: 100%;
    }
}
