/* Great Job Cleaning Services: Open Spark v1.1 design system
   Palette, type and rhythm per the October 2026 brand guide. Manrope only. */

@font-face {
  font-family: Manrope;
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --navy: #0B3548;
  --navy-deep: #082B3B;
  --teal: #0D7377;
  --teal-dark: #0A5C5F;
  --orange: #EA8A3A;
  --orange-soft: #F3A666;
  --white: #FFFFFF;
  --offwhite: #F7F9F8;
  --soft: #EDF4F2;
  --cream: #FFF5EB;
  --slate: #475569;
  --line: #E3EBE8;
  --line-strong: #CBDAD5;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 53, 72, .06), 0 2px 8px rgba(11, 53, 72, .05);
  --shadow-md: 0 2px 6px rgba(11, 53, 72, .07), 0 12px 32px rgba(11, 53, 72, .10);
  --shadow-lg: 0 4px 10px rgba(11, 53, 72, .08), 0 24px 56px rgba(11, 53, 72, .14);
  --wrap: 1216px;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Manrope, 'Segoe UI', Arial, sans-serif;
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.62;
  color: var(--slate);
  background: var(--white);
  font-feature-settings: 'ss01' on;
}
::selection { background: var(--teal); color: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p a, li a { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
p a:hover, li a:hover { color: var(--teal-dark); }
button { font: inherit; cursor: pointer; }
svg { display: block; }

h1, h2, h3 {
  margin: 0;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -.032em;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.45rem + 3vw, 3.5rem); line-height: 1.07; }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.25rem); line-height: 1.2; font-weight: 700; }
h3 { font-size: clamp(1.3rem, 1.2rem + .4vw, 1.5rem); line-height: 1.25; font-weight: 700; letter-spacing: -.022em; }
p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; border-radius: 2px; }
.closing :focus-visible, footer :focus-visible, .topline :focus-visible { outline-color: var(--orange); }

.skip {
  position: absolute; left: 12px; top: -120px; z-index: 200;
  background: var(--white); color: var(--navy); font-weight: 700;
  padding: 12px 18px; border-radius: 8px; box-shadow: var(--shadow-md); text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Eyebrows, buttons, links ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  color: var(--teal); font-size: .75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .15em; line-height: 1.4;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ''; flex: 0 0 auto; width: 14px; height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1c1.7 4.9 4.4 7.6 9.2 9.2v3.6C16.4 15.4 13.7 18.1 12 23c-1.7-4.9-4.4-7.6-9.2-9.2v-3.6C7.6 8.6 10.3 5.9 12 1Z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1c1.7 4.9 4.4 7.6 9.2 9.2v3.6C16.4 15.4 13.7 18.1 12 23c-1.7-4.9-4.4-7.6-9.2-9.2v-3.6C7.6 8.6 10.3 5.9 12 1Z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat;
}

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 15px 26px;
  border-radius: var(--radius-sm); border: 0;
  font-size: 1rem; font-weight: 700; line-height: 1.25; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.button svg { flex: 0 0 auto; transition: transform .18s ease; }
.button:hover svg { transform: translateX(3px); }
.button.primary { background: var(--orange); color: var(--navy); box-shadow: 0 10px 24px rgba(234, 138, 58, .32); }
.button.primary:hover { background: var(--orange-soft); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(234, 138, 58, .38); }
.button.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--line-strong); }
.button.ghost:hover { box-shadow: inset 0 0 0 2px var(--teal); color: var(--teal-dark); transform: translateY(-2px); }
.closing .button.ghost { color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.closing .button.ghost:hover { box-shadow: inset 0 0 0 2px var(--white); color: var(--white); }

.text-link {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--navy); font-weight: 700; font-size: 1rem;
  text-decoration: underline; text-decoration-color: var(--line-strong);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: color .15s ease;
}
.text-link svg { transition: transform .18s ease; }
.text-link:hover { color: var(--teal-dark); text-decoration-color: var(--teal); }
.text-link:hover svg { transform: translateX(3px); }

