/* ============================================================
   VAIDA Connect — Global Stylesheet (Overhauled)
   ------------------------------------------------------------
   Theme  : Teal-blue primary + warm skin/cream backgrounds
   Fonts  : Cormorant Garamond (headings) + DM Sans (body)
   Order  :
   1.  Reset & Root Variables
   2.  Base & Smooth Scroll
   3.  Keyframe Animations
   4.  Navbar
   5.  Loader
   6.  Hero (scroll-track, sticky-hero, canvas, text layers)
   7.  Horizontal Services Section
   8.  Orbit / QR Section
   9.  Features
   10. FAQ
   11. CTA / Connect
   12. Popup Modal
   13. Footer
   14. Scroll Reveal
   15. Page Transition Overlay
   16. Media Queries — Tablet (≤ 1024px)
   17. Media Queries — Mobile (≤ 768px)
   18. Media Queries — Small Mobile (≤ 480px)
   ============================================================ */

/* ──────────────────────────────────────────────────────────
   1. RESET & ROOT VARIABLES
   ────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand colours */
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --teal-dark: #0f766e;
  --teal-pale: #e6f7f6;
  --teal-glow: rgba(13, 148, 136, 0.35);

  /* Backgrounds */
  --cream: #f5ede4;
  --cream-deep: #ede3d8;
  --white: #ffffff;
  --page-bg: #f8f3ee;

  /* Text */
  --black: #0a0a0a;
  --text-dark: #111827;
  --text-mid: #374151;
  --text-muted: #6b7280;
  --text-light: #9ca3af;

  /* Misc */
  --border-light: rgba(0, 0, 0, 0.08);
  --border-teal: rgba(13, 148, 136, 0.18);

  /* Typography */
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-teal: 0 6px 24px rgba(13, 148, 136, 0.22);
}

/* ──────────────────────────────────────────────────────────
   2. BASE & SMOOTH SCROLL
   ────────────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: var(--font-body);
}

/* ──────────────────────────────────────────────────────────
   3. KEYFRAME ANIMATIONS
   ────────────────────────────────────────────────────────── */
@keyframes navDrop {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
@keyframes navDropMobile {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes menuSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes arrowBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(7px);
  }
}
@keyframes scrollAnim {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.1;
  }
}
@keyframes overlayFade {
  to {
    opacity: 0;
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* ──────────────────────────────────────────────────────────
   4. NAVBAR
   ────────────────────────────────────────────────────────── */
nav#navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  opacity: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(10, 14, 18, 0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 100px;
  padding: 6px 10px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.32);
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  animation: navDrop 0.7s var(--ease-out-expo) 0.5s forwards;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
  padding: 6px 14px 6px 8px;
  border-radius: 100px;
  letter-spacing: -0.2px;
  transition: opacity 0.2s;
  margin-right: 4px;
}
.nav-logo:hover {
  opacity: 0.78;
}

.nav-logo-icon {
  width: 27px;
  height: 27px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px var(--teal-glow);
}

.nav-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  padding: 7px 16px;
  border-radius: 100px;
  transition:
    color 0.25s,
    background 0.25s;
  letter-spacing: -0.1px;
}
.nav-links a:hover {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.08);
}

/* Nav CTA */
.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 7px 18px !important;
  font-weight: 700 !important;
  border-radius: 100px !important;
  font-size: 13px !important;
  margin-left: 4px;
  box-shadow: 0 2px 14px rgba(13, 148, 136, 0.42);
  transition:
    background 0.3s,
    transform 0.2s,
    box-shadow 0.3s !important;
}

/* Navbar — scroll-enhanced state */
nav#navbar.nav-scrolled {
  background: rgba(8, 10, 14, 0.97);
  box-shadow:
    0 6px 36px rgba(0, 0, 0, 0.42),
    0 1px 0 rgba(255, 255, 255, 0.05);
  border-color: rgba(13, 148, 136, 0.18);
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

/* AOS — override default easing with smooth expo */
[data-aos] {
  pointer-events: none;
}
[data-aos].aos-animate {
  pointer-events: auto;
}
[data-aos="fade-up"] {
  transform: translateY(28px);
  opacity: 0;
  transition-property: transform, opacity;
}
[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}
[data-aos="fade-right"] {
  transform: translateX(-28px);
  opacity: 0;
  transition-property: transform, opacity;
}
[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}
[data-aos="zoom-in"] {
  transform: scale(0.92);
  opacity: 0;
  transition-property: transform, opacity;
}
[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
  opacity: 1;
}
.nav-cta:hover {
  background: var(--teal-light) !important;
  transform: scale(1.05) !important;
  box-shadow: 0 4px 22px rgba(13, 148, 136, 0.55) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 2px;
  display: block;
  transition: all 0.35s var(--ease-out-expo);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile dropdown */
.nav-mobile-menu {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 2px;
  padding: 8px 4px 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 4px;
  animation: menuSlide 0.35s var(--ease-out-expo) forwards;
}
.nav-mobile-menu.open {
  display: flex;
}
.nav-mobile-menu a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  padding: 10px 16px;
  border-radius: 100px;
  transition:
    color 0.2s,
    background 0.2s;
}
.nav-mobile-menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.nav-mobile-menu .mob-cta {
  background: var(--teal) !important;
  color: #fff !important;
  text-align: center;
  margin-top: 4px;
  border-radius: 100px;
}

