/* =========================================================
   CODECYBER — v3 (kontaktní vizitka)
   Vanilla CSS · no frameworks · no external dependencies
   ========================================================= */

@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;
  --bg: #05070b;
  --bg-elev: #0b0e14;
  --surface: rgba(255, 255, 255, .026);
  --surface-2: rgba(255, 255, 255, .048);
  --surface-3: rgba(255, 255, 255, .085);
  --border: rgba(255, 255, 255, .075);
  --border-2: rgba(255, 255, 255, .14);
  --text: #eef1f7;
  --text-2: #a5adbc;
  --text-3: #6b7486;
  --brand: #5a6dff;
  --brand-strong: #2d43dc;
  --brand-soft: rgba(90, 109, 255, .16);
  --brand-ink: #aab4ff;
  --accent: #36e0b8;
  --grad-a: #5a6dff;
  --grad-b: #9a85ff;
  --grad-c: #36e0b8;
  --grid: rgba(255, 255, 255, .04);
  --grid-hot: rgba(124, 142, 255, .3);
  --header-bg: rgba(8, 10, 15, .66);
  --font-sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --header-h: 64px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f4f0;
  --bg-elev: #ffffff;
  --surface: rgba(255, 255, 255, .7);
  --surface-2: rgba(16, 22, 34, .035);
  --surface-3: rgba(16, 22, 34, .07);
  --border: rgba(16, 22, 34, .09);
  --border-2: rgba(16, 22, 34, .16);
  --text: #0c1118;
  --text-2: #4a5262;
  --text-3: #7d8594;
  --brand: #2d43dc;
  --brand-strong: #2236c4;
  --brand-soft: rgba(45, 67, 220, .1);
  --brand-ink: #2d43dc;
  --accent: #0c9a78;
  --grad-a: #2d43dc;
  --grad-b: #6a46e8;
  --grad-c: #0c9a78;
  --grid: rgba(16, 22, 34, .05);
  --grid-hot: rgba(45, 67, 220, .26);
  --header-bg: rgba(246, 246, 242, .74);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 28px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-width: 300px; min-height: 100vh; min-height: 100svh; overflow-x: clip;
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.mono { font-family: var(--font-mono); font-size: 11.5px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 300; padding: 12px 18px; border-radius: 10px; background: var(--brand); color: #fff; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- Ambient layers ---------- */
.bg-grid, .bg-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; background-size: 72px 72px; background-position: center top; }
.bg-grid {
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  -webkit-mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, .35));
  mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, .35));
}
.bg-glow {
  background-image: linear-gradient(var(--grid-hot) 1px, transparent 1px), linear-gradient(90deg, var(--grid-hot) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(260px circle at var(--cx, -999px) var(--cy, -999px), #000, transparent 70%);
  mask-image: radial-gradient(260px circle at var(--cx, -999px) var(--cy, -999px), #000, transparent 70%);
  opacity: .8;
}
.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="light"] .grain { opacity: .06; filter: invert(1); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 18px; border-radius: 12px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  transition: background-color .25s, border-color .25s, box-shadow .35s, color .25s, translate .5s var(--ease-out);
}
.btn-lg { height: 54px; padding: 0 22px; border-radius: 14px; font-size: 16px; }
.btn .ic { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn-primary {
  color: #fff; background-color: var(--brand-strong);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 12px 32px -12px rgba(45, 67, 220, .9);
}
.btn-primary:hover { background-color: #3a51f0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), inset 0 0 0 1px rgba(255, 255, 255, .1), 0 18px 44px -12px rgba(60, 82, 240, 1); }
.btn-ghost { color: var(--text); background: var(--surface-2); border: 1px solid var(--border-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface-3); border-color: color-mix(in srgb, var(--text) 30%, transparent); }
.btn-glow::before {
  content: ""; position: absolute; inset: -1.5px; z-index: -1; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--angle), transparent 0 55%, rgba(170, 182, 255, .9) 70%, #fff 76%, var(--accent) 82%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 4.5s linear infinite;
}
@keyframes spin { to { --angle: 360deg; } }
.copy-icons { position: relative; width: 18px; height: 18px; }
.copy-icons .ic { position: absolute; inset: 0; transition: opacity .25s, transform .35s var(--ease-out); }
.copy-icons .ic-done { opacity: 0; transform: scale(.5); color: var(--accent); }
.copy-btn.is-done .ic-copy { opacity: 0; transform: scale(.5); }
.copy-btn.is-done .ic-done { opacity: 1; transform: none; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--text-2); border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); border-color: var(--border); }

/* ---------- Header ---------- */
.header { position: fixed; top: 12px; left: 0; right: 0; z-index: 100; pointer-events: none; }
.header-bar {
  pointer-events: auto; width: min(1320px, 100% - 24px); height: var(--header-h); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 12px 0 20px; border-radius: 18px; border: 1px solid transparent;
  transition: background-color .35s, border-color .35s, box-shadow .35s;
}
.header.is-scrolled .header-bar {
  background: var(--header-bg); border-color: var(--border);
  backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .45);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.brand-mark { width: 26px; height: 26px; color: var(--brand); transition: transform .6s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-90deg); }