.actions { display: flex; align-items: center; gap: 18px 26px; flex-wrap: wrap; margin-top: 34px; }

/* ---------- Topline + header ---------- */
.topline { background: var(--navy); color: #CFE0E5; font-size: .8125rem; font-weight: 600; letter-spacing: .02em; }
.topline .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 9px; }
.topline a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.topline a:hover { text-decoration: underline; text-underline-offset: 4px; }
.topline-meta { display: flex; align-items: center; gap: 24px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 96px; }
.brand { margin-right: auto; flex: 0 0 auto; display: block; }
.brand img { width: 280px; max-width: 100%; }
.site-nav { display: flex; align-items: center; gap: 28px; align-self: stretch; }
.site-nav > a, .nav-item > a {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  font-size: .9375rem; font-weight: 700; color: var(--navy);
  text-decoration: none; white-space: nowrap; padding-block: 6px;
}
.site-nav > a::after, .nav-item > a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--teal); transition: right .2s ease;
}
.site-nav > a:hover::after, .site-nav > a[aria-current]::after,
.nav-item > a:hover::after, .nav-item > a[aria-current]::after,
.nav-item.open > a::after { right: 0; }
.site-nav > a[aria-current], .nav-item > a[aria-current] { color: var(--teal-dark); }
.chev { transition: transform .2s ease; }
.nav-item.open > a .chev, .nav-item:not(.dismissed):focus-within > a .chev,
html.no-js .nav-item:hover > a .chev { transform: rotate(180deg); }

/* ---------- Dropdown mega-menus ----------
   Opening/closing is driven by JS (.open) with a grace period, so the menu
   survives the cursor's diagonal travel from the link to the panel.
   :focus-within covers keyboard users; :hover is only the no-JS fallback. */
