@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #07131d;
  --bg-soft: #0f202d;
  --panel: rgba(14, 31, 44, 0.78);
  --panel-strong: #11293a;
  --text: #eef3f8;
  --muted: #9fb3c2;
  --accent: #8ab8ea;
  --accent-strong: #d8e8f7;
  --accent-warm: #e2b770;
  --line: rgba(216, 232, 247, 0.10);
  --line-strong: rgba(216, 232, 247, 0.18);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  --shadow-lift: 0 50px 120px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --radius-sm: 14px;
  --shell: min(1180px, calc(100% - 2.5rem));
  --section-y: clamp(5rem, 9vw, 9rem);
  --section-y-tight: clamp(3.5rem, 6vw, 6rem);
  --display: 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  max-width: 100%;
}

img, video, picture {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(138, 184, 234, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(226, 183, 112, 0.05), transparent 60%),
    linear-gradient(180deg, #09131c 0%, #07131d 55%, #0a1b28 100%);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  color: white;
}

img {
  max-width: 100%;
  display: block;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   HEADER & NAVIGATION
   ═══════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  background: rgba(7, 19, 29, 0.62);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  /* Promote to its own compositor layer to prevent sub-pixel render jitter */
  transform: translateZ(0);
  will-change: background, padding;
}

.site-header.is-scrolled {
  background: rgba(7, 19, 29, 0.88);
  border-bottom-color: var(--line);
}

.nav-shell {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem 2rem;
  padding-right: max(2rem, env(safe-area-inset-right));
  padding-left: max(2rem, env(safe-area-inset-left));
  position: relative;
  transition: padding 0.3s ease;
}

.site-header.is-scrolled .nav-shell {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  flex-shrink: 0;
}

.site-nav--desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
}

.brand-logo,
.footer-logo {
  width: auto;
  height: auto;
  aspect-ratio: 2400 / 1500;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.brand-logo {
  height: 6rem;
  width: auto;
  max-width: 100%;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.22));
  transition: height 0.3s ease;
}

.site-header.is-scrolled .brand-logo {
  height: 5rem;
}

.nav-divider {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: var(--line-strong);
}

.footer-logo {
  height: 5rem;
  width: auto;
  max-width: 100%;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.24));
}

.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;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  grid-column: 3;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-nav-mobile {
  display: none !important;
}

@media (max-width: 900px) {
  .site-nav-mobile.nav-open {
    display: flex !important;
  }
}

.site-nav a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.2s;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta)[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a:hover {
  color: white;
}

.site-nav a[aria-current="page"] {
  color: white;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

.nav-phone svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #04111a !important;
  background: linear-gradient(180deg, #ffffff, #e6efff);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
  color: #04111a !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(216, 232, 247, 0.35);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   EYEBROW & SECTION LABELS
   ═══════════════════════════════════════════ */

.eyebrow,
.footer-heading,
.form-note {
  color: var(--accent-warm);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--sans);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 0.65rem;
  opacity: 0.6;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */

.hero {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3.5rem);
  min-height: calc(100svh - 12rem);
  display: grid;
  align-content: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

.hero > * { position: relative; }

.hero-shell,
.two-column,
.footer-grid,
.metrics-grid,
.cta-panel,
.process-grid,
.pathway-grid,
.gallery-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-shell,
.two-column {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.hero-copy h1,
.section-heading h2,
.site-footer h2,
.cta-panel h2 {
  line-height: 1.04;
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  max-width: 16ch;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-top: 0.75rem;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--accent-warm);
}

.hero-body,
.card p,
.mini-card p,
.quote-card p,
.side-panel p,
.contact-form,
.site-footer p,
li,
details p {
  color: var(--muted);
}

.hero-body {
  font-size: 1.05rem;
  max-width: 42ch;
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1rem;
}

.hero-stats span {
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: rgba(138, 184, 234, 0.1);
  border: 1px solid var(--line);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(189, 217, 245, 0.32);
  color: #04111a;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.button:hover {
  color: #04111a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(138, 184, 234, 0.3);
}

.button-secondary {
  color: var(--text);
  background: transparent;
}

.button-secondary:hover {
  color: white;
  background: rgba(138, 184, 234, 0.1);
  transform: translateY(-1px);
}

.button-phone {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
  gap: 0.5rem;
}

.button-phone:hover {
  color: white;
  background: rgba(138, 184, 234, 0.08);
}

.button-phone svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

.button-small {
  min-height: 2.6rem;
  padding: 0.65rem 1rem;
}

/* ═══════════════════════════════════════════
   TRUST BAR (NEW)
   ═══════════════════════════════════════════ */

.trust-bar {
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(233, 241, 247, 0.78);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.trust-item .trust-stars {
  color: #d4a84a;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  text-shadow: 0 0 6px rgba(212, 168, 74, 0.25);
}

.trust-sep {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.12);
  display: inline-block;
}

.trust-item strong {
  color: var(--text);
}

/* Licensed & Insured trust pill — subtle green glow */
.trust-item-licensed {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.10);
  border: 1px solid rgba(74, 222, 128, 0.42);
  box-shadow:
    0 0 0 1px rgba(74, 222, 128, 0.12) inset,
    0 0 18px rgba(74, 222, 128, 0.22),
    0 4px 14px rgba(74, 222, 128, 0.15);
  color: #d7f5e3;
}

.trust-item-licensed strong {
  color: #ecfff3;
  font-weight: 700;
}

.trust-item-licensed svg {
  width: 16px;
  height: 16px;
  color: #4ade80;
  filter: drop-shadow(0 0 6px rgba(74, 222, 128, 0.5));
}

/* ═══════════════════════════════════════════
   STAT COUNTERS (NEW)
   ═══════════════════════════════════════════ */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 2.5rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--accent-strong);
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   PANELS & CARDS
   ═══════════════════════════════════════════ */

.hero-card-panel,
.card,
.mini-card,
.gallery-card,
.process-card,
.pathway-card,
.quote-card,
.side-panel,
.metrics-grid article,
.contact-form,
.cta-panel,
.article-summary-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover,
.mini-card:hover,
.pathway-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}

