/* ═══════════════════════════════════════════════════════════
   OpenInfra Systems — Shared Stylesheet
   · Liquid-glass floating nav
   · Fixed proximity scroll-snap (no jank)
   · iOS-style glass widgets
   · Full responsive 320 → 2560px
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --dark: #0f172a;
  --darker: #0a1020;
  --white: #ffffff;
  --accent: #3aa13a;               /* logo green */
  --accent-dark: #2f8530;
  --accent-light: #62c262;
  --accent-glow: rgba(58, 161, 58, 0.35);
  --blue: #1e6bb8;                 /* logo SYSTEMS blue */
  --blue-light: #5b9cd8;
  --gray-100: #f3f5f8;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;

  /* Liquid glass tokens */
  --glass-bg-dark: rgba(15, 23, 42, 0.42);
  --glass-bg-mid:  rgba(23, 33, 56, 0.55);
  --glass-bg-light: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.16);
  --glass-border-strong: rgba(255, 255, 255, 0.28);
  --glass-inner: 0 1px 0 0 rgba(255, 255, 255, 0.18) inset;
  --glass-shadow:
    0 10px 40px -8px rgba(0, 0, 0, 0.5),
    0 4px 14px -4px rgba(0, 0, 0, 0.3),
    var(--glass-inner);
  --glass-blur: saturate(170%) blur(24px);

  --nav-h-desktop: 80px;
  --nav-h-mobile: 70px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: none;
}

/* Proximity snap — snaps gently near section boundaries, never jacks scroll.
   Mandatory snap was the jitter cause; proximity restores the rhythm safely. */
html.snap {
  scroll-snap-type: y proximity;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--dark);
  background: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .split-img img { transform: none !important; }
  video { display: none !important; }
}

/* ═══════════════════════════════════════════
   LIQUID GLASS NAV — floating top pill
   ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1260px;
  z-index: 1000;
  padding: 10px 14px 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-radius: 22px;
  min-height: var(--nav-h-desktop);
  background: var(--glass-bg-dark);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: background 0.35s ease, padding 0.35s ease, top 0.35s ease;
}

.nav.scrolled {
  background: rgba(10, 16, 32, 0.72);
  top: 12px;
  padding: 8px 12px 8px 18px;
}

/* Subtle top highlight (glass sheen) */
.nav::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 40%;
  border-radius: 22px 22px 60% 60% / 22px 22px 100% 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
  pointer-events: none;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
  line-height: 0;
}

.nav-logo-img {
  height: 54px;
  width: auto;
  background: rgba(255, 255, 255, 0.94);
  padding: 7px 14px;
  border-radius: 14px;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.25),
    0 0 0 1px rgba(255,255,255,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.03);
  box-shadow:
    0 6px 22px rgba(58, 161, 58, 0.35),
    0 0 0 1px rgba(58, 161, 58, 0.2);
}

/* Desktop inline links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.05rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.25s, color 0.25s, transform 0.25s;
  letter-spacing: 0.2px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav-links a.current {
  background: linear-gradient(135deg, rgba(58,161,58,0.25), rgba(30,107,184,0.22));
  color: var(--white);
  border: 1px solid rgba(98, 194, 98, 0.3);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 12px;
  margin-left: 0.4rem;
  box-shadow:
    0 4px 14px rgba(58, 161, 58, 0.4),
    0 0 0 1px rgba(255,255,255,0.12) inset;
  transition: transform 0.25s, box-shadow 0.25s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 6px 20px rgba(58, 161, 58, 0.55),
    0 0 0 1px rgba(255,255,255,0.2) inset;
}

.nav-cta .btn-arrow { transition: transform 0.3s; display: inline-block; }
.nav-cta:hover .btn-arrow { transform: translateX(3px); }

/* Hamburger (mobile-only) */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
}

.hamburger-inner {
  position: relative;
  width: 22px;
  height: 14px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  position: absolute;
  left: 0;
  transition: 0.35s cubic-bezier(0.77, 0, 0.18, 1);
  border-radius: 2px;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 6px; }
.hamburger span:nth-child(3) { top: 12px; }

.hamburger.open { background: rgba(58, 161, 58, 0.18); border-color: rgba(58,161,58,0.35); }
.hamburger.open span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.open span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ═══════════════════════════════════════════
   GLASS DROPDOWN MENU (mobile)
   Replaces full-screen overlay
   ═══════════════════════════════════════════ */
