/* =========================================================
   JJJ Construction LLC  |  Global styles
   Brand palette taken from the logo: yellow, orange, blue, silver on black
   ========================================================= */

:root {
  --bg: #05080e;
  --bg-2: #090f19;
  --bg-3: #0f1826;
  --yellow: #ffc20e;
  --orange: #f7931e;
  --blue: #1d8fff;
  --cyan: #52d3ff;
  --silver: #c9d2df;
  --text: #eaf0f8;
  --muted: #98a6ba;
  --line: rgba(255, 255, 255, .1);
  --glass: rgba(255, 255, 255, .045);
  --grad: linear-gradient(120deg, var(--yellow), var(--orange));
  --grad-blue: linear-gradient(120deg, var(--cyan), var(--blue));
  --radius: 20px;
  --nav-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -25px rgba(0, 0, 0, .8);
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: url(../assets/img/grain.png), var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: #111; }

.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.fill { fill: currentColor; stroke: none; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
  .skip:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; z-index: 400; padding: 12px 18px; background: var(--yellow); color: #111; border-radius: 8px; font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; font-weight: 800; }
.h1 { font-size: clamp(3rem, 7.4vw, 6.4rem); }
.h2 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); }
.h3 { font-size: 1.7rem; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-blue { background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--silver); max-width: 62ch; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--yellow);
}
.eyebrow::before { content: ""; width: 38px; height: 4px; background: var(--grad); border-radius: 4px; transform: skewX(-30deg); }

