/* C.I.C Tech — landing page */

:root {
  --bg: #161826;
  --bg-deep: #10121d;
  --surface: #1e2030;
  --surface-2: #232532;
  --text: #e9e9ed;
  --n100: #f3f5fe; --n200: #e4e7f5; --n300: #cfd3e5; --n400: #b2b6ca; --n500: #9397ab;
  --n600: #75798c; --n700: #595d6c; --n800: #3f424d; --n900: #292b31;
  --accent: #e8792b;
  --a100: #fef6f0; --a200: #fce6d5; --a300: #f9cfae; --a400: #f2a76d;
  --a600: #c2631f; --a800: #6b350f;
  --blue: #1f6fd1;
  --navy: #12244c;
  --divider: color-mix(in srgb, #e9e9ed 14%, transparent);
  --r-sm: 4px; --r-md: 10px; --r-lg: 16px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--a400); text-decoration: none; }
a:hover { color: var(--a300); }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section { padding-top: 110px; padding-bottom: 110px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--accent); color: #fff; border-radius: var(--r-md); transition: top .2s;
}
.skip:focus { top: 12px; color: #fff; }

/* ── scroll progress ─────────────────────────────── */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60;
  background: linear-gradient(90deg, var(--blue), var(--accent) 60%, var(--a300));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 70%, transparent);
}