.hero-card-panel,
.side-panel,
.contact-form,
.cta-panel,
.article-summary-card {
  padding: 1.5rem;
}

.hero-card-panel:has(.brand-hero) {
  display: grid;
  place-items: center;
  min-height: 20rem;
  padding: 2rem;
  background:
    radial-gradient(circle at top, rgba(138, 184, 234, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(17, 41, 58, 0.9), rgba(8, 20, 30, 0.96));
}

.card,
.mini-card,
.gallery-card,
.process-card,
.pathway-card,
.quote-card,
.metrics-grid article {
  padding: 1.4rem;
}

/* ═══════════════════════════════════════════
   IMAGES
   ═══════════════════════════════════════════ */

.media-photo {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(189, 217, 245, 0.12);
  box-shadow: var(--shadow);
}

.hero-photo {
  min-height: 20rem;
}

.brand-hero {
  width: min(100%, 22rem);
  min-height: auto;
  max-height: none;
  object-fit: contain;
  border: none;
  box-shadow: none;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.3));
}

.card-photo {
  aspect-ratio: 16 / 10;
  margin-bottom: 1rem;
}

.mini-photo {
  aspect-ratio: 16 / 10;
  margin-bottom: 1rem;
}

.feature-photo {
  aspect-ratio: 16 / 10;
}

.section-photo {
  aspect-ratio: 16 / 10;
  margin-bottom: 1.25rem;
}

/* ═══════════════════════════════════════════
   LISTS
   ═══════════════════════════════════════════ */

.check-list,
.feature-list,
.compact-list,
.link-list,
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li,
.feature-list li,
.compact-list li,
.link-list li,
.site-footer li {
  position: relative;
  padding-left: 1.35rem;
  margin-top: 0.75rem;
}

.check-list li::before,
.feature-list li::before,
.compact-list li::before,
.link-list li::before,
.site-footer li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */

.section {
  padding: var(--section-y) 0;
  position: relative;
}

.section + .section {
  padding-top: 0;
}

.section-dark {
  background: rgba(4, 12, 20, 0.55);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: var(--section-y);
}

.section-dark + .section { padding-top: var(--section-y); }

.section-accent {
  padding-bottom: var(--section-y);
}

