/* ==========================================================================
   MDA TECHNOPLUS — main.css
   Design system: dark "tech-lab" aesthetic · black + lime (#9ACD32)
   Fonts: Inter (body) / Space Grotesk (display) — loaded per base.html
   ========================================================================== */

/* ------------------------------- Tokens -------------------------------- */
:root {
  --bg: #000;
  --surface: #0d0f0d;
  --surface-2: #131613;
  --line: rgba(154, 205, 50, .14);
  --line-strong: rgba(154, 205, 50, .3);
  --accent: #9ACD32;
  --accent-bright: #adff2f;
  --accent-deep: #5c8a10;
  --grad-accent: linear-gradient(90deg, #22c1a5, #adff2f);
  --text: #eceee9;
  --muted: #9aa29b;
  --white: #ffffff;
  --danger: #ff6b6b;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;

  --rad-sm: 10px;
  --rad: 14px;
  --rad-lg: 22px;

  --shadow-glow: 0 10px 40px rgba(154, 205, 50, .16);
  --shadow-card: 0 14px 44px rgba(0, 0, 0, .55);
  --shadow-soft: 0 6px 24px rgba(0, 0, 0, .35);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --header-h: 72px;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-bright); }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(154, 205, 50, .35); color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Global overlay behavior (ensures `hidden` wins over display rules) ---------- */
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--accent);
  color: #0a0a0a;
  font-weight: 600;
  border-radius: 0 0 var(--rad-sm) var(--rad-sm);
  transition: top .25s var(--ease-out);
}
.skip-link:focus-visible { top: 0; color: #0a0a0a; }

/* --------------------------- Layout utilities --------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container-narrow { max-width: 820px; }

.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-alt {
  background:
    radial-gradient(1100px 400px at 85% -10%, rgba(154, 205, 50, .07), transparent 60%),
    var(--surface);
}

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .h2, .section-sub { z-index: 1; position: relative; }
.section-sub { color: var(--muted); margin: 14px 0 0; }
.section-cta { margin-top: clamp(32px, 4vw, 48px); display: flex; justify-content: center; }

/* Gradient divider between alternating sections */
.section-alt + .section { position: relative; }
.section-alt + .section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* ------------------------------ Typography ------------------------------ */
.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--white);
}
h1.h-display { margin-block: 18px 20px; }

.h2, .h3 {
  font-family: var(--font-display);
  letter-spacing: -.015em;
  color: var(--white);
  text-wrap: balance;
}
.h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}
.h2--sm { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 600; margin: 0 0 10px; }
.h-sticky { position: sticky; top: calc(var(--header-h) + 24px); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-accent);
  box-shadow: 0 0 12px var(--accent);
}

/* ------------------------------ Buttons -------------------------------- */
.btn {
  --btn-bg: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out),
              background-color .25s ease, color .25s ease, border-color .25s ease;
  will-change: transform;
}
.btn-lg { min-height: 52px; padding: 14px 32px; font-size: 1rem; }
.btn-sm { min-height: 38px; padding: 8px 18px; font-size: .85rem; }
.btn-block { width: 100%; }

.btn-lime {
  background: var(--accent);
  color: #060a02;
  position: relative;
  overflow: hidden;
}
.btn-lime:hover { background: var(--accent-bright); color: #060a02; }
.btn-lime .fa-arrow-right { transition: transform .25s var(--ease-out); }
.btn-lime:hover .fa-arrow-right { transform: translateX(4px); }

/* shine sweep on primary buttons */
.btn-lime::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
  pointer-events: none;
}
.btn-lime:hover::after { transform: translateX(120%); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(154, 205, 50, .04);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-bright); background: rgba(154, 205, 50, .08); }
.btn-ghost .btn-arrow::before {
  content: "\2192";
  display: inline-block;
  transition: transform .25s var(--ease-out);
}
.btn-ghost:hover .btn-arrow::before { transform: translateX(4px); }

