/* ============================================================
   DevScythe — style.css
   Sections:
   01 Tokens
   02 Reset & base
   03 Typography
   04 Layout helpers
   05 Buttons, badges, chips, icons
   06 Navigation
   07 Hero + floating widgets
   08 Trusted by
   09 About
   10 Expertise
   11 Services
   12 Portfolio
   13 Results
   14 Testimonials
   15 Why DevScythe
   16 FAQ
   17 Final CTA
   18 Contact
   19 Footer + back to top
   20 Motion & reveal
   21 Breakpoints
   ============================================================ */

/* ---------- 01 Tokens ------------------------------------- */
:root {
  /* Brand */
  --green-700: #15803D;
  --green-600: #16A34A;
  --green-500: #22C55E;
  --green-400: #4ADE80;
  --green-050: #F0FDF4;

  /* Neutrals */
  --ink-950: #020617;
  --ink-900: #0F172A;
  --ink-800: #1E293B;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --slate-050: #F8FAFC;
  --white: #FFFFFF;

  /* Semantic — overridden inside .is-dark */
  --surface: var(--white);
  --surface-2: var(--slate-050);
  --card: var(--white);
  --card-border: var(--slate-200);
  --text-strong: var(--ink-900);
  --text: var(--slate-600);
  --text-muted: var(--slate-500);
  --line: var(--slate-200);

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 24px;
  --r-2xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --sh-sm: 0 2px 8px rgba(15, 23, 42, .06);
  --sh-md: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --sh-lg: 0 26px 60px -24px rgba(15, 23, 42, .28);
  --sh-green: 0 12px 30px -10px rgba(22, 163, 74, .45);
  --sh-green-lg: 0 18px 44px -12px rgba(22, 163, 74, .55);

  /* Rhythm */
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --maxw: 1240px;
  --maxw-narrow: 860px;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  /* Motion */
  --e-out: cubic-bezier(.22, 1, .36, 1);
  --e-soft: cubic-bezier(.4, 0, .2, 1);
  --t: 220ms var(--e-soft);

  --nav-h: 72px;
}

.is-dark {
  --surface: var(--ink-950);
  --surface-2: var(--ink-900);
  --card: rgba(255, 255, 255, .035);
  --card-border: rgba(148, 163, 184, .16);
  --text-strong: #F1F5F9;
  --text: #A3B0C2;
  --text-muted: var(--slate-500);
  --line: rgba(148, 163, 184, .16);
}

/* ---------- 02 Reset & base -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(1rem, .97rem + .15vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -140%);
  z-index: 200; background: var(--ink-900); color: var(--white);
  padding: .7rem 1.2rem; border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 600; transition: transform 180ms var(--e-out);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

:focus-visible {
  outline: 2.5px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(34, 197, 94, .24); color: inherit; }

/* ---------- 03 Typography ---------------------------------- */
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--text-strong);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.032em;
  text-wrap: balance;
}

.h1, .hero__title {
  font-size: clamp(2.15rem, 1.35rem + 3.55vw, 4.1rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.04em;
}

.h2 {
  font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.85rem);
  letter-spacing: -.036em;
}

.h3 {
  font-size: clamp(1.15rem, 1.05rem + .45vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -.024em;
  line-height: 1.25;
}

.h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.018em;
  margin-bottom: .35em;
}

.lede {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.2rem);
  line-height: 1.65;
  color: var(--text);
  max-width: 62ch;
}

strong { color: var(--text-strong); font-weight: 700; }

/* ---------- 04 Layout helpers ------------------------------ */
.container {
  width: min(100% - (var(--gutter) * 2), var(--maxw));
  margin-inline: auto;
}
.container--narrow { max-width: var(--maxw-narrow); }

.section {
  position: relative;
  padding-block: var(--section-y);
  background: var(--surface);
}
.section--alt { background: var(--slate-050); }
.section--dark { background: var(--ink-950); }

.section__head { margin-bottom: clamp(2.25rem, 4vw, 3.5rem); max-width: 68ch; }
.section__head .lede { margin-top: -.1em; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lede { margin-inline: auto; }
.section__head--row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; max-width: none; flex-wrap: wrap;
}

/* ---------- 05 Buttons, badges, chips, icons --------------- */
.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--flip { transform: rotate(180deg); }

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text-strong);
  --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .78rem 1.35rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: .9375rem;
  letter-spacing: -.012em;
  line-height: 1.2;
  text-align: center;
  transition: transform var(--t), box-shadow var(--t), background-color var(--t), border-color var(--t), color var(--t);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: .85rem 1.05rem; font-size: .875rem; }
.btn--lg { padding: .95rem 1.75rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  --btn-bg: linear-gradient(135deg, var(--green-600), var(--green-500));
  --btn-fg: var(--white);
  box-shadow: var(--sh-green);
}
.btn--primary:hover { box-shadow: var(--sh-green-lg); }

.btn--ghost {
  --btn-bg: var(--white);
  --btn-bd: var(--card-border);
  box-shadow: var(--sh-sm);
}
.btn--ghost:hover { --btn-bd: rgba(34, 197, 94, .55); box-shadow: var(--sh-md); }

.btn--outline {
  --btn-bd: rgba(148, 163, 184, .4);
  --btn-fg: var(--text-strong);
}
.btn--outline:hover { --btn-bd: var(--green-500); background: rgba(34, 197, 94, .1); }

.btn--soft {
  --btn-bg: rgba(22, 163, 74, .1);
  --btn-fg: var(--green-700);
  --btn-bd: rgba(22, 163, 74, .2);
  
}
.btn--soft:hover { --btn-bg: rgba(22, 163, 74, .16); }
.is-dark .btn--soft { --btn-fg: var(--green-400); --btn-bd: rgba(34, 197, 94, .28); }

.btn--quiet {
  --btn-fg: var(--text);
  --btn-bd: var(--card-border);
}
.btn--quiet:hover { --btn-fg: var(--text-strong); --btn-bd: var(--slate-400); }

.badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .95rem .45rem .7rem;
  border: 1px solid rgba(22, 163, 74, .22);
  border-radius: var(--r-pill);
  background: rgba(22, 163, 74, .07);
  color: var(--green-700);
  font-size: .8125rem; font-weight: 700; letter-spacing: -.01em;
  margin: 0 0 1.35rem;
}
.badge__dot {
  width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
}

.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .2rem .55rem; border-radius: var(--r-pill);
  font-size: .7rem; font-weight: 700; letter-spacing: -.005em;
}
.chip--up { background: rgba(22, 163, 74, .12); color: var(--green-700); }
.chip--live { background: rgba(15, 23, 42, .06); color: var(--slate-600); }