/* ──────────────────────────────────────────────────────────
   5. LOADER
   ────────────────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: #08100f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  z-index: 9999;
  transition:
    opacity 0.9s var(--ease-in-out),
    visibility 0.9s;
}
#loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

#loader-logo {
  font-family: var(--font-head);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.5px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.7s var(--ease-out-expo) 0.2s forwards;
}

#loader-bar-wrap {
  width: clamp(140px, 30vw, 200px);
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
#loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  transition: width 0.12s linear;
}
#loader-pct {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 4px;
}

/* ──────────────────────────────────────────────────────────
   6. HERO
   ────────────────────────────────────────────────────────── */
#scroll-track {
  position: relative;
  height: 600vh;
}

#sticky-hero {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--cream);
}

#hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

#hero-text-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

/* Center text */
#hero-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  will-change: opacity, transform;
  padding: 0 24px;
  width: 100%;
  max-width: 680px;
}
#hero-center-text .eyebrow {
  font-size: clamp(9px, 1.5vw, 11px);
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.8s var(--ease-out-expo) 1.1s forwards;
}
#hero-center-text h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7.5vw, 7rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  letter-spacing: clamp(-1px, -0.025em, -2px);
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 1s var(--ease-out-expo) 1.3s forwards;
  text-shadow: 0 2px 40px rgba(245, 237, 228, 0.9);
}
#hero-center-text h1 em {
  color: var(--teal);
  font-style: italic;
  font-weight: 500;
}
#hero-center-text > p {
  margin-top: 18px;
  font-size: clamp(13px, 2vw, 16px);
  font-weight: 500;
  color: var(--text-dark);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.9s var(--ease-out-expo) 1.6s forwards;
  text-shadow: 0 1px 12px rgba(245, 237, 228, 0.95);
}

/* Bottom-left panel */
#hero-bottom-left {
  position: absolute;
  bottom: 56px;
  left: clamp(20px, 4vw, 60px);
  opacity: 0;
  transform: translateY(40px) translateX(-10px);
  transition:
    opacity 0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
  will-change: opacity, transform;
  max-width: 280px;
}
#hero-bottom-left.visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}
#hero-bottom-left.exit {
  opacity: 0;
  transform: translateX(-70px);
  transition:
    opacity 0.45s var(--ease-in-out),
    transform 0.45s var(--ease-in-out);
}
#hero-bottom-left .label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
#hero-bottom-left h3 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.8vw, 2.6rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.12;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 20px rgba(245, 237, 228, 0.8);
}

/* Bottom-right panel */
#hero-bottom-right {
  position: absolute;
  bottom: 56px;
  right: clamp(20px, 4vw, 60px);
  text-align: right;
  opacity: 0;
  transform: translateX(70px);
  transition:
    opacity 0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
  will-change: opacity, transform;
  max-width: 280px;
}
#hero-bottom-right.visible {
  opacity: 1;
  transform: translateX(0);
}
#hero-bottom-right.exit {
  opacity: 0;
  transform: translateX(90px);
  transition:
    opacity 0.45s var(--ease-in-out),
    transform 0.45s var(--ease-in-out);
}
#hero-bottom-right .label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
#hero-bottom-right h3 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.8vw, 2.6rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.12;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 20px rgba(245, 237, 228, 0.8);
}

/* Final "Ready to Connect?" */
#hero-final {
  position: absolute;
  bottom: 44px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(56px);
  transition:
    opacity 0.9s var(--ease-out-expo),
    transform 0.9s var(--ease-out-expo);
  pointer-events: none;
  will-change: opacity, transform;
}
#hero-final.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#hero-final h2 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  font-weight: 700;
  color: var(--black);
  letter-spacing: clamp(-1px, -0.025em, -1.5px);
  line-height: 1.05;
  text-shadow: 0 2px 30px rgba(245, 237, 228, 0.9);
}
#hero-final .arrow-wrap {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

/* Animated down arrow */
.down-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: arrowBounce 1.6s var(--ease-in-out) infinite;
}
.down-arrow .arrow-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--black), transparent);
  opacity: 0.22;
}
.down-arrow svg {
  width: 22px;
  height: 22px;
  stroke: var(--black);
  stroke-width: 1.5;
  fill: none;
  opacity: 0.4;
}

/* Scroll hint */
#scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: opacity 0.5s var(--ease-in-out);
  z-index: 5;
}
#scroll-hint span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.28);
}
.scroll-arrow {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.28), transparent);
  animation: scrollAnim 1.6s ease-in-out infinite;
}
/* ──────────────────────────────────────────────────────────
   7. HORIZONTAL SERVICES SECTION
   ─────────────────────────────────────────────────────────── */
.horizontal-services {
  position: relative;
  height: 520vh;
  background: #d1bfae;
}

.services-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.services-head {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0 20px;
  flex-shrink: 0;
}