.nav-item { position: static; display: inline-flex; align-items: center; align-self: stretch; }
.dropdown {
  position: absolute; top: 100%; left: 50%; z-index: 90;
  transform: translateX(-50%) translateY(10px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
.nav-item.open > .dropdown, .nav-item:not(.dismissed):focus-within > .dropdown,
html.no-js .nav-item:hover > .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .16s ease, transform .16s ease, visibility 0s;
}
.dd-panel {
  display: grid; gap: 36px;
  background: var(--white); border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 30px 34px 32px;
}
.dropdown-services { width: min(920px, calc(100vw - 32px)); }
.dropdown-services .dd-panel { grid-template-columns: 1fr 1fr 252px; }
.dropdown-industries { width: min(740px, calc(100vw - 32px)); }
.dropdown-industries .dd-panel { grid-template-columns: 1fr 252px; }
.dd-eyebrow {
  margin: 0 0 14px; color: var(--teal); font-size: .6875rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .13em;
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.dd-col { display: flex; flex-direction: column; }
.dd-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px; margin: 0 -12px; border-radius: 12px; text-decoration: none;
  transition: background-color .15s ease;
}
.dd-item:hover, .dd-item:focus-visible { background: var(--offwhite); }
.dd-item .icon-tile { width: 40px; height: 40px; border-radius: 10px; }
.dd-item .icon-tile svg { width: 20px; height: 20px; }
.dd-text { min-width: 0; }
.dd-text strong { display: block; color: var(--navy); font-size: .9375rem; font-weight: 700; line-height: 1.3; }
.dd-item:hover .dd-text strong { color: var(--teal-dark); }
.dd-text small { display: block; margin-top: 3px; color: var(--slate); font-size: .8125rem; font-weight: 500; line-height: 1.45; white-space: normal; }
.dd-aside {
  background: var(--soft); border-radius: var(--radius); padding: 22px 24px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
}
.dd-aside .dd-eyebrow { border-bottom: 0; padding-bottom: 0; margin-bottom: 10px; }
.dd-aside p:not(.dd-eyebrow) { margin: 0 0 16px; color: var(--slate); font-size: .8438rem; font-weight: 500; line-height: 1.55; white-space: normal; }
.dd-aside .text-link { font-size: .875rem; }
.dd-aside .text-link + .text-link { margin-top: 10px; }
.header-cta { min-height: 48px; padding: 12px 20px; font-size: .9375rem; }
.mobile-nav { display: none; }
.menu-toggle {
  display: none; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; min-width: 48px; padding: 10px 16px;
  background: var(--white); color: var(--navy);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 700;
}
.menu-toggle .bars { position: relative; width: 18px; height: 14px; }
.menu-toggle .bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: var(--navy); transition: transform .22s ease, opacity .18s ease, top .22s ease;
}
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 6px; }
.menu-toggle .bars span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------- Heroes ---------- */
.hero { position: relative; overflow: hidden; background: var(--offwhite); padding: clamp(52px, 7vw, 96px) 0 clamp(48px, 6vw, 88px); }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 420px at 86% 4%, rgba(13, 115, 119, .075), transparent 68%),
    radial-gradient(520px 380px at 4% 100%, rgba(234, 138, 58, .06), transparent 70%);
}
.hero-sparkles { position: absolute; pointer-events: none; }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.hero h1 em { font-style: normal; color: var(--teal); }
.lead { max-width: 36em; margin: 24px 0 0; font-size: clamp(1.0625rem, 1rem + .3vw, 1.125rem); line-height: 1.62; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 15px;
  font-size: .8125rem; font-weight: 700; color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.hero-chips svg { color: var(--teal); }

.hero-visual { position: relative; }
.hero-visual::before {
  content: ''; position: absolute; inset: 24px -22px -22px 24px;
  background: var(--cream); border-radius: var(--radius-lg);
}
.hero-visual::after {
  content: ''; position: absolute; top: -16px; right: -6px; width: 56px; height: 56px;
  z-index: 2; pointer-events: none; /* Keep the decorative sparkle above the photo (z-index: 1). */
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1C14.86 9.14 14.86 9.14 23 12C14.86 14.86 14.86 14.86 12 23C9.14 14.86 9.14 14.86 1 12C9.14 9.14 9.14 9.14 12 1Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1C14.86 9.14 14.86 9.14 23 12C14.86 14.86 14.86 14.86 12 23C9.14 14.86 9.14 14.86 1 12C9.14 9.14 9.14 9.14 12 1Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hero-visual .photo {
  position: relative; z-index: 1; width: 100%;
  height: clamp(380px, 44vw, 560px); object-fit: cover; object-position: 44% 46%;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.photo-note {
  position: absolute; z-index: 2; bottom: 22px; left: -20px;
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow-md);
  padding: 14px 18px;
}
.photo-note .icon-tile { display: inline-flex; color: var(--teal); width: 38px; height: 38px; border-radius: 10px; }
.photo-note strong { display: block; color: var(--navy); font-size: .875rem; line-height: 1.3; }
.photo-note span { display: block; color: var(--slate); font-size: .75rem; font-weight: 600; }

/* Subpage hero */
.page-hero { position: relative; overflow: hidden; background: var(--offwhite); padding: clamp(44px, 6vw, 80px) 0 clamp(44px, 6vw, 76px); }
.page-hero .hero-copy { max-width: 820px; }
.page-hero .lead { max-width: 40em; }
.breadcrumbs { margin: 0 0 22px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--slate); }
.breadcrumbs a { color: var(--slate); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 4px; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--line-strong); }
.breadcrumbs [aria-current] { color: var(--navy); font-weight: 700; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.page-hero-grid .photo { height: clamp(320px, 36vw, 440px); }
.page-hero-grid .hero-visual::before { inset: 20px -18px -18px 20px; }

/* ---------- Trust band ---------- */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 22px; }
.trust-strip span { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: .875rem; font-weight: 700; color: var(--navy); }
.trust-strip svg { color: var(--teal); flex: 0 0 auto; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section.offwhite { background: var(--offwhite); }
.section.soft { background: var(--soft); }
.section.cream { background: var(--cream); }
.section-heading { max-width: 720px; margin-bottom: clamp(34px, 4vw, 52px); }
.section-heading .lead { margin-top: 16px; }
.section-heading.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-heading.row > div { max-width: 720px; }

/* ---------- Icon tiles ---------- */
.icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; flex: 0 0 auto;
  background: var(--soft); color: var(--teal); border-radius: 14px;
}
.icon-tile.orange { background: var(--cream); color: var(--orange); }
.icon-tile.navy { background: var(--navy); color: var(--white); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.card-num { font-size: .8125rem; font-weight: 800; color: var(--slate); letter-spacing: .08em; transition: color .2s ease; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .9375rem; line-height: 1.6; margin: 0; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--teal-dark); font-size: .875rem; font-weight: 700;
}
.card-link svg { transition: transform .18s ease; }
a.card:hover, a.card:focus-visible { transform: translateY(-5px); border-color: rgba(13, 115, 119, .45); box-shadow: var(--shadow-md); }
a.card:hover .card-link svg { transform: translateX(3px); }
a.card:hover .card-num { color: var(--teal); }
.card.static:hover { transform: none; }
.below-link { margin-top: 30px; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.split.center { align-items: center; }
.large-copy { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.5rem); line-height: 1.5; letter-spacing: -.015em; font-weight: 600; color: var(--navy); }
.feature-list article { display: flex; gap: 20px; }
.feature-list article + article { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line-strong); }
.offwhite .feature-list article + article, .soft .feature-list article + article { border-color: var(--line-strong); }
.feature-list h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.feature-list p { font-size: .9375rem; margin: 0; }

