/* ==========================================================================
   ORBITAL TECHNOLOGIES — v2 (overrides + new components)
   Loaded AFTER style.css to override
   ========================================================================== */

/* ---------- SEO breadcrumbs ---------- */
.breadcrumb-nav {
  padding: 14px 0 0;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}
.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  color: var(--c-muted, #6b7280);
}
.breadcrumb-item:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  opacity: 0.45;
}
.breadcrumb-item a {
  color: inherit;
  text-decoration: none;
}
.breadcrumb-item a:hover {
  color: var(--c-primary-600);
}
.breadcrumb-item span[aria-current] {
  color: var(--c-text, #0a0a0a);
  font-weight: 500;
}

/* ---------- Turbo top progress bar (YouTube-style thin strip) ---------- */
.turbo-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 100000;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.06);
  transition: opacity .2s ease;
}
.turbo-progress.is-active { opacity: 1; }
.turbo-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  max-width: 100%;
  border: 0;
  margin: 0;
  padding: 0;
  background: var(--c-primary);
  box-shadow: none;
  transition: none;
}
.turbo-progress.is-finishing .turbo-progress-bar {
  transition: width .2s cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Turbo Drive — no full-page wipe, content swaps quietly ---------- */
html.turbo-loading .nav {
  pointer-events: none;
}

/* ---------- Mega Menu Navbar ---------- */
.nav-inner { padding: 10px 14px 10px 24px; }
.nav-links { gap: 0; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 8px; }
.nav-link .caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  color: var(--c-primary-600);
  opacity: 1;
  transform: translateY(1px);
  transition: transform .3s var(--ease), color .2s ease;
}
.nav-item:hover .nav-link .caret {
  transform: translateY(1px) rotate(180deg);
  color: var(--c-primary);
}
.nav-link.active .caret { color: var(--c-primary); }

