/* ============================================================
   SYNAPTIX — "PRECISION" · TECHNICAL LIGHT EDITORIAL THEME
   Off-white bone base · near-black ink · single cobalt accent
   Space Grotesk display · IBM Plex Mono labels · Inter body
   Swiss grid · hairline rules · real SVG icons · zero blur/glow
   Built 2026-11-17.  Scoped under body.theme-precision.
   Preview:  ?theme=precision
   ------------------------------------------------------------
   Loads the base layout/responsive foundation, then fully
   re-defines the colour system + restructures key sections so
   the live warm theme is never affected. Fast by construction:
   no backdrop-filter, no ambient glows, no mouse-tracking paint.
   ============================================================ */
@import url('style-base.css');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@400;450;500;600;700&display=swap');

/* ------------------------------------------------------------
   1. PALETTE  (redefined globally — this file only loads for
   the precision theme, so inline var(--…) adapt automatically)
   ------------------------------------------------------------ */
:root{
  --bg-base:#f5f5f1;          /* bone / off-white */
  --bg-surface:#ffffff;       /* panels & cards   */
  --bg-elevated:#edede7;
  --bg-ink:#101216;           /* inverted sections */

  --ink:#121417;              /* near-black workhorse */
  --text-main:#14171a;
  --text-muted:#565c66;
  --faint:#8b909a;

  --line:#e5e5de;             /* hairline */
  --line-strong:#d6d6cd;

  --accent:#5668e6;           /* electric cobalt */
  --accent-deep:#3b4bc4;
  --accent-tint:rgba(86,104,230,.07);
  --accent-line:rgba(86,104,230,.28);

  /* remap base tokens so inherited inline styles read correctly */
  --primary:#5668e6;          /* small accent marks  */
  --primary-light:#14171a;    /* link text = ink     */
  --secondary:#565c66;
  --tertiary:#8b909a;
  --glass-bg:#ffffff;
  --glass-border:#e5e5de;
  --border-color:#d6d6cd;
  --gradient:linear-gradient(90deg,#5668e6,#5668e6);
  --gradient-glow:none;

  --radius-sm:8px; --radius-md:12px; --radius-lg:16px;
  --font-heading:'Space Grotesk',-apple-system,BlinkMacSystemFont,sans-serif;
  --font-body:'Inter',system-ui,sans-serif;
  --font-mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,monospace;

  --shadow-sm:0 1px 2px rgba(18,20,23,.05);
  --shadow-card:0 1px 0 var(--line), 0 24px 48px -32px rgba(18,20,23,.30);
  --shadow-pop:0 30px 60px -28px rgba(18,20,23,.38);
}

/* ------------------------------------------------------------
   2. BASE SURFACE — flat, fast, no ambient glows
   ------------------------------------------------------------ */
body.theme-precision{
  background:var(--bg-base);
  color:var(--text-main);
  font-family:var(--font-body);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
/* kill the dark theme's blurred ambient orbs entirely */
body.theme-precision::before,
body.theme-precision::after{display:none!important;content:none!important}

body.theme-precision ::selection{background:var(--accent);color:#fff}

/* ------------------------------------------------------------
   3. TYPOGRAPHY — confident display + mono meta
   ------------------------------------------------------------ */
body.theme-precision h1,
body.theme-precision h2,
body.theme-precision h3,
body.theme-precision h4,
body.theme-precision .logo{
  font-family:var(--font-heading);
  color:var(--text-main);
  letter-spacing:-.02em;font-weight:600;
}
body.theme-precision h1{
  font-weight:500;line-height:1.02;letter-spacing:-.035em;
  font-size:clamp(2.7rem,6.4vw,5.25rem);color:var(--ink);
}
body.theme-precision p{font-family:var(--font-body);color:var(--text-muted)}

/* the gradient-text spans → solid ink with a cobalt underline accent */
body.theme-precision .text-gradient,
body.theme-precision .text-gradient *{
  -webkit-text-fill-color:currentColor!important;color:var(--ink)!important;
  background:none!important;
}
body.theme-precision h1 .text-gradient,
body.theme-precision h2 .text-gradient{
  color:var(--accent)!important;position:relative;
}
/* blinking typewriter caret → solid accent block */
body.theme-precision .typewrite>.wrap{
  border-right:.09em solid var(--accent);
}

/* ------------------------------------------------------------
   4. SECTION HEADERS — mono numbered eyebrows + hairline
   ------------------------------------------------------------ */
body.theme-precision main{counter-reset:pc-sec}
body.theme-precision .section{padding:7rem 0}
/* every major block carries exactly ONE top hairline — no doubling */
body.theme-precision .section,
body.theme-precision .sx-logos,
body.theme-precision .sx-stats,
body.theme-precision .sx-guar{border-top:1px solid var(--line)}
body.theme-precision .section-title{
  text-align:left;font-size:clamp(1.9rem,3.6vw,2.9rem);
  letter-spacing:-.025em;margin-bottom:.4rem;position:relative;
}
body.theme-precision .section-title::before{
  counter-increment:pc-sec;content:"[ 0" counter(pc-sec) " ]";
  display:block;font-family:var(--font-mono);font-weight:500;
  font-size:.72rem;letter-spacing:.22em;color:var(--accent);
  margin-bottom:1.1rem;text-transform:uppercase;
}
body.theme-precision .section-subtitle{
  text-align:left;margin:0;max-width:46ch;color:var(--text-muted);
  font-size:1.05rem;
}

/* ------------------------------------------------------------
   5. NAVBAR — transparent → crisp white hairline on scroll
   ------------------------------------------------------------ */
body.theme-precision .navbar.scrolled{
  background:rgba(245,245,241,.86);
  -webkit-backdrop-filter:saturate(120%) blur(6px);
  backdrop-filter:saturate(120%) blur(6px);
  border-bottom:1px solid var(--line);box-shadow:none;
}
body.theme-precision .logo{font-weight:700;letter-spacing:-.04em;color:var(--ink)}
body.theme-precision .logo .dot{color:var(--accent)}
body.theme-precision .nav-links a{color:var(--text-muted);font-weight:500}
body.theme-precision .nav-links a:hover{color:var(--ink)}
body.theme-precision .nav-links a::after{background:var(--accent);height:1.5px}
body.theme-precision .menu-toggle span{background:var(--ink)}
@media(max-width:768px){
  body.theme-precision .nav-links{background:rgba(245,245,241,.98);backdrop-filter:blur(8px)}
  body.theme-precision .nav-links a{color:var(--ink)}
}

/* ------------------------------------------------------------
   6. HERO — editorial left type + technical capability panel
   ------------------------------------------------------------ */
body.theme-precision .hero{min-height:92vh;padding-top:9rem}
body.theme-precision .hero-content>p{color:var(--text-muted);max-width:40ch;font-size:1.2rem}

/* eyebrow pill → squared mono tag */
body.theme-precision .hero .trust-badge{
  background:var(--bg-surface)!important;border:1px solid var(--line)!important;
  border-radius:6px!important;padding:6px 12px!important;box-shadow:var(--shadow-sm);
  font-family:var(--font-mono);
}
body.theme-precision .hero .trust-badge span:first-child{color:var(--accent)!important}
body.theme-precision .hero .trust-badge span:last-child{
  color:var(--ink)!important;letter-spacing:.12em!important;font-size:.72rem!important;
  font-weight:500!important;font-family:var(--font-mono);
}
/* trust signals: cobalt ticks, mono labels */
body.theme-precision .trust-signals{gap:1.6rem!important;color:var(--text-muted)!important}
body.theme-precision .trust-signals span{color:var(--accent)!important}
body.theme-precision .trust-signals>div{font-family:var(--font-mono);font-size:.78rem!important;letter-spacing:.01em}

/* disable the floating-badge cloud + orb (JS replaces them with a panel;
   these are the no-JS fallback so nothing looks broken) */
body.theme-precision .glow-orb{display:none!important}
body.theme-precision .floating-badge{
  position:relative!important;inset:auto!important;animation:none!important;
  display:flex!important;margin:.5rem 0;background:var(--bg-surface)!important;
  border:1px solid var(--line)!important;border-radius:8px!important;
  box-shadow:var(--shadow-sm)!important;color:var(--ink)!important;
}
body.theme-precision .service-pills-container{flex-direction:column;justify-content:center;gap:.4rem}

/* --- injected technical panel (.pc-panel) --- */
body.theme-precision .pc-panel{
  width:100%;max-width:440px;background:var(--bg-surface);
  border:1px solid var(--line-strong);border-radius:14px;overflow:hidden;
  box-shadow:var(--shadow-pop);font-family:var(--font-mono);
}
body.theme-precision .pc-panel-head{
  display:flex;align-items:center;gap:7px;padding:.85rem 1.1rem;
  border-bottom:1px solid var(--line);background:#fbfbf8;
}
body.theme-precision .pc-dot{width:10px;height:10px;border-radius:50%;background:var(--line-strong)}
body.theme-precision .pc-dot:nth-child(1){background:#e4b7a0}
body.theme-precision .pc-dot:nth-child(2){background:#e6d6a8}
body.theme-precision .pc-dot:nth-child(3){background:#bcd3b4}
body.theme-precision .pc-panel-title{
  margin-left:auto;font-size:.72rem;color:var(--faint);letter-spacing:.04em;
}
body.theme-precision .pc-caps{list-style:none;margin:0;padding:0}
body.theme-precision .pc-caps li+li{border-top:1px solid var(--line)}
body.theme-precision .pc-caps a{
  display:flex;align-items:center;gap:1rem;padding:1.05rem 1.2rem;color:var(--ink);
  transition:background .25s ease,color .25s ease;
}
body.theme-precision .pc-caps a:hover{background:var(--accent-tint);color:var(--accent-deep)}
body.theme-precision .pc-ic{
  flex:0 0 38px;height:38px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line-strong);border-radius:8px;color:var(--accent);background:#fff;
}
body.theme-precision .pc-ic svg{width:19px;height:19px}
body.theme-precision .pc-cap-name{
  flex:1;font-family:var(--font-body);font-weight:550;font-size:.98rem;letter-spacing:-.01em;
}
body.theme-precision .pc-cap-no{font-size:.74rem;color:var(--faint);letter-spacing:.08em}
body.theme-precision .pc-caps a:hover .pc-cap-no{color:var(--accent)}
body.theme-precision .pc-panel-foot{
  display:flex;justify-content:space-between;padding:.8rem 1.2rem;
  border-top:1px solid var(--line);background:#fbfbf8;
  font-size:.72rem;color:var(--faint);letter-spacing:.03em;
}
body.theme-precision .pc-panel-foot b{color:var(--accent)}
@media(max-width:992px){
  body.theme-precision .hero-visual{height:auto;margin-top:1.5rem}
  body.theme-precision .pc-panel{max-width:520px;margin:0 auto}
}

/* ------------------------------------------------------------
   7. BUTTONS — solid ink, flips to cobalt on hover (no glow)
   ------------------------------------------------------------ */
body.theme-precision .btn{
  font-family:var(--font-body);font-weight:600;border-radius:8px;
  padding:.95rem 1.7rem;letter-spacing:-.01em;overflow:visible;
}
body.theme-precision .btn::before{display:none!important}
body.theme-precision .btn-primary{
  background:var(--ink)!important;color:#fff!important;border:1px solid var(--ink);
  box-shadow:var(--shadow-sm)!important;
}
body.theme-precision .btn-primary:hover{
  background:var(--accent)!important;border-color:var(--accent);transform:translateY(-2px);
  box-shadow:0 14px 30px -14px var(--accent-line)!important;
}
body.theme-precision .btn-outline{
  background:transparent;border:1px solid var(--line-strong);color:var(--ink);
}
body.theme-precision .btn-outline:hover{
  background:var(--ink);border-color:var(--ink);color:#fff;transform:translateY(-2px);
}

/* ------------------------------------------------------------
   8. CARDS — flat white, hairline, lift + accent edge on hover
   ------------------------------------------------------------ */
body.theme-precision .glass{
  background:var(--bg-surface)!important;backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;border:1px solid var(--line)!important;
  border-radius:12px;box-shadow:var(--shadow-sm);
}
body.theme-precision .card{
  background:var(--bg-surface)!important;border:1px solid var(--line)!important;
  border-radius:12px;box-shadow:var(--shadow-sm);
  transition:transform .35s cubic-bezier(.16,1,.3,1),border-color .3s ease,box-shadow .35s ease;
}
body.theme-precision .card:hover{
  transform:translateY(-4px);border-color:var(--accent-line)!important;
  box-shadow:var(--shadow-card);
}
/* neutralise the dark mouse-spotlight paint (perf + wrong colour) */
body.theme-precision .card::before{display:none!important}
body.theme-precision .card h3{font-family:var(--font-heading);color:var(--ink);font-weight:600}
body.theme-precision .card p{color:var(--text-muted)}
body.theme-precision .card-link{
  color:var(--ink)!important;text-transform:none;letter-spacing:0;font-size:.95rem;font-weight:600;
}
body.theme-precision .card-link span{color:var(--accent)!important}
body.theme-precision .card-link:hover{color:var(--accent)!important}

/* icon → bordered square chip holding an inline SVG (set by JS) */
body.theme-precision .card-icon{
  width:52px;height:52px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line-strong);border-radius:10px;background:#fff;
  color:var(--accent);font-size:0!important;margin-bottom:1.4rem;filter:none!important;
  box-shadow:var(--shadow-sm);
}
body.theme-precision .card-icon svg{width:24px;height:24px}

/* ------------------------------------------------------------
   9. SERVICES — carousel → clean responsive grid, numbered
   ------------------------------------------------------------ */
body.theme-precision #services .carousel-nav{display:none!important}
body.theme-precision #services .services-carousel-wrapper{overflow:visible!important}
/* flex row: an opening card grows & lifts on its own; siblings stay compact */
body.theme-precision #services .services-carousel{
  display:flex!important;flex-wrap:wrap;align-items:flex-start!important;
  gap:1.25rem;overflow:visible!important;scroll-snap-type:none!important;
  padding-bottom:0!important;counter-reset:pc-svc;
}
body.theme-precision #services .services-carousel .card{
  flex:1 1 220px!important;min-width:0!important;max-width:calc(25% - 0.94rem)!important;
  margin:0!important;scroll-snap-align:none!important;padding:2rem 1.75rem;position:relative;
  display:flex!important;flex-direction:column;
  transition:transform .35s cubic-bezier(.16,1,.3,1),box-shadow .35s ease,border-color .3s ease;
}
body.theme-precision #services .services-carousel .card::after{
  counter-increment:pc-svc;content:"/0" counter(pc-svc);
  position:absolute;top:1.6rem;right:1.6rem;
  font-family:var(--font-mono);font-size:.74rem;color:var(--faint);letter-spacing:.06em;
}
body.theme-precision #services .card h3{
  font-size:1.3rem;line-height:1.22;margin:0 0 .2rem;letter-spacing:-.015em;
  min-height:2.44em;    /* reserve 2 lines so 1-line titles align with 2-line ones */
  display:flex;align-items:flex-start;
}
/* COLLAPSED: description hidden, Learn More sits neatly under the title */
body.theme-precision #services .card p{
  max-height:0;opacity:0;overflow:hidden;margin:0!important;
  font-size:.92rem;line-height:1.62;color:var(--text-muted);
  hyphens:none;-webkit-hyphens:none;text-wrap:pretty;
  transition:max-height .5s cubic-bezier(.16,1,.3,1),opacity .35s ease,margin .5s cubic-bezier(.16,1,.3,1);
}
body.theme-precision #services .card .card-link{margin-top:1.15rem!important;}
/* UNCOLLAPSE — card lifts & elevates, description eases out smoothly */
body.theme-precision #services .card:hover,
body.theme-precision #services .card:focus-within{
  border-color:var(--accent-line)!important;z-index:5;
  transform:translateY(-4px);box-shadow:var(--shadow-card);
}
body.theme-precision #services .card:hover p,
body.theme-precision #services .card:focus-within p{
  max-height:20rem;opacity:1;margin:1rem 0 1.15rem!important;
}
/* touch / small screens: no hover → always open, one per row */
@media (hover:none),(max-width:999px){
  body.theme-precision #services .services-carousel .card{flex:1 1 100%!important;max-width:100%!important;}
  body.theme-precision #services .card h3{min-height:0;}
  body.theme-precision #services .card p{max-height:none!important;opacity:1!important;margin:1rem 0 1.15rem!important;}
}

