/* ==========================================================================
   STRUCT-BIM — Premium dark engineering site (RTL / Hebrew)
   Design system: dark + white, glassmorphism, electric blue + cyan.
   ========================================================================== */

:root{
  /* Palette */
  --bg:            #05070c;
  --bg-1:          #080b12;
  --bg-2:          #0c1119;
  --panel:         rgba(255,255,255,0.035);
  --panel-2:       rgba(255,255,255,0.05);
  --stroke:        rgba(255,255,255,0.08);
  --stroke-2:      rgba(255,255,255,0.14);

  --white:         #f4f7fb;
  --text:          #cbd4e1;
  --muted:         #7c8aa0;
  --faint:         #5a6678;

  --blue:          #2f7bff;   /* electric blue */
  --blue-2:        #4f8dff;
  --cyan:          #4fd2ff;
  --cyan-2:        #63e0ff;

  --grad:          linear-gradient(115deg, #4fd2ff 0%, #2f7bff 55%, #6a5bff 100%);
  --grad-soft:     linear-gradient(135deg, rgba(79,210,255,.18), rgba(47,123,255,.06));

  /* Type */
  --f-display: "Rubik", "Heebo", system-ui, sans-serif;
  --f-body:    "Heebo", system-ui, sans-serif;
  --f-mono:    "Space Grotesk", "Heebo", monospace;

  /* Layout */
  --container: 1200px;
  --radius:    18px;
  --radius-lg: 26px;
  --gap:       clamp(16px, 3vw, 28px);

  --shadow:    0 24px 60px -20px rgba(0,0,0,.7);
  --glow-blue: 0 0 60px -10px rgba(47,123,255,.55);
  --header-h:  74px;
}

/* ---------- Reset ---------- */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } *{ animation-duration:.001ms !important; transition-duration:.001ms !important; } }

body{
  font-family:var(--f-body);
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
  font-size:16px;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body::before{ /* ambient top glow */
  content:""; position:fixed; inset:0 0 auto 0; height:80vh; pointer-events:none; z-index:0;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(47,123,255,.14), transparent 70%),
    radial-gradient(50% 40% at 15% 5%, rgba(79,210,255,.10), transparent 70%);
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; cursor:pointer; background:none; border:none; }
svg{ display:block; }
:focus-visible{ outline:2px solid var(--cyan); outline-offset:3px; border-radius:4px; }
::selection{ background:rgba(79,210,255,.3); color:#fff; }

.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:clamp(18px,4vw,40px); }
.section{ position:relative; padding-block:clamp(72px,9vw,140px); z-index:1; }
.center{ text-align:center; }

