:root{
  --bg:#0E1A2B;
  --bg-2:#0A141F;
  --panel:#142238;
  --panel-2:#1B2C46;
  --line: rgba(232,237,243,0.10);
  --line-strong: rgba(232,237,243,0.18);
  --text:#E8EDF3;
  --muted:#8393AC;
  --amber:#F2B705;
  --amber-dim:#8A6A17;
  --teal:#2DD4BF;
  --teal-dim:#155E56;
  --header-bg: rgba(14,26,43,0.9);
  --shadow: 0 8px 24px rgba(0,0,0,0.28);
}
:root[data-theme="light"]{
  --bg:#F5F3EE;
  --bg-2:#EAE7DF;
  --panel:#FFFFFF;
  --panel-2:#F0EEE7;
  --line: rgba(20,30,45,0.10);
  --line-strong: rgba(20,30,45,0.18);
  --text:#12202F;
  --muted:#5B6B80;
  --amber:#B5790A;
  --amber-dim:#E7C87A;
  --teal:#0F7A6C;
  --teal-dim:#BFE8E1;
  --header-bg: rgba(245,243,238,0.9);
  --shadow: 0 8px 24px rgba(20,30,45,0.10);
}
body{ transition: background-color .25s ease, color .25s ease; }
*{ box-sizing:border-box; margin:0; padding:0; }
body, header.site, .board, .service-card, .stack-item, .industry-card, .portfolio-card, .case-stat, .contact-form input, .contact-form select, .contact-form textarea{
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
html{scroll-behavior:smooth; overflow-x:clip;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter', sans-serif;
  line-height:1.6;
  overflow-x:clip;
  max-width:100%;
}
h1,h2,h3, .mono{ font-family:'JetBrains Mono', monospace; }
a{ color:inherit; text-decoration:none; }
.wrap{ max-width:1120px; margin:0 auto; padding:0 32px; }
::selection{ background:var(--amber); color:#221800; }
img{ max-width:100%; display:block; }

/* ---------- NAV ---------- */
header.site{
  position:sticky; top:0; z-index:50;
  background:var(--header-bg);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
nav{ display:flex; align-items:center; justify-content:space-between; padding:20px 32px; max-width:1120px; margin:0 auto; }
.logo{ font-weight:800; font-size:19px; letter-spacing:0.02em; display:flex; align-items:center; gap:8px;}
.logo span{ color:var(--amber); }
.navlinks{ display:flex; gap:32px; font-size:14px; color:var(--muted); }
.navlinks a:hover{ color:var(--text); }
.navlinks a.active{ color:var(--amber); }
.navcta{
  border:1px solid var(--amber); color:var(--amber);
  padding:9px 18px; border-radius:2px; font-size:13px; font-weight:500;
  font-family:'JetBrains Mono', monospace; white-space:nowrap;
}
.navcta:hover{ background:var(--amber); color:#221800; }
.navtoggle{ display:none; background:none; border:1px solid var(--line-strong); color:var(--text); padding:8px 12px; border-radius:2px; font-size:18px; }
@media (max-width:840px){
  .navlinks{ display:none; }
  .navtoggle{ display:inline-block; }
  nav.open .navlinks{
    display:flex; flex-direction:column; position:absolute; top:100%; left:0; right:0;
    background:var(--bg-2); padding:20px 32px; border-bottom:1px solid var(--line); gap:18px;
  }
}

/* ---------- COMMON SECTION HEAD ---------- */
.section-tag{ font-size:12px; color:var(--muted); letter-spacing:0.14em; margin-bottom:12px; }
.section-head{ margin-bottom:48px; }
.section-head h2{ font-size:clamp(24px,3vw,34px); font-weight:700; max-width:680px; }
.section-head p.sub{ color:var(--muted); font-size:15px; max-width:600px; margin-top:14px; }

/* ---------- PAGE HERO (interior pages) ---------- */
.page-hero{ padding:70px 32px 60px; border-bottom:1px solid var(--line); }
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size:12px; letter-spacing:0.14em; color:var(--teal);
  border:1px solid var(--teal-dim); background:rgba(45,212,191,0.06);
  padding:6px 14px; border-radius:2px; margin-bottom:24px;
}
.eyebrow::before{ content:''; width:6px; height:6px; background:var(--teal); border-radius:50%; display:inline-block; }
.page-hero h1{ font-size:clamp(30px,4.5vw,48px); font-weight:800; line-height:1.1; letter-spacing:-0.01em; max-width:760px; }
.page-hero p.lede{ max-width:560px; margin-top:20px; font-size:16px; color:var(--muted); }

/* ---------- HOME HERO ---------- */
.hero{ padding:110px 32px 90px; border-bottom:1px solid var(--line); }
.hero h1{ font-size:clamp(34px,5vw,58px); font-weight:800; line-height:1.08; letter-spacing:-0.01em; max-width:820px; }
.hero h1 .flip{ color:var(--amber); }
.hero p.lede{ max-width:560px; margin-top:26px; font-size:17px; color:var(--muted); }

/* ---------- BUTTONS ---------- */
.hero-cta, .cta-row{ margin-top:38px; display:flex; gap:16px; flex-wrap:wrap; }
.btn-primary{
  background:var(--amber); color:#221800; font-weight:600; font-size:14px;
  padding:14px 26px; border-radius:2px; font-family:'JetBrains Mono', monospace; display:inline-block;
}
.btn-primary:hover{ background:#ffcb1f; }
.btn-ghost{ border:1px solid var(--line-strong); padding:14px 26px; border-radius:2px; font-size:14px; color:var(--text); display:inline-block; }
.btn-ghost:hover{ border-color:var(--teal); color:var(--teal); }

/* ---------- BOARD (services list) ---------- */
.board-section{ padding:90px 32px; border-bottom:1px solid var(--line); }
.board{ border:1px solid var(--line-strong); border-radius:4px; overflow:hidden; background:var(--bg-2); }
.board-row{ display:grid; grid-template-columns: 110px 1fr 190px 100px; align-items:center; padding:22px 26px; border-bottom:1px solid var(--line); gap:20px; }
.board-row:last-child{ border-bottom:none; }
.board-code{ font-family:'JetBrains Mono', monospace; color:var(--amber); font-weight:700; font-size:14px; }
.board-name{ font-weight:600; font-size:16px; }
.board-desc{ color:var(--muted); font-size:13.5px; margin-top:4px; }
.board-stack{ color:var(--teal); font-size:12px; font-family:'JetBrains Mono', monospace; }
.board-status{ text-align:right; font-size:12px; color:var(--muted); font-family:'JetBrains Mono', monospace; }
.board-status.live{ color:var(--teal); }
@media (max-width:760px){
  .board-row{ grid-template-columns:1fr; gap:6px; padding:18px; }
  .board-status{ text-align:left; }
}

/* ---------- SERVICE DETAIL CARDS ---------- */
.service-card{ border:1px solid var(--line-strong); border-radius:4px; padding:32px; background:var(--bg-2); margin-bottom:20px; }
.service-card .code{ font-family:'JetBrains Mono', monospace; color:var(--amber); font-size:13px; margin-bottom:10px; }
.service-card h3{ font-size:20px; font-weight:700; margin-bottom:10px; }
.service-card p{ color:var(--muted); font-size:14.5px; max-width:640px; margin-bottom:16px; }
.service-card .includes{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:8px 24px; margin-bottom:16px; }
.service-card .includes li{ list-style:none; font-size:13.5px; color:var(--text); position:relative; padding-left:16px; }
.service-card .includes li::before{ content:'—'; position:absolute; left:0; color:var(--teal); }
.service-card .foot{ display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--line); padding-top:14px; flex-wrap:wrap; gap:10px; }
.service-card .stack-line{ font-size:12px; color:var(--teal); font-family:'JetBrains Mono', monospace; }
.service-card .engagement{ font-size:12px; color:var(--muted); }

/* ---------- STACK STRIP ---------- */
.stack-strip{ padding:60px 32px; border-bottom:1px solid var(--line); }
.stack-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); }
.stack-item{ background:var(--bg); padding:22px 20px; }
.stack-item .cat{ font-size:11px; color:var(--muted); letter-spacing:0.1em; margin-bottom:10px; }
.stack-item .items{ font-size:13.5px; font-family:'JetBrains Mono', monospace; color:var(--text); line-height:1.9; }

/* ---------- PROCESS ---------- */
.process{ padding:90px 32px; border-bottom:1px solid var(--line); }
.process-list{ display:grid; grid-template-columns:repeat(5,1fr); gap:0; border-top:1px solid var(--line-strong); }
.process-item{ padding:28px 20px 0; border-right:1px solid var(--line); }
.process-item:last-child{ border-right:none; }
.process-num{ font-family:'JetBrains Mono', monospace; color:var(--amber-dim); font-size:13px; margin-bottom:14px; }
.process-item h3{ font-size:15px; font-weight:600; margin-bottom:8px; }
.process-item p{ font-size:13px; color:var(--muted); }
@media (max-width:900px){
  .process-list{ grid-template-columns:1fr 1fr; }
  .process-item{ border-right:none; border-bottom:1px solid var(--line); padding-bottom:24px; }
}

/* ---------- INDUSTRIES GRID ---------- */
.industries-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); }
.industry-card{ background:var(--bg); padding:28px 24px; position:relative; }
.industry-card .tag{ font-size:11px; letter-spacing:0.1em; color:var(--muted); margin-bottom:12px; display:flex; align-items:center; gap:8px; }
.industry-card .tag.proven{ color:var(--teal); }
.industry-card .tag .dot{ width:6px; height:6px; border-radius:50%; background:var(--muted); display:inline-block; }
.industry-card .tag.proven .dot{ background:var(--teal); }
.industry-card h3{ font-size:16.5px; font-weight:700; margin-bottom:8px; }
.industry-card p{ font-size:13.5px; color:var(--muted); }