/* ------------------------------------------------------------
   10. PORTFOLIO — carousel → gallery grid, light frames
   ------------------------------------------------------------ */
body.theme-precision #portfolio .portfolio-carousel-wrapper{overflow:visible!important}
/* horizontal SCROLL carousel — snaps card to card, hidden scrollbar */
body.theme-precision #portfolio .portfolio-carousel{
  display:flex!important;gap:1.5rem!important;overflow-x:auto!important;overflow-y:hidden;
  scroll-snap-type:x mandatory!important;scroll-behavior:smooth;scroll-padding-left:2px;
  padding:4px 2px 1.5rem!important;scrollbar-width:none;-ms-overflow-style:none;
}
body.theme-precision #portfolio .portfolio-carousel::-webkit-scrollbar{display:none}
/* arrows — shown + Precision styled */
body.theme-precision #portfolio .carousel-nav{display:flex!important;gap:10px}
body.theme-precision #portfolio .carousel-arrow{
  width:46px!important;height:46px!important;border-radius:50%!important;
  border:1px solid var(--line-strong)!important;background:var(--bg-surface)!important;
  color:var(--ink)!important;box-shadow:var(--shadow-sm)!important;
  display:flex!important;align-items:center;justify-content:center;transition:.2s;
}
body.theme-precision #portfolio .carousel-arrow:hover{
  background:var(--ink)!important;color:#fff!important;border-color:var(--ink)!important;transform:translateY(-1px);
}
body.theme-precision .portfolio-card{
  flex:0 0 clamp(282px,30vw,350px)!important;scroll-snap-align:start!important;
  width:auto!important;max-width:none!important;margin:0!important;
  aspect-ratio:auto!important;overflow:hidden;display:flex!important;flex-direction:column;
  background:var(--bg-surface)!important;border:1px solid var(--line)!important;border-radius:12px;
  box-shadow:var(--shadow-sm);transition:transform .35s cubic-bezier(.16,1,.3,1),box-shadow .35s ease,border-color .3s ease;
}
body.theme-precision .portfolio-card:hover{
  transform:translateY(-4px);border-color:var(--accent-line)!important;box-shadow:var(--shadow-card);
}
body.theme-precision .portfolio-card img{border-bottom:1px solid var(--line)!important}
/* caption sits BELOW the image as a solid block (not a hover overlay) */
body.theme-precision .portfolio-content{
  position:static!important;inset:auto!important;opacity:1!important;transform:none!important;
  background:transparent!important;padding:1.4rem!important;display:flex;flex-direction:column;
}
body.theme-precision .portfolio-content h3{font-family:var(--font-heading);color:var(--ink)}
body.theme-precision .portfolio-content p{color:var(--text-muted)!important}
body.theme-precision .portfolio-content span{font-family:var(--font-mono);font-size:.68rem!important}
body.theme-precision .portfolio-content .card-link{color:var(--ink)!important}