.mega-menu {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  width: min(1100px, 92vw);
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 40px 120px -20px rgba(10,10,10,0.35), 0 0 0 1px rgba(10,10,10,0.04);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all .3s var(--ease);
  z-index: 99;
}
/* invisible hover bridge so cursor doesn't lose :hover when crossing the gap from nav to menu */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -28px;
  left: 0;
  right: 0;
  height: 32px;
  background: transparent;
}
.nav-item:hover .mega-menu,
.mega-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* extend the nav-item hover area downward into the gap */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -10px;
  right: -10px;
  height: 24px;
}
.mega-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
}
.mega-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mega-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  transition: all .25s ease;
}
.mega-item:hover { background: var(--c-primary-100); }
.mega-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(43,217,141,0.15), rgba(0,236,255,0.10));
  color: var(--c-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all .3s ease;
}
.mega-item:hover .mega-item-icon { background: var(--c-secondary); color: var(--c-primary); }
.mega-item-text strong { display: block; font-size: 14.5px; color: var(--c-secondary); font-weight: 600; }
.mega-item-text p { margin: 2px 0 0; font-size: 12.5px; color: var(--c-muted); line-height: 1.45; }
.mega-feature {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
  background: linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.85) 100%), center/cover no-repeat;
}
.mega-feature h5 { color: #fff; margin: 0 0 6px; font-size: 18px; }
.mega-feature p { margin: 0 0 14px; font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.5; }
.mega-feature .btn { padding: 10px 18px; font-size: 13px; align-self: flex-start; }

/* Desktop: hover mega-menu. Mobile/tablet: accordion inside nav drawer (see responsive block). */

/* ---------- Client logo marquee ----------
   Every logo occupies an identical 170×64 optical slot.
   object-fit: contain preserves each logo's native aspect ratio
   inside the slot, so wide wordmarks and compact marks read
   at the same visual weight. */
.logo-marquee .marquee-track { gap: 56px; align-items: center; }
.client-logo {
  width: 153px;
  height: 58px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  filter: grayscale(100%) brightness(0.55) contrast(1.1);
  opacity: 0.65;
  transition: filter .35s ease, opacity .35s ease, transform .35s ease;
}
.client-logo:hover {
  filter: grayscale(0%) brightness(1) contrast(1);
  opacity: 1;
  transform: scale(1.06);
}
@media (max-width: 768px) {
  .logo-marquee .marquee-track { gap: 36px; }
  .client-logo { width: 117px; height: 47px; }
}

/* ---------- Hero rotating-word caret ---------- */
.hero-caret {
  display: inline-block;
  width: 4px;
  height: 0.85em;
  background: var(--c-primary);
  margin: 0 4px 0 2px;
  vertical-align: -0.08em;
  border-radius: 2px;
  animation: hero-caret-blink 1s steps(2, start) infinite;
}
@keyframes hero-caret-blink { 50% { opacity: 0; } }

/* ---------- HERO v2 (fanned card deck) ---------- */
.hero { padding: 180px 0 100px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 1200px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.hero h1.display { font-size: clamp(42px, 5.4vw, 82px); }

.hero-stage {
  position: relative;
  height: 560px;
  max-width: 560px;
  margin-left: auto;
  perspective: 1600px;
}
@media (max-width: 1200px) { .hero-stage { margin: 0 auto; } }

.hero-deck {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.hero-deck { --p: 0; }
.hero-deck-card {
  position: absolute;
  width: 320px;
  left: 50%;
  top: 50%;
  margin-left: -160px;
  margin-top: -100px;
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 30px 80px -20px rgba(10,10,10,0.35), 0 0 0 1px rgba(10,10,10,0.04);
  transition: box-shadow .45s var(--ease);
  will-change: transform;
  transform:
    translate(
      calc(var(--fan-x) * (1 - var(--p)) + var(--stack-x, -160px) * var(--p)),
      calc(var(--fan-y) * (1 - var(--p)) + var(--stack-y) * var(--p))
    )
    rotate(calc(var(--fan-r) * (1 - var(--p))));
}
.hero-deck-card .hdc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.hero-deck-card .hdc-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--c-secondary);
  color: var(--c-primary);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hero-deck-card .hdc-tag { font-size: 10.5px; font-weight: 700; color: var(--c-primary); text-transform: uppercase; letter-spacing: 0.12em; }
.hero-deck-card .hdc-title { font-size: 15px; font-weight: 700; color: var(--c-secondary); margin: 1px 0 0; line-height: 1.25; }
.hero-deck-card .hdc-body { font-size: 12.5px; color: var(--c-muted); line-height: 1.5; }
.hero-deck-card .hdc-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--c-border); font-size: 12.5px; }
.hero-deck-card .hdc-row:last-child { border-bottom: 0; }
.hero-deck-card .hdc-row strong { color: var(--c-secondary); font-weight: 600; }
.hero-deck-card .hdc-row .pill { background: rgba(43,217,141,0.12); color: var(--c-primary); padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; }
.hero-deck-card .hdc-stat { font-size: 28px; font-weight: 800; background: linear-gradient(135deg, #2BD98D, #00ECFF); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; margin-top: 6px; }
.hero-deck-card .hdc-stat-lbl { font-size: 11px; color: var(--c-muted); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.08em; }

/* Per-card fan offsets and stacked targets */
.hero-deck-card.hdc-1 { --fan-x: -130px; --fan-y: -200px; --fan-r: -7deg; --stack-y: -28px; z-index: 4; }
.hero-deck-card.hdc-2 { --fan-x:  140px; --fan-y: -130px; --fan-r:  5deg; --stack-y:  -9px; z-index: 3; }
.hero-deck-card.hdc-3 { --fan-x: -140px; --fan-y:   80px; --fan-r: -3deg; --stack-y:  10px; z-index: 2; }
.hero-deck-card.hdc-4 { --fan-x:  120px; --fan-y:  180px; --fan-r:  6deg; --stack-y:  29px; z-index: 1; }

.hero-deck-card:hover {
  box-shadow: 0 40px 100px -20px rgba(43,217,141,0.35), 0 0 0 1px rgba(43,217,141,0.2);
  z-index: 10;
}

@media (max-width: 1200px) {
  .hero-stage { height: 540px; max-width: 520px; }
  .hero-deck-card { --stack-x: 0px; }
}
@media (max-width: 1366px) {
  .hero { padding: 160px 0 88px; }
}
@media (max-width: 640px) {
  .hero-stage { height: 480px; max-width: 360px; }
  .hero-deck-card { width: 240px; padding: 16px; margin-left: -120px; margin-top: -90px; --stack-x: 0px; }
  .hero-deck-card.hdc-1 { --fan-x: -90px; --fan-y: -150px; }
  .hero-deck-card.hdc-2 { --fan-x:  90px; --fan-y: -90px; }
  .hero-deck-card.hdc-3 { --fan-x: -90px; --fan-y:  70px; }
  .hero-deck-card.hdc-4 { --fan-x:  90px; --fan-y: 150px; }
  .hero-deck-card .hdc-stat { font-size: 22px; }
}

/* ---------- Comparison Calculator v2 ---------- */
.calc2 {
  background: linear-gradient(180deg, #0A0A0A 0%, #161616 100%);
  border-radius: 32px;
  padding: 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.calc2::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 350px at 80% 0%, rgba(43,217,141,0.18), transparent 60%); pointer-events: none; }
@media (max-width: 768px) { .calc2 { padding: 32px 22px; } }

.calc2-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}
@media (max-width: 1024px) { .calc2-grid { grid-template-columns: 1fr; } }

.calc2-categories { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.calc2-cat-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
  font-family: inherit;
}
.calc2-cat-btn.active { background: var(--c-primary); color: var(--c-secondary); border-color: var(--c-primary); }

.calc2-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 360px; overflow-y: auto; padding-right: 4px; }
.calc2-list::-webkit-scrollbar { width: 6px; }
.calc2-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
@media (max-width: 640px) { .calc2-list { grid-template-columns: 1fr; max-height: none; } }