/* ---------- CASE STUDY ---------- */
.case{ padding:90px 32px; border-bottom:1px solid var(--line); background:var(--bg-2); }
.case-grid{ display:grid; grid-template-columns:1.1fr 1fr; gap:60px; align-items:start; }
.case-tag{ font-size:12px; color:var(--teal); font-family:'JetBrains Mono', monospace; margin-bottom:16px; }
.case h2{ font-size:clamp(22px,3vw,30px); font-weight:700; margin-bottom:18px; max-width:480px; }
.case p{ color:var(--muted); font-size:15px; max-width:480px; margin-bottom:14px; }
.case-stats{ display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line); border:1px solid var(--line); }
.case-stat{ background:var(--panel); padding:26px; }
.case-stat .num{ font-family:'JetBrains Mono', monospace; font-size:28px; font-weight:700; color:var(--amber); }
.case-stat .label{ font-size:12.5px; color:var(--muted); margin-top:6px; }
@media (max-width:820px){ .case-grid{ grid-template-columns:1fr; } }

/* ---------- PORTFOLIO CARDS ---------- */
.portfolio-list{ display:flex; flex-direction:column; gap:1px; background:var(--line); border:1px solid var(--line); }
.portfolio-card{ background:var(--bg); padding:36px; display:grid; grid-template-columns:160px 1fr; gap:28px; }
.portfolio-card .ptag{ font-family:'JetBrains Mono', monospace; font-size:12px; color:var(--amber); }
.portfolio-card h3{ font-size:19px; font-weight:700; margin-bottom:10px; }
.portfolio-card p{ color:var(--muted); font-size:14px; margin-bottom:12px; max-width:600px; }
.portfolio-card .tags{ display:flex; gap:8px; flex-wrap:wrap; }
.portfolio-card .tags span{ font-size:11.5px; color:var(--teal); border:1px solid var(--teal-dim); padding:4px 10px; border-radius:2px; font-family:'JetBrains Mono', monospace; }
@media (max-width:700px){ .portfolio-card{ grid-template-columns:1fr; } }

