/* ===============================
   Global / Theme
   =============================== */
:root {
  --header-height: 72px;
  --bg: #f4f6fb; /* light background */
  --card: #ffffff; /* white cards */
  --text: #243a5e; /* deep navy blue text */
  --muted: #243a5e;
  --accent: #e77a2f; /* warm orange */
  --accent-2: #243a5e; /* deep navy blue */
  --border: #dbe2ec;
  --typewriter-color: #fff;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  scroll-behavior: smooth;
  padding-top: 36px;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
}
img,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
  display: block; /* remove inline gaps */
}

/* ===============================
   Header
   =============================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95); /* light background */
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
}
.brand-logo {
  width: 235px;
  height: 128px;
  transition: height 0.2s;
}

@media (max-width: 768px) {
  .brand-logo {
    height: 60px;
    max-width: 80px;
  }
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.3px;
}

/* Desktop nav */
.nav-desktop {
  display: flex;
  gap: 20px;
}
.nav-desktop a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  transition:
    color 0.2s,
    background 0.2s;
}
.nav-desktop a:hover {
  color: var(--text);
  background: var(--card);
}
.nav-desktop a.active {
  color: var(--bg);
  background: var(--accent);
}

/* ===============================
   Hamburger Button (mobile)
   =============================== */
.hamburger {
  display: none; /* hidden on desktop */
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}
.hamburger span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--text);
  transform: translateX(-50%);
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}
/* stack three horizontal lines */
.hamburger span:nth-child(1) {
  top: 12px;
} /* top */
.hamburger span:nth-child(2) {
  top: 19px;
} /* middle */
.hamburger span:nth-child(3) {
  top: 26px;
} /* bottom */

/* open state -> middle disappears, others form X */
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(1) {
  transform: translateX(-50%) translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(3) {
  transform: translateX(-50%) translateY(-7px) rotate(-45deg);
}

/* ===============================
   Mobile Menu (full-screen overlay)
   =============================== */
/* Hidden by default on every screen to prevent flash */
.nav-mobile {
  position: fixed;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: 0;
  min-height: calc(100dvh - var(--header-height));
  background: rgba(14, 17, 23, 0.9);
  backdrop-filter: blur(8px);

  /* start off-screen to the right */
  transform: translateX(100%);
  transition: transform 0.35s ease-in-out;
  z-index: 900;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;

  pointer-events: none; /* no clicks when hidden */
}

/* When menu is open */
.nav-mobile.open {
  transform: translateX(0); /* slide into place */
  pointer-events: auto;
}

/* Activate layout only on mobile sizes */
@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  } /* hide desktop nav on mobile */
  .hamburger {
    display: flex;
  } /* show hamburger on mobile */

  .nav-mobile {
    display: block; /* becomes a scrollable column */
    padding: 0; /* bands touch edges */
  }
  .nav-mobile.open {
    transform: translateX(0); /* smoothly slides in from right */
    visibility: visible;
    pointer-events: auto;
  }

  /* GIANT BUTTON BANDS */
  .nav-mobile a {
    display: flex; /* make the whole band clickable */
    align-items: center;
    justify-content: center;
    width: 100%;
    /* Each band takes equal vertical share of the viewport under the header */
    min-height: calc((100dvh - var(--header-height)) / 4);
    /* fallback if calc not supported */
    min-height: 16vh;

    padding: 24px;
    text-decoration: none;
    color: var(--text);
    font-weight: 900;
    letter-spacing: 0.2px;
    text-align: center;
    font-size: clamp(26px, 7vw, 44px);

    /* separators */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    /* entrance animation */
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.45s ease,
      transform 0.45s ease,
      background 0.25s ease,
      color 0.2s;
    /* Snap each band to top when scrolling (optional) */
    scroll-snap-align: start;
  }
  .nav-mobile a:last-child {
    border-bottom: none;
  }

  .nav-mobile.open a {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-mobile.open a:nth-child(1) {
    transition-delay: 0.06s;
  }
  .nav-mobile.open a:nth-child(2) {
    transition-delay: 0.12s;
  }
  .nav-mobile.open a:nth-child(3) {
    transition-delay: 0.18s;
  }
  .nav-mobile.open a:nth-child(4) {
    transition-delay: 0.24s;
  }

  /* Hover/active feedback (mobile tap shows pressed state) */
  .nav-mobile a:hover,
  .nav-mobile a:active {
    background: rgba(255, 255, 255, 0.04);
  }
  .nav-mobile a.active {
    background: linear-gradient(
      180deg,
      color-mix(in oklab, var(--accent) 14%, transparent),
      rgba(255, 255, 255, 0.03)
    );
    color: var(--text);
  }
}