.section-heading {
  max-width: 52rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-heading .eyebrow {
  margin-bottom: 0.85rem;
  display: inline-block;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

/* ═══════════════════════════════════════════
   GRIDS
   ═══════════════════════════════════════════ */

.card-grid,
.mini-card-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-card-grid,
.metrics-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-grid {
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  align-items: start;
}

.stack {
  display: grid;
  gap: 1rem;
}

.review-section {
  padding-top: 0;
}

.pathway-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-card h3,
.pathway-card h3,
.gallery-card h2,
.article-summary-card h2 {
  margin: 0;
}

.process-count,
.article-meta span {
  font-weight: 600;
}

.process-count {
  color: var(--accent-strong);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  margin: 0 0 0.65rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.article-meta span {
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: rgba(138, 184, 234, 0.1);
  border: 1px solid var(--line);
  color: var(--accent-strong);
  font-size: 0.82rem;
}

.article-summary-card {
  max-width: 760px;
}

.article-summary-card h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.25;
  margin-top: 0.25rem;
}

.body-link-note {
  margin-top: 1rem;
}

/* ═══════════════════════════════════════════
   REVIEWS - CAROUSEL
   ═══════════════════════════════════════════ */

.review-carousel-section {
  overflow: hidden;
}

.review-carousel-wrap {
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
}

.review-carousel-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  max-width: none;
  animation: reviewScroll 360s linear infinite;
}

.review-carousel-track:hover {
  animation-play-state: paused;
}

@keyframes reviewScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: var(--accent-warm);
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
  letter-spacing: 0.05em;
}

.review-quote {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 1rem;
  flex-grow: 1;
}

.review-author {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.review-meta {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  margin-top: 0.2rem;
}

.review-link {
  font-weight: 500;
  font-size: 0.82rem;
  margin-top: 0.5rem;
  display: inline-block;
}

/* ═══════════════════════════════════════════
   INLINE REVIEW STRIP (for service/location pages)
   ═══════════════════════════════════════════ */

.inline-review {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin: 1rem 0;
}

.inline-review .review-stars {
  margin-bottom: 0.5rem;
}

.inline-review blockquote {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.6;
  font-style: italic;
}

.inline-review cite {
  display: block;
  margin-top: 0.75rem;
  color: var(--accent-strong);
  font-style: normal;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Review carousel nav dots */
.review-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.review-nav button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.review-nav button.active,
.review-nav button:hover {
  background: var(--accent);
  transform: scale(1.3);
}

/* ═══════════════════════════════════════════
   ARTICLE PAGES
   ═══════════════════════════════════════════ */

.article-shell {
  width: min(760px, 100%);
}

.article-shell p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1rem;
}

.quote-card cite {
  display: block;
  margin-top: 0.85rem;
  color: var(--accent-strong);
  font-style: normal;
}

/* ═══════════════════════════════════════════
   CTA PANEL
   ═══════════════════════════════════════════ */

.cta-panel {
  grid-template-columns: minmax(0, 1.5fr) auto;
  align-items: center;
}

/* ═══════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════ */

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.full-width {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(189, 217, 245, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.85rem 0.95rem;
  font: inherit;
  transition: border-color 0.2s, outline-color 0.2s;
}

input:focus,
select:focus,
textarea:focus,
details summary:focus {
  outline: 2px solid rgba(138, 184, 234, 0.55);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.1rem;
  transition: background 0.2s;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.faq-item[open] summary {
  color: var(--accent-strong);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.site-footer {
  padding: clamp(4.5rem, 7vw, 7rem) 0 clamp(2.5rem, 4vw, 4rem);
  background:
    linear-gradient(180deg, rgba(4, 10, 16, 0.5), rgba(2, 6, 10, 0.7));
  font-size: 0.85rem;
  color: var(--muted);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-warm) 20%, var(--accent) 50%, var(--accent-warm) 80%, transparent);
  opacity: 0.4;
}

.site-footer p {
  margin: 0 0 0.5rem;
  line-height: 1.65;
}

.site-footer h2 {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  margin-bottom: 0.5rem;
  color: var(--text);
}

.site-footer .footer-heading {
  color: var(--accent-warm);
  margin: 0 0 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
}

.site-footer .footer-heading::before { display: none; }

.site-footer li {
  margin-top: 0.55rem;
  opacity: 0.85;
}

.site-footer ul li::before {
  background: var(--accent-warm);
  opacity: 0.55;
}

.site-footer a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--text);
}

.footer-brand p {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
  max-width: 22ch;
}

.footer-brand .footer-logo {
  margin-bottom: 1.25rem;
}

.footer-grid {
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.footer-phone:hover {
  color: var(--accent-strong);
}

.footer-phone svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  flex-shrink: 0;
}

/* Footer accordion columns — open on desktop, collapsible on mobile */
.footer-col > summary {
  list-style: none;
  cursor: pointer;
}
.footer-col > summary::-webkit-details-marker { display: none; }