.calc2-chip {
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: all .25s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.calc2-chip:hover { background: rgba(43,217,141,0.06); border-color: rgba(43,217,141,0.3); }
.calc2-chip.selected { background: rgba(43,217,141,0.12); border-color: var(--c-primary); }
.calc2-chip-name { font-size: 13.5px; font-weight: 500; }
.calc2-chip-tag { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 2px; }
.calc2-chip-check { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid rgba(255,255,255,0.3); display: grid; place-items: center; flex-shrink: 0; transition: all .25s ease; }
.calc2-chip.selected .calc2-chip-check { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-secondary); }
.calc2-chip.selected .calc2-chip-check::after { content: '✓'; font-weight: 700; font-size: 13px; }

/* Compare panel */
.calc2-compare {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px;
  position: sticky;
  top: 100px;
}
.calc2-compare-head { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.5); font-weight: 700; margin-bottom: 16px; }

.calc2-vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.calc2-vs-col {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.calc2-vs-col.us { background: rgba(43,217,141,0.10); border-color: rgba(43,217,141,0.3); }
.calc2-vs-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.6); font-weight: 700; margin-bottom: 8px; }
.calc2-vs-col.us .calc2-vs-label { color: var(--c-primary); }
.calc2-vs-amount { font-size: 26px; font-weight: 800; letter-spacing: -0.025em; line-height: 1; }
.calc2-vs-col.us .calc2-vs-amount { background: linear-gradient(135deg, #2BD98D, #00ECFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc2-vs-col.them .calc2-vs-amount { color: rgba(255,255,255,0.8); text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.3); }
.calc2-vs-sub { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 4px; }

.calc2-savings-box {
  padding: 18px;
  background: linear-gradient(135deg, rgba(43,217,141,0.15), rgba(0,236,255,0.08));
  border: 1px dashed rgba(43,217,141,0.4);
  border-radius: 14px;
  text-align: center;
}
.calc2-savings-amt { font-size: 32px; font-weight: 800; color: var(--c-primary); letter-spacing: -0.03em; line-height: 1; }
.calc2-savings-lbl { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 6px; font-weight: 500; }

/* ---------- Imagery utilities ---------- */
.img-card { border-radius: 20px; overflow: hidden; position: relative; }
.img-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.img-card:hover img { transform: scale(1.04); }
.img-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.85) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff;
}
.img-card-overlay h4 { color: #fff; margin: 0 0 4px; font-size: 20px; }
.img-card-overlay p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,0.8); }