.btn-wa {
  background: #22c55e;
  color: #04120a;
}
.btn-wa:hover { background: #34e27a; color: #04120a; }

.btn-magnetic { transition-timing-function: var(--spring); }

.btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(0, 0, 0, .3);
  border-top-color: #060a02;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: .6; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------- Kicker / chips ----------------------------- */
.chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(154, 205, 50, .1);
  border: 1px solid var(--line);
}
.chip--small { font-size: .62rem; padding: 2px 8px; margin-left: 4px; vertical-align: middle; }

/* ------------------------------ Preloader ------------------------------ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity .45s ease, visibility .45s ease;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { display: grid; justify-items: center; gap: 18px; }
.preloader-logo { animation: pulse 1.1s ease-in-out infinite alternate; filter: drop-shadow(0 0 18px rgba(154, 205, 50, .4)); }
@keyframes pulse { from { transform: scale(1); opacity: .75; } to { transform: scale(1.07); opacity: 1; } }
.preloader-bar {
  width: 160px; height: 3px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.preloader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: var(--grad-accent);
  animation: loadslide .9s var(--ease-out) forwards;
}
@keyframes loadslide { from { transform: translateX(-110%); } to { transform: translateX(300%); } }

/* --------------------------- Scroll progress --------------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--grad-accent);
  z-index: 1600;
  box-shadow: 0 0 10px rgba(154, 205, 50, .55);
}

/* ----------------------------- Cursor glow ------------------------------ */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 360px; height: 360px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(154, 205, 50, .07), transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .4s ease;
}
.cursor-glow.is-on { opacity: 1; }
@media (hover: none), (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none; }
}

/* ------------------------------ Header/nav ------------------------------ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease, height .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  --header-h: 64px;
  background: rgba(5, 7, 5, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand img { height: 40px; width: auto; }
.site-header.is-scrolled .brand img { height: 34px; transition: height .3s ease; }

.nav-menu { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-link {
  position: relative;
  color: var(--text);
  font-weight: 500;
  font-size: .96rem;
  padding: 10px 2px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  height: 2px; width: 100%;
  border-radius: 2px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--accent-bright); }

/* Mobile drawer */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 10px;
  border-radius: var(--rad-sm);
  border: 1px solid var(--line);
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(360px, 88vw);
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 28px 24px;
    background: rgba(7, 9, 7, .96);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .35s var(--ease-out);
    overflow-y: auto;
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-links { flex-direction: column; align-items: stretch; width: 100%; gap: 0; }
  .nav-link { display: block; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .05); }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 18px; width: 100%; }
  body.nav-open { overflow: hidden; }
}

/* ------------------------------- Toasts -------------------------------- */
.toast-stack {
  position: fixed;
  top: calc(var(--header-h) + 14px);
  right: 20px;
  z-index: 1800;
  display: grid;
  gap: 10px;
}
.app-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 420px;
  padding: 14px 16px;
  border-radius: var(--rad);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
  color: var(--text);
  animation: toastIn .4s var(--spring);
}
.app-toast--error { border-color: rgba(255, 107, 107, .5); }
.app-toast--error .fa-circle-exclamation { color: var(--danger); }
.app-toast .fa-circle-check { color: var(--accent); font-size: 1.15rem; }
.app-toast__close { margin-left: auto; color: var(--muted); font-size: 1.2rem; }
.app-toast__close:hover { color: var(--white); }
.app-toast.is-hiding { opacity: 0; transform: translateX(20px); transition: .3s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } }

