/* RHCC build v32 */
/* ═══════════════════════════════════════════════════════
   RHCC AutoCAD + SketchUp — Premium CAD Studio
   v31: single nav state system · viewport-fixed mobile nav · one logo system
   ═══════════════════════════════════════════════════════ */

/* ═══ 10b. VIDEO SHOWCASE ═══ */
.video-showcase{
  background:var(--surface);
  padding:80px 0;
  position:relative;
  overflow:hidden;
}
.video-showcase::before{
  content:'';
  position:absolute;inset:0;
  background:
    radial-gradient(circle at 15% 30%,rgba(37,99,235,.05),transparent 45%),
    radial-gradient(circle at 85% 70%,rgba(245,158,11,.05),transparent 45%);
  pointer-events:none;
}
.video-showcase > .container{position:relative;z-index:1}

.video-showcase__inner{
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:56px;
  align-items:center;
}

/* ─ Left: Video ─ */
.video-showcase__media{min-width:0}
.video-showcase__frame{
  position:relative;
  background:var(--dark);
  border-radius:var(--radius-lg);
  padding:12px;
  box-shadow:0 30px 70px rgba(10,30,63,.22);
  border:1px solid var(--border);
}
.video-showcase__frame::before{
  content:'';
  position:absolute;inset:0;
  border-radius:var(--radius-lg);
  padding:1px;
  background:linear-gradient(135deg,rgba(37,99,235,.35),rgba(245,158,11,.25),transparent 60%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
}
.video-showcase__video{
  width:100%;
  aspect-ratio:16/9;
  display:block;
  border-radius:var(--radius-md);
  background:var(--dark-2);
  object-fit:cover;
}

/* ═══ VIDEO SHOWCASE — SOUND TOGGLE ═══ */
.video-showcase__frame{
    position:relative;
}

.video-showcase__sound{
    position:absolute;
    bottom:22px;
    right:22px;
    z-index:3;
    width:46px;
    height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(10,30,63,.78);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.2);
    border-radius:12px;
    color:#fff;
    cursor:pointer;
    transition:background .2s var(--ease),transform .2s var(--ease);
}
.video-showcase__sound:hover{
    background:rgba(37,99,235,.9);
    transform:scale(1.06);
}
.video-showcase__sound:active{
    transform:scale(.95);
}
.video-showcase__sound:focus-visible{
    outline:2px solid #93C5FD;
    outline-offset:2px;
}
.video-showcase__sound svg{
    width:20px;
    height:20px;
}

/* Default: muted state → show muted icon, hide unmuted icon */
.video-showcase__sound .video-showcase__sound-on{display:none}
.video-showcase__sound .video-showcase__sound-off{display:block}

/* When unmuted → swap icons */
.video-showcase__sound.is-unmuted .video-showcase__sound-on{display:block}
.video-showcase__sound.is-unmuted .video-showcase__sound-off{display:none}

/* Mobile */
@media (max-width:640px){
    .video-showcase__sound{
        width:42px;
        height:42px;
        bottom:16px;
        right:16px;
        border-radius:10px;
    }
    .video-showcase__sound svg{width:18px;height:18px}
}

/* ─ Right: Dynamic Text ─ */
.video-showcase__content{min-width:0}

.video-showcase__eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--primary);
  padding:7px 15px;border-radius:100px;
  background:var(--primary-soft);
  margin-bottom:22px;
}
.video-showcase__pulse{
  width:8px;height:8px;border-radius:50%;
  background:var(--primary);flex-shrink:0;
  box-shadow:0 0 0 0 rgba(37,99,235,.6);
  animation:videoPulse 2s infinite;
}
@keyframes videoPulse{
  0%{box-shadow:0 0 0 0 rgba(37,99,235,.6)}
  70%{box-shadow:0 0 0 10px rgba(37,99,235,0)}
  100%{box-shadow:0 0 0 0 rgba(37,99,235,0)}
}

.video-showcase__title{
  font-size:clamp(26px,3.4vw,42px);
  font-weight:800;
  line-height:1.15;
  letter-spacing:-.02em;
  margin-bottom:20px;
  color:var(--text);
}
.video-showcase__line{
  display:block;
  opacity:0;
  transform:translateY(18px);
  animation:videoLineIn .7s var(--ease-out) forwards;
}
.video-showcase__line:nth-child(1){animation-delay:.1s}
.video-showcase__line:nth-child(2){animation-delay:.35s}
.video-showcase__line:nth-child(3){animation-delay:.6s}
@keyframes videoLineIn{
  to{opacity:1;transform:translateY(0)}
}
.video-showcase__title em{
  font-style:normal;
  background:linear-gradient(120deg,var(--primary) 0%,var(--indigo) 55%,var(--accent) 110%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
  padding-bottom:4px;
}

.video-showcase__lead{
  font-size:16px;
  line-height:1.7;
  color:var(--text-secondary);
  margin-bottom:24px;
  max-width:520px;
}

.video-showcase__points{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:30px;
}
.video-showcase__points li{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14.5px;
  font-weight:500;
  color:var(--text);
}
.video-showcase__points svg{
  width:18px;height:18px;
  color:var(--primary);
  flex-shrink:0;
}

.video-showcase__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

/* ── Responsive ── */
@media (max-width:1024px){
  .video-showcase{padding:72px 0}
  .video-showcase__inner{gap:40px}
}

@media (max-width:900px){
  .video-showcase{padding:64px 0}
  .video-showcase__inner{
    grid-template-columns:1fr;
    gap:32px;
  }
  .video-showcase__media{max-width:640px;margin:0 auto;width:100%}
  .video-showcase__content{text-align:left}
  .video-showcase__lead{max-width:100%}
}

@media (max-width:640px){
  .video-showcase{padding:52px 0}
  .video-showcase__frame{padding:8px;border-radius:var(--radius-md)}
  .video-showcase__video{border-radius:11px}
  .video-showcase__title{font-size:clamp(22px,6.5vw,28px);margin-bottom:16px}
  .video-showcase__lead{font-size:14.5px;margin-bottom:20px}
  .video-showcase__points li{font-size:13.5px}
  .video-showcase__actions{flex-direction:column;gap:10px}
  .video-showcase__actions .btn{width:100%}
}

@media (max-width:480px){
  .video-showcase{padding:44px 0}
  .video-showcase__eyebrow{font-size:11px;padding:6px 13px;margin-bottom:18px}
  .video-showcase__title{font-size:clamp(20px,7vw,26px)}
  .video-showcase__lead{font-size:14px}
}

@media (max-width:375px){
  .video-showcase{padding:40px 0}
  .video-showcase__title{font-size:19px}
  .video-showcase__lead{font-size:13.5px}
  .video-showcase__points li{font-size:12.5px}
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion:reduce){
  .video-showcase__line{opacity:1;transform:none;animation:none}
  .video-showcase__pulse{animation:none}
}

/* ── Touch devices: keep hover states calm ── */
@media (hover:none) and (pointer:coarse){
  .video-showcase__frame{box-shadow:0 20px 50px rgba(10,30,63,.18)}
}

/* ═══ 1. RESET ═══ */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  overflow-x:hidden;
}
/* NOTE: no overflow on <body>. overflow-x on BOTH html and body turns body into a
   scroll container, which silently breaks `position:sticky` on the header. */
