/* ════════════════════════════════════════════════════════
   Strata IT — Design System v2
   Network canvas hero · Gradient borders · Scroll reveal
   Mesh gradients · Gradient text · Glow CTAs · Glass
   ════════════════════════════════════════════════════════ */

:root {
  --navy-900:  #06101f;
  --navy-800:  #0a1628;
  --navy-700:  #0f2744;
  --navy-600:  #163461;
  --navy-500:  #1a5298;
  --blue-300:  #3b7dd8;
  --teal-600:  #0a6e61;
  --teal-500:  #0d8a7a;
  --teal-400:  #10a892;
  --teal-300:  #15b5a3;
  --teal-100:  #d1f0ec;
  --gray-50:   #f6f8fb;
  --gray-100:  #edf0f6;
  --gray-200:  #dde1ed;
  --gray-400:  #9aa3b8;
  --gray-500:  #6b7280;
  --gray-700:  #374151;
  --text-dark: #0d1520;
  --white:     #ffffff;

  /* Section backgrounds — blue-gray tinted, not pure white */
  --bg-section:     #f0f4f9;
  --bg-section-alt: #e4edf6;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'IBM Plex Sans', system-ui, sans-serif;

  --container: 1100px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:  cubic-bezier(0, 0, 0.2, 1);
  --dur:       0.22s;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg-section);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 600;
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section     { padding: 96px 0; }
.section--alt { background: var(--bg-section-alt); }
.section--dark    { background: var(--navy-700); color: var(--white); }
.section--darkest { background: var(--navy-900); color: var(--white); }

/* ── Eyebrow ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  box-shadow: 0 0 6px currentColor;
}
.section--dark .eyebrow { color: var(--teal-300); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: clamp(1.875rem, 4vw, 2.6rem);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.section-header p {
  font-size: 1.0625rem;
  color: var(--gray-500);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}
.section--dark .section-header h2 { color: var(--white); }
.section--dark .section-header p  { color: rgba(255,255,255,0.52); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow 0.3s var(--ease);
  white-space: nowrap;
  border: none;
  line-height: 1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn--lg { padding: 17px 34px; font-size: 1rem; }

/* Shimmer sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: skewX(-12deg);
  transition: none;
  pointer-events: none;
}
.btn:hover::before {
  animation: btn-shimmer 0.65s ease-in-out forwards;
}
@keyframes btn-shimmer {
  0%   { left: -60%; }
  100% { left: 130%;  }
}

.btn--primary {
  background: var(--teal-500);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--teal-400);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(13,138,122,0.45), 0 0 0 4px rgba(13,138,122,0.12);
}
.btn--primary:focus-visible {
  outline: 3px solid var(--teal-400);
  outline-offset: 3px;
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.28);
}
.btn--outline-white:hover {
  border-color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.06);
}

.btn--ghost {
  background: none;
  border: none;
  padding: 8px 0;
  color: rgba(255,255,255,0.58);
  font-size: 0.9375rem;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: color var(--dur) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  overflow: visible; /* ghost doesn't need shimmer clip */
}
.btn--ghost:hover { color: var(--white); }
.btn--ghost::before { display: none; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header .container {
  display: flex;
  align-items: center;
  height: 72px;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--gray-200);
}

/* Scroll progress bar */
#scroll-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal-500), var(--blue-300));
  pointer-events: none;
  z-index: 10;
  transition: width 0.08s linear;
}

/* Active nav state */
.nav-link.is-active { color: var(--white); }
.nav-link.is-active::after { transform: scaleX(1); }
.site-header.scrolled .nav-link.is-active { color: var(--navy-700); }

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark { width: 36px; height: auto; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color var(--dur) var(--ease);
}
.site-header.scrolled .logo-name { color: var(--navy-700); }