/* ================================ HERO ================================= */
.hero {
  position: relative;
  min-height: max(92dvh, 640px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + clamp(40px, 7vh, 80px)) 0 60px;
  overflow: clip;
}
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: .5;
}
/* faint grid texture */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(154, 205, 50, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 205, 50, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 78% 30%, rgba(154, 205, 50, .12), transparent 65%),
    radial-gradient(700px 420px at 12% 85%, rgba(34, 193, 165, .08), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-lead {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
  margin: 0 0 30px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}
.trust-item { display: inline-flex; align-items: center; gap: 7px; color: var(--text); }
.trust-item .fa-circle-check { color: var(--accent); }
.trust-sep { color: var(--accent); opacity: .5; }

/* typing */
.typed-wrap { display: inline-flex; }
.typed-wrap #typedWord { color: var(--accent); background: linear-gradient(90deg, var(--accent), var(--accent-bright)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.typed-wrap.is-swap { opacity: 0; transition: opacity .18s ease; }
.typed-caret {
  display: inline-block;
  width: 3px;
  height: .95em;
  margin-left: 6px;
  align-self: center;
  background: var(--accent-bright);
  animation: caret 1.05s steps(1) infinite;
  box-shadow: 0 0 10px rgba(173, 255, 47, .7);
}
@keyframes caret { 50% { opacity: 0; } }

/* scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  border: 1px solid var(--line);
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 7px); } }

/* ---------- Hero visual (interactive composition) ---------- */
.hero-visual {
  position: relative;
  min-height: 420px;
  perspective: 1000px;
}
.orbit-line {
  position: absolute;
  inset: 12% 6%;
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: orbitSpin 26s linear infinite;
  mask-image: linear-gradient(120deg, transparent 20%, #000 55%, transparent 85%);
  -webkit-mask-image: linear-gradient(120deg, transparent 20%, #000 55%, transparent 85%);
}
.orbit-line--2 {
  inset: 2% 16%;
  border-radius: 46% 54% 52% 48%;
  animation-duration: 38s;
  animation-direction: reverse;
  opacity: .6;
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.glass-panel {
  position: relative;
  z-index: 2;
  max-width: 460px;
  margin-inline: auto;
  border-radius: var(--rad-lg);
  background: linear-gradient(160deg, rgba(19, 22, 19, .92), rgba(10, 12, 10, .92));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  transition: box-shadow .35s ease;
}
.glass-panel:hover { box-shadow: var(--shadow-glow), var(--shadow-card); }
.panel-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.panel-head .dot { width: 9px; height: 9px; border-radius: 50%; background: #2a3528; }
.panel-head .dot:first-child { background: var(--accent); }
.panel-title { margin-left: 8px; font-size: .72rem; color: var(--muted); letter-spacing: .08em; }
.panel-body { padding: 22px 22px 24px; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.metric { display: grid; gap: 2px; }
.metric-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  background: linear-gradient(90deg, var(--white), var(--accent-bright));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.metric-label { font-size: .7rem; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 96px; padding: 8px 4px; border: 1px solid var(--line); border-radius: var(--rad-sm); background: rgba(0, 0, 0, .35); }
.bars span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent-bright), rgba(154, 205, 50, .25)); transform-origin: bottom; animation: barPulse 3.4s ease-in-out infinite; }
.bars span:nth-child(odd) { animation-delay: -1.7s; }
@keyframes barPulse { 50% { transform: scaleY(.72); } }
.panel-tagline { margin-top: 14px; font-size: .85rem; color: var(--muted); font-style: italic; }

.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--rad);
  background: rgba(13, 15, 13, .85);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
  font-size: .82rem;
  line-height: 1.35;
  animation: floaty 6s ease-in-out infinite;
}
.float-chip i { color: var(--accent); font-size: 1.05rem; }
.float-chip strong { display: block; color: var(--white); font-size: .9rem; }
.float-chip span { color: var(--muted); font-size: .74rem; }
.chip-a { top: -2.2rem; left: -1.2rem; animation-delay: 0s; }
.chip-b { right: -1rem; top: 34%; animation-delay: -2s; }
.chip-c { bottom: -1.4rem; left: 8%; animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

@media (hover: none) { .float-chip { animation: none; } }

/* ============================ PARTNER MARQUEE ========================== */
.partners-band {
  padding: 42px 0 38px;
  border-top: 1px solid transparent;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: clip;
}
.partners-caption {
  margin: 0 0 22px;
  text-align: center;
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.partner-logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 10px;
  filter: grayscale(1) opacity(.65);
  transition: filter .3s ease, transform .3s ease;
}
.partner-logo:hover { filter: none; transform: translateY(-3px); }
.partner-logo img { max-height: 64px; width: auto; }
.partner-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: .1em;
}

/* =============================== STATS ================================= */
.stats-band {
  padding: clamp(40px, 6vw, 64px) 0;
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(154, 205, 50, .08), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 36px);
  text-align: center;
}
.stat { padding: 18px 8px; }
.stat-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
}
.stat-num {
  background: linear-gradient(90deg, var(--white), var(--accent-bright));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { margin: 10px 0 0; color: var(--muted); font-size: .88rem; }
@media (max-width: 767px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================== SERVICES =============================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 28px);
}
.service-card {
  position: relative;
  padding: 34px 28px 30px;
  border-radius: var(--rad-lg);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-glow); }