.menu-dropdown {
  position: fixed;
  top: 96px;
  right: 16px;
  width: min(320px, calc(100% - 32px));
  z-index: 999;
  background: rgba(10, 16, 32, 0.78);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  padding: 1rem;
  transform: translateY(-12px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.menu-dropdown.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.menu-dropdown ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.menu-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.2s, transform 0.2s;
}

.menu-dropdown a:hover,
.menu-dropdown a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.menu-dropdown a.current {
  background: linear-gradient(135deg, rgba(58,161,58,0.2), rgba(30,107,184,0.18));
  color: var(--white);
}

.menu-dropdown a svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-light);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.menu-dropdown-cta {
  margin-top: 0.4rem;
  padding: 0.95rem 1rem !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  justify-content: center !important;
  box-shadow: 0 4px 18px rgba(58,161,58,0.35);
}

/* QR */
.qr {
    text-align: left;
    margin-top: 30px;
}

.qr img {
    width: 140px;
    border-radius: 10px;
    background: #fff;
    padding: 8px;
}
/* ═══════════════════════════════════════════
   HERO (home) — with video
   ═══════════════════════════════════════════ */
.split {
  display: flex;
  min-height: 100vh;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.split-img, .split-content { width: 50%; min-height: 100vh; position: relative; }

.split-img { overflow: hidden; background: #000; }

.split-img img,
.split-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: absolute;
  top: 0; left: 0;
  transform: scale(1);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.split-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.15) 0%, rgba(15,23,42,0) 60%);
  pointer-events: none;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 4.5rem 5rem;
}

.split-content.dark { background: var(--dark); color: var(--white); }
.split-content.light { background: var(--white); color: var(--dark); }

/* Hero */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.hero-label::before {
  content: '';
  width: 40px; height: 2px; background: var(--accent);
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.hero-title span { color: var(--accent); }

.hero-desc {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray-400);
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.light .hero-desc { color: var(--gray-600); }

/* Glass mini-widgets floating over the hero image */
.hero-widgets {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 3;
  pointer-events: none;
}

.glass-widget {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  min-width: 200px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-strong);
  border-radius: 14px;
  color: var(--white);
  box-shadow: var(--glass-shadow);
}

.glass-widget-icon {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(58,161,58,0.25), rgba(30,107,184,0.22));
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
}

.glass-widget-icon svg {
  width: 18px; height: 18px;
  stroke: var(--accent-light);
  fill: none;
  stroke-width: 2;
}