.services-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6e3c21;
  background: rgba(110, 60, 33, 0.08);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.services-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: clamp(26px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-dark);
  letter-spacing: -1px;
}
.services-head h2 em {
  font-style: italic;
  color: #6e3c21;
  font-weight: 600;
}
.services-head p {
  margin: 0;
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--text-muted);
  font-weight: 500;
}

.services-track-wrap {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 12px 0 20px;
}

.services-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  padding: 8px 48px;
  width: max-content;
  will-change: transform;
}

/* Service Cards */
.service-card {
  width: 280px;
  background: #f7f1eb;
  border: 1.5px solid rgba(110, 60, 33, 0.12);
  border-radius: 22px;
  box-shadow: 0 4px 20px rgba(110, 60, 33, 0.08);
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  cursor: pointer;
  transition:
    transform 0.32s var(--ease-out-expo),
    box-shadow 0.32s var(--ease-out-expo),
    border-color 0.22s;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 18px 44px rgba(110, 60, 33, 0.16);
  border-color: rgba(110, 60, 33, 0.28);
}

.card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #c3b09b;
  flex-shrink: 0;
  margin-bottom: 16px;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease-out-expo);
}
.service-card:hover .card-image img {
  transform: scale(1.06);
}

.card-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}
.card-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 500;
}

.card-arrow {
  margin-top: 16px;
  align-self: flex-end;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(110, 60, 33, 0.28);
  background: transparent;
  color: #6e3c21;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition:
    background 0.22s,
    color 0.22s,
    transform 0.22s,
    border-color 0.22s;
}
.service-card:hover .card-arrow {
  background: #0d9488;
  color: #fff;
  border-color: #0d9488;
  transform: translate(2px, -2px);
}
/* ──────────────────────────────────────────────────────────
   8. ORBIT / QR SECTION
   ─────────────────────────────────────────────────────────── */
.hero-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px 16px;
  overflow: hidden;
  background: #d1bfae;
}

.hero-card {
  width: min(100%, 980px);
  min-height: min(680px, 92vh);
  background: transparent;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  padding: 16px 16px 28px;
}

.orbit-stage {
  position: relative;
  width: min(82vw, 600px);
  aspect-ratio: 1 / 1;
  margin: 10px auto 0;
  transition: transform 180ms ease-out;
}

.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(110, 60, 33, 0.12);
  animation: spin 28s linear infinite;
  pointer-events: none;
}
.orbit-inner {
  inset: 21%;
  animation-duration: 18s;
  border-color: rgba(110, 60, 33, 0.2);
}

.orbit-card {
  position: absolute;
  z-index: 2;
  width: clamp(108px, 14vw, 140px);
  padding: 7px 9px;
  border-radius: 12px;
  background: rgba(247, 241, 235, 0.92);
  border: 1px solid rgba(110, 60, 33, 0.16);
  box-shadow: 0 6px 18px rgba(110, 60, 33, 0.1);
  display: flex;
  align-items: center;
  gap: 7px;
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  pointer-events: auto;
  overflow: hidden;
}
.orbit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(110, 60, 33, 0.04),
    rgba(170, 134, 105, 0.08)
  );
  pointer-events: none;
  z-index: 0;
}
.orbit-card > * {
  position: relative;
  z-index: 1;
}

.orbit-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(110, 60, 33, 0.1),
    rgba(170, 134, 105, 0.14)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.45);
}

.orbit-card h4 {
  margin: 0;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  color: #6e3c21;
}
.orbit-card p {
  margin: 2px 0 0;
  font-size: 9px;
  color: #826958;
  line-height: 1.3;
  opacity: 0.9;
}

/* Core QR */
.core {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(160px, 22vw, 220px);
  height: clamp(160px, 22vw, 220px);
  display: grid;
  place-items: center;
}

.core-glow,
.core-ring {
  position: absolute;
  border-radius: 50%;
}

.core-glow {
  inset: 12%;
  background: radial-gradient(
    circle,
    rgba(110, 60, 33, 0.16),
    rgba(170, 134, 105, 0.06) 48%,
    transparent 68%
  );
  filter: blur(14px);
}
.core-ring.ring-1 {
  inset: 9%;
  border: 1.5px solid rgba(110, 60, 33, 0.08);
}
.core-ring.ring-2 {
  inset: 17%;
  border: 1.5px solid rgba(110, 60, 33, 0.11);
}
.core-ring.ring-3 {
  inset: 25%;
  border: 1.5px solid rgba(110, 60, 33, 0.14);
}

.core-center {
  position: relative;
  z-index: 2;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f7f1eb;
  box-shadow:
    0 0 0 8px rgba(247, 241, 235, 0.8),
    0 0 0 20px rgba(110, 60, 33, 0.05),
    0 12px 32px rgba(110, 60, 33, 0.12);
}
.core-center img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  padding: 0 16px;
  pointer-events: auto;
}
.caption .eyebrow {
  margin: 0 0 4px;
  font-size: clamp(10px, 1.4vw, 13px);
  letter-spacing: 0.1em;
  color: #6e3c21;
  font-weight: 700;
  opacity: 0.78;
  text-transform: uppercase;
}
.caption h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.05;
  font-weight: 700;
  color: #6e3c21;
}
.caption .subtext {
  margin: 6px auto 0;
  color: #6b4a37;
  opacity: 0.82;
  font-size: clamp(11px, 1.3vw, 14px);
  line-height: 1.45;
  max-width: 340px;
  font-weight: 500;
  text-align: center;
}