.img-round { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(10,10,10,0.25); }
.img-round img { width: 100%; height: auto; display: block; }

.img-grid-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.img-grid-collage > div { border-radius: 18px; overflow: hidden; }
.img-grid-collage > div:nth-child(1) { grid-row: span 2; aspect-ratio: 0.7; }
.img-grid-collage > div:nth-child(2) { aspect-ratio: 1.4; }
.img-grid-collage > div:nth-child(3) { aspect-ratio: 1.4; }
.img-grid-collage img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sub-page hero ---------- */
.sub-hero { padding: 180px 0 80px; position: relative; overflow: hidden; }
.sub-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 1024px) { .sub-hero-grid { grid-template-columns: 1fr; } }
.sub-hero-img { border-radius: 28px; overflow: hidden; box-shadow: 0 40px 100px -20px rgba(10,10,10,0.3); aspect-ratio: 4/3; }
.sub-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Misc ---------- */
.kicker { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: var(--c-primary); color: var(--c-secondary); }

/* ============================================================
   ORBITAL CHAT WIDGET
   ============================================================ */
.orbi-chat { position: fixed; bottom: 24px; right: 24px; z-index: 9999; font-family: 'Outfit', sans-serif; }

.orbi-chat-fab {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2BD98D 0%, #00ECFF 100%);
  border: none;
  cursor: pointer;
  display: grid; place-items: center;
  color: var(--c-secondary);
  box-shadow: 0 18px 40px -10px rgba(43,217,141,0.55), 0 0 0 1px rgba(255,255,255,0.4) inset;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
}
.orbi-chat-fab:hover { transform: scale(1.08) rotate(-4deg); }
.orbi-chat-fab svg { transition: transform .3s var(--ease); }
.orbi-chat.open .orbi-chat-fab svg.icon-chat { display: none; }
.orbi-chat-fab svg.icon-close { display: none; }
.orbi-chat.open .orbi-chat-fab svg.icon-close { display: block; }
.orbi-chat-fab::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(43,217,141,0.35);
  z-index: -1;
  animation: orbi-pulse 2.4s ease-out infinite;
}
@keyframes orbi-pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}
.orbi-chat-badge {
  position: absolute;
  top: -2px; right: -2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #ff3b6b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid #fff;
}