.glass-widget-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.glass-widget-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.glass-widget-value .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 10px var(--accent-light);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.77, 0, 0.18, 1);
  border-radius: 12px;
  white-space: nowrap;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  box-shadow:
    0 4px 18px rgba(58, 161, 58, 0.35),
    0 0 0 1px rgba(255,255,255,0.1) inset;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 32px rgba(58, 161, 58, 0.5),
    0 0 0 1px rgba(255,255,255,0.18) inset;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1.5px solid var(--gray-600);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.light .btn-outline {
  color: var(--dark);
  border-color: var(--gray-300);
  background: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-arrow { transition: transform 0.3s; display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   SECTION HEADERS / CARDS
   ═══════════════════════════════════════════ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.section-label::before { content: ''; width: 30px; height: 2px; background: var(--accent); }
.section-label.centered { justify-content: center; }

.section-title {
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}

.section-title span { color: var(--accent); }

.section-desc {
  font-weight: 300;
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 2rem;
  font-size: clamp(0.95rem, 1.05vw, 1.02rem);
}

.dark .section-desc { color: var(--gray-400); }
.light .section-desc { color: var(--gray-500); }

.service-card {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.service-card:first-of-type { border-top: 1px solid rgba(148, 163, 184, 0.18); }

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(58,161,58,0.18), rgba(30,107,184,0.15));
  border: 1px solid rgba(58,161,58,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon svg {
  width: 18px; height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p {
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.6;
  padding-left: calc(40px + 0.75rem);
}

.dark .service-card p { color: var(--gray-400); }
.light .service-card p { color: var(--gray-500); }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.stat-item { position: relative; }

.stat-number {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--gray-400);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.light .stat-label { color: var(--gray-500); }

/* Glass client cards */
.client-card {
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  margin-bottom: 1.25rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.client-card:hover {
  border-color: var(--accent);
  box-shadow: 0 14px 40px rgba(58, 161, 58, 0.12);
  transform: translateY(-3px);
}

.client-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.client-card p { font-size: 0.9rem; font-weight: 300; color: var(--gray-500); line-height: 1.55; }

.tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.tech-tag {
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(58, 161, 58, 0.35);
  color: var(--accent);
  background: rgba(58, 161, 58, 0.08);
  border-radius: 8px;
  backdrop-filter: blur(6px);
}

/* ═══════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 460px;
  width: 100%;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  color: var(--dark);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  border-radius: 10px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58, 161, 58, 0.12);
}

.form-status {
  min-height: 1.2rem;
  margin: -0.3rem 0 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.form-status-success { color: #2f8530; }
.form-status-error { color: #b3261e; }

.verification-note {
  margin: -0.4rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--gray-500);
}

.verification-note a {
  color: var(--accent);
  text-decoration: none;
}

.verification-note a:hover {
  text-decoration: underline;
}

.turnstile-slot {
  min-height: 0;
}

.turnstile-slot.is-active {
  min-height: 65px;
}

.form-group textarea { min-height: 110px; resize: vertical; }

.contact-info-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--gray-500);
}

.contact-info-item svg {
  width: 16px; height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.contact-info-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info-item a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  padding: 3.5rem 2.5rem 2rem;
  background: var(--darker);
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--gray-400);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 300;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--accent); }

.footer-brand .nav-logo-img {
  height: 64px;
  padding: 8px 16px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--gray-400);
  max-width: 360px;
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 300;
  line-height: 1.6;
}

.footer-bottom a { color: var(--accent); text-decoration: none; }

.footer-legal,
.footer-credit {
  flex: 1 1 320px;
}

.footer-credit {
  text-align: right;
}

.footer-separator {
  color: var(--gray-600);
  margin: 0 0.45rem;
}

.footer-note {
  flex-basis: 100%;
  max-width: 840px;
  line-height: 1.6;
  margin-right: auto;
  text-align: left;
}

.footer-note strong {
  color: var(--gray-300);
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   REVEAL
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════
   PAGE HERO (inner pages)
   ═══════════════════════════════════════════ */
.page-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10rem 2.5rem 6rem;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.page-hero-bg { position: absolute; inset: 0; z-index: 0; }

.page-hero-bg img,
.page-hero-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.55) 0%, rgba(15,23,42,0.88) 100%);
}

.page-hero-content { position: relative; z-index: 1; max-width: 820px; width: 100%; }

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin: 1.25rem 0 1.25rem;
}

.page-hero h1 span { color: var(--accent); }

.page-hero p {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray-300);
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

.breadcrumbs a { color: var(--accent); text-decoration: none; }
.breadcrumbs span { opacity: 0.5; }

/* ═══════════════════════════════════════════
   CONTENT WRAPPERS
   ═══════════════════════════════════════════ */
.content-wrap {
  background: var(--white);
  color: var(--dark);
  padding: 6rem 2.5rem;
}

.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 860px; margin: 0 auto; }

/* SEO content blocks */
.service-area {
  background: var(--gray-100);
}

.service-area-head {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.service-area-head p {
  color: var(--gray-600);
  font-size: 1.04rem;
  line-height: 1.7;
  font-weight: 300;
}

.seo-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.seo-card,
.faq-item {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 18px 45px -30px rgba(15, 23, 42, 0.32);
}

.seo-card h3,
.faq-item h3 {
  color: var(--dark);
  font-size: 1.08rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.seo-card p,
.faq-item p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 300;
}

.service-faq {
  padding-top: 4rem;
  border-top: 1px solid var(--gray-200);
}

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

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 6rem;
}

.about-grid img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.25);
}

.help-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.help-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 1rem;
  color: var(--gray-600);
  font-weight: 400;
  line-height: 1.55;
}