.photo { width: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.framed { position: relative; }
.framed::before { content: ''; position: absolute; inset: 22px -20px -20px 22px; background: var(--soft); border-radius: var(--radius-lg); }
.framed.cream-frame::before { background: var(--cream); }
.framed .photo { position: relative; height: clamp(360px, 40vw, 520px); box-shadow: var(--shadow-lg); }
.framed figcaption {
  position: relative; display: inline-block; margin-top: 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: .8125rem; font-weight: 700; color: var(--navy);
  box-shadow: var(--shadow-sm);
}

/* ---------- Values / why grid ---------- */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.value-grid article { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; gap: 20px; }
.value-grid h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.value-grid p { font-size: .9375rem; margin: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 48px); counter-reset: step; }
.steps article { position: relative; }
.step-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; flex: 0 0 auto; border-radius: 50%;
  background: var(--white); border: 2px solid var(--teal);
  color: var(--teal-dark); font-weight: 800; font-size: 1rem;
}
.step-line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px); }
.steps article:last-child .step-line { display: none; }
.steps h3 { font-size: 1.25rem; margin-bottom: 10px; }
.steps p { font-size: .9375rem; margin: 0; }

/* ---------- Checklist ---------- */
.checklist { margin: 24px 0 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; color: var(--navy); font-weight: 600; font-size: 1rem; min-width: 0; }
.checklist li span { overflow-wrap: anywhere; }
.checklist li + li { border-top: 1px solid var(--line-strong); }
.checklist svg { flex: 0 0 auto; margin-top: 3px; color: var(--teal); }
.panel { background: var(--soft); border-radius: var(--radius-lg); padding: clamp(28px, 3.4vw, 44px); }
.panel.cream { background: var(--cream); }
.panel .eyebrow { margin-bottom: 12px; }
.panel h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.75rem); }
.note { font-size: .875rem; color: var(--slate); }

