/* =========================================================================
   DMG Landscape & Earthwork — Inner-page shared styles
   Load AFTER assets/styles.css
   ========================================================================= */

/* ── Shared section base ─────────────────────────────────── */
.sec { padding-block: 6rem; }
.sec--warm { background: #faf9f7; }
.sec--navy { background: var(--navy); color: var(--white); border-radius: 2.5rem; margin-inline: 1rem; }
.sec--strip { padding-block: 3rem; background: #faf9f7; }

.sec-head { max-width: 46rem; margin-bottom: 3.5rem; }
.sec-head .eyebrow { margin-bottom: 24px; }
.sec-head h2 { font-size: var(--text-h2); margin-bottom: 24px; }
.sec-head p { font-size: var(--text-medium); color: #4B4F58; line-height: 1.5; margin-top: 0; max-width: 540px; }
.sec--navy .sec-head p { color: #efefef; }
.sec--navy .eyebrow { color: #fff; --eyebrow-color: #fff; --eyebrow-divider: #fff; }

/* ── NAV ─────────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.28) 55%, transparent 100%);
  --eyebrow-color: #ffffff; --eyebrow-divider: #ffffff;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-solid {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(13,13,13,.08), 0 4px 16px rgba(13,13,13,.05);
  --nav-fg: var(--neutral-darkest);
}
.site-header .nav__logo img { transition: filter .3s var(--ease); filter: brightness(0) invert(1); }
.site-header.is-solid .nav__logo img { filter: brightness(0); }
.site-header .btn-ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.site-header .btn-ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.8); }
.site-header.is-solid .btn-ghost { color: var(--neutral-darkest); background: none; border-color: rgba(13,13,13,.2); backdrop-filter: none; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 5.5rem; }
.nav__logo { flex: none; }
.nav__logo img { height: 3.25rem; width: auto; }
.nav__menu { display: flex; align-items: center; gap: .2rem; margin-inline: auto; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem 1rem; font-size: 1rem; font-weight: 400;
  color: var(--nav-fg, var(--white)); background: none; border: 0; cursor: pointer;
  text-decoration: none; transition: color .25s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .3rem;
  height: 1.5px; background: var(--azure); transform: scaleX(0);
  transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.site-header.is-solid .nav__link.is-active { color: var(--navy); font-weight: 500; }

/* ── Dropdown ── */
.nav__dropdown { position: relative; display: inline-flex; }
.nav__dropdown > .nav__link::after { display: none; }
.nav__chevron { width: .85rem; height: .85rem; flex: none; transition: transform .25s var(--ease); }
.nav__dropdown:hover > .nav__link .nav__chevron { transform: rotate(180deg); }
.nav__curtain {
  position: absolute; top: calc(100% + .25rem); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 248px; background: var(--white);
  border-radius: .85rem; padding: .4rem;
  box-shadow: 0 10px 32px rgba(0,0,0,.15), 0 1px 4px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.07);
  opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index: 200;
}
.nav__dropdown:hover .nav__curtain {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__curtain-item {
  display: block; padding: .6rem 1rem;
  font-size: var(--text-small); color: var(--neutral-darkest);
  text-decoration: none; border-radius: .5rem; white-space: nowrap;
  transition: background .18s, color .18s;
}
.nav__curtain-item:hover { background: #eef5fb; color: var(--azure-dark); }

.nav__actions { display: flex; align-items: center; gap: .85rem; flex: none; }
.nav__actions .btn { --btn-py: .7rem; --btn-px: 1.15rem; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; flex: none; }
.nav__toggle span { width: 1.6rem; height: 2px; border-radius: 2px; background: var(--nav-fg, var(--white)); transition: transform .3s var(--ease), opacity .2s; }
.mobile-panel {
  position: fixed; inset: 0; z-index: 999; background: var(--white); color: var(--neutral-darkest);
  padding: 6rem var(--gutter) 2.5rem; display: flex; flex-direction: column; gap: .25rem;
  transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto;
}
.mobile-panel.is-open { transform: translateX(0); }
.mobile-panel .m-link { font-family: var(--font-body); font-weight: 400; font-size: var(--text-h5); padding: .85rem 0; border-bottom: 1px solid rgba(13,13,13,.08); display: block; color: var(--neutral-darkest); text-decoration: none; }
.mobile-panel .m-actions { display: flex; flex-direction: column; gap: .85rem; margin-top: 1.75rem; }
.mobile-panel .m-actions .btn { width: 100%; --btn-py: 1rem; }
.mobile-close { position: absolute; top: 1.5rem; right: var(--gutter); width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: none; border: 0; cursor: pointer; font-size: 1.75rem; color: var(--neutral-darkest); }
.skip-link { position: fixed; top: -3rem; left: 1rem; z-index: 2000; background: var(--navy); color: var(--white); padding: .65rem 1rem; border-radius: 0 0 var(--radius-button) var(--radius-button); transition: top .2s var(--ease); }
.skip-link:focus { top: 0; }

/* ── Page hero ─────────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding-top: calc(5.5rem + 4.5rem);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
  --eyebrow-color: #ffffff;
  --eyebrow-divider: #ffffff;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 80% 50%, rgba(42,166,224,.1), transparent);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: #fff; margin-bottom: 1.25rem; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.05; color: var(--white); margin-bottom: 1.25rem; }
.page-hero h1 em { font-style: italic; color: var(--azure-light); }
.page-hero__sub { font-size: var(--text-medium); color: rgba(255,255,255,.82); max-width: 44rem; line-height: 1.65; }
.page-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.page-hero--img {
  min-height: 55vh;
  display: flex; align-items: flex-end;
}
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,20,28,.88) 0%, rgba(8,20,28,.52) 55%, rgba(8,20,28,.22) 100%),
              linear-gradient(0deg, rgba(8,20,28,.72) 0%, transparent 52%);
}
.page-hero--img .container { position: relative; z-index: 1; padding-bottom: 5rem; }
.breadcrumb { display: flex; align-items: center; gap: .4rem; margin-bottom: 1.5rem; font-size: var(--text-tiny); font-weight: 600; letter-spacing: .07em; text-transform: uppercase; opacity: .65; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb span { opacity: .5; }

/* ── Stats strip ──────────────────────────────────────── */
.stats-strip { padding-block: 2.5rem; background: var(--navy); }
.stats-strip .container { display: flex; justify-content: center; flex-wrap: wrap; gap: 4rem; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--white); line-height: 1; }
.stat-label { font-size: var(--text-tiny); color: rgba(255,255,255,.6); letter-spacing: .08em; text-transform: uppercase; margin-top: .35rem; }
.stats-warm { padding-block: 3.5rem; background: #faf9f7; }
.stats-warm .container { display: flex; justify-content: center; flex-wrap: wrap; gap: 4rem; }
.stats-warm .stat-num { color: var(--navy); }
.stats-warm .stat-label { color: #4B4F58; }

/* ── Service cards ────────────────────────────────────── */
.srv-grid-pg {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.srv-card-pg {
  background: var(--white); border-radius: 1rem; overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(13,13,13,.07);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
  display: flex; flex-direction: column;
}
.srv-card-pg:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.srv-card-pg__img { aspect-ratio: 16/9; overflow: hidden; background: var(--navy-dark); }
.srv-card-pg__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.srv-card-pg:hover .srv-card-pg__img img { transform: scale(1.05); }
.srv-card-pg__body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.srv-card-pg__icon { width: 2.75rem; height: 2.75rem; border-radius: .6rem; background: rgba(42,166,224,.1); display: grid; place-items: center; margin-bottom: 1rem; flex: none; }
.srv-card-pg__icon svg { width: 1.25rem; height: 1.25rem; color: var(--azure-dark); }
.srv-card-pg h3 { font-size: var(--text-h4); color: var(--neutral-darkest); margin-bottom: .65rem; line-height: 1.25; }
.srv-card-pg p { font-size: var(--text-small); color: #4B4F58; line-height: 1.6; flex: 1; }
.srv-card-pg__link { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.25rem; font-size: var(--text-small); font-weight: 500; color: var(--azure-dark); text-decoration: none; transition: gap .25s var(--ease); }
.srv-card-pg__link svg { width: .85em; height: .85em; flex: none; }
.srv-card-pg__link:hover { gap: .7rem; }

/* ── Service detail (inner pages) ───────────────────── */
.srv-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 6rem; align-items: start; }
.srv-detail__lead { font-size: var(--text-medium); color: #3F444D; line-height: 1.7; margin-bottom: 2rem; }
.srv-checklist__label { font-size: var(--text-tiny); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--neutral); margin: 0 0 1.25rem; }
.srv-checklist__note { font-size: var(--text-small); color: #3F444D; line-height: 1.7; margin-top: 1.75rem; }
.srv-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.15rem; }
.srv-checklist li { display: flex; align-items: flex-start; gap: .75rem; font-size: var(--text-small); color: #3F444D; line-height: 1.6; }
.srv-checklist li svg { width: 1rem; height: 1rem; color: var(--azure-dark); flex: none; margin-top: 2px; }
.srv-aside { background: #faf9f7; border-radius: 1.5rem; padding: 2.5rem; }
.srv-aside h3 { font-size: var(--text-h4); color: var(--neutral-darkest); margin-bottom: 1.25rem; }
.srv-aside .info-row { display: flex; justify-content: space-between; align-items: center; padding: .75rem 0; border-bottom: 1px solid rgba(13,13,13,.08); font-size: var(--text-small); }
.srv-aside .info-row:last-child { border-bottom: 0; }
.srv-aside .info-label { font-weight: 500; color: var(--neutral-darkest); }
.srv-aside .info-val { color: #4B4F58; }

/* ── Process steps ───────────────────────────────────── */
.proc-grid-pg {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem;
  position: relative;
}
.proc-grid-pg::before {
  content: '';
  position: absolute; top: 2.5rem; left: 3rem; right: 3rem;
  height: 1px; background: rgba(255,255,255,.15); z-index: 0;
}
.proc-step-pg { position: relative; z-index: 1; }
.proc-num-pg {
  width: 5rem; height: 5rem; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  display: grid; place-items: center;
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--azure-light);
  margin-bottom: 1.5rem;
}
.proc-step-pg h3 { font-size: var(--text-h4); color: var(--white); margin-bottom: .75rem; }
.proc-step-pg p { font-size: var(--text-small); color: rgba(255,255,255,.75); line-height: 1.7; }

/* ── Gallery ─────────────────────────────────────────── */
.gal-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: .75rem; margin-block: 3rem;
}
.gal-grid .gal-cell { border-radius: .5rem; overflow: hidden; aspect-ratio: 4/3; background: var(--navy-dark); cursor: pointer; }
.gal-grid .gal-cell:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gal-grid .gal-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.gal-grid .gal-cell:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: none; background: rgba(4,12,18,.93); place-items: center; padding: 2rem; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(900px, 90vw); max-height: 85vh; border-radius: .75rem; object-fit: contain; }
.lightbox__close { position: absolute; top: 1.5rem; right: 1.5rem; width: 3rem; height: 3rem; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: var(--white); display: grid; place-items: center; cursor: pointer; font-size: 1.5rem; line-height: 1; }
.lightbox__close:hover { background: rgba(255,255,255,.22); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }
.lightbox__nav svg { width: 1.2rem; height: 1.2rem; }

/* ── Before / After slider ───────────────────────────── */
.ba-slider { position: relative; overflow: hidden; border-radius: var(--radius-card); aspect-ratio: 16/9; cursor: ew-resize; user-select: none; -webkit-user-select: none; background: var(--navy-dark); touch-action: none; }
.ba-before, .ba-after { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ba-before img, .ba-after img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; display: block; }
.ba-after { clip-path: inset(0 50% 0 0); }
.ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--white); transform: translateX(-50%); pointer-events: none; z-index: 3; }
.ba-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-md); display: grid; place-items: center; z-index: 4; pointer-events: none; }
.ba-handle svg { width: 1.1rem; height: 1.1rem; color: var(--navy); }
.ba-tag { position: absolute; top: .75rem; z-index: 5; padding: .25rem .65rem; border-radius: 999px; font-size: var(--text-tiny); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; pointer-events: none; }
.ba-tag--before { left: .75rem; background: rgba(13,13,13,.6); color: rgba(255,255,255,.85); backdrop-filter: blur(4px); }
.ba-tag--after  { right: .75rem; background: var(--azure); color: var(--white); }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-block: 3rem; }

/* ── Team grid ───────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.team-card { text-align: center; }
.team-photo { width: 100%; aspect-ratio: 3/4; border-radius: 1.25rem; overflow: hidden; background: var(--navy-lighter); margin-bottom: 1.25rem; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-name { font-family: var(--font-heading); font-size: var(--text-h5); font-weight: 700; color: var(--neutral-darkest); margin-bottom: .25rem; }
.team-role { font-size: var(--text-small); color: var(--azure-dark); font-weight: 500; margin-bottom: .6rem; }
.team-bio { font-size: var(--text-small); color: #4B4F58; line-height: 1.65; }

/* ── Values grid ─────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.value-card { padding: 2rem; border-radius: 1rem; background: #faf9f7; border: 1px solid rgba(13,13,13,.06); }
.value-icon { width: 3rem; height: 3rem; border-radius: .75rem; background: rgba(42,166,224,.1); display: grid; place-items: center; margin-bottom: 1rem; }
.value-icon svg { width: 1.4rem; height: 1.4rem; color: var(--azure-dark); }
.value-card h3 { font-size: var(--text-h5); color: var(--neutral-darkest); margin-bottom: .5rem; }
.value-card p { font-size: var(--text-small); color: #4B4F58; line-height: 1.65; }

/* ── Contact info cards ──────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.contact-card { padding: 2rem; border-radius: 1rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.contact-card__icon { width: 2.75rem; height: 2.75rem; border-radius: .6rem; background: rgba(42,166,224,.15); display: grid; place-items: center; margin-bottom: 1rem; }
.contact-card__icon svg { width: 1.2rem; height: 1.2rem; color: var(--azure-light); }
.contact-card h3 { font-size: var(--text-h5); color: var(--white); margin-bottom: .5rem; }
.contact-card p, .contact-card a { font-size: var(--text-small); color: rgba(255,255,255,.75); line-height: 1.65; text-decoration: none; }
.contact-card a:hover { color: var(--white); text-decoration: underline; }

/* ── Map embed ───────────────────────────────────────── */
.map-wrap { border-radius: 1.5rem; overflow: hidden; height: 420px; margin-top: 3rem; box-shadow: var(--shadow-md); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── CTA strip ───────────────────────────────────────── */
.cta-strip-wrap { padding-block: 1rem 5rem; }
.cta-strip {
  background: var(--navy); border-radius: 2rem;
  padding: 4.5rem 3rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(42,166,224,.14), transparent);
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip .eyebrow { color: #fff; align-items: center; margin-bottom: 1rem; }
.cta-strip h2 { font-size: var(--text-h2); color: var(--white); margin-bottom: .85rem; line-height: 1.05; }
.cta-strip h2 em { font-style: italic; color: var(--azure-light); }
.cta-strip p { font-size: var(--text-medium); color: rgba(255,255,255,.8); margin-bottom: 2.25rem; max-width: 38rem; margin-inline: auto; }
.cta-strip__btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.cta-strip .btn-outline-light { color: #efefef; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.cta-strip .btn-outline-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.85); transform: translateY(-2px); }

/* ── Full CTA / Contact section ──────────────────────── */
.cta-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.cta-copy h2 { font-size: var(--text-h2); color: var(--white); margin-bottom: 24px; }
.cta-copy h2 em { font-style: italic; color: var(--azure-light); }
.cta-copy > p { color: #efefef; font-size: var(--text-medium); line-height: 1.5; max-width: 540px; margin-top: 24px; }
.cta-bullets { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.cta-bullet { display: flex; align-items: center; gap: .75rem; font-size: var(--text-small); color: #efefef; }
.cta-bullet svg { width: 1.1rem; height: 1.1rem; color: var(--azure-light); flex: none; }
.cta-form { background: var(--white); border-radius: var(--radius-card); padding: 2.5rem; box-shadow: var(--shadow-lg); }
.cta-form h3 { font-size: 1.5rem; color: #424242; margin-bottom: 1.75rem; font-family: var(--font-heading); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f-field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.f-field label { font-size: var(--text-tiny); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--neutral-dark); }
.f-field input, .f-field select, .f-field textarea {
  width: 100%; padding: .75rem 1rem; border: 1px solid rgba(13,13,13,.15); border-radius: var(--radius-tag);
  font-family: var(--font-body); font-size: 1rem; color: #424242; background: var(--white);
  outline: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.f-field input:focus, .f-field select:focus, .f-field textarea:focus {
  border-color: var(--azure); box-shadow: 0 0 0 3px rgba(42,166,224,.14);
}
.f-field textarea { resize: vertical; min-height: 5rem; }
.f-submit { width: 100%; margin-top: .5rem; --btn-py: 1rem; font-size: var(--text-regular); }

/* ── Testimonials marquee ────────────────────────────── */
.testi-section { padding-block: 6rem; background: var(--white); }
.testi-marquee {
  position: relative; overflow: hidden;
  width: 100vw; margin-left: calc(50% - 50vw);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.testi-track { display: flex; gap: 1.5rem; width: max-content; animation: testiScroll 70s linear infinite; }
.testi-marquee:hover .testi-track { animation-play-state: paused; }
@keyframes testiScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.testi-card {
  flex: none; width: 24rem; max-width: 82vw;
  background: var(--navy); color: var(--white);
  border-radius: 2.5rem; padding: 2rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.testi-stars { display: flex; gap: 3px; color: #ffd75e; }
.testi-stars svg { width: .9rem; height: .9rem; }
.testi-card blockquote { font-family: var(--font-body); font-weight: 400; font-size: 1.125rem; font-style: italic; line-height: 1.6; color: #efefef; margin: 0; flex: 1; }
.testi-author { display: flex; align-items: center; gap: .85rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.28); }
.testi-name { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--white); }
.testi-loc { font-size: var(--text-tiny); color: rgba(255,255,255,.7); letter-spacing: .04em; text-transform: uppercase; }
.testi-foot { display: flex; justify-content: center; margin-top: 2.5rem; }
.testi-seeall { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--text-small); font-weight: 500; color: var(--azure-dark); text-decoration: none; opacity: .85; transition: opacity .25s var(--ease); }
.testi-seeall:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.testi-seeall svg { width: .95em; height: .95em; }
@media (prefers-reduced-motion: reduce) {
  .testi-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq-section { padding-block: 5rem; }
.faq-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.faq-aside h2 { font-size: var(--text-h2); margin-bottom: 1rem; }
.faq-aside p { font-size: var(--text-small); color: #4B4F58; line-height: 1.65; margin-bottom: 2rem; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(13,13,13,.1); }
.faq-item:first-child { border-top: 1px solid rgba(13,13,13,.1); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.25rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  font-family: var(--font-body); font-size: var(--text-regular); font-weight: 500;
  color: #424242; line-height: 1.4;
}
.faq-q svg { width: 1.1rem; height: 1.1rem; color: var(--azure-dark); flex: none; transition: transform .3s var(--ease); }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .75s cubic-bezier(0.16,1,0.3,1), padding .5s var(--ease); padding-bottom: 0; }
.faq-item.is-open .faq-a { max-height: 24rem; padding-bottom: 1.25rem; }
.faq-a p { font-size: var(--text-small); color: #4B4F58; line-height: 1.75; margin: 0; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ── Circular process grid (service pages + Why DMG) ────── */
.svc-proc-section { padding-block: 6rem; background: linear-gradient(rgba(14,42,62,.78), rgba(14,42,62,.78)), url('../uploads/pasted-1781416437066-0.png') center / cover fixed; overflow: hidden; border-radius: 2.5rem; margin-inline: 1rem; }
.svc-proc-section .sec-head { margin-bottom: 3.5rem; }
.svc-proc-section .sec-head h2 { color: var(--white); }
.svc-proc-section .sec-head p { color: rgba(255,255,255,.8); }
.svc-proc-section .eyebrow { color: #ffffff; }
.svc-proc-section .sec-head { text-align: left; }
.svc-proc-section .sec-head h2 { color: var(--white); }
.svc-proc-section .sec-head p { color: rgba(255,255,255,.8); }
.svc-proc-section .eyebrow { color: #ffffff; }
.svc-proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin-top: 1rem; }
.svc-proc-grid::before { content: ""; position: absolute; top: 2.35rem; left: 12.5%; right: 12.5%; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,.2) 20%, rgba(255,255,255,.45) 50%, rgba(255,255,255,.2) 80%, transparent); }
.svc-proc-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1.5rem; gap: 1.25rem; transition: transform .35s var(--ease); }
.svc-proc-step:hover { transform: scale(1.1) translateY(-5px); }
.svc-proc-num { width: 4.75rem; height: 4.75rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--white); background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.25); transition: border-color .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); position: relative; z-index: 1; }
.svc-proc-step:hover .svc-proc-num { border-color: var(--azure); background: rgba(42,166,224,.2); box-shadow: 0 0 0 6px rgba(42,166,224,.12); transform: scale(1.08); }
.svc-proc-step h3 { font-size: var(--text-h6); margin-bottom: .2rem; color: var(--white); }
.svc-proc-step p { font-size: var(--text-small); color: rgba(255,255,255,.8); line-height: 1.6; }
.svc-proc-cta { margin-top: 3.5rem; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.svc-proc-cta p { color: rgba(255,255,255,.6); font-size: var(--text-small); }
@media (max-width: 860px) { .svc-proc-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } .svc-proc-grid::before { display: none; } }
@media (max-width: 560px) { .svc-proc-grid { grid-template-columns: 1fr; } }

/* ── Scroll Reveal ───────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transition: opacity 2.744s ease var(--reveal-delay, 0s); }
  [data-reveal].is-revealed { opacity: 1; }
}

/* ── Footer ──────────────────────────────────────────── */
.footer { background: var(--navy-darkest); color: #9a9a9a; font-size: 0.875rem; line-height: 1.5; padding-block: 4rem 2.25rem; border-radius: 2.5rem 2.5rem 0 0; margin-inline: 1rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 4rem; padding-bottom: 3rem; margin-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-brand img { height: 3.25rem; width: auto; margin-bottom: 1.25rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.875rem; line-height: 1.5; max-width: 22rem; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.footer-social a { width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #9a9a9a; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.footer-social a:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); color: var(--white); }
.footer-social svg { width: 1.1rem; height: 1.1rem; }
.footer-col h4 { font-family: var(--font-body); font-size: var(--text-tiny); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.footer-col li a { font-size: 0.875rem; color: #9a9a9a; transition: color .2s; }
.footer-col li a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: var(--text-tiny); flex-wrap: wrap; gap: 1rem; }
.footer-credit { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: var(--text-tiny); color: rgba(255,255,255,.4); }
.footer-credit a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.footer-credit a:hover { color: var(--white); text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .cta-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .srv-grid-pg { grid-template-columns: repeat(2, 1fr); }
  .proc-grid-pg { grid-template-columns: repeat(2, 1fr); }
  .proc-grid-pg::before { display: none; }
}
@media (max-width: 700px) {
  .footer-top { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-col ul { gap: 0; }
  .footer-col li a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 1024px) {
  .nav__menu, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .nav { min-height: 4.75rem; }
  .srv-detail { grid-template-columns: 1fr; gap: 3rem; }
  .ba-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 1rem; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-grid .gal-cell:nth-child(1) { grid-column: span 1; grid-row: span 1; }
}

/* ── CRO: Problems + Right time ──────────────────────────── */
.cro-section { padding-block: 6rem; background: #faf9f7; }
.cro-head { max-width: 46rem; margin-bottom: 3.5rem; }
.cro-head .eyebrow { margin-bottom: 1rem; }
.cro-head h2 { font-size: var(--text-h2); color: var(--neutral-darkest); margin-bottom: 1rem; }
.cro-head p { font-size: var(--text-medium); color: #4B4F58; line-height: 1.6; max-width: 40rem; }
.cro-problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cro-card { background: var(--white); border: 1px solid rgba(13,13,13,.07); border-radius: 1.25rem; padding: 1.75rem; display: flex; flex-direction: column; gap: .75rem; box-shadow: 0 1px 3px rgba(0,0,0,.04); transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.cro-card:hover { border-color: rgba(42,166,224,.35); box-shadow: 0 12px 32px rgba(42,166,224,.13); transform: translateY(-4px); }
.cro-card__icon { width: 2.5rem; height: 2.5rem; border-radius: .7rem; background: rgba(42,166,224,.12); display: grid; place-items: center; flex: none; transition: background .25s var(--ease); }
.cro-card:hover .cro-card__icon { background: rgba(42,166,224,.2); }
.cro-card__icon svg { width: 1.15rem; height: 1.15rem; color: var(--azure-dark); }
.cro-card h3 { font-size: var(--text-h5); color: var(--neutral-darkest); line-height: 1.3; margin: 0; }
.cro-card p { font-size: var(--text-small); color: #424242; line-height: 1.6; margin: 0; }
.cro-triggers__label { font-size: var(--text-tiny); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); margin: 0 0 1rem; }
.cmp-microcopy { color: rgba(255,255,255,.6); font-size: var(--text-small); margin-top: .75rem; }
.faq-more { font-size: var(--text-small); color: #3F444D; margin-top: 2rem; }
.faq-more a { color: var(--azure-dark); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }

/* Right-time — floating navy tile matching homepage .sec--navy */
.cro-timing { padding-block: 6rem; }
.cro-panel { background: var(--navy); color: var(--white); border-radius: 2.5rem; margin-inline: 1rem; --eyebrow-color: #ffffff; --eyebrow-divider: #ffffff; padding: 4rem; display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.cro-panel__intro .eyebrow { color: #ffffff; margin-bottom: 1rem; }
.cro-panel__intro h3 { font-family: var(--font-heading); font-size: var(--text-h3); color: var(--white); line-height: 1.15; margin-bottom: 1rem; }
.cro-panel__intro p { font-size: var(--text-small); color: rgba(255,255,255,.78); line-height: 1.7; margin-bottom: 1.75rem; }
.cro-panel__intro .btn-primary { background: transparent; background-image: none; border: 1px solid rgba(255,255,255,.5); color: #efefef; box-shadow: none; padding: 14px 34px; }
.cro-panel__intro .btn-primary:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8); transform: translateY(-2px); box-shadow: none; }
.cro-triggers { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .9rem; }
.cro-trigger { display: flex; align-items: flex-start; gap: .9rem; font-size: var(--text-small); color: rgba(255,255,255,.9); line-height: 1.55; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: .9rem; padding: 1rem 1.15rem; transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.cro-trigger:hover { background: rgba(42,166,224,.13); border-color: rgba(42,166,224,.4); transform: translateX(4px); }
.cro-trigger svg { width: 1.1rem; height: 1.1rem; color: var(--azure-light); flex: none; margin-top: 2px; }
@media (max-width: 860px) {
  .cro-problems { grid-template-columns: 1fr 1fr; }
  .cro-panel { grid-template-columns: 1fr; gap: 2.25rem; padding: 2.5rem; }
}
@media (max-width: 560px) { .cro-problems { grid-template-columns: 1fr; } }

/* ── Why choose us (service pages) ───────────────────── */
.why-section { padding-block: 6rem; }
.why-head { max-width: 46rem; margin-bottom: 3.5rem; }
.why-head .eyebrow { margin-bottom: 1rem; }
.why-head h2 { font-size: var(--text-h2); color: var(--neutral-darkest); margin-bottom: 1rem; }
.why-head p { font-size: var(--text-medium); color: #4B4F58; line-height: 1.6; max-width: 42rem; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.why-card { background: #faf9f7; border: 1px solid rgba(13,13,13,.07); border-radius: 1.25rem; padding: 2rem 1.75rem; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.why-card:hover { border-color: rgba(42,166,224,.35); box-shadow: 0 12px 32px rgba(42,166,224,.12); transform: translateY(-4px); }
.why-icon { width: 2.75rem; height: 2.75rem; border-radius: .75rem; background: rgba(42,166,224,.12); display: grid; place-items: center; margin-bottom: 1.25rem; }
.why-icon svg { width: 1.2rem; height: 1.2rem; color: var(--azure-dark); }
.why-card h3 { font-size: var(--text-h5); color: var(--neutral-darkest); margin-bottom: .55rem; }
.why-card p { font-size: var(--text-small); color: #4B4F58; line-height: 1.65; margin: 0; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .values-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ── Comparison (service pages) ──────────────────────── */
.cmp-section { background: var(--white); padding-block: 5rem; }
.cmp-header { text-align: left; max-width: 46rem; margin-bottom: 3rem; }
.cmp-header .eyebrow { margin-bottom: 1rem; }
.cmp-header h2 { font-size: var(--text-h2); color: var(--neutral-darkest); margin-bottom: 1rem; }
.cmp-header p { color: #4B4F58; font-size: var(--text-medium); line-height: 1.55; max-width: 42rem; }
.cmp-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.cmp-col { border-radius: var(--radius-card); padding: 2.5rem; }
.cmp-col--others { background: var(--neutral-lightest); border: 1px solid rgba(13,13,13,.08); }
.cmp-col--dmg { background: var(--navy); border: 1.5px solid var(--azure); position: relative; overflow: hidden; }
.cmp-col--dmg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(42,166,224,.14), transparent); pointer-events: none; }
.cmp-label { display: inline-flex; align-items: center; gap: .6rem; font-size: var(--text-tiny); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.75rem; }
.cmp-col--others .cmp-label { color: var(--neutral-dark); }
.cmp-col--dmg .cmp-label { color: var(--azure-light); }
.cmp-label svg { width: 1rem; height: 1rem; }
.cmp-title { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-h4); margin-bottom: 1.75rem; line-height: 1.15; }
.cmp-col--others .cmp-title { color: var(--neutral-darkest); }
.cmp-col--dmg .cmp-title { color: var(--white); }
.cmp-list { display: flex; flex-direction: column; gap: .65rem; list-style: none; padding: 0; margin: 0; }
.cmp-item { display: flex; align-items: center; gap: .85rem; font-size: var(--text-small); line-height: 1.55; border-radius: .75rem; padding: .9rem 1.1rem; }
.cmp-col--others .cmp-item { color: #4B4F58; background: var(--white); border: 1px solid rgba(13,13,13,.07); box-shadow: 0 1px 3px rgba(0,0,0,.04); transition: background .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease); }
.cmp-col--others .cmp-item:hover { background: #f0f7fd; border-color: rgba(42,166,224,.35); box-shadow: 0 4px 14px rgba(42,166,224,.12); transform: translateX(4px); }
.cmp-col--dmg .cmp-item { color: rgba(255,255,255,.88); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); transition: background .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease); }
.cmp-col--dmg .cmp-item:hover { background: rgba(42,166,224,.14); border-color: rgba(42,166,224,.45); box-shadow: 0 4px 14px rgba(42,166,224,.15); transform: translateX(-4px); }
.cmp-icon { width: 1.35rem; height: 1.35rem; border-radius: 50%; display: grid; place-items: center; flex: none; margin-top: .1rem; }
.cmp-icon--x { background: rgba(13,13,13,.07); }
.cmp-icon--x svg { width: .7rem; height: .7rem; color: var(--neutral); }
.cmp-icon--check { background: rgba(42,166,224,.18); }
.cmp-icon--check svg { width: .75rem; height: .75rem; color: var(--azure-light); }
.cmp-cta { margin-top: 2rem; position: relative; z-index: 1; }
@media (max-width: 640px) { .cmp-wrap { grid-template-columns: 1fr; } .cmp-col--others { display: none; } }

/* ── Form states ─────────────────────────────────────── */
.f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-field.has-error input, .f-field.has-error select, .f-field.has-error textarea { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,.12); }
.f-status { margin-top: .85rem; font-size: var(--text-small); line-height: 1.5; min-height: 1.2em; }
.f-status.is-error { color: #C0392B; font-weight: 600; }
.f-status.is-ok { color: #1E7A46; font-weight: 600; }
.f-fineprint { margin-top: .6rem; font-size: var(--text-tiny); color: var(--neutral); line-height: 1.55; }

.ba-handle { pointer-events: auto; }
.ba-handle:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; }

/* Service-page mini gallery. Lived in an inline <style> on all seven service
   pages; promoted here so a page can use it without carrying a copy. */
.mini-gal { display:grid; grid-template-columns:repeat(3,1fr); gap:.75rem; margin-top:3rem }

.mini-gal .gc { border-radius:.625rem; overflow:hidden; aspect-ratio:4/3; background:var(--navy-dark) }

.mini-gal .gc img { width:100%; height:100%; object-fit:cover; display:block; transition:transform 1.2s var(--ease) }

.mini-gal .gc:hover img { transform:scale(1.06) }

@media (max-width: 860px) { .mini-gal { grid-template-columns: 1fr 1fr; } }

/* ── Parallax section ──────────────────────────────────────
   A photo background that drifts against the scroll. The scrim is heavy
   on purpose: body copy sits on top of it and has to stay readable over
   whatever the photo happens to be doing behind it. Motion is applied in
   pages.js and skipped entirely under prefers-reduced-motion, which
   leaves a plain static background rather than a broken one. */
.sec--parallax {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-darkest);
  color: var(--white);
}
.sec-parallax__bg {
  position: absolute;
  inset: -14% 0;
  z-index: 0;
  pointer-events: none;
}
.sec-parallax__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.sec--parallax::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4,12,18,.82) 0%, rgba(4,12,18,.76) 50%, rgba(4,12,18,.84) 100%);
}
.sec--parallax > .container { position: relative; z-index: 2; }

.sec--parallax .eyebrow { color: var(--azure-lighter); }
.sec--parallax h2 { color: var(--white); }
.sec--parallax .srv-detail__lead { color: rgba(255,255,255,.88); }
.sec--parallax .srv-checklist li { color: rgba(255,255,255,.92); }
.sec--parallax .srv-checklist li svg { color: var(--azure-light); }
.sec--parallax .srv-checklist a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(105,192,233,.6); }
.sec--parallax .srv-checklist a:hover { color: var(--azure-light); text-decoration-color: var(--azure-light); }
.sec--parallax .srv-checklist__note { color: rgba(255,255,255,.78); }

/* ── Services mosaic ───────────────────────────────────────
   The flip-card grid from the home page. index.html does not load
   this stylesheet, so it keeps its own copy in an inline <style>;
   this is the copy every other page uses. Change both together. */
/* ── SERVICES ─────────────────────────────────────────────── */
.srv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  width: 100vw; margin-left: 50%; transform: translateX(-50%);
}
.srv-card {
  position: relative; height: 30rem; overflow: hidden;
  background: var(--navy-dark); cursor: pointer;
}
.srv-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.srv-card img.srv-photo {
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.srv-card:hover img.srv-photo,
.srv-card:focus-within img.srv-photo { transform: scale(1.07); }
.srv-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(4,12,18,.92) 0%, rgba(4,12,18,.35) 45%, transparent 75%);
  transition: background .6s var(--ease);
}
.srv-card:hover .srv-scrim,
.srv-card:focus-within .srv-scrim {
  background: linear-gradient(to top, rgba(4,12,18,.95) 0%, rgba(4,12,18,.55) 55%, rgba(4,12,18,.15) 100%);
}
.srv-body {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 2rem 2rem 2.25rem;
  display: flex; flex-direction: column;
}
.srv-reveal {
  max-height: 0; opacity: 0; overflow: hidden;
  transform: translateY(12px);
  transition: max-height .6s cubic-bezier(0.16,1,0.3,1),
              opacity .5s var(--ease),
              transform .6s cubic-bezier(0.16,1,0.3,1),
              margin-bottom .6s cubic-bezier(0.16,1,0.3,1);
  margin-bottom: 0;
}
.srv-card:hover .srv-reveal,
.srv-card:focus-within .srv-reveal {
  max-height: 14rem; opacity: 1; transform: translateY(0); margin-bottom: 1.1rem;
}
.srv-desc {
  font-size: var(--text-small); color: rgba(255,255,255,.82);
  line-height: 1.65; margin: 0;
}
.srv-link {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1.1rem; font-size: var(--text-small); font-weight: 500;
  color: var(--azure-light);
}
.srv-link svg { width: .85em; height: .85em; transition: transform .25s var(--ease); }
.srv-card:hover .srv-link svg { transform: translateX(4px); }
.srv-title {
  font-family: var(--font-heading); font-weight: 700; font-size: var(--text-h4);
  color: var(--white); line-height: 1.15; margin: 0;
}
/* Flip back face — hidden in the uniform grid (uniform behavior unchanged) */
.srv-back { display: none; }
/* ── SERVICES · Mosaic (bento) variant ──────────────────── */
.srv-grid--mosaic {
  width: auto; margin-left: 0; transform: none;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 15rem; gap: 1rem;
}
.srv-grid--mosaic .srv-card { height: auto; border-radius: 1.1rem; }
.srv-grid--mosaic .srv-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.srv-grid--mosaic .srv-card:nth-child(2) { grid-column: span 2; }
.srv-grid--mosaic .srv-card:nth-child(5) { grid-column: span 2; }
.srv-grid--mosaic .srv-card:nth-child(1) .srv-title { font-size: var(--text-h3); }
/* Two-face structure: front wrapper fills the card (both layouts) */
.srv-front { position: absolute; inset: 0; }
.srv-flip { position: absolute; inset: 0; }
/* Mosaic hover: description slides up from the bottom under a translucent blue
   overlay — no 3D flip (avoids the flicker entirely). */
.srv-grid--mosaic .srv-card { overflow: hidden; background: var(--navy-dark); }
.srv-grid--mosaic .srv-flip { position: absolute; inset: 0; }
.srv-grid--mosaic .srv-card .srv-reveal { display: none; }
/* no double reveal */
.srv-grid--mosaic .srv-card img.srv-photo { transition: transform 1.1s cubic-bezier(.16,1,.3,1); }
.srv-grid--mosaic .srv-card:hover img.srv-photo,
.srv-grid--mosaic .srv-card:focus-within img.srv-photo { transform: scale(1.05); }
.srv-grid--mosaic .srv-back {
  display: flex; position: absolute; inset: 0; z-index: 3;
  flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: .6rem;
  padding: 1.5rem; text-align: left; color: var(--white);
  background: linear-gradient(to top, rgba(16,54,84,.94) 0%, rgba(20,72,112,.74) 55%, rgba(28,96,150,.42) 100%);
  transform: translateY(100%);
  transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.srv-grid--mosaic .srv-card:hover .srv-back,
.srv-grid--mosaic .srv-card:focus-within .srv-back { transform: translateY(0); }
/* hide the front service name once the panel slides up (back-title replaces it) */
.srv-grid--mosaic .srv-card .srv-title { transition: opacity .35s var(--ease); }
.srv-grid--mosaic .srv-card:hover .srv-title,
.srv-grid--mosaic .srv-card:focus-within .srv-title { opacity: 0; }
.srv-grid--mosaic .srv-back .srv-back-title { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-h6); color: var(--white); line-height: 1.12; margin: 0; }
.srv-grid--mosaic .srv-back .srv-desc {
  color: rgba(255,255,255,.9); font-size: var(--text-tiny); line-height: 1.5; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.srv-grid--mosaic .srv-back .srv-link {
  margin-top: .2rem; padding: .55rem 1rem; font-size: var(--text-tiny);
  border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.srv-grid--mosaic .srv-back .srv-link:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); }
/* large feature tile (Landscape Design) has room for more */
.srv-grid--mosaic .srv-card:nth-child(1) .srv-back { padding: 2.25rem; gap: 1rem; }
.srv-grid--mosaic .srv-card:nth-child(1) .srv-back-title { font-size: var(--text-h3); }
.srv-grid--mosaic .srv-card:nth-child(1) .srv-back .srv-desc { font-size: var(--text-small); -webkit-line-clamp: 6; }
/* wide short tiles (Hardscape, Fencing) — more horizontal room, fewer lines */
.srv-grid--mosaic .srv-card:nth-child(2) .srv-back,
.srv-grid--mosaic .srv-card:nth-child(5) .srv-back { padding: 1.5rem 2rem; }
@media (max-width: 900px) {
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .srv-card { height: 26rem; }}
@media (max-width: 900px) {
  .srv-grid--mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 13rem; }
  .srv-grid--mosaic .srv-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .srv-grid--mosaic .srv-card:nth-child(2) { grid-column: span 2; }
  .srv-grid--mosaic .srv-card:nth-child(5) { grid-column: span 2; }}
@media (max-width: 560px) {
  .srv-grid--mosaic { grid-template-columns: 1fr; grid-auto-rows: 16rem; }
  .srv-grid--mosaic .srv-card { grid-column: auto !important; grid-row: auto !important; }}
@media (prefers-reduced-motion: reduce) {
  .srv-grid--mosaic .srv-back { transition: none; }}
@media (max-width: 700px) {
  .srv-grid { grid-template-columns: 1fr; }
  .srv-card { height: 22rem; }}
@media (max-width: 560px) {
  .srv-grid, .proc-grid { grid-template-columns: 1fr; }}

/* ── Home-style hero ───────────────────────────────────────
   Lifted from index.html's inline <style>, which is still the only
   copy the home page itself reads. Service-area pages use this one.
   Change both together. */
/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: flex-end; overflow: hidden; isolation: isolate; color: var(--white);
  --eyebrow-color: #ffffff; --eyebrow-divider: #ffffff;
  border-radius: 0 0 2.5rem 2.5rem;
  margin-inline: 0;
  margin-top: 0;
}
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  pointer-events: none;
}
.hero::before { display: none; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(4,12,18,.92) 0%, rgba(4,12,18,.68) 30%, rgba(4,12,18,.24) 60%, rgba(4,12,18,.1) 100%),
    linear-gradient(to top, rgba(4,12,18,.8) 0%, transparent 40%);
}
.hero__content { padding-top: 9rem; padding-bottom: 2.5rem; }
.hero__copy { max-width: 50rem; }
.hero .eyebrow { color: #ffffff; margin-bottom: 1.5rem; }
.hero__title { font-size: calc(var(--text-h1) * 0.8); line-height: 0.8; margin-bottom: 1.5rem; }
.hero__title em { font-style: italic; color: var(--azure-light); }
.hero__title .hl { display: none; }
.hero__title[data-active="classic"] .hl--classic,
.hero__title[data-active="rotate"]  .hl--rotate,
.hero__title[data-active="refined"] .hl--refined { display: block; }
.hero-rotate { display: inline-block; transition: opacity .4s var(--ease); }
.hero__sub { font-size: var(--text-medium); font-weight: 400; line-height: 1.6; color: #efefef; max-width: 40rem; }
.hero__sub .hs { display: none; }
.hero__sub[data-active="quality"] .hs--quality,
.hero__sub[data-active="painpoint"] .hs--painpoint,
.hero__sub[data-active="inspirational"] .hs--inspirational { display: inline; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.25rem; }
.hero__cta .btn { --btn-py: 1.05rem; --btn-px: 1.85rem; font-size: var(--text-regular); }
.hero__micro { display: flex; align-items: center; gap: .55rem; margin-top: 1.25rem; font-size: var(--text-small); color: rgba(255,255,255,.68); }
.hero__micro svg { width: 1rem; height: 1rem; color: var(--azure-light); flex: none; }
.trust {
  margin-top: 3.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; align-items: center; gap: 0;
}
.trust__divider {
  width: 1px; align-self: stretch; min-height: 3rem;
  background: rgba(255,255,255,.18); margin-inline: 2.25rem; flex: none;
}
.trust__reviews { display: flex; align-items: center; gap: .85rem; flex: none; }
a.trust__reviews { text-decoration: none; color: inherit; cursor: pointer; border-radius: 10px; padding: .35rem .55rem; margin: -.35rem -.55rem; transition: background .25s var(--ease), transform .25s var(--ease); }
a.trust__reviews:hover { background: rgba(255,255,255,.08); transform: translateY(-1px); }
a.trust__reviews:hover .trust__rev span { color: rgba(255,255,255,.9); text-decoration: underline; text-underline-offset: 2px; }
.trust__google { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--white); flex: none; }
.trust__google svg { width: 1.4rem; height: 1.4rem; }
.trust__stars { display: flex; gap: 2px; color: #fbbc05; margin-bottom: .2rem; }
.trust__stars svg { width: .9rem; height: .9rem; }
.trust__rev strong { font-weight: 600; }
.trust__rev span { font-size: var(--text-small); color: rgba(255,255,255,.65); }
.trust__quote { flex: 1; text-align: center; font-size: var(--text-small); line-height: 1.5; padding-inline: 1rem; }
.trust__quote p { font-style: italic; color: rgba(255,255,255,.9); }
.trust__quote cite { display: block; margin-top: .35rem; font-style: normal; font-size: var(--text-tiny); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.trust__pills { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; flex: none; }
.pill { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .8rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07); backdrop-filter: blur(6px); font-size: var(--text-tiny); font-weight: 500; white-space: nowrap; }
.pill svg { width: .85rem; height: .85rem; color: var(--azure-light); flex: none; }
.hero__cue { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .4rem; font-size: var(--text-tiny); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.48); }
.hero__cue span { width: 1px; height: 2.25rem; background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent); animation: cue 4s var(--ease) infinite; }
@media (prefers-reduced-motion: no-preference) {
  .trust > * {
    opacity: 0;
    transform: scale(1.12);
  }
  .trust.is-visible > *:nth-child(1) { animation: trustIn 1.1s cubic-bezier(0.16,1,0.3,1) .08s  forwards; }
  .trust.is-visible > *:nth-child(2) { animation: trustIn 1.1s cubic-bezier(0.16,1,0.3,1) .22s  forwards; }
  .trust.is-visible > *:nth-child(3) { animation: trustIn 1.1s cubic-bezier(0.16,1,0.3,1) .38s  forwards; }
  .trust.is-visible > *:nth-child(4) { animation: trustIn 1.1s cubic-bezier(0.16,1,0.3,1) .54s  forwards; }
  .trust.is-visible > *:nth-child(5) { animation: trustIn 1.1s cubic-bezier(0.16,1,0.3,1) .70s  forwards; }}
@media (max-width: 1100px) {
  .trust { flex-wrap: wrap; gap: 1.5rem; }
  .trust__divider { display: none; }
  .trust__quote { display: none; }}
@media (max-width: 1024px) {
  .hero__content { padding-top: 7.5rem; }
  .trust { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .trust__divider { display: none; }
  .trust__pills { grid-template-columns: 1fr 1fr; }
  .hero__cue { display: none; }}
@media (max-width: 560px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; justify-content: center; }}

/* The home hero's background is a <video>; an area page uses a still,
   so the image needs the same object-fit treatment. */
.hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

/* The parallax section uses .srv-detail, a 1.2fr/1fr grid. With one child the
   right track sat empty on desktop; this fills it. */
.sec--parallax .srv-aside {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 1rem;
  padding: 1.75rem;
  backdrop-filter: blur(4px);
}
.sec--parallax .srv-aside h3 {
  font-size: var(--text-tiny); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--azure-lighter); margin: 0 0 1.25rem;
}
.sec--parallax .srv-aside dl { margin: 0; display: grid; gap: 1.1rem; }
.sec--parallax .srv-aside dt {
  font-size: var(--text-tiny); letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.62); margin-bottom: .2rem;
}
.sec--parallax .srv-aside dd {
  margin: 0; font-size: var(--text-small); color: #ffffff; line-height: 1.5; font-weight: 500;
}
@media (max-width: 860px) { .sec--parallax .srv-aside { padding: 1.5rem; } }

/* The trust strip's entrance keyframes. The rules that reference this came
   across with the hero CSS, but a keyframes block is not a selector, so the first
   pass missed it — leaving the children stuck at opacity 0. */
@keyframes trustIn {
  from { opacity: 0; transform: scale(1.12); }
  to   { opacity: 1; transform: scale(1); }
}


/* Referenced by .hero__cue, which came across with the hero CSS. */
@keyframes cue {
  0%   { transform: scaleY(0); transform-origin: top; }
  40%  { transform: scaleY(1); transform-origin: top; }
  60%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Service-area map ──────────────────────────────────────
   Hand-drawn inline SVG rather than an embedded map: real coordinates,
   no third-party request, no cookies set by anyone else, and it inherits
   the site's palette. Towns with their own page are <a>; the rest are <g>.
   Regenerate from the build script when a new area page ships. */
.svcmap-section { background: var(--white); color: var(--neutral-darkest); padding-block: 6rem; }
.svcmap-wrap { display: grid; grid-template-columns: 1fr 1.35fr; gap: 4rem; align-items: center; }
.svcmap-intro h2 { color: var(--neutral-darkest); margin-bottom: 1rem; }
.svcmap-intro .eyebrow { color: var(--azure-dark); }
.svcmap-intro p { color: #3F444D; font-size: var(--text-small); line-height: 1.7; margin-bottom: 1rem; }
.svcmap-key { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .6rem; }
.svcmap-key li { display: flex; align-items: center; gap: .65rem; font-size: var(--text-tiny); color: #4B4F58; }
.svcmap-key i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.svcmap-key .k-base { background: var(--azure-light); }
.svcmap-key .k-cur { background: var(--navy); box-shadow: 0 0 0 4px rgba(14,42,62,.16); }
.svcmap-key .k-other { background: rgba(13,13,13,.32); }

.svcmap { position: relative; }
.svcmap__svg { width: 100%; height: auto; display: block; overflow: visible; }
.svcmap__grid circle { fill: none; stroke: rgba(42,166,224,.20); stroke-width: 1; }
.svcmap__dot { fill: rgba(13,13,13,.34); transition: fill .25s var(--ease), r .25s var(--ease); }
.svcmap__label { fill: #4B4F58; font-family: var(--font-body); font-size: 15px; font-weight: 500; transition: fill .25s var(--ease); }
.svcmap__town.is-base .svcmap__dot { fill: var(--azure); }
.svcmap__town.is-base .svcmap__label { fill: var(--azure-dark); font-weight: 700; }
.svcmap__town.is-current .svcmap__dot { fill: var(--navy); }
.svcmap__town.is-current .svcmap__label { fill: var(--navy); font-weight: 700; }
.svcmap__halo { fill: rgba(14,42,62,.13); }
.svcmap__town.is-linked { cursor: pointer; }
.svcmap__town.is-linked:hover .svcmap__dot,
.svcmap__town.is-linked:focus-visible .svcmap__dot { fill: var(--azure); }
.svcmap__town.is-linked:hover .svcmap__label,
.svcmap__town.is-linked:focus-visible .svcmap__label { fill: var(--navy); font-weight: 700; }
.svcmap__town.is-linked:focus-visible { outline: 2px solid var(--azure-dark); outline-offset: 2px; }

@media (prefers-reduced-motion: no-preference) {
  .svcmap__town.is-current .svcmap__halo { animation: svcmapPulse 3.2s var(--ease) infinite; transform-origin: center; }
}
@keyframes svcmapPulse {
  0%, 100% { opacity: .55; }
  50%      { opacity: .18; }
}
@media (max-width: 1024px) { .svcmap-wrap { grid-template-columns: 1fr; gap: 2.5rem; } }
@media (max-width: 560px)  { .svcmap__label { font-size: 19px; } .svcmap-section { padding-block: 4.5rem; } }

/* The About curtain carries every service area, so it has to scroll rather
   than run off the bottom of the viewport. */
.nav__curtain--tall { max-height: min(70vh, 34rem); overflow-y: auto; overscroll-behavior: contain; min-width: 17rem; }
.nav__curtain--tall::-webkit-scrollbar { width: 8px; }
.nav__curtain--tall::-webkit-scrollbar-thumb { background: rgba(13,13,13,.18); border-radius: 999px; }
.nav__curtain--tall .nav__curtain-item strong { font-weight: 700; color: var(--navy); }