/* ===============================
   Hero (video + type)
   =============================== */
#hero {
  position: relative;
  height: calc(100vh - var(--header-height));
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
#bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.1);
}
.hero-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  transition: opacity 0.25s ease; /* faded when mobile menu opens */
}
.brand-kicker {
  margin: 0 0 10px 0;
  font-weight: 600;
  color: var(--typewriter-color);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
}
#typed {
  color: var(--typewriter-color);
}
.type-wrap {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
}
.typed-cursor {
  display: inline-block;
  width: 1ch;
  animation: blink 1s steps(2, start) infinite;
}
.hero-title {
  font-size: 48px;
  font-weight: 800;
}

.hero-subtext {
  font-size: 18px;
  margin-top: 10px;
  max-width: 600px;
}

.hero-cta {
  margin-top: 20px;
}

.cta-button {
  background: #0b6cff;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  margin-right: 10px;
}

.cta-secondary {
  border: 1px solid white;
  padding: 12px 24px;
  border-radius: 6px;
}
.hero-subline {
  color: white;
  margin-top: 10px;
  font-size: 16px;
  opacity: 0.9;
}
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-subheading {
  color: var(--typewriter-color);
}

.highlight {
  color: #fff;
}

.hero-eyebrow {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 10px;
}

.hero-subheading {
  margin-top: 16px;
  opacity: 0.85;
  max-width: 600px;
}

.hero-cta {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.hero-buttons {
  margin-top: 20px;
}

.hero-buttons .cta-button {
  padding: 10px 20px;
  border-radius: 6px;
  background: #0b6cff;
  color: #fff;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ===============================
   What do we do
   =============================== */

.services-section {
  padding: 80px 20px;
  background: var(--card);
  color: var(--text);
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-intro {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 20px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.service-icon {
  font-size: 40px;
  margin-bottom: 18px;
  color: var(--accent-2);
  transition: transform 0.25s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--text);
}

.service-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.services-cta {
  margin-top: 20px;
}

.cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}
.cta-button:hover {
  background: var(--accent-2);
}

@keyframes exitLeftBlur {
  to {
    opacity: 0;
    transform: translateX(-40px) scale(0.98);
    filter: blur(6px);
  }
}
@keyframes exitRightBlur {
  to {
    opacity: 0;
    transform: translateX(40px) scale(0.98);
    filter: blur(6px);
  }
}

.exit-left-blur {
  animation: exitLeftBlur 0.55s ease forwards;
}
.exit-right-blur {
  animation: exitRightBlur 0.55s ease forwards;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .exit-left-blur,
  .exit-right-blur {
    animation: none !important;
  }
}

/* ===============================
   Our Story
   =============================== */

/* ABOUT */
.about-section {
  padding: 80px 20px;
  background: var(--bg);
  color: var(--text);
}

.about-section .section-title {
  text-align: center;
  margin-bottom: 10px;
}

.about-section .section-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
  color: var(--muted);
}

.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: start;
}

.about-text p {
  margin-top: 0;
  line-height: 1.7;
  color: var(--text);
}
.about-point-grid {
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.about-points {
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.about-points li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  color: var(--muted);
}

.about-cta {
  text-align: center;
  margin-top: 50px;
}

.about-media {
  display: grid;
  gap: 16px;
}

.about-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
}
.about-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}
.about-caption {
  padding: 12px 14px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stat {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 8px;
  background: rgba(255, 255, 255, 0.02);
}
.stat-num {
  font-weight: 900;
  font-size: clamp(18px, 4.5vw, 28px);
  color: var(--text);
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-card img {
    height: 220px;
  }
  .about-points {
    grid-template-columns: 1fr;
  }
}

#about.about-section {
  padding: 80px 20px;
  color: var(--text);
  background: var(--bg);
}