/* ---------- Buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border: 0; border-radius: 12px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase;
  transform: translate(var(--bx), var(--by));
  transition: transform .25s var(--ease), box-shadow .3s, background .3s, color .3s, border-color .3s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn .ic { width: 1.15em; height: 1.15em; transition: transform .3s var(--ease); }
.btn:hover .ic.arrow { transform: translateX(5px); }
.btn-primary { background: var(--grad); color: #14110a; box-shadow: 0 14px 34px -10px rgba(247, 147, 30, .65), inset 0 -4px 0 rgba(0, 0, 0, .18); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); z-index: -1; }
.btn-primary:hover { box-shadow: 0 18px 44px -8px rgba(255, 194, 14, .75), inset 0 -4px 0 rgba(0, 0, 0, .18); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: rgba(255, 255, 255, .05); border: 1.5px solid rgba(255, 255, 255, .28); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(82, 211, 255, .08); }
.btn-blue { background: var(--grad-blue); color: #04101c; box-shadow: 0 14px 34px -10px rgba(29, 143, 255, .6), inset 0 -4px 0 rgba(0, 0, 0, .18); }
.btn-sm { padding: 11px 20px; font-size: 1rem; border-radius: 10px; }

/* ---------- Progress bar / grain ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 200; background: transparent; pointer-events: none; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 14px var(--orange); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, height .35s;
}
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: rgba(5, 8, 14, .82); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line), 0 20px 40px -20px rgba(0, 0, 0, .7); transition: opacity .35s; }
.nav.scrolled { height: 68px; }
.nav.scrolled::before { opacity: 1; }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 52px; width: auto; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .6)); transition: height .35s, transform .3s var(--ease); }
.nav.scrolled .brand img { height: 44px; }
.brand:hover img { transform: scale(1.04) rotate(-1deg); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) {
  position: relative; white-space: nowrap; padding: 10px 14px; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--silver); transition: color .25s;
}
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 3px; background: var(--grad); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:not(.btn):hover, .nav-links a.active { color: #fff; }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang {
  display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .04);
}
.lang button { border: 0; background: transparent; padding: 5px 12px; border-radius: 999px; font-family: var(--font-head); font-weight: 800; letter-spacing: .1em; font-size: .95rem; color: var(--muted); transition: .25s; }
.lang button.on { background: var(--grad); color: #14110a; }
.nav-links .btn { display: none; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .05); place-items: center; }
.burger .ic { width: 24px; height: 24px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 120px; overflow: hidden; isolation: isolate; perspective: 1400px; }
.hero-bg { position: absolute; inset: -6% 0; z-index: -3; background-size: cover; background-position: center 40%; will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(900px 500px at 78% 35%, rgba(29, 143, 255, .22), transparent 60%),
  radial-gradient(700px 500px at 10% 80%, rgba(247, 147, 30, .22), transparent 60%),
  linear-gradient(100deg, rgba(5, 8, 14, .96) 8%, rgba(5, 8, 14, .78) 48%, rgba(5, 8, 14, .45) 100%),
  linear-gradient(0deg, var(--bg) 2%, transparent 40%); }
.hero-floor {
  position: absolute; left: -25%; right: -25%; bottom: -8%; height: 55%; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(82, 211, 255, .45) 1px, transparent 1px), linear-gradient(90deg, rgba(82, 211, 255, .45) 1px, transparent 1px);
  background-size: 70px 70px; transform: rotateX(68deg); transform-origin: bottom center;
  mask-image: linear-gradient(0deg, #000 10%, transparent 90%); -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 90%);
  animation: floor 5s linear infinite;
}
@keyframes floor { to { background-position: 0 70px; } }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 56px; }
.hero h1 { margin: 20px 0 26px; }
.hero h1 .ln { display: block; }
.hero .lead { margin-bottom: 38px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 44px; color: var(--silver); font-weight: 600; font-size: .98rem; }
.hero-badges li { display: flex; align-items: center; gap: 10px; }
.hero-badges .ic { color: var(--yellow); }

.stack { position: relative; height: 560px; transform-style: preserve-3d; transform: rotateX(var(--srx, 0deg)) rotateY(var(--sry, 0deg)); transition: transform .25s ease-out; }
.stack .card3d {
  position: absolute; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .85), 0 0 0 6px rgba(255, 255, 255, .03);
  background-size: cover; background-position: center;
}
.stack .c1 { width: 70%; height: 66%; left: 0; top: 8%; transform: translateZ(40px) rotateY(10deg) rotateZ(-3deg); background-image: url(../assets/img/p12-t.webp); }
.stack .c2 { width: 62%; height: 54%; right: 0; top: 0; transform: translateZ(120px) rotateY(-6deg) rotateZ(4deg); background-image: url(../assets/img/p06-t.webp); animation: bob 7s ease-in-out infinite; }
.stack .c3 { width: 60%; height: 52%; right: 6%; bottom: 0; transform: translateZ(200px) rotateY(-10deg) rotateZ(-2deg); background-image: url(../assets/img/p09-t.webp); animation: bob 8s ease-in-out -3s infinite; }
@keyframes bob { 50% { translate: 0 -16px; } }
.stack .chip {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px;
  background: rgba(8, 13, 22, .78); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .16);
  font-family: var(--font-head); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 1.05rem;
  box-shadow: 0 20px 40px -14px #000;
}
.stack .chip .ic { color: var(--yellow); }
.stack .chip.a { left: -4%; bottom: 8%; transform: translateZ(260px); animation: bob 6s ease-in-out -1s infinite; }
.stack .chip.b { right: -2%; top: 46%; transform: translateZ(300px); animation: bob 6.5s ease-in-out -4s infinite; }
.stack .chip.b .ic { color: var(--cyan); }

.scroll-hint { position: absolute; left: 50%; bottom: 74px; translate: -50% 0; width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 20px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 4px; background: var(--yellow); translate: -50% 0; animation: wheel 1.8s infinite; }
@keyframes wheel { 70% { translate: -50% 16px; opacity: 0; } 100% { opacity: 0; } }

/* marquee */
.marquee { position: relative; z-index: 3; background: var(--grad); color: #15110a; transform: rotate(-1.2deg) scale(1.03); margin-top: -62px; margin-bottom: 40px; box-shadow: 0 20px 50px -10px rgba(247, 147, 30, .45); overflow: hidden; border-block: 4px solid #14110a; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { display: flex; align-items: center; gap: 28px; padding: 14px 14px; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.marquee span::after { content: ""; width: 14px; height: 14px; background: #14110a; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: 56vh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 70px) 0 80px; overflow: hidden; isolation: isolate; }
.page-hero .hero-bg { inset: -10% 0; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, rgba(5, 8, 14, .95) 5%, rgba(5, 8, 14, .6) 70%, rgba(5, 8, 14, .45)),
  linear-gradient(0deg, var(--bg), transparent 55%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; z-index: 1; background: repeating-linear-gradient(-45deg, var(--yellow) 0 22px, #0a0d12 22px 44px); opacity: .9; }
.crumbs { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .95rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.crumbs a:hover { color: var(--yellow); }
.crumbs span { color: var(--yellow); }
.page-hero h1 { font-size: clamp(3rem, 6.4vw, 5.4rem); margin-bottom: 18px; }
.page-hero .lead { max-width: 56ch; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; isolation: isolate; }
.section.alt { background: var(--bg-2); }
.section.blueprint::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; pointer-events: none;
  background-image: linear-gradient(rgba(82, 211, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(82, 211, 255, .06) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}
.section-head { max-width: 780px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head .h2 { margin: 16px 0 20px; }
.section-head p { color: var(--silver); }

/* glass cards & tilt */
.glass {
  position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(10px); overflow: hidden;
}
.glass::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 194, 14, .16), transparent 45%); }
.glass:hover::before { opacity: 1; }
[data-tilt] { transform-style: preserve-3d; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .2s ease-out, border-color .3s, box-shadow .3s; will-change: transform; }
[data-tilt]:hover { border-color: rgba(255, 194, 14, .5); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 50px -20px rgba(247, 147, 30, .45); }
[data-tilt] > * { transform: translateZ(26px); }

.grid { display: grid; gap: 26px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.icon-box { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #14110a; box-shadow: 0 12px 26px -8px rgba(247, 147, 30, .6), inset 0 -4px 0 rgba(0, 0, 0, .15); margin-bottom: 22px; }
.icon-box .ic { width: 30px; height: 30px; }
.icon-box.blue { background: var(--grad-blue); box-shadow: 0 12px 26px -8px rgba(29, 143, 255, .6), inset 0 -4px 0 rgba(0, 0, 0, .15); }

.svc-card { padding: 34px 30px 32px; }
.svc-card h3 { font-size: 1.9rem; margin-bottom: 12px; }
.svc-card p { color: var(--muted); font-size: 1rem; }
.svc-card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-family: var(--font-head); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.svc-card .more .ic { transition: transform .3s var(--ease); }
.svc-card:hover .more .ic { transform: translateX(6px); }
.svc-card .num { position: absolute; right: 22px; top: 6px; font-family: var(--font-head); font-weight: 800; font-size: 5.5rem; line-height: 1; color: rgba(255, 255, 255, .05); }

/* feature list */
.feature { padding: 30px; display: flex; gap: 20px; align-items: flex-start; }
.feature .icon-box { flex: none; margin: 0; width: 56px; height: 56px; border-radius: 14px; }
.feature .icon-box .ic { width: 26px; height: 26px; }
.feature h3 { font-size: 1.5rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .98rem; line-height: 1.6; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 70px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); overflow: hidden; }
.stat { padding: 40px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 5vw, 4.6rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; font-weight: 600; color: var(--silver); text-transform: uppercase; letter-spacing: .12em; font-size: .88rem; }

/* project cards */
.proj-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; perspective: 1400px; }
.proj { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 280px; grid-column: span 4; }
.proj.wide { grid-column: span 8; }
.proj.tall { grid-row: span 2; min-height: 580px; }
.proj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.proj:hover img { transform: scale(1.1); }
.proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 8, 14, .92), transparent 55%); transition: opacity .3s; }
.proj figcaption { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .04em; }
.proj figcaption small { display: block; color: var(--yellow); font-size: .95rem; letter-spacing: .18em; }
.proj figcaption .ic { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--grad); color: #14110a; transform: rotate(-45deg) scale(.8); opacity: 0; transition: .4s var(--ease); }
.proj:hover figcaption .ic { transform: rotate(-45deg) scale(1); opacity: 1; }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 36px; height: 3px; background: repeating-linear-gradient(90deg, var(--yellow) 0 18px, transparent 18px 34px); opacity: .5; }
.step { position: relative; padding: 0 8px; text-align: center; }
.step .badge { position: relative; z-index: 2; width: 74px; height: 74px; margin: 0 auto 26px; display: grid; place-items: center; border-radius: 20px; background: var(--bg); border: 2px solid var(--yellow); font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--yellow); transform: rotate(45deg); box-shadow: 0 0 0 8px var(--bg), 0 0 32px -4px rgba(255, 194, 14, .5); }
.step .badge i { font-style: normal; transform: rotate(-45deg); }
.step h3 { font-size: 1.6rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .98rem; line-height: 1.6; }