/* ---------- Boroughs ---------- */
.borough-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.borough-grid article {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-top: 3px solid var(--teal); border-radius: var(--radius); padding: 28px;
}
.borough-grid article.priority { border-top-color: var(--orange); }
.borough-grid h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.borough-grid p { font-size: .9375rem; margin: 12px 0 0; }
.badge {
  display: inline-flex; align-items: center;
  background: var(--cream); color: #9A5516;
  border-radius: 999px; padding: 4px 12px;
  font-size: .6875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.boroughs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.boroughs li { border: 1px solid var(--line-strong); background: var(--white); border-radius: 999px; padding: 9px 18px; color: var(--navy); font-size: .9375rem; font-weight: 700; }
.boroughs li.priority { border-color: var(--orange); background: var(--cream); }

/* ---------- Contact ---------- */
#request-form { scroll-margin-top: 104px; }
.contact-hero-grid { display: grid; grid-template-columns: 1fr minmax(400px, 500px); gap: clamp(36px, 5vw, 76px); align-items: start; }
.contact-hero-grid .hero-copy { max-width: none; }
.contact-quick { margin-top: 26px; }
.contact-quick li { padding: 11px 0; }
.contact-quick li:first-child { border-top: 0; padding-top: 0; }
.contact-quick svg { color: var(--teal); }
.trust-strip .wrap.cols-3 { grid-template-columns: repeat(3, auto); justify-content: space-between; }
.trust-strip a { color: var(--navy); text-underline-offset: 4px; }
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 12px;
}
.form-card iframe { display: block; width: 100%; min-height: 713px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-card:hover { transform: translateY(-4px); border-color: rgba(13, 115, 119, .45); box-shadow: var(--shadow-md); }
.contact-card .icon-tile { margin-bottom: 18px; }
.contact-card h2 { font-size: 1.375rem; }
.contact-card .big { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; color: var(--teal-dark); overflow-wrap: anywhere; margin-top: 6px; }
.contact-card .big.email { font-size: clamp(1.1rem, .9rem + .8vw, 1.35rem); }
.contact-card p { font-size: .9375rem; margin: 10px 0 0; }
.contact-card .card-link { margin-top: auto; padding-top: 22px; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); margin-top: clamp(40px, 5vw, 64px); }
.detail-block h3 { display: flex; align-items: center; gap: 12px; font-size: 1.1875rem; margin-bottom: 16px; }
.detail-block p, .detail-block li { font-size: .9375rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); margin-bottom: 14px; overflow: hidden; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  color: var(--navy); font-weight: 700; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: 0 0 auto; width: 12px; height: 12px;
  border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal);
  transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details > div { padding: 18px 24px 22px; font-size: .9375rem; }