.help-list li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(58, 161, 58, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233aa13a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.consultant-block {
  background: linear-gradient(135deg, var(--gray-100), #e8ecf1);
  padding: 4rem 3rem;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 5rem;
  border: 1px solid rgba(15,23,42,0.05);
}

.consultant-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.consultant-info h3 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.consultant-role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.consultant-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
}

.consultant-facts li {
  list-style: none;
  font-size: 0.92rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.consultant-facts li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.cert-card {
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  font-size: 0.88rem;
  color: var(--gray-700);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: border-color 0.3s, transform 0.3s;
}

.cert-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.cert-card::before {
  content: '';
  width: 28px; height: 28px;
  background: linear-gradient(135deg, rgba(58,161,58,0.18), rgba(30,107,184,0.15));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233aa13a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'%3E%3C/circle%3E%3Cpath d='M15.477 12.89 17 22l-5-3-5 3 1.523-9.11'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.linkedin-link:hover { text-decoration: underline; }

.center-heading { text-align: center; margin: 1rem 0 3rem; }

/* Services */
.journey-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 5rem;
}

.journey-intro p {
  color: var(--gray-600);
  font-size: 1.08rem;
  line-height: 1.65;
  margin-top: 1rem;
  font-weight: 300;
}

.service-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-top: 1px solid var(--gray-200);
}

.service-stage:first-of-type { border-top: none; padding-top: 0; }
.service-stage.reverse { direction: rtl; }
.service-stage.reverse > * { direction: ltr; }

.service-stage-img {
  width: 100%;
  height: 440px;
  border-radius: 16px;
  box-shadow: 0 20px 50px -20px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  position: relative;
  background: var(--gray-100);
}

.service-stage-img > img,
.service-stage-img > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Keep <img class="service-stage-img"> usage working too */
img.service-stage-img {
  object-fit: cover;
  object-position: center top;
  display: block;
}

.stage-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(58,161,58,0.15), rgba(30,107,184,0.12));
  color: var(--accent);
  font-size: 2rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  border: 1.5px solid rgba(58, 161, 58, 0.3);
  box-shadow: 0 8px 24px -8px rgba(58,161,58,0.4);
}

.service-stage h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -1.25px;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.service-stage h2 span { color: var(--accent); }

.service-stage p.lead {
  color: var(--gray-600);
  line-height: 1.65;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.stage-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.stage-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  color: var(--gray-700);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--gray-100);
}

.stage-list li:last-child { border-bottom: none; }

.stage-list li::before {
  content: '';
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233aa13a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  margin-top: 3px;
}

/* CTA band */
.cta-band {
  background: var(--dark);
  color: var(--white);
  padding: 6rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(58, 161, 58, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(30, 107, 184, 0.15) 0%, transparent 60%);
}

.cta-band-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }

.cta-band h2 {
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
}

.cta-band h2 span { color: var(--accent); }

.cta-band p {
  color: var(--gray-400);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 2rem;
  font-weight: 300;
}

/* Terms */
.terms-meta {
  background: linear-gradient(135deg, var(--gray-100), #e8ecf1);
  padding: 2rem;
  border-left: 3px solid var(--accent);
  margin-bottom: 3rem;
  border-radius: 14px;
}

.terms-meta p {
  font-size: 0.92rem;
  color: var(--gray-600);
  margin: 0.25rem 0;
  font-weight: 300;
  word-break: break-word;
}

.terms-meta strong { color: var(--dark); font-weight: 600; }

.terms-section-head {
  margin: 5rem 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent);
}

.terms-section-head h2 {
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--dark);
  line-height: 1.2;
}

.terms-section-head h2 span { color: var(--accent); }

.terms-section-head p {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-top: 0.4rem;
  font-weight: 300;
}

.terms-clause { margin-bottom: 2.5rem; }

.terms-clause h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  margin-bottom: 0.9rem;
  color: var(--dark);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  line-height: 1.3;
}

.terms-clause h3 .clause-num {
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}

.terms-clause p {
  font-size: 0.97rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0.9rem;
  font-weight: 300;
}

.terms-clause ul {
  list-style: none;
  margin: 0.75rem 0 1rem;
  padding-left: 2.25rem;
}

.terms-clause ul li {
  position: relative;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 0.5rem;
  padding-left: 1.1rem;
  font-weight: 300;
}

.terms-clause ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.terms-clause strong { color: var(--dark); font-weight: 600; }

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

/* Large desktop */
@media (min-width: 1600px) {
  .split-content { padding: 8rem 6.5rem 6rem; }
  .content-wrap { padding: 8rem 2.5rem; }
}

