/* =========================================================================
   HARMEXON — site styles v3
   Night-blue hero with live network animation, light content sections,
   real product UI mockups as the main visual material.
   ========================================================================= */

@font-face { font-family: "Archivo Black"; src: url("/fonts/archivo-black.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("/fonts/fira-sans-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("/fonts/fira-sans-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("/fonts/fira-sans-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Anonymous Pro"; src: url("/fonts/anonymous-pro-400.woff") format("woff"); font-weight: 400; font-display: swap; }

:root {
  --night: #070b1a;
  --night-2: #0c1330;
  --ink: #0e1a3a;
  --ink-soft: #4a5572;
  --royal: #1f4fd8;
  --royal-deep: #1640b5;
  --electric: #5b8cff;
  --cyan: #22d3ee;
  --amber: #f5a524;
  --paper: #f5f7fb;
  --paper-2: #edf1f8;
  --line: #e1e7f2;
  --white: #ffffff;
  --on-dark: #c5cfea;
  --on-dark-2: #8d9abf;

  --display: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --text: "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --code: "Anonymous Pro", ui-monospace, Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-lg: 20px;
  --r-md: 12px;
  --r-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--text); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--royal); color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(84px, 10vw, 136px) 0; }
.section-tint { background: var(--paper); }
.section-dark { background: var(--night); color: var(--white); }

/* ---------- Type ---------- */
.h-hero { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5.2vw, 70px); line-height: 1.02; letter-spacing: -.035em; }
.h-1 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.h-2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.h-3 { font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-soft); max-width: 60ch; }
.section-dark .lede, .hero .lede, .page-hero .lede { color: var(--on-dark); }
.muted { color: var(--ink-soft); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 72px; align-items: end; margin-bottom: 64px; }
.head.center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.head.center .lede { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 16px; line-height: 1;
  text-decoration: none; padding: 17px 28px; border-radius: 999px; border: 1.5px solid transparent; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn-primary { background: var(--royal); color: var(--white); box-shadow: 0 10px 30px -10px rgba(31,79,216,.7); }
.btn-primary:hover { background: var(--royal-deep); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--paper-2); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-dark { border-color: rgba(255,255,255,.28); color: var(--white); }
.btn-outline-dark:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.link { color: var(--royal); font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.link:hover { border-color: currentColor; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.site-header .row { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.site-header .brand img { height: 24px; width: auto; }
.site-header .brand .on-light { display: none; }
.site-header.solid { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.5) blur(14px); border-color: var(--line); }
.site-header.solid .brand .on-light { display: block; }
.site-header.solid .brand .on-dark { display: none; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--on-dark); transition: color .2s; }
.site-nav a:hover, .site-nav a.active { color: var(--white); }
.site-header.solid .site-nav a { color: var(--ink-soft); }
.site-header.solid .site-nav a:hover, .site-header.solid .site-nav a.active { color: var(--ink); }
.site-nav .btn { padding: 13px 22px; font-size: 15px; color: var(--white) !important; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: var(--white); font-size: 18px; }
.site-header.solid .nav-toggle { border-color: var(--line); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: var(--white); padding: 168px 0 96px; isolation: isolate; }
.hero canvas.net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.aurora { position: absolute; inset: -20% -10% auto -10%; height: 140%; z-index: -2; pointer-events: none; filter: blur(70px); opacity: .75; }
.aurora span { position: absolute; border-radius: 50%; }
.aurora span:nth-child(1) { width: 46vw; height: 46vw; left: 50%; top: 0; background: radial-gradient(circle, rgba(31,79,216,.85), transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 34vw; height: 34vw; left: 72%; top: 30%; background: radial-gradient(circle, rgba(34,211,238,.45), transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 40vw; height: 40vw; left: -6%; top: 40%; background: radial-gradient(circle, rgba(91,140,255,.35), transparent 65%); animation: drift1 26s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-8vw, 6vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-10vw, -4vw) scale(.9); } }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); font-size: 14.5px; color: var(--on-dark); margin-bottom: 26px; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.hero .lede { margin: 26px 0 38px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; color: var(--on-dark-2); font-size: 15px; }
.hero-proof strong { color: var(--white); font-weight: 600; }

.stage { position: relative; perspective: 1600px; }
.stage .screen { border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: 0 60px 120px -40px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.08);
  transform: rotateY(-9deg) rotateX(4deg); transform-origin: left center; }