.card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .35s ease;
  background: radial-gradient(360px 200px at var(--mx, 50%) var(--my, 0%), rgba(154, 205, 50, .12), transparent 65%);
  pointer-events: none;
}
.service-card:hover .card-glow { opacity: 1; }

/* lime trace sweep on hover */
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.service-card:hover::before { transform: scaleX(1); }

.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(154, 205, 50, .08);
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 20px;
  transition: transform .35s var(--spring), background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.icon-tile--sm { width: 46px; height: 46px; font-size: 1.05rem; border-radius: 12px; margin-bottom: 0; flex: 0 0 auto; }
.service-card:hover .icon-tile {
  transform: translateY(-6px) scale(1.06);
  background: var(--accent);
  color: #060a02;
  box-shadow: 0 10px 26px rgba(154, 205, 50, .35);
}
.card-title {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.18rem;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -.01em;
}
.card-desc { color: var(--muted); margin: 0; font-size: .95rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--accent);
}
.card-link .fa-arrow-right { transition: transform .25s var(--ease-out); }
.card-link:hover .fa-arrow-right { transform: translateX(4px); }

@media (max-width: 991px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .services-grid { grid-template-columns: 1fr; } }

/* ============================ FEATURED WORK ============================ */
.work-scroller {
  display: flex;
  gap: clamp(18px, 2.5vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px max(24px, calc((100vw - var(--container)) / 2 + 24px)) 26px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-deep) transparent;
}
.work-card {
  scroll-snap-align: start;
  flex: 0 0 min(92vw, 360px);
  text-align: left;
  border-radius: var(--rad-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), border-color .3s ease, box-shadow .3s ease;
  display: block;
  padding: 0;
}
.work-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-glow); }
.work-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.work-card:hover .work-media img { transform: scale(1.06); }
.work-zoom {
  position: absolute;
  right: 14px; bottom: 14px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: var(--accent);
  border: 1px solid var(--line-strong);
  opacity: 0;
  transform: scale(.7);
  transition: opacity .3s ease, transform .3s var(--spring);
}
.work-card:hover .work-zoom { opacity: 1; transform: scale(1); }
.work-meta { display: grid; gap: 4px; padding: 18px 20px 20px; }
.work-cat {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.work-title { color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.work-client { color: var(--muted); font-weight: 500; }
.work-cta { display: inline-flex; gap: 8px; align-items: center; color: var(--accent); font-size: .85rem; margin-top: 4px; }

/* =============================== PROCESS =============================== */
.process-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.process-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.process-steps > li { position: relative; }
.step-line {
  position: absolute;
  left: 23px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background: var(--surface-2);
  border-radius: 2px;
  overflow: hidden;
}
.step-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-accent);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform .8s var(--ease-out) .2s;
}
.process-wrap.is-in .step-line::after { transform: scaleY(1); }
.process-steps > li:last-child .step-line { display: none; }

.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 18px;
  width: 100%;
  text-align: left;
  padding: 18px 16px 18px 0;
  border-radius: var(--rad);
  transition: background .3s ease;
  min-height: 52px;
}
.process-step:hover, .process-step.is-active { background: rgba(154, 205, 50, .05); }
.process-step .step-no {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--bg);
  transition: all .3s ease;
}
.process-step.is-active .step-no, .process-step:hover .step-no {
  color: #060a02;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(154, 205, 50, .45);
}
.step-title { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--white); }
.step-short { color: var(--muted); font-size: .88rem; }