.pulse {
  width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--green-500); flex: none;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .55);
  animation: pulse 2.4s ease-out infinite;
}
.pulse--sm { width: .4rem; height: .4rem; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.ico {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(34, 197, 94, .16), rgba(22, 163, 74, .08));
  color: var(--green-600);
  box-shadow: 0 6px 18px -8px rgba(22, 163, 74, .5), inset 0 0 0 1px rgba(22, 163, 74, .14);
}
.ico--lg { width: 3.1rem; height: 3.1rem; }
.ico--lg .icon { width: 1.4rem; height: 1.4rem; }
.is-dark .ico { color: var(--green-400); }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
}
.is-dark .card { box-shadow: none; backdrop-filter: blur(10px); }

.card__list { margin-top: 1rem; display: grid; gap: .45rem; }
.card__list li {
  position: relative; padding-left: 1.4rem;
  font-size: .9rem; color: var(--text-muted);
}
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .45rem; height: .45rem; border-radius: 50%;
  background: var(--green-500); opacity: .75;
}

/* ---------- 06 Navigation ---------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: auto!important;
  display: flex; align-items: center;
  transition: background-color 260ms var(--e-soft), box-shadow 260ms var(--e-soft), border-color 260ms var(--e-soft);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: rgba(226, 232, 240, .9);
  box-shadow: 0 8px 30px -22px rgba(15, 23, 42, .5);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; letter-spacing: -.03em; font-size: 1.15rem; color: var(--ink-900); }
.brand__mark {
  display: grid; place-items: center;
  width: 2.2rem; height: 2.2rem; border-radius: 12px;
  color: var(--white);
  box-shadow: var(--sh-green);
}
.brand__mark svg { width: 1.4rem; height: 1.4rem; }
.brand__text-accent { color: var(--green-600); }
.is-dark .brand { color: var(--white); }
.is-dark .brand__text-accent { color: var(--green-400); }

.nav__links { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  position: relative;
  padding: .5rem .8rem;
  border-radius: var(--r-pill);
  font-size: .9375rem; font-weight: 600;
  color: var(--slate-600);
  transition: color var(--t), background-color var(--t);
}
.nav__link:hover { color: var(--ink-900); background: rgba(15, 23, 42, .05); }
.nav__link.is-current { color: var(--green-700); }
.nav__cta { margin-left: .5rem; }

.nav__toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  background: rgba(255, 255, 255, .85);
  color: var(--ink-900);
  backdrop-filter: blur(8px);
}
.nav__toggle-close { display: none; }
.nav.is-open .nav__toggle-close { display: block; }
.nav.is-open .nav__toggle > .icon:first-of-type { display: none; }

.nav__scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(2, 6, 23, .45);
  backdrop-filter: blur(2px);
  opacity: 0; transition: opacity 240ms var(--e-soft);
}
.nav__scrim.is-visible { opacity: 1; }

/* ---------- 07 Hero ---------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 8vw, 76rem));
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 88% -8%, rgba(34, 197, 94, .12), transparent 62%),
    radial-gradient(700px 420px at 6% 10%, rgba(22, 163, 74, .07), transparent 60%),
    var(--white);
}
.hero__glow {
  position: absolute; top: -18%; right: -12%;
  width: min(780px, 82vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(34, 197, 94, .3), transparent 62%);
  filter: blur(60px);
  pointer-events: none;
}
.hero__grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 12%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 12%, #000, transparent 72%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.hero__copy { min-width: 0; }
.hero__lede { font-size: clamp(1.0625rem, 1rem + .4vw, 1.22rem); line-height: 1.62; max-width: 34ch; max-width: 54ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.4rem; }

.trust { display: flex; gap: .7rem; }
.trust__item { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--text-muted); }
.trust__icon { width: 1.1rem; height: 1.1rem; color: var(--green-600); }
.trust__item--live { color: var(--green-700); font-weight: 600; }

/* Portrait */
/* HERO RIGHT IMAGE */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-width: 0;

  overflow: visible;
}

.portrait {
  width: 112%;
  max-width: 720px;

  margin: 0;
  padding: 0;

  border: none !important;
  border-radius: 0 !important;

  background: transparent !important;

  box-shadow: none !important;
  filter: none !important;

  overflow: visible;
}

.hero__portrait-img {
  display: block;

  width: 100%;
  height: auto;

  max-width: none;

  object-fit: contain;
  object-position: center;

  border: none !important;
  border-radius: 0 !important;

  outline: none !important;

  box-shadow: none !important;
  filter: none !important;

  background: transparent !important;
}

/* Make hero columns give a little more room to the image */
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
}

/* Tablet */
@media (max-width: 991px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    margin-top: 2rem;
  }

  .portrait {
    width: 100%;
    max-width: 680px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .portrait {
    width: 108%;
    max-width: none;
  }

  .hero__portrait-img {
    width: 100%;
  }
}

/* Floating widgets */
.widget {
  position: absolute; z-index: 3;
  padding: .9rem 1rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--sh-md);
}
.widget__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .35rem; }
.widget__label { font-size: .7rem; font-weight: 700; color: var(--slate-500); letter-spacing: -.005em; }
.widget__value { font-size: 1.6rem; font-weight: 800; color: var(--ink-900); letter-spacing: -.035em; line-height: 1.1; margin: 0; }
.widget__value--sm { font-size: 1.3rem; }

.widget--leads { top: 28%; left: -5%; width: 11.5rem; }
.widget--flow { bottom: 7%; right: -8%; width: 14.5rem; }
.widget--pipeline { top: 5%; right: -5%; width: 10rem; }

.spark { display: flex; align-items: flex-end; gap: .22rem; height: 2rem; margin-top: .5rem; }
.spark span {
  flex: 1; height: var(--h); border-radius: 3px;
  background: linear-gradient(to top, rgba(34, 197, 94, .25), var(--green-500));
}
.bar { height: .4rem; border-radius: var(--r-pill); background: rgba(15, 23, 42, .08); margin-top: .55rem; overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--green-600), var(--green-400)); }

.flow { display: grid; gap: .45rem; margin-top: .35rem; }
.flow__node {
  position: relative;
  display: flex; align-items: center; gap: .45rem;
  padding: .4rem .55rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, .04);
  font-size: .75rem; font-weight: 600; color: var(--ink-800);
}
.flow__node .icon { width: .95rem; height: .95rem; color: var(--slate-500); }
.flow__node + .flow__node::before {
  content: ""; position: absolute; left: 1.05rem; top: -.45rem; height: .45rem;
  border-left: 1.5px dashed rgba(34, 197, 94, .55);
}
.flow__node--done { background: rgba(34, 197, 94, .12); color: var(--green-700); }
.flow__node--done .icon { color: var(--green-600); }