.stage .screen img { width: 100%; height: auto; }
.chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.96); color: var(--ink);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); font-size: 14px; line-height: 1.3; }
.chip b { display: block; font-size: 15px; }
.chip small { color: var(--ink-soft); }
.chip .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; }
.chip-a { left: -34px; bottom: 40px; animation: bob 6s ease-in-out infinite; }
.chip-b { right: -18px; top: -22px; animation: bob 7s ease-in-out infinite reverse; }
.chip-a .ic { background: #dcfce7; color: #15803d; }
.chip-b .ic { background: #e0e9ff; color: var(--royal); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--night); border-top: 1px solid rgba(255,255,255,.07); overflow: hidden; color: var(--on-dark-2); }
.marquee .track { display: flex; gap: 56px; width: max-content; padding: 22px 0; animation: scroll 40s linear infinite; font-weight: 500; font-size: 16px; white-space: nowrap; }
.marquee .track span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 2px; background: var(--electric); margin-right: 14px; vertical-align: middle; transform: rotate(45deg); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.stat { padding: 34px 32px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3.6vw, 48px); letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.stat span { display: block; margin-top: 10px; color: var(--ink-soft); }
.stats-wrap { padding-top: 72px; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { position: relative; padding: 34px 32px 30px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: border-color .25s, box-shadow .25s, transform .25s; text-decoration: none; overflow: hidden; }
.svc-card::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(91,140,255,.18), transparent 70%); opacity: 0; transition: opacity .3s; }
.svc-card:hover { border-color: #c9d6f6; box-shadow: 0 30px 60px -36px rgba(31,79,216,.45); transform: translateY(-4px); }
.svc-card:hover::after { opacity: 1; }
.svc-ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #e7eeff, #f3f7ff); color: var(--royal); }
.svc-ic svg { width: 28px; height: 28px; }
.svc-card p { color: var(--ink-soft); font-size: 16px; }
.svc-card ul { list-style: none; display: grid; gap: 7px; margin-top: 4px; font-size: 15px; }
.svc-card li { display: flex; gap: 10px; }
.svc-card li::before { content: ""; flex: none; margin-top: .55em; width: 6px; height: 6px; border-radius: 2px; transform: rotate(45deg); background: var(--electric); }
.svc-card .more { margin-top: auto; padding-top: 10px; color: var(--royal); font-weight: 600; font-size: 15px; }

/* ---------- Showcase (featured work, interactive) ---------- */
.showcase { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 48px; align-items: start; }
.show-list { display: grid; gap: 10px; }
.show-item { text-align: left; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: var(--on-dark); border-radius: var(--r-md); padding: 18px 20px; transition: background-color .2s, border-color .2s; }
.show-item b { display: block; color: var(--white); font-size: 17px; font-weight: 600; }
.show-item small { display: block; margin-top: 3px; font-size: 14px; color: var(--on-dark-2); }
.show-item .bar { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); margin-top: 14px; overflow: hidden; }
.show-item .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--electric), var(--cyan)); }
.show-item.on { background: rgba(91,140,255,.12); border-color: rgba(91,140,255,.5); }
.show-item.on .bar i { animation: fill 7s linear forwards; }
@keyframes fill { to { width: 100%; } }
.show-panel { position: relative; border-radius: var(--r-lg); background: linear-gradient(160deg, #13204b, #0a1230); border: 1px solid rgba(255,255,255,.08); padding: 32px; overflow: hidden; }
.show-panel::before { content: ""; position: absolute; inset: -30% -20% auto auto; width: 70%; height: 90%; background: radial-gradient(circle, rgba(91,140,255,.35), transparent 65%); pointer-events: none; }
.show-panel .shot { position: relative; border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); animation: rise .6s cubic-bezier(.2,.8,.2,1); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.show-meta { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; margin-top: 28px; }
.show-meta p { color: var(--on-dark); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13.5px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink); }
.section-dark .tag, .show-meta .tag { background: rgba(255,255,255,.08); color: var(--on-dark); }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); font-weight: 600; }
.ind .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--royal); }
.ind .ic svg { width: 22px; height: 22px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; counter-reset: st; }
.steps.vertical { grid-template-columns: 1fr; gap: 26px; margin-top: 30px; }
.steps.vertical::before { display: none; }
.steps.vertical .step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.steps.vertical .n { margin: 0; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: linear-gradient(90deg, var(--royal), var(--cyan)); opacity: .35; }
.step { position: relative; }
.step .n { counter-increment: st; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--royal); color: var(--royal); font-family: var(--display); font-size: 20px; margin-bottom: 22px; position: relative; z-index: 1; }
.step .n::before { content: counter(st); }
.step h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Engagement models (no public prices) ---------- */
.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.model { padding: 30px 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; gap: 12px; }
.model.feature { background: var(--ink); color: var(--white); border-color: var(--ink); }
.model .kicker { font-size: 14px; font-weight: 600; color: var(--royal); }
.model.feature .kicker { color: var(--electric); }
.model p { color: var(--ink-soft); font-size: 15.5px; }
.model.feature p { color: var(--on-dark); }
.model dl { display: grid; gap: 12px; margin: 8px 0 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.model.feature dl { border-color: rgba(255,255,255,.15); }
.model dt { font-weight: 600; }
.model dd { color: var(--ink-soft); }
.model.feature dd { color: var(--on-dark); }
.model .btn { margin-top: auto; }
.models-note { margin-top: 26px; text-align: center; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(48px, 7vw, 88px); background: linear-gradient(120deg, #1f4fd8, #1236a3 55%, #0b1f66); color: var(--white); isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at 80% 30%, #000, transparent 70%); }
.cta .stripes { position: absolute; right: 6%; top: -20%; bottom: -20%; width: 260px; z-index: -1; }
.cta .stripes i { position: absolute; top: 0; bottom: 0; background: rgba(255,255,255,.9); transform: skewX(-28deg); }
.cta .stripes i:nth-child(1) { left: 0; width: 10px; opacity: .25; }
.cta .stripes i:nth-child(2) { left: 46px; width: 24px; opacity: .45; }
.cta .stripes i:nth-child(3) { left: 112px; width: 56px; opacity: .9; }
.cta .lede { color: #dbe5ff; margin: 18px 0 32px; }
.cta .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--night); color: var(--white); padding: 168px 0 84px; isolation: isolate; }
.page-hero .crumbs { display: flex; gap: 10px; font-size: 14.5px; color: var(--on-dark-2); margin-bottom: 22px; }
.page-hero .crumbs a { text-decoration: none; }
.page-hero .crumbs a:hover { color: var(--white); }
.page-hero .lede { margin-top: 20px; }

/* ---------- Work grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter { border: 1px solid var(--line); background: var(--white); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 500; font-size: 15px; }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work-card { text-decoration: none; display: block; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.work-card:hover { box-shadow: 0 40px 70px -40px rgba(14,26,58,.45); transform: translateY(-4px); }
.work-card .thumb { background: linear-gradient(160deg, #eef3ff, #f7f9ff); padding: 26px 26px 0; height: 320px; overflow: hidden; display: flex; align-items: flex-start; justify-content: center; }
.work-card .thumb img { width: 100%; max-width: 560px; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.work-card:hover .thumb img { transform: translateY(-8px) scale(1.02); }
.work-card .body { padding: 24px 26px 28px; }
.work-card .meta { font-size: 14px; color: var(--ink-soft); margin-bottom: 6px; }
.work-card p { color: var(--ink-soft); font-size: 15.5px; margin: 8px 0 16px; }
.nda { margin-top: 32px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Project detail ---------- */
.proj-shot { margin-top: -40px; position: relative; z-index: 2; border-radius: var(--r-lg); background: linear-gradient(160deg, #eef3ff, #f7f9ff); border: 1px solid var(--line); padding: clamp(20px, 4vw, 48px); }
.proj-shot img { width: 100%; max-width: 900px; margin: 0 auto; }
.proj-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; }
.proj-body h2 { font-size: 24px; font-weight: 600; margin: 0 0 12px; }
.proj-body section + section { margin-top: 44px; }
.proj-body p { color: var(--ink-soft); font-size: 18px; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; list-style: none; }
.feat-grid li { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: var(--paper); font-weight: 500; }
.feat-grid li::before { content: "✓"; color: var(--royal); font-weight: 700; }
.facts { position: sticky; top: 104px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 22px; align-self: start; }
.facts dt { font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.outcome { padding: 24px 26px; border-radius: var(--r-md); background: #eaf0ff; color: var(--ink); font-size: 18px; font-weight: 500; border-left: 4px solid var(--royal); }
.proj-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); }
.proj-nav a { text-decoration: none; }
.proj-nav small { display: block; color: var(--ink-soft); }
.proj-nav b { font-size: 19px; }

/* ---------- Services page ---------- */
.svc-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 72px 0; border-bottom: 1px solid var(--line); }
.svc-detail:last-child { border-bottom: 0; }
.svc-detail:nth-child(even) .svc-visual { order: -1; }
.svc-detail p { color: var(--ink-soft); font-size: 18px; margin: 16px 0 22px; }
.svc-detail ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-bottom: 24px; }
.svc-detail li { display: flex; gap: 10px; font-weight: 500; }
.svc-detail li::before { content: "✓"; color: var(--royal); font-weight: 700; }
.svc-visual { border-radius: var(--r-lg); background: linear-gradient(160deg, #eef3ff, #f7f9ff); border: 1px solid var(--line); padding: 28px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.about-grid p { color: var(--ink-soft); font-size: 18px; }
.about-grid p + p { margin-top: 18px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.value { padding: 26px; border-radius: var(--r-lg); background: var(--paper); }
.value h3 { font-size: 18px; margin-bottom: 8px; }
.value p { font-size: 15.5px; }

/* ---------- Contact + FAQ ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.contact-card { display: grid; gap: 18px; margin-top: 32px; }
.contact-card a, .contact-card div { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.contact-card .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--royal); }
.contact-card small { display: block; font-weight: 400; color: var(--ink-soft); }
.form { padding: 36px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(14,26,58,.35); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); background: var(--white); box-shadow: 0 0 0 4px rgba(31,79,216,.14); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.form-foot .muted { font-size: 14px; }
.notice { margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-size: 15px; }
.notice.err { background: #fdecec; color: #9c2424; }
.notice ul { margin: 6px 0 0 18px; }
.sent { text-align: left; }
.btn[disabled] { opacity: .65; cursor: progress; }
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; border: 0; background: none; text-align: left; font-size: 18px; font-weight: 600; color: var(--ink); }
.faq-q i { flex: none; font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--royal); transition: transform .2s; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 56px 24px 0; color: var(--ink-soft); }
.faq-item.open .faq-a { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-dark-2); padding: 80px 0 36px; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 24px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: var(--white); font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero .grid, .showcase, .show-meta, .proj-body, .svc-detail, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .svc-detail:nth-child(even) .svc-visual { order: 0; }
  .head { grid-template-columns: 1fr; }
  .svc-grid, .models { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .stage .screen { transform: none; }
  .chip-a { left: 8px; } .chip-b { right: 8px; }
  .facts { position: static; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .show-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: grid; place-items: center; }
  .site-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--gutter) 24px; background: var(--white); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a, .site-header.solid .site-nav a { color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; border: 0; }
  .hero { padding: 132px 0 80px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .svc-grid, .models, .ind-grid, .work-grid, .feat-grid, .values, .form .two, .svc-detail ul { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .show-list { grid-template-columns: 1fr; }
  .work-card .thumb { height: 230px; }
  .chip { display: none; }
  .form { padding: 24px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .page-hero { padding: 130px 0 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
