/* =====================================================
   Vasundhara Technologies — Landing page
   Rebuilt to match the submitted reference design,
   rebranded with the navy Vasundhara logo.
   ===================================================== */

:root {
  --navy: #1B2C6F;          /* brand navy (from logo) */
  --navy-deep: #121f52;
  --navy-soft: #3D5AC8;
  --ink: #0d0f14;
  --text: #17181c;
  --muted: #6b7280;
  --muted-2: #9aa0aa;
  --line: #e7e8ec;
  --bg-page: #e5e5e5;       /* outer frame gray */
  --bg-card: #ffffff;
  --bg-soft: #f5f5f6;       /* light section gray */
  --bg-tint: #eef1fb;       /* navy tint */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(13, 15, 20, .06);
  --shadow-md: 0 14px 40px rgba(13, 15, 20, .1);
  --shadow-btn: 0 10px 22px rgba(13, 15, 20, .35);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], article[id] { scroll-margin-top: 90px; }

/* ---------- Lenis Perfect Smooth Scroll Support ---------- */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}


body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* full-width page, no side frame */
.page {
  width: 100%;
  background: #fff;
  overflow: clip;
}

.container { max-width: 1680px; margin: 0 auto; padding: 0 clamp(20px, 3.5vw, 64px); }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

.muted { color: var(--muted); }
.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-dark:hover { background: var(--navy); }
.btn-light {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { border-color: var(--muted-2); }
.btn-outline {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Brand tile (logo.png) ---------- */
.brand-tile {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, #f7f8fb, #e9ecf5);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: none;
}
.brand-tile img { width: 100%; height: 100%; object-fit: cover; }
.brand-tile.sm { width: 30px; height: 30px; border-radius: 9px; }
.brand-tile.lg { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 16px 34px rgba(13,15,20,.25); }
.brand-tile.xl { width: 96px; height: 96px; border-radius: 26px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-name {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.02em;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}
.brand-sub {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: #3c4048;
  transition: color .15s;
}
.main-nav a:hover { color: var(--navy); }
.nav-phone { font-weight: 700 !important; color: var(--navy) !important; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.nav-divider { width: 1px; height: 26px; background: var(--line); }
.nav-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 160px;   /* bottom band lets the orbit rings continue below the CTAs */
  background:
    radial-gradient(1100px 500px at 50% -80px, #fdfdfe 0%, #fafafa 60%, #f6f6f7 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(13,15,20,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,15,20,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(800px 600px at 50% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; z-index: 2; padding-top: 48px; }

.hero-orbits { position: absolute; inset: 0; pointer-events: none; }
.orbit {
  position: absolute;
  left: 50%;
  border: 1px dashed #c9cfdd;
  border-radius: 50%;
  transform: translateX(-50%);
}
.orbit-1 { width: 760px; height: 760px; top: 40px; }
.orbit-2 { width: 1050px; height: 1050px; top: -40px; opacity: .8; }
.orbit-3 { width: 1340px; height: 1340px; top: -120px; opacity: .6; }

.float-icon {
  --tint: 15, 23, 42;
  position: absolute;
  width: 52px; height: 52px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 26px -8px rgba(var(--tint), .35), 0 2px 6px rgba(15, 23, 42, .05);
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
  animation: bob 5s ease-in-out infinite;
}
.float-icon svg { width: 26px; height: 26px; }
.float-icon.sm { width: 44px; height: 44px; border-radius: 12px; }
.float-icon.sm svg { width: 22px; height: 22px; }
.float-icon.lg { width: 60px; height: 60px; border-radius: 16px; }
.float-icon.lg svg { width: 30px; height: 30px; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
/* 14 icons in mirrored pairs, each centered exactly on a dashed ring
   (ring 1: r=380 @ 50%,420 · ring 2: r=525 @ 50%,485 · ring 3: r=670 @ 50%,550).
   For icon size w at row center (cx, cy): dx = sqrt(r² − (cy−ring_cy)²),
   top = cy − w/2, side offset = dx + w/2. */
/* row 0 — ring 2 upper arc, above the headline (center y 85, dx 340) */
.fi-13 { top: 59px; left: max(40px, calc(50% - 366px)); animation-delay: .7s; animation-duration: 6.1s; --tint: 83, 130, 161; }
.fi-14 { top: 59px; right: max(40px, calc(50% - 366px)); animation-delay: 1.5s; --tint: 0, 173, 216; }
/* row 1 — ring 3, beside the title (center y 170, dx 552) */
.fi-6  { top: 144px; left: max(16px, calc(50% - 578px)); animation-delay: 2s; animation-duration: 5.8s; --tint: 49, 120, 198; }
.fi-8  { top: 140px; right: max(16px, calc(50% - 582px)); animation-delay: 1.3s; animation-duration: 6s; --tint: 214, 190, 20; }
/* row 2 — ring 2 (center y 270, dx 479) */
.fi-2  { top: 244px; left: max(30px, calc(50% - 505px)); animation-delay: 1.1s; animation-duration: 6.4s; --tint: 83, 158, 67; }
.fi-3  { top: 244px; right: max(30px, calc(50% - 505px)); animation-delay: .6s; border-radius: 50%; --tint: 240, 81, 51; }
/* row 3 — ring 1, beside the subtitle (center y 390, dx 379) */
.fi-1  { top: 364px; left: max(50px, calc(50% - 405px)); animation-delay: .2s; --tint: 20, 158, 202; }
.fi-9  { top: 364px; right: max(50px, calc(50% - 405px)); animation-delay: .8s; --tint: 228, 77, 38; }
/* row 3b — ring 3, flanking the subtitle (center y 420, dx 657) */
.fi-10 { top: 398px; left: max(20px, calc(50% - 679px)); animation-delay: 1.8s; animation-duration: 6.6s; --tint: 65, 184, 131; }
.fi-12 { top: 398px; right: max(20px, calc(50% - 679px)); animation-delay: 2.3s; animation-duration: 6.2s; --tint: 119, 123, 179; }
/* row 4 — ring 2, beside the buttons (center y 500, dx 525) */
.fi-5  { top: 474px; left: max(24px, calc(50% - 551px)); animation-delay: .9s; --tint: 55, 118, 171; }
.fi-4  { top: 474px; right: max(24px, calc(50% - 551px)); animation-delay: 1.6s; animation-duration: 6.4s; --tint: 69, 209, 253; }
/* row 5 — ring 1, below the buttons (center y 560, dx 353) */
.fi-15 { top: 534px; left: max(28px, calc(50% - 379px)); animation-delay: .4s; animation-duration: 6.5s; --tint: 0, 89, 156; }
.fi-16 { top: 538px; right: max(28px, calc(50% - 375px)); animation-delay: 2.1s; animation-duration: 5.7s; --tint: 127, 82, 255; }
/* row 6 — ring 1 lower arc, closing the circle (center y 630, dx 317) */
.fi-17 { top: 604px; left: max(36px, calc(50% - 343px)); animation-delay: 1.1s; --tint: 221, 0, 49; }
.fi-11 { top: 604px; right: max(36px, calc(50% - 343px)); animation-delay: .3s; animation-duration: 5.6s; --tint: 36, 150, 237; }
@media (max-width: 1000px) { .float-icon { display: none; } .integrations .float-icon, .final-cta .float-icon { display: flex; } .hero { padding-bottom: 64px; } }

.hero-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 18px;
}
.hero-social-proof strong { font-size: 15px; }
.avatar-stack { display: inline-flex; }
.avatar-stack .avatar { margin-right: -8px; border: 2px solid #fff; }
.avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex: none;
}
.av-a { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.av-b { background: linear-gradient(135deg, var(--navy-soft), var(--navy)); }
.av-c { background: linear-gradient(135deg, #10b981, #0ea5e9); }

.hero-title {
  font-size: clamp(42px, 6.4vw, 76px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.04;
  color: var(--ink);
}
.hero-sub {
  margin: 20px auto 30px;
  color: var(--muted);
  font-size: 16px;
  max-width: 640px;
}
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Trusted ---------- */
.trusted { padding: 64px 0 72px; background: #fff; }
.trusted-title {
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 36px;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 36px;
}
.tlogo {
  font-size: 16px;
  color: #7c828d;
  filter: grayscale(1);
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: color .2s;
}
.tlogo b { font-weight: 800; color: #565b64; }
.tlogo.alt b { font-style: italic; }
.tlogo.boxed b {
  background: #565b64;
  color: #fff;
  border-radius: 3px;
  padding: 1px 4px;
  margin-right: 2px;
}
.tlogo:hover, .tlogo:hover b { color: var(--navy); }

/* ---------- Section headings ---------- */
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--ink);
}
.section-head p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }

/* ---------- What we build showcase ---------- */
.build { padding: 60px 0 90px; background: #fff; }
.build-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.build-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.build-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.build-card .wshot { height: 240px; }
.wimg { display: block; width: 100%; height: 180px; object-fit: cover; }
.bc-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.bc-body h3 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.bc-body > p { color: var(--muted); font-size: 14px; margin: 8px 0 16px; flex: 1; }
.bc-body .svc-tags { margin: 0 0 20px; }

/* dashboard-style frame body (custom software card) */
.wdash { display: flex; min-height: 96px; }
.wdash aside {
  width: 52px;
  flex: none;
  background: #f4f5f9;
  border-right: 1px solid var(--line);
  padding: 10px 8px;
  display: grid;
  gap: 7px;
  align-content: start;
}
.wdash aside i { height: 8px; border-radius: 4px; background: #e0e3ec; }
.wdash .wdmain { flex: 1; padding: 12px; }

/* ---------- Workflow ---------- */
.workflow { padding: 90px 0; background: #fff; }
.wf-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}
.wf-tab {
  background: none;
  border: 0;
  border-bottom: 2px solid var(--line);
  padding: 12px 4px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted-2);
  transition: color .2s, border-color .2s;
}
.wf-tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.wf-tab:hover { color: var(--ink); }

.wf-card {
  background: #f7f7f8;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  min-height: 520px;
}
.wf-left {
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.wf-step-label { color: var(--navy-soft); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.wf-step-title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.wf-step-text { color: var(--muted); font-size: 15px; max-width: 340px; margin-bottom: 20px; }

.wf-right { min-width: 0; }
.wf-diagram {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  height: 100%;
  min-height: 480px;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(13,15,20,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,15,20,.03) 1px, transparent 1px);
  background-size: 26px 26px;
}
.wf-lines { position: absolute; inset: 0; width: 100%; height: 100%; }

/* swappable step visuals */
.wf-visual {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
}
.wf-visual.active { opacity: 1; visibility: visible; transform: none; }

/* step 2 — design artboards */
.wf-frame {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.f-desk { top: 46px; left: 26px; width: 250px; }
.f-phone { top: 82px; right: 32px; width: 122px; border-radius: 16px; }
.swatches {
  position: absolute;
  left: 34px;
  top: 250px;
  display: flex;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  box-shadow: var(--shadow-sm);
}
.swatches i { width: 16px; height: 16px; border-radius: 50%; }
.n-d1 { top: 320px; left: 40px; width: 220px; }
.n-d2 { top: 300px; right: 24px; width: 190px; }
.wf-cursor.c-you { top: 226px; left: auto; right: 150px; background: var(--navy-soft); }
.wf-cursor.c-designer { top: 410px; left: 120px; background: #ec4899; }

/* step 3 — build & review */
.wf-term {
  position: absolute;
  top: 42px;
  left: 26px;
  right: 26px;
  background: #0a0f20;
  border-radius: 12px;
  padding: 14px 16px;
  font-family: 'Consolas', 'Menlo', monospace;
  font-size: 12px;
  color: #aab3cc;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  white-space: nowrap;
}
.wf-term em { font-style: normal; color: #7c95f0; }
.wf-term .ok { color: #4ade80; }
.n-b1 { top: 140px; left: 40px; width: 240px; }
.n-b2 { top: 250px; right: 30px; width: 200px; }
.n-b3 { top: 330px; left: 70px; width: 210px; }
.wf-cursor.c-demo { top: 420px; left: auto; right: 60px; }

/* step 4 — launch & scale */
.wf-stat {
  position: absolute;
  top: 140px;
  right: 28px;
  width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 14px 16px 16px;
}
.wf-stat p { font-size: 9.5px; letter-spacing: .12em; color: var(--muted-2); margin-bottom: 10px; }
.wf-stat .wbars { height: 66px; }
.n-l1 { top: 46px; left: 26px; }
.n-l2 { top: 270px; left: 46px; width: 220px; }
.n-l3 { top: 350px; right: 40px; width: 210px; }
.wf-cursor.c-live { top: 430px; left: 140px; }
.wf-node {
  position: absolute;
  display: flex;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 10px 12px;
  font-size: 11px;
  width: 190px;
}
.wf-node.green { border-color: #b3e2c3; }
.wf-node b { font-size: 11.5px; display: block; }
.wf-node p { color: var(--muted); margin-top: 1px; }
.wf-node i { font-style: normal; color: var(--muted-2); margin-left: auto; }
.wico {
  width: 22px; height: 22px;
  border-radius: 7px;
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: #fff;
}
.wico.violet { background: #7c5cfc; }
.wico.green { background: #22c55e; }
.wico.blue { background: #0ea5e9; }
.wico.pink { background: #ec4899; }
.wchips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.wchips em {
  font-style: normal;
  font-size: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 7px;
  color: var(--muted);
}
.n1 { top: 36px; left: 24px; }
.n2 { top: 158px; left: 96px; width: 210px; }
.n3 { top: 210px; right: 22px; width: 180px; }
.n4 { top: 300px; right: 40px; width: 180px; }
.n5 { top: 388px; right: 60px; width: 190px; }
.n6 { top: 400px; left: 28px; }
.wf-cursor {
  position: absolute;
  top: 340px; left: 130px;
  background: var(--ink);
  color: #fff;
  font-size: 10.5px;
  border-radius: 999px;
  padding: 5px 12px;
  box-shadow: var(--shadow-btn);
}

/* ---------- Explore link (shared) ---------- */
.explore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
}
.explore span {
  width: 26px; height: 26px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
  transition: background .2s;
}
.explore:hover span { background: var(--navy); }

/* ---------- Testimonials & Real Work Grid ---------- */
.testimonials { padding: 90px 0; background: var(--bg-soft); }

.tst-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 10px;
}

.real-tcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.real-tcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.tcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
}

.vbadge {
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
  background: #f0fdf4;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
}

.tquote {
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  margin: 0 0 20px;
  flex: 1;
}

.twho {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.twho b {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  display: block;
}

.twho em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  display: block;
}

.featured-work-card {
  grid-column: span 1;
  background: linear-gradient(135deg, #0d1226 0%, #151d3b 100%);
  border: 1px solid #232b4d;
  color: #fff;
}

.featured-work-card h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin: 10px 0 6px;
}

.featured-work-card .wdesc {
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.wtag-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 4px 12px;
  border-radius: 999px;
  width: fit-content;
}

.wurl {
  font-size: 11px;
  color: #94a3b8;
  margin-left: auto;
  font-family: monospace;
}

.wtech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 16px;
}

.wtech-tags span {
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #38bdf8;
  font-weight: 700;
  font-size: 13.5px;
  margin-top: auto;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.explore-btn:hover {
  gap: 10px;
}

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

/* ---------- Integrations ---------- */
.integrations { padding: 90px 0 0; background: #fff; overflow: hidden; }
.orbit-stage {
  position: relative;
  height: 480px;
  margin-top: 10px;
}
.orbit-stage .orbit { border-color: #d4d9e6; }
.ring-1 { width: 420px; height: 420px; top: 40px; }
.ring-2 { width: 760px; height: 760px; top: 0; opacity: .8; }
.ring-3 { width: 1100px; height: 1100px; top: -60px; opacity: .55; }
.orbit-center {
  position: absolute;
  top: 90px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  padding: 22px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 24px 60px rgba(27,44,111,.18);
  border: 1px dashed #d4d9e6;
}
.oi { animation: bob 6s ease-in-out infinite; }
/* Icon centers sit exactly on the rings:
   ring 1: r=210 @ (50%, 250) · ring 2: r=380 @ (50%, 380) · ring 3: r=550 @ (50%, 490).
   Positions solve dx = sqrt(r² − (y−cy)²) for each icon's center. */
.oi-1 { top: 330px; right: max(20px, calc(50% - 207px)); animation-delay: .5s; }   /* ring 1 */
.oi-2 { top: 105px; right: max(20px, calc(50% - 443px)); animation-delay: 1s; border-radius: 50%; } /* ring 3 */
.oi-3 { top: 245px; right: max(20px, calc(50% - 390px)); animation-delay: 1.8s; } /* ring 2 */
.oi-4 { top: 340px; left: max(20px, calc(50% - 406px)); animation-delay: .2s; }   /* ring 2 */
.oi-5 { top: 300px; left: max(20px, calc(50% - 222px)); animation-delay: 1.4s; }  /* ring 1 */
.oi-6 { top: 150px; left: max(20px, calc(50% - 347px)); animation-delay: .8s; }   /* ring 2 */
.orbit-av { position: absolute; width: 40px; height: 40px; font-size: 15px; border: 3px solid #fff; box-shadow: var(--shadow-md); }
.oa-1 { top: 70px; left: max(16px, calc(50% - 398px)); }   /* ring 3 */
.oa-2 { top: 280px; right: max(16px, calc(50% - 536px)); } /* ring 3 */
.oa-3 { top: 30px; right: max(16px, calc(50% - 350px)); }  /* ring 3 */

/* ---------- Pricing ---------- */
.pricing { padding: 90px 0; background: #fff; }
.price-toggle {
  display: flex;
  justify-content: center;
  background: #f1f2f4;
  border-radius: 999px;
  padding: 5px;
  width: fit-content;
  margin: 0 auto 54px;
}
.pt-btn {
  border: 0;
  background: none;
  padding: 10px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: all .2s;
}
.pt-btn.active {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.pcard {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.pcard.featured {
  background: #fafafb;
  box-shadow: var(--shadow-md);
  transform: translateY(-14px);
}
.phead { display: flex; align-items: center; gap: 10px; }
.pico {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.pico svg { width: 24px; height: 24px; }
.phead h3 { font-size: 18px; font-weight: 700; }
.pdesc { color: var(--muted); font-size: 13.5px; margin: 12px 0 22px; }
.pprice { display: flex; flex-direction: column; gap: 3px; margin-bottom: 26px; }
.pprice b { font-size: 38px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.pprice span { color: var(--muted); font-size: 13.5px; }
.pfeat { list-style: none; flex: 1; margin-bottom: 28px; }
.pfeat li {
  position: relative;
  padding: 7px 0 7px 30px;
  font-size: 13.5px;
  color: #33363d;
}
.pfeat li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  background: #fff;
}
.pfeat.blue li::before { color: var(--navy-soft); border-color: #c5d0f0; background: var(--bg-tint); }

/* Full-Width Custom Pages Banner Card */
.pcard-full {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #0d1226 0%, #151d3b 100%);
  border: 1px solid #232b4d;
  border-radius: 20px;
  padding: 30px 34px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(13, 18, 38, 0.15);
  margin-top: 10px;
}

.pcard-full .phead {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pcard-full .pico {
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.1);
  border-radius: 10px;
  padding: 6px;
  width: 40px;
  height: 40px;
}

.pcard-full .phead h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.pcard-full .pdesc {
  color: #94a3b8;
  margin: 4px 0 0;
  font-size: 13.5px;
}

.pcard-full-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.pcard-full-main {
  flex: 1;
  min-width: 280px;
}

.pcard-full-side {
  flex: none;
  width: 240px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pcard-full .pprice {
  margin-bottom: 14px;
}

.pcard-full .pprice b {
  color: #fff;
  font-size: 28px;
}

.pcard-full .pprice span {
  color: #94a3b8;
}

.pfeat-horizontal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  margin: 18px 0 0 !important;
  list-style: none;
}

.pcard-full .pfeat li {
  color: #e2e8f0;
}

.pcard-full .pfeat li::before {
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.3);
  background: rgba(96, 165, 250, 0.1);
}

@media (max-width: 768px) {
  .pcard-full-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .pcard-full-side {
    width: 100%;
  }
  .pfeat-horizontal {
    grid-template-columns: 1fr;
  }
}


/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  padding: 110px 0 150px;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 50% 115%, #8fa2e8 0%, #b9c4f2 34%, #dde3fa 62%, #eef0fb 100%);
  text-align: center;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(27,44,111,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,44,111,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(700px 500px at 50% 60%, #000 10%, transparent 80%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; }
.final-cta .hero-title { color: var(--ink); }
.final-cta .hero-sub { color: #454a58; }
.cta-phone { margin-top: 26px; font-size: 15px; color: #454a58; }
.cta-phone a { font-weight: 800; color: var(--navy); border-bottom: 2px solid rgba(27,44,111,.3); }
.cta-icons .ci { position: absolute; }
.ci-1 { bottom: 60px; left: 26%; }
.ci-2 { bottom: 130px; right: 28%; }
.ci-3 { bottom: 40px; left: 38%; }
.ci-4 { bottom: 24px; left: 50%; transform: translateX(-50%); }
.ci-5 { bottom: 56px; right: 37%; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--bg-soft);
  padding: 70px 0 40px;
  overflow: hidden;
}
.site-footer .container { position: relative; z-index: 1; }
.foot-brand { margin-bottom: 22px; }
.foot-watermark {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);   /* sits behind the footer content */
  width: min(1680px, 97%);
  height: auto;
  pointer-events: none;
  z-index: 0;
}
.foot-top { margin-bottom: 44px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.foot-about p { color: var(--muted); font-size: 14px; max-width: 300px; }
.foot-contact { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.foot-contact a { color: var(--navy) !important; font-weight: 600; font-size: 14px; }
.socials { display: flex; gap: 14px; margin-top: 20px; }
.socials a {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #3c4048;
  border-radius: 50%;
  transition: color .2s, background .2s;
}
.socials a:hover { color: var(--navy); background: var(--bg-tint); }
.socials svg { width: 18px; height: 18px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; }
.foot-col a { color: var(--muted); font-size: 13.5px; transition: color .15s; }
.foot-col a:hover { color: var(--navy); }
.foot-contact span { color: var(--muted); font-weight: 500; font-size: 14px; }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.foot-bottom a { color: var(--navy); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 80px; left: 16px; right: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 22px;
    gap: 16px;
    display: none;
    z-index: 70;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-divider { display: none; }
  .wf-card { grid-template-columns: 1fr; }
  .wf-tabs { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .pcard.featured { transform: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .orbit-stage { height: 380px; }
  .build-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .header-actions .btn { padding: 9px 14px; font-size: 13px; }
  .header-inner { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .brand { gap: 9px; }
  .brand-tile { width: 38px; height: 38px; border-radius: 10px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 9px; letter-spacing: .18em; }
  .hero { padding-top: 56px; }
  .hero-inner { padding-top: 24px; }
  .hero-title { font-size: clamp(34px, 10vw, 42px); }
  .hero-sub { font-size: 14.5px; }
  .section-head h2 { font-size: 27px; }
  .page-head h1 { font-size: 32px; }
  .cta-phone { font-size: 14px; }
  .foot-bottom { font-size: 12px; }
  /* Compact footer: brand and contact span full width, Services and
     Company sit side by side — a single stacked column ran two screens
     tall on phones. */
  .site-footer { padding: 48px 0 30px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; padding-bottom: 26px; }
  .foot-about, .foot-grid .foot-col:last-child { grid-column: 1 / -1; }
  .foot-brand { margin-bottom: 14px; }
  .socials { margin-top: 14px; }
  .foot-col h4 { margin-bottom: 2px; }
  .foot-bottom { padding-top: 18px; }
  /* Watermark: centered it cuts through the link columns on narrow
     screens — sit it behind the copyright line at the bottom instead
     (the line's container is z-index:1, so the text stays readable). */
  .foot-watermark { top: auto; bottom: 24px; transform: translateX(-50%); }
  .wf-diagram { min-height: 500px; }
}

/* =====================================================
   Sub-pages (services / about / blog / contact)
   ===================================================== */

.page-head {
  padding: 72px 0 30px;
  background:
    radial-gradient(900px 400px at 50% -60px, #fdfdfe 0%, #fafafa 55%, #fff 100%);
  text-align: center;
}
.page-head .crumb {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  background: #f1f2f4;
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 20px;
}
.page-head .crumb a { color: var(--navy); font-weight: 600; }
.page-head h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.06;
  color: var(--ink);
}
.page-head p {
  margin: 18px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Services page ---------- */
.svc-section { padding: 60px 0 30px; }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.svc-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: box-shadow .2s, transform .2s;
  scroll-margin-top: 100px;
}
.svc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.svc-num { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--navy-soft); }
.svc-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 12px; }
.svc-card > p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.svc-tags i {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-tint);
  border-radius: 999px;
  padding: 4px 12px;
}
.svc-card.wide { grid-column: 1 / 3; }

/* steps row (process) */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
}
.step-card em {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 16.5px; font-weight: 700; }
.step-card small { display: block; color: var(--navy-soft); font-weight: 600; font-size: 12px; margin: 3px 0 10px; }
.step-card p { color: var(--muted); font-size: 13.5px; }

/* ---------- About page ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 30px 0 40px;
}
.story-copy h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.story-copy p { color: #33363d; font-size: 15px; margin-bottom: 14px; }
.story-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fbfbfc;
  padding: 10px 24px;
}
.story-panel .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.story-panel .row:last-child { border-bottom: 0; }
.story-panel b { font-size: 16px; }
.story-panel span { color: var(--muted); font-size: 13px; text-align: right; }

/* ---------- Team ---------- */
.team-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px; padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-tint); color: var(--navy);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.team-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--navy-soft); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  max-width: 1000px;
  margin: 0 auto;
}
/* Two-member layout: when the grid holds fewer than three cards, each card turns
   into a wide horizontal profile (portrait left, details right) so the pair fills
   the full row instead of leaving empty columns. Adding a third card restores the
   three-column grid automatically. Below 769px the cards stack vertically as usual. */
@media (min-width: 769px) {
  .team-grid:not(:has(> :nth-child(3))) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid:not(:has(> :nth-child(3))) .team-card { flex-direction: row; align-items: stretch; text-align: left; }
  .team-grid:not(:has(> :nth-child(3))) .team-photo {
    flex: 0 0 42%;
    aspect-ratio: auto;
    min-height: 100%;
  }
  .team-grid:not(:has(> :nth-child(3))) .team-photo img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-position: 50% 12%;
  }
  .team-grid:not(:has(> :nth-child(3))) .team-photo::after {
    top: 0; bottom: 0; left: auto; right: 0; width: 34%; height: auto;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,.96));
  }
  .team-grid:not(:has(> :nth-child(3))) .team-body { padding: 28px 28px 26px 12px; text-align: left; align-items: flex-start; }
  .team-grid:not(:has(> :nth-child(3))) .team-body h3 { font-size: 20px; }
  .team-grid:not(:has(> :nth-child(3))) .team-role { margin: 8px 0 14px; }
  .team-grid:not(:has(> :nth-child(3))) .team-bio { font-size: 14px; }
  .team-grid:not(:has(> :nth-child(3))) .team-tags { justify-content: flex-start; width: 100%; }
}
/* Tablet: one wide horizontal card per row */
@media (min-width: 769px) and (max-width: 991px) {
  .team-grid:not(:has(> :nth-child(3))) { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
}
.team-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: #d6dbee; }
.team-photo {
  margin: 0; position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #f7f8fc 0%, #e9ecf7 60%, #dde3f4 100%);
  overflow: hidden;
}
/* soft fade so the portrait settles into the card body */
.team-photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.95));
  pointer-events: none;
}
.team-photo img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform .5s ease;
}
.team-card:hover .team-photo img { transform: scale(1.03); }
.team-body { display: flex; flex-direction: column; flex: 1; padding: 2px 24px 26px; text-align: center; }
.team-body h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.team-role {
  display: inline-block; margin: 8px auto 14px; padding: 5px 11px;
  border-radius: 999px; background: var(--bg-tint); color: var(--navy);
  font-size: 12px; font-weight: 700;
}
.team-bio { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-bottom: 16px; }
.team-tags {
  list-style: none; margin: auto 0 0; padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
}
.team-tags li {
  font-size: 11.5px; font-weight: 600; color: var(--navy-soft);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px;
}
@media (prefers-reduced-motion: reduce) {
  .team-card, .team-photo img { transition: none; }
  .team-card:hover { transform: none; }
  .team-card:hover .team-photo img { transform: none; }
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 24px;
}
.value-card em { font-style: normal; font-weight: 800; color: var(--navy-soft); font-size: 13px; }
.value-card h3 { font-size: 16.5px; font-weight: 700; margin: 8px 0; }
.value-card p { color: var(--muted); font-size: 13.5px; }

/* ---------- Work / portfolio page ---------- */
.work-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 50px;
}
.wstat {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-align: center;
}
.wstat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.wstat span { color: var(--muted); font-size: 13px; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.wcard {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.wcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* featured case study — full width, split layout */
.wcard.featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.wcard.featured .wshot { height: auto; min-height: 340px; align-items: center; padding: 34px; }
.wcard.featured .wframe { border-radius: 12px; max-width: 560px; }
.wcard.featured .wimg { height: auto; }
.wcard.featured.flip .wshot { order: 2; }
.wshot.full { padding: 0; }
.wshot.full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 32, 0) 52%, rgba(10, 15, 32, .42) 100%);
  pointer-events: none;
}
.wfull {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s ease;
}
.build-card .wfull { object-position: center; }
.wcard:hover .wfull, .build-card:hover .wfull { transform: scale(1.03); }
.wfeat { list-style: none; columns: 2; column-gap: 24px; margin: 16px 0 4px; }
.wfeat li { font-size: 13px; padding: 5px 0 5px 28px; break-inside: avoid; }
.wfeat li::before { top: 5px; }

/* mock screenshot header */
.wshot {
  position: relative;
  height: 220px;
  padding: 30px 34px 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}
.ws-a { background: radial-gradient(120% 120% at 20% 0%, #35479a 0%, var(--navy) 50%, var(--navy-deep) 100%); }
.ws-b { background: linear-gradient(135deg, #0f766e, #134e4a); }
.ws-c { background: linear-gradient(135deg, #b45309, #7c2d12); }
.ws-d { background: linear-gradient(135deg, #6d28d9, #4c1d95); }
.ws-e { background: linear-gradient(135deg, #0369a1, #0c4a6e); }
.ws-f { background: linear-gradient(135deg, #be123c, #881337); }
.wframe {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -14px 44px rgba(0, 0, 0, .3);
  overflow: hidden;
}
.wframe.phone { max-width: 160px; border-radius: 20px 20px 0 0; }
.wbar { display: flex; gap: 5px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.wbar i { width: 7px; height: 7px; border-radius: 50%; background: #dfe2ea; }
.wbody { padding: 12px; }
.wrow { height: 10px; border-radius: 5px; background: #eceef4; margin-bottom: 9px; }
.wrow.w30 { width: 30%; } .wrow.w40 { width: 40%; } .wrow.w50 { width: 50%; }
.wrow.w60 { width: 60%; } .wrow.w70 { width: 70%; } .wrow.w80 { width: 80%; }
.wcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 9px; }
.wcards i { height: 44px; border-radius: 7px; background: #f4f5f9; border: 1px solid var(--line); }
.wtable { display: grid; gap: 6px; }
.wtable i { height: 16px; border-radius: 5px; background: #f4f5f9; border: 1px solid var(--line); }
.wbubble { height: 16px; border-radius: 9px; background: #eceef4; margin-bottom: 8px; }
.wbubble.right { margin-left: auto; background: var(--bg-tint); }
.wbubble.w50 { width: 50%; } .wbubble.w60 { width: 60%; } .wbubble.w70 { width: 70%; }
.wbars { display: flex; gap: 7px; align-items: flex-end; height: 58px; }
.wbars i { flex: 1; background: var(--bg-tint); border: 1px solid #c5d0f0; border-radius: 4px 4px 0 0; }

.winfo { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.wtag { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-soft); }
.winfo h3 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin: 8px 0; }
.winfo > p { color: var(--muted); font-size: 13.5px; flex: 1; }
.wmeta {
  display: flex;
  gap: 26px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 14px;
}
.wmeta div b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.wmeta div span { font-size: 11.5px; color: var(--muted); }
.winfo .svc-tags { margin-top: 16px; }

/* "open the real thing" link on a work card that is publicly live */
.wlive {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 16px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-tint);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  transition: background .2s, border-color .2s, transform .2s;
}
.wlive:hover {
  background: #fff;
  border-color: var(--navy-soft);
  transform: translateY(-1px);
}
.wlive-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
  animation: wlive-pulse 2.2s ease-in-out infinite;
}
@keyframes wlive-pulse {
  50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
}

/* featured work card in home testimonials */
.tcard.work {
  background: radial-gradient(120% 100% at 20% 0%, #35479a 0%, var(--navy) 45%, var(--navy-deep) 100%);
  border: 0;
  color: #fff;
}
.tcard.work .wtag { color: #aab9ef; }
.tcard.work h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; margin: 8px 0 6px; }
.tcard.work > p { color: #c9d2f0; font-size: 13px; }
.tcard.work .wframe { border-radius: 10px; margin: 16px 0; box-shadow: 0 14px 34px rgba(0, 0, 0, .3); }
.tcard.work .wimg { height: auto; }
.tcard.work .wmetric { font-size: 13px; font-weight: 700; color: #8fd6a9; margin-bottom: 14px; }
.tcard.work .explore { color: #fff; margin-top: auto; }
.tcard.work .explore span { background: #fff; color: var(--navy); }

/* ---------- Blog page ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.post-card.featured { grid-column: 1 / 3; }
.post-img { aspect-ratio: 16 / 9; overflow: hidden; }
.post-card.featured .post-img { aspect-ratio: 21 / 9; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-img img { transform: scale(1.04); }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.post-meta b { color: var(--navy); }
.post-body h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.post-body p { color: var(--muted); font-size: 13.5px; margin: 10px 0 16px; flex: 1; }
.post-link { font-weight: 700; font-size: 13.5px; color: var(--navy); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  align-items: start;
  padding: 30px 0 60px;
}
.c-cards { display: flex; flex-direction: column; gap: 16px; }
.c-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
}
.c-ico {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
}
.c-ico svg { width: 21px; height: 21px; }
.c-card h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 3px; }
.c-card a { color: var(--navy); font-weight: 700; font-size: 14.5px; }
.c-card a.wa-link { color: #16a34a; font-size: 13.5px; }
.c-card span { color: var(--muted); font-size: 13.5px; }

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(61, 90, 200, .12);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { display: block; margin-top: 14px; font-size: 12px; color: var(--muted-2); }
.form-status { display: none; margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-md); font-size: 14px; font-weight: 500; }
.form-status.ok { display: block; background: #e8f6ee; color: #14683a; border: 1px solid #bfe5cf; }
.form-status.err { display: block; background: #fdecec; color: #9c2020; border: 1px solid #f2c6c6; }

.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-wrap details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0 22px;
  margin-bottom: 12px;
  background: #fff;
}
.faq-wrap summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 15px;
  padding: 18px 0;
  position: relative;
  padding-right: 34px;
}
.faq-wrap summary::-webkit-details-marker { display: none; }
.faq-wrap summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-weight: 500;
}
.faq-wrap details[open] summary::after { content: "\2013"; background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-wrap .faq-a { color: var(--muted); font-size: 14px; padding: 0 0 20px; }

/* small CTA band reused on sub-pages */
.cta-band {
  margin: 70px 0 0;
  padding: 70px 0 80px;
  text-align: center;
  background:
    radial-gradient(700px 360px at 50% 120%, #8fa2e8 0%, #b9c4f2 36%, #dde3fa 64%, #eef0fb 100%);
}
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.cta-band p { color: #454a58; margin: 14px auto 26px; max-width: 520px; }

.section-pad { padding: 60px 0; }
.section-pad.tight { padding: 30px 0 60px; }

/* pricing note & care wrap */
.price-note {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 26px;
}
.price-note a { color: var(--navy); font-weight: 700; }
.price-grid.hidden, .care-wrap.hidden { display: none; }

/* ---------- Care Plans Billing Toggle ---------- */
.care-billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 36px;
  flex-wrap: wrap;
}

.cbt-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  margin-right: 4px;
}

.cbt-btn {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cbt-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.cbt-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 4px 14px rgba(61, 90, 200, 0.25);
}

.badge-save {
  font-size: 10px;
  font-weight: 700;
  background: #22c55e;
  color: #fff;
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cbt-btn.active .badge-save {
  background: #fff;
  color: #15803d;
}


/* =====================================================
   Network status overlay (shown only on connection loss)
   ===================================================== */
.net-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 13, 26, .92);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
.net-overlay.show { opacity: 1; visibility: visible; }
.net-box { text-align: center; color: #fff; padding: 24px; max-width: 420px; width: 100%; }

/* orbiting nodes around monogram */
.net-orbit {
  position: relative;
  width: 140px; height: 140px;
  margin: 0 auto 30px;
}
.net-core {
  position: absolute;
  inset: 34px;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--navy-soft), var(--navy-deep));
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; font-weight: 800;
  animation: corePulse 2.2s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(61, 90, 200, .45);
}
@keyframes corePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(61,90,200,.35); }
  50% { transform: scale(1.06); box-shadow: 0 0 55px rgba(61,90,200,.65); }
}
.net-ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(255,255,255,.25);
  border-radius: 50%;
  animation: ringSpin 6s linear infinite;
}
.net-ring::before {
  content: "";
  position: absolute;
  top: -5px; left: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #7c95f0;
  box-shadow: 0 0 12px #7c95f0;
}
.net-ring.r2 {
  inset: -20px;
  animation-duration: 9s;
  animation-direction: reverse;
}
.net-ring.r2::before { background: #49CCF9; box-shadow: 0 0 12px #49CCF9; }
@keyframes ringSpin { to { transform: rotate(360deg); } }

.net-title { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.net-title .dots::after {
  content: "";
  animation: dots 1.6s steps(4, end) infinite;
}
@keyframes dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75% { content: "..."; }
}
.net-msg {
  color: #aab3cc;
  font-size: 14px;
  margin-top: 10px;
  min-height: 22px;
  transition: opacity .3s;
}

/* terminal-style status line */
.net-term {
  margin: 22px auto 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: 'Consolas', 'Menlo', monospace;
  font-size: 12.5px;
  text-align: left;
  color: #8fd6a9;
  overflow: hidden;
  white-space: nowrap;
}
.net-term::before { content: "$ "; color: #7c95f0; }
.net-term i {
  font-style: normal;
  border-right: 6px solid #8fd6a9;
  animation: caret 1s steps(1) infinite;
  padding-right: 2px;
}
@keyframes caret { 50% { border-color: transparent; } }

.net-bar {
  margin: 20px auto 0;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
}
.net-bar i {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, #3D5AC8, #49CCF9);
  animation: barSlide 1.6s ease-in-out infinite;
}
@keyframes barSlide {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(280%); }
}

/* success state */
.net-overlay.ok .net-core { background: linear-gradient(145deg, #16a34a, #15803d); box-shadow: 0 0 45px rgba(34,197,94,.5); animation: none; }
.net-overlay.ok .net-ring { animation-play-state: paused; opacity: .3; }
.net-overlay.ok .net-bar i { background: #22c55e; animation: none; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .net-ring, .net-core, .net-bar i, .float-icon { animation: none !important; }
}

/* sub-page responsive */
@media (max-width: 900px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wcard.featured { grid-template-columns: minmax(0, 1fr); }
  .wcard.featured .wshot { min-height: 240px; padding: 26px; }
  .wcard.featured.flip .wshot { order: 0; }
  .wfeat { columns: 1; }
  .svc-grid, .steps-row, .values-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .svc-card.wide { grid-column: auto; }
  .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-card.featured { grid-column: 1 / 3; }
}
@media (max-width: 620px) {
  .svc-grid, .steps-row, .values-grid, .team-grid, .post-grid { grid-template-columns: 1fr; }
  .wmeta { gap: 16px; }
  .wshot { padding: 26px 22px 0; }
  .post-card.featured { grid-column: auto; }
  .f-row { grid-template-columns: 1fr; }
}

/* =====================================================
   HIGH PERFORMANCE UI ANIMATIONS & MICRO-INTERACTIONS
   ===================================================== */

/* ---------- Detailed Scroll Reveal & Out Animations ---------- */
.reveal {
  opacity: 0;
  filter: blur(8px);
  will-change: transform, opacity, filter;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
  transform: translateY(44px) scale(0.96);
}

.reveal-fade {
  transform: translateY(0) scale(0.94);
}

.reveal-zoom {
  transform: scale(0.88);
  filter: blur(12px);
}

.reveal-left {
  transform: translateX(-50px) scale(0.96);
}

.reveal-right {
  transform: translateX(50px) scale(0.96);
}

.reveal-flip {
  transform: perspective(1000px) rotateX(12deg) translateY(40px);
}

.reveal.active {
  opacity: 1;
  filter: blur(0px);
  transform: translate(0, 0) scale(1) rotateX(0deg);
}

/* Dynamic Stagger Delays */
[data-delay="100"] { transition-delay: 0.08s; }
[data-delay="200"] { transition-delay: 0.16s; }
[data-delay="300"] { transition-delay: 0.24s; }
[data-delay="400"] { transition-delay: 0.32s; }
[data-delay="500"] { transition-delay: 0.40s; }
[data-delay="600"] { transition-delay: 0.48s; }


/* ---------- Cursor Spotlight Overlay ---------- */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50vw) var(--mouse-y, 50vh), rgba(61, 90, 200, 0.05), transparent 80%);
  pointer-events: none;
  z-index: 9999;
  transition: background 0.15s ease-out;
}


/* ---------- Card Hover Glass Shine & Elevation ---------- */
.build-card,
.svc-card,
.stat-card,
.wf-card,
.post-card,
.wcard {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.build-card::after,
.svc-card::after,
.stat-card::after,
.post-card::after,
.wcard::after {
  content: "";
  position: absolute;
  top: 0; left: -150%;
  width: 80%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.build-card:hover::after,
.svc-card:hover::after,
.stat-card:hover::after,
.post-card:hover::after,
.wcard:hover::after {
  left: 170%;
}

.build-card:hover,
.svc-card:hover,
.stat-card:hover,
.post-card:hover,
.wcard:hover {
  transform: translateY(-7px) scale(1.01);
  box-shadow: 0 20px 38px -12px rgba(15, 23, 42, 0.12), 0 8px 16px -6px rgba(15, 23, 42, 0.08);
}

/* ---------- Enhanced Floating Icon Motion ---------- */
.float-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.float-icon:hover {
  transform: scale(1.22) translateY(-8px) rotate(6deg) !important;
  box-shadow: 0 16px 32px -6px rgba(var(--tint), 0.5), 0 0 20px rgba(var(--tint), 0.3);
  z-index: 10;
}

/* ---------- Button Micro-Interactions & Shimmer ---------- */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
}

.btn:active {
  transform: scale(0.97) !important;
}

.btn-dark::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-dark:hover::before {
  left: 100%;
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(15, 23, 42, 0.4);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.1);
}

/* ---------- Back-to-Top Floating Action Button ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
  z-index: 990;
  border: none;
  outline: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: #3D5AC8;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 30px -5px rgba(61, 90, 200, 0.45);
}

.back-to-top svg.progress-ring {
  position: absolute;
  inset: -2px;
  width: 52px;
  height: 52px;
  transform: rotate(-90deg);
  pointer-events: none;
}

.back-to-top svg.progress-ring circle {
  fill: none;
  stroke: #3D5AC8;
  stroke-width: 3;
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  transition: stroke-dashoffset 0.1s linear;
}

/* ---------- Animated Tech Badges ---------- */
.tlogo {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.tlogo:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.08);
  border-color: #3D5AC8;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .build-card, .svc-card, .stat-card, .btn, .tlogo {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ---------- Cinematic Opening Reveal Animation ---------- */
body:not(.site-opened) .page {
  opacity: 0;
  transform: scale(0.96);
  filter: blur(8px);
}

body.site-opened .page {
  opacity: 1;
  transform: scale(1);
  filter: blur(0px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

body:not(.site-opened) .site-header {
  transform: translateY(-24px);
  opacity: 0;
}

body.site-opened .site-header {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
              opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

/* ---------- Ultra Smooth Preloader & Split Curtain ---------- */
.v-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  pointer-events: auto;
}

.v-loader-curtain {
  position: absolute;
  left: 0; right: 0;
  height: 50.5%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  transition: transform 0.75s cubic-bezier(0.7, 0, 0.2, 1);
  will-change: transform;
  z-index: 1;
}

.v-curtain-top { top: 0; transform-origin: top; }
.v-curtain-bottom { bottom: 0; transform-origin: bottom; }

.v-loader-center {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.v-word-container {
  display: inline-flex;
  overflow: hidden;
  padding: 6px 12px;
}

.v-char {
  display: inline-block;
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  opacity: 0;
  transform: translateY(100%) scale(0.92);
  filter: blur(8px);
  animation: smoothCharWrite 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes smoothCharWrite {
  0% {
    opacity: 0;
    transform: translateY(100%) scale(0.92);
    filter: blur(8px);
  }
  60% {
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.v-loader-line {
  width: 140px;
  height: 2.5px;
  background: rgba(61, 90, 200, 0.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  animation: fadeInLine 0.4s ease 0.35s forwards;
}

.v-loader-line::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, #3D5AC8, #60a5fa, transparent);
  animation: smoothLineGlide 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes fadeInLine {
  to { opacity: 1; }
}

@keyframes smoothLineGlide {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Page Opening State Triggered on Preloader Exit */
.v-loader.page-opening .v-loader-center {
  opacity: 0;
  transform: scale(1.12);
  filter: blur(10px);
}

.v-loader.page-opening .v-curtain-top {
  transform: translateY(-100%);
}

.v-loader.page-opening .v-curtain-bottom {
  transform: translateY(100%);
}

.v-loader.loaded {
  display: none !important;
}

/* ---------- Book Free Demo Modal & Styling ---------- */
.btn-primary-glow {
  background: var(--navy);
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 13.5px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(61, 90, 200, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary-glow.btn-lg {
  padding: 15px 32px;
  font-size: 15px;
}

.btn-primary-glow:hover {
  background: #314baf;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61, 90, 200, 0.45);
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.demo-modal.open {
  opacity: 1;
  visibility: visible;
}

.demo-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 32, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.demo-modal-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px 32px;
  box-shadow: 0 24px 60px rgba(10, 15, 32, 0.3);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.demo-modal.open .demo-modal-container {
  transform: scale(1) translateY(0);
}

.demo-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f2f6;
  border: none;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.demo-close:hover {
  background: var(--ink);
  color: #fff;
}

.demo-head {
  margin-bottom: 24px;
}

.demo-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: rgba(61, 90, 200, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.demo-head h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.demo-head p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.btn-wa-submit {
  background: #25d366 !important;
  color: #fff !important;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 14px;
  border: none;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  transition: all 0.25s ease;
  margin-top: 10px;
  width: 100%;
}

.btn-wa-submit:hover {
  background: #1eb854 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

/* ---------- Interactive Cost Estimator ---------- */
.calc-section {
  background: #f8fafc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-step-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.calc-step-num {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calc-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  display: block;
}

.calc-hint {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.calc-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-left: 40px;
}

.calc-opt {
  border: 1px solid var(--line);
  background: #f8fafc;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.calc-opt:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: #fff;
}

.calc-opt.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 4px 14px rgba(61, 90, 200, 0.25);
}

.calc-opt .opt-tag {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.15);
  color: #16a34a;
}

.calc-opt.active .opt-tag {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.calc-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: auto;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.calc-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.calc-trust svg {
  width: 15px;
  height: 15px;
  color: #16a34a;
  flex: 0 0 auto;
}

.calc-summary {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 20px;
  padding: 28px 26px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-sum-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(96, 165, 250, 0.15);
  color: #60a5fa;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 8px;
}

.calc-sum-head h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  padding-bottom: 18px;
}

.cb-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 13.5px;
  color: #94a3b8;
}

.cb-row strong {
  text-align: right;
}

.cb-row strong {
  color: #f1f5f9;
  font-weight: 600;
}

.cb-row.cb-orig strong {
  text-decoration: line-through;
  color: #cbd5e1;
}

.cb-row.cb-discount {
  color: #4ade80;
  font-weight: 700;
}

.cb-row.cb-discount strong {
  color: #4ade80;
  font-weight: 800;
}

.calc-next {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 18px;
}

.calc-next-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 12px;
}

.calc-next-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.calc-next-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #cbd5e1;
}

.calc-next-steps li span {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.15);
  color: #60a5fa;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.calc-privacy {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  margin-top: 10px;
}

/* ---------- Plan Comparison Table ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  text-align: center;
  font-size: 13.5px;
}

.comp-table th {
  padding: 20px 16px;
  background: #f8fafc;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--line);
}

.comp-table th.th-feature {
  text-align: left;
  padding-left: 24px;
  width: 28%;
}

.comp-table th.th-highlight {
  background: #eef2ff;
  color: var(--navy);
}

.comp-table th.th-combo {
  background: #0f172a;
  color: #38bdf8;
}

.th-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.th-combo .th-price {
  color: #4ade80;
}

.comp-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  color: #334155;
}

.comp-table td.td-feat {
  text-align: left;
  padding-left: 24px;
  font-weight: 600;
  color: var(--ink);
}

.comp-table td.td-highlight {
  background: #f8fafc;
}

.comp-table td.td-combo {
  background: #f1f5f9;
  font-weight: 600;
}

.ico-check {
  color: #16a34a;
  font-weight: 800;
  font-size: 16px;
}

.ico-cross {
  color: #94a3b8;
  font-size: 14px;
}

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

/* ---------- Fast Service & On-Time Guarantee (Light Theme) ---------- */
.guarantee-section {
  background: var(--bg-soft);
  padding: 80px 0;
}

.guarantee-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px 40px;
  color: var(--text);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
}

.guarantee-card::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(61, 90, 200, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}

.guarantee-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: rgba(61, 90, 200, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 12px;
}

.guarantee-info h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.guarantee-info p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.guarantee-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gf-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.gf-icon {
  font-size: 22px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gf-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.gf-item p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.guarantee-badge-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.g-seal {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px dashed var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  margin-bottom: 18px;
  background: rgba(61, 90, 200, 0.04);
}

.g-seal-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(61, 90, 200, 0.12);
  border: 1px solid #e2e8f0;
}

.g-icon {
  font-size: 24px;
}

.g-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.g-sub {
  font-size: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.g-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 18px !important;
  line-height: 1.4;
}

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

/* =====================================================
   COMPREHENSIVE MOBILE RESPONSIVE OPTIMIZATION
   ===================================================== */
@media (max-width: 768px) {
  /* Global section padding */
  .section-pad { padding: 48px 0; }
  .section-pad.tight { padding: 24px 0 48px; }
  .section-head h2 { font-size: 26px !important; }
  .section-head p.sub { font-size: 13.5px !important; }

  /* Pricing Cards Mobile Sizing */
  .price-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .pcard {
    padding: 22px 18px !important;
    border-radius: 16px !important;
    min-height: auto !important;
  }
  .pcard.featured {
    transform: none !important;
  }
  .phead h3 { font-size: 17px !important; }
  .pdesc { font-size: 13px !important; margin: 8px 0 16px !important; }
  .pprice b { font-size: 30px !important; }
  .pprice span { font-size: 12.5px !important; }
  .pfeat { margin-bottom: 20px !important; }
  .pfeat li { padding: 5px 0 5px 24px !important; font-size: 12.5px !important; }
  
  /* Full-Width Custom Pages Mobile Card */
  .pcard-full {
    padding: 22px 18px !important;
    margin-top: 6px !important;
    border-radius: 16px !important;
  }
  .pcard-full-inner {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .pcard-full-main {
    width: 100% !important;
    min-width: 0 !important;
  }
  .pcard-full-side {
    width: 100% !important;
    padding: 16px !important;
  }
  .pfeat-horizontal {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    margin-top: 14px !important;
  }

  /* Testimonials & Review Cards Mobile */
  .tst-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .real-tcard {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
  .tquote {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
  }
  .twho b { font-size: 13.5px !important; }
  .twho em { font-size: 11.5px !important; }

  /* Interactive Cost Estimator Mobile */
  .calc-card {
    padding: 20px 16px !important;
    border-radius: 18px !important;
  }
  .calc-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .calc-inputs {
    gap: 20px !important;
  }
  .calc-label {
    font-size: 13px !important;
  }
  /* Calculator Option Buttons Mobile Stacking */
  .calc-opts {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    padding-left: 0 !important;
  }
  .calc-trust {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .calc-opt {
    width: 100% !important;
    text-align: left !important;
    padding: 10px 14px !important;
    font-size: 12.5px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* Comparison Table Mobile Horizontal Scroll Protection */
  .table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 14px !important;
    width: 100% !important;
  }
  .comp-table {
    min-width: 640px !important;
  }
  .comp-table th, .comp-table td {
    padding: 12px 10px !important;
    font-size: 12px !important;
  }
  .comp-table th.th-feature, .comp-table td.td-feat {
    padding-left: 14px !important;
    width: 32% !important;
  }

  /* Testimonials & Review Cards Mobile Header Wrapping */
  .tcard-top {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .vbadge {
    font-size: 10.5px !important;
    padding: 2px 8px !important;
  }

  /* Team Cards Mobile */
  .team-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    max-width: 440px;
  }
  .team-card { border-radius: 18px !important; }
  .team-body { padding: 0 18px 22px !important; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 30px !important; line-height: 1.16 !important; }
  .hero-sub { font-size: 13.5px !important; }
  .hero-actions { flex-direction: column !important; width: 100% !important; gap: 10px !important; }
  .hero-actions .btn { width: 100% !important; }
  .care-billing-toggle { gap: 6px !important; }
  .cbt-btn { font-size: 11.5px !important; padding: 6px 12px !important; width: 100% !important; justify-content: center !important; }
  .phead { flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; }
}

/* =====================================================
   MOBILE-FRIENDLY PASS — layout fixes for small screens
   ===================================================== */

/* Prevent iOS Safari from auto-zooming into form fields (<16px inputs) */
@media (max-width: 768px) {
  .field input, .field select, .field textarea { font-size: 16px; }

  /* Guarantee card: tighten the desktop-sized padding */
  .guarantee-section { padding: 56px 0; }
  .guarantee-card { padding: 28px 20px; border-radius: 18px; }
  .guarantee-grid { gap: 28px; }
  .guarantee-info h2 { font-size: 23px; }

  .back-to-top { bottom: 18px; right: 18px; }
}

/* Workflow diagram: the step visuals are absolutely positioned on a
   460×520 design canvas — below ~560px they overflow the card, so we
   render the canvas at its design size and scale it to fit the width. */
@media (max-width: 620px) {
  .wf-card { padding: 14px; min-height: 0; }
  .wf-left { padding: 18px 8px; gap: 24px; }
  .wf-right { container-type: inline-size; }
  .wf-diagram { min-height: 0; height: auto; aspect-ratio: 460 / 520; }
  .wf-visual {
    inset: auto;
    top: 0; left: 0;
    width: 460px; height: 520px;
    transform-origin: 0 0;
    transform: scale(.62);              /* fallback for old browsers */
    transition: opacity .35s ease, visibility .35s;
  }
  .wf-visual.active { transform: scale(.62); }
  @supports (width: 1cqw) {
    .wf-visual, .wf-visual.active { transform: scale(calc(100cqw / 460)); }
  }
}

@media (max-width: 480px) {
  /* Workflow step tabs */
  .wf-tabs { gap: 10px; margin-bottom: 24px; }
  .wf-tab { font-size: 13px; padding: 10px 2px 12px; }

  /* Trusted-by logo strip */
  .logo-row { gap: 14px 22px; }
  .tlogo { font-size: 14px; }

  /* Work page stat tiles */
  .wstat { padding: 16px 12px; }
  .wstat b { font-size: 24px; }

  /* Pricing toggle pills */
  .pt-btn { padding: 9px 16px; font-size: 13px; }

  /* Book-a-demo modal */
  .demo-modal { padding: 12px; }
  .demo-modal-container { padding: 26px 18px 22px; border-radius: 18px; }
  .demo-head h3 { font-size: 20px; }
}

/* Plan builder: a 1fr grid item's default min-width:auto lets its content
   inflate the track past the card edge (clipped by .page overflow:clip,
   so it silently truncates instead of scrolling). Let items shrink. */
@media (max-width: 991px) {
  .calc-grid > * { min-width: 0; max-width: 100%; }
}

/* Contact info cards: the flex text column must be allowed to shrink,
   and the long email address must wrap instead of clipping. */
.c-card > div { min-width: 0; }
.c-card a { overflow-wrap: anywhere; }

/* Comfortable touch targets where the mobile nav is active */
@media (max-width: 900px) {
  .nav-toggle {
    padding: 11px 9px;
    margin: -6px -3px;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .foot-col { gap: 4px; }
  .foot-col a { padding: 6px 0; }
  .foot-bottom a { padding: 6px 2px; display: inline-block; }
}

/* Guarantee card: same 1fr / min-width:auto track inflation as the plan
   builder — the info column and badge box ran 28px past the card and were
   clipped at the right screen edge on phones. */
@media (max-width: 991px) {
  .guarantee-grid > * { min-width: 0; max-width: 100%; }
  .gf-item, .gf-item > div { min-width: 0; }
}

@media (max-width: 640px) {
  /* Final CTA: the decorative floating icons collapse into an overlapping
     pile that lands on the phone-number link on narrow screens — drop them
     and reclaim the vertical space they reserved. */
  .final-cta .float-icon { display: none; }
  .final-cta { padding: 90px 0 84px; }

  /* Integrations orbit: desktop icon positions solve against 760–1100px
     rings, which degenerates into stacked icons at phone widths. Re-place
     the six tool icons on a deliberate 120px ring around the logo tile,
     scale the rings to match, and retire the decorative avatars. */
  .orbit-stage { height: 310px; }
  .integrations .orbit-av { display: none; }
  .integrations .ring-1 { width: 240px; height: 240px; top: 25px; }
  .integrations .ring-2 { width: 420px; height: 420px; top: -65px; }
  .integrations .ring-3 { width: 640px; height: 640px; top: -175px; }
  .oi-6 { left: calc(50% - 86px);  right: auto; top: 15px; }   /* upper-left  */
  .oi-1 { left: calc(50% + 34px);  right: auto; top: 15px; }   /* upper-right */
  .oi-5 { left: calc(50% - 146px); right: auto; top: 119px; }  /* left        */
  .oi-3 { left: calc(50% + 94px);  right: auto; top: 119px; }  /* right       */
  .oi-4 { left: calc(50% - 86px);  right: auto; top: 223px; }  /* lower-left  */
  .oi-2 { left: calc(50% + 34px);  right: auto; top: 223px; }  /* lower-right */
}

/* Phone numbers: Inter draws "+" on the math axis, which reads as floating
   high beside lining digits at small sizes — nudge it onto the digits'
   optical center, and keep the number from breaking across lines. */
a[href^="tel:"] { white-space: nowrap; }
.tel-plus { display: inline-block; transform: translateY(0.055em); }

/* Very narrow phones: keep the header on one line */
@media (max-width: 400px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 10px; }
  .header-actions .btn { padding: 8px 12px; font-size: 12.5px; }
  .brand { gap: 7px; }
  .brand-tile { width: 34px; height: 34px; }
  .brand-name { font-size: 15px; }
  .brand-sub { font-size: 8px; letter-spacing: .14em; }
}


@media (prefers-reduced-motion: reduce) {
  .wlive-dot { animation: none !important; }
}