/* ── nav ─────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--divider);
}
.nav.hidden { transform: translateY(-100%); }
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 32px; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; transition: height .4s var(--ease);
}
.nav.scrolled .nav-inner { height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; font-size: 19px; letter-spacing: -.01em; }
.brand img { border-radius: 6px; background: #fff; padding: 2px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.brand b { font-weight: 600; color: var(--n100); }
.brand em { font-style: normal; font-weight: 600; color: var(--accent); }

.nav-links { display: flex; gap: 28px; font-size: 13.5px; }
.nav-links a { position: relative; color: var(--n400); padding: 6px 0; transition: color .25s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--n100); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links-cta { display: none; }

.lang { display: flex; gap: 2px; border: 1px solid var(--n800); border-radius: 6px; padding: 2px; }
.lang button {
  border: 0; background: transparent; color: var(--n500); font: 500 11.5px var(--font);
  letter-spacing: .06em; padding: 5px 9px; border-radius: 4px; cursor: pointer; transition: background .25s, color .25s;
}
.lang button:hover { color: var(--n200); }
.lang button[aria-pressed="true"] { background: var(--a800); color: var(--a100); }

.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--n800); border-radius: 8px; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--n200); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ── buttons ─────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  border-radius: var(--r-md); padding: 13px 22px; font: 500 14.5px var(--font);
  cursor: pointer; border: 1px solid transparent; overflow: hidden; isolation: isolate;
  transition: color .3s, border-color .3s, box-shadow .4s var(--ease), transform .3s var(--ease);
  will-change: transform;
}
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  color: #fff; border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), #d4561a);
  box-shadow: 0 8px 28px -8px color-mix(in srgb, var(--accent) 70%, transparent);
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 40px -8px color-mix(in srgb, var(--accent) 85%, transparent); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-ghost { color: var(--n300); border-color: var(--n800); background: color-mix(in srgb, var(--surface) 40%, transparent); }
.btn-ghost:hover { color: var(--n100); border-color: var(--n600); }
.btn-outline { color: var(--a300); border-color: var(--accent); padding: 8px 16px; font-size: 13.5px; white-space: nowrap; }
.btn-outline:hover { color: var(--a200); background: color-mix(in srgb, var(--accent) 14%, transparent); }

/* ── hero ────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; min-height: clamp(640px, 100svh, 1000px);
  display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 90px; overflow: hidden;
}
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero-aurora { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.hero-aurora i { position: absolute; border-radius: 50%; will-change: transform; }
.hero-aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: -10%; background: radial-gradient(circle, #e8792b 0%, transparent 70%); animation: drift1 18s ease-in-out infinite alternate; }
.hero-aurora i:nth-child(2) { width: 40vw; height: 40vw; left: -8%; top: 30%; background: radial-gradient(circle, #1f5fbf 0%, transparent 70%); animation: drift2 22s ease-in-out infinite alternate; }
.hero-aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 30%; top: 60%; background: radial-gradient(circle, #6b3fd1 0%, transparent 65%); opacity: .6; animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-12vw, 14vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(14vw, -10vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-10vw, -18vh) scale(1.2); } }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--divider) 1px, transparent 1px), linear-gradient(90deg, var(--divider) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }

.hero-inner { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--a300); }
.kicker-line { width: 28px; height: 2px; background: var(--accent); }
.hero-title {
  font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -.03em;
  color: var(--n100); margin-bottom: 26px; text-wrap: balance;
}
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
.hero-title .w > span { display: inline-block; }
.hero-title .w.hl > span {
  background: linear-gradient(100deg, var(--a300), var(--accent) 45%, #ff9f5a 70%, var(--a300));
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: -250% 0; } }
.hero-body { font-size: 17px; line-height: 1.65; color: var(--n400); margin-bottom: 36px; max-width: 54ch; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; perspective: 1000px; }
.plate-glow { position: absolute; inset: -25%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent 75%); animation: pulse 6s ease-in-out infinite; pointer-events: none; }
@keyframes pulse { 50% { transform: scale(1.12); opacity: .7; } }
.plate { position: relative; max-width: 380px; margin: 0 auto; border-radius: 22px; padding: 2px; transform-style: preserve-3d; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -14px; } }
.plate-ring { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.plate-ring::before {
  content: ""; position: absolute; inset: -60%;
  background: conic-gradient(from 0deg, transparent 0 55%, var(--accent) 70%, #ffd0a8 75%, var(--blue) 85%, transparent 95%);
  animation: spin 5s linear infinite;
}
@keyframes spin { to { transform: rotate(1turn); } }
.plate-card {
  position: relative; background: #fff; border-radius: 20px; padding: 30px 30px 20px;
  display: grid; gap: 16px; justify-items: center;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.1);
  transform: translateZ(30px);
}
.plate-card img { width: 100%; max-width: 300px; border-radius: 10px; }
.plate-foot { width: 100%; border-top: 1px solid var(--n300); padding-top: 13px; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--n700); }
.plate-foot span:last-child { color: var(--a600); }
.orbit { position: absolute; inset: 0; pointer-events: none; }
.chip {
  position: absolute; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .06em;
  color: var(--n100); background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--n100) 18%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.6);
}
.chip::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; box-shadow: 0 0 10px var(--accent); }
.chip-1 { top: 6%; left: -4%; animation: bob 5s ease-in-out infinite; }
.chip-2 { top: 44%; right: -8%; animation: bob 6s ease-in-out -2s infinite; }
.chip-2::before { background: #4d9bff; box-shadow: 0 0 10px #4d9bff; }
.chip-3 { bottom: -5%; left: -2%; animation: bob 5.5s ease-in-out -1s infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 30px; z-index: 3; translate: -50% 0; width: 24px; height: 38px; border: 1.5px solid var(--n600); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ── marquee ─────────────────────────────────────── */
.marquee {
  position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--divider);
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 6%, transparent), color-mix(in srgb, var(--blue) 6%, transparent));
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; align-items: center; gap: 36px; white-space: nowrap; will-change: transform; }
.marquee-track span { font-size: clamp(20px, 2.6vw, 30px); font-weight: 500; letter-spacing: -.02em; color: var(--n300); }
.marquee-track span:nth-of-type(odd) { color: transparent; -webkit-text-stroke: 1px var(--n500); }
.marquee-track i { font-style: normal; color: var(--accent); font-size: 16px; }

/* ── section headings ────────────────────────────── */
.label { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--a300); }
.label-line { width: 20px; height: 2px; background: var(--accent); }
.h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.025em; line-height: 1.1; color: var(--n100); max-width: 26ch; margin-bottom: 48px; text-wrap: balance; }
.lead { font-size: 16px; line-height: 1.65; color: var(--n500); max-width: 58ch; margin: -32px 0 52px; }