/* ---------- B2B PANEL CARDS ---------- */
.panels-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr)); gap:20px; }
.panel-card{ border:1px solid var(--line-strong); border-radius:6px; overflow:hidden; background:var(--bg-2); transition:border-color .2s ease, box-shadow .2s ease; }
.panel-card:hover{ border-color:var(--teal-dim); box-shadow:var(--shadow); }
.panel-shot{ display:block; border-bottom:1px solid var(--line); background:var(--panel); }
.panel-shot svg{ display:block; width:100%; height:auto; }
.panel-body{ padding:22px 24px; }
.panel-body .ptag{ font-family:'JetBrains Mono', monospace; font-size:11.5px; color:var(--amber); letter-spacing:0.08em; }
.panel-body h3{ font-size:17px; font-weight:700; margin:9px 0 8px; }
.panel-body p{ color:var(--muted); font-size:13.5px; margin-bottom:14px; }
.panel-body .tags{ display:flex; gap:8px; flex-wrap:wrap; }
.panel-body .tags span{ font-size:11px; color:var(--teal); border:1px solid var(--teal-dim); padding:3px 9px; border-radius:2px; font-family:'JetBrains Mono', monospace; }
.panel-tagrow{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.panel-badge{ font-family:'JetBrains Mono', monospace; font-size:10px; letter-spacing:0.08em; padding:2px 8px; border-radius:2px; }
.panel-badge.live{ color:var(--teal); border:1px solid var(--teal-dim); background:rgba(45,212,191,0.06); }
.panel-badge.concept{ color:var(--muted); border:1px solid var(--line-strong); }
.panel-live{ display:inline-flex; align-items:center; gap:6px; margin-top:14px; font-family:'JetBrains Mono', monospace;
  font-size:12.5px; color:var(--amber); border:1px solid var(--amber); padding:8px 14px; border-radius:2px; transition:background-color .15s ease, color .15s ease; }
.panel-live:hover{ background:var(--amber); color:#221800; }

/* ---------- TRUST STRIP ---------- */
.trust{ margin-top:56px; border:1px solid var(--line-strong); border-radius:6px; background:var(--bg-2); padding:32px; }
.trust h3{ font-size:16px; font-weight:700; margin-bottom:6px; }
.trust .trust-sub{ color:var(--muted); font-size:13.5px; margin-bottom:24px; }
.trust-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:16px; }
.trust-item{ display:flex; gap:12px; align-items:flex-start; }
.trust-item i{ color:var(--teal); font-size:20px; margin-top:2px; flex-shrink:0; }
.trust-item .t-h{ font-size:13.5px; font-weight:600; margin-bottom:3px; }
.trust-item .t-h a{ color:var(--teal); }
.trust-item .t-p{ font-size:12.5px; color:var(--muted); }

/* ---------- ABOUT ---------- */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; padding:90px 32px; border-bottom:1px solid var(--line); }
.about-grid p{ color:var(--muted); font-size:15px; margin-bottom:16px; max-width:520px; }
.about-list{ list-style:none; }
.about-list li{ padding:14px 0; border-bottom:1px solid var(--line); font-size:14px; display:flex; justify-content:space-between; gap:12px; }
.about-list li span:first-child{ color:var(--muted); }
.about-list li span:last-child{ font-family:'JetBrains Mono', monospace; color:var(--text); text-align:right; }
@media (max-width:820px){ .about-grid{ grid-template-columns:1fr; } }