/* ------------------------------------------------------------
   11. ABOUT
   ------------------------------------------------------------ */
body.theme-precision #about .section-title::before{color:var(--accent)}
body.theme-precision #about p{color:var(--text-muted)}

/* ------------------------------------------------------------
   12. TESTIMONIALS — light quote card
   ------------------------------------------------------------ */
body.theme-precision #testimonials>.container>span{
  color:var(--accent)!important;font-family:var(--font-mono);letter-spacing:.2em!important;font-weight:500!important;
}
body.theme-precision #testimonials h2{font-family:var(--font-heading);color:var(--ink)}
body.theme-precision .testimonial-slider-compact{
  background:var(--bg-surface)!important;border:1px solid var(--line)!important;border-radius:16px;box-shadow:var(--shadow-sm);
}
body.theme-precision .testimonial-slide p{color:var(--ink)!important;font-family:var(--font-heading);font-weight:400;letter-spacing:-.01em}
body.theme-precision .testimonial-slide h4{color:var(--ink)!important}
body.theme-precision .testimonial-slide p[style*="text-align: left"]{color:var(--text-muted)!important}
body.theme-precision .testimonial-dots .dot{background:var(--line-strong)!important}
body.theme-precision .testimonial-dots .dot.active{background:var(--accent)!important}