.process-panels {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  min-height: 240px;
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--rad-lg);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.process-panel p { color: var(--muted); max-width: 46ch; }
.process-panel .h3 { color: var(--white); }
.panel-foot { color: var(--accent) !important; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.panel-foot .fa-sailboat { margin-right: 6px; }
.process-panel { animation: panelIn .45s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }

.process-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px); }
.process-col { padding: 30px 26px; border-radius: var(--rad-lg); background: var(--surface-2); border: 1px solid var(--line); }
.process-col .step-no {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  background: rgba(154, 205, 50, .1);
  color: var(--accent);
  margin-bottom: 16px;
}

/* ================================ WHY US =============================== */
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.why-intro .section-sub { max-width: 44ch; }
.why-intro .btn { margin-top: 26px; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.why-row {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--rad-lg);
  background: var(--surface-2);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), border-color .3s ease, background-color .3s ease;
}
.why-row:hover { transform: translateX(10px); border-color: var(--line-strong); background: rgba(154, 205, 50, .05); }
.why-row .card-title { font-size: 1.05rem; margin-bottom: 6px; }
.why-row .card-desc { font-size: .92rem; }

/* ============================ TESTIMONIALS ============================= */
.testimonials { max-width: 820px; margin-inline: auto; }
.testi-viewport { position: relative; min-height: 280px; }
.testi-card {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--rad-lg);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  display: grid;
  align-content: center;
  gap: 22px;
  opacity: 0;
  transform: translateY(16px) scale(.985);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  pointer-events: none;
}
.testi-card.is-active { opacity: 1; transform: none; pointer-events: auto; }
.testi-card blockquote {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
  color: var(--text);
}
.testi-card blockquote::before { content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--grad-accent); margin-bottom: 18px; }
.testi-card figcaption { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  display: grid; place-items: center;
  color: var(--accent);
  background: var(--surface) center / cover no-repeat;
  border: 1px solid var(--line-strong);
}
.testi-name { color: var(--white); font-weight: 600; }
.testi-role { color: var(--muted); font-size: .85rem; display: block; }
.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.testi-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  transition: transform .25s var(--spring), background-color .25s ease;
}
.testi-dot.is-active { background: var(--accent); transform: scale(1.3); border-color: var(--accent); }

/* ================================ BLOG ================================= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px); }
.blog-grid--list { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.blog-card {
  display: block;
  border-radius: var(--rad-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
  height: 100%;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: var(--line-strong); }
.blog-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.blog-card:hover .blog-media img { transform: scale(1.07); }
.blog-media .chip { position: absolute; left: 14px; top: 14px; background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); }
.blog-body { display: grid; gap: 8px; padding: 22px 22px 26px; }
.blog-date { color: var(--muted); font-size: .8rem; letter-spacing: .04em; }
@media (max-width: 991px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .blog-grid { grid-template-columns: 1fr; } }

/* ================================= FAQ ================================= */
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border-radius: var(--rad);
  border: 1px solid var(--line);
  background: var(--surface-2);
  transition: border-color .3s ease, background-color .3s ease;
}
.faq-item.is-open { border-color: var(--line-strong); background: rgba(154, 205, 50, .04); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
  text-align: left;
  min-height: 52px;
}
.faq-q i { color: var(--accent); transition: transform .35s var(--spring); }
.faq-item.is-open .faq-q i { transform: rotate(135deg); }
.faq-a { padding: 0 22px; overflow: hidden; transition: max-height .4s var(--ease-out), padding .3s ease; }
.faq-a p { color: var(--muted); margin: 0 0 20px; max-width: 68ch; }
.faq-a[hidden] { display: none; }

/* =============================== CTA BAND ============================== */
.cta-band {
  position: relative;
  padding: clamp(42px, 6vw, 64px);
  border-radius: var(--rad-lg);
  background:
    radial-gradient(600px 260px at 85% 0%, rgba(154, 205, 50, .12), transparent 60%),
    var(--surface-2);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 10px;
}
.cta-strip {
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: var(--grad-accent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .8;
  pointer-events: none;
}
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin-top: 16px; }
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-weight: 600;
  font-size: .95rem;
}
.cta-phone .fa-phone { color: var(--accent); }
.cta-phone:hover { color: var(--white); }