#about .section-title {
  text-align: center;
  margin: 0 0 10px;
  font-weight: 800;
}
#about .section-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
  color: var(--muted);
}

/* ---- Duo layout ---- */
#about .team-duo {
  --size: clamp(200px, 28vw, 340px); /* circle diameter */
  --gap: clamp(28px, 7vw, 56px); /* horizontal gap between the two slots */

  display: flex;
  justify-content: center; /* keep duo centered */
  align-items: center;
  gap: var(--gap); /* exact gap between A and B */
  margin-top: 10px;
  max-width: 1200px;
  margin: auto;
}

/* Each slot is a fixed square where either a circle OR a bio can appear */
#about .slot {
  position: relative;
  width: var(--size);
  height: var(--size);
}

/* Circles */
#about .founder {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.35s ease,
    z-index 0.2s,
    opacity 0.25s ease;
  cursor: pointer;
  z-index: 2;
}
#about .founder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bio takes the exact place of the slot (overlay the circle) */
#about .bio {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 3;
}
#about .bio h3 {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 18px;
}
#about .bio p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Close button (added inside bio) */
.bio-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: transparent;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
@media (hover: hover) {
  .bio-close:hover {
    background: rgba(0, 0, 0, 0.06);
  }
}

/* ---------- INTERACTION STATES ----------
   Hover/tap A: B slides under A; A's bio shows in RIGHT slot.
   Hover/tap B: A slides under B; B's bio shows in LEFT slot.
*/
#about .team-duo.active-a .founder.a {
  z-index: 4;
  transform: translateX(0) rotateY(0) scale(1);
}
#about .team-duo.active-a .founder.b {
  z-index: 1;
  transform: translateX(calc(-80% - var(--gap))) rotateY(-14deg) scale(0.9);
  filter: brightness(0.8) blur(0.35px);
}
/* show A's bio in RIGHT slot (where B was) */
#about .team-duo.active-a .slot-right .bio-a {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
/* hide the circle in that slot so the bio fully replaces it */
#about .team-duo.active-a .slot-right .founder.b {
  opacity: 0;
  pointer-events: none;
}

/* Mirror for B */
#about .team-duo.active-b .founder.b {
  z-index: 4;
  transform: translateX(0) rotateY(0) scale(1);
}
#about .team-duo.active-b .founder.a {
  z-index: 1;
  transform: translateX(calc(80% + var(--gap))) rotateY(14deg) scale(0.9);
  filter: brightness(0.8) blur(0.35px);
}
#about .team-duo.active-b .slot-left .bio-b {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#about .team-duo.active-b .slot-left .founder.a {
  opacity: 0;
  pointer-events: none;
}

/* Hover polish (desktop) */
@media (hover: hover) {
  #about .founder:hover {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  }
}

/* ---------- Responsive: stack on mobile ---------- */
@media (max-width: 768px) {
  #about .team-duo {
    flex-direction: column;
    --size: clamp(180px, 65vw, 260px);
    --gap: 50px;
  }
  /* On mobile we show the bio under the active circle, not in the other slot */
  #about .slot {
    width: var(--size);
    height: var(--size);
    display: grid;
    justify-items: center;
  }
  #about .bio {
    position: static;
    width: 100%;
    margin-top: 12px;
    transform: none;
    opacity: 0;
  }
  #about .team-duo.active-a .slot-right .bio-a,
  #about .team-duo.active-b .slot-left .bio-b {
    opacity: 1;
    pointer-events: auto;
  }
  #about .team-duo.active-a .founder.b,
  #about .team-duo.active-b .founder.a {
    transform: translateY(6%) scale(0.94) rotateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .about-cta {
    margin-top: 50px;
  }
}

/* =========================
   Your AI Setup Process
   ========================= */
