/* ─── Design System ──────────────────────────────────────────── */
:root {
  --brand:         #1B3A2D;
  --brand-light:   #2C5F3F;
  --brand-dark:    #0F2118;

  --bg-base:       #080C09;
  --bg-elevated:   #0F1A12;
  --bg-floating:   #1B3A2D;

  --text-primary:  #F5F0E8;
  --text-body:     #C8C0B0;
  --text-muted:    #8A9E8A;

  --accent:        #C9A84C;
  --accent-hover:  #E0BA5A;
  --accent-dark:   #7A5A1B;

  --border:        rgba(201,168,76,0.12);
  --border-strong: rgba(201,168,76,0.24);

  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', system-ui, sans-serif;

  --shadow-sm: 0 2px 8px  rgba(8,12,9,0.4);
  --shadow-md: 0 8px 32px rgba(8,12,9,0.5), 0 2px 8px rgba(8,12,9,0.3);
  --shadow-lg: 0 24px 64px rgba(8,12,9,0.6), 0 8px 24px rgba(8,12,9,0.4);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, canvas { display: block; }

/* ─── Loader ─────────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }

.loader-brand {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.loader-bar-wrap {
  width: 200px;
  height: 1px;
  background: rgba(201,168,76,0.2);
  position: relative;
}
#loader-bar {
  height: 1px;
  width: 0%;
  background: var(--accent);
  transition: width 0.1s linear;
}
#loader-percent {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ─── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  mix-blend-mode: normal;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.site-header.scrolled {
  background: rgba(8,12,9,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  background: var(--accent);
  color: #0A0A0A !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.03em;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; color: #0A0A0A !important; }
.nav-links a.active { color: var(--accent); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}

/* ─── Mobile Nav Drawer ──────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8,12,9,0.97);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s var(--ease-out);
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}
.mobile-nav a.active,
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav-close {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero-standalone {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: var(--bg-base);
  background-image:
    radial-gradient(ellipse at 30% 60%, rgba(27,58,45,0.4) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 25%, rgba(201,168,76,0.06) 0%, transparent 45%);
  z-index: 10;
  overflow: hidden;
}
.hero-standalone::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg-base));
  pointer-events: none;
}

.hero-inner {
  padding: 0 5vw;
  max-width: 1400px;
  width: 100%;
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 11rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 2rem;
}
.hero-heading .word {
  display: block;
  overflow-x: visible;
  overflow-y: hidden;
}
.hero-heading .word-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}
.hero-heading .word-inner.revealed {
  transform: translateY(0);
}

.hero-tagline {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 40ch;
}

.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: float 2s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ─── Canvas ─────────────────────────────────────────────────── */
.canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: 1;
  clip-path: circle(0% at 50% 50%);
  will-change: clip-path;
}
#canvas {
  width: 100%;
  height: 100%;
}

/* ─── Dark Overlay ───────────────────────────────────────────── */
#dark-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  will-change: opacity;
}

/* ─── Marquee ────────────────────────────────────────────────── */
.marquee-wrap {
  position: fixed;
  bottom: 8vh;
  left: 0;
  right: 0;
  z-index: 5;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}
.marquee-text {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 12vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  white-space: nowrap;
  line-height: 1;
  will-change: transform;
}

/* ─── Scroll Container ───────────────────────────────────────── */
#scroll-container {
  position: relative;
  height: 900vh;
  z-index: 3;
}

/* ─── Scroll Sections ────────────────────────────────────────── */
.scroll-section {
  position: absolute;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 4;
  opacity: 0;
  pointer-events: none;
}
.scroll-section.active { pointer-events: auto; }

/* Side alignment — text in outer 40% zones */
.align-left {
  padding-left: 5vw;
  padding-right: 55vw;
}
.align-right {
  padding-left: 55vw;
  padding-right: 5vw;
}
.align-left .section-inner,
.align-right .section-inner {
  max-width: 38vw;
}

/* Section inner */
.section-inner { position: relative; }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  margin-top: 0.75rem;
}

.section-body {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.75;
  max-width: 36ch;
}

/* Service list */
.service-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-list li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.service-list li::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─── Stats Section ──────────────────────────────────────────── */
.section-stats {
  left: 0; right: 0;
  padding: 0;
  pointer-events: auto;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 4rem 8vw;
  gap: 2rem;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
  margin-left: 0.1em;
  line-height: 1;
  align-self: flex-start;
  margin-top: 0.5rem;
}
.stat-number-wrap {
  display: flex;
  align-items: flex-start;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ─── CTA Section ────────────────────────────────────────────── */
.section-cta .section-heading {
  font-size: clamp(2.5rem, 5vw, 5rem);
}
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 2rem;
  align-items: flex-start;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 0.25s var(--ease-out);
  min-width: 200px;
}
.cta-primary {
  background: var(--accent);
  color: #0A0A0A;
}
.cta-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}
.cta-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.cta-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ─── Fixed Video Background (subpages) ─────────────────────────
   Home uses the scroll-scrubbed canvas; subpages just need the same
   footage as an ambient, darkened backdrop behind normal-scrolling
   content, so a plain <video> loop is simpler than re-driving canvas
   frames with no scroll choreography to bind them to. */