/* Tablet landscape — still show inline nav */
@media (max-width: 1100px) {
  .split-content { padding: 6rem 3rem 4rem; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
  .nav-links a { padding: 0.55rem 0.85rem; font-size: 0.9rem; }
  .nav-cta { padding: 0.65rem 1rem; font-size: 0.88rem; }
  .nav-logo-img { height: 50px; padding: 6px 12px; }
}

/* Tablet / small laptop — collapse to hamburger */
@media (max-width: 900px) {
  .nav {
    top: 12px;
    width: calc(100% - 24px);
    padding: 8px 10px 8px 16px;
    min-height: var(--nav-h-mobile);
  }
  .nav.scrolled { top: 8px; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: inline-flex; }

  html.snap { scroll-snap-type: none; }

  .split { flex-direction: column; min-height: auto; }
  .split.reverse-mobile { flex-direction: column-reverse; }

  .split-img, .split-content { width: 100%; min-height: auto; }
  .split-img { height: 50vh; min-height: 320px; }
  .split-img img, .split-img video { position: absolute; }

  .split-content { padding: 4rem 2rem; }

  .hero-title { font-size: clamp(2.2rem, 6.5vw, 3rem); letter-spacing: -1px; }

  .page-hero { min-height: 52vh; padding: 7rem 1.5rem 4rem; }

  .content-wrap { padding: 4rem 1.5rem; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 4rem; }
  .about-grid img { height: clamp(260px, 45vw, 400px); }
  .seo-grid,
  .faq-grid,
  .service-faq .faq-grid { grid-template-columns: 1fr 1fr; }

  .consultant-block { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 1.75rem; }
  .consultant-img { max-width: 220px; margin: 0 auto; }
  .consultant-facts { grid-template-columns: 1fr 1fr; }

  .service-stage { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }
  .service-stage.reverse { direction: ltr; }
  .service-stage.reverse > img,
  .service-stage > img,
  .service-stage.reverse > .service-stage-img,
  .service-stage > .service-stage-img { order: -1; }
  .service-stage-img { height: clamp(220px, 42vw, 320px); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer { padding: 3rem 1.5rem 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal,
  .footer-credit {
    flex: 0 1 auto;
    width: 100%;
    text-align: left;
  }

  .cta-band { padding: 4.5rem 1.5rem; }
  .terms-section-head { margin: 3.5rem 0 1.5rem; }

  .hero-widgets {
    position: relative;
    right: auto; bottom: auto;
    margin-top: 1.5rem;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .glass-widget { min-width: 0; flex: 1 1 180px; }

  .nav-logo-img { height: 46px; padding: 5px 10px; border-radius: 10px; }
  .menu-dropdown { top: 82px; }
}

/* Phone */
@media (max-width: 600px) {
  .nav { padding: 6px 8px 6px 12px; }
  .nav-logo-img { height: 42px; padding: 4px 9px; }
  .hamburger { width: 40px; height: 40px; }

  .split-img { height: 44vh; min-height: 260px; }
  .split-content { padding: 3rem 1.25rem; }

  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { justify-content: center; }

  .btn { padding: 0.9rem 1.5rem; font-size: 0.9rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; padding-bottom: 1.75rem; }
  .consultant-facts { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .seo-grid,
  .faq-grid,
  .service-faq .faq-grid { grid-template-columns: 1fr; }

  .cta-band { padding: 3.5rem 1.25rem; }
  .content-wrap { padding: 3rem 1.25rem; }
  .page-hero { padding: 6rem 1.25rem 3.5rem; min-height: 48vh; }

  .consultant-block { padding: 2rem 1.25rem; }
  .service-stage { padding: 2.5rem 0; }
  .service-stage-img { height: 220px; }

  .service-card h3 { font-size: 1.1rem; gap: 0.6rem; }
  .service-card p { padding-left: 0; margin-top: 0.5rem; }

  .terms-clause ul { padding-left: 1.25rem; }
  .terms-clause h3 { gap: 0.5rem; }
  .contact-info-item { font-size: 0.85rem; word-break: break-word; }

  .menu-dropdown { top: 72px; right: 10px; left: 10px; width: auto; }

  .hero-widgets { flex-direction: column; gap: 0.6rem; }
  .glass-widget { padding: 0.7rem 0.85rem; min-width: 0; }
}

@media (max-width: 380px) {
  .split-content { padding: 2.5rem 1rem; }
  .page-hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .stat-number { font-size: 1.8rem; }
  .nav-logo-img { height: 38px; padding: 3px 7px; }
}