/* ---------- 08 Trusted by ---------------------------------- */
.logos {
  padding-block: clamp(2rem, 4vw, 3rem);
  background: var(--white);
  border-block: 1px solid var(--slate-200);
}
.logos__caption {
  text-align: center; font-size: .8125rem; font-weight: 600;
  color: var(--slate-500); margin-bottom: 1.35rem;
}
.logos__row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(1.2rem, 4vw, 3rem);
}
.logo {
  font-size: clamp(.95rem, .85rem + .4vw, 1.2rem);
  font-weight: 800; letter-spacing: -.03em;
  color: var(--slate-400);
  filter: grayscale(1);
  transition: color var(--t), filter var(--t), transform var(--t);
}
.logo:hover { color: var(--green-600); filter: none; transform: translateY(-2px); }

/* ---------- 09 About --------------------------------------- */
.about { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.about__copy { min-width: 0; }
.about__copy .lede { margin-bottom: 1.1rem; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.8rem 0 2.2rem; }
.tag {
  padding: .4rem .85rem;
  border: 1px solid var(--card-border);
  border-radius: var(--r-pill);
  background: var(--white);
  font-size: .8125rem; font-weight: 600; color: var(--slate-600);
  transition: border-color var(--t), color var(--t), background-color var(--t);
}
.tag:hover { border-color: rgba(34, 197, 94, .5); color: var(--green-700); background: var(--green-050); }

.signature { display: grid; gap: .1rem; }
.signature__mark {
  font-family: "Caveat", "Segoe Script", "Bradley Hand", "Brush Script MT", cursive;
  font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem);
  font-weight: 600; line-height: 1.05;
  color: var(--ink-900);
}
.signature__line {
  width: clamp(9rem, 22vw, 13rem); height: 2px; margin: .35rem 0 .5rem;
  background: linear-gradient(90deg, var(--green-500), rgba(34, 197, 94, 0));
  border-radius: 2px;
}
.signature__role { font-size: .8125rem; color: var(--text-muted); font-weight: 600; }

.about__panel { min-width: 0; }
.panel {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--r-2xl);
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--sh-md);
  position: relative;
  overflow: hidden;
}
.panel::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green-600), var(--green-400), transparent);
}
.panel__title { font-size: 1.05rem; font-weight: 800; margin-bottom: 1rem; color: var(--ink-900); }
.panel__list { display: grid; gap: .1rem; margin-bottom: 1.5rem; }
.panel__list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--slate-200);
  font-size: .9rem;
}
.panel__list li:last-child { border-bottom: 0; }
.panel__k { color: var(--text-muted); }
.panel__v { color: var(--ink-900); font-weight: 700; text-align: right; }

/* ---------- 10 Expertise ----------------------------------- */
.expertise {
  display: grid; gap: clamp(.85rem, 1.6vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.expertise__card {
  padding: clamp(1.3rem, 2.4vw, 1.7rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--slate-200);
  background: var(--white);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.expertise__card .ico { margin-bottom: 1rem; }
.expertise__card p { font-size: .9rem; color: var(--text-muted); margin: 0; }
.expertise__card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, .4);
  box-shadow: var(--sh-md);
}

/* ---------- 11 Services ------------------------------------ */
.services {
  display: grid; gap: clamp(.9rem, 1.8vw, 1.35rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.service {
  position: relative;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border-radius: var(--r-2xl);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service::after {
  content: ""; position: absolute; inset: auto -30% -60% auto;
  width: 16rem; height: 16rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, .16), transparent 65%);
  opacity: 0; transition: opacity 300ms var(--e-soft);
  pointer-events: none;
}
.service:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: rgba(34, 197, 94, .35); }
.service:hover::after { opacity: 1; }
.service .ico { margin-bottom: 1.15rem; }
.service p { font-size: .9375rem; color: var(--text-muted); margin: 0; }

.cta-banner {
  position: relative; overflow: hidden;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  border-radius: var(--r-2xl);
  background: linear-gradient(120deg, var(--ink-900), var(--ink-950) 70%);
  color: #CBD5E1;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(1.25rem, 3vw, 2.5rem); flex-wrap: wrap;
  box-shadow: var(--sh-lg);
}
.cta-banner::before {
  content: ""; position: absolute; inset: -40% -10% auto auto;
  width: 26rem; height: 26rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, .28), transparent 62%);
  filter: blur(20px); pointer-events: none;
}
.cta-banner__copy { position: relative; z-index: 1; min-width: min(100%, 20rem); flex: 1 1 24rem; }
.cta-banner .h3 { color: var(--white); margin-bottom: .35rem; }
.cta-banner p { font-size: .9375rem; margin: 0; max-width: 52ch; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ---------- 12 Portfolio ----------------------------------- */
.portfolio { overflow: hidden; }
.portfolio__glow {
  position: absolute; top: 12%; left: 50%; transform: translateX(-50%);
  width: min(1100px, 120vw); height: 460px;
  background: radial-gradient(ellipse at center, rgba(22, 163, 74, .18), transparent 65%);
  filter: blur(40px); pointer-events: none;
}
.portfolio .container { position: relative; z-index: 1; }

.filters {
  display: flex; flex-wrap: wrap; gap: .45rem;
  margin-bottom: .9rem;
}
.filter {
  padding: .5rem 1.05rem;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .04);
  color: #94A3B8;
  font-size: .875rem; font-weight: 600;
  transition: color var(--t), background-color var(--t), border-color var(--t), box-shadow var(--t);
}
.filter:hover { color: #F1F5F9; border-color: rgba(148, 163, 184, .45); }
.filter.is-active {
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  border-color: transparent; color: var(--white);
  box-shadow: var(--sh-green);
}
.filters__status { font-size: .8125rem; color: var(--slate-500); margin: 0 0 1.75rem; min-height: 1.2em; }

.projects {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
}
.project {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-2xl);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.project:hover { transform: translateY(-5px); border-color: rgba(34, 197, 94, .4); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.project.is-hidden { display: none; }

.project__shot {
  display: block; position: relative; overflow: hidden;
  background: #0B1220;
  border-bottom: 1px solid var(--card-border);
  aspect-ratio: 8 / 5;
}
.project__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--e-out); }
.project:hover .project__shot img { transform: scale(1.035); }

.project__body { padding: clamp(1.25rem, 2.4vw, 1.6rem); display: flex; flex-direction: column; flex: 1; }
.project__industry { font-size: .75rem; font-weight: 700; color: var(--green-400); margin-bottom: .4rem; }
.project .h3 { margin-bottom: .9rem; }