.hiw-section {
  padding: 84px 20px 80px;
  background: var(--card);
  color: var(--text);
}
.hiw-section .container {
  max-width: 1200px;
  margin: 0 auto;
}
.hiw-section .section-title {
  text-align: center;
  margin: 0 0 10px;
  font-weight: 800;
}
.hiw-section .section-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
  color: var(--muted);
}

/* Flow rail */
.hiw-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}
.hiw-line {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 40px;
  height: 2px;
  background: #e5e7eb;
  z-index: 0;
}

/* Step card */
.how-step {
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 14px;
  padding: 30px;
  min-height: 320px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.how-step:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.step-badge {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  font-weight: 800;
  font-size: 13px;
}
.step-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}
.step-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Progress dots along the rail */
.how-step::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent);
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.how-step.in-view::before {
  background: var(--accent);
  transform: translateX(-50%) scale(1.05);
}

.step-icon {
  font-size: 28px;
  color: #ff7a18;
  margin-bottom: 15px;
  display: block;
}

.how-step:hover .step-icon {
  transform: scale(1.15);
  transition: 0.3s ease;
}

.hiw-cta {
  margin-top: 50px;
  text-align: center;
}

.hiw-note {
  font-size: 16px;
  color: #6b7280;
  margin: 18px 30px 18px 0;
}

.cta-button {
  display: inline-block;
  padding: 14px 28px;
  background: #f27a2b;
  color: white;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.bio-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--card);
  background: var(--accent);
  padding: 0 5px;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 1100px) {
  .hiw-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .hiw-line {
    display: none;
  }
}
@media (max-width: 768px) {
  .hiw-flow {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .how-step::before {
    left: 0;
    transform: none;
    top: 14px;
    margin-left: -20px;
  }
  .how-step.in-view::before {
    display: none;
  }
  .exit-left-blur,
  .exit-right-blur,
  .exit-drop-blur,
  .exit-zoom-blur {
    filter: blur(3px);
  }
  .hiw-note {
    font-size: 15px;
    padding: 0 10px;
  }

  .cta-button {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }
}
.hiw-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* =========================
   Book a Demo (Demo + Contact)
   ========================= */
.git-section {
  padding: 84px 20px 88px;
  background: var(--bg);
  color: var(--text);
}
.git-section .container {
  max-width: 1000px;
  margin: 0 auto;
}
.git-section .section-title {
  text-align: center;
  margin: 0 0 10px;
  font-weight: 800;
}
.git-section .section-intro {
  justify-content: center;
  margin: 0 auto 32px;
  color: var(--muted);
}

/* Tabs */
.git-tabs {
  display: inline-flex;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--card) 90%, transparent);
  margin: 0 auto 20px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.git-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.git-tab.active {
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  color: var(--text);
}

/* Panels */
.git-panels {
  margin-top: 10px;
}
.git-panel {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 14px;
  padding: 18px;
}
.git-panel[hidden] {
  display: none;
}

.git-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group span.help {
  color: var(--muted);
  font-size: 12px;
}
.form-group span.error {
  color: #ff6b6b;
  font-size: 12px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 20%, transparent);
}
.span-2 {
  grid-column: span 2;
}

.btn-accent {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  background: color-mix(in oklab, var(--accent) 22%, transparent);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.form-footnote {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}
.form-footnote a {
  color: var(--accent);
  text-decoration: none;
}
.form-footnote a:hover {
  text-decoration: underline;
}

.git-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
  text-align: center;
}

/* Time icon visible on dark */
input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  opacity: 0.85;
}
input[type="time"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Validation feedback */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}
.help.error {
  color: #ff6b6b;
  font-size: 12px;
}
.form-success {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  border-radius: 8px;
}

/* Contact aside */
.git-aside {
  margin-top: 30px;
}
.aside-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--bg);
}
.aside-card h4 {
  margin: 0 0 6px;
  font-weight: 800;
}

/* Responsive */
@media (max-width: 820px) {
  .git-grid {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: span 1;
  }
}

/* ===============================
   Footer
   =============================== */
.site-footer {
  background: #ffffff; /* light background */
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: auto;
  align-items: center;
  margin-bottom: 25px;
}