/* ──────────────────────────────────────────────────────────
   9. FEATURES
   ─────────────────────────────────────────────────────────── */
#features {
  padding: clamp(72px, 10vw, 120px) clamp(20px, 6vw, 72px);
  background: #d1bfae;
}

.section-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #6e3c21;
  margin-bottom: 14px;
  display: block;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -1.2px;
  max-width: 520px;
  margin-bottom: 56px;
}
.section-title em {
  font-style: italic;
  color: #6e3c21;
  font-weight: 500;
}

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

/* New feature card layout */
.feature-card {
  background: #f7f1eb;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(110, 60, 33, 0.08);
  border: 1px solid rgba(110, 60, 33, 0.1);
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s,
    border-color 0.28s,
    background 0.28s;
  cursor: default;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(110, 60, 33, 0.14);
  border-color: rgba(110, 60, 33, 0.18);
  background: #fbf7f2;
}

.fc-image-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #c3b09b;
}
.fc-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-card:hover .fc-image-wrap img {
  transform: scale(1.06);
}
.fc-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(58, 36, 24, 0.35) 100%
  );
  pointer-events: none;
}

.fc-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(247, 241, 235, 0.92);
  color: #6e3c21;
  border: 1px solid rgba(110, 60, 33, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(58, 36, 24, 0.08);
}

.fc-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fc-tag {
  font-size: 12px;
  font-weight: 700;
  color: #6e3c21;
}

.fc-body h3 {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0;
}

.fc-body p {
  font-size: clamp(13px, 1.2vw, 14px);
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.fc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 10px;
}

.fc-rating {
  font-size: 12px;
  font-weight: 700;
  color: #aa8669;
  white-space: nowrap;
}
.fc-rating span {
  color: var(--text-dark);
  margin-left: 4px;
}

.fc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0d9488;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid #0d9488;
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease;
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.2);
}
.fc-cta:hover {
  background: #14b8a6;
  border-color: #14b8a6;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.28);
}

/* ──────────────────────────────────────────────────────────
   10. FAQ
   ─────────────────────────────────────────────────────────── */
#faq {
  padding: clamp(72px, 10vw, 120px) clamp(20px, 6vw, 72px);
  background: #d1bfae;
}

.faq-inner {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(110, 60, 33, 0.12);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 600;
  color: var(--text-dark);
  font-family: var(--font-body);
  gap: 20px;
  transition: color 0.3s var(--ease-in-out);
}
.faq-question:hover {
  color: #6e3c21;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(110, 60, 33, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all 0.4s var(--ease-out-expo);
  color: var(--text-dark);
}
.faq-item.open .faq-icon {
  background: #0d9488;
  border-color: #0d9488;
  color: #fff;
  transform: rotate(45deg) scale(1.1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease-out-expo);
}
.faq-answer p {
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.8;
  padding-bottom: 22px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ──────────────────────────────────────────────────────────
   11. CTA / CONNECT
   ────────────────────────────────────────────────────────── */
#connect {
  padding: clamp(80px, 12vw, 140px) clamp(20px, 6vw, 72px);
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  position: relative;
  overflow: hidden;
}
#connect::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 90vw);
  height: 500px;
  background: radial-gradient(
    ellipse,
    rgba(13, 148, 136, 0.24) 0%,
    transparent 70%
  );
  pointer-events: none;
}

#connect .eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 22px;
}
#connect h2 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: clamp(-1.5px, -0.03em, -3px);
  line-height: 1;
  max-width: 700px;
  margin-bottom: 22px;
}
#connect h2 em {
  color: var(--teal-light);
  font-style: italic;
  font-weight: 500;
}
#connect > p {
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.46);
  max-width: 460px;
  line-height: 1.8;
  margin-bottom: 42px;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  padding: 14px clamp(24px, 4vw, 38px);
  border-radius: 100px;
  font-size: clamp(13px, 1.2vw, 14px);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s var(--ease-out-expo),
    box-shadow 0.3s;
  box-shadow: 0 4px 22px rgba(13, 148, 136, 0.42);
}
.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.48);
}
.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  padding: 14px clamp(24px, 4vw, 38px);
  border-radius: 100px;
  font-size: clamp(13px, 1.2vw, 14px);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.13);
  transition: all 0.3s var(--ease-out-expo);
  cursor: pointer;
}
.btn-outline:hover {
  border-color: var(--teal-light);
  color: var(--teal-light);
  transform: translateY(-4px);
}