.project__facts { margin: 0 0 1.25rem; display: grid; gap: .55rem; }
.project__facts dt {
  font-size: .7rem; font-weight: 700; color: var(--slate-500);
  margin-bottom: .1rem;
}
.project__facts dd { margin: 0; font-size: .875rem; line-height: 1.55; color: var(--text); }
.project__facts dd:last-of-type { color: #D9E2EC; font-weight: 600; }

.project__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }

.project--soon { border-style: dashed; background: transparent; }
.project__soon {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: .75rem; height: 100%;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.project__soon p { font-size: .9rem; color: var(--text-muted); margin: 0; }
.project__soon .btn { margin-top: .5rem; }

/* ---------- 13 Results ------------------------------------- */
.stats {
  display: flex; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
/* Mobile */
@media (max-width: 640px) {
  .stats {
    display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  }
}
.stat {
  position: relative;
  padding: clamp(1.4rem, 2.5vw, 1.9rem) clamp(1.2rem, 2vw, 1.6rem);
  border-radius: var(--r-xl);
  background: linear-gradient(170deg, var(--green-050), var(--white) 55%);
  border: 1px solid var(--slate-200);
}
.stat::before {
  content: ""; position: absolute; left: clamp(1.2rem, 2vw, 1.6rem); top: 0;
  width: 2.5rem; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
}
.stat__num {
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.4rem);
  font-weight: 800; line-height: 1; letter-spacing: -.045em;
  color: var(--ink-900); margin: 0 0 .35rem;
  font-variant-numeric: tabular-nums;
}
.stat__suffix { color: var(--green-600); }
.stat__label { font-weight: 700; color: var(--ink-900); margin: 0 0 .25rem; font-size: 1rem; }
.stat__note { font-size: .8125rem; color: var(--text-muted); margin: 0; }

/* ---------- 14 Testimonials -------------------------------- */
.carousel { position: relative; overflow: hidden; }
.carousel__track {
  display: flex; gap: clamp(1rem, 2vw, 1.5rem);
  transition: transform 480ms var(--e-out);
  touch-action: pan-y;
}
.carousel__slide { flex: 0 0 100%; min-width: 0; }
.carousel__nav { display: flex; gap: .5rem; }
.round-btn {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--ink-900);
  box-shadow: var(--sh-xs);
  transition: border-color var(--t), color var(--t), transform var(--t), box-shadow var(--t);
}
.round-btn:hover { border-color: var(--green-500); color: var(--green-600); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.round-btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }

