/* ==========================================================================
   Logan's Excavating — Site Stylesheet
   Palette: steel blue, dark gray, white. Mobile-first.
   ========================================================================== */

:root {
  --blue-900: #0b2545;
  --blue-700: #13407a;
  --blue-600: #1a56a8;
  --blue-500: #2470d6;
  --blue-300: #8fb8ef;
  --blue-100: #e6effb;
  --gray-950: #121519;
  --gray-900: #1b1f24;
  --gray-800: #262b32;
  --gray-700: #3a414b;
  --gray-500: #6b7480;
  --gray-300: #c5cbd3;
  --gray-100: #f2f4f7;
  --white: #ffffff;
  --hazard: #f2b705;

  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(18, 21, 25, 0.08), 0 2px 8px rgba(18, 21, 25, 0.06);
  --shadow-md: 0 10px 30px rgba(18, 21, 25, 0.14);
  --shadow-lg: 0 24px 60px rgba(18, 21, 25, 0.28);
  --container: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  color: var(--gray-950);
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.25rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); text-transform: uppercase; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--hazard);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--hazard);
  color: var(--gray-950);
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) { .container { padding-inline: 2rem; } }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--gray { background: var(--gray-100); }
.section--dark { background: var(--gray-900); color: var(--gray-300); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--blue { background: var(--blue-700); color: var(--blue-100); }
.section--blue h2, .section--blue h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 4px;
  background: repeating-linear-gradient(-45deg, var(--hazard) 0 6px, var(--gray-950) 6px 12px);
}
.section--dark .eyebrow, .section--blue .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--blue-300); }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.15rem; color: var(--gray-700); }
.section--dark .section-head p { color: var(--gray-300); }
.section--blue .section-head p { color: var(--blue-100); }

.lead { font-size: 1.2rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue-500);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bg);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:hover { color: var(--btn-fg); background: var(--blue-600); border-color: var(--blue-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--white); border-color: rgba(255, 255, 255, 0.75); }
.btn--outline:hover { background: var(--white); border-color: var(--white); color: var(--gray-950); }
.btn--dark { --btn-bg: var(--gray-900); }
.btn--dark:hover { background: var(--gray-950); border-color: var(--gray-950); }
.btn--white { --btn-bg: var(--white); --btn-fg: var(--blue-700); }
.btn--white:hover { background: var(--blue-100); border-color: var(--blue-100); color: var(--blue-900); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Top bar + Header ---------- */
.topbar {
  background: var(--gray-950);
  color: var(--gray-300);
  font-size: 0.9rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 38px;
}
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--blue-300); }
.topbar__area { display: none; }
.topbar__links { display: flex; gap: 1.5rem; margin-left: auto; }
.topbar__email { display: none; }
@media (min-width: 640px) { .topbar__email { display: inline; } }
@media (min-width: 900px) { .topbar__area { display: block; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(27, 31, 36, 0.97);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 3px solid var(--blue-500);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  border-radius: var(--radius);
}
/* The logo artwork is dark lettering on white, so it sits on a white plate on dark backgrounds.
   Height drives the size; width stays auto so the 952x424 aspect ratio is preserved. */
.brand__logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: none;
  padding: 4px 8px;
  background: var(--white);
  border-radius: var(--radius);
  box-sizing: content-box;
}
@media (min-width: 960px) { .brand__logo { height: 52px; padding: 5px 10px; } }
.brand__logo--footer { height: 64px; padding: 8px 12px; }
@media (min-width: 960px) { .brand__logo--footer { height: 72px; padding: 9px 14px; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: transparent;
  border: 2px solid var(--gray-700);
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  position: fixed;
  inset: calc(var(--header-h) + 3px) 0 auto 0;
  background: var(--gray-900);
  border-bottom: 3px solid var(--blue-500);
  padding: 1rem 1.25rem 1.75rem;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.primary-nav ul { list-style: none; display: flex; flex-direction: column; }
.primary-nav a {
  display: block;
  padding: 0.95rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-800);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--blue-300); }