.nav-main {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 28px;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--dur) var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--teal-400), var(--blue-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }
.site-header.scrolled .nav-link { color: var(--gray-700); }
.site-header.scrolled .nav-link:hover { color: var(--navy-700); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: background var(--dur) var(--ease);
}
.site-header.scrolled .nav-toggle span { background: var(--navy-700); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--gray-200);
  padding: 8px 24px 24px;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  color: var(--gray-700);
  font-size: 1rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}
.nav-mobile .nav-link:hover { color: var(--navy-700); }
.nav-mobile .nav-link::after { display: none; }
.nav-mobile .btn { margin-top: 16px; justify-content: center; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--navy-900);
  overflow: hidden;
  padding-top: 72px;
}

/* Mesh color depth */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 78% 18%, rgba(59,125,216,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 65% at 8%  82%, rgba(13,138,122,0.11) 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 48% 48%, rgba(26,82,152,0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

/* Bottom fade into next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent 0%, var(--navy-900) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Canvas sits at z-index 0 */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

/* Strata watermark */
.hero-watermark {
  position: absolute;
  right: -60px;
  bottom: -30px;
  width: clamp(320px, 48vw, 580px);
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  will-change: transform;
}

.hero .container {
  position: relative;
  z-index: 3;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-content { max-width: 660px; }

.hero h1 {
  font-size: clamp(2.75rem, 5.8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin-bottom: 26px;
  /* gradient text */
  background: linear-gradient(165deg, #ffffff 35%, #bfe0de 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: white; /* fallback */
}

.hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 44px;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

/* ── Stats strip ─────────────────────────────────────────── */
.stats-strip {
  background: var(--navy-800);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 120% at 5%  50%, rgba(13,138,122,0.13) 0%, transparent 55%),
    radial-gradient(ellipse 40% 100% at 95% 50%, rgba(59,125,216,0.09) 0%, transparent 55%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}
.stat-item {
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.stat-item:first-child { padding-left: 0; text-align: left; }
.stat-item:last-child  { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 32px rgba(13,138,122,0.25);
}
.stat-number em {
  font-style: normal;
  color: var(--teal-400);
  text-shadow: 0 0 20px rgba(16,168,146,0.5);
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.55;
}

/* ── Services ────────────────────────────────────────────── */
.services-section {
  background: var(--bg-section);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

/* Gradient-border card technique */
.service-card {
  grid-column: span 2;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  cursor: default;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    background 0.28s var(--ease);
  /* default: gray border via gradient border technique */
  border: 1px solid transparent;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, var(--gray-200), var(--gray-200)) border-box;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(13,138,122,0.1), 0 6px 16px rgba(0,0,0,0.05);
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, var(--teal-500), var(--blue-300)) border-box;
}
.service-card:nth-child(4) { grid-column: 2 / span 2; }
.service-card:nth-child(5) { grid-column: 4 / span 2; }

.service-icon {
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-100);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  color: var(--teal-600);
  transition: box-shadow 0.28s var(--ease);
}
.service-card:hover .service-icon {
  box-shadow: 0 0 0 6px rgba(13,138,122,0.1);
}
.service-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.72;
}

/* ── Pain points ─────────────────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pain-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: var(--teal-100);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.pain-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.pain-rule {
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--teal-500), var(--blue-300));
  margin-bottom: 14px;
  border-radius: 2px;
}
.pain-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* ── About ───────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: center;
}
.about-photo-wrap {
  position: relative;
  isolation: isolate;
}
/* Teal accent backing element */
.about-photo-wrap::after {
  content: '';
  position: absolute;
  inset: -18px 18px 18px -18px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--teal-500), var(--navy-600));
  z-index: -1;
  opacity: 0.22;
}
.about-photo {
  width: 100%;
  border-radius: var(--radius-xl);
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  position: relative;
  z-index: 1;
}
.about-badge {
  position: absolute;
  bottom: -14px; right: -14px;
  background: var(--navy-700);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  text-align: center;
  z-index: 2;
  box-shadow: 0 12px 32px rgba(6,16,31,0.4);
  border: 1px solid rgba(255,255,255,0.07);
}
.about-badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-400);
  line-height: 1;
  display: block;
  text-shadow: 0 0 20px rgba(16,168,146,0.4);
}
.about-badge-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-top: 5px;
}
.about-content h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.about-content .lead {
  font-size: 1.0625rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-content p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-content p:last-of-type { margin-bottom: 36px; }

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 36px;
}
.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gray-700);
  font-weight: 500;
}
.highlight-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
  margin-top: 5px;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(13,138,122,0.5);
}