.quote {
  position: relative; height: 100%;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  border-radius: var(--r-2xl);
  display: flex; flex-direction: column;
}
.quote__mark {
  width: 2.4rem; height: 2.4rem;
  fill: rgba(34, 197, 94, .14); stroke: none;
  position: absolute; top: 1.1rem; right: 1.2rem;
}
.stars { display: flex; gap: .15rem; margin-bottom: .9rem; color: var(--green-500); }
.stars .icon { width: 1rem; height: 1rem; fill: currentColor; stroke: none; }
.quote blockquote { margin: 0 0 1.4rem; }
.quote blockquote p {
  font-size: clamp(1rem, .96rem + .25vw, 1.09rem);
  line-height: 1.62; color: var(--ink-800);
  letter-spacing: -.012em;
}
.quote__person { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.avatar {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%; flex: none;
  background: linear-gradient(140deg, var(--green-600), var(--green-400));
  color: var(--white); font-weight: 800; font-size: .875rem; letter-spacing: -.01em;
  box-shadow: 0 8px 18px -8px rgba(22, 163, 74, .6);
}
.quote__name { display: block; font-weight: 700; color: var(--ink-900); font-size: .9375rem; }
.quote__biz { display: block; font-size: .8125rem; color: var(--text-muted); }

.carousel__dots { display: flex; justify-content: center; gap: .45rem; margin-top: 1.75rem; }
.carousel__dot {
  width: .55rem; height: .55rem; padding: 0; border: 0; border-radius: 50%;
  background: var(--slate-200); transition: background-color var(--t), width var(--t);
}
.carousel__dot.is-active { width: 1.6rem; border-radius: var(--r-pill); background: var(--green-500); }

/* ---------- 15 Why DevScythe ------------------------------- */
.why { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.why__copy { min-width: 0; }

.compare {
  width: 100%; margin-top: 1.9rem;
  border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: .9rem;
  background: var(--white);
}
.compare th {
  text-align: left; padding: .9rem 1.05rem;
  font-size: .8125rem; font-weight: 700;
  background: var(--slate-050);
  color: var(--slate-500);
  border-bottom: 1px solid var(--slate-200);
}
.compare th:last-child { color: var(--green-700); background: var(--green-050); }
.compare td {
  padding: .85rem 1.05rem;
  border-bottom: 1px solid var(--slate-200);
  color: var(--text-muted);
  vertical-align: top;
}
.compare td:first-child { width: 44%; }
.compare td:last-child { color: var(--ink-900); font-weight: 600; background: rgba(240, 253, 244, .55); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .icon { width: 1rem; height: 1rem; display: inline-block; vertical-align: -.15rem; margin-right: .45rem; }
.compare__x { color: var(--slate-400); }
.compare__check { color: var(--green-600); }

.why__visual { min-width: 0; }
.why__visual img { width: 100%; filter: drop-shadow(0 30px 50px rgba(15, 23, 42, .18)); }

/* ---------- 16 FAQ ----------------------------------------- */
.faq { background: var(--ink-950); }
.accordion { display: grid; gap: .7rem; }
.accordion__item {
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .03);
  overflow: hidden;
  transition: border-color var(--t), background-color var(--t);
}
.accordion__item.is-open { border-color: rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .05); }
.accordion h3 { margin: 0; }
.accordion__btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1.1rem clamp(1.1rem, 2.5vw, 1.5rem);
  background: none; border: 0; text-align: left;
  color: #E2E8F0;
  font-size: clamp(.98rem, .94rem + .22vw, 1.08rem); font-weight: 700; letter-spacing: -.02em;
  transition: color var(--t);
}
.accordion__btn:hover { color: var(--white); }
.accordion__icon {
  position: relative; flex: none;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, .3);
  transition: transform 300ms var(--e-out), background-color var(--t), border-color var(--t);
}
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute; inset: 50% auto auto 50%;
  width: .7rem; height: 1.6px; border-radius: 2px;
  background: currentColor; transform: translate(-50%, -50%);
  transition: opacity 220ms var(--e-soft);
}
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.is-open .accordion__icon { background: var(--green-600); border-color: var(--green-600); color: var(--white); transform: rotate(180deg); }
.is-open .accordion__icon::after { opacity: 0; }
.accordion__panel {
  padding: 0 clamp(1.1rem, 2.5vw, 1.5rem) 1.25rem;
  overflow: hidden;
  transition: height 320ms var(--e-out);
}
.accordion__panel[hidden] { display: none; }
.accordion__panel p { color: #A3B0C2; font-size: .9375rem; max-width: 72ch; margin: 0; }

/* ---------- 17 Final CTA ----------------------------------- */
.final-cta {
  position: relative; overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7rem);
  text-align: center;
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(22, 163, 74, .22), transparent 65%),
    linear-gradient(180deg, var(--ink-900), var(--ink-950));
}
.waves { position: absolute; inset: auto 0 0; width: 100%; height: clamp(180px, 30vw, 320px); pointer-events: none; }
.final-cta__inner { position: relative; z-index: 1; }
.final-cta .h1 { color: var(--white); max-width: 18ch; margin-inline: auto; }
.final-cta .lede { color: #A3B0C2; margin-inline: auto; max-width: 56ch; }
.final-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; margin: 2rem 0 3rem; }
.final-cta .btn--outline { --btn-fg: #E2E8F0; }

.benefits {
  display: grid; gap: clamp(.85rem, 2vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  max-width: 56rem; margin-inline: auto;
}
.benefits li {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  padding: 1.1rem .75rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(255, 255, 255, .035);
  backdrop-filter: blur(8px);
  color: #E2E8F0; font-weight: 600; font-size: .9rem;
}

/* ---------- 18 Contact ------------------------------------- */
.contact { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact__info { position: relative; min-width: 0; }
.contact__info .lede { margin-bottom: 1.9rem; }

.contact__list { display: grid; gap: 1.1rem; margin-bottom: 2rem; }
.contact__list li { display: flex; align-items: center; gap: .9rem; }
.contact__k { display: block; font-size: .75rem; font-weight: 700; color: var(--text-muted); }
.contact__v { display: block; font-weight: 700; color: var(--ink-900); letter-spacing: -.015em; transition: color var(--t); }
a.contact__v:hover { color: var(--green-600); }

.socials { display: flex; gap: .5rem; margin-top: 1.5rem; }
.socials a {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  transition: color var(--t), border-color var(--t), transform var(--t), background-color var(--t);
}
.socials a:hover { color: var(--green-600); border-color: rgba(34, 197, 94, .5); background: rgba(34, 197, 94, .08); transform: translateY(-2px); }
.is-dark .socials a:hover { color: var(--green-400); }

.bizcard {
  margin-top: 2.5rem;
  width: min(100%, 22rem);
  padding: 1.35rem 1.5rem;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--ink-900), var(--ink-950));
  color: #CBD5E1;
  box-shadow: var(--sh-lg);
  border: 1px solid rgba(148, 163, 184, .18);
  position: relative; overflow: hidden;
}
.bizcard::before {
  content: ""; position: absolute; inset: -60% auto auto -20%;
  width: 16rem; height: 16rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, .3), transparent 62%);
  pointer-events: none;
}
.bizcard__top { position: relative; display: flex; align-items: center; gap: .55rem; margin-bottom: 1.4rem; }
.brand__mark--card { width: 1.9rem; height: 1.9rem; border-radius: 9px; }
.brand__mark--card svg { width: 1.2rem; height: 1.2rem; }
.bizcard__brand { font-weight: 800; color: var(--white); letter-spacing: -.03em; }
.bizcard__name { position: relative; font-size: 1.15rem; font-weight: 800; color: var(--white); letter-spacing: -.03em; margin: 0 0 .2rem; }
.bizcard__role { position: relative; font-size: .78rem; text-wrap: balance; margin: 0 0 1rem; color: #94A3B8; }
.bizcard__web { position: relative; font-size: .8125rem; font-weight: 700; color: var(--green-400); margin: 0; }

/* Form */
.contact__form-wrap { min-width: 0; }
.form { padding: clamp(1.4rem, 3vw, 2.1rem); border-radius: var(--r-2xl); box-shadow: var(--sh-md); }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: .8125rem; font-weight: 700; color: var(--ink-900); margin-bottom: .4rem; }
.field__opt { font-weight: 500; color: var(--text-muted); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-md);
  background: var(--slate-050);
  color: var(--ink-900);
  font-size: .9375rem;
  transition: border-color var(--t), box-shadow var(--t), background-color var(--t);
}
.field textarea { resize: vertical; min-height: 7rem; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.1rem; padding-right: 2.6rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-400); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white);
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .15);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #DC2626; background: #FEF2F2; }
.field__error { margin: .35rem 0 0; font-size: .78rem; color: #DC2626; font-weight: 600; min-height: 0; }

.form__status { margin: 1rem 0 0; font-size: .875rem; font-weight: 700; text-align: center; }
.form__status.is-ok { color: var(--green-700); }
.form__status.is-err { color: #DC2626; }
.form__note { margin: .9rem 0 0; font-size: .78rem; color: var(--text-muted); text-align: center; }

/* ---------- 19 Footer + back to top ------------------------ */
.footer { background: var(--ink-950); color: #94A3B8; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__inner { display: grid; gap: clamp(2rem, 4vw, 3.5rem); padding-bottom: 3rem; }
.footer__tag { font-size: .9rem; max-width: 38ch; margin: 1.1rem 0 0; }
.footer__nav { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.footer__title { font-size: .8125rem; font-weight: 700; color: var(--white); margin-bottom: .9rem; letter-spacing: -.01em; }
.footer__nav ul { display: grid; gap: .55rem; }
.footer__nav a { font-size: .9rem; color: #94A3B8; transition: color var(--t); }
.footer__nav a:hover { color: var(--green-400); }

.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, .14);
  font-size: .8125rem;
}
.footer__bottom p { margin: 0; }
.footer__legal { color: var(--slate-500); }

.to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 80;
  display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  color: var(--white);
  box-shadow: var(--sh-green);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 260ms var(--e-soft), transform 260ms var(--e-out), visibility 260ms, box-shadow var(--t);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { box-shadow: var(--sh-green-lg); transform: translateY(-3px); }

/* ---------- 20 Motion & reveal ----------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms var(--e-out), transform 620ms var(--e-out);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
[data-float] { animation: float-y 6s ease-in-out infinite; }
[data-float="2"] { animation-duration: 7.5s; animation-delay: -2s; }
[data-float="3"] { animation-duration: 6.8s; animation-delay: -4s; }
[data-float="4"] { animation-duration: 8s; animation-delay: -1s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  [data-float] { animation: none; }
}

/* ---------- 21 Breakpoints --------------------------------- */

/* Very small phones — 320px and up */
@media (max-width: 480px) {
  .badge { font-size: .75rem; padding: .4rem .8rem .4rem .65rem; }
}

@media (max-width: 380px) {
  :root { --gutter: 1rem; }
  .btn { padding: .72rem 1.1rem; font-size: .875rem; }
  .btn--lg { padding: .85rem 1.25rem; font-size: .9375rem; }
  .hero__actions .btn { width: 100%; }
  .filters { gap: .35rem; }
  .filter { padding: .45rem .8rem; font-size: .8125rem; }
}

/* Phones — stacked nav */
@media (max-width: 899px) {
  .nav__toggle { display: inline-flex; }

  .nav__links {
    position: fixed; inset: 80px 0 auto!important;
    z-index: 95;
    display: grid; gap: .25rem;
    padding: 1.1rem var(--gutter) 1.6rem;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: 0 24px 50px -30px rgba(15, 23, 42, .6);
    transform: translateY(-12px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 240ms var(--e-soft), transform 300ms var(--e-out), visibility 240ms;
  }
  .nav.is-open .nav__links {
    opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
  }
  .nav__link { padding: .8rem .9rem; font-size: 1rem; border-radius: var(--r-md); }
  .nav__cta { margin: .6rem 0 0; }
  .nav.is-open { background: rgba(255, 255, 255, .96); }

  .section__head--row { align-items: flex-start; }
  .carousel__nav { display: none; }
}

/* Small tablets */
@media (min-width: 640px) {
  .hero__actions .btn { min-width: 11rem; }
  .trust { grid-template-columns: repeat(4, auto); justify-content: start; column-gap: 1.75rem; }
  .trust__item--live { grid-column: 1 / -1; }
}

/* Tablets — two-up carousel */
@media (min-width: 768px) {
  .carousel__slide { flex: 0 0 calc((100% - clamp(1rem, 2vw, 1.5rem)) / 2); }
  .footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
}

/* Desktop — the layout opens up */
@media (min-width: 900px) {
  :root { --nav-h: 80px; }

  .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .hero__visual { padding-inline: 3rem; }

  .about { grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr); }
  .about__panel { position: sticky; top: calc(var(--nav-h) + 1.5rem); }

  .why { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }

  .contact { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
}

/* Large desktop */
@media (min-width: 1280px) {
  .expertise { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .projects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .carousel__slide { flex: 0 0 calc((100% - (clamp(1rem, 2vw, 1.5rem) * 2)) / 3); }
}

/* Very large screens and 4K — cap the measure, grow the air */
@media (min-width: 1600px) {
  :root { --maxw: 1360px; --section-y: 9rem; }
  .hero__visual { padding-inline: 0rem; }
}
@media (min-width: 2200px) {
  :root { --maxw: 1520px; }
  body { font-size: 1.125rem; }
  .widget__value { font-size: 1.8rem; }
}

/* Fine-tuning the floating widgets so they never sit off-canvas */
@media (max-width: 1100px) and (min-width: 900px) {
  .widget--leads { left: 0; }
  .widget--flow { right: -2%; }
  .widget--pipeline { right: 0; }
}
@media (max-width: 899px) {
  .hero__visual { max-width: 520px; margin-inline: auto; padding-inline: 1.25rem; }
  .widget--leads { top: 4%; left: -.5rem; width: 10.5rem; }
  .widget--flow { bottom: 25%; right: -.5rem; width: 13rem; }
  .widget--pipeline { display: none; }
}
@media (max-width: 480px) {
  .widget--leads { width: 9rem; padding: .7rem .8rem; }
  .widget--leads .widget__value { font-size: 1.3rem; }
  .widget--flow { width: 11.5rem; padding: .7rem .8rem; }
  .flow__node { font-size: .68rem; padding: .32rem .45rem; }
  .bizcard { margin-inline: auto; }
}

/* Print */
@media print {
  .nav, .to-top, .carousel__nav, .filters, .hero__glow, .hero__grid-lines, .waves { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; }
}
/* GHL embedded contact form */

.form--ghl {
  padding: 0 !important;
  overflow: hidden;
}

.form--ghl iframe {
  display: block;
  width: 100%;
  border: 0;
}
/* Dark MODE */
/* ==========================================================
   LIGHT / DARK MODE TOGGLE
   ========================================================== */

.theme-toggle {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0 4px;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle__track {
  position: relative;
  width: 64px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  border-radius: 999px;

  background: #eef2f1;
  border: 1px solid rgba(17, 32, 26, 0.12);

  transition:
    background .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

.theme-toggle:hover .theme-toggle__track {
  box-shadow: 0 0 0 4px rgba(32, 190, 90, .10);
}

.theme-toggle__icon {
  position: relative;
  z-index: 2;
  width: 15px;
  height: 15px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition:
    color .3s ease,
    opacity .3s ease;
}

.theme-toggle__sun {
  color: #11201A;
}

.theme-toggle__moon {
  color: #7c8581;
}

.theme-toggle__thumb {
  position: absolute;
  z-index: 1;

  width: 26px;
  height: 26px;

  left: 4px;
  top: 3px;

  border-radius: 50%;
  background: #ffffff;

  box-shadow:
    0 2px 6px rgba(0,0,0,.12),
    0 1px 2px rgba(0,0,0,.08);

  transition:
    transform .3s cubic-bezier(.4,0,.2,1),
    background .3s ease;
}


/* ================= DARK MODE ================= */

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="dark"] body {
  background: #07110d;
  color: #f3f7f5;
}

/* Navigation */

html[data-theme="dark"] .nav {
  background: rgba(7,17,13,.86);
  border-color: rgba(255,255,255,.08);
}

html[data-theme="dark"] .nav__link {
  color: #dce7e1;
}


/* Normal light sections */

html[data-theme="dark"] .section,
html[data-theme="dark"] .hero,
html[data-theme="dark"] .logos,
html[data-theme="dark"] .results {
  background-color: #07110d;
  color: #f3f7f5;
}


/* Alternate sections */

html[data-theme="dark"] .section--alt {
  background: #0b1712;
}


/* Headings */

html[data-theme="dark"] .h2,
html[data-theme="dark"] .h3,
html[data-theme="dark"] .h4,
html[data-theme="dark"] .hero__title {
  color: #f7faf8;
}


/* Paragraphs */

html[data-theme="dark"] p,
html[data-theme="dark"] .lede,
html[data-theme="dark"] .hero__lede {
  color: #aebdb5;
}


/* Cards */

html[data-theme="dark"] .card,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .expertise__card {
  background: #0f1d17;
  border-color: rgba(255,255,255,.08);
  color: #f3f7f5;
}


/* Tags */

html[data-theme="dark"] .tag {
  background: rgba(32,190,90,.09);
  border-color: rgba(32,190,90,.22);
  color: #b8f4cd;
}


/* Logos */

html[data-theme="dark"] .logo {
  color: #d8e2dd;
}


/* Tables */

html[data-theme="dark"] .compare td,
html[data-theme="dark"] .compare th {
  border-color: rgba(255,255,255,.08);
}


/* Ghost buttons */

html[data-theme="dark"] .btn--ghost {
  color: #ffffff;
  border-color: rgba(255,255,255,.18);
}

html[data-theme="dark"] .btn--ghost:hover {
  background: rgba(255,255,255,.06);
}


/* Toggle itself */

html[data-theme="dark"] .theme-toggle__track {
  background: #13251d;
  border-color: rgba(32,190,90,.35);
}

html[data-theme="dark"] .theme-toggle__thumb {
  transform: translateX(30px);
  background: #20BE5A;
}

html[data-theme="dark"] .theme-toggle__sun {
  color: #718078;
}

html[data-theme="dark"] .theme-toggle__moon {
  color: #ffffff;
}


/* Smooth theme transition */

body,
.nav,
.section,
.section--alt,
.card,
.panel,
.expertise__card,
.btn,
.tag {
  transition:
    background-color .3s ease,
    color .3s ease,
    border-color .3s ease;
}


/* Keyboard accessibility */

.theme-toggle:focus-visible {
  outline: 3px solid rgba(32,190,90,.4);
  outline-offset: 4px;
  border-radius: 999px;
}
/* DARK MODE SWITCH COLOR */
/* ==========================================================
   CONSOLIDATED LIGHT / DARK MODE
   Brand accent: #20BE5A
   ========================================================== */

/* ----------------------------------------------------------
   LOGO SWITCHING
   ---------------------------------------------------------- */
.brand__logo--light { display: block; }
.brand__logo--dark  { display: none; }

html[data-theme="dark"] .brand__logo--light { display: none; }
html[data-theme="dark"] .brand__logo--dark  { display: block; }

/* ----------------------------------------------------------
   DARK MODE TOKENS
   ---------------------------------------------------------- */
html[data-theme="dark"] {
  color-scheme: dark;

  --surface: #07110d;
  --surface-2: #0b1712;
  --card: #0f1d17;
  --card-border: rgba(255, 255, 255, .10);

  --text-strong: #ffffff;
  --text: #ffffff;
  --text-muted: #c5d0ca;
  --line: rgba(255, 255, 255, .10);

  /* Components that still reference slate tokens directly */
  --slate-600: #ffffff;
  --slate-500: #c5d0ca;
  --slate-400: #9fb0a7;
}

html[data-theme="dark"] body {
  background: #07110d;
  color: var(--text);
}

/* ----------------------------------------------------------
   GENERAL DARK-MODE SURFACES
   ---------------------------------------------------------- */
html[data-theme="dark"] .section {
  background: #07110d;
}

html[data-theme="dark"] .section--alt {
  background: #0b1712;
}

html[data-theme="dark"] .logos {
  background: #07110d;
  border-color: rgba(255, 255, 255, .08);
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .expertise__card {
  background: #0f1d17;
  border-color: rgba(255, 255, 255, .08);
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .card p,
html[data-theme="dark"] .card li,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .panel p,
html[data-theme="dark"] .panel span,
html[data-theme="dark"] .expertise__card,
html[data-theme="dark"] .expertise__card p,
html[data-theme="dark"] .about__copy,
html[data-theme="dark"] .about__copy p,
html[data-theme="dark"] .signature__mark,
html[data-theme="dark"] .signature__role,
html[data-theme="dark"] .logos__caption,
html[data-theme="dark"] .logo,
html[data-theme="dark"] .trust__item {
  color: var(--text);
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6,
html[data-theme="dark"] strong,
html[data-theme="dark"] .h1,
html[data-theme="dark"] .h2,
html[data-theme="dark"] .h3,
html[data-theme="dark"] .h4,
html[data-theme="dark"] .hero__title,
html[data-theme="dark"] .panel__title {
  color: var(--text-strong);
}

html[data-theme="dark"] .lede,
html[data-theme="dark"] .hero__lede {
  color: var(--text);
}

/* ----------------------------------------------------------
   NAVIGATION
   ---------------------------------------------------------- */
html[data-theme="dark"] .nav {
  color: #ffffff;
}

html[data-theme="dark"] .nav.is-stuck {
  background: rgba(7, 17, 13, .90);
  border-bottom-color: rgba(255, 255, 255, .08);
  box-shadow: 0 8px 30px -22px rgba(0, 0, 0, .8);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

html[data-theme="dark"] .nav__link {
  color: #ffffff;
}

html[data-theme="dark"] .nav__link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
}

html[data-theme="dark"] .nav__link.is-current {
  color: #20BE5A;
}

html[data-theme="dark"] .nav__toggle {
  background: rgba(15, 29, 23, .92);
  color: #ffffff;
  border-color: rgba(255, 255, 255, .12);
}

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
html[data-theme="dark"] .hero {
  background:
    radial-gradient(900px 480px at 88% -8%, rgba(32, 190, 90, .15), transparent 62%),
    radial-gradient(700px 420px at 6% 10%, rgba(32, 190, 90, .08), transparent 60%),
    #07110d;
}

html[data-theme="dark"] .hero__grid-lines {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px);
}

html[data-theme="dark"] .badge {
  color: #9ff0bc;
  background: rgba(32, 190, 90, .08);
  border-color: rgba(32, 190, 90, .24);
}

/* ----------------------------------------------------------
   TAGS
   ---------------------------------------------------------- */
html[data-theme="dark"] .tag {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .10);
  color: #ffffff;
}

html[data-theme="dark"] .tag:hover {
  background: rgba(32, 190, 90, .12);
  border-color: rgba(32, 190, 90, .45);
  color: #ffffff;
}

/* ----------------------------------------------------------
   FORM FIELDS
   ---------------------------------------------------------- */
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  background: #0f1d17;
  color: #ffffff;
  border-color: rgba(255, 255, 255, .12);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: rgba(255, 255, 255, .55);
}

html[data-theme="dark"] input:focus,
html[data-theme="dark"] textarea:focus,
html[data-theme="dark"] select:focus {
  border-color: #20BE5A;
}

/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */
html[data-theme="dark"] .btn--ghost {
  --btn-bg: rgba(255, 255, 255, .05);
  --btn-fg: #ffffff;
  --btn-bd: rgba(255, 255, 255, .14);
}

html[data-theme="dark"] .btn--ghost:hover {
  --btn-bg: rgba(255, 255, 255, .10);
  --btn-bd: rgba(32, 190, 90, .55);
}

html[data-theme="dark"] .btn--outline {
  --btn-fg: #ffffff;
  --btn-bd: rgba(255, 255, 255, .18);
}

html[data-theme="dark"] .btn--quiet {
  --btn-fg: #ffffff;
  --btn-bd: rgba(255, 255, 255, .14);
}

/* ----------------------------------------------------------
   THEME TOGGLE
   ---------------------------------------------------------- */
html[data-theme="dark"] .theme-toggle__track {
  background: #13251d;
  border-color: rgba(32, 190, 90, .35);
}

html[data-theme="dark"] .theme-toggle__thumb {
  transform: translateX(30px);
  background: #20BE5A;
}

html[data-theme="dark"] .theme-toggle__sun {
  color: rgba(255, 255, 255, .45);
}

html[data-theme="dark"] .theme-toggle__moon {
  color: #ffffff;
}

/* ==========================================================
   RESULTS SECTION
   Dark section + intentionally LIGHT statistic cards
   ========================================================== */
html[data-theme="dark"] #results {
  background: #07110d !important;
}

html[data-theme="dark"] #results .section__head .h2 {
  color: #ffffff !important;
}

html[data-theme="dark"] #results .section__head .lede {
  color: #c5d0ca !important;
}

/* The real HTML uses .stat, .stat__num, .stat__label and .stat__note. */
html[data-theme="dark"] #results .stat {
  background: linear-gradient(170deg, #f0fdf4, #ffffff 55%) !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;

  /* Local light-card tokens: prevents global dark tokens from leaking in. */
  --text-strong: #0f172a;
  --text: #475569;
  --text-muted: #64748b;
}

html[data-theme="dark"] #results .stat__num,
html[data-theme="dark"] #results .stat__num [data-count] {
  color: #0f172a !important;
  opacity: 1 !important;
}

html[data-theme="dark"] #results .stat__suffix {
  color: #20BE5A !important;
  opacity: 1 !important;
}

html[data-theme="dark"] #results .stat__label {
  color: #0f172a !important;
  opacity: 1 !important;
  visibility: visible !important;
}