@media (min-width: 901px) {
  .footer-col > summary { cursor: default; pointer-events: none; }
  .footer-col > summary::after { display: none; }
}

@media (max-width: 900px) {
  .footer-grid { gap: 0; }
  .site-footer .footer-col {
    border-top: 1px solid var(--line);
  }
  .site-footer .footer-col--connect {
    border-top: 1px solid var(--line);
    padding-top: 1rem;
  }
  .site-footer .footer-col--connect .footer-col {
    border-top: none;
    margin-top: 0.5rem;
  }
  .site-footer .footer-col > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin: 0;
  }
  .site-footer .footer-col > summary::after {
    content: "+";
    font-size: 1.25rem;
    color: var(--accent-warm);
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s ease;
  }
  .site-footer .footer-col[open] > summary::after {
    content: "−";
  }
  .site-footer .footer-col > ul {
    margin: 0 0 1rem;
    padding-bottom: 0.25rem;
  }
  .footer-brand { padding-bottom: 0.5rem; }
}

/* ═══════════════════════════════════════════
   FULL-BLEED VISUAL BREAK (NEW)
   ═══════════════════════════════════════════ */

.visual-break {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.visual-break::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 19, 29, 0.7), rgba(7, 19, 29, 0.85));
  z-index: 1;
}

.visual-break-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.visual-break-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.visual-break-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.visual-break-content p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
}

/* ═══════════════════════════════════════════
   FEATURED REVIEW SECTION (NEW)
   ═══════════════════════════════════════════ */

.featured-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.featured-review {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.featured-review .review-stars {
  color: var(--accent-warm);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.featured-review blockquote {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.featured-review cite {
  display: block;
  margin-top: 1rem;
  color: var(--accent-strong);
  font-style: normal;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 900px) {
  .hero-shell,
  .two-column,
  .cta-panel,
  .footer-grid,
  .metrics-grid,
  .mini-card-grid,
  .card-grid,
  .contact-form,
  .process-grid,
  .pathway-grid,
  .gallery-grid,
  .featured-reviews {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-carousel-track {
    animation-duration: 540s;
  }

  /* Mobile hamburger nav */
  .site-nav--desktop {
    display: none !important;
  }

  .nav-shell {
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
  }
  .nav-shell .brand {
    justify-content: flex-start;
  }

  .brand-logo {
    height: 4.5rem;
  }
  .site-header.is-scrolled .brand-logo {
    height: 4rem;
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .site-nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    width: 100vw;
    max-width: 100vw;
    transform: translateX(-50%);
    flex-direction: column;
    background: rgba(7, 19, 29, 0.96);
    backdrop-filter: blur(18px);
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    gap: 0;
  }

  .site-nav-mobile.nav-open {
    display: flex;
  }

  .site-nav-mobile a {
    display: flex;
    align-items: center;
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 1rem;
    min-height: 44px;
  }

  .site-nav-mobile a:last-child {
    border-bottom: none;
  }

  .site-nav-mobile .nav-cta--mobilemenu {
    margin-top: 0.75rem;
    color: #04111a;
    justify-content: center;
    border-radius: 999px;
  }

  .hero-photo {
    min-height: 22rem;
  }
}

@media (min-width: 901px) {
  .site-nav-mobile {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3rem;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .brand-logo--mobile,
  .brand-logo {
    height: 4rem;
    width: auto;
    max-width: 100%;
  }

  .trust-bar-inner {
    gap: 0.6rem 0.85rem;
    justify-content: center;
  }

  .trust-item {
    white-space: normal;
    text-align: center;
    font-size: 0.68rem;
  }

  .trust-sep { display: none; }
}

/* ═══════════════════════════════════════════
   VIDEO HERO
   ═══════════════════════════════════════════ */

.video-hero-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  height: 75vh;
  min-height: 550px;
  max-height: 900px;
  box-shadow: var(--shadow);
}

.video-hero {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

.video-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 19, 29, 0) 50%,
    rgba(7, 19, 29, 0.35) 100%
  );
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   GALLERY FILTER BUTTONS
   ═══════════════════════════════════════════ */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--panel);
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.filter-btn:hover {
  color: var(--text);
  background: var(--panel-strong);
  border-color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   GALLERY MASONRY GRID
   ═══════════════════════════════════════════ */

.gallery-masonry {
  columns: 3;
  column-gap: 1rem;
}

.gallery-masonry .gallery-card {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-masonry .gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(138, 184, 234, 0.15);
}

.gallery-masonry .gallery-card img,
.gallery-masonry .gallery-card picture img {
  width: 100%;
  display: block;
  border-radius: 0;
}

.gallery-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(
    0deg,
    rgba(7, 19, 29, 0.88) 0%,
    rgba(7, 19, 29, 0) 100%
  );
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-masonry .gallery-card:hover .gallery-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card-overlay .eyebrow {
  margin-bottom: 0.25rem;
}

.gallery-card-overlay h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.gallery-card[data-lightbox] {
  /* visual hint */
}

.gallery-card.hidden {
  display: none;
}

/* ═══════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════ */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 19, 29, 0.96);
  backdrop-filter: blur(20px);
  justify-content: center;
  align-items: center;
}

.lightbox[aria-hidden="false"] {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  animation: lightbox-enter 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes lightbox-enter {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-caption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
  max-width: 600px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, transform 0.2s;
  z-index: 10;
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--accent);
  transform: scale(1.15);
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 3.5rem;
  padding: 0.5rem;
  line-height: 1;
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--accent);
  transform: translateY(-50%) scale(1.15);
}