/* ---------- Closing CTA ---------- */
.closing { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: clamp(60px, 7vw, 92px) 0; }
.closing-sparkles { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); opacity: .14; pointer-events: none; }
.closing .wrap { position: relative; }
.closing-inner { display: flex; justify-content: space-between; align-items: center; gap: 44px; }
.closing h2 { color: var(--white); font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); font-weight: 800; }
.closing .eyebrow { color: #9CCFC7; }
.closing p:not(.eyebrow) { color: #C8DBDF; font-size: 1.0625rem; max-width: 34em; margin: 18px 0 0; }
.closing .actions { margin-top: 0; flex: 0 0 auto; flex-direction: column; align-items: stretch; }
.closing .actions .button { justify-content: center; }
.closing-grid { display: grid; grid-template-columns: 1fr minmax(400px, 500px); gap: clamp(36px, 5vw, 80px); align-items: center; }
.closing-contact { list-style: none; margin: 30px 0 0; padding: 0; }
.closing-contact li { margin-bottom: 16px; }
.closing-contact a, .closing-hours { display: inline-flex; align-items: center; gap: 12px; color: var(--white); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.closing-contact a:hover { text-decoration: underline; text-underline-offset: 5px; }
.closing-contact svg { flex: 0 0 auto; color: #7FB5AE; }
.closing-hours { color: #C8DBDF; font-weight: 600; }
.closing .form-card { border: 0; box-shadow: var(--shadow-lg); }

/* ---------- "What happens next" steps ---------- */
.ns-title {
  margin: 28px 0 14px; color: var(--teal);
  font-size: .6875rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.next-steps { list-style: none; margin: 0; padding: 0; }
.next-steps li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 13px; font-size: .9375rem; line-height: 1.5; }
.next-steps .ns-num { flex: 0 0 auto; color: var(--teal); font-weight: 800; font-size: .8125rem; padding-top: 2px; }
.next-steps strong { color: var(--navy); }
.closing .ns-title { color: #9CCFC7; }
.closing .next-steps li { color: #C8DBDF; }
.closing .next-steps strong { color: var(--white); }
.closing .next-steps .ns-num { color: #7FB5AE; }

/* ---------- Sticky mobile action bar ---------- */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 28px rgba(11, 53, 72, .14);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.mobile-cta-bar .button { flex: 1; min-height: 48px; padding: 12px 16px; font-size: .9375rem; }
.mobile-cta-bar .button.ghost { flex: 0 0 auto; }
@media (max-width: 700px) {
  .mobile-cta-bar { display: flex; }
  .mobile-cta-bar.show { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-cta-bar { transform: none; visibility: hidden; }
  .mobile-cta-bar.show { visibility: visible; }
}

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: #C4D6DB; padding: clamp(52px, 6vw, 76px) 0 26px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .7fr .7fr 1fr; gap: clamp(28px, 4vw, 56px); }
.footer-brand { display: inline-block; background: var(--white); padding: 16px 18px; border-radius: 12px; margin-bottom: 22px; }
.footer-brand img { width: 250px; }
.footer-tagline { max-width: 26em; }
footer h2 { color: var(--white); font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 20px; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #C4D6DB; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-contact a { display: flex; align-items: center; gap: 12px; color: var(--white); font-weight: 700; text-decoration: none; margin-bottom: 14px; overflow-wrap: anywhere; }
.footer-contact a[href^="mailto"] { font-size: .8125rem; letter-spacing: -.01em; }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-contact svg { flex: 0 0 auto; color: #7FB5AE; }
.footer-contact p { display: flex; gap: 12px; margin: 0 0 14px; }
.footer-contact p svg { margin-top: 4px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .14); margin-top: clamp(36px, 5vw, 56px); padding-top: 24px;
  font-size: .8125rem; color: #9DB7BE;
}
.footer-bottom a { color: #C4D6DB; text-underline-offset: 4px; }
.social-link { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- Reading (privacy) ---------- */
.reading { max-width: 780px; }
.reading h2 { margin: 40px 0 14px; font-size: 1.375rem; }
.reading h2:first-child { margin-top: 0; }
.reading a { overflow-wrap: anywhere; }

/* Content stays visible and stationary during scrolling. No entrance transforms. */
.reveal { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .header-inner { gap: 18px; }
  .site-nav { gap: 18px; }
  .brand img { width: 240px; }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .site-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { min-height: 84px; }
  .site-header.menu-open { box-shadow: var(--shadow-md); }
  .mobile-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); padding: 10px var(--gutter) 24px;
  }
  .mobile-nav.open { display: block; max-height: calc(100vh - 150px); overflow-y: auto; }
  .mobile-nav a { display: block; padding: 15px 2px; color: var(--navy); font-weight: 700; font-size: 1.0625rem; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-nav a[aria-current] { color: var(--teal-dark); }
  .m-group { border-bottom: 1px solid var(--line); }
  .m-group summary {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 2px; color: var(--navy); font-weight: 700; font-size: 1.0625rem;
    cursor: pointer; list-style: none;
  }
  .m-group summary::-webkit-details-marker { display: none; }
  .m-group summary .chev { transition: transform .2s ease; }
  .m-group[open] summary .chev { transform: rotate(180deg); }
  .m-group > div { padding: 2px 0 14px; }
  .mobile-nav a.m-sub { border-bottom: 0; padding: 10px 12px; margin: 0 -2px; border-radius: 10px; }
  .mobile-nav a.m-sub:active { background: var(--offwhite); }
  .m-sub strong { display: block; font-size: .9375rem; font-weight: 700; }
  .m-sub[aria-current] { background: var(--soft); }
  .m-sub[aria-current] strong { color: var(--teal-dark); }
  .m-sub small { display: block; margin-top: 2px; color: var(--slate); font-size: .8125rem; font-weight: 500; line-height: 1.45; }
  .mobile-nav .button { display: flex; margin-top: 18px; border-bottom: 0; }
  .mobile-nav .mobile-call { display: flex; align-items: center; gap: 10px; border-bottom: 0; color: var(--teal-dark); }
  .hero-grid, .page-hero-grid, .contact-hero-grid { grid-template-columns: 1fr; }
  .trust-strip .wrap.cols-3 { grid-template-columns: 1fr; justify-content: start; gap: 12px; }
  .hero-visual { max-width: 620px; }
  .photo-note { left: 14px; }
  .trust-strip .wrap { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
  .trust-strip span { justify-content: flex-start; font-size: .8125rem; }
  .cards, .borough-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .split, .contact-grid, .value-grid { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  .framed .photo { height: clamp(320px, 52vw, 460px); }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps article { display: grid; grid-template-columns: 52px 1fr; column-gap: 20px; padding-bottom: 32px; }
  .step-head { margin-bottom: 0; grid-row: 1 / span 3; flex-direction: column; height: 100%; }
  .step-line { width: 2px; height: auto; flex: 1; background: repeating-linear-gradient(180deg, var(--line-strong) 0 8px, transparent 8px 16px); }
  .steps article:last-child { padding-bottom: 0; }
  .steps h3, .steps p { grid-column: 2; }
  .steps h3 { align-self: center; }
  .steps p { margin-top: 10px; }
  .closing-inner { flex-direction: column; align-items: flex-start; gap: 34px; }
  .closing-grid { grid-template-columns: 1fr; }
  .closing .actions { flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .topline .wrap { justify-content: center; }
  .topline-meta span { display: none; }
  .brand img { width: 230px; }
  .cards, .cards.two, .cards.four, .borough-grid, .contact-details { grid-template-columns: 1fr; }
  .trust-strip .wrap { padding-block: 18px; }
  .actions { gap: 14px; }
  .actions .button { width: 100%; }
  .hero-visual::before { inset: 16px -12px -14px 16px; }
  .photo-note { padding: 11px 14px; bottom: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand img { width: 230px; }
  .closing .actions { width: 100%; flex-direction: column; }
  .closing .actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Keep the final footer links above the fixed mobile action bar. */
@media (max-width: 700px) {
  footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

/* Service and industry photo heroes: shared composition, no scroll motion. */
.page-hero-photo .page-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.page-hero-photo .hero-copy, .page-hero-photo .hero-visual { min-width: 0; }
.page-hero-photo .hero-visual { width: calc(100% - 18px); justify-self: center; }
.page-hero-photo .hero-visual .photo { object-position: center; }
.page-hero-photo .hero-visual-medical .photo { object-position: center 28%; }
.page-hero-photo .hero-visual-landscape .photo { height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 1024px) {
  .page-hero-photo .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero-photo .hero-visual { max-width: 620px; }
}

/* Service Areas overview: balanced five-borough composition, isolated from other pages. */
.service-areas-overview .page-hero-photo .hero-visual .photo { object-position: center 20%; }
.service-areas-overview .borough-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-areas-overview .borough-grid article { min-width: 0; }
.service-areas-overview .borough-grid article.priority {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}
.service-areas-overview .borough-grid .priority h3 { flex-direction: column; align-items: flex-start; }
.service-areas-overview .borough-grid .priority .badge { background: var(--white); }
@media (max-width: 1024px) {
  .service-areas-overview .borough-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-areas-overview .borough-grid article.priority { grid-column: 1 / -1; grid-row: auto; }
  .service-areas-overview .borough-grid .priority h3 { flex-direction: row; align-items: center; }
}
@media (max-width: 700px) {
  .service-areas-overview .borough-grid { grid-template-columns: minmax(0, 1fr); }
}