.trust-row {
  display: flex;
  gap: clamp(28px, 5vw, 56px);
  margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 80px;
}
.trust-item .num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  letter-spacing: -2px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s var(--ease-out-expo);
}
.trust-item:hover .num {
  transform: scale(1.08);
}
.trust-item .lbl {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ──────────────────────────────────────────────────────────
   12. POPUP MODAL
   ────────────────────────────────────────────────────────── */

/* Overlay */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s var(--ease-out-expo),
    visibility 0.4s var(--ease-out-expo);
  overflow-y: auto;
}
.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal */
.popup-modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 28px;
  border: 1px solid rgba(13, 148, 136, 0.15);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.25),
    0 0 80px rgba(13, 148, 136, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  padding: 48px 40px 40px;
  transform: translateY(30px) scale(0.97);
  transition:
    transform 0.5s var(--ease-out-expo),
    opacity 0.5s var(--ease-out-expo);
  opacity: 0;
}
.popup-overlay.active .popup-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Hide scrollbar on modal */
.popup-modal::-webkit-scrollbar {
  width: 4px;
}
.popup-modal::-webkit-scrollbar-track {
  background: transparent;
}
.popup-modal::-webkit-scrollbar-thumb {
  background: rgba(13, 148, 136, 0.25);
  border-radius: 4px;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.3s var(--ease-out-expo);
  z-index: 2;
}
.popup-close:hover {
  background: var(--teal-pale);
  border-color: var(--teal);
  color: var(--teal);
  transform: rotate(90deg) scale(1.08);
}
.popup-close svg {
  display: block;
}

/* Header */
.popup-header {
  text-align: center;
  margin-bottom: 32px;
}

.popup-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  background: var(--teal-pale);
  padding: 5px 16px;
  border-radius: 999px;
}

.popup-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.popup-title em {
  font-style: italic;
  color: var(--teal);
  font-weight: 500;
}

.popup-subtitle {
  font-size: clamp(13px, 1.3vw, 14px);
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* Form */
.popup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  position: relative;
}

/* Input Wrapper */
.input-wrap {
  position: relative;
}

/* Input / Select / Textarea base */
.form-input {
  width: 100%;
  padding: 18px 16px 6px;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  transition:
    border-color 0.3s var(--ease-out-expo),
    box-shadow 0.3s var(--ease-out-expo),
    background 0.3s;
  outline: none;
  min-height: 52px;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:hover {
  border-color: rgba(13, 148, 136, 0.25);
}
.form-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.08);
  background: var(--white);
}

/* Floating Label */
.form-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
  pointer-events: none;
  transition: all 0.25s var(--ease-out-expo);
  background: transparent;
  padding: 0 4px;
  line-height: 1;
}

/* Float label on focus or when input has value */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: 10px;
  transform: translateY(0);
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.3px;
}

/* Textarea variant */
.form-textarea {
  min-height: 88px;
  padding: 22px 16px 10px;
  resize: vertical;
}
.form-textarea ~ .form-label {
  top: 18px;
  transform: translateY(0);
}
.form-textarea:focus ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label {
  top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
}

/* Highlight line decoration */
.input-highlight {
  position: absolute;
  left: 16px;
  bottom: 0;
  width: calc(100% - 32px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out-expo);
  pointer-events: none;
}
.form-input:focus ~ .input-highlight {
  transform: scaleX(1);
}

/* Select specific */
.select-wrap {
  position: relative;
}
.form-select {
  cursor: pointer;
  padding-right: 36px;
  /* Down arrow hidden via select-arrow SVG */
}
.form-select option {
  color: var(--text-dark);
  background: var(--white);
  padding: 8px;
}
.select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
  transition:
    transform 0.3s var(--ease-out-expo),
    color 0.3s;
}
.form-select:focus ~ .select-arrow {
  transform: translateY(-50%) rotate(180deg);
  color: var(--teal);
}

/* Submit Button */
.popup-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 32px;
  margin-top: 4px;
  border: none;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: -0.2px;
  transition: all 0.35s var(--ease-out-expo);
  box-shadow: 0 4px 24px rgba(13, 148, 136, 0.35);
  position: relative;
  overflow: hidden;
}
.popup-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal-light), #2dd4bf);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
  border-radius: 100px;
}
.popup-submit:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 36px rgba(13, 148, 136, 0.45);
}
.popup-submit:hover::before {
  opacity: 1;
}
.popup-submit:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}
.popup-submit > * {
  position: relative;
  z-index: 1;
}

.submit-arrow {
  transition: transform 0.35s var(--ease-out-expo);
}
.popup-submit:hover .submit-arrow {
  transform: translateX(4px);
}

/* Footer text */
.popup-footer-text {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  margin-top: 4px;
  letter-spacing: 0.2px;
}

/* ──────────────────────────────────────────────────────────
   13. FOOTER
   ────────────────────────────────────────────────────────── */
footer {
  background: #050707;
  padding: clamp(22px, 3vw, 36px) clamp(20px, 6vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
  gap: 12px;
}
footer .foot-logo {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.28);
}
footer p {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.18);
}