.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav a { padding: 8px 13px; border-radius: 9px; font-size: 14px; color: var(--text-2); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); }
.lang-switch button { height: 30px; padding: 0 9px; border-radius: 7px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--text-3); transition: background-color .2s, color .2s; }
.lang-switch button[aria-pressed="true"] { background: var(--surface-3); color: var(--text); }
.theme-toggle .ic { width: 18px; height: 18px; }
.theme-toggle .ic-moon { display: none; }
:root[data-theme="light"] .theme-toggle .ic-sun { display: none; }
:root[data-theme="light"] .theme-toggle .ic-moon { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 48px) 0 48px; overflow-x: clip; isolation: isolate; }
.hero-canvas {
  position: absolute; inset: 0 0 auto 0; width: 100%; height: min(100%, 100svh); z-index: -2; opacity: 0; transition: opacity 1.6s ease .2s;
  -webkit-mask-image: linear-gradient(#000 84%, transparent); mask-image: linear-gradient(#000 84%, transparent);
}
.hero-canvas.is-ready { opacity: 1; }
.hero-aurora { position: absolute; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; }
.hero-aurora i { position: absolute; border-radius: 50%; filter: blur(70px); animation: drift 20s var(--ease-in-out) infinite alternate; }
.hero-aurora i:nth-child(1) { width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; left: -14vw; top: -34vw; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 45%, transparent), transparent 65%); }
.hero-aurora i:nth-child(2) { width: 44vw; height: 44vw; right: -12vw; top: -18vw; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%); animation-duration: 26s; animation-direction: alternate-reverse; }
:root[data-theme="light"] .hero-aurora i { opacity: .55; }
@keyframes drift { to { transform: translate3d(7vw, 5vw, 0) scale(1.12); } }

.hero-inner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(40px, 5vw, 80px); }
.status-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: 13px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.pill-sep { width: 1px; height: 14px; background: var(--border-2); }
.pill-loc { color: var(--text-3); }
.pulse { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: pulse 2.2s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }

.hero-title { margin-top: 28px; font-size: clamp(42px, 5.6vw, 84px); font-weight: 500; line-height: 1; letter-spacing: -.055em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .line-inner { display: inline-block; transform: translateY(110%); animation: rise 1.15s var(--ease-out) forwards; animation-delay: calc(var(--i) * .11s + .1s); }
@keyframes rise { to { transform: translateY(0); } }
.grad { background: linear-gradient(100deg, var(--grad-a) 0%, var(--grad-b) 45%, var(--grad-c) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.scr-wait { opacity: 0; }
.scr { color: var(--text-3); -webkit-text-fill-color: var(--text-3); font-family: var(--font-mono); font-size: .8em; letter-spacing: 0; }
.hero-lead { margin-top: 26px; max-width: 540px; font-size: clamp(17px, 1.3vw, 19px); color: var(--text-2); }

.services { display: grid; gap: 4px; margin-top: 32px; max-width: 520px; }
.services li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--border); }
.services li:last-child { border-bottom: 1px solid var(--border); }
.svc-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; color: var(--brand-ink); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent); }
.svc-icon .ic { width: 19px; height: 19px; }
.services b { display: block; font-size: 16px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.services span:not(.svc-icon) { display: block; font-size: 14px; color: var(--text-3); line-height: 1.4; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.intro { opacity: 0; transform: translateY(18px); animation: intro 1s var(--ease-out) forwards; animation-delay: calc(var(--i) * .1s + .25s); }
@keyframes intro { to { opacity: 1; transform: none; } }

/* ---------- Business card ---------- */
.hero-card { display: grid; justify-items: center; gap: 18px; }
.idcard-wrap { width: 100%; max-width: 540px; perspective: 1200px; }
.idcard {
  --rx: 4deg; --ry: -10deg; --hx: 50%; --hy: 50%;
  position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1.586; display: flex; flex-direction: column;
  padding: clamp(22px, 2.6vw, 32px); border-radius: 24px; color: #fff;
  background: linear-gradient(135deg, #16206b 0%, #2d43dc 42%, #4b33cf 74%, #0f7f6a 125%);
  box-shadow: 0 60px 100px -40px rgba(45, 67, 220, .8), 0 0 0 1px rgba(255, 255, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .25);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .9s var(--ease-out);
}
.idcard ::selection { background: #fff; color: #16206b; }
.idcard :focus-visible { outline-color: #fff; }
.idcard-grid { 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: 24px 24px; -webkit-mask-image: linear-gradient(120deg, #000, transparent 70%); mask-image: linear-gradient(120deg, #000, transparent 70%); }
.idcard-watermark { position: absolute; z-index: -1; right: -6%; bottom: -14%; width: 52%; height: auto; aspect-ratio: 1; color: rgba(255, 255, 255, .07); }
.idcard-top { display: flex; justify-content: space-between; align-items: center; }
.idcard-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; letter-spacing: -.04em; }
.idcard-brand svg { width: 22px; height: 22px; }
.idcard-chip { padding: 5px 10px; border-radius: 999px; font-size: 10px; color: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); }
.idcard-main { margin-top: auto; padding-top: 18px; }
.idcard-name { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.idcard-tag { margin-top: 4px; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.idcard-data { display: grid; grid-template-columns: 1fr auto; gap: 14px 28px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .22); }
.idcard-data .d-email { grid-column: 1 / -1; }
.idcard-data dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.idcard-data dd { margin-top: 3px; font-size: 14px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.d-email dd { font-size: clamp(19px, 1.9vw, 24px); letter-spacing: -.02em; line-height: 1.2; }
.d-email a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.d-email a:hover { background-size: 100% 1px; }
.idcard-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 9.5px; color: rgba(255, 255, 255, .58); font-variant-numeric: tabular-nums; }
.holo {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; opacity: .5; transition: opacity .5s;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 80, 200, .55) 35%, rgba(80, 220, 255, .55) 48%, rgba(150, 255, 150, .45) 60%, transparent 76%);
  background-size: 240% 240%; background-position: var(--hx) var(--hy);
}
.idcard:hover .holo { opacity: 1; }
@media (hover: none) { .holo { animation: holo 7s var(--ease-in-out) infinite alternate; } }
@keyframes holo { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
.map-link { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text-2); transition: color .2s; }
.map-link:hover { color: var(--text); }
.map-link .ic { width: 16px; height: 16px; }
.map-link .arrow { transition: transform .35s var(--ease-out); }
.map-link:hover .arrow { transform: translateX(3px); }

/* ---------- Content sections ---------- */
.section { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.section-head { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--text-3); }
.eyebrow b { font-weight: 400; color: var(--brand-ink); }
.eyebrow b::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--border-2); }
.section-title { margin-top: 18px; font-size: clamp(32px, 4.2vw, 58px); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.section-lead { margin-top: 20px; max-width: 600px; font-size: clamp(16.5px, 1.25vw, 18.5px); color: var(--text-2); }

.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.svc-card {
  display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 34px); border-radius: 22px;
  border: 1px solid var(--border); background: var(--surface);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color .3s, background-color .3s;
}
.svc-card:hover { border-color: var(--border-2); background: var(--surface-2); }
.svc-card .svc-icon { width: 44px; height: 44px; border-radius: 12px; }
.svc-card .svc-icon .ic { width: 21px; height: 21px; }
.svc-card h3 { margin-top: 8px; font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; line-height: 1.2; letter-spacing: -.03em; }
.svc-card p { font-size: 15.5px; color: var(--text-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.tags li { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--text-3); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--border); }
.steps li { position: relative; padding-top: 28px; }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 1px; background: linear-gradient(90deg, var(--grad-a), var(--grad-c)); }
.step-no { color: var(--brand-ink); }
.steps h3 { margin-top: 14px; font-size: 19px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.steps p { margin-top: 8px; font-size: 15px; color: var(--text-2); }

.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 40px 64px;
  padding: clamp(28px, 5vw, 64px); border-radius: 28px; border: 1px solid var(--border); background: var(--surface);
}
.cta-panel::before {
  content: ""; position: absolute; z-index: -1; right: -15%; top: -60%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 32%, transparent), transparent 65%); filter: blur(40px);
}
.cta-mail { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(26px, 3vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; }
.cta-mail .ic { width: .75em; height: .75em; color: var(--brand-ink); transition: transform .35s var(--ease-out); }
.cta-mail:hover .ic { transform: translate(3px, -3px); }
.cta-address { margin-top: 14px; font-size: 14px; color: var(--text-3); }
.cta-side .hero-actions { margin-top: 28px; }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(32px); } }
  }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 80%, transparent); }