/* ================================ FOOTER =============================== */
.site-footer {
  margin-top: clamp(48px, 7vw, 88px);
  background: #050605;
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 72px) 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .8fr 1.1fr;
  gap: clamp(28px, 4vw, 48px);
}
.footer-brand p { color: var(--muted); font-size: .93rem; max-width: 34ch; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 16px; }
.footer-social { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.social-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 1.15rem;
  transition: all .3s var(--spring);
}
.social-btn:hover { background: var(--accent); color: #060a02; transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.footer-title {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 2px;
  border-radius: 2px;
  background: var(--grad-accent);
}
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-links a, .footer-contact a { color: var(--muted); font-size: .93rem; transition: color .2s ease, padding-left .25s var(--ease-out); }
.footer-links a:hover { color: var(--accent-bright); padding-left: 5px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .93rem; }
.footer-contact .fa-solid { color: var(--accent); width: 16px; text-align: center; }

.newsletter { margin-top: 22px; }
.newsletter-label { display: block; color: var(--text); font-size: .88rem; font-weight: 600; margin-bottom: 10px; }
.newsletter-row { display: flex; gap: 10px; }
.newsletter-row .btn { flex: 0 0 auto; padding: 10px 18px; }
.newsletter-input {
  flex: 1;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.newsletter-input::placeholder { color: #565c55; }
.newsletter-input:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: transparent; }
.newsletter-hint { min-height: 1.2em; margin: 8px 0 0; font-size: .82rem; color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: var(--muted);
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.footer-made { color: #565c55; }

/* ============================ FLOATING UI ============================== */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1400;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #22c55e;
  color: #04120a;
  font-size: 1.65rem;
  box-shadow: 0 10px 30px rgba(34, 197, 94, .4);
  transition: transform .3s var(--spring);
  animation: waPulse 3.2s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); color: #04120a; }
@keyframes waPulse { 50% { box-shadow: 0 10px 40px rgba(34, 197, 94, .6); } }

.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 90px;
  z-index: 1390;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ease-out), background-color .25s ease;
}
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--accent); color: #060a02; }

/* ============================= PAGE HEROES ============================= */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 7vh, 72px)) 0 clamp(24px, 4vw, 40px);
  overflow: clip;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
  filter: saturate(.8);
}
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .92) 82%),
    radial-gradient(700px 300px at 80% 20%, rgba(154, 205, 50, .12), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(154, 205, 50, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 205, 50, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, #000 40%, transparent 80%);
}
.breadcrumb { padding: 6px 0 0; }
.breadcrumb ol { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: .85rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-bright); }
.breadcrumb [aria-current="page"] { color: var(--accent); }

/* ============================== ABOUT PAGE ============================= */
.split-media {
  margin: 0;
  border-radius: var(--rad-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
}
.split-media img { width: 100%; height: auto; }
.split-copy p { color: var(--muted); }

.foundation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px); }
.glass-card {
  padding: clamp(28px, 3.4vw, 40px);
  border-radius: var(--rad-lg);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), border-color .3s ease, box-shadow .3s ease;
}
.glass-card:hover { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: var(--shadow-glow); }
.glass-card--list .value-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.glass-card--list .value-list li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .95rem; }
.glass-card--list .value-list .fa-check { color: var(--accent); font-size: .8rem; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.5vw, 28px); }
.team-card {
  padding: 30px 22px;
  text-align: center;
  border-radius: var(--rad-lg);
  overflow: clip;
  background: var(--surface-2);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), border-color .3s ease, box-shadow .3s ease;
}
.team-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-glow); }
/* Photo fills the card top edge-to-edge: no frame radius, wider + taller.
   Negative margins counteract the card padding so titles keep their inset. */
.team-photo {
  display: grid;
  place-items: center;
  width: calc(100% + 44px);
  aspect-ratio: 4 / 5;
  margin: -30px -22px 18px;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(154, 205, 50, .16), rgba(34, 193, 165, .1));
  border: 0;
  border-bottom: 1px solid var(--line);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-initials {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--white), var(--accent-bright));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.team-role { color: var(--accent); font-size: .85rem; font-weight: 600; letter-spacing: .02em; margin: 0; }