/* ---------- CONTACT ---------- */
.contact-page{ padding:90px 32px; }
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; }
.contact-form{ display:flex; flex-direction:column; gap:16px; }
.contact-form label{ font-size:12.5px; color:var(--muted); margin-bottom:6px; display:block; }
.contact-form input, .contact-form select, .contact-form textarea{
  width:100%; background:var(--bg-2); border:1px solid var(--line-strong); color:var(--text);
  padding:12px 14px; border-radius:2px; font-family:'Inter', sans-serif; font-size:14px;
}
.contact-form textarea{ resize:vertical; min-height:120px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus{ outline:1px solid var(--teal); border-color:var(--teal); }
.contact-form button{
  background:var(--amber); color:#221800; font-weight:600; font-size:14px; border:none;
  padding:14px 26px; border-radius:2px; font-family:'JetBrains Mono', monospace; cursor:pointer; align-self:flex-start;
}
.contact-form button:hover{ background:#ffcb1f; }
.form-note{ font-size:12.5px; color:var(--muted); margin-top:4px; }
.form-success{ font-size:13.5px; color:var(--teal); line-height:1.6; }
.contact-form .h-captcha{ min-height:78px; }
.contact-form button:disabled{ opacity:0.6; cursor:default; }
.contact-info .item{ border-bottom:1px solid var(--line); padding:18px 0; }
.contact-info .item .k{ font-size:12px; color:var(--muted); margin-bottom:6px; }
.contact-info .item .v{ font-size:15px; }
.checklist{ margin-top:28px; }
.checklist li{ list-style:none; font-size:13.5px; color:var(--muted); padding-left:18px; position:relative; margin-bottom:10px; }
.checklist li::before{ content:''; position:absolute; left:2px; top:9px; width:6px; height:6px; border-radius:50%; background:var(--teal); }
@media (max-width:820px){ .contact-grid{ grid-template-columns:1fr; } }

/* ---------- WHATSAPP FLOAT ---------- */
.wa-float{
  position:fixed; left:22px; bottom:22px; width:56px; height:56px; border-radius:50%;
  background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center; font-size:30px;
  box-shadow:0 6px 20px rgba(0,0,0,0.28); z-index:80;
  transition:transform .15s ease, box-shadow .15s ease;
}
.wa-float:hover{ transform:translateY(-3px) scale(1.05); color:#fff; box-shadow:0 10px 26px rgba(0,0,0,0.34); }
@media (max-width:600px){ .wa-float{ left:16px; bottom:16px; width:52px; height:52px; font-size:27px; } }

/* ---------- TESTIMONIALS ---------- */
.testi{ padding:90px 32px; border-bottom:1px solid var(--line); }
.testi-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr)); gap:20px; }
.testi-card{ border:1px solid var(--line-strong); border-radius:6px; background:var(--bg-2); padding:28px; display:flex; flex-direction:column; gap:16px; }
.testi-card .stars{ color:var(--amber); font-size:13px; letter-spacing:3px; }
.testi-card .quote{ font-size:15px; color:var(--text); line-height:1.7; }
.testi-card .quote::before{ content:'“'; color:var(--teal); font-family:'JetBrains Mono', monospace; margin-right:2px; }
.testi-card .who{ display:flex; align-items:center; gap:12px; margin-top:auto; }
.testi-card .avatar{ width:42px; height:42px; border-radius:50%; background:var(--panel-2); color:var(--teal);
  display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono', monospace; font-weight:700; font-size:14px; border:1px solid var(--teal-dim); flex-shrink:0; }
.testi-card .who .n{ font-size:13.5px; font-weight:600; }
.testi-card .who .r{ font-size:12px; color:var(--muted); }

/* ---------- FAQ ---------- */
.faq-list{ max-width:840px; border-top:1px solid var(--line-strong); }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-item summary{ cursor:pointer; list-style:none; padding:22px 4px; display:flex; justify-content:space-between; align-items:center;
  gap:20px; font-family:'JetBrains Mono', monospace; font-size:15px; font-weight:600; color:var(--text); }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary:hover{ color:var(--teal); }
.faq-item .q-ico{ color:var(--teal); font-size:18px; flex-shrink:0; transition:transform .2s ease; }
.faq-item[open] summary .q-ico{ transform:rotate(45deg); }
.faq-item .faq-a{ padding:0 4px 24px; color:var(--muted); font-size:14.5px; line-height:1.7; max-width:740px; }
.faq-item .faq-a a{ color:var(--teal); }

/* ---------- FOOTER ---------- */
footer.site{ border-top:1px solid var(--line); padding:36px 32px 96px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
footer.site .fmuted{ color:var(--muted); font-size:13px; }
footer.site .flinks{ display:flex; gap:24px; font-size:13px; color:var(--muted); }
footer.site .flinks a:hover{ color:var(--text); }

/* ---------- THEME TOGGLE ---------- */
.theme-toggle{
  width:36px; height:36px; border-radius:2px; border:1px solid var(--line-strong);
  background:transparent; color:var(--text); display:flex; align-items:center; justify-content:center;
  font-size:17px; cursor:pointer; flex-shrink:0;
}
.theme-toggle:hover{ border-color:var(--teal); color:var(--teal); }
.theme-toggle .ti-moon{ display:none; }
:root[data-theme="light"] .theme-toggle .ti-sun{ display:none; }
:root[data-theme="light"] .theme-toggle .ti-moon{ display:inline-block; }
.nav-right{ display:flex; align-items:center; gap:14px; }
/* In-menu theme toggle (shown only inside the mobile menu) */
.theme-toggle--menu{ display:none; }

/* ---------- ICONS ---------- */
.icon-badge{
  width:44px; height:44px; border-radius:4px; display:flex; align-items:center; justify-content:center;
  background:rgba(45,212,191,0.08); color:var(--teal); font-size:20px; flex-shrink:0; border:1px solid var(--teal-dim);
}
.icon-badge.amber{ background:rgba(242,183,5,0.08); color:var(--amber); border-color:var(--amber-dim); }
.board-row .icon-badge{ width:40px; height:40px; font-size:18px; }
.service-card .card-head{ display:flex; align-items:center; gap:16px; margin-bottom:14px; }
.industry-card .tag i{ font-size:14px; }
.about-list li i{ margin-right:6px; color:var(--teal); }
.contact-info .item .k i{ margin-right:6px; }
.process-item .icon-badge{ margin-bottom:16px; }
.footer-social{ display:flex; gap:14px; }
.footer-social a{ width:32px; height:32px; border:1px solid var(--line-strong); border-radius:2px; display:flex; align-items:center; justify-content:center; font-size:15px; }
.footer-social a:hover{ color:var(--teal); border-color:var(--teal); }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp{ from{ opacity:0; transform:translateY(18px);} to{ opacity:1; transform:translateY(0);} }
@keyframes floatSlow{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-8px);} }
@keyframes pulseDot{ 0%,100%{ opacity:1;} 50%{ opacity:0.35;} }
.reveal{ opacity:0; transform:translateY(18px); }
.reveal.in-view{ animation:fadeUp .6s ease forwards; }
.reveal-1.in-view{ animation-delay:.05s; }
.reveal-2.in-view{ animation-delay:.12s; }
.reveal-3.in-view{ animation-delay:.19s; }
.reveal-4.in-view{ animation-delay:.26s; }
.reveal-5.in-view{ animation-delay:.33s; }
.reveal-6.in-view{ animation-delay:.4s; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; animation:none !important; }
  .hero-float{ animation:none !important; }
}