/* ── cards ───────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border-radius: var(--r-lg); border: 1px solid var(--n800);
  transition: border-color .4s, box-shadow .5s var(--ease);
  transform-style: preserve-3d;
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--n800)); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent); }
.card-logo { background: var(--n100); border-radius: var(--r-md); padding: 14px 22px; display: flex; align-items: center; min-height: 88px; overflow: hidden; }
.card-logo img { max-width: 230px; transition: transform .7s var(--ease); }
.card:hover .card-logo img { transform: scale(1.05); }
.card-logo .rx-logo { width: 60px; height: 60px; }
.rx-word { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--navy); margin-left: 14px; }
.card-logo-soon { justify-content: center; background: color-mix(in srgb, var(--surface-2) 50%, transparent); border: 1px solid var(--n900); }
.erp-word {
  font-size: 30px; letter-spacing: .12em; font-weight: 600;
  background: linear-gradient(90deg, var(--n700), var(--n400), var(--n700)); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s linear infinite;
}
.card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card h3 { font-size: 20px; color: var(--n100); }
.card > p { font-size: 14.5px; line-height: 1.62; color: var(--n400); text-wrap: pretty; }
.card-soon { border-style: dashed; background: linear-gradient(160deg, color-mix(in srgb, var(--surface-2) 60%, transparent), transparent); }
.card-soon > p { color: var(--n500); }
.card-soon h3 { color: var(--n200); }
.tag { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; border-radius: 999px; padding: 4px 10px; }
.tag-live { color: var(--a200); background: var(--a800); }
.tag-live i { width: 6px; height: 6px; border-radius: 50%; background: #5ee08a; box-shadow: 0 0 0 0 rgba(94,224,138,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(94,224,138,0); } 100% { box-shadow: 0 0 0 0 rgba(94,224,138,0); } }
.tag-staging { color: #ffb366; background: rgba(255,140,40,.14); }
.tag-staging i { background: #ff9f43; box-shadow: 0 0 0 0 rgba(255,159,67,.7); animation-name: ping-orange; }
@keyframes ping-orange { 70% { box-shadow: 0 0 0 7px rgba(255,159,67,0); } 100% { box-shadow: 0 0 0 0 rgba(255,159,67,0); } }
.tag-soon { color: var(--n300); border: 1px solid var(--n700); }
.pills { margin-top: auto; display: flex; flex-wrap: wrap; gap: 7px; }
.pills li { font-size: 11.5px; color: var(--n300); border: 1px solid var(--n800); border-radius: 999px; padding: 4px 11px; transition: border-color .3s, color .3s; }
.card:hover .pills li { border-color: var(--n700); color: var(--n200); }

/* cursor spotlight (shared) */
.spot { --mx: 50%; --my: 50%; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 13%, transparent), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

/* ── services ────────────────────────────────────── */
.band { position: relative; border-block: 1px solid var(--divider); background: linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 50%, transparent), transparent); }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--divider); border: 1px solid var(--divider); border-radius: var(--r-lg); overflow: hidden; }
.service { position: relative; background: var(--bg); padding: 32px 26px 36px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: background .4s; }
.service::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.service:hover { background: color-mix(in srgb, var(--surface) 70%, var(--bg)); }
.service:hover::after { transform: scaleX(1); }
.service-num { font-size: 44px; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 70%, transparent); transition: color .5s; }
.service:hover .service-num { color: var(--accent); }
.service h3 { font-size: 17px; line-height: 1.3; color: var(--n100); margin-top: 18px; }
.service p { font-size: 14px; line-height: 1.6; color: var(--n500); }

/* ── about ───────────────────────────────────────── */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; }
.about-side { position: sticky; top: 120px; align-self: start; }
.about-side .h2 { margin-bottom: 0; }
.about-body { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.6; letter-spacing: -.01em; color: var(--n200); margin-bottom: 48px; }
.js .about-body .sw { color: var(--n700); transition: color .35s; }
.js .about-body .sw.on { color: var(--n100); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { position: relative; padding-top: 16px; }
.value::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--n800); }
.value::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) calc(var(--i, 0) * .15s + .3s); }
.value.in::after, .no-js .value::after { transform: scaleX(.35); }
.value h3 { font-size: 15px; color: var(--n100); margin-bottom: 6px; }
.value p { font-size: 13.5px; line-height: 1.55; color: var(--n500); }

/* ── contact ─────────────────────────────────────── */
.contact { position: relative; border-top: 1px solid var(--divider); overflow: hidden; }
.contact-glow { position: absolute; width: 700px; height: 700px; right: -200px; top: -100px; background: radial-gradient(closest-side, color-mix(in srgb, var(--blue) 18%, transparent), transparent); pointer-events: none; }
.contact-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact .lead { margin: -28px 0 32px; }
.coords { display: grid; gap: 12px; font-size: 14.5px; }
.coords div { display: flex; gap: 14px; }
.coords span { color: var(--n600); min-width: 84px; }
.coords a { color: var(--n300); background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s; }
.coords a:hover { color: var(--n100); background-size: 100% 1px; }