/* ============================ SERVICES PAGE ============================ */
.service-rows { display: grid; gap: clamp(24px, 3vw, 36px); }
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--rad-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.service-row-media {
  border-radius: var(--rad);
  overflow: hidden;
  border: 1px solid var(--line);
  align-self: start;
}
.service-row-media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease-out); }
.service-row:hover .service-row-media img { transform: scale(1.04); }
.service-row-body .icon-tile { margin-bottom: 16px; }
.service-row-body p { color: var(--muted); margin-bottom: 12px; }
.service-row-body .btn { margin-top: 12px; }
.service-rows--alt .service-row:nth-child(odd) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.service-rows--alt .service-row:nth-child(odd) .service-row-media { order: 2; }
.service-rows--alt .service-row:nth-child(odd) .service-row-body { order: 1; }

.tick-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 9px; }
.tick-list li { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: .94rem; }
.tick-list .fa-check { color: var(--accent); font-size: .8rem; }

/* ============================ CONTACT PAGE ============================= */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.contact-info {
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--rad-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
}
.contact-paths { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-paths li { display: flex; gap: 14px; align-items: flex-start; }
.contact-paths strong { display: block; color: var(--white); margin-bottom: 2px; font-size: .92rem; }
.contact-paths a { color: var(--muted); font-size: .95rem; }
.contact-paths a:hover { color: var(--accent-bright); }
.contact-paths span { color: var(--muted); font-size: .95rem; }
.contact-hours { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-hours p { color: var(--muted); margin: 8px 0 0; }

.contact-form-card {
  padding: clamp(26px, 3.4vw, 44px);
  border-radius: var(--rad-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(154, 205, 50, .07), transparent 60%),
    var(--surface-2);
  box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 575px) { .form-row { grid-template-columns: 1fr; gap: 12px; } }

.form-field { position: relative; margin-bottom: 18px; }
.form-control {
  width: 100%;
  min-height: 52px;
  padding: 20px 18px 6px;
  border-radius: var(--rad-sm);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .4);
  color: var(--text);
  font: inherit;
  transition: border-color .25s ease, box-shadow .25s ease;
}
textarea.form-control { min-height: 140px; resize: vertical; }
.form-control::placeholder { color: transparent; }
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(154, 205, 50, .18); }
.float-label {
  position: absolute;
  left: 18px; top: 15px;
  color: var(--muted);
  font-size: .95rem;
  pointer-events: none;
  transition: all .22s var(--ease-out);
}
.form-control:focus + .float-label,
.form-control:not(:placeholder-shown) + .float-label {
  top: 8px;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .82rem; text-align: center; }

/* ------------------------------- Modals -------------------------------- */
.modal-backdrop-custom {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(6px);
  padding: 20px;
  animation: panelIn .3s var(--ease-out);
}
.modal-card {
  width: min(440px, 100%);
  padding: 44px 36px;
  border-radius: var(--rad-lg);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 8px;
  box-shadow: var(--shadow-glow);
  animation: modalPop .35s var(--spring);
}
@keyframes modalPop { from { opacity: 0; transform: scale(.92) translateY(10px); } }
.modal-card .icon-tile { color: var(--accent); font-size: 1.6rem; width: 72px; height: 72px; border-radius: 50%; }
.modal-card p { color: var(--muted); margin: 0; }
.modal-card .btn { margin-top: 16px; min-width: 140px; }