/* ──────────────────────────────────────────────────────────
   14. SCROLL REVEAL
   ────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.9s var(--ease-out-expo),
    transform 0.9s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.93) translateY(18px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.d1 {
  transition-delay: 0.06s;
}
.d2 {
  transition-delay: 0.12s;
}
.d3 {
  transition-delay: 0.18s;
}
.d4 {
  transition-delay: 0.24s;
}
.d5 {
  transition-delay: 0.3s;
}
.d6 {
  transition-delay: 0.36s;
}

/* ──────────────────────────────────────────────────────────
   15. PAGE TRANSITION OVERLAY
   ────────────────────────────────────────────────────────── */
#page-overlay {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  z-index: 8888;
  opacity: 1;
  pointer-events: none;
  animation: overlayFade 0.8s var(--ease-out-expo) 0.1s forwards;
}

/* ──────────────────────────────────────────────────────────
   16. MEDIA QUERIES — Tablet (≤ 1024px)
   ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .horizontal-services {
    height: 480vh;
  }

  .service-card {
    width: 260px;
  }

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

  .orbit-stage {
    width: min(88vw, 520px);
  }

  /* Popup */
  .popup-modal {
    padding: 40px 32px 36px;
  }
}

/* ──────────────────────────────────────────────────────────
   17. MEDIA QUERIES — Mobile (≤ 768px)
   ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* --- Navbar --- */
  nav#navbar {
    top: 10px;
    border-radius: 18px;
    padding: 9px 12px;
    width: calc(100vw - 20px);
    left: 10px;
    transform: none;
    flex-wrap: wrap;
    animation: navDropMobile 0.7s var(--ease-out-expo) 0.5s both;
  }
  .nav-logo {
    margin-right: auto;
  }
  .nav-divider,
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .nav-mobile-menu.open {
    display: flex;
    width: 100%;
    border-radius: 12px;
    background: rgba(26, 30, 34, 0.65);
    padding: 6px 4px 8px;
    margin-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  /* --- Hero --- */
  #scroll-track {
    height: 600vh;
  }

  #hero-center-text {
    padding: 0 18px;
  }
  #hero-center-text h1 {
    font-size: clamp(2.8rem, 9vw, 4rem);
  }
  #hero-center-text > p {
    font-size: 13px;
  }

  #hero-bottom-left {
    left: 16px;
    bottom: 36px;
    max-width: 200px;
  }
  #hero-bottom-right {
    right: 16px;
    bottom: 36px;
    max-width: 200px;
  }
  #hero-bottom-left h3,
  #hero-bottom-right h3 {
    font-size: 1.3rem;
  }

  #hero-final {
    bottom: 28px;
  }
  #hero-final h2 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  /* --- Services --- */
  .horizontal-services {
    height: auto;
    padding: 52px 0 44px;
  }
  .services-sticky {
    position: relative;
    height: auto;
    overflow: visible;
    padding: 0;
    display: block;
  }
  .services-head {
    padding: 0 18px 22px;
    width: 100%;
  }
  .services-track-wrap {
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 4px 18px 18px;
    display: block;
  }
  .services-track-wrap::-webkit-scrollbar {
    display: none;
  }
  .services-track {
    transform: none !important;
    padding: 4px 0 10px;
    align-items: flex-start;
  }
  .service-card {
    width: 82vw;
    max-width: 300px;
    scroll-snap-align: start;
  }

  /* --- Orbit --- */
  .hero-shell {
    min-height: auto;
    padding: 44px 12px;
  }
  .hero-card {
    min-height: auto;
    padding: 10px 10px 22px;
  }
  .orbit-stage {
    width: min(94vw, 440px);
  }
  .orbit-card {
    width: clamp(112px, 30vw, 145px);
    padding: 7px 9px;
    gap: 7px;
  }
  .orbit-card h4 {
    font-size: 11px;
  }
  .orbit-card p {
    font-size: 9px;
  }
  .orbit-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  .core {
    width: clamp(130px, 28vw, 170px);
    height: clamp(130px, 28vw, 170px);
  }
  .caption {
    bottom: 10px;
  }
  .caption h2 {
    font-size: clamp(18px, 5vw, 24px);
  }
  .caption .subtext {
    font-size: 10px;
    max-width: 250px;
  }
  .caption .eyebrow {
    font-size: 9px;
  }

  /* --- Features --- */
  .features-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    margin-bottom: 40px;
  }

  /* --- FAQ --- */
  .faq-question {
    padding: 18px 0;
  }

  /* --- CTA --- */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .trust-row {
    gap: 24px;
    margin-top: 48px;
    padding-top: 36px;
  }

  /* --- Popup --- */
  .popup-overlay {
    padding: 16px;
    align-items: flex-start;
    padding-top: 40px;
  }
  .popup-modal {
    padding: 36px 24px 32px;
    border-radius: 22px;
    max-height: 85vh;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .popup-title {
    font-size: 1.6rem;
  }
  .popup-close {
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
  }

  /* --- Footer --- */
  footer {
    padding: 22px 18px;
    flex-direction: column;
    text-align: center;
  }
}