.form { position: relative; display: grid; gap: 16px; padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--n800); background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: blur(10px); }
.form label { display: grid; gap: 7px; font-size: 12.5px; color: var(--n400); }
.form input, .form textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--n800); border-radius: var(--r-md);
  padding: 11px 13px; color: var(--text); font: 14px var(--font);
  transition: border-color .3s, box-shadow .3s;
}
.form textarea { resize: vertical; }
.form input:hover, .form textarea:hover { border-color: var(--n700); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.form .invalid { border-color: #e5534b; }
.form .btn { justify-self: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form select {
  width: 100%; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23f2a76d' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 13px center;
  border: 1px solid var(--n800); border-radius: var(--r-md); padding: 11px 36px 11px 13px;
  color: var(--text); font: 14px var(--font); transition: border-color .3s, box-shadow .3s;
}
.form select:hover { border-color: var(--n700); }
.form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.form select option { background: var(--surface); }
.form input::placeholder { color: var(--n700); }
.form.flash { animation: formFlash 1.4s var(--ease); }
@keyframes formFlash { 30% { border-color: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent), 0 0 60px -10px var(--accent); } }

/* demo button on product cards */
.btn-demo {
  align-self: flex-start; margin-top: auto; padding: 10px 16px; font-size: 13.5px;
  color: var(--a200); border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.pills ~ .btn-demo { margin-top: 4px; }
.btn-demo:hover { color: #fff; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 24%, transparent); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.form .btn[disabled] { opacity: .6; pointer-events: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 13.5px; min-height: 1em; }
.form-status.ok { color: #7fe0a4; }
.form-status.err { color: #ff8f86; }

/* ── footer ──────────────────────────────────────── */
.footer { border-top: 1px solid var(--divider); }
.footer-inner { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 12.5px; color: var(--n600); }

/* ── motion: reveal system (only with JS) ─────────── */
.js .load-in { opacity: 0; transform: translateY(24px); filter: blur(6px); }
.js.loaded .load-in { opacity: 1; transform: none; filter: none; transition: opacity 1s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s), filter 1s var(--ease) var(--d, 0s); }
.js .kicker-line, .js .label-line { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .2s; }
.js.loaded .kicker-line, .js .in .label-line, .js .label.in .label-line { transform: scaleX(1); }

.js .hero-title .w > span { transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; }
.js.loaded .hero-title .w > span { transform: none; transition: transform 1.1s var(--ease) calc(.25s + var(--wi) * .045s); }

.js .reveal { opacity: 0; transform: translateY(40px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 1s var(--ease) calc(var(--i, 0) * .1s), transform 1.1s var(--ease) calc(var(--i, 0) * .1s); }
.js .reveal-mask { opacity: 0; transform: translateY(36px) skewY(2.5deg); transform-origin: 0 100%; filter: blur(10px); }
.js .reveal-mask.in { opacity: 1; transform: none; filter: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease); }

/* nav open (mobile) */
@media (max-width: 900px) {
  .burger { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 6px; padding: 0 32px; background: color-mix(in srgb, var(--bg-deep) 96%, transparent);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    clip-path: circle(0 at calc(100% - 52px) 32px); transition: clip-path .7s var(--ease-in-out); visibility: hidden;
  }
  .nav-links a { font-size: 34px; letter-spacing: -.02em; color: var(--n200); opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); }
  .nav-links a::after { display: none; }
  .nav-links-cta { display: block; color: var(--accent) !important; }
  .nav-open .nav-links { clip-path: circle(150% at calc(100% - 52px) 32px); visibility: visible; }
  .nav-open .nav-links a { opacity: 1; transform: none; }
  .nav-open .nav-links a:nth-child(1) { transition-delay: .15s; }
  .nav-open .nav-links a:nth-child(2) { transition-delay: .22s; }
  .nav-open .nav-links a:nth-child(3) { transition-delay: .29s; }
  .nav-open .nav-links a:nth-child(4) { transition-delay: .36s; }
  .nav-open .nav { background: transparent; border-color: transparent; backdrop-filter: none; }

  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 340px; margin: 0 auto; width: 100%; }
  .cards { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .about-side { position: static; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .wrap, .nav-inner { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .cards, .services, .values, .form-row { grid-template-columns: 1fr; }
  .lang button { padding: 5px 7px; }
  .brand { font-size: 17px; }
  .nav-inner { gap: 12px; }
  .chip-2 { right: -2%; }
  .form { padding: 22px; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .load-in, .js .reveal, .js .reveal-mask, .js .hero-title .w > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .about-body .sw { color: var(--n200); }
  .hero-net { display: none; }
}