.skip-link{ position:absolute; right:-9999px; top:0; z-index:200; background:var(--blue); color:#fff; padding:10px 16px; border-radius:0 0 10px 0; }
.skip-link:focus{ right:0; }

/* ---------- Typography helpers ---------- */
h1,h2,h3,h4{ font-family:var(--f-display); color:var(--white); line-height:1.1; font-weight:700; letter-spacing:-.01em; }
.grad-text{ background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }

.section-head{ max-width:720px; margin-inline:auto; text-align:center; margin-bottom:clamp(40px,5vw,64px); }
.section-kicker{
  font-family:var(--f-mono); font-size:.8rem; letter-spacing:.18em; text-transform:uppercase;
  color:var(--cyan); margin-bottom:16px; display:inline-flex; align-items:center; gap:.6em;
}
.section-title{ font-size:clamp(1.9rem,4.5vw,3.3rem); font-weight:800; }
.section-sub{ color:var(--muted); font-size:clamp(1rem,1.6vw,1.18rem); margin-top:18px; }

/* ---------- Buttons ---------- */
.btn{
  --pad: 13px 22px;
  display:inline-flex; align-items:center; justify-content:center; gap:.55em;
  padding:var(--pad); border-radius:100px; font-family:var(--f-body); font-weight:600;
  font-size:.98rem; transition:transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, border-color .25s;
  border:1px solid transparent; white-space:nowrap;
}
.btn svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.btn--sm{ --pad:9px 18px; font-size:.9rem; }
.btn--lg{ --pad:16px 30px; font-size:1.05rem; }
.btn--primary{ background:var(--grad); color:#fff; box-shadow:0 10px 30px -8px rgba(47,123,255,.6); }
.btn--primary:hover{ transform:translateY(-3px); box-shadow:0 18px 40px -10px rgba(47,123,255,.75); }
.btn--ghost{ background:var(--panel); color:var(--white); border-color:var(--stroke-2); backdrop-filter:blur(8px); }
.btn--ghost:hover{ transform:translateY(-3px); border-color:var(--cyan); background:var(--panel-2); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header{
  position:fixed; inset-block-start:0; inset-inline:0; z-index:100;
  transition:background .35s, backdrop-filter .35s, border-color .35s, height .35s;
  border-bottom:1px solid transparent;
}
.site-header.is-stuck{
  background:rgba(6,9,15,.72); backdrop-filter:blur(18px) saturate(140%);
  border-bottom-color:var(--stroke);
}
.header-inner{ display:flex; align-items:center; gap:24px; height:var(--header-h); }

.brand{ display:inline-flex; align-items:center; gap:11px; font-family:var(--f-display); font-weight:800; }
.brand__mark{ width:38px; height:38px; border-radius:10px; object-fit:cover;
  box-shadow:0 0 0 1px var(--stroke-2), 0 6px 20px -6px rgba(79,210,255,.6); background:#0a0e15; }
.brand__text{ font-size:1.22rem; letter-spacing:.02em; color:var(--white); }
.brand__dash{ color:var(--cyan); }

.nav{ margin-inline-start:8px; }
.nav__list{ list-style:none; display:flex; align-items:center; gap:4px; }
.nav__link{ display:inline-flex; align-items:center; gap:5px; padding:10px 15px; border-radius:10px;
  color:var(--text); font-weight:500; font-size:.98rem; transition:color .2s, background .2s; }
.nav__link:hover{ color:var(--white); background:var(--panel); }
.nav__caret{ width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:transform .25s; }
.has-mega:hover .nav__caret{ transform:rotate(180deg); }

.header-actions{ margin-inline-start:auto; display:flex; align-items:center; gap:10px; }
.icon-btn{ width:40px; height:40px; display:grid; place-items:center; border-radius:11px; color:var(--text); border:1px solid var(--stroke); transition:.2s; }
.icon-btn:hover{ color:var(--white); border-color:var(--stroke-2); background:var(--panel); }
.icon-btn svg{ width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }

/* Mega menu */
.has-mega{ position:relative; }
.mega{
  position:absolute; inset-block-start:calc(100% + 14px); inset-inline-end:0;
  width:min(680px, 88vw); padding:22px; border-radius:var(--radius-lg);
  background:rgba(10,14,21,.92); backdrop-filter:blur(20px);
  border:1px solid var(--stroke); box-shadow:var(--shadow);
  display:grid; grid-template-columns:1fr .8fr; gap:20px;
  opacity:0; visibility:hidden; transform:translateY(10px); transition:.28s cubic-bezier(.2,.8,.2,1);
}
.has-mega:hover .mega, .has-mega:focus-within .mega{ opacity:1; visibility:visible; transform:translateY(0); }
.mega__grid{ display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.mega__item{ display:flex; gap:12px; align-items:flex-start; padding:12px; border-radius:14px; transition:background .2s; }
.mega__item:hover{ background:var(--panel-2); }
.mega__ico{ font-size:1.2rem; line-height:1.4; }
.mega__item strong{ display:block; color:var(--white); font-size:.96rem; }
.mega__item em{ display:block; color:var(--muted); font-style:normal; font-size:.82rem; }
.mega__aside{ background:var(--grad-soft); border:1px solid var(--stroke); border-radius:18px; padding:20px; display:flex; flex-direction:column; justify-content:center; gap:8px; }
.mega__eyebrow{ font-family:var(--f-mono); font-size:.72rem; letter-spacing:.15em; text-transform:uppercase; color:var(--cyan); }
.mega__title{ font-family:var(--f-display); color:var(--white); font-weight:700; font-size:1.05rem; }
.mega__cta{ margin-top:6px; color:var(--cyan); font-weight:600; font-size:.9rem; }

/* Search */
.searchbar{ border-top:1px solid var(--stroke); background:rgba(6,9,15,.9); backdrop-filter:blur(18px); }
.searchbar .container{ display:flex; align-items:center; gap:14px; padding-block:16px; }
.searchbar__ico{ width:20px; height:20px; fill:none; stroke:var(--muted); stroke-width:2; flex:none; }
.searchbar input{ flex:1; background:none; border:none; color:var(--white); font-size:1.1rem; padding:6px 0; }
.searchbar input::placeholder{ color:var(--faint); }
.searchbar kbd{ font-family:var(--f-mono); font-size:.72rem; color:var(--muted); border:1px solid var(--stroke-2); border-radius:6px; padding:3px 7px; }

/* Hamburger + mobile nav */
.hamburger{ display:none; width:42px; height:42px; border-radius:11px; border:1px solid var(--stroke); flex-direction:column; gap:5px; align-items:center; justify-content:center; }
.hamburger span{ width:18px; height:2px; background:var(--white); border-radius:2px; transition:.3s; }
.hamburger.is-open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2){ opacity:0; }
.hamburger.is-open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-nav{ position:fixed; inset-block-start:var(--header-h); inset-inline:0; z-index:99;
  background:rgba(6,9,15,.97); backdrop-filter:blur(20px); border-bottom:1px solid var(--stroke);
  padding:20px clamp(18px,4vw,40px) 30px; animation:slideDown .3s ease; }
.mobile-nav nav{ display:flex; flex-direction:column; gap:4px; }
.mobile-nav a{ padding:14px 12px; border-radius:12px; font-size:1.1rem; font-weight:500; color:var(--text); border-bottom:1px solid var(--stroke); }
.mobile-nav a:hover{ background:var(--panel); color:var(--white); }
.mobile-nav .btn{ margin-top:14px; border-bottom:none; justify-content:center; }
@keyframes slideDown{ from{ opacity:0; transform:translateY(-12px);} to{ opacity:1; transform:translateY(0);} }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{ position:relative; min-height:100svh; display:flex; align-items:center; padding-block:calc(var(--header-h) + 40px) 60px; overflow:hidden; }
.hero__bg{ position:absolute; inset:0; z-index:0; }
.hero__photo{ width:100%; height:100%; object-fit:cover; opacity:.28;
  -webkit-mask-image:linear-gradient(180deg, #000 30%, transparent 100%);
  mask-image:linear-gradient(180deg, #000 30%, transparent 100%); filter:grayscale(.2) contrast(1.05); }
.hero__grid{ position:absolute; inset:0;
  background-image:linear-gradient(var(--stroke) 1px, transparent 1px), linear-gradient(90deg, var(--stroke) 1px, transparent 1px);
  background-size:64px 64px; opacity:.5;
  -webkit-mask-image:radial-gradient(90% 70% at 70% 20%, #000, transparent 75%);
  mask-image:radial-gradient(90% 70% at 70% 20%, #000, transparent 75%); }
.hero__glow{ position:absolute; border-radius:50%; filter:blur(90px); opacity:.55; }
.hero__glow--1{ width:520px; height:520px; background:rgba(47,123,255,.5); inset-block-start:-120px; inset-inline-start:-80px; }
.hero__glow--2{ width:420px; height:420px; background:rgba(79,210,255,.35); inset-block-end:-140px; inset-inline-end:10%; }

.hero__wire{ position:absolute; inset-block-start:50%; inset-inline-start:8%; width:min(440px,38vw); transform:translateY(-50%);
  opacity:.9; z-index:1; animation:float 8s ease-in-out infinite; filter:drop-shadow(0 0 30px rgba(79,210,255,.35)); }
.hero__wire circle{ animation:pulse 3s ease-in-out infinite; }
@keyframes float{ 0%,100%{ transform:translateY(-50%);} 50%{ transform:translateY(-58%);} }
@keyframes pulse{ 0%,100%{ opacity:.5;} 50%{ opacity:1;} }

.hero__inner{ position:relative; z-index:2; max-width:760px; }
.hero__eyebrow{ display:inline-flex; align-items:center; gap:10px; font-family:var(--f-mono); font-size:.85rem;
  letter-spacing:.06em; color:var(--cyan); padding:8px 16px; border:1px solid var(--stroke-2); border-radius:100px; background:var(--panel); backdrop-filter:blur(8px); }
.hero__eyebrow .dot{ width:8px; height:8px; border-radius:50%; background:var(--cyan); box-shadow:0 0 12px var(--cyan); animation:pulse 2s infinite; }
.hero__title{ font-size:clamp(2.8rem,8vw,6rem); font-weight:900; letter-spacing:-.02em; margin:26px 0 22px; }
.hero__lead{ font-size:clamp(1.05rem,2vw,1.32rem); color:var(--text); max-width:620px; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:36px; }
.hero__stats{ display:flex; gap:clamp(24px,5vw,56px); margin-top:56px; flex-wrap:wrap; }
.hero__stats dt{ font-family:var(--f-mono); font-size:clamp(1.8rem,4vw,2.6rem); font-weight:700; color:var(--white); }
.hero__stats dd{ color:var(--muted); font-size:.92rem; }

.hero__scroll{ position:absolute; inset-block-end:26px; inset-inline-start:50%; transform:translateX(50%); z-index:2;
  width:26px; height:44px; border:2px solid var(--stroke-2); border-radius:14px; }
.hero__scroll span{ position:absolute; inset-block-start:8px; inset-inline-start:50%; transform:translateX(50%); width:4px; height:8px; border-radius:2px; background:var(--cyan); animation:scrolldot 1.6s infinite; }
@keyframes scrolldot{ 0%{ opacity:0; transform:translate(50%,0);} 40%{ opacity:1;} 80%{ opacity:0; transform:translate(50%,14px);} 100%{ opacity:0;} }

/* ==========================================================================
   TRUSTED TECH MARQUEE
   ========================================================================== */
.tech{ padding-block:clamp(40px,6vw,72px); border-block:1px solid var(--stroke); background:var(--bg-1); position:relative; z-index:1; }
.marquee{ overflow:hidden; margin-top:26px; -webkit-mask-image:linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track{ display:flex; gap:56px; width:max-content; animation:marquee 32s linear infinite; }
.marquee:hover .marquee__track{ animation-play-state:paused; }
.marquee__track span{ font-family:var(--f-mono); font-size:clamp(1.1rem,2.4vw,1.7rem); font-weight:500;
  color:var(--faint); white-space:nowrap; transition:color .3s; }
.marquee__track span:hover{ color:var(--white); }
@keyframes marquee{ from{ transform:translateX(0);} to{ transform:translateX(50%);} } /* RTL-safe: track is duplicated */

/* ==========================================================================
   SERVICES
   ========================================================================== */
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:var(--gap); }
.card{ position:relative; padding:30px; border-radius:var(--radius); background:var(--panel);
  border:1px solid var(--stroke); overflow:hidden; transition:transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, background .35s; }
.card::before{ content:""; position:absolute; inset:0; background:var(--grad-soft); opacity:0; transition:opacity .35s; }
.card:hover{ transform:translateY(-8px); border-color:var(--stroke-2); background:var(--panel-2); }
.card:hover::before{ opacity:1; }
.card > *{ position:relative; z-index:1; }
.card__ico{ width:54px; height:54px; border-radius:14px; display:grid; place-items:center; margin-bottom:20px;
  background:linear-gradient(135deg, rgba(79,210,255,.18), rgba(47,123,255,.08)); border:1px solid var(--stroke-2); }
.card__ico svg{ width:26px; height:26px; fill:none; stroke:var(--cyan); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; transition:stroke .3s; }
.card:hover .card__ico svg{ stroke:var(--cyan-2); }
.card h3{ font-size:1.28rem; margin-bottom:10px; }
.card p{ color:var(--muted); font-size:.97rem; }
.card__num{ position:absolute; inset-block-start:22px; inset-inline-end:26px; font-family:var(--f-mono); font-size:.9rem; color:var(--faint); z-index:1; }

/* ==========================================================================
   WHY
   ========================================================================== */
.why{ background:var(--bg-1); }
.why__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:var(--gap); }
.why__item{ padding:28px; border-radius:var(--radius); border:1px solid var(--stroke); background:var(--panel);
  transition:transform .3s, border-color .3s; }
.why__item:hover{ transform:translateY(-6px); border-color:var(--cyan); }
.why__ico{ font-size:1.8rem; display:block; margin-bottom:14px; }
.why__item h3{ font-size:1.15rem; margin-bottom:6px; }
.why__item p{ color:var(--muted); font-size:.94rem; }

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.filters{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:40px; }
.filter{ padding:9px 20px; border-radius:100px; border:1px solid var(--stroke); color:var(--muted);
  font-weight:500; font-size:.92rem; transition:.25s; }
.filter:hover{ color:var(--white); border-color:var(--stroke-2); }
.filter.is-active{ background:var(--grad); color:#fff; border-color:transparent; box-shadow:0 8px 24px -8px rgba(47,123,255,.6); }

.masonry{ display:grid; grid-template-columns:repeat(3,1fr); grid-auto-rows:230px; gap:var(--gap); }
.project{ position:relative; border-radius:var(--radius); overflow:hidden; border:1px solid var(--stroke);
  background:var(--bg-2); transition:transform .4s cubic-bezier(.2,.8,.2,1), opacity .4s, border-color .3s; }
.project--tall{ grid-row:span 2; }
.project--wide{ grid-column:span 2; }
.project img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; background:#0c1119; transition:transform .6s, filter .4s; filter:brightness(.92) saturate(1.02); }
.project:hover{ transform:translateY(-6px); border-color:var(--cyan); }
.project:hover img{ transform:scale(1.05); filter:brightness(1) saturate(1.08); }
.project::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 60%, rgba(5,7,12,.4) 100%); z-index:1; pointer-events:none; }
.project__meta{ display:none; position:absolute; inset-block-end:0; inset-inline:0; z-index:2; padding:22px; transform:translateY(8px); transition:transform .4s; }
.project:hover .project__meta{ transform:translateY(0); }
.project__tag{ font-family:var(--f-mono); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--cyan); }
.project__meta h3{ font-size:1.2rem; margin:8px 0 6px; }
.project__meta p{ color:var(--text); font-size:.9rem; opacity:0; max-height:0; transition:opacity .4s, max-height .4s; }
.project:hover .project__meta p{ opacity:.85; max-height:80px; }
.project.is-hidden{ display:none; }

/* Blueprint placeholders (swap for real photos) */
.project__blueprint{ position:absolute; inset:0; background:
  radial-gradient(120% 120% at 80% 10%, rgba(47,123,255,.15), transparent 60%), var(--bg-2);
  background-size:cover; }
.project__blueprint::before{ content:""; position:absolute; inset:0;
  background-image:linear-gradient(var(--stroke) 1px, transparent 1px), linear-gradient(90deg, var(--stroke) 1px, transparent 1px);
  background-size:28px 28px; opacity:.6; }
.project__blueprint::after{ content:""; position:absolute; inset:0; background-repeat:no-repeat; background-position:center 40%; background-size:56%; opacity:.85; }
.project__blueprint[data-shape="frame"]::after{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%234fd2ff' stroke-width='1.4'%3E%3Cpath d='M20 85V25l30-15 30 15v60M20 40h60M20 55h60M20 70h60M35 25v60M65 25v60'/%3E%3C/svg%3E"); }
.project__blueprint[data-shape="tower"]::after{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%234fd2ff' stroke-width='1.4'%3E%3Cpath d='M35 90V15h30v75M35 30h30M35 45h30M35 60h30M35 75h30M50 15v75M42 15l8-8 8 8'/%3E%3C/svg%3E"); }
.project__blueprint[data-shape="truss"]::after{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%234fd2ff' stroke-width='1.4'%3E%3Cpath d='M10 70h80M10 70L30 40h40l20 30M30 40L50 70 70 40M20 55L50 70 80 55'/%3E%3C/svg%3E"); }
.project__blueprint[data-shape="grid"]::after{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%234fd2ff' stroke-width='1.4'%3E%3Crect x='20' y='20' width='60' height='60'/%3E%3Cpath d='M40 20v60M60 20v60M20 40h60M20 60h60'/%3E%3C/svg%3E"); }

/* ==========================================================================
   WORKFLOW
   ========================================================================== */
.workflow{ background:var(--bg-1); }
.flow{ list-style:none; display:grid; grid-auto-flow:column; grid-auto-columns:minmax(180px,1fr); gap:0;
  overflow-x:auto; padding-bottom:16px; scroll-snap-type:x proximity; }
.flow__step{ position:relative; padding:26px 22px; scroll-snap-align:start; border-inline-start:1px solid var(--stroke); }
.flow__step:first-child{ border-inline-start:none; }
.flow__step::before{ content:""; position:absolute; inset-block-start:38px; inset-inline-start:-5px; width:9px; height:9px; border-radius:50%; background:var(--bg-1); border:2px solid var(--cyan); box-shadow:0 0 12px var(--cyan); }
.flow__step:first-child::before{ display:none; }
.flow__n{ font-family:var(--f-mono); font-size:.85rem; color:var(--cyan); }
.flow__step h3{ font-size:1.25rem; margin:8px 0 6px; }
.flow__step p{ color:var(--muted); font-size:.9rem; }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats__grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:var(--gap);
  padding:clamp(30px,4vw,48px); border-radius:var(--radius-lg); background:var(--grad-soft); border:1px solid var(--stroke); }
.stat{ text-align:center; }
.stat dt{ font-family:var(--f-mono); font-size:clamp(2rem,4vw,2.9rem); font-weight:700; color:var(--white); line-height:1; }
.stat dd{ color:var(--muted); font-size:.9rem; margin-top:10px; }

/* ==========================================================================
   TESTIMONIALS + CLIENTS
   ========================================================================== */
.testi__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:var(--gap); }
.testi__card{ padding:30px; border-radius:var(--radius); background:var(--panel); border:1px solid var(--stroke); transition:transform .3s, border-color .3s; }
.testi__card:hover{ transform:translateY(-6px); border-color:var(--stroke-2); }
.testi__card p{ color:var(--text); font-size:1.05rem; line-height:1.7; }
.testi__card footer{ display:flex; align-items:center; gap:12px; margin-top:22px; }
.testi__avatar{ width:42px; height:42px; border-radius:50%; display:grid; place-items:center; color:var(--cyan);
  background:linear-gradient(135deg, rgba(79,210,255,.2), rgba(47,123,255,.08)); border:1px solid var(--stroke-2); }
.testi__card strong{ display:block; color:var(--white); font-size:.95rem; }
.testi__card em{ display:block; font-style:normal; color:var(--muted); font-size:.82rem; }

.clients__kicker{ font-family:var(--f-mono); font-size:.78rem; letter-spacing:.18em; text-transform:uppercase; color:var(--faint); margin-top:64px; margin-bottom:26px; }
.clients{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:clamp(28px,5vw,64px); }
.clients img{ height:44px; width:auto; object-fit:contain; filter:grayscale(1) brightness(1.6) opacity(.6); transition:filter .3s; background:rgba(255,255,255,.9); padding:8px 14px; border-radius:10px; }
.clients img:hover{ filter:grayscale(0) opacity(1); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about__inner{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(30px,5vw,70px); align-items:center; }
.about__inner--solo{ grid-template-columns:1fr; max-width:760px; margin-inline:auto; text-align:center; }
.about__inner--solo .section-kicker,
.about__inner--solo .section-title{ justify-content:center; text-align:center; }
.about__media{ position:relative; border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--stroke); box-shadow:var(--shadow); }
.about__media img{ width:100%; aspect-ratio:4/3; object-fit:cover; }
.about__badge{ position:absolute; inset-block-end:18px; inset-inline-start:18px; display:flex; align-items:center; gap:12px;
  padding:12px 18px; border-radius:14px; background:rgba(6,9,15,.8); backdrop-filter:blur(12px); border:1px solid var(--stroke-2); }
.about__badge img{ width:44px; height:44px; border-radius:10px; }
.about__badge span{ font-family:var(--f-mono); font-size:.82rem; color:var(--cyan); }
.about__text .section-kicker{ justify-content:flex-start; }
.about__text .section-title{ text-align:start; margin-bottom:18px; }
.about__text p{ color:var(--muted); margin-bottom:16px; }
.about__text .btn{ margin-top:8px; }

/* ==========================================================================
   CTA + CONTACT
   ========================================================================== */
.cta__panel{ position:relative; overflow:hidden; padding:clamp(36px,6vw,72px);
  border-radius:var(--radius-lg); border:1px solid var(--stroke-2);
  background:linear-gradient(160deg, rgba(20,28,44,.9), rgba(8,11,18,.9)); box-shadow:var(--shadow); }
.cta__glow{ position:absolute; inset-block-start:-140px; inset-inline-end:-100px; width:480px; height:480px; border-radius:50%;
  background:radial-gradient(circle, rgba(47,123,255,.4), transparent 65%); filter:blur(30px); }
.cta__head{ position:relative; max-width:560px; margin-bottom:40px; }
.cta__head h2{ font-size:clamp(2rem,4.5vw,3.2rem); font-weight:800; }
.cta__head p{ color:var(--muted); font-size:1.1rem; margin-top:14px; }
.cta__form{ position:relative; display:grid; grid-template-columns:1fr 1fr 1fr; gap:18px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field--full{ grid-column:1 / -1; }
.field label{ font-size:.85rem; color:var(--muted); }
.field input, .field textarea{ background:rgba(5,7,12,.6); border:1px solid var(--stroke-2); border-radius:12px;
  padding:14px 16px; color:var(--white); font-family:var(--f-body); font-size:1rem; transition:border-color .25s, background .25s; }
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--cyan); background:rgba(5,7,12,.9); }
.field textarea{ resize:vertical; }
.cta__submit{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.cta__mail{ font-family:var(--f-mono); color:var(--cyan); font-size:.95rem; }
.cta__note{ margin-top:18px; color:var(--cyan); font-weight:500; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ position:relative; z-index:1; border-top:1px solid var(--stroke); background:var(--bg-1); padding-top:clamp(56px,7vw,90px); }
.footer__grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr 1.4fr; gap:40px; padding-bottom:56px; }
.footer__brand p{ color:var(--muted); font-size:.92rem; margin:16px 0 20px; max-width:260px; }
.footer__social a{ width:40px; height:40px; display:grid; place-items:center; border-radius:11px; border:1px solid var(--stroke); color:var(--muted); transition:.25s; }
.footer__social a:hover{ color:var(--white); border-color:var(--cyan); background:var(--panel); }
.footer__social svg{ width:18px; height:18px; fill:currentColor; }
.footer__col h4{ font-size:.95rem; color:var(--white); margin-bottom:16px; font-family:var(--f-display); }
.footer__col a{ display:block; color:var(--muted); font-size:.9rem; padding:6px 0; transition:color .2s; }
.footer__col a:hover{ color:var(--cyan); }
.footer__news p{ color:var(--muted); font-size:.9rem; margin-bottom:14px; }
.news{ display:flex; gap:8px; }
.news input{ flex:1; min-width:0; background:rgba(5,7,12,.6); border:1px solid var(--stroke-2); border-radius:100px; padding:10px 16px; color:var(--white); font-size:.9rem; }
.news input:focus{ outline:none; border-color:var(--cyan); }
.footer__bottom{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; border-top:1px solid var(--stroke); padding-block:24px; }
.footer__bottom p{ color:var(--faint); font-size:.85rem; }
.footer__legal{ display:flex; gap:22px; flex-wrap:wrap; }
.footer__legal a{ color:var(--faint); font-size:.85rem; transition:color .2s; }
.footer__legal a:hover{ color:var(--cyan); }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.masonry .project{ cursor:zoom-in; }
.lightbox{ position:fixed; inset:0; z-index:200; display:flex; align-items:center; justify-content:center;
  padding:clamp(16px,5vmin,60px); background:rgba(3,5,9,.94); backdrop-filter:blur(16px); animation:lbFade .28s ease; }
.lightbox[hidden]{ display:none; }
.lightbox__stage{ position:relative; display:flex; flex-direction:column; align-items:center; gap:14px; max-width:100%; max-height:100%; }
.lightbox__img{ max-width:min(1100px,92vw); max-height:82vh; width:auto; height:auto; object-fit:contain;
  border-radius:12px; background:#0c1119; box-shadow:0 40px 90px -25px rgba(0,0,0,.85); border:1px solid var(--stroke); }
.lightbox__count{ font-family:var(--f-mono); font-size:.85rem; color:var(--muted); letter-spacing:.05em; }
.lightbox__close{ position:absolute; top:clamp(14px,3vw,26px); inset-inline-start:clamp(14px,3vw,26px);
  width:46px; height:46px; border-radius:50%; background:var(--panel-2); border:1px solid var(--stroke-2);
  color:#fff; font-size:1.7rem; line-height:1; display:grid; place-items:center; transition:.2s; z-index:2; }
.lightbox__close:hover{ background:var(--blue); border-color:transparent; }
.lightbox__nav{ position:absolute; top:50%; transform:translateY(-50%); width:54px; height:54px; border-radius:50%;
  background:var(--panel-2); border:1px solid var(--stroke-2); color:#fff; font-size:2rem; line-height:1;
  display:grid; place-items:center; transition:.2s; z-index:2; }
.lightbox__nav:hover{ background:var(--blue); border-color:transparent; }
.lightbox__prev{ inset-inline-start:clamp(10px,3vw,32px); }
.lightbox__next{ inset-inline-end:clamp(10px,3vw,32px); }
.lightbox.is-single .lightbox__nav{ display:none; }
@keyframes lbFade{ from{ opacity:0; } to{ opacity:1; } }
.lightbox__thumbs{ display:flex; gap:8px; flex-wrap:wrap; justify-content:center; max-width:min(1100px,92vw); }
.lightbox.is-single .lightbox__thumbs{ display:none; }
.lightbox__thumb{ width:66px; height:46px; border-radius:8px; overflow:hidden; border:2px solid transparent; opacity:.5; cursor:pointer; padding:0; background:#0c1119; transition:opacity .2s, border-color .2s; }
.lightbox__thumb:hover{ opacity:.85; }
.lightbox__thumb img{ width:100%; height:100%; object-fit:cover; }
.lightbox__thumb.is-active{ border-color:var(--cyan); opacity:1; }

/* Multi-image gallery badge on project cards */
.project__badge{ position:absolute; top:14px; inset-inline-end:14px; z-index:3; display:inline-flex; align-items:center; gap:6px;
  padding:6px 11px; border-radius:100px; background:rgba(6,9,15,.72); backdrop-filter:blur(8px); border:1px solid var(--stroke-2);
  color:#fff; font-family:var(--f-mono); font-size:.78rem; line-height:1; pointer-events:none; }
.project__badge svg{ width:14px; height:14px; fill:none; stroke:var(--cyan); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
.js .reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-in{ opacity:1; transform:none; }
.cards .reveal.is-in, .why__grid .reveal.is-in, .testi__grid .reveal.is-in, .stats__grid .reveal.is-in{ transition-delay:var(--d,0ms); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1024px){
  .cards, .why__grid, .testi__grid{ grid-template-columns:repeat(2,1fr); }
  .stats__grid{ grid-template-columns:repeat(3,1fr); }
  .footer__grid{ grid-template-columns:1fr 1fr 1fr; }
  .footer__brand{ grid-column:1 / -1; }
  .footer__news{ grid-column:1 / -1; }
}
@media (max-width:860px){
  .nav, .header-actions .btn--sm, .icon-btn{ display:none; }
  .hamburger{ display:flex; }
  .header-actions{ gap:8px; }
  .hero__wire{ display:none; }
  .masonry{ grid-template-columns:1fr 1fr; grid-auto-rows:200px; }
  .about__inner{ grid-template-columns:1fr; }
  .cta__form{ grid-template-columns:1fr 1fr; }
}
@media (max-width:600px){
  .cards, .why__grid, .testi__grid, .stats__grid{ grid-template-columns:1fr; }
  .masonry{ grid-template-columns:1fr; grid-auto-rows:230px; }
  .project--wide{ grid-column:span 1; }
  .project--tall{ grid-row:span 1; }
  .cta__form{ grid-template-columns:1fr; }
  .footer__grid{ grid-template-columns:1fr 1fr; }
  .hero__stats{ gap:24px; }
  .section-head{ text-align:start; }
  .section-kicker{ justify-content:flex-start; }
}