.service-card, .industry-card, .stack-item, .portfolio-card, .case-stat{
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover, .industry-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow); border-color:var(--teal-dim); }
.btn-primary, .btn-ghost, .navcta{ transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn-primary:hover{ transform:translateY(-2px); }
.btn-ghost:hover, .navcta:hover{ transform:translateY(-2px); }

.hero-orbit{ position:relative; height:0; }
.hero-graphic{ position:absolute; right:32px; top:-72px; width:180px; height:180px; opacity:0.9; animation:floatSlow 6s ease-in-out infinite; pointer-events:none; }
@media (max-width:900px){ .hero-graphic{ display:none; } }

.stat-num{ display:inline-block; }

/* ================= RESPONSIVE / MOBILE ================= */

/* Tablets */
@media (max-width:840px){
  .wrap{ padding:0 24px; }
  .hero{ padding:88px 24px 72px; }
  .page-hero{ padding:60px 24px 48px; }
  .board-section, .process, .case, .stack-strip, .contact-page, .testi, .about-grid{ padding-left:24px; padding-right:24px; }

  /* Move the theme toggle from the top bar into the mobile menu */
  .nav-right .theme-toggle{ display:none; }
  .theme-toggle--menu{
    display:flex; align-items:center; justify-content:flex-start; gap:12px;
    width:auto; height:auto; border:none; background:none; padding:6px 0;
    color:var(--muted); font-size:14px;
  }
  .theme-toggle--menu:hover{ color:var(--text); border:none; }
  .theme-toggle--menu i{ font-size:18px; color:var(--teal); }
}

/* Phones */
@media (max-width:600px){
  .wrap{ padding:0 18px; }

  /* Top bar: tighter, drop the redundant phone icon, shrink CTA */
  nav{ padding:14px 18px; }
  .logo{ font-size:16px; }
  .nav-right{ gap:9px; }
  .nav-right .btn-ghost{ display:none; }        /* redundant phone icon */
  .navcta{ padding:8px 12px; font-size:12px; }
  .navtoggle{ padding:6px 11px; }

  /* Hero + headings */
  .hero{ padding:56px 18px 48px; }
  .hero p.lede{ margin-top:20px; font-size:15.5px; }
  .page-hero{ padding:44px 18px 36px; }
  .page-hero p.lede{ font-size:15px; }
  .eyebrow{ margin-bottom:18px; }
  .section-head{ margin-bottom:30px; }
  .hero-cta, .cta-row{ margin-top:28px; gap:12px; }

  /* Section vertical rhythm */
  .board-section, .process, .case, .stack-strip, .testi{ padding-top:56px; padding-bottom:56px; }
  .board-section, .process, .case, .stack-strip, .testi, .contact-page{ padding-left:18px; padding-right:18px; }
  .about-grid{ padding:56px 18px; gap:36px; }
  .contact-page{ padding-top:56px; padding-bottom:56px; }

  /* Buttons full-width-ish for easy tapping */
  .btn-primary, .btn-ghost{ padding:13px 20px; }
  .hero-cta .btn-primary, .hero-cta .btn-ghost{ flex:1 1 auto; text-align:center; }

  /* Cards & panels */
  .service-card{ padding:24px; }
  .board-row{ padding:16px; }
  .panel-body{ padding:20px; }
  .trust{ padding:24px; margin-top:44px; }
  .testi-card{ padding:24px; }
  .faq-item summary{ font-size:14px; padding:18px 2px; }

  /* Footer stacks left, keeps clearance for the WhatsApp button */
  footer.site{ padding:28px 18px 92px; justify-content:flex-start; gap:18px; }
  footer.site .flinks{ gap:16px 20px; flex-wrap:wrap; }

  /* Slightly smaller floating button on phones is handled in its own rule */
}

/* Very small phones */
@media (max-width:380px){
  .logo{ font-size:15px; }
  .navcta{ padding:7px 10px; }
  .process-list{ grid-template-columns:1fr; }
  .case-stats{ grid-template-columns:1fr; }
}