.orbi-chat-panel {
  position: absolute;
  bottom: 84px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 600px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 40px 120px -20px rgba(10,10,10,0.4), 0 0 0 1px rgba(10,10,10,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: all .35s var(--ease);
}
.orbi-chat.open .orbi-chat-panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.orbi-chat-header {
  background: linear-gradient(135deg, #0A0A0A 0%, #1a1a1a 100%);
  color: #fff;
  padding: 22px 22px 20px;
  position: relative;
  overflow: hidden;
}
.orbi-chat-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 80% 0%, rgba(43,217,141,0.35), transparent 70%);
  pointer-events: none;
}
.orbi-chat-header-row { display: flex; align-items: center; gap: 12px; position: relative; }
.orbi-chat-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2BD98D, #00ECFF);
  display: grid; place-items: center;
  color: var(--c-secondary);
  font-weight: 800;
  font-size: 16px;
  border: 2px solid rgba(255,255,255,0.2);
}
.orbi-chat-title { font-weight: 700; font-size: 16px; margin: 0; line-height: 1.2; }
.orbi-chat-status { font-size: 11.5px; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.orbi-chat-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #2BD98D; box-shadow: 0 0 0 3px rgba(43,217,141,0.25); }
.orbi-chat-greeting { color: rgba(255,255,255,0.85); font-size: 13px; margin: 14px 0 0; line-height: 1.5; position: relative; }

.orbi-chat-body {
  flex: 1;
  position: relative;
  overflow-y: auto;
  padding: 20px;
  background: var(--c-bg-soft);
  min-height: 0;
}
.orbi-chat-body::-webkit-scrollbar { width: 6px; }
.orbi-chat-body::-webkit-scrollbar-thumb { background: rgba(10,10,10,0.15); border-radius: 3px; }

.orbi-chat-section-label { font-size: 10.5px; font-weight: 700; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 10px; }

.orbi-chat-options { display: grid; gap: 8px; margin-bottom: 22px; }
.orbi-chat-option {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
  color: var(--c-secondary);
  font-family: inherit;
  width: 100%;
  text-align: left;
}
.orbi-chat-option:hover { border-color: var(--c-primary); background: rgba(43,217,141,0.04); transform: translateX(2px); }
.orbi-chat-option-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  flex-shrink: 0;
  color: #fff;
}
.orbi-chat-option-icon.wa { background: #25D366; }
.orbi-chat-option-icon.em { background: #4F8DFD; }
.orbi-chat-option-icon.fq { background: var(--c-secondary); }
.orbi-chat-option-text strong { display: block; font-size: 13.5px; font-weight: 600; }
.orbi-chat-option-text span { display: block; font-size: 11.5px; color: var(--c-muted); margin-top: 2px; }
.orbi-chat-option-arrow { margin-left: auto; color: var(--c-muted); transition: transform .25s ease; }
.orbi-chat-option:hover .orbi-chat-option-arrow { transform: translateX(3px); color: var(--c-primary); }

/* FAQ list */
.orbi-faq-list { display: grid; gap: 8px; }
.orbi-faq-item { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; overflow: hidden; }
.orbi-faq-q {
  padding: 13px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-secondary);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: none; border: none; width: 100%; text-align: left;
  font-family: inherit;
}
.orbi-faq-q .plus { color: var(--c-primary); font-size: 18px; font-weight: 700; transition: transform .25s ease; flex-shrink: 0; }
.orbi-faq-item.open .orbi-faq-q .plus { transform: rotate(45deg); }
.orbi-faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 12.5px;
  color: var(--c-muted);
  line-height: 1.6;
  padding: 0 14px;
  transition: max-height .35s ease, padding .35s ease;
}
.orbi-faq-item.open .orbi-faq-a { max-height: 200px; padding: 0 14px 14px; }

.orbi-chat-back {
  background: none; border: none; color: var(--c-muted); font-family: inherit;
  font-size: 12px; font-weight: 600; cursor: pointer; padding: 0; margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.orbi-chat-back:hover { color: var(--c-primary); }

.orbi-chat-footer {
  padding: 12px 18px;
  background: #fff;
  border-top: 1px solid var(--c-border);
  font-size: 11px;
  color: var(--c-muted);
  text-align: center;
}
.orbi-chat-footer strong { color: var(--c-secondary); font-weight: 700; }

/* hidden state for view switching */
.orbi-view { display: none; }
.orbi-view.active { display: block; }
/* chat view fills the body area edge-to-edge */
.orbi-view[data-view="chat"].active {
  display: flex;
  flex-direction: column;
  position: absolute;
  inset: 0;
  background: var(--c-bg-soft);
}
.orbi-view[data-view="chat"] .orbi-chat-back { padding: 14px 18px 4px; margin-bottom: 0; }

/* ---------- Live chat view ---------- */
.orbi-msgs { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 8px 18px 12px; overflow-y: auto; min-height: 0; }
.orbi-msgs::-webkit-scrollbar { width: 6px; }
.orbi-msgs::-webkit-scrollbar-thumb { background: rgba(10,10,10,0.15); border-radius: 3px; }
.orbi-msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 13px; line-height: 1.5; word-wrap: break-word; animation: orbi-msg-in .35s var(--ease); }
.orbi-msg.bot { background: #fff; border: 1px solid var(--c-border); border-bottom-left-radius: 4px; align-self: flex-start; color: var(--c-secondary); }
.orbi-msg.me { background: var(--c-secondary); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.orbi-msg.bot a { color: var(--c-primary); font-weight: 600; }
@keyframes orbi-msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.orbi-typing { display: flex; gap: 4px; padding: 12px 14px; background: #fff; border: 1px solid var(--c-border); border-radius: 16px; border-bottom-left-radius: 4px; align-self: flex-start; }
.orbi-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--c-muted); animation: orbi-bounce 1.2s ease-in-out infinite; }
.orbi-typing span:nth-child(2) { animation-delay: .15s; }
.orbi-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes orbi-bounce { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; } 40% { transform: scale(1); opacity: 1; } }