.footer-logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo {
  width: 180px;
}
.footer-details-col {
  text-align: left;
}
.footer-details h3 {
  margin-bottom: 15px;
  color: var(--accent2);
}
.footer-details i {
  color: var(--accent);
}
.footer-details p {
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-details a {
  text-decoration: none;
  color: inherit;
}

.footer-details a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-company {
  color: var(--accent-2);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
}
.footer-contact {
  margin-bottom: 10px;
}
.footer-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.footer-link:hover {
  color: var(--accent);
}

.social-row {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  font-size: 20px;
}

.footer-social a {
  color: var(--accent-2);
  font-size: 22px;
  transition: color 0.2s;
}
.footer-social a:hover {
  color: var(--accent);
}

.footer-col {
  color: var(--text);
}
.footer-heading {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-logo {
  width: 100%;
}
.footer-company {
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 4px;
}
.footer-contact a {
  color: var(--muted);
  text-decoration: none;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links a {
  color: var(--accent-2);
  text-decoration: none;
  display: inline-block;
  padding: 6px 0;
}
.footer-links a:hover {
  color: var(--accent);
}

.social-row {
  display: flex;
  gap: 14px;
}
.social-row a {
  color: var(--accent-2);
  font-size: 22px;
}
.social-row a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text);
  padding: 16px 10px 22px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-details {
    text-align: center;
  }
  .footer-details p {
    justify-content: center;
  }
  .social-row {
    justify-content: center;
  }

  .footer-brand {
    display: block;
  }

  .social-row {
    display: block;
    letter-spacing: 10px;
  }

  .brand-logo-footer {
    text-align: center;
    text-align: -webkit-center;
    margin-bottom: 10px;
  }
}

.exit-left-blur {
  opacity: 0;
  transform: translateX(-80px);
  filter: blur(6px);
  transition: all 0.55s ease;
}

.exit-right-blur {
  opacity: 0;
  transform: translateX(80px);
  filter: blur(6px);
  transition: all 0.55s ease;
}

.exit-drop-blur {
  opacity: 0;
  transform: translateY(60px);
  filter: blur(6px);
  transition: all 0.55s ease;
}

.exit-zoom-blur {
  opacity: 0;
  transform: scale(0.9);
  filter: blur(5px);
  transition: all 0.45s ease;
}

.services-proof {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0 50px;
  text-align: center;
}

.proof-item strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #3b82f6;
}

.proof-item span {
  font-size: 0.9rem;
  opacity: 0.7;
}

.service-card {
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
}

.compliance-note {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 16px;
  max-width: 500px;
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 40px 0;
  text-align: center;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #3b82f6;
}

.hiw-proof {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 20px 0 40px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.hiw-proof span {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 14px;
  border-radius: 20px;
}

.step-title {
  font-weight: 700;
}

/* Tablet */
@media (max-width: 900px) {
  .imaging-section {
    padding: 60px 20px;
  }

  .imaging-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .imaging-card {
    padding: 20px;
  }

  .imaging-card h3 {
    font-size: 18px;
  }

  .imaging-card p {
    font-size: 14px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .imaging-section {
    padding: 50px 15px;
  }

  .imaging-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .imaging-card {
    padding: 18px;
    border-radius: 10px;
  }

  .imaging-card i {
    font-size: 20px;
  }

  .imaging-card h3 {
    font-size: 16px;
  }

  .imaging-card p {
    font-size: 13px;
    line-height: 1.5;
  }

  .imaging-note {
    font-size: 13px;
    text-align: center;
  }
}

.imaging-section {
  padding: 80px 0;
  background: #f9fafb;
}

.imaging-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.imaging-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.imaging-card:hover {
  transform: translateY(-5px);
}

.imaging-card i {
  font-size: 22px;
  margin-bottom: 12px;
  color: #4f46e5;
}

.imaging-note {
  margin-top: 30px;
  font-size: 14px;
  color: #6b7280;
}

/* Mobile */
@media (max-width: 900px) {
  .imaging-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .imaging-grid {
    grid-template-columns: 1fr;
  }
}

.imaging-section {
  padding: 80px 20px;
  background: var(--card);
  color: var(--text);
  text-align: center;
}