/* ------------------------------------------------------------
   13. QUOTE / FORM
   ------------------------------------------------------------ */
body.theme-precision .quote-section{
  background:var(--bg-ink)!important;border:1px solid var(--bg-ink)!important;border-radius:18px;
}
body.theme-precision .quote-section .text-gradient{color:var(--accent)!important;font-family:var(--font-mono);letter-spacing:.18em!important}
body.theme-precision .quote-content h2{color:#fff!important;font-family:var(--font-heading)}
body.theme-precision .quote-content p{color:#b5bac2!important}
body.theme-precision .quote-content p span{color:var(--accent)!important}
body.theme-precision .quote-form .form-control{
  background:rgba(255,255,255,.04)!important;border:1px solid rgba(255,255,255,.14)!important;
  color:#fff!important;border-radius:8px;font-family:var(--font-body);
}
body.theme-precision .quote-form .form-control::placeholder{color:#8b909a!important}
body.theme-precision .quote-form .form-control:focus{
  border-color:var(--accent)!important;background:rgba(86,104,230,.08)!important;
  box-shadow:0 0 0 3px rgba(86,104,230,.25)!important;outline:none;
}
body.theme-precision .quote-form .form-select{
  background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235668e6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e")!important;
  background-repeat:no-repeat!important;
  background-position:right 1.2rem center!important;
  background-size:1.1em!important;
  -webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;
  padding-right:3rem!important;
}
body.theme-precision .quote-form .form-select option{background:#17191e;color:#fff}
body.theme-precision .quote-form .btn-primary{background:var(--accent)!important;border-color:var(--accent)!important}
body.theme-precision .quote-form .btn-primary:hover{background:#fff!important;color:var(--ink)!important;border-color:#fff}

/* ------------------------------------------------------------
   14. FOOTER — light, hairline, mono headings
   ------------------------------------------------------------ */
body.theme-precision .footer{background:var(--bg-base)!important;border-top:1px solid var(--line)!important}
body.theme-precision .footer-brand p{color:var(--text-muted)!important}
body.theme-precision .footer .logo{color:var(--ink)}
body.theme-precision .footer-links h3,body.theme-precision .footer-contact h3{
  color:var(--ink)!important;font-family:var(--font-mono);font-size:.78rem!important;
  letter-spacing:.14em;text-transform:uppercase;
}
body.theme-precision .footer-links a,body.theme-precision .footer-contact p{color:var(--text-muted)!important}
body.theme-precision .footer-links a:hover{color:var(--accent)!important}
body.theme-precision .footer-bottom{border-top:1px solid var(--line)!important;color:var(--faint)!important;font-family:var(--font-mono);font-size:.78rem!important}

/* ------------------------------------------------------------
   15. MODALS / EXIT-INTENT / WHATSAPP
   ------------------------------------------------------------ */
body.theme-precision .modal-overlay{background:rgba(18,20,23,.5)}
body.theme-precision .modal-content{
  background:var(--bg-surface)!important;border:1px solid var(--line)!important;
  box-shadow:var(--shadow-pop);color:var(--text-main);border-radius:16px;
}
body.theme-precision .modal-content h3{color:var(--ink)!important;font-family:var(--font-heading)}
body.theme-precision .modal-content p{color:var(--text-muted)!important}
body.theme-precision .modal-content span[style*="background"]{
  background:var(--accent-tint)!important;color:var(--accent)!important;border:1px solid var(--accent-line)!important;
  font-family:var(--font-mono);
}
body.theme-precision .modal-icon{color:var(--accent)!important;filter:none!important}
body.theme-precision .modal-close{color:var(--faint)}
body.theme-precision .modal-close:hover{color:var(--ink)}
body.theme-precision .modal-content .form-control{
  background:#faf9f6!important;border:1px solid var(--line-strong)!important;color:var(--ink)!important;
}
body.theme-precision .modal-content .form-control::placeholder{color:var(--faint)!important}
body.theme-precision .sticky-whatsapp{box-shadow:0 12px 30px -10px rgba(37,211,102,.5)}

/* ============================================================
   17. TRUSTED-BY LOGO STRIP  (.sx-logos — injected by main.js)
   ============================================================ */
body.theme-precision .sx-logos{padding:2.4rem 0;background:#fbfbf8}
body.theme-precision .sx-logos .container{
  display:flex;align-items:center;gap:2.5rem;flex-wrap:wrap;justify-content:center;
}
body.theme-precision .sx-logos-label{
  font-family:var(--font-mono);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--faint);margin:0;white-space:nowrap;
}
body.theme-precision .sx-logo-row{
  display:flex;align-items:center;gap:2.2rem;flex-wrap:wrap;justify-content:center;flex:1;
}
body.theme-precision .sx-logo-row span{
  font-family:var(--font-heading);font-weight:500;font-size:1.02rem;letter-spacing:-.02em;
  color:var(--text-muted);opacity:.85;transition:color .25s ease,opacity .25s ease;cursor:default;
}
body.theme-precision .sx-logo-row span:hover{color:var(--ink);opacity:1}
@media(max-width:760px){
  body.theme-precision .sx-logos .container{flex-direction:column;gap:1.2rem}
  body.theme-precision .sx-logo-row{gap:1.1rem 1.6rem}
  body.theme-precision .sx-logo-row span{font-size:.92rem}
}

/* ============================================================
   18. STATS BAND  (.sx-stats / .sx-stat / .sx-num / .sx-lbl)
   ============================================================ */
body.theme-precision .sx-stats{padding:3.5rem 0;background:var(--bg-base)}
body.theme-precision .sx-stats-grid{
  display:grid;grid-template-columns:repeat(4,1fr);
}
body.theme-precision .sx-stat{
  text-align:left;padding:.4rem 2rem;position:relative;
}
body.theme-precision .sx-stat+.sx-stat{border-left:1px solid var(--line)}
body.theme-precision .sx-num{
  font-family:var(--font-heading);font-weight:500;letter-spacing:-.03em;
  font-size:clamp(2.1rem,3.4vw,3rem);color:var(--ink);line-height:1;
  font-variant-numeric:tabular-nums;
}
body.theme-precision .sx-lbl{
  font-family:var(--font-mono);font-size:.74rem;letter-spacing:.06em;color:var(--text-muted);
  margin-top:.7rem;text-transform:uppercase;
}
@media(max-width:760px){
  body.theme-precision .sx-stats-grid{grid-template-columns:repeat(2,1fr);gap:2rem 0}
  body.theme-precision .sx-stat{padding:.4rem 1.2rem}
  body.theme-precision .sx-stat:nth-child(odd){border-left:none}
  body.theme-precision .sx-stat:nth-child(3),
  body.theme-precision .sx-stat:nth-child(4){border-top:1px solid var(--line);padding-top:1.6rem}
}

/* ============================================================
   19. PROCESS — "HOW WE WORK"  (.sx-process / .sx-step)
   ============================================================ */
body.theme-precision .sx-head{max-width:52ch;margin-bottom:3.2rem}
body.theme-precision .sx-eyebrow{
  font-family:var(--font-mono);font-size:.72rem;font-weight:500;letter-spacing:.22em;
  text-transform:uppercase;color:var(--accent);display:block;margin-bottom:1rem;
}
body.theme-precision .sx-head h2{
  font-family:var(--font-heading);font-weight:500;letter-spacing:-.025em;
  font-size:clamp(1.9rem,3.6vw,2.9rem);color:var(--ink);margin:0 0 .8rem;line-height:1.05;
}
body.theme-precision .sx-head h2 .text-gradient{color:var(--accent)!important}
body.theme-precision .sx-head p{color:var(--text-muted);font-size:1.05rem;margin:0}
body.theme-precision .sx-steps{
  display:grid;grid-template-columns:repeat(4,1fr);gap:1.6rem;position:relative;
}
/* connecting timeline rule running through the number nodes */
body.theme-precision .sx-steps::before{
  content:'';position:absolute;top:19px;left:19px;right:19px;height:1px;background:var(--line-strong);z-index:0;
}
body.theme-precision .sx-step{position:relative;padding-top:0;z-index:1}
body.theme-precision .sx-step-n{
  width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--font-mono);font-size:.82rem;font-weight:600;color:var(--accent);
  background:#fff;border:1px solid var(--accent-line);border-radius:9px;margin-bottom:1.2rem;
  box-shadow:0 0 0 5px var(--bg-base);
}
body.theme-precision .sx-step h3{
  font-family:var(--font-heading);font-weight:600;font-size:1.12rem;color:var(--ink);
  letter-spacing:-.01em;margin:0 0 .5rem;
}
body.theme-precision .sx-step p{color:var(--text-muted);font-size:.94rem;line-height:1.6;margin:0}
@media(max-width:860px){
  body.theme-precision .sx-steps{grid-template-columns:1fr 1fr;gap:2.2rem 1.6rem}
  body.theme-precision .sx-steps::before{display:none}
}
@media(max-width:520px){
  body.theme-precision .sx-steps{grid-template-columns:1fr}
}

/* ============================================================
   20. GUARANTEES BAR  (.sx-guar / .sx-badge)
   ============================================================ */
body.theme-precision .sx-guar{padding:2.2rem 0;background:#fbfbf8}
body.theme-precision .sx-guar-row{
  display:flex;flex-wrap:wrap;gap:.8rem;justify-content:center;align-items:center;
}
body.theme-precision .sx-badge{
  display:inline-flex;align-items:center;gap:.5rem;padding:.6rem 1rem;
  border:1px solid var(--line-strong);border-radius:8px;background:#fff;
  font-family:var(--font-body);font-size:.88rem;font-weight:500;color:var(--text-main);
  box-shadow:var(--shadow-sm);transition:border-color .25s ease,transform .25s ease;
}
body.theme-precision .sx-badge:hover{border-color:var(--accent-line);transform:translateY(-2px)}
body.theme-precision .sx-badge b{
  color:var(--accent);font-weight:700;display:inline-flex;font-size:.95rem;line-height:1;
}

/* ============================================================
   21. FAQ ACCORDION  (.sx-faq / .sx-faq-item / .sx-q / .sx-a)
   ============================================================ */
/* FAQ — centered column (heading + accordion) */
body.theme-precision .sx-faq .sx-head{text-align:center;max-width:640px;margin-left:auto;margin-right:auto;}
body.theme-precision .sx-faq-list{max-width:860px;margin-left:auto;margin-right:auto;}
body.theme-precision .sx-faq-item{
  border:1px solid var(--line);border-radius:12px;background:var(--bg-surface);
  margin-bottom:.9rem;overflow:hidden;transition:border-color .25s ease,box-shadow .25s ease;
}
body.theme-precision .sx-faq-item.open{border-color:var(--accent-line);box-shadow:var(--shadow-sm)}
body.theme-precision .sx-q{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;
  padding:1.35rem 1.5rem;background:transparent;border:none;cursor:pointer;text-align:left;
  font-family:var(--font-heading);font-weight:600;font-size:1.05rem;color:var(--ink);letter-spacing:-.01em;
}
body.theme-precision .sx-pm{
  flex:0 0 auto;font-family:var(--font-body);font-weight:400;font-size:1.5rem;line-height:1;
  color:var(--accent);transition:transform .3s ease;
}
body.theme-precision .sx-faq-item.open .sx-pm{transform:rotate(45deg)}
body.theme-precision .sx-a{
  max-height:0;overflow:hidden;transition:max-height .35s cubic-bezier(.16,1,.3,1);
}
body.theme-precision .sx-faq-item.open .sx-a{max-height:320px}
body.theme-precision .sx-a p{
  color:var(--text-muted);font-size:.98rem;line-height:1.7;margin:0;padding:0 1.5rem 1.4rem;
}

/* ============================================================
   22. ABOUT — "WHY CHOOSE SYNAPTIX" (editorial left-aligned)
   ============================================================ */
body.theme-precision #about .container{
  max-width:1000px!important;text-align:left!important;
}
body.theme-precision #about .section-title{margin-bottom:1.5rem}
body.theme-precision #about .section-subtitle{
  font-family:var(--font-heading);font-weight:400;color:var(--ink);
  font-size:clamp(1.4rem,2.6vw,2rem);line-height:1.25;letter-spacing:-.02em;
  max-width:24ch;margin:0 0 2rem!important;
}
body.theme-precision #about>.container>p.reveal{
  font-size:1.15rem;line-height:1.75;color:var(--text-muted);max-width:60ch;margin:0 0 2.5rem!important;
}
body.theme-precision #about .btn-outline{margin-top:0}

/* ============================================================
   23. FOOTER — advanced multi-column with mono headings
   ============================================================ */
body.theme-precision .footer{padding-top:4.5rem}
body.theme-precision .footer-grid{
  grid-template-columns:1.5fr 1fr 2.4fr 1fr 1.2fr;gap:3rem 2.5rem;align-items:start;
}
/* "Areas We Serve" (9 links) flows in TWO columns so the footer stays balanced */
body.theme-precision .footer-grid>div:nth-child(3){columns:2;column-gap:2rem;}
body.theme-precision .footer-grid>div:nth-child(3)>h3{column-span:all;-webkit-column-span:all;}
body.theme-precision .footer-grid>div:nth-child(3)>a{break-inside:avoid;-webkit-column-break-inside:avoid;}
body.theme-precision .footer .logo{font-size:1.5rem;letter-spacing:-.04em}
body.theme-precision .footer-brand p{font-size:.96rem;line-height:1.7;max-width:34ch}
body.theme-precision .footer-links a,body.theme-precision .footer-contact p{
  font-size:.92rem;margin-bottom:.8rem;
}
body.theme-precision .footer-links a:hover{transform:translateX(3px)}
body.theme-precision .footer-contact p{color:var(--text-muted)!important}
body.theme-precision .footer-bottom{padding:1.6rem 0;letter-spacing:.02em}
@media(max-width:992px){
  body.theme-precision .footer-grid{grid-template-columns:1fr 1fr 1fr;gap:2.5rem}
  body.theme-precision .footer-grid>div:nth-child(3){columns:1;}
}
@media(max-width:600px){
  body.theme-precision .footer-grid{grid-template-columns:1fr 1fr;text-align:left;gap:2rem}
  body.theme-precision .footer-brand{grid-column:1/-1}
}

/* ============================================================
   24. SECTION HEADER ROWS (services / portfolio) — tidy align
   ============================================================ */
body.theme-precision #services .container>div:first-child,
body.theme-precision #portfolio .container>div:first-child{
  align-items:flex-start!important;margin-bottom:2.6rem!important;
}

/* ============================================================
   26. INNER PAGES — landing, blog & article (light + mobile)
   ============================================================ */
/* page header (landing / blog hero) */
body.theme-precision .page-header{
  padding:9rem 0 3.5rem;border-bottom:1px solid var(--line)!important;background:var(--bg-base)!important;
}
/* kill the dark breadcrumb bar on landing pages */
body.theme-precision .page-header > div[style*="rgba(0, 0, 0"]{
  background:var(--bg-surface)!important;border-bottom:1px solid var(--line)!important;
}
body.theme-precision .page-header p a[style]{color:var(--accent)!important;}
body.theme-precision .page-header h1{color:var(--ink);text-align:left;font-size:clamp(2rem,4.6vw,3.4rem);letter-spacing:-.03em;}
body.theme-precision .page-header h1 .text-gradient{color:var(--accent)!important;}
body.theme-precision .page-header .section-subtitle{text-align:left;margin:1rem 0 0;color:var(--text-muted);max-width:62ch;}
/* inline CTA button in landing headers → periwinkle pill */
body.theme-precision .page-header a[style*="background"]{background:var(--accent)!important;color:#fff!important;border-radius:8px!important;transition:.2s ease;}
body.theme-precision .page-header a[style*="background"]:hover{background:var(--accent-deep)!important;transform:translateY(-2px);}

/* article / prose body — base makes h2/strong WHITE (invisible on light) */
body.theme-precision article h2{color:var(--ink)!important;font-family:var(--font-heading);letter-spacing:-.02em;}
body.theme-precision article h3{color:var(--accent)!important;}
body.theme-precision article p,body.theme-precision .prose p{color:var(--text-muted)!important;}
body.theme-precision article strong,body.theme-precision .prose strong{color:var(--ink)!important;}
body.theme-precision article a,body.theme-precision .prose a{color:var(--accent)!important;}

/* blog feed cards */
body.theme-precision .blog-feed .card h2{color:var(--ink)!important;}
body.theme-precision .blog-feed .card p{color:var(--text-muted)!important;}
body.theme-precision .blog-feed .card>div[style*="border-radius"]{background:var(--accent-tint)!important;color:var(--accent-deep)!important;}
body.theme-precision .blog-feed .card .card-link{color:var(--ink)!important;}

/* sidebar */
body.theme-precision .sidebar .card h3{color:var(--ink)!important;}
body.theme-precision .sidebar .card h3[style*="border-bottom"]{border-bottom-color:var(--line)!important;}
body.theme-precision .sidebar a{color:var(--text-muted)!important;}
body.theme-precision .sidebar a:hover{color:var(--accent)!important;}

/* author box + related posts (blog post pages) */
body.theme-precision .author-box{border-left-color:var(--accent)!important;}
body.theme-precision .author-avatar{background:var(--accent-tint)!important;}
body.theme-precision .author-info h4,body.theme-precision .author-info strong{color:var(--ink)!important;}
body.theme-precision .author-info p{color:var(--text-muted)!important;}
body.theme-precision .related-posts{border-top-color:var(--line)!important;}
body.theme-precision .related-posts h2,body.theme-precision .related-posts h3{color:var(--ink)!important;}

/* landing-page CTA boxes: dark gradient → light periwinkle panel */
body.theme-precision [style*="rgba(99,102,241"],
body.theme-precision [style*="rgba(0,0,0,0.3"]{
  background:linear-gradient(135deg,var(--accent-tint),var(--bg-surface))!important;
  border:1px solid var(--accent-line)!important;
}
/* category chips (old cyan) → periwinkle tint */
body.theme-precision [style*="0, 210, 255"],
body.theme-precision [style*="0,210,255"]{
  background:var(--accent-tint)!important;color:var(--accent-deep)!important;
}

/* ---- MOBILE: collapse inline 2-col blog grid + unstick sidebar ---- */
@media(max-width:860px){
  body.theme-precision .container:has(.blog-feed){grid-template-columns:1fr!important;gap:2.5rem!important;}
  body.theme-precision .sidebar.sticky-sidebar{position:static!important;top:auto!important;}
}
@media(max-width:600px){
  body.theme-precision .page-header{padding:7rem 0 2.5rem;}
  body.theme-precision .page-header h1{font-size:clamp(1.8rem,7vw,2.4rem);}
}

/* ------------------------------------------------------------
   27. MOTION HYGIENE
   ------------------------------------------------------------ */
@media(prefers-reduced-motion:reduce){
  body.theme-precision *,body.theme-precision *::before,body.theme-precision *::after{
    animation-duration:.001ms!important;transition-duration:.08s!important;
  }
}