.orbi-quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 18px 8px; }
.orbi-quick button {
  font-family: inherit;
  background: #fff;
  border: 1px solid var(--c-border);
  color: var(--c-secondary);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
}
.orbi-quick button:hover { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-secondary); }

.orbi-input-row {
  display: flex; gap: 8px;
  padding: 12px 14px;
  background: #fff;
  border-top: 1px solid var(--c-border);
  margin: 0;
  flex-shrink: 0;
}
.orbi-input-row input {
  flex: 1;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  color: var(--c-secondary);
}
.orbi-input-row input:focus { border-color: var(--c-primary); }
.orbi-input-row button {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--c-primary);
  border: none;
  color: var(--c-secondary);
  cursor: pointer;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.orbi-input-row button:hover { transform: scale(1.08); }

/* ---------- Scheduler view ---------- */
.orbi-sched-step { display: none; }
.orbi-sched-step.active { display: block; }
.orbi-sched-title { font-size: 15px; font-weight: 700; color: var(--c-secondary); margin: 6px 0 4px; }
.orbi-sched-sub { font-size: 12px; color: var(--c-muted); margin: 0 0 14px; }

.orbi-cal { background: #fff; border: 1px solid var(--c-border); border-radius: 14px; padding: 14px; }
.orbi-cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.orbi-cal-month { font-size: 13px; font-weight: 700; color: var(--c-secondary); }
.orbi-cal-nav { display: flex; gap: 4px; }
.orbi-cal-nav button { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--c-border); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--c-secondary); }
.orbi-cal-nav button:hover { background: var(--c-bg-soft); }
.orbi-cal-nav button:disabled { opacity: 0.3; cursor: not-allowed; }
.orbi-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.orbi-cal-dow { font-size: 10px; font-weight: 700; color: var(--c-muted); text-align: center; padding: 4px 0; text-transform: uppercase; letter-spacing: 0.06em; }
.orbi-cal-day {
  aspect-ratio: 1;
  border: 1px solid transparent;
  background: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-secondary);
  cursor: pointer;
  transition: all .2s ease;
}
.orbi-cal-day:hover:not(:disabled) { background: rgba(43,217,141,0.12); border-color: var(--c-primary); }
.orbi-cal-day.selected { background: var(--c-primary); color: var(--c-secondary); border-color: var(--c-primary); }
.orbi-cal-day:disabled { color: var(--c-border); cursor: not-allowed; }
.orbi-cal-day.empty { visibility: hidden; }

.orbi-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.orbi-slot {
  padding: 10px 6px;
  border: 1px solid var(--c-border);
  background: #fff;
  border-radius: 10px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-secondary);
  cursor: pointer;
  transition: all .2s ease;
}
.orbi-slot:hover { background: rgba(43,217,141,0.1); border-color: var(--c-primary); }
.orbi-slot.selected { background: var(--c-primary); border-color: var(--c-primary); }

.orbi-sched-form { display: grid; gap: 10px; }
.orbi-sched-form label { font-size: 11.5px; font-weight: 600; color: var(--c-muted); display: block; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.orbi-sched-form input, .orbi-sched-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  color: var(--c-secondary);
}
.orbi-sched-form input:focus, .orbi-sched-form textarea:focus { border-color: var(--c-primary); }
.orbi-sched-form textarea { resize: vertical; min-height: 60px; }
.orbi-sched-summary { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 12px 14px; font-size: 12.5px; color: var(--c-muted); margin-bottom: 4px; }
.orbi-sched-summary strong { color: var(--c-secondary); font-weight: 600; }
.orbi-sched-confirm {
  width: 100%;
  background: var(--c-primary);
  color: var(--c-secondary);
  border: none;
  padding: 13px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  transition: transform .2s ease;
}
.orbi-sched-confirm:hover { transform: translateY(-1px); }