/* ──────────────────────────────────────────────────────────
   18. MEDIA QUERIES — Small Mobile (≤ 480px)
   ────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  #hero-center-text h1 {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
  }
  #hero-center-text > p {
    font-size: 12px;
  }

  /* Hide bottom panels on very small screens — they overlap on portrait phones */
  #hero-bottom-left,
  #hero-bottom-right {
    display: none;
  }

  .services-head h2 {
    font-size: clamp(22px, 7vw, 30px);
  }

  .features-grid {
    border-radius: 16px;
  }
  .feature-card {
    padding: 24px 20px;
  }
  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .feature-card h3 {
    font-size: 1.15rem;
  }

  #connect h2 {
    font-size: clamp(2.2rem, 9vw, 3rem);
    letter-spacing: -1px;
  }

  .trust-item .num {
    font-size: 2rem;
  }

  .orbit-stage {
    width: 96vw;
  }
  .orbit-card {
    width: clamp(100px, 32vw, 130px);
    padding: 6px 8px;
    gap: 6px;
  }
  .orbit-card h4 {
    font-size: 10px;
  }
  .orbit-card p {
    display: none;
  }
  .orbit-icon {
    width: 26px;
    height: 26px;
    font-size: 13px;
    border-radius: 8px;
  }

  /* Popup */
  .popup-modal {
    padding: 32px 18px 28px;
    border-radius: 18px;
  }
  .popup-title {
    font-size: 1.4rem;
  }
  .popup-subtitle {
    font-size: 12px;
  }
  .form-input {
    font-size: 14px;
    padding: 16px 14px 6px;
    min-height: 48px;
  }
  .form-textarea {
    min-height: 76px;
    padding: 20px 14px 8px;
  }
  .popup-submit {
    font-size: 14px;
    padding: 14px 24px;
  }
}

/* ──────────────────────────────────────────────────────────
   HERO FINAL BUTTONS & SERVICES FILTER
   ────────────────────────────────────────────────────────── */

/* Hero final buttons */
.hero-final-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 100px;
  border: 1.5px solid rgba(13, 148, 136, 0.4);
  background: rgba(13, 148, 136, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #0a0a0a;
  font-family: var(--font-body);
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.28s var(--ease-out-expo),
    border-color 0.28s var(--ease-out-expo),
    transform 0.28s var(--ease-out-expo),
    box-shadow 0.28s var(--ease-out-expo);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.14);
  letter-spacing: -0.2px;
}

.hero-cta-btn:hover {
  background: rgba(13, 148, 136, 0.22);
  border-color: rgba(13, 148, 136, 0.65);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(13, 148, 136, 0.26);
}

.hero-cta-btn:active {
  transform: translateY(-1px) scale(0.99);
}

.hero-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.18);
  flex-shrink: 0;
  transition: background 0.25s var(--ease-out-expo);
}

.hero-cta-btn:hover .hero-cta-icon {
  background: rgba(13, 148, 136, 0.3);
}
.hero-cta-icon svg {
  stroke: #0d9488;
}
.hero-cta-label {
  font-weight: 700;
  color: #0a0a0a;
}

.hero-cta-arrow {
  font-size: 13px;
  color: rgba(13, 148, 136, 0.8);
  transition: transform 0.22s var(--ease-out-expo);
}

.hero-cta-btn:hover .hero-cta-arrow {
  transform: translate(2px, -2px);
}

.hero-cta-patient {
  border-color: rgba(20, 184, 166, 0.4);
  background: rgba(20, 184, 166, 0.1);
}
.hero-cta-patient .hero-cta-icon {
  background: rgba(20, 184, 166, 0.16);
}
.hero-cta-patient .hero-cta-icon svg {
  stroke: #14b8a6;
}
.hero-cta-patient:hover {
  background: rgba(20, 184, 166, 0.22);
  border-color: rgba(20, 184, 166, 0.65);
}

/* Active state when a filter is selected */
.hero-cta-btn.filter-active {
  background: #0d9488;
  border-color: #0d9488;
  color: #fff;
  box-shadow: 0 6px 22px rgba(13, 148, 136, 0.38);
}
.hero-cta-btn.filter-active .hero-cta-icon {
  background: rgba(255, 255, 255, 0.2);
}
.hero-cta-btn.filter-active .hero-cta-icon svg {
  stroke: #fff;
}
.hero-cta-btn.filter-active .hero-cta-label {
  color: #fff;
}
.hero-cta-btn.filter-active .hero-cta-arrow {
  color: rgba(255, 255, 255, 0.8);
}

/* Service card hide animation */
.service-card {
  transition:
    opacity 0.35s var(--ease-out-expo),
    transform 0.35s var(--ease-out-expo),
    max-width 0.35s var(--ease-out-expo),
    min-width 0.35s var(--ease-out-expo),
    padding 0.35s var(--ease-out-expo),
    margin 0.35s var(--ease-out-expo);
}

.service-card.sc-hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none;
  max-width: 0 !important;
  min-width: 0 !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: none !important;
  flex-basis: 0 !important;
}

/* Filter tabs in services head */
.services-filter-tabs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.svc-tab {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1.5px solid rgba(110, 60, 33, 0.2);
  background: transparent;
  color: #6e3c21;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.25s var(--ease-out-expo),
    border-color 0.25s var(--ease-out-expo),
    color 0.25s var(--ease-out-expo),
    transform 0.2s;
}