html[data-theme="dark"] #results .stat__note {
  color: #64748b !important;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-text-fill-color: #64748b !important;
}

html[data-theme="dark"] #results .stat::before {
  background: linear-gradient(90deg, #20BE5A, #4ade80) !important;
}

/* ==========================================================
   MOBILE + TABLET NAV
   Base site switches to stacked nav at 899px.
   ========================================================== */
@media (max-width: 899px) {
  html[data-theme="dark"] .nav__links {
    background: #07110d00 !important;
    color: #ffffff !important;
    border-bottom-color: rgba(255, 255, 255, .08) !important;
  }

  html[data-theme="dark"] .nav.is-open,
  html[data-theme="dark"] .nav__inner {
    background: #07110d00 !important;
  }

  html[data-theme="dark"] .nav__links .nav__link {
    color: #ffffff !important;
  }

  html[data-theme="dark"] .nav__links .nav__link:hover,
  html[data-theme="dark"] .nav__links .nav__link.is-current {
    color: #20BE5A !important;
    background: rgba(32, 190, 90, .08) !important;
  }

  html[data-theme="dark"] .nav__cta,
  html:not([data-theme="dark"]) .nav__cta {
    width: 100%;
    margin: .6rem 0 0 !important;
    background: #20BE5A !important;
    color: #ffffff !important;
    border-color: #20BE5A !important;
  }

  html[data-theme="dark"] .nav__toggle {
    background: #0d1b15 !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, .16) !important;
  }

  html[data-theme="dark"] .nav__toggle svg {
    color: #ffffff !important;
    stroke: currentColor;
  }

  html[data-theme="dark"] .nav__scrim {
    background: rgba(0, 0, 0, .65) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  html:not([data-theme="dark"]) .nav__links {
    background: rgba(255, 255, 255, .98) !important;
    color: #11201A !important;
    border-bottom-color: rgba(17, 32, 26, .10) !important;
  }

  html:not([data-theme="dark"]) .nav.is-open {
    background: rgba(255, 255, 255, .98) !important;
  }

  html:not([data-theme="dark"]) .nav__links .nav__link {
    color: #11201A !important;
  }

  html:not([data-theme="dark"]) .nav__links .nav__link:hover,
  html:not([data-theme="dark"]) .nav__links .nav__link.is-current {
    color: #20BE5A !important;
    background: rgba(32, 190, 90, .07) !important;
  }

  html:not([data-theme="dark"]) .nav__toggle {
    background: #ffffff !important;
    color: #11201A !important;
    border-color: rgba(17, 32, 26, .12) !important;
  }

  .theme-toggle {
    justify-self: center;
    margin: .75rem auto .15rem;
  }
}

/* ----------------------------------------------------------
   SMOOTH THEME TRANSITIONS
   ---------------------------------------------------------- */
body,
.nav,
.hero,
.section,
.section--alt,
.logos,
.card,
.panel,
.expertise__card,
.stat,
.tag,
input,
textarea,
select {
  transition:
    background-color .3s ease,
    border-color .3s ease,
    color .3s ease;
}
/* ==========================================================
   TESTIMONIALS — DARK MODE TEXT FIX
   ========================================================== */

/* Author name */
html[data-theme="dark"] .quote__name {
  color: #ffffff !important;
}

/* Company / business name */
html[data-theme="dark"] .quote__biz {
  color: #b8c5bf !important;
}

/* Testimonial body */
html[data-theme="dark"] .quote blockquote p {
  color: #ffffff !important;
}

/* Testimonial card */
html[data-theme="dark"] .quote {
  color: #ffffff;
}
/* ==========================================================
   CONTACT SECTION — DARK MODE TEXT FIX
   ========================================================== */

/* Email / Phone / Based in labels */
html[data-theme="dark"] #contact .contact__k {
  color: #b8c5bf !important;
  opacity: 1 !important;
}

/* Email address / Phone number / Location */
html[data-theme="dark"] #contact .contact__v {
  color: #ffffff !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Email + phone links */
html[data-theme="dark"] #contact a.contact__v {
  color: #ffffff !important;
}

/* Hover on email / phone */
html[data-theme="dark"] #contact a.contact__v:hover {
  color: #20BE5A !important;
  -webkit-text-fill-color: #20BE5A !important;
}

/* Contact icons */
html[data-theme="dark"] #contact .contact__list .ico {
  color: #20BE5A !important;
}

/* Section description */
html[data-theme="dark"] #contact .lede {
  color: #d4ddd8 !important;
}