.orbi-sched-success { text-align: center; padding: 20px 10px; }
.orbi-sched-success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(43,217,141,0.15);
  display: grid; place-items: center;
  color: var(--c-primary);
}
.orbi-sched-success h4 { font-size: 17px; color: var(--c-secondary); margin: 0 0 8px; }
.orbi-sched-success p { font-size: 13px; color: var(--c-muted); margin: 0; line-height: 1.55; }

@media (max-width: 480px) {
  .orbi-chat { bottom: 16px; right: 16px; }
  .orbi-chat-fab { width: 58px; height: 58px; }
  .orbi-chat-panel { width: calc(100vw - 32px); right: 0; bottom: 76px; max-height: 75vh; }
}

/* ==========================================================================
   RESPONSIVE — 14″ laptops, tablets, phones
   ========================================================================== */

/* Section header row (title + CTA) — also matches legacy inline grid-2 headers */
.section-head,
.grid-2[style*="align-items: end"][style*="margin-bottom"] {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 60px;
}
.section-head-actions,
.grid-2[style*="align-items: end"] > .reveal[style*="text-align: right"] { text-align: right; }

/* Wide cards with inline grid-column span */
.card[style*="grid-column: span 2"] { grid-column: span 2; }
.card[style*="grid-column: span 2"][style*="display: flex"] {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Hero stat row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 540px;
}
.hero-stats .stat-num { font-size: 38px; }

/* Bundle / wide cards spanning grid */
.card-span-2 { grid-column: span 2; }
.card-bundle {
  display: flex;
  align-items: center;
  padding: 36px 44px;
}
.card-bundle .btn { margin-left: 24px; flex-shrink: 0; }

/* Footer layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
.footer-brand { grid-column: span 5; }
.footer-col { grid-column: span 2; }
.footer-col-wide { grid-column: span 3; }

/* Card images that bleed to card edges */
.card .img-card-bleed {
  aspect-ratio: 16 / 10;
  margin: -36px -36px 24px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.card .img-card-bleed img { width: 100%; height: 100%; object-fit: cover; }

/* Inline stat grids (pricing etc.) */
.stat-grid-3,
div[style*="grid-template-columns: repeat(3, 1fr)"] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Hero stats fallback for inline 4-col grid */
.reveal-stagger[style*="grid-template-columns: repeat(4"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 540px;
}

/* --- 14″ laptop (~1280–1366px) --- */
@media (max-width: 1366px) {
  .sub-hero { padding: 160px 0 72px; }
  .page-hero { padding: 170px 0 72px; }
  .section-head { gap: 32px; margin-bottom: 48px; }
}

/* --- Tablet landscape / small laptop (≤1200px) --- */
@media (max-width: 1200px) {
  .sub-hero-grid { gap: 40px; }
  .card-span-2,
  .card-bundle { grid-column: span 2; }
}

/* --- Tablet (≤1024px) --- */
@media (max-width: 1024px) {
  .hero { padding: 140px 0 72px; }
  .sub-hero { padding: 140px 0 64px; }
  .page-hero { padding: 150px 0 64px; }

  .section-head,
  .grid-2[style*="align-items: end"][style*="margin-bottom"] {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 40px;
  }
  .section-head-actions,
  .grid-2[style*="align-items: end"] > .reveal[style*="text-align: right"] { text-align: left; }

  .card[style*="grid-column: span 2"] { grid-column: span 2; }
  .card[style*="grid-column: span 2"][style*="display: flex"] {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px !important;
  }
  .card[style*="grid-column: span 2"] .btn[style*="margin-left"] {
    margin-left: 0 !important;
    margin-top: 20px;
    width: 100%;
    justify-content: center;
  }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col,
  .footer-col-wide { grid-column: auto; }

  .card { padding: 28px; }
  .card .img-card-bleed,
  .card .img-card[style*="margin: -36px"] { margin: -28px -28px 20px !important; }

  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-6px); }

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

  .orbit-1, .orbit-2 { display: none; }

  /* Mobile nav: mega menus as accordions */
  .mega-menu {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 16px;
    box-shadow: none;
    background: var(--c-bg-soft);
    transition: max-height .35s var(--ease), padding .35s var(--ease), margin .35s var(--ease);
  }
  .mega-menu::before { display: none; }
  .nav-item::after { display: none; }
  .nav-item.is-open .mega-menu {
    max-height: 1200px;
    padding: 10px;
    margin: 6px 0 8px;
    border: 1px solid var(--c-border);
  }
  .mega-grid { grid-template-columns: 1fr; gap: 12px; }
  .mega-list { grid-template-columns: 1fr; }
  .mega-feature { min-height: 180px; }
  .nav-item:hover .mega-menu {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
}