html.is-scroll-locked{overflow:hidden}
body{
  overflow-x:clip; /* extra guard against sideways spill; `clip` (unlike hidden) does NOT create a scroll container, so sticky keeps working */
  min-height:100vh;
  width:100%;
  overflow-wrap:break-word;
  word-wrap:break-word;
}
img,svg,video{max-width:100%;display:block;height:auto}
button,input,select,textarea{font:inherit;color:inherit}
button{background:none;border:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
ul,ol{list-style:none}
a{text-decoration:none;color:inherit;-webkit-tap-highlight-color:transparent}
input,select,textarea{-webkit-appearance:none;appearance:none;border-radius:0}

/* ═══ 2. VARIABLES ═══ */
:root{
  --bg:#F8F6F1;
  --surface:#FFFFFF;
  --surface-soft:#F1F4F9;

  --dark:#0A1E3F;
  --dark-2:#111827;
  --dark-3:#1E293B;

  --primary:#2563EB;
  --primary-dark:#1D4ED8;
  --primary-soft:#EFF6FF;

  --indigo:#4F46E5;
  --accent:#F59E0B;
  --accent-soft:#FEF3C7;

  --text:#0F172A;
  --text-secondary:#475467;
  --text-muted:#667085;
  --text-inverse:#F8FAFC;
  --text-inverse-secondary:rgba(248,250,252,.72);

  --border:#E5E7EB;
  --border-dark:rgba(255,255,255,.08);

  --success:#16A34A;
  --danger:#DC2626;
  --whatsapp:#25D366;

  --radius-sm:10px;
  --radius-md:14px;
  --radius-lg:20px;
  --radius-xl:28px;

  --container:1180px;

  --shadow-sm:0 1px 3px rgba(15,23,42,.06);
  --shadow-md:0 10px 30px rgba(15,23,42,.08);
  --shadow-lg:0 20px 50px rgba(15,23,42,.12);

  --ease:cubic-bezier(.4,0,.2,1);
  --ease-out:cubic-bezier(.16,1,.3,1);

  --font-h:'Plus Jakarta Sans','Inter',system-ui,sans-serif;
  --font-b:'Inter','Plus Jakarta Sans',system-ui,sans-serif;

  --header-h:72px;

  /* One logo system — header + footer both read these */
  --logo-h:40px;
  --logo-pad:4px;
  --logo-radius:8px;
  --logo-bg:#fff; /* official artwork is designed for light backgrounds; set to transparent + --logo-pad:0 if a dark-bg variant is supplied */

  /* Mobile bottom bar — single source for bar height (used by nav padding, body padding, floating buttons) */
  --bar-py:10px;
  --bar-px:12px;
  --bar-btn-h:50px;
  --mobile-bar-h:calc(var(--bar-btn-h) + var(--bar-py) * 2);
}

/* ═══ 3. BASE ═══ */
body{
  font-family:var(--font-b);
  font-size:16px;
  line-height:1.6;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:var(--bg)}
::-webkit-scrollbar-thumb{background:#CBD5E1;border-radius:10px;border:2px solid var(--bg)}
::-webkit-scrollbar-thumb:hover{background:#94A3B8}
::selection{background:var(--primary);color:#fff}

/* ═══ 4. TYPOGRAPHY ═══ */
h1,h2,h3,h4,h5,h6{
  font-family:var(--font-h);
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.02em;
  color:var(--text);
}
h1{font-size:clamp(30px,5.2vw,64px);font-weight:800;line-height:1.08;letter-spacing:-.03em}
h2{font-size:clamp(24px,3.6vw,44px);font-weight:700;line-height:1.15}
h3{font-size:clamp(18px,2.2vw,24px);font-weight:700}
h4{font-size:16px;font-weight:700}
p{color:var(--text-secondary);line-height:1.65}
strong{font-weight:700;color:var(--text)}

/* ═══ 5. CONTAINER ═══ */
.container{max-width:var(--container);margin:0 auto;padding:0 24px;width:100%}
.container--narrow{max-width:820px}

/* ═══ 6. SKIP LINK ═══ */
.skip-link{
  position:absolute;top:-100px;left:16px;z-index:9999;
  background:var(--primary);color:#fff;
  padding:12px 20px;border-radius:var(--radius-md);
  font-weight:700;
  transition:top .2s;
}
.skip-link:focus{top:16px;outline:2px solid #fff;outline-offset:2px}

/* ═══ 7. SCROLL PROGRESS ═══ */
.scroll-progress{
  position:fixed;top:0;left:0;right:0;height:3px;
  z-index:1000;pointer-events:none;background:transparent;
}
.scroll-progress__bar{
  height:100%;width:0;
  background:linear-gradient(90deg,var(--primary),var(--indigo),var(--accent));
  transition:width .1s linear;
}

/* ═══ 8. BUTTONS ═══ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-family:var(--font-b);
  font-size:15px;font-weight:600;
  line-height:1;
  padding:14px 24px;
  min-height:48px;
  border-radius:var(--radius-md);
  border:1px solid transparent;
  cursor:pointer;
  text-decoration:none;
  white-space:nowrap;
  transition:transform .2s var(--ease),background .2s var(--ease),box-shadow .2s var(--ease),border-color .2s var(--ease),color .2s var(--ease);
  position:relative;
  overflow:hidden;
}
.btn svg{width:18px;height:18px;flex-shrink:0}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0) scale(.98)}
.btn:focus-visible{outline:2px solid var(--primary);outline-offset:2px}

.btn--primary{background:var(--accent);color:#0B1220;box-shadow:0 4px 12px rgba(245,158,11,.25)}
.btn--primary:hover{background:#D97706;box-shadow:0 8px 20px rgba(245,158,11,.3)}
.btn--secondary{background:var(--surface);color:var(--text);border-color:var(--border);box-shadow:var(--shadow-sm)}
.btn--secondary:hover{border-color:var(--primary);color:var(--primary)}
.btn--outline{background:transparent;color:var(--text);border-color:var(--border)}
.btn--outline:hover{border-color:var(--primary);color:var(--primary)}
.btn--outline-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.24)}
.btn--outline-light:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.5)}
.btn--lg{padding:16px 28px;font-size:16px;min-height:54px}
.btn--sm{padding:10px 18px;font-size:14px;min-height:40px}
.btn--block{width:100%}

/* ═══ 9. HEADER ═══ */
/* The blur lives on ::before, NOT on .site-header. backdrop-filter on the header
   makes it the containing block for position:fixed descendants, which tied the
   mobile menu to the header instead of the viewport. */
.site-header{
  position:sticky;top:0;z-index:900;
}
.site-header::before{
  content:'';position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;
  background:rgba(10,30,63,.85);
  backdrop-filter:blur(20px) saturate(140%);
  -webkit-backdrop-filter:blur(20px) saturate(140%);
  border-bottom:1px solid rgba(255,255,255,.06);
  transition:background .25s var(--ease),border-color .25s var(--ease);
}
.site-header.is-scrolled::before{background:rgba(10,30,63,.95);border-color:rgba(255,255,255,.08)}

.site-header__inner{
  display:flex;align-items:center;justify-content:space-between;
  height:var(--header-h);gap:24px;
}

/* ─ Brand / official logo (one <img>, sized only by --logo-h) ─ */
.brand{
  display:flex;align-items:center;
  flex:0 1 auto;min-width:0;
  text-decoration:none;
}
.brand__logo{
  display:block;box-sizing:content-box;
  height:var(--logo-h);width:auto;
  max-width:calc(100% - var(--logo-pad) * 2);
  object-fit:contain;
  padding:var(--logo-pad);
  background:var(--logo-bg);
  border-radius:var(--logo-radius);
  /* if the image ever fails, the browser shows the real company name (alt) — legible, never a fake mark */
  color:#0B1220;font-size:12px;font-weight:600;line-height:1.2;
  transition:transform .2s var(--ease);
}
.brand:hover .brand__logo{transform:scale(1.03)}
/* Safety net: if an OLD index.php (still containing the fake "RH" fallback block) is served with this stylesheet, never show it */
.brand__fallback{display:none !important}

/* ─ Navigation — DESKTOP default: inline, always visible ─ */
.primary-nav{
  position:static;
  display:flex;align-items:center;gap:32px;
  transform:none;opacity:1;visibility:visible;pointer-events:auto;
}
.primary-nav__list{display:flex;align-items:center;gap:4px}
.primary-nav__link{
  display:block;
  font-size:14px;font-weight:500;
  color:var(--text-inverse-secondary);
  padding:9px 14px;border-radius:8px;
  transition:color .2s,background .2s;
}
.primary-nav__link:hover{color:#fff;background:rgba(255,255,255,.06)}
.nav-cta{min-height:40px;padding:10px 20px;font-size:14px}

/* ─ Hamburger (hidden on desktop; shown ≤900px) ─ */
.nav-toggle{
  display:none;
  width:46px;height:46px;
  padding:0;margin-left:auto;
  border-radius:12px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  flex-direction:column;align-items:center;justify-content:center;gap:5px;
  flex:0 0 auto;
  touch-action:manipulation;
  transition:background .2s,border-color .2s;
}
.nav-toggle:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.2)}
.nav-toggle:active{transform:scale(.95)}
.nav-toggle__bar{
  display:block;
  width:20px;height:2px;
  background:#fff;border-radius:2px;
  transition:transform .3s var(--ease),opacity .2s var(--ease);
  transform-origin:center;
}
/* ☰ → ✕ is driven by the SAME attribute JS toggles for assistive tech */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2){opacity:0;transform:scaleX(0)}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Visible, high-contrast focus on the dark header */
.site-header :focus-visible{outline:2px solid #93C5FD;outline-offset:2px}

/* ── Safety net ──────────────────────────────────────────────────────────────
   If the menu controller never starts (main.js missing / stale / blocked), index.php flips
   <html> to .nav-fallback after load: the links simply show as a normal list under the logo
   instead of a hamburger that does nothing. Never active when everything is deployed correctly. */
@media (max-width:900px){
  html.nav-fallback .nav-toggle{display:none}
  html.nav-fallback .site-header{position:relative}
  html.nav-fallback .site-header__inner{flex-wrap:wrap;height:auto;padding:10px 0}
  html.nav-fallback .primary-nav{
    position:static;flex:1 0 100%;width:100%;height:auto;
    padding:8px 0 4px;background:none;border:0;overflow:visible;
    transform:none;opacity:1;visibility:visible;pointer-events:auto;
  }
}

/* Hide floating UI while the menu is open so nothing paints over the panel */
html.nav-open .to-top{opacity:0;visibility:hidden;pointer-events:none}
/* No slide flash when a resize/rotation crosses the breakpoint */
.nav-resizing .primary-nav{transition:none !important}

/* ═══ 10. HERO ═══ */
.hero{
  position:relative;overflow:hidden;
  background:var(--dark);color:var(--text-inverse);
  padding:96px 0 80px;
}
.hero__blueprint{
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(56,189,248,.08) 1px,transparent 1px),
    linear-gradient(90deg,rgba(56,189,248,.08) 1px,transparent 1px);
  background-size:40px 40px;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 40%,#000 40%,transparent 100%);
  -webkit-mask-image:radial-gradient(ellipse 80% 60% at 50% 40%,#000 40%,transparent 100%);
  pointer-events:none;
}
.hero__glow{position:absolute;border-radius:50%;pointer-events:none;filter:blur(80px);opacity:.6}
.hero__glow--a{top:-200px;right:-100px;width:600px;height:600px;background:radial-gradient(circle,rgba(37,99,235,.5),transparent 70%)}
.hero__glow--b{bottom:-200px;left:-100px;width:500px;height:500px;background:radial-gradient(circle,rgba(79,70,229,.4),transparent 70%)}
.hero__inner{
  position:relative;z-index:2;
  display:grid;grid-template-columns:1.05fr 1fr;gap:64px;align-items:center;
}
.hero__content,.hero__visual{min-width:0}  /* grid items: let nowrap children shrink instead of widening the column */
.hero__eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:var(--text-inverse-secondary);
  padding:8px 16px;border-radius:100px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);
  margin-bottom:24px;max-width:100%;line-height:1.4;
}
.hero__dot{
  width:6px;height:6px;border-radius:50%;
  background:var(--success);box-shadow:0 0 0 3px rgba(22,163,74,.25);
  flex-shrink:0;
}
.hero__title{color:#fff;margin-bottom:22px}
.hero__title-em{
  display:inline-block;
  background:linear-gradient(120deg,var(--primary) 0%,var(--indigo) 55%,var(--accent) 110%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
  font-style:normal;padding-bottom:6px;
}
.hero__lead{
  font-size:17px;line-height:1.7;
  color:var(--text-inverse-secondary);
  max-width:560px;margin-bottom:28px;
}
.hero__features{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:32px}
.hero__features li{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13px;font-weight:500;
  color:var(--text-inverse-secondary);
  padding:8px 14px;border-radius:100px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}
.hero__features svg{width:14px;height:14px;color:var(--primary);flex-shrink:0}
.hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}
.hero__whatsapp{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13.5px;font-weight:500;
  color:var(--text-inverse-secondary);
  transition:color .2s;
}
.hero__whatsapp svg{width:16px;height:16px;flex-shrink:0}
.hero__whatsapp:hover{color:#fff}
.hero__visual{position:relative}
.hero__frame{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.1);
  border-radius:var(--radius-lg);
  padding:12px;
  box-shadow:0 30px 80px rgba(0,0,0,.4);
}
.hero__frame-head{display:flex;align-items:center;gap:12px;padding:6px 8px 14px}
.hero__frame-dots{display:flex;gap:6px;flex-shrink:0}
.hero__frame-dots i{display:block;width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.15)}
.hero__frame-dots i:nth-child(1){background:#EF4444}
.hero__frame-dots i:nth-child(2){background:#F59E0B}
.hero__frame-dots i:nth-child(3){background:#10B981}
.hero__frame-title{
  font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:rgba(255,255,255,.4);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.hero__frame-body{
  background:var(--dark-2);border-radius:var(--radius-md);
  overflow:hidden;position:relative;
}
.hero__frame-body img{width:100%;aspect-ratio:16/10;object-fit:cover;background:var(--dark-3)}
.hero__frame-stages{
  display:flex;gap:6px;padding:10px;
  background:rgba(0,0,0,.4);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  position:absolute;bottom:0;left:0;right:0;
  overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;
}
.hero__frame-stages::-webkit-scrollbar{display:none}
.hero__stage{
  display:inline-flex;align-items:center;gap:5px;
  font-size:11px;font-weight:600;letter-spacing:.04em;
  color:rgba(255,255,255,.5);
  padding:5px 10px;border-radius:100px;
  background:rgba(255,255,255,.06);
  white-space:nowrap;flex-shrink:0;
}
.stage-dot{
  display:block;width:5px;height:5px;border-radius:50%;
  background:currentColor;flex-shrink:0;
}
.hero__stage.is-active{color:#fff;background:var(--primary);box-shadow:0 4px 12px rgba(37,99,235,.4)}
.hero__meta{
  display:flex;align-items:center;justify-content:center;gap:20px;
  margin-top:20px;padding:14px 20px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius-md);
  font-size:13px;color:var(--text-inverse-secondary);
  flex-wrap:wrap;
}
.hero__meta strong{color:#fff;font-size:18px;font-family:var(--font-h);font-weight:700;margin-right:4px}
.hero__meta-sep{width:1px;height:20px;background:rgba(255,255,255,.1)}

/* ═══ 11. TRUST STRIP ═══ */
.trust-strip{background:var(--surface);padding:28px 0;border-bottom:1px solid var(--border)}
.trust-strip__grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.trust-strip__item{
  display:flex;align-items:center;gap:12px;
  padding:14px 16px;border-radius:var(--radius-md);
  transition:background .2s;
}
.trust-strip__item:hover{background:var(--surface-soft)}
.trust-strip__item svg{width:22px;height:22px;color:var(--primary);flex-shrink:0}
.trust-strip__item strong{display:block;font-size:14px;font-weight:700;color:var(--text)}
.trust-strip__item span{font-size:12.5px;color:var(--text-muted)}

/* ═══ 12. SECTION BASE ═══ */
.section{padding:88px 0;position:relative}
.section--light{background:var(--bg)}
.section--white{background:var(--surface)}
.section--dark{background:var(--dark);color:var(--text-inverse)}
.section--form{
  background:linear-gradient(160deg,var(--dark) 0%,#0F1A2E 100%);
  position:relative;
}
.section--form::before{
  content:'';position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(56,189,248,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(56,189,248,.06) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:radial-gradient(ellipse 70% 70% at 50% 50%,#000 30%,transparent 100%);
  -webkit-mask-image:radial-gradient(ellipse 70% 70% at 50% 50%,#000 30%,transparent 100%);
  pointer-events:none;
}
.section--form > .container{position:relative;z-index:1}

/* ═══ 13. SECTION HEAD ═══ */
.section-head{max-width:760px;margin-bottom:56px}
.section-head--center{margin-left:auto;margin-right:auto;text-align:center}
.section-head__eyebrow{
  display:inline-block;
  font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--primary);margin-bottom:14px;
  padding:6px 14px;border-radius:100px;
  background:var(--primary-soft);
}
.section-head--dark .section-head__eyebrow{color:#93C5FD;background:rgba(37,99,235,.15)}
.section-head__title{margin-bottom:16px}
.section-head--dark .section-head__title{color:#fff}
.section-head__lead{font-size:17px;line-height:1.7;max-width:640px}
.section-head--center .section-head__lead{margin-left:auto;margin-right:auto}
.section-head--dark .section-head__lead{color:var(--text-inverse-secondary)}

/* ═══ 14. WORKFLOW STRIP ═══ */
.workflow-strip{
  display:grid;grid-template-columns:repeat(5,1fr);gap:0;
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius-xl);overflow:hidden;
  box-shadow:var(--shadow-md);
}
.workflow-strip__step{
  padding:32px 24px;position:relative;
  border-right:1px solid var(--border);
  transition:background .2s;
}
.workflow-strip__step:last-child{border-right:none}
.workflow-strip__step:hover{background:var(--surface-soft)}
.workflow-strip__num{
  display:block;font-family:var(--font-h);
  font-size:32px;font-weight:800;
  color:var(--border);letter-spacing:-.02em;margin-bottom:12px;
}
.workflow-strip__step--active .workflow-strip__num{color:var(--primary)}
.workflow-strip__step--active{background:linear-gradient(180deg,var(--primary-soft) 0%,transparent 100%)}
.workflow-strip__title{font-size:16px;font-weight:700;margin-bottom:6px;color:var(--text)}
.workflow-strip__desc{font-size:13px;color:var(--text-muted);line-height:1.5}

/* ═══ 15. SKILLS ═══ */
.skills-dual{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:960px;margin:0 auto}
.skills-panel{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius-xl);padding:32px;
  transition:transform .25s var(--ease),box-shadow .25s var(--ease),border-color .25s;
}
.skills-panel:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:#CBD5E1}
.skills-panel--alt{border-top:3px solid var(--accent)}
.skills-panel__head{
  display:flex;align-items:center;gap:16px;
  padding-bottom:22px;border-bottom:1px solid var(--border);
  margin-bottom:22px;
}
.skills-panel__icon{
  width:52px;height:52px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  background:var(--primary-soft);border-radius:var(--radius-md);color:var(--primary);
}
.skills-panel--alt .skills-panel__icon{background:var(--accent-soft);color:var(--accent)}
.skills-panel__icon svg{width:26px;height:26px}
.skills-panel__title{font-size:22px;font-weight:800;margin-bottom:2px}
.skills-panel__sub{font-size:13px;color:var(--text-muted);font-weight:500}
.skills-panel__list li{
  position:relative;padding:9px 0 9px 28px;
  font-size:14.5px;color:var(--text-secondary);
  border-bottom:1px solid var(--surface-soft);
}
.skills-panel__list li:last-child{border-bottom:none}
.skills-panel__list li::before{
  content:'';position:absolute;left:0;top:15px;
  width:16px;height:16px;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center/contain;
  opacity:.85;
}
.skills-panel--alt .skills-panel__list li::before{
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F59E0B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}

/* ═══ 16. TIMELINE ═══ */
.timeline{
  position:relative;display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:24px;padding-top:40px;
}
.timeline__line{
  position:absolute;top:56px;left:6%;right:6%;height:2px;
  background:linear-gradient(90deg,transparent,var(--border) 15%,var(--border) 85%,transparent);
}
.timeline__line::before,.timeline__line::after{
  content:'';position:absolute;top:-3px;width:8px;height:8px;
  border-radius:50%;background:var(--primary);
}
.timeline__line::before{left:0}
.timeline__line::after{right:0}
.timeline__step{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  gap:16px;position:relative;
}
.timeline__marker{
  position:relative;width:72px;height:72px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  background:var(--surface);border:2px solid var(--border);
  border-radius:50%;color:var(--text-secondary);
  transition:all .25s var(--ease);z-index:1;
}
.timeline__marker svg{width:28px;height:28px}
.timeline__num{
  position:absolute;top:-10px;right:-10px;
  background:var(--dark);color:#fff;
  font-family:var(--font-h);font-size:11px;font-weight:800;
  padding:4px 8px;border-radius:100px;letter-spacing:.06em;
  border:2px solid var(--bg);
}
.timeline__step:hover .timeline__marker{
  border-color:var(--primary);color:var(--primary);
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(37,99,235,.15);
}
.timeline__step--active .timeline__marker{
  background:var(--primary);color:#fff;border-color:var(--primary);
  box-shadow:0 12px 28px rgba(37,99,235,.3);
}
.timeline__step--active .timeline__num{background:var(--accent);color:var(--dark)}
.timeline__body{padding:0 8px}
.timeline__title{font-size:17px;font-weight:700;margin-bottom:6px}
.timeline__desc{font-size:13.5px;color:var(--text-muted);line-height:1.55;max-width:220px;margin:0 auto}

/* ═══ 17. PROJECTS ═══ */
.projects{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px}
.project{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius-lg);overflow:hidden;cursor:pointer;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s var(--ease);
}
.project:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:#CBD5E1}
.project:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.project__media{
  position:relative;overflow:hidden;
  background:var(--surface-soft);aspect-ratio:16/10;
}
.project__media img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .5s var(--ease);
}
.project:hover .project__media img{transform:scale(1.05)}
.project__tag{
  position:absolute;top:14px;left:14px;
  font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  background:rgba(10,30,63,.85);backdrop-filter:blur(8px);
  color:#fff;padding:6px 12px;border-radius:100px;
}
.project__body{padding:22px 24px 24px}
.project__title{font-size:17px;font-weight:700;margin-bottom:8px;color:var(--text)}
.project__desc{font-size:14px;color:var(--text-secondary);line-height:1.6;margin-bottom:14px}
.project__meta{
  display:inline-block;font-size:11.5px;font-weight:600;letter-spacing:.03em;
  color:var(--text-muted);padding:5px 12px;border-radius:100px;
  background:var(--surface-soft);
}

/* ═══ 18. TRANSFORM ═══ */
.transform{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:20px;margin-top:16px}
.transform__stage{
  flex:1;min-width:180px;max-width:240px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius-lg);padding:28px 22px;
  text-align:center;position:relative;
  transition:transform .3s var(--ease),border-color .3s,background .3s;
}
.transform__stage:hover{transform:translateY(-6px);border-color:rgba(37,99,235,.4);background:rgba(37,99,235,.05)}
.transform__stage--final{
  background:linear-gradient(160deg,var(--primary) 0%,var(--indigo) 100%);
  border-color:transparent;box-shadow:0 20px 40px rgba(37,99,235,.3);
}
.transform__stage--final:hover{background:linear-gradient(160deg,var(--primary-dark) 0%,var(--indigo) 100%)}
.transform__stage--final .transform__icon{background:rgba(255,255,255,.15);color:#fff}
.transform__stage--final .transform__title,
.transform__stage--final .transform__desc{color:#fff}
.transform__stage--final .transform__desc{color:rgba(255,255,255,.8)}
.transform__stage--final .transform__num{background:rgba(255,255,255,.2);color:#fff}
.transform__num{
  position:absolute;top:12px;right:12px;
  font-family:var(--font-h);font-size:11px;font-weight:800;
  color:rgba(255,255,255,.35);padding:4px 8px;
  border-radius:100px;background:rgba(255,255,255,.06);letter-spacing:.06em;
}
.transform__icon{
  width:52px;height:52px;margin:0 auto 16px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(37,99,235,.15);color:#93C5FD;border-radius:var(--radius-md);
}
.transform__icon svg{width:26px;height:26px}
.transform__title{font-size:15px;font-weight:700;color:#fff;margin-bottom:6px}
.transform__desc{font-size:12.5px;color:var(--text-inverse-secondary)}
.transform__arrow{flex-shrink:0;color:rgba(255,255,255,.25)}
.transform__arrow svg{width:22px;height:22px}

/* ═══ 19. ROADMAP ═══ */
.roadmap{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.roadmap__item{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius-lg);padding:28px;position:relative;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s;
}
.roadmap__item:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:#CBD5E1}
.roadmap__item--final{
  background:linear-gradient(160deg,var(--dark) 0%,#1E293B 100%);
  border-color:transparent;color:#fff;
}
.roadmap__item--final .roadmap__month{color:var(--accent)}
.roadmap__item--final .roadmap__title{color:#fff}
.roadmap__item--final .roadmap__list li{color:rgba(255,255,255,.75)}
.roadmap__item--final .roadmap__list li::before{background:var(--accent)}
.roadmap__month{
  display:inline-block;font-family:var(--font-h);
  font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
  color:var(--primary);background:var(--primary-soft);
  padding:5px 12px;border-radius:100px;margin-bottom:16px;
}
.roadmap__item--final .roadmap__month{background:rgba(245,158,11,.15)}
.roadmap__title{font-size:17px;font-weight:700;margin-bottom:16px;color:var(--text)}
.roadmap__list li{
  font-size:13.5px;color:var(--text-secondary);
  padding:6px 0 6px 20px;position:relative;line-height:1.5;
}
.roadmap__list li::before{
  content:'';position:absolute;left:0;top:13px;
  width:6px;height:6px;border-radius:50%;background:var(--primary);
}
.roadmap__footer{text-align:center;margin-top:48px}

/* ═══ 20. CAREER ═══ */
.career{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}
.career__card{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius-lg);padding:28px 24px;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s;
}
.career__card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:#CBD5E1}
.career__card svg{
  width:26px;height:26px;color:var(--primary);
  margin-bottom:16px;padding:12px;box-sizing:content-box;
  background:var(--primary-soft);border-radius:var(--radius-md);
}
.career__card h3{font-size:16px;font-weight:700;margin-bottom:8px}
.career__card p{font-size:13.5px;color:var(--text-muted);line-height:1.55}
.career__disclaimer{
  font-size:13px;color:var(--text-muted);text-align:center;
  max-width:640px;margin:40px auto 0;padding:16px 20px;
  background:var(--surface-soft);border-radius:var(--radius-md);
  border-left:3px solid var(--border);line-height:1.6;
}

/* ═══ 21. FAQ (native <details>/<summary>: opens on tap/click/keyboard with ZERO JavaScript) ═══ */
.faq{display:flex;flex-direction:column;gap:10px}
.faq__item{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius-md);overflow:hidden;
  transition:border-color .2s,box-shadow .2s;
}
.faq__item:hover{border-color:#CBD5E1}
.faq__item[open]{border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,.08)}
.faq__q{
  list-style:none;cursor:pointer;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:20px 22px;
  font-size:15.5px;font-weight:600;color:var(--text);
  min-height:60px;
  transition:color .2s;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
  -webkit-user-select:none;user-select:none;
}
.faq__q::-webkit-details-marker{display:none}
.faq__q::marker{content:''}
.faq__q:hover{color:var(--primary)}
.faq__q:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}
.faq__q svg{
  width:20px;height:20px;flex-shrink:0;color:var(--text-muted);
  transition:transform .25s var(--ease),color .2s;
}
.faq__item[open] .faq__q svg{transform:rotate(45deg);color:var(--primary)}
.faq__a{padding:0 22px 22px;font-size:14.5px;color:var(--text-secondary);line-height:1.7}

/* ═══ 22. FORM ═══ */
.enquiry{
  background:var(--surface);border-radius:var(--radius-xl);
  padding:40px;box-shadow:0 30px 60px rgba(0,0,0,.25);
  max-width:680px;margin:0 auto;
}
.enquiry__row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}
.enquiry__field{margin-bottom:20px}
.enquiry__field label{display:block;font-size:13px;font-weight:600;color:var(--text);margin-bottom:8px}
.required{color:var(--danger)}
.optional{font-weight:400;color:var(--text-muted);font-size:12px}
.enquiry__field input,
.enquiry__field select,
.enquiry__field textarea{
  width:100%;height:52px;padding:0 16px;
  font-size:16px;font-family:var(--font-b);color:var(--text);
  background:var(--surface);border:1px solid var(--border);
  border-radius:12px;outline:none;
  transition:border-color .2s,box-shadow .2s;
}
.enquiry__field textarea{
  height:auto;padding:14px 16px;min-height:96px;resize:vertical;line-height:1.5;
}
.enquiry__field input::placeholder,
.enquiry__field textarea::placeholder{color:#98A2B3}
.enquiry__field input:focus,
.enquiry__field select:focus,
.enquiry__field textarea:focus{
  border-color:var(--primary);box-shadow:0 0 0 4px rgba(37,99,235,.1);
}
.enquiry__field input.is-error,
.enquiry__field select.is-error{
  border-color:var(--danger);box-shadow:0 0 0 4px rgba(220,38,38,.08);
}
.enquiry__field select{
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23667085' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat:no-repeat;background-position:right 18px center;
  padding-right:44px;cursor:pointer;
}
.hp-field{position:absolute;left:-9999px;top:-9999px;opacity:0;height:0;overflow:hidden}
#enquirySubmit{margin-top:4px}
#enquirySubmit.is-loading{opacity:.7;cursor:not-allowed;pointer-events:none}
.enquiry__privacy{font-size:12.5px;color:var(--text-muted);text-align:center;margin-top:16px;line-height:1.55}

/* ═══ 23. SUCCESS ═══ */
.success{
  background:var(--surface);border-radius:var(--radius-xl);
  padding:48px 32px;text-align:center;max-width:560px;margin:0 auto;
  box-shadow:0 30px 60px rgba(0,0,0,.2);
  animation:successIn .5s var(--ease-out);
}
@keyframes successIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
.success__icon{
  width:72px;height:72px;display:flex;align-items:center;justify-content:center;
  background:var(--success);color:#fff;border-radius:50%;
  margin:0 auto 20px;box-shadow:0 12px 32px rgba(22,163,74,.3);
}
.success__icon svg{width:36px;height:36px}
.success__title{font-size:22px;font-weight:800;margin-bottom:10px;color:var(--text)}
.success__lead{font-size:15px;color:var(--text-secondary);margin-bottom:26px}
.success__secondary{margin-top:28px;padding-top:24px;border-top:1px dashed var(--border)}
.success__secondary p{font-size:14px;color:var(--text-muted);margin-bottom:14px}

/* ═══ 24. FINAL CTA ═══ */
.final-cta{
  background:linear-gradient(135deg,var(--primary) 0%,var(--indigo) 100%);
  padding:80px 0;position:relative;overflow:hidden;
}
.final-cta::before{
  content:'';position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:40px 40px;
  mask-image:radial-gradient(ellipse 70% 80% at 50% 50%,#000 20%,transparent 100%);
  -webkit-mask-image:radial-gradient(ellipse 70% 80% at 50% 50%,#000 20%,transparent 100%);
  pointer-events:none;
}
.final-cta__inner{position:relative;z-index:1;text-align:center;max-width:680px;margin:0 auto}
.final-cta__title{color:#fff;margin-bottom:14px}
.final-cta__lead{color:rgba(255,255,255,.85);font-size:17px;margin-bottom:32px}
.final-cta__actions{display:flex;flex-wrap:wrap;gap:14px;justify-content:center}
.final-cta__actions .btn--primary{background:#fff;color:var(--primary)}
.final-cta__actions .btn--primary:hover{background:var(--text-inverse);color:var(--primary-dark)}

/* ═══ 25. FOOTER ═══ */
.site-footer{background:var(--dark);color:var(--text-inverse-secondary);padding:60px 0 0}
.site-footer__grid{
  display:grid;grid-template-columns:2fr 1fr 1fr;
  gap:48px;padding-bottom:40px;border-bottom:1px solid rgba(255,255,255,.06);
}
.site-footer__logo{
  display:block;box-sizing:content-box;
  height:var(--logo-h);width:auto;
  max-width:calc(100% - var(--logo-pad) * 2);
  margin-bottom:16px;object-fit:contain;
  border-radius:var(--logo-radius);background:var(--logo-bg);padding:var(--logo-pad);
  color:#0B1220;font-size:12px;font-weight:600;line-height:1.2;
}
.site-footer__brand p{font-size:14px;line-height:1.7;margin-top:10px;max-width:340px;color:var(--text-inverse-secondary)}
.site-footer__addr{font-size:13px !important;color:rgba(248,250,252,.55) !important;margin-top:14px !important}
.site-footer__col h4{
  font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:#fff;margin-bottom:18px;
}
.site-footer__col a{
  display:flex;align-items:center;gap:8px;
  font-size:14px;font-weight:500;color:var(--text-inverse-secondary);
  padding:6px 0;transition:color .2s;
}
.site-footer__col a:hover{color:#fff}
.site-footer__col a svg{width:14px;height:14px;opacity:.7;flex-shrink:0}
.site-footer__bottom{padding:24px 0;text-align:center;font-size:13px;color:rgba(248,250,252,.5)}

/* ═══ 26. MOBILE BAR ═══ */
.mobile-bar{
  display:none;
  position:fixed;bottom:0;left:0;right:0;z-index:950;
  background:rgba(255,255,255,.98);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border-top:1px solid var(--border);
  padding:var(--bar-py) var(--bar-px);
  padding-bottom:calc(var(--bar-py) + env(safe-area-inset-bottom,0px));
  gap:10px;box-shadow:0 -8px 24px rgba(15,23,42,.08);
}
.mobile-bar__btn{
  flex:1;display:flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 12px;font-size:14px;font-weight:600;
  border-radius:12px;min-height:var(--bar-btn-h);
  transition:transform .15s;
}
.mobile-bar__btn:active{transform:scale(.97)}
.mobile-bar__btn svg{width:18px;height:18px}
.mobile-bar__btn--wa{background:#25D366;color:#fff}
.mobile-bar__btn--primary{background:var(--accent);color:#0B1220}

/* ═══ 27. FLOATING WHATSAPP ═══ */
.float-wa{
  position:fixed;bottom:28px;right:24px;z-index:940;
  width:56px;height:56px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#25D366,#128C7E);
  color:#fff;border-radius:50%;
  box-shadow:0 10px 24px rgba(37,211,102,.35);
  transition:transform .2s var(--ease),box-shadow .2s var(--ease);
}
.float-wa svg{width:28px;height:28px}
.float-wa:hover{transform:translateY(-3px) scale(1.05);box-shadow:0 14px 32px rgba(37,211,102,.45)}

/* ═══ 28. TO TOP ═══ */
.to-top{
  position:fixed;bottom:28px;left:24px;z-index:930;
  width:48px;height:48px;
  display:flex;align-items:center;justify-content:center;
  background:var(--surface);color:var(--text);
  border:1px solid var(--border);border-radius:12px;
  box-shadow:var(--shadow-md);
  opacity:0;visibility:hidden;
  transition:opacity .25s,visibility .25s,transform .2s;
}
.to-top svg{width:20px;height:20px}
.to-top.is-visible{opacity:1;visibility:visible}
.to-top:hover{transform:translateY(-3px);border-color:var(--primary);color:var(--primary)}

/* ═══ 29. LIGHTBOX ═══ */
.lightbox{
  position:fixed;inset:0;z-index:1000;
  background:rgba(10,30,63,.92);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:48px 20px;cursor:zoom-out;
  animation:lbFade .25s var(--ease);
}
@keyframes lbFade{from{opacity:0}to{opacity:1}}
.lightbox[hidden]{display:none}
.lightbox__img{
  max-width:92vw;max-height:76vh;
  border-radius:var(--radius-lg);
  box-shadow:0 30px 80px rgba(0,0,0,.5);background:#fff;
}
.lightbox__caption{
  color:#fff;font-size:15px;font-weight:600;margin-top:20px;
  font-family:var(--font-h);text-align:center;
}
.lightbox__close{
  position:absolute;top:20px;right:20px;
  width:48px;height:48px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);
  border-radius:12px;color:#fff;
  transition:background .2s;
}
.lightbox__close svg{width:20px;height:20px}
.lightbox__close:hover{background:rgba(255,255,255,.2)}

/* ═══ 30. REVEAL ═══ */
/* Content is hidden for the entrance animation ONLY when JS is running (html.js, set inline in <head>).
   No JS / blocked JS / stale JS => everything stays visible. */
.js .reveal{
  opacity:0;transform:translateY(24px);
  transition:opacity .65s var(--ease-out),transform .65s var(--ease-out);
  transition-delay:var(--d,0s);
  will-change:opacity,transform;
}
.js .reveal.is-visible{opacity:1;transform:translateY(0)}
html.nav-fallback .reveal{opacity:1;transform:none}  /* main.js never started -> don't leave sections invisible */

/* ═══ 31. UTILITIES ═══ */
.text-center{text-align:center}
.mt-6{margin-top:48px}
[hidden]{display:none !important}

/* ═══════════════════════════════════════════════════════
   32. RESPONSIVE
   ═══════════════════════════════════════════════════════ */

/* ── ≤1024px ── */
@media (max-width:1024px){
  .container{padding:0 22px}
  :root{--logo-h:38px}
  .hero{padding:72px 0 64px}
  .hero__inner{gap:44px}
  .hero__title{font-size:clamp(34px,4.6vw,52px)}
  .section{padding:72px 0}
  .projects{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
  .roadmap{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
  .career{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
}

/* ── ≤900px: mobile nav ── */
@media (max-width:900px){
  :root{
    --header-h:64px;
    --logo-h:36px;
  }

  .site-header__inner{gap:12px}
  .nav-toggle{display:flex}

  /* ───────────────────────────────────────────────
     MOBILE NAVIGATION — one state system
       closed  = translateX(100%) + opacity 0 + visibility hidden + no pointer events
       open    = .primary-nav.is-open (set by JS together with aria-expanded)
     `visibility` is delayed on close so the slide-out is visible, and removes the
     closed panel from the tab order / accessibility tree.
     It is position:fixed against the VIEWPORT (header has no backdrop-filter now).
     ─────────────────────────────────────────────── */
  .primary-nav{
    position:fixed;
    top:var(--header-h);left:0;right:0;
    width:100%;
    height:calc(100vh - var(--header-h));              /* fallback */
    height:calc(100dvh - var(--header-h));             /* tracks mobile browser chrome */
    display:flex;flex-direction:column;align-items:stretch;gap:8px;
    padding:24px 20px calc(var(--mobile-bar-h) + env(safe-area-inset-bottom,0px) + 24px);
    background:linear-gradient(180deg,#0A1E3F 0%,#0E1730 100%);
    border-top:1px solid rgba(255,255,255,.06);
    overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
    z-index:1;

    transform:translateX(100%);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:transform .3s var(--ease-out),opacity .25s var(--ease),visibility 0s linear .3s;
  }
  .primary-nav.is-open{
    transform:translateX(0);
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transition-delay:0s,0s,0s;
  }

  .primary-nav__list{
    flex-direction:column;
    align-items:stretch;
    gap:4px;
    width:100%;
  }

  .primary-nav__link{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:16px;
    font-weight:600;
    color:#fff;
    padding:16px;
    border-radius:12px;
    background:rgba(255,255,255,.05);
    min-height:56px;
    width:100%;
  }

  .primary-nav__link::after{
    content:'→';
    opacity:.55;
    font-size:18px;
    transition:transform .2s;
  }

  .primary-nav__link:active{
    background:rgba(255,255,255,.1);
    transform:translateX(2px);
  }

  .nav-cta{
    width:100%;
    justify-content:center;
    margin-top:16px;
    min-height:52px;
    font-size:15px;
    border-radius:14px;
  }

  /* ─ Hero ─ */
  .hero{padding:56px 0 56px}
  .hero__inner{grid-template-columns:minmax(0,1fr);gap:40px}
  .hero__title{font-size:clamp(30px,7vw,44px)}
  .hero__lead{font-size:15.5px;margin-bottom:24px}
  .hero__features li{font-size:12px;padding:7px 12px}
  .hero__actions{flex-direction:column;gap:10px}
  .hero__actions .btn{width:100%}
  .hero__visual{max-width:560px;margin:0 auto;width:100%}
  .hero__frame-stages{
    position:static;background:transparent;backdrop-filter:none;
    -webkit-backdrop-filter:none;padding:14px 0 0;
    margin:0 -12px;padding-left:12px;padding-right:12px;
  }
  .hero__meta{font-size:12px;gap:14px;padding:12px 16px;margin-top:16px}
  .hero__meta strong{font-size:16px}

  /* ─ Trust ─ */
  .trust-strip{padding:20px 0}
  .trust-strip__grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .trust-strip__item{padding:12px}

  /* ─ Sections ─ */
  .section{padding:64px 0}
  .section-head{margin-bottom:40px}
  .section-head__lead{font-size:15.5px;line-height:1.65}

  /* ─ Workflow ─ */
  .workflow-strip{
    grid-template-columns:1fr;
    background:transparent;border:none;box-shadow:none;gap:12px;
  }
  .workflow-strip__step{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius-lg);
    padding:20px 22px;
    box-shadow:var(--shadow-sm);
  }
  .workflow-strip__step--active{
    background:linear-gradient(135deg,var(--primary-soft) 0%,var(--surface) 100%);
    border-color:rgba(37,99,235,.2);
    box-shadow:0 8px 24px rgba(37,99,235,.08);
  }
  .workflow-strip__num{font-size:24px;margin-bottom:8px}
  .workflow-strip__step--active .workflow-strip__num{color:var(--primary)}

  /* ─ Skills ─ */
  .skills-dual{grid-template-columns:1fr;gap:20px;max-width:560px;margin:0 auto}
  .skills-panel{padding:26px}

  /* ─ Timeline ─ */
  .timeline{grid-template-columns:1fr;gap:0;padding-top:0}
  .timeline__line{display:none}
  .timeline__step{
    flex-direction:row;align-items:flex-start;text-align:left;
    gap:18px;padding:20px 0;position:relative;
  }
  .timeline__step::before{
    content:'';position:absolute;left:35px;top:80px;bottom:-20px;
    width:2px;background:linear-gradient(180deg,var(--border),transparent);
  }
  .timeline__step:last-child::before{display:none}
  .timeline__marker{width:72px;height:72px;flex-shrink:0}
  .timeline__body{flex:1;padding:8px 0 0;min-width:0}
  .timeline__desc{max-width:none;margin:0}

  /* ─ Projects ─ */
  .projects{grid-template-columns:1fr;gap:18px}
  .project__body{padding:20px 22px 22px}

  /* ─ Transform ─ */
  .transform{flex-direction:column;gap:14px}
  .transform__stage{
    width:100%;max-width:100%;min-width:0;
    display:flex;align-items:center;gap:16px;
    text-align:left;padding:22px 20px;
  }
  .transform__icon{margin:0;width:56px;height:56px;flex-shrink:0}
  .transform__icon svg{width:28px;height:28px}
  .transform__num{position:static;font-size:11px;margin-left:auto;flex-shrink:0}
  .transform__title{font-size:16px;margin-bottom:2px}
  .transform__arrow{transform:rotate(90deg);padding:4px 0}
  .transform__arrow svg{width:20px;height:20px}

  /* ─ Roadmap ─ */
  .roadmap{grid-template-columns:1fr;gap:16px}
  .roadmap__item{padding:24px 22px}

  /* ─ Career ─ */
  .career{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}
  .career__card{padding:22px 20px}

  /* ─ Accordion ─ */
  .faq__q{padding:18px 20px;font-size:15px;min-height:56px}
  .faq__a{padding:0 20px 20px;font-size:14px}

  /* ─ Form ─ */
  .enquiry{padding:32px 26px;border-radius:var(--radius-lg)}
  .enquiry__row{grid-template-columns:1fr;gap:0;margin-bottom:0}

  /* ─ Success ─ */
  .success{padding:40px 24px}
  .success__icon{width:64px;height:64px}
  .success__icon svg{width:32px;height:32px}

  /* ─ Final CTA ─ */
  .final-cta{padding:64px 0}
  .final-cta__actions{flex-direction:column;gap:10px}
  .final-cta__actions .btn{width:100%}

  /* ─ Footer ─ */
  .site-footer{padding:48px 0 0}
  .site-footer__grid{grid-template-columns:1fr;gap:32px;padding-bottom:32px}
  .site-footer__brand p{max-width:100%}

  /* ─ Mobile bar & floating ─ */
  .mobile-bar{display:flex}
  .float-wa{display:none}  /* the bottom bar already carries WhatsApp — never two competing buttons */
  .to-top{
    bottom:calc(var(--mobile-bar-h) + env(safe-area-inset-bottom,0px) + 14px);
    left:16px;width:44px;height:44px;
  }
  .to-top svg{width:18px;height:18px}

  body{padding-bottom:calc(var(--mobile-bar-h) + env(safe-area-inset-bottom,0px))}
}

/* ── ≤640px ── */
@media (max-width:640px){
  .container{padding:0 18px}
  .container--narrow{padding:0 18px}
  :root{--logo-h:34px;--bar-py:8px;--bar-px:10px}
  h1{font-size:clamp(26px,7.5vw,34px)}
  h2{font-size:clamp(22px,6vw,28px)}
  body{font-size:15px}

  /* Nav toggle slightly smaller */
  .nav-toggle{width:44px;height:44px;border-radius:11px}

  /* Primary nav padding (bottom clearance comes from --mobile-bar-h) */
  .primary-nav{padding:20px 16px calc(var(--mobile-bar-h) + env(safe-area-inset-bottom,0px) + 24px)}
  .primary-nav__link{padding:14px;font-size:15.5px;min-height:54px}

  /* Hero */
  .hero{padding:40px 0 48px}
  .hero__eyebrow{font-size:10.5px;padding:7px 13px;margin-bottom:18px}
  .hero__title{font-size:clamp(24px,8vw,32px);line-height:1.15;margin-bottom:16px}
  .hero__lead{font-size:14.5px;line-height:1.6;margin-bottom:22px}
  .hero__features li{font-size:11.5px;padding:6px 11px;gap:6px}
  .hero__features svg{width:12px;height:12px}
  .hero__actions .btn{min-height:52px;font-size:15px}
  .hero__whatsapp{font-size:13px}
  .hero__frame{padding:10px}
  .hero__frame-body img{aspect-ratio:4/3}
  .hero__meta{gap:12px;padding:12px 14px;font-size:11.5px;justify-content:flex-start}
  .hero__meta strong{font-size:15px}
  .hero__meta-sep{display:none}

  /* Trust */
  .trust-strip__grid{grid-template-columns:1fr;gap:6px}
  .trust-strip__item{padding:12px 14px}

  /* Sections */
  .section{padding:52px 0}
  .section-head{margin-bottom:32px}

  /* Skills */
  .skills-panel{padding:22px 20px}
  .skills-panel__title{font-size:18px}

  /* Timeline */
  .timeline__step::before{left:29px;top:70px}
  .timeline__marker{width:58px;height:58px}
  .timeline__marker svg{width:22px;height:22px}
  .timeline__num{font-size:10px;padding:3px 7px;top:-8px;right:-8px}
  .timeline__title{font-size:16px}

  /* Projects */
  .project__media{aspect-ratio:16/10}
  .project__body{padding:18px 20px 20px}
  .project__title{font-size:16px}

  /* Transform */
  .transform__stage{padding:18px 18px;gap:14px}
  .transform__icon{width:48px;height:48px}
  .transform__icon svg{width:24px;height:24px}
  .transform__title{font-size:15px}

  /* Roadmap */
  .roadmap__item{padding:22px 20px}
  .roadmap__title{font-size:15.5px}

  /* Career */
  .career{grid-template-columns:1fr;gap:12px}
  .career__card{padding:20px 18px}

  /* Accordion */
  .faq__q{padding:16px 18px;font-size:14.5px;min-height:56px;gap:12px}
  .faq__a{padding:0 18px 18px;font-size:13.5px}

  /* Form */
  .enquiry{padding:24px 20px;border-radius:var(--radius-lg)}
  .enquiry__field{margin-bottom:16px}
  .enquiry__field input,
  .enquiry__field select{height:52px;padding:0 14px;font-size:16px;border-radius:11px}
  .enquiry__field textarea{min-height:100px;padding:12px 14px;font-size:16px}
  #enquirySubmit{min-height:54px}

  /* Success */
  .success{padding:36px 22px}
  .success__icon{width:60px;height:60px}
  .success__icon svg{width:28px;height:28px}
  .success__title{font-size:18px}
  .success .btn{width:100%;min-height:52px}

  /* Final CTA */
  .final-cta{padding:52px 0}

  /* Footer */
  .site-footer{padding:40px 0 0}

  /* Mobile bar (padding comes from --bar-py/--bar-px so safe-area is never lost) */
  .mobile-bar{gap:8px}
  .mobile-bar__btn{padding:12px 10px;font-size:13.5px;gap:6px;border-radius:11px}
  .mobile-bar__btn svg{width:17px;height:17px}

  /* Floating */
  .to-top{left:14px;width:44px;height:44px}

  /* Lightbox */
  .lightbox{padding:60px 14px 40px}
  .lightbox__img{max-width:96vw;max-height:64vh}
  .lightbox__close{top:14px;right:14px;width:44px;height:44px}
}

/* ── ≤480px ── */
@media (max-width:480px){
  .container{padding:0 16px}
  .btn{max-width:100%;white-space:normal;text-align:center;line-height:1.25}
  h1{font-size:clamp(24px,8vw,30px)}
  h2{font-size:clamp(21px,6.5vw,26px)}

  .nav-toggle{width:42px;height:42px}

  .hero{padding:36px 0 40px}
  .hero__title{font-size:clamp(23px,8.5vw,30px)}
  .hero__lead{font-size:14px}
  .hero__features li{font-size:11px;padding:6px 10px}
  .hero__meta{padding:10px 12px;font-size:11px;gap:10px}

  .section{padding:44px 0}

  .trust-strip__item{padding:10px 12px}

  .skills-panel{padding:20px 18px}
  .skills-panel__title{font-size:17px}

  .timeline__marker{width:52px;height:52px}
  .timeline__marker svg{width:20px;height:20px}
  .timeline__step::before{left:26px;top:62px}

  .project__body{padding:16px 18px 18px}
  .project__title{font-size:15px}

  .transform__stage{padding:16px 16px;gap:12px}
  .transform__icon{width:44px;height:44px}
  .transform__icon svg{width:22px;height:22px}

  .roadmap__item{padding:20px 18px}

  .faq__q{padding:15px 16px;font-size:14px}
  .faq__a{padding:0 16px 16px;font-size:13px}

  .enquiry{padding:22px 18px}

  .success__title{font-size:17px}

  .mobile-bar__btn{font-size:13px;padding:12px 8px;gap:5px}
  .mobile-bar__btn svg{width:16px;height:16px}

  .to-top{left:12px;width:42px;height:42px}
}

/* ── ≤375px ── */
@media (max-width:375px){
  .container{padding:0 14px}
  h1{font-size:23px}
  h2{font-size:20px}

  .hero{padding:32px 0 36px}
  .hero__title{font-size:22px}
  .hero__lead{font-size:13.5px}
  .hero__features li{font-size:10.5px;padding:5px 9px}
  .hero__actions .btn{font-size:14px;padding:13px 18px;min-height:50px}
  .hero__meta{font-size:10.5px;gap:8px}

  .section{padding:40px 0}
  .section-head__lead{font-size:13.5px}

  .trust-strip__item{padding:10px}
  .trust-strip__item strong{font-size:13px}

  .workflow-strip__step{padding:16px 18px}

  .skills-panel{padding:18px 16px}
  .skills-panel__list li{font-size:12.5px}

  .timeline__marker{width:48px;height:48px}
  .timeline__marker svg{width:18px;height:18px}
  .timeline__step::before{left:24px;top:58px}

  .project__title{font-size:14.5px}
  .project__desc{font-size:12.5px}

  .transform__stage{padding:14px 14px}
  .transform__icon{width:40px;height:40px}

  .roadmap__title{font-size:14.5px}

  .career__card{padding:18px 16px}

  .faq__q{padding:14px 15px;font-size:13.5px}
  .faq__a{padding:0 15px 15px;font-size:12.5px}

  .enquiry{padding:20px 16px}
  .enquiry__field label{font-size:12px}
  .enquiry__field input,
  .enquiry__field select{height:48px;padding:0 13px}

  .success{padding:32px 18px}

  .mobile-bar__btn{font-size:12.5px;padding:11px 6px}
  .mobile-bar__btn svg{width:15px;height:15px}

  .to-top{left:10px;width:40px;height:40px}
}

/* ── ≤340px ── */
@media (max-width:340px){
  .container{padding:0 12px}
  :root{--bar-py:6px;--bar-px:8px;--bar-btn-h:46px}
  h1{font-size:21px}
  h2{font-size:19px}
  body{font-size:14.5px}

  .hero__title{font-size:20px}
  .hero__lead{font-size:13px}

  .mobile-bar{gap:6px}
  .mobile-bar__btn{font-size:12px;padding:10px 5px;gap:4px}
  .mobile-bar__btn svg{width:14px;height:14px}

  .to-top{left:8px;width:38px;height:38px}
}

/* ── Landscape mobile ── */
@media (max-width:900px) and (orientation:landscape) and (max-height:500px){
  .hero{padding:32px 0}
  .hero__inner{gap:24px}
  :root{--bar-py:6px;--bar-btn-h:44px}
  .primary-nav{padding:16px 20px calc(var(--mobile-bar-h) + env(safe-area-inset-bottom,0px) + 16px)}
  .primary-nav__link{padding:12px 14px;min-height:48px}
  .mobile-bar__btn{padding:10px}
}

/* ── Touch devices ── */
@media (hover:none) and (pointer:coarse){
  .btn:hover,
  .project:hover,
  .career__card:hover,
  .roadmap__item:hover,
  .skills-panel:hover,
  .transform__stage:hover{
    transform:none;
    box-shadow:initial;
  }
  .btn:active{transform:scale(.97)}
  .project:active{transform:scale(.99)}
}

/* ═══ 33. ACCESSIBILITY ═══ */
:focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:6px}
button:focus-visible,a:focus-visible{outline-offset:3px}

/* ═══ 34. REDUCED MOTION ═══ */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
  .js .reveal{opacity:1;transform:none}
  .scroll-progress{display:none}
  .primary-nav{transition:none !important}
}

/* ═══ 35. PRINT ═══ */
@media print{
  .site-header,.mobile-bar,.float-wa,.to-top,.scroll-progress{display:none}
  .js .reveal{opacity:1;transform:none}
}