.bg-video-wrap {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.bg-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg-base);
  opacity: 0.66;
  pointer-events: none;
}

/* ─── Page Hero (subpages) ───────────────────────────────────── */
.page-hero {
  padding: 11rem 5vw 5rem;
  text-align: center;
}
.page-hero-inner { max-width: 900px; margin-inline: auto; }
.page-heading {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.page-heading em {
  font-style: italic;
  color: var(--accent);
}
.page-lede {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  color: var(--text-body);
  line-height: 1.75;
  max-width: 56ch;
  margin-inline: auto;
}

/* ─── Page Sections (subpages) ───────────────────────────────── */
.page-section { padding: 5rem 5vw; }
.page-section--narrow { max-width: 1100px; margin-inline: auto; }
.page-section-header { max-width: 640px; margin-bottom: 3rem; }
.page-section-header.center { margin-inline: auto; text-align: center; }
.page-section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--text-primary);
  margin-top: 0.5rem;
}
.page-section-header p {
  margin-top: 1rem;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.75;
}

/* ─── Service Cards ──────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin-inline: auto;
}
.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(201,168,76,0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}
.service-card p {
  color: var(--text-body);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.service-card-link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s var(--ease-out), color 0.2s;
}
.service-card-link:hover { gap: 0.65rem; color: var(--accent-hover); }

/* ─── About Split ─────────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin-inline: auto;
}
.about-split img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.about-split h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.about-split p {
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin-inline: auto;
}

/* ─── Gallery ─────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin-inline: auto;
}
.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,12,9,0.55) 0%, transparent 55%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ─── Contact ─────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  max-width: 1200px;
  margin-inline: auto;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(201,168,76,0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.contact-detail-value { color: var(--text-primary); font-size: 0.95rem; }
.contact-detail-value a { transition: color 0.2s; }
.contact-detail-value a:hover { color: var(--accent); }

.contact-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}
.contact-area-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-body);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
}

.contact-form {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem;
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}
.contact-form > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--accent);
  color: #0A0A0A;
  border: none;
  border-radius: 6px;
  padding: 0.95rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.form-submit:hover { background: var(--accent-hover); transform: translateY(-2px); }
.form-submit:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ─── Static Stats Bar (subpages) ───────────────────────────────
   Same visual language as the scroll-driven stats section on Home,
   but laid out as a normal-flow block since subpages scroll normally. */
.stats-bar-static {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-bar-static .stats-grid { max-width: 1100px; margin-inline: auto; }

/* ─── Emergency CTA Banner (subpages) ───────────────────────────*/
.emergency-banner {
  padding: 4.5rem 5vw;
  text-align: center;
}
.emergency-banner .section-label { justify-content: center; display: flex; align-items: center; gap: 0.5rem; }
.emergency-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.emergency-banner p { color: var(--text-body); margin-bottom: 1.75rem; }
.emergency-phone {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.2s;
}
.emergency-phone:hover { color: var(--accent-hover); }

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 4.5rem 5vw 2rem;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin-inline: auto;
  padding-bottom: 3rem;
}
.footer-brand-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 32ch;
}
.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  color: var(--text-body);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1200px;
  margin-inline: auto;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copyright { color: var(--text-muted); font-size: 0.82rem; }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { color: var(--text-muted); font-size: 0.82rem; transition: color 0.2s; }
.footer-legal a:hover { color: var(--accent); }

/* ─── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-header { padding: 1.25rem 1.5rem; }

  .hero-heading { font-size: clamp(3rem, 16vw, 5rem); }

  #scroll-container { height: 600vh; }

  .align-left, .align-right {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .align-left .section-inner,
  .align-right .section-inner {
    max-width: 100%;
    background: rgba(8,12,9,0.88);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
  }

  .section-heading { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .section-body { font-size: 0.9rem; max-width: 100%; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .marquee-text { font-size: clamp(2rem, 10vw, 4rem); }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-hamburger { display: flex; }

  .page-hero { padding: 8.5rem 1.5rem 3.5rem; }
  .page-section { padding: 3.5rem 1.5rem; }

  .services-grid,
  .certs-grid,
  .gallery-grid { grid-template-columns: 1fr; }

  .about-split,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-split { text-align: left; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.75rem; }

  .stats-bar-static .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 2rem 1.5rem; gap: 1.5rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