.lightbox-card {
  width: min(920px, 100%);
  max-height: 90dvh;
  overflow: auto;
  border-radius: var(--rad-lg);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  position: relative;
  animation: modalPop .35s var(--spring);
}
.lightbox-card figure { margin: 0; }
.lightbox-card img { width: 100%; height: auto; max-height: 70dvh; object-fit: contain; background: #000; }
.lightbox-card figcaption { display: grid; gap: 4px; padding: 20px 24px; }
.lightbox-card strong { color: var(--white); font-family: var(--font-display); font-size: 1.1rem; }
.lightbox-card span { color: var(--muted); font-size: .92rem; }
.lightbox-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .6);
  border: 1px solid var(--line-strong);
  color: var(--white);
  font-size: 1.4rem;
  display: grid;
  place-items: center;
}
.lightbox-close:hover { background: var(--accent); color: #060a02; }

/* ============================== GALLERY ================================ */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(28px, 4vw, 40px); }
.filter-btn {
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
  font-size: .88rem;
  transition: all .25s var(--ease-out);
}
.filter-btn:hover { color: var(--text); border-color: var(--line-strong); }
.filter-btn.is-active { background: var(--accent); color: #060a02; border-color: var(--accent); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px); }
.gallery-card {
  display: block;
  text-align: left;
  border-radius: var(--rad-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}
.gallery-card.is-hidden { display: none; }
.gallery-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-glow); }
.gallery-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.gallery-card:hover .gallery-media img { transform: scale(1.06); }
.gallery-zoom {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .45);
  color: var(--accent-bright);
  font-size: 1.3rem;
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery-card:hover .gallery-zoom { opacity: 1; }
.gallery-meta { display: grid; gap: 4px; padding: 16px 18px 20px; }
.gallery-title { color: var(--white); font-family: var(--font-display); font-weight: 600; }
.gallery-desc { color: var(--muted); font-size: .88rem; }

/* ============================== ARTICLE ================================ */
.article-hero {
  padding: calc(var(--header-h) + clamp(48px, 8vh, 80px)) 0 clamp(28px, 4vw, 44px);
  background:
    radial-gradient(700px 300px at 30% 0%, rgba(154, 205, 50, .08), transparent 65%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}
.article-hero .h1 { margin: 14px 0 16px; font-size: clamp(1.9rem, 4vw, 3rem); }
.article-meta { color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-size: .9rem; }
.article-meta .fa-user, .article-meta .fa-calendar-alt { color: var(--accent); font-size: .8rem; }
.article-cover { margin: clamp(28px, 4vw, 48px) 0 0; border-radius: var(--rad-lg); overflow: hidden; border: 1px solid var(--line); }
.article-cover img { width: 100%; height: auto; }
.prose { padding-top: clamp(28px, 4vw, 44px); }
.prose p { color: #c9cdc6; font-size: 1.04rem; line-height: 1.8; margin: 0 0 22px; }
.prose h2 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.45rem;
  margin: 36px 0 14px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}
.article-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 34px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

/* ============================ REVEAL SYSTEM ============================ */
/* Hidden initially only when JS is running (html.js added by inline script);
   without JS everything stays visible. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
html.js [data-reveal].revealed { opacity: 1; transform: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

.empty-note { color: var(--muted); text-align: center; padding: 40px 0; grid-column: 1 / -1; }

/* --------------------------- Scrollbar (WebKit) ------------------------ */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #070907; }
::-webkit-scrollbar-thumb { background: #223018; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-deep); }

/* ------------------------------ Motion off ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-particles, .orbit-line, .float-chip, .scroll-cue,
  .bars span, .preloader-logo, .wa-float {
    animation: none !important;
  }
  .marquee-track { animation-duration: 120s; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ============================ RESPONSIVE =============================== */
@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; margin-top: 8px; }
  .hero .h-display { font-size: clamp(2.1rem, 7.6vw, 3.2rem); }
  .process-wrap { grid-template-columns: 1fr; }
  .process-panels { position: static; }
  .why-grid { grid-template-columns: 1fr; }
  .h-sticky { position: static; }
  .why-row:hover { transform: none; }
  .split-grid { grid-template-columns: 1fr; }
  .foundation-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row, .service-rows--alt .service-row { grid-template-columns: 1fr !important; }
  .service-rows--alt .service-row .service-row-media { order: 1; }
  .service-rows--alt .service-row .service-row-body { order: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575px) {
  .container { padding-inline: 18px; }
  .hero { min-height: auto; padding-bottom: 80px; }
  .hero-ctas .btn { width: 100%; }
  .float-chip { font-size: .62rem; padding: 9px 12px; }
  .chip-a, .chip-b { display: none; }
  .chip-c { bottom: -1.8rem; left: 4%; }
  .work-card { flex-basis: 88vw; }
  .stats-grid { gap: 8px; }
  .team-grid { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .toast-stack { left: 16px; right: 16px; }
  .app-toast { max-width: none; }
  .cta-actions { flex-direction: column; }
}