/* ═══════════════════════════════════════════
   GALLERY VIDEO SECTION
   ═══════════════════════════════════════════ */

.gallery-video-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.gallery-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ═══════════════════════════════════════════
   RESPONSIVE: GALLERY & LIGHTBOX
   ═══════════════════════════════════════════ */

@media (max-width: 960px) {
  .gallery-masonry {
    columns: 2;
  }
}

@media (max-width: 640px) {
  .gallery-masonry {
    columns: 1;
  }

  .lightbox-prev {
    left: 0.5rem;
    font-size: 2.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
    font-size: 2.5rem;
  }

  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    font-size: 2rem;
  }

  .lightbox-img {
    border-radius: var(--radius-sm);
  }

  .video-hero-wrap {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 50vh;
  }

  .video-break-wrap {
    aspect-ratio: 4 / 3 !important;
  }
}

.video-break-wrap {
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: 21 / 9;
  height: auto;
  min-height: 50vh;
  max-height: 70vh;
  overflow: hidden;
}

.video-break-section {
  overflow: hidden;
  width: 100%;
}

/* ═══════════════════════════════════════════
   BUTTON INVERTED
   ═══════════════════════════════════════════ */
.button-inverted {
  background: white;
  color: #04111a;
  border: none;
}
.button-inverted:hover {
  background: #f0f0f0;
  color: #04111a;
}

/* ═══════════════════════════════════════════
   PROJECT GRID
   ═══════════════════════════════════════════ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 0.75rem;
}

.project-grid-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.project-grid-item:hover {
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.project-grid-item img,
.project-grid-item picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Varied sizing for visual interest */
.project-grid-item:nth-child(1) { grid-row: span 2; }
.project-grid-item:nth-child(8) { grid-row: span 2; }

@media (max-width: 960px) {
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }
}

@media (max-width: 640px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
}

/* ═══════════════════════════════════════════
   BEFORE/AFTER SLIDER
   ═══════════════════════════════════════════ */
.before-after-wrap {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.before-after-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--panel);
}

.before-after-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
}

.before-after-slider .img-before {
  object-position: center 20%;
}

.before-after-slider .img-after {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  z-index: 1;
}

.before-after-slider .slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}

.slider-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #04111a;
  z-index: 2;
  pointer-events: none;
}
.slider-button::before,
.slider-button::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 3px;
  height: 100vh;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.slider-button::before {
  transform: translate(-50%, -100%);
}
.slider-button::after {
  transform: translate(-50%, 0);
}

/* ═══════════════════════════════════════════
   PORTFOLIO SECTION — stat row + heading
   ═══════════════════════════════════════════ */

.portfolio-section {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.portfolio-heading {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 1.25rem;
}

.portfolio-heading .eyebrow {
  display: inline-block;
}

.portfolio-sub {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0.75rem auto 0;
  max-width: 44rem;
}

.portfolio-stats {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 1.5rem auto 2.5rem;
  padding: 1rem 1.5rem;
  background: rgba(138, 184, 234, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  max-width: max-content;
}

.portfolio-stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  white-space: nowrap;
}

.portfolio-stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-strong);
  letter-spacing: -0.01em;
}

.portfolio-stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.portfolio-stat-divider {
  width: 1px;
  height: 1.4rem;
  background: var(--line);
}