/* ── Testimonials ────────────────────────────────────────── */
.section--dark {
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 30%, rgba(13,138,122,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 50% 70% at 85% 70%, rgba(59,125,216,0.08) 0%, transparent 55%);
  pointer-events: none;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 1px solid rgba(13,138,122,0.28);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  border-top-color: rgba(13,138,122,0.45);
}
.testimonial-mark {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--teal-500);
  margin-bottom: 12px;
  font-family: Georgia, serif;
}
.testimonial-quote {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 28px;
  font-style: italic;
  font-weight: 300;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-600), var(--navy-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  display: block;
}
.testimonial-role {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.testimonials-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.25);
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.25rem);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.contact-info > p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.78;
  margin-bottom: 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail  { display: flex; align-items: center; gap: 14px; }
.contact-detail-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal-600);
}
.contact-detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  display: block;
}
.contact-detail-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark);
}
a.contact-detail-value:hover { color: var(--teal-500); }

.contact-form-card {
  background: var(--white);
  border: 1px solid rgba(13,60,130,0.1);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 4px 24px rgba(13,32,80,0.07);
}
.contact-form-card h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: var(--navy-700);
  letter-spacing: -0.015em;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(13,138,122,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; justify-content: center; margin-top: 4px; }
.form-note {
  font-size: 0.78rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 12px;
}

/* Honeypot — keep off-screen, not display:none (bots check for that) */
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

/* Turnstile widget spacing */
.form-turnstile { margin-bottom: 16px; }

/* Inline form error */
.form-error {
  font-size: 0.875rem;
  color: #c0392b;
  background: #fdf0ef;
  border: 1px solid #f5c6c2;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 12px;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-900);
  padding: 64px 0 32px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(13,138,122,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.36);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  font-family: var(--font-display);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
  transition: color var(--dur) var(--ease);
}
.footer-col a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.22);
  position: relative;
  z-index: 1;
}
.footer-bottom a { color: rgba(255,255,255,0.22); transition: color var(--dur) var(--ease); }
.footer-bottom a:hover { color: rgba(255,255,255,0.55); }

/* ── Scroll reveal ───────────────────────────────────────── */
/* Gradient text utility — used on hero H1 accent word */
.text-gradient {
  background: linear-gradient(135deg, #15b5a3, #3b7dd8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* About badge suffix */
.badge-plus {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
[data-reveal='fast']  { transition-duration: 0.45s; }
[data-reveal][data-delay='1'] { transition-delay: 0.08s; }
[data-reveal][data-delay='2'] { transition-delay: 0.16s; }
[data-reveal][data-delay='3'] { transition-delay: 0.24s; }
[data-reveal][data-delay='4'] { transition-delay: 0.32s; }
[data-reveal][data-delay='5'] { transition-delay: 0.40s; }
.is-revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 320px 1fr; gap: 48px; }
  .contact-grid { gap: 48px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }

  .nav-main, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .stat-item {
    padding: 20px 16px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .stat-item:first-child  { text-align: center; padding-left: 16px; }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) { grid-column: auto; }

  .pain-grid { grid-template-columns: 1fr; gap: 40px; }

  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-photo-wrap { max-width: 380px; margin: 0 auto; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .hero-watermark { width: 240px; right: -20px; bottom: 0; opacity: 0.04; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn,
  .hero-actions .btn--ghost { justify-content: center; }
}

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