.svc-tab:hover {
  background: rgba(13, 148, 136, 0.08);
  border-color: rgba(13, 148, 136, 0.35);
  color: #0d9488;
  transform: translateY(-1px);
}

.svc-tab.active {
  background: #0d9488;
  border-color: #0d9488;
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
}

@media (max-width: 480px) {
  .hero-final-btns {
    gap: 8px;
  }
  .hero-cta-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
  .hero-cta-icon {
    width: 28px;
    height: 28px;
  }
}

/* corescroller cards */

.fingertips-section {
  background: #d1bfae;
  padding: 64px 0 48px;
  overflow: hidden;
  width: 100%;
}

.fingertips-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.fingertips-header h2 {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700;
  color: #3a2418;
  line-height: 1.18;
  margin: 0;
}

.fingertips-header h2 span {
  color: #6e3c21;
}

.marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.marquee-row {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 100%;
}

.track-left {
  animation: scrollLeft 22s linear infinite;
}

.track-right {
  animation: scrollRight 22s linear infinite;
}

.pill-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #f7f1eb;
  border: 1.5px solid rgba(110, 60, 33, 0.1);
  border-radius: 999px;
  padding: 10px 20px 10px 10px;
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 500;
  color: #3a2418;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(110, 60, 33, 0.08);
}

.pill-icon {
  width: clamp(40px, 5vw, 56px);
  height: clamp(40px, 5vw, 56px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(110, 60, 33, 0.08);
}

.pill-icon svg {
  width: 54%;
  height: 54%;
}

.pill-sep {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.sep-dot {
  display: inline-block;
  width: clamp(10px, 1.5vw, 18px);
  height: clamp(10px, 1.5vw, 18px);
  border-radius: 50%;
  background: #c3b09b;
}

.sep-arrow {
  font-size: clamp(10px, 1.3vw, 16px);
  color: #aa8669;
  letter-spacing: -4px;
  opacity: 0.9;
}

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

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

@media (max-width: 768px) {
  .fingertips-section {
    padding: 40px 0 32px;
  }

  .marquee-wrap {
    gap: 10px;
  }

  .pill-card {
    padding: 8px 14px 8px 8px;
    gap: 9px;
  }

  .track-left,
  .track-right {
    animation-duration: 18s;
  }
}
/* ──────────────────────────────────────────────────────────
   FEATURES — Image-Top Card Style
   ─────────────────────────────────────────────────────────── */
#features {
  padding: clamp(72px, 10vw, 120px) clamp(20px, 6vw, 72px);
  background: #d1bfae;
}

.section-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #6e3c21;
  margin-bottom: 14px;
  display: block;
}

.section-title {
  font-family: var(--font-head, Georgia, serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  color: #2f1a10;
  line-height: 1.1;
  letter-spacing: -1.2px;
  max-width: 520px;
  margin-bottom: 56px;
}

.section-title em {
  font-style: italic;
  color: #6e3c21;
  font-weight: 500;
}

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

/* ── Card ── */
.feature-card {
  background: #f7f1eb;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(110, 60, 33, 0.08);
  border: 1px solid rgba(110, 60, 33, 0.1);
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s,
    border-color 0.28s,
    background 0.28s;
  cursor: default;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  background: #fbf7f2;
  border-color: rgba(110, 60, 33, 0.18);
  box-shadow: 0 18px 48px rgba(110, 60, 33, 0.14);
}

/* ── Image top ── */
.fc-image-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #c3b09b;
}

.fc-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover .fc-image-wrap img {
  transform: scale(1.06);
}

/* Gradient overlay at bottom of image */
.fc-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 45%,
    rgba(58, 36, 24, 0.42) 100%
  );
  pointer-events: none;
}

.fc-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(247, 241, 235, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(110, 60, 33, 0.1);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #6e3c21;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(58, 36, 24, 0.08);
}

/* ── Body ── */
.fc-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fc-tag {
  font-size: 12px;
  font-weight: 600;
  color: #6e3c21;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

.fc-body h3 {
  font-family: var(--font-head, Georgia, serif);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  color: #2f1a10;
  letter-spacing: -0.3px;
  margin: 0;
}

.fc-body p {
  font-size: clamp(13px, 1.1vw, 14px);
  font-weight: 400;
  color: #6b5648;
  line-height: 1.7;
  margin: 4px 0 10px;
}

.fc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  gap: 12px;
}

.fc-rating {
  font-size: 12px;
  color: #aa8669;
  font-weight: 600;
}

.fc-rating span {
  color: #2f1a10;
  font-weight: 700;
  margin-left: 4px;
}

.fc-cta {
  display: inline-block;
  background: #0d9488;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid #0d9488;
  transition:
    background 0.28s,
    border-color 0.28s,
    transform 0.22s,
    box-shadow 0.22s;
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.18);
}

.fc-cta:hover {
  background: #14b8a6;
  border-color: #14b8a6;
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.26);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .fc-image-wrap {
    height: 180px;
  }

  .fc-footer {
    flex-wrap: wrap;
  }

  .fc-cta {
    width: 100%;
    text-align: center;
  }
}