/* --- Tablet portrait (≤768px) --- */
@media (max-width: 768px) {
  .hero { padding: 120px 0 56px; }
  .sub-hero { padding: 120px 0 48px; }
  .page-hero { padding: 130px 0 48px; }

  .hero-stats,
  .reveal-stagger[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
    max-width: 100%;
  }
  .hero-stats .stat-num,
  .reveal-stagger[style*="grid-template-columns: repeat(4"] .stat-num { font-size: 32px; }

  .hero h1.display { font-size: clamp(36px, 9vw, 52px); }
  .hero .lead { max-width: 100% !important; }

  .card-span-2,
  .card-bundle,
  .card[style*="grid-column: span 2"] { grid-column: span 1; }
  .card-bundle,
  .card[style*="grid-column: span 2"][style*="display: flex"] {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }
  .card-bundle .btn,
  .card[style*="grid-column: span 2"] .btn { margin: 20px 0 0; width: 100%; justify-content: center; }

  .card .img-card[style*="margin: -36px"],
  .card .img-card-bleed { margin: -22px -22px 18px !important; }

  .footer { padding: 72px 0 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 40px; }

  .img-grid-collage { grid-template-columns: 1fr; }
  .img-grid-collage > div:nth-child(1) { grid-row: auto; aspect-ratio: 16 / 10; }

  .timeline::before { left: 23px; }
  .timeline-num { width: 48px; height: 48px; font-size: 18px; }
  .timeline-item { gap: 18px; }

  .calc-total { font-size: 44px; }
  .calc2-total { font-size: 44px; }
  .price { font-size: 44px; }

  .tabs { flex-wrap: wrap; width: 100%; }
  .tab { flex: 1 1 auto; text-align: center; min-width: 0; padding: 10px 14px; font-size: 13px; }

  .faq-q { font-size: 17px; gap: 12px; }

  .stat-grid-3 { grid-template-columns: 1fr; }
}

/* --- Mobile (≤640px) --- */
@media (max-width: 640px) {
  .hero { padding: 108px 0 48px; }
  .sub-hero { padding: 108px 0 40px; }
  .page-hero { padding: 118px 0 40px; }

  .section-head { margin-bottom: 32px; }

  .hero-stats,
  .reveal-stagger[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .hero-stats .stat-num,
  .reveal-stagger[style*="grid-template-columns: repeat(4"] .stat-num { font-size: 28px; }

  .card { padding: 22px; }
  .card .img-card-bleed { margin: -22px -22px 18px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand,
  .footer-col,
  .footer-col-wide { grid-column: 1; }

  .calc2-cat-btn { font-size: 11.5px; padding: 7px 12px; }

  .breadcrumb-nav { padding: 10px 0 0; }
  .breadcrumb-list { font-size: 12px; }

  .divider { margin: 48px 0; }

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

/* --- Small phones (≤480px) --- */
@media (max-width: 480px) {
  .hero-stats,
  .reveal-stagger[style*="grid-template-columns: repeat(4"] { gap: 12px 16px; }
  .hero-stats .stat-num,
  .reveal-stagger[style*="grid-template-columns: repeat(4"] .stat-num { font-size: 26px; }
  .hero-stats .text-muted,
  .reveal-stagger[style*="grid-template-columns: repeat(4"] .text-muted { font-size: 11.5px !important; }

  .eyebrow { font-size: 11px; padding: 6px 12px; letter-spacing: 0.14em; }

  .btn { padding: 14px 20px; font-size: 14px; }

  .h4 { font-size: 19px; }
}