.footer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 18px 20px; font-size: 13px; color: var(--text-3); }
.buildinfo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 10.5px; }
.buildinfo i { font-style: normal; opacity: .5; }
.buildinfo b { color: var(--accent); font-weight: 400; font-variant-numeric: tabular-nums; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 250; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px;
  border-radius: 13px; font-size: 14px; color: var(--bg); background: var(--text); box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .55);
  transform: translate(-50%, 160%); transition: transform .55s var(--ease-out); pointer-events: none;
}
.toast .ic { width: 17px; height: 17px; color: var(--accent); }
:root[data-theme="light"] .toast .ic { color: #5af0c8; }
.toast.is-on { transform: translate(-50%, 0); }

/* ---------- View transitions ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }
html.vt-theme::view-transition-old(root), html.vt-theme::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.vt-theme::view-transition-old(root) { z-index: 1; }
html.vt-theme::view-transition-new(root) { z-index: 2; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 680px; }
  .hero-card { justify-self: center; width: 100%; max-width: 540px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
  .cta-panel { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 760px) {
  .nav { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 58px; }
  .header { top: 8px; }
  .header-bar { width: calc(100% - 16px); padding: 0 6px 0 14px; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-title { font-size: clamp(38px, 11vw, 56px); }
  .hero-lead { font-size: 16.5px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .idcard { aspect-ratio: auto; border-radius: 20px; }
  .idcard-main { margin-top: 28px; }
  .idcard-data { grid-template-columns: 1fr; }
  .svc-grid, .steps { grid-template-columns: 1fr; }
  .cta-panel { border-radius: 22px; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .idcard { transform: none; }
}