.primary-nav .nav-cta { margin-top: 1.25rem; }
.primary-nav .nav-cta .btn { width: 100%; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .primary-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    background: none;
    border: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: none;
    overflow: visible;
  }
  .primary-nav ul { flex-direction: row; gap: 0.25rem; }
  .primary-nav a {
    position: relative;
    padding: 0.5rem 0.9rem;
    font-size: 1.1rem;
    border: 0;
  }
  .primary-nav a::after {
    content: "";
    position: absolute;
    left: 0.9rem; right: 0.9rem; bottom: 0;
    height: 3px;
    background: var(--blue-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
  }
  .primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav .nav-cta { margin: 0; }
  .primary-nav .nav-cta .btn { width: auto; min-height: 46px; padding: 0.6rem 1.2rem; font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 38px);
  min-height: calc(100svh - var(--header-h) - 38px);
  padding-block: 5rem 6rem;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  background: var(--gray-950);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 18, 28, 0.92) 0%, rgba(11, 18, 28, 0.72) 45%, rgba(11, 18, 28, 0.35) 100%),
    linear-gradient(0deg, rgba(11, 18, 28, 0.85) 0%, rgba(11, 18, 28, 0) 40%);
}
.hero__content { max-width: 820px; }
.hero h1 { color: var(--white); margin-bottom: 0.35em; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.hero h1 .accent { color: var(--blue-300); display: block; }
.hero__sub { font-size: clamp(1.15rem, 2.2vw, 1.4rem); max-width: 640px; color: #e3e8ee; margin-bottom: 2rem; }
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 2.5rem;
  list-style: none;
  font-weight: 600;
  color: #dce3eb;
}
.hero__badges li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__badges svg { width: 20px; height: 20px; color: var(--blue-300); }

/* ---------- Stats strip ---------- */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -3.5rem;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--blue-700);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat {
  padding: 1.5rem 1.25rem;
  color: var(--blue-100);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.stat:nth-child(2n) { border-right: 0; }
.stat__num { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--white); line-height: 1; }
.stat__label { display: block; margin-top: 0.4rem; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; }
@media (min-width: 860px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; padding: 2rem 1.75rem; }
  .stat:nth-child(2n) { border-right: 1px solid rgba(255, 255, 255, 0.12); }
  .stat:last-child { border-right: 0; }
}

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.6rem 1.75rem;
  background: var(--white);
  border: 1px solid #e2e6eb;
  border-top: 4px solid var(--blue-500);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-top-color: var(--hazard); }
.service-card__icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin-bottom: 1.25rem;
  background: var(--blue-100);
  color: var(--blue-600);
  border-radius: var(--radius);
}
.service-card__icon svg { width: 32px; height: 32px; }
.service-card h3 { margin-bottom: 0.6rem; }
.service-card p { color: var(--gray-700); flex-grow: 1; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.service-card__link::after { content: "→"; transition: transform 0.2s; }
.service-card__link:hover::after { transform: translateX(4px); }

/* ---------- Split / About ---------- */
.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
}
.split__media { position: relative; }
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.split__media--wide img { aspect-ratio: 4 / 3; }
.media-badge {
  position: absolute;
  right: -0.5rem;
  bottom: -1.5rem;
  max-width: 230px;
  padding: 1.25rem 1.4rem;
  background: var(--blue-600);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-weight: 600;
  line-height: 1.35;
}
.media-badge strong { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; margin-bottom: 0.25rem; }
@media (min-width: 960px) { .media-badge { right: -1.75rem; } }