/* area + cube */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.cube-scene { height: 420px; display: grid; place-items: center; perspective: 1100px; }
.cube { --c: 250px; position: relative; width: var(--c); height: var(--c); transform-style: preserve-3d; animation: spin 26s linear infinite; }
.cube:hover { animation-play-state: paused; }
@keyframes spin { from { transform: rotateX(-18deg) rotateY(0); } to { transform: rotateX(-18deg) rotateY(360deg); } }
.cube div { position: absolute; inset: 0; border: 2px solid rgba(255, 194, 14, .7); border-radius: 10px; background-size: cover; background-position: center; box-shadow: inset 0 0 60px rgba(0, 0, 0, .5), 0 0 40px -10px rgba(247, 147, 30, .5); }
.cube .f1 { transform: translateZ(calc(var(--c) / 2)); }
.cube .f2 { transform: rotateY(90deg) translateZ(calc(var(--c) / 2)); }
.cube .f3 { transform: rotateY(180deg) translateZ(calc(var(--c) / 2)); }
.cube .f4 { transform: rotateY(-90deg) translateZ(calc(var(--c) / 2)); }
.cube .f5 { transform: rotateX(90deg) translateZ(calc(var(--c) / 2)); background-image: var(--grad); background: var(--grad); }
.cube .f6 { transform: rotateX(-90deg) translateZ(calc(var(--c) / 2)); background: var(--bg-3); }
.cube-shadow { position: absolute; bottom: 20px; width: 280px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(247, 147, 30, .4), transparent); filter: blur(8px); }
.cities { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 36px; }
.cities li { padding: 8px 16px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-weight: 600; font-size: .95rem; color: var(--silver); display: inline-flex; align-items: center; gap: 8px; }
.cities li .ic { width: 15px; height: 15px; color: var(--yellow); }
.radius-pill { display: inline-flex; align-items: center; gap: 14px; padding: 14px 24px; border-radius: 16px; background: rgba(255, 194, 14, .1); border: 1px solid rgba(255, 194, 14, .35); font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: .06em; text-transform: uppercase; }
.radius-pill b { font-size: 2.6rem; line-height: 1; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 70px 56px; background: linear-gradient(120deg, #0e1a2d, #08111f); border: 1px solid var(--line); display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(247, 147, 30, .5), transparent); z-index: -1; }
.cta-band::after { content: ""; position: absolute; inset: auto 0 0 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 22px, #0a0d12 22px 44px); }
.cta-band h2 { margin-bottom: 12px; }
.cta-band .cta-row { justify-content: flex-end; }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-media { position: relative; perspective: 1200px; }
.story-media .img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotateY(-8deg) rotateX(2deg); transition: transform .6s var(--ease); }
.story-media:hover .img { transform: rotateY(0) rotateX(0); }
.story-media .img2 { position: absolute; width: 52%; aspect-ratio: 1; object-fit: cover; right: -6%; bottom: -8%; border-radius: 20px; border: 6px solid var(--bg); box-shadow: var(--shadow); transform: translateZ(60px) rotate(4deg); }
.exp-badge { position: absolute; left: -22px; top: 36px; z-index: 3; padding: 22px 26px; border-radius: 20px; background: var(--grad); color: #14110a; text-align: center; box-shadow: 0 24px 44px -12px rgba(247, 147, 30, .7); animation: bob 6s ease-in-out infinite; }
.exp-badge b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 4.2rem; line-height: .9; }
.exp-badge span { font-family: var(--font-head); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 1.05rem; }
.story-text p + p { margin-top: 18px; }
.story-text p { color: var(--silver); }
.checks { display: grid; gap: 14px; margin-top: 28px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--silver); font-weight: 500; }
.checks .ic { margin-top: 3px; color: #14110a; background: var(--grad); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }
.value { padding: 34px 28px; text-align: left; }
.value h3 { font-size: 1.65rem; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: .98rem; line-height: 1.6; }
.standards { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.standards-media { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.standards-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.fact { padding: 26px; }
.fact .ic { color: var(--yellow); width: 30px; height: 30px; margin-bottom: 14px; }
.fact h3 { font-size: 1.35rem; margin-bottom: 6px; }
.fact p, .fact a { color: var(--muted); font-size: .98rem; line-height: 1.55; }

/* ---------- Services page ---------- */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 56px 0; }
.svc-row + .svc-row { border-top: 1px solid var(--line); }
.svc-row:nth-child(even) .svc-media { order: 2; }
.svc-media { position: relative; perspective: 1200px; }
.svc-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.svc-media::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: 24px; border: 2px solid var(--yellow); opacity: .5; z-index: -1; transform: translateZ(-40px); }
.svc-row:nth-child(even) .svc-media::before { inset: 22px 22px -18px -18px; }
.svc-media .tag { position: absolute; left: 20px; top: 20px; padding: 8px 16px; border-radius: 10px; background: rgba(5, 8, 14, .8); backdrop-filter: blur(10px); border: 1px solid var(--line); font-family: var(--font-head); font-weight: 800; letter-spacing: .14em; color: var(--yellow); }
.svc-body h2 { font-size: clamp(2.2rem, 4vw, 3.3rem); margin: 14px 0 16px; }
.svc-body p { color: var(--silver); }
.svc-body .checks { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.included .feature { padding: 26px; }
.faq { max-width: 880px; margin-inline: auto; display: grid; gap: 14px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--glass); padding: 0 26px; transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(255, 194, 14, .5); background: rgba(255, 194, 14, .05); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: .03em; text-transform: uppercase; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 2rem; color: var(--yellow); transition: transform .3s var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--silver); }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 46px; }
.filters button { padding: 11px 24px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--glass); font-family: var(--font-head); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 1.05rem; color: var(--silver); transition: .25s; }
.filters button:hover { border-color: var(--yellow); color: #fff; }
.filters button.on { background: var(--grad); color: #14110a; border-color: transparent; box-shadow: 0 10px 26px -8px rgba(247, 147, 30, .6); }
.masonry { columns: 3 320px; column-gap: 20px; }
.g-item { position: relative; display: block; width: 100%; margin: 0 0 20px; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; break-inside: avoid; background: var(--bg-3); text-align: left; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .2s ease-out, border-color .3s, opacity .4s, scale .4s var(--ease); }
.g-item:hover { border-color: rgba(255, 194, 14, .6); }
.g-item.hide { display: none; }
.g-item img, .g-item video { width: 100%; height: auto; transition: transform .8s var(--ease); }
.g-item:hover img { transform: scale(1.07); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 8, 14, .85), transparent 50%); opacity: 0; transition: opacity .3s; }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-item .cap { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 14px; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .06em; opacity: 0; translate: 0 10px; transition: .35s var(--ease); }
.g-item:hover .cap, .g-item:focus-visible .cap { opacity: 1; translate: 0 0; }
.g-item .play { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #14110a; box-shadow: 0 0 0 10px rgba(255, 194, 14, .25); }
.g-item .play .ic { width: 30px; height: 30px; margin-left: 4px; }
.g-item .kind { position: absolute; z-index: 2; right: 12px; top: 12px; padding: 4px 12px; border-radius: 8px; background: rgba(5, 8, 14, .8); font-family: var(--font-head); font-weight: 800; letter-spacing: .12em; font-size: .9rem; color: var(--cyan); }

.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; background: rgba(3, 5, 9, .94); backdrop-filter: blur(10px); padding: 40px 80px; }
.lightbox.open { display: flex; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lightbox img, .lightbox video { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 14px; box-shadow: 0 40px 100px -20px #000; animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.92) rotateX(8deg); } }
.lightbox figcaption { color: var(--silver); font-weight: 500; text-align: center; }
.lb-btn { position: absolute; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .08); display: grid; place-items: center; transition: .25s; }
.lb-btn:hover { background: var(--grad); color: #14110a; }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }
.lb-prev .ic { transform: rotate(180deg); }
.lb-count { position: absolute; left: 24px; top: 30px; font-family: var(--font-head); font-weight: 800; letter-spacing: .14em; color: var(--yellow); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.form-card { padding: 44px; }
.form-card h2 { font-size: 2.6rem; margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 1rem; color: var(--silver); }
.field label i { color: var(--orange); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .14); background: rgba(5, 8, 14, .6);
  color: var(--text); font: inherit; font-size: 1rem; transition: border-color .25s, box-shadow .25s, background .25s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%23ffc20e' stroke-width='2.5' stroke-linecap='round'><path d='m1 1 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 46px; }
.field select option { background: #0b121d; }
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #66758b; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 194, 14, .15); background: rgba(5, 8, 14, .9); }
.field input.err, .field textarea.err, .field select.err { border-color: #ff5d5d; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 8px; }
.form-note { color: var(--muted); font-size: .9rem; }
.form-status { display: none; margin-top: 22px; padding: 16px 20px; border-radius: 12px; font-weight: 600; }
.form-status.ok { display: block; background: rgba(46, 204, 113, .12); border: 1px solid rgba(46, 204, 113, .5); color: #7ef0ac; }
.form-status.bad { display: block; background: rgba(255, 93, 93, .1); border: 1px solid rgba(255, 93, 93, .5); color: #ff9c9c; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.spin { width: 18px; height: 18px; border: 3px solid rgba(20, 17, 10, .3); border-top-color: #14110a; border-radius: 50%; animation: rot .7s linear infinite; display: none; }
.btn.loading .spin { display: block; }
@keyframes rot { to { transform: rotate(360deg); } }

.info-stack { display: grid; gap: 18px; }
.info-card { padding: 24px 26px; display: flex; gap: 18px; align-items: center; }
.info-card .icon-box { flex: none; margin: 0; width: 54px; height: 54px; border-radius: 14px; }
.info-card .icon-box .ic { width: 25px; height: 25px; }
.info-card h3 { font-size: 1.2rem; letter-spacing: .12em; color: var(--yellow); margin-bottom: 2px; }
.info-card p, .info-card a { color: var(--text); font-weight: 600; display: block; line-height: 1.5; overflow-wrap: anywhere; }
.info-card a:hover { color: var(--yellow); }
.info-card small { display: block; color: var(--muted); font-weight: 500; }
.map-wrap { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); height: 480px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.map-label { position: absolute; left: 18px; bottom: 18px; z-index: 2; padding: 14px 20px; border-radius: 14px; background: rgba(5, 8, 14, .88); backdrop-filter: blur(10px); border: 1px solid var(--line); display: flex; gap: 12px; align-items: center; font-weight: 600; }
.map-label .ic { color: var(--yellow); }

/* ---------- Footer ---------- */
.footer { position: relative; background: #03060a; border-top: 1px solid var(--line); padding: 90px 0 0; margin-top: 0; overflow: hidden; isolation: isolate; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 22px, #0a0d12 22px 44px); }
.footer::after { content: ""; position: absolute; width: 640px; height: 640px; left: -220px; bottom: -380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(29, 143, 255, .22), transparent); z-index: -1; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1fr 1.1fr; gap: 50px; padding-bottom: 64px; }
.footer .brand img { height: 64px; margin-bottom: 22px; }
.footer p { color: var(--muted); font-size: .98rem; line-height: 1.7; max-width: 38ch; }
.footer h4 { font-size: 1.35rem; letter-spacing: .14em; color: var(--yellow); margin-bottom: 22px; }
.footer li + li { margin-top: 10px; }
.footer-links a { color: var(--silver); transition: color .25s, padding .25s; display: inline-block; }
.footer-links a:hover { color: var(--yellow); padding-left: 6px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; color: var(--silver); font-size: .98rem; }
.footer-contact .ic { color: var(--yellow); margin-top: 4px; }
.footer-contact a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid var(--line); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }

/* ---------- Floating social bubbles ---------- */
.float-social { position: fixed; right: 18px; top: 50%; translate: 0 -50%; z-index: 90; display: grid; gap: 14px; }
.bubble { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 14px 30px -6px rgba(0, 0, 0, .7), inset 0 -5px 0 rgba(0, 0, 0, .18), inset 0 4px 0 rgba(255, 255, 255, .25); transition: transform .3s var(--ease); animation: floaty 4s ease-in-out infinite; }
.bubble:nth-child(2) { animation-delay: -2s; }
.bubble .ic { width: 28px; height: 28px; }
.bubble.fb { background: linear-gradient(145deg, #3b8bff, #1264e6); }
.bubble.wa { background: linear-gradient(145deg, #3fe27c, #12a94b); }
.bubble::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; z-index: -1; animation: ping 2.4s var(--ease) infinite; }
.bubble:hover { transform: scale(1.14) rotate(-6deg); animation-play-state: paused; }
.bubble span { position: absolute; right: 70px; top: 50%; translate: 10px -50%; padding: 8px 14px; border-radius: 10px; background: #0b121d; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: .3s var(--ease); }
.bubble:hover span { opacity: 1; translate: 0 -50%; }
@keyframes floaty { 50% { translate: 0 -8px; } }
@keyframes ping { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(46px) rotateX(10deg); transform-origin: 50% 100%; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.reveal.left { transform: translateX(-60px); }
.reveal.right { transform: translateX(60px); }
.reveal.left.in, .reveal.right.in { transform: none; }
[data-tilt].reveal.in { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { gap: 30px; }
  .stack { height: 480px; }
}
@media (max-width: 1080px) {
  :root { --nav-h: 72px; }
  .burger { display: grid; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); flex-direction: column; align-items: stretch; justify-content: center; gap: 4px; padding: 90px 30px 40px;
    background: rgba(5, 8, 14, .97); backdrop-filter: blur(18px); border-left: 1px solid var(--line); translate: 100% 0; transition: translate .45s var(--ease); z-index: 110;
  }
  .nav-links.open { translate: 0 0; box-shadow: -40px 0 80px rgba(0, 0, 0, .7); }
  .nav-links a:not(.btn) { font-size: 1.7rem; padding: 12px 6px; }
  .nav-links a:not(.btn)::after { left: 6px; right: auto; width: 60px; right: auto; }
  .nav-links .btn { display: inline-flex; margin-top: 18px; }
  .burger { position: relative; z-index: 120; }
  .nav-actions .btn span { display: none; }
  .nav-actions .btn { padding: 11px 13px; }
}
@media (max-width: 960px) {
  .hero { padding-bottom: 130px; }
  .hero-grid, .split, .story, .standards, .svc-row, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .svc-row:nth-child(even) .svc-media { order: 0; }
  .stack { height: 420px; max-width: 520px; margin-inline: auto; width: 100%; }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .steps::before { display: none; }
  .proj, .proj.wide { grid-column: span 6; }
  .proj.tall { grid-row: auto; min-height: 280px; }
  .cta-band { grid-template-columns: 1fr; padding: 50px 30px; }
  .cta-band .cta-row { justify-content: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .story-media { max-width: 520px; margin-inline: auto; }
  .exp-badge { left: -6px; }
  .lightbox { padding: 70px 14px 20px; }
  .lb-prev { left: 8px; top: auto; bottom: 14px; translate: 0; }
  .lb-next { right: 8px; top: auto; bottom: 14px; translate: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(1200px, 100% - 32px); }
  .section { padding: 84px 0; }
  .g2, .g3, .g4, .facts, .form-grid, .svc-body .checks { grid-template-columns: 1fr; }
  .proj, .proj.wide { grid-column: span 12; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .form-card { padding: 28px 22px; }
  .stack { height: 340px; }
  .stack .chip { font-size: .9rem; padding: 9px 12px; }
  .cube { --c: 190px; }
  .cube-scene { height: 320px; }
  .float-social { right: 10px; top: auto; bottom: 18px; translate: 0 0; }
  .bubble { width: 52px; height: 52px; }
  .bubble span { display: none; }
  .scroll-hint { display: none; }
  .map-wrap { height: 380px; }
  .lang button { padding: 5px 9px; }
  .marquee span { font-size: 1.15rem; }
  .info-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