@media (max-width: 640px) {
  .portfolio-stats {
    border-radius: 22px;
    gap: 0.6rem 1rem;
    padding: 0.85rem 1rem;
    flex-wrap: wrap;
    max-width: 22rem;
  }
  .portfolio-stat-divider { display: none; }
  .portfolio-stat-num { font-size: 1.2rem; }
  .portfolio-stat-label { font-size: 0.7rem; }
}

/* ═══════════════════════════════════════════
   BEFORE/AFTER SECTION — centered heading
   ═══════════════════════════════════════════ */

.before-after-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.before-after-heading {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 1.5rem;
}

.before-after-heading .eyebrow {
  display: inline-block;
}

.before-after-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.6rem auto 0;
}

/* ═══════════════════════════════════════════
   WHERE WE WORK — animated SVG map + city marquee
   ═══════════════════════════════════════════ */

.areas-section {
  padding-bottom: 1.5rem;
}

.areas-pinmap {
  display: flex;
  justify-content: center;
  margin: 2rem auto 1.5rem;
  max-width: 26rem;
}

.areas-tx-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(138, 184, 234, 0.18));
}

.areas-pulse {
  transform-origin: center;
  transform-box: fill-box;
  animation: areasPulse 2.4s ease-out infinite;
  opacity: 0.7;
}

.areas-pin-delay .areas-pulse {
  animation-delay: 1.2s;
}

@keyframes areasPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(4);   opacity: 0;   }
  100% { transform: scale(4);   opacity: 0;   }
}

.areas-marquee {
  margin-top: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(138,184,234,0.03), rgba(138,184,234,0.06));
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.areas-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  white-space: nowrap;
  animation: areasMarquee 60s linear infinite;
  padding-left: 1rem;
}

.areas-city {
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.areas-dot {
  color: var(--accent);
  opacity: 0.55;
  font-size: 0.9rem;
}

@keyframes areasMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .areas-marquee-track { animation: none; }
  .areas-pulse { animation: none; opacity: 0; }
}

/* ═══════════════════════════════════════════
   PROJECT GRID HOVER POLISH
   ═══════════════════════════════════════════ */

.project-grid-item {
  background: var(--panel);
}

.project-grid-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,19,29,0) 55%, rgba(7,19,29,0.7) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.project-grid-item:hover::after { opacity: 1; }

/* ═══════════════════════════════════════════
   MOBILE — hero, stats, forms safety
   ═══════════════════════════════════════════ */

@media (max-width: 640px) {
  .hero { padding: 2rem 0 1.5rem; }
  .hero-copy h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero-body { font-size: 0.98rem; }
  .hero-actions .button,
  .hero-actions .button-phone { width: 100%; justify-content: center; }

  .section { padding: 1.75rem 0 2.25rem; }
  .section-heading h2 { font-size: clamp(1.55rem, 6vw, 2rem); }

  .video-hero-wrap { min-height: 0; height: auto; aspect-ratio: 4 / 3; }

  .areas-pinmap { max-width: 18rem; margin: 1.25rem auto 1rem; }
  .areas-city { font-size: 0.78rem; }
}

/* ═══════════════════════════════════════════
   PAGE LOADER + REVEAL + MARQUEE PAUSE
   ═══════════════════════════════════════════ */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(ellipse at center, #0b1f2e 0%, #04111a 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.45s ease;
  pointer-events: auto;
}

.page-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.page-loader-mark {
  width: 88px;
  height: 88px;
  color: var(--accent-strong, #8ab8ea);
  filter: drop-shadow(0 6px 24px rgba(138, 184, 234, 0.35));
}

.page-loader-mark svg { width: 100%; height: 100%; }

.loader-roof {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  animation: loaderRoofDraw 0.6s cubic-bezier(.4,.1,.2,1) forwards;
}

.loader-ring {
  transform-origin: 32px 42px;
  animation: loaderRingFill 1.2s cubic-bezier(.4,.1,.2,1) 0.3s forwards;
}

.loader-hand {
  transform-origin: 32px 42px;
  animation: loaderHandSpin 1.2s cubic-bezier(.4,.1,.2,1) 0.3s forwards;
}

@keyframes loaderRoofDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes loaderRingFill {
  to { stroke-dashoffset: 0; }
}

@keyframes loaderHandSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(540deg); }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader { display: none; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(.2,.7,.2,1), transform 0.6s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Marquee pause on hover */
.areas-marquee:hover .areas-marquee-track,
.areas-marquee:focus-within .areas-marquee-track {
  animation-play-state: paused;
}