.check-list { list-style: none; display: grid; gap: 0.75rem; margin: 1.5rem 0 2rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3em;
  width: 1.2rem; height: 1.2rem;
  border-radius: 50%;
  background: var(--blue-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.section--dark .check-list li::before { background-color: var(--blue-500); }

.sector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.75rem 0 2rem;
}
.sector {
  padding: 1rem 1.1rem;
  background: var(--white);
  border-left: 4px solid var(--blue-500);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.sector strong { display: block; font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gray-950); }
.sector span { font-size: 0.95rem; color: var(--gray-700); }

/* ---------- Values ---------- */
.values-grid { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
.value {
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}
.value__num { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: 0.2em; color: var(--blue-300); }
.value h3 { margin: 0.5rem 0; }
.value p { margin: 0; }

/* ---------- Gallery (masonry) ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.section-head--center + .gallery-filters { justify-content: center; }
.filter-btn {
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-800);
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn:hover { border-color: var(--blue-500); color: var(--blue-600); }
.filter-btn[aria-pressed="true"] { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.filter-btn .count { opacity: 0.7; margin-left: 0.25rem; }

.gallery {
  columns: 1;
  column-gap: 1rem;
}
@media (min-width: 560px) { .gallery { columns: 2; } }
@media (min-width: 1000px) { .gallery { columns: 3; column-gap: 1.25rem; } }

.gallery-item {
  position: relative;
  break-inside: avoid;
  margin: 0 0 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-800);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 1000px) { .gallery-item { margin-bottom: 1.25rem; } }
.gallery-item[hidden] { display: none; }
.gallery-item button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  text-align: left;
  color: inherit;
}
.gallery-item img {
  width: 100%;
  transition: transform 0.6s var(--ease), filter 0.4s;
}
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3rem 1.25rem 1.1rem;
  background: linear-gradient(0deg, rgba(11, 18, 28, 0.92) 0%, rgba(11, 18, 28, 0) 100%);
  color: var(--white);
  transform: translateY(0);
  transition: transform 0.35s var(--ease), opacity 0.35s;
  pointer-events: none;
}
.gallery-item__cat {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--blue-500);
  border-radius: 2px;
}
.gallery-item__title { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; line-height: 1.15; }
.gallery-item__loc { display: block; font-size: 0.92rem; color: #cfd8e3; margin-top: 0.2rem; }
@media (hover: hover) {
  .gallery-item figcaption { opacity: 0; transform: translateY(12px); }
  .gallery-item:hover figcaption, .gallery-item:focus-within figcaption { opacity: 1; transform: none; }
  .gallery-item:hover img, .gallery-item:focus-within img { transform: scale(1.05); filter: brightness(0.9); }
}
.gallery-empty {
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--white);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  color: var(--gray-700);
}
.gallery-empty[hidden] { display: none; }
.gallery-empty p { max-width: 520px; margin: 0 auto 1.25rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 11, 15, 0.96);
  color: var(--white);
}
.lightbox::backdrop { background: rgba(8, 11, 15, 0.9); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__figure { margin: 0; padding: 4.5rem 1rem 1.5rem; max-width: 1400px; width: 100%; text-align: center; }
.lightbox__figure img { margin: 0 auto; max-height: calc(100vh - 11rem); width: auto; border-radius: var(--radius); }
.lightbox__caption { margin-top: 1rem; font-size: 1.05rem; color: var(--gray-300); }
.lightbox__caption strong { color: var(--white); font-family: var(--font-display); font-size: 1.35rem; display: block; }
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s;
}
.lightbox__btn:hover { background: var(--blue-500); }
.lightbox__btn svg { width: 26px; height: 26px; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 0.75rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 0.75rem; top: 50%; transform: translateY(-50%); }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 2.25rem 1.9rem 1.9rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -0.6rem; right: 1.4rem;
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 1;
  color: var(--blue-100);
}
.stars { display: flex; gap: 2px; color: var(--hazard); margin-bottom: 1rem; }
.stars svg { width: 22px; height: 22px; }
.testimonial blockquote { margin: 0 0 1.5rem; flex-grow: 1; font-size: 1.15rem; line-height: 1.55; color: var(--gray-900); }
.testimonial blockquote p { margin: 0; }
.testimonial figcaption { display: flex; align-items: center; gap: 0.85rem; padding-top: 1.25rem; border-top: 1px solid #e6e9ee; }
.avatar {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-600);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}
.testimonial cite { display: block; font-style: normal; font-weight: 700; color: var(--gray-950); }
.testimonial__meta { display: block; font-size: 0.9rem; color: var(--gray-500); }
.review-source {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2.5rem;
  text-align: center;
  color: var(--gray-700);
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; } }
.faq { display: grid; gap: 0.75rem; }
.faq details {
  background: var(--white);
  border: 1px solid #e2e6eb;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}
.faq details[open] { border-color: var(--blue-500); }
.faq summary {
  position: relative;
  display: block;
  padding: 1.2rem 3.5rem 1.2rem 1.4rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-950);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.4rem; top: 50%;
  width: 14px; height: 14px;
  margin-top: -9px;
  border-right: 3px solid var(--blue-500);
  border-bottom: 3px solid var(--blue-500);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq__answer { padding: 0 1.4rem 1.3rem; color: var(--gray-700); }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- Service area ---------- */
.area-layout { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 960px) { .area-layout { grid-template-columns: 1.1fr 0.9fr; } }
.area-columns { display: grid; gap: 2rem; }
@media (min-width: 560px) { .area-columns { grid-template-columns: 1fr 1fr; } }
.area-columns h3 { font-size: 1.2rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-300); }
.area-list { list-style: none; display: grid; gap: 0.5rem; }
.area-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 600;
}
.area-list svg { width: 18px; height: 18px; color: var(--blue-300); flex-shrink: 0; }
.area-card {
  padding: 2rem;
  background: var(--blue-700);
  border-radius: var(--radius-lg);
  color: var(--blue-100);
  box-shadow: var(--shadow-lg);
}
.area-card h3 { color: var(--white); }
.area-card address { font-style: normal; margin-bottom: 1.5rem; }
.map-embed {
  position: relative;
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--gray-800);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.seo-copy { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); display: grid; gap: 2rem; }
@media (min-width: 860px) { .seo-copy { grid-template-columns: repeat(3, 1fr); } }
.seo-copy h3 { font-size: 1.3rem; }
.seo-copy p { margin: 0; font-size: 0.98rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background: var(--blue-600);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 22px),
    linear-gradient(120deg, var(--blue-700) 0%, var(--blue-500) 100%);
}
.cta-band .container { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: var(--white); margin-bottom: 0.3em; }
.cta-band p { margin: 0; font-size: 1.15rem; color: var(--blue-100); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(4.5rem, 10vw, 7.5rem) clamp(3.5rem, 7vw, 5rem);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  background: var(--gray-950);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11, 18, 28, 0.93) 0%, rgba(11, 18, 28, 0.7) 60%, rgba(11, 18, 28, 0.45) 100%);
}
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 6vw, 4.25rem); }
.page-hero p { max-width: 680px; font-size: 1.2rem; color: #dfe5ec; margin-bottom: 1.75rem; }
.breadcrumbs { margin-bottom: 1.25rem; font-size: 0.95rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0; color: #c7d0db; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--gray-500); }
.breadcrumbs a { color: var(--white); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Service detail (services page) ---------- */
.service-nav {
  position: sticky;
  top: calc(var(--header-h) + 3px);
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid #e2e6eb;
  box-shadow: var(--shadow-sm);
}
.service-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 0.6rem;
}
.service-nav ul::-webkit-scrollbar { display: none; }
.service-nav a {
  display: block;
  white-space: nowrap;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray-700);
  border-radius: 999px;
}
.service-nav a:hover { background: var(--blue-100); color: var(--blue-700); }

.service-detail { padding-block: clamp(3.5rem, 7vw, 5.5rem); border-bottom: 1px solid #e8ebef; }
.service-detail:nth-of-type(even) { background: var(--gray-100); }
.service-detail .split { align-items: start; }
.service-detail__icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 1.25rem;
  background: var(--blue-600);
  color: var(--white);
  border-radius: var(--radius);
}
.service-detail__icon svg { width: 36px; height: 36px; }
.service-detail h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.service-detail .split__media img { aspect-ratio: 4 / 3; }
.service-detail__panel {
  padding: 2rem;
  background: var(--gray-900);
  color: var(--gray-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.service-detail__panel h3 { color: var(--white); font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.06em; }
.service-detail__panel .check-list { margin-bottom: 0; }
.service-detail__panel .check-list li { color: var(--gray-100); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 1.35fr 0.65fr; } }

.form-card {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--white);
  border: 1px solid #e2e6eb;
  border-top: 5px solid var(--blue-500);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-field--full { grid-column: 1 / -1; }
}
.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
  color: var(--gray-900);
}
.form-field .req { color: #b42318; margin-left: 0.15rem; }
.form-field .hint { display: block; font-weight: 400; font-size: 0.9rem; color: var(--gray-500); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  background: var(--gray-100);
  border: 2px solid #d7dce2;
  border-radius: var(--radius);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.form-field select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a56a8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
}
.form-field textarea { min-height: 160px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(36, 112, 214, 0.18);
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #b42318; }
.field-error { display: block; margin-top: 0.35rem; font-size: 0.9rem; font-weight: 600; color: #b42318; }
.field-error:empty { display: none; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
.form-footer p { margin: 0; font-size: 0.92rem; color: var(--gray-500); max-width: 360px; }
.form-status {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.form-status[hidden] { display: none; }
.form-status--success { background: #e8f6ee; color: #0e5a2f; border-left: 4px solid #1f9d55; }
.form-status--error { background: #fdecea; color: #8a1c12; border-left: 4px solid #b42318; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

.contact-aside { display: grid; gap: 1.25rem; }
.contact-card {
  padding: 1.75rem;
  background: var(--gray-900);
  color: var(--gray-300);
  border-radius: var(--radius-lg);
}
.contact-card h2, .contact-card h3 { color: var(--white); font-size: 1.5rem; text-transform: uppercase; }
.contact-list { list-style: none; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--blue-300); flex-shrink: 0; margin-top: 0.2rem; }
.contact-list strong { display: block; color: var(--white); font-family: var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.95rem; }
.contact-list a { color: var(--white); text-decoration: none; font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--blue-300); text-decoration: underline; }
.contact-list address { font-style: normal; }

.steps { list-style: none; counter-reset: step; display: grid; gap: 1rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3rem; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem;
  background: var(--blue-500);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 50%;
}
.steps strong { display: block; color: var(--white); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--gray-950);
  color: #aab3bf;
  padding-top: clamp(3.5rem, 7vw, 5rem);
  font-size: 0.98rem;
}
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; } }
.site-footer h2 {
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  color: var(--white);
  margin-bottom: 1.1rem;
}
.site-footer a { color: #d5dbe3; text-decoration: none; }
.site-footer a:hover { color: var(--blue-300); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-brand p { margin: 1.1rem 0 1.25rem; max-width: 340px; }
.footer-links { list-style: none; display: grid; gap: 0.5rem; }
.social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social a {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gray-800);
  color: var(--white);
  transition: background-color 0.2s;
}
.social a:hover { background: var(--blue-500); color: var(--white); }
.social svg { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-block: 1.5rem;
  font-size: 0.9rem;
}
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; }
.footer-bottom p { margin: 0; }

/* ---------- Mobile call bar ---------- */
.mobile-callbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.25);
}
.mobile-callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 56px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--gray-900);
}
.mobile-callbar a + a { background: var(--blue-500); }
.mobile-callbar svg { width: 20px; height: 20px; }
body { padding-bottom: 56px; }
@media (min-width: 960px) {
  .mobile-callbar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Thank you / 404 ---------- */
.message-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 6rem;
}
.message-page .container { max-width: 720px; }
.message-page .btn-row { justify-content: center; }
.message-icon {
  display: grid; place-items: center;
  width: 84px; height: 84px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
}
.message-icon svg { width: 44px; height: 44px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
