/* ============================================================
   KUMIŃSKI — OBRÓBKA CIEPLNA STALI · styles.css
   ============================================================ */

:root {
  /* primitive */
  --ink-950: #0b0c0d;
  --ink-900: #101214;
  --ink-800: #16181a;
  --ink-700: #1e2124;
  --ink-600: #2a2e32;
  --bone-100: #f4f1ea;
  --bone-300: #cfcabf;
  --bone-500: #a39d92;
  --amber-400: #ffb340;
  --amber-500: #f5931e;
  --amber-600: #d97a10;
  --amber-050: rgba(245, 147, 30, 0.08);

  /* semantic */
  --bg: var(--ink-950);
  --bg-raise: var(--ink-900);
  --surface: var(--ink-800);
  --line: rgba(244, 241, 234, 0.09);
  --line-strong: rgba(244, 241, 234, 0.18);
  --text: var(--bone-100);
  --muted: var(--bone-500);
  --accent: var(--amber-500);
  --accent-bright: var(--amber-400);
  --accent-ink: #231303;

  /* type */
  --font-display: Impact, "Arial Narrow", "Liberation Sans Narrow", sans-serif;
  --font-body: "Segoe UI", Arial, sans-serif;

  /* rhythm */
  --pad-section: clamp(2.75rem, 5.5vw, 4.75rem);
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme-scope="site"][data-theme="light"] {
  color-scheme: light;
  --ink-950: #f3f2ed;
  --ink-900: #ffffff;
  --ink-800: #e9e7df;
  --ink-700: #dddacf;
  --ink-600: #b7b3a8;
  --bone-100: #202626;
  --bone-300: #48514f;
  --bone-500: #68716e;
  --amber-400: #a85b0b;
  --amber-500: #bd6d13;
  --amber-600: #914e0b;
  --amber-050: rgba(189, 109, 19, .09);
  --bg: var(--ink-950);
  --bg-raise: var(--ink-900);
  --surface: var(--ink-800);
  --line: rgba(32, 38, 38, .11);
  --line-strong: rgba(32, 38, 38, .22);
  --text: var(--bone-100);
  --muted: var(--bone-500);
  --accent: var(--amber-500);
  --accent-bright: var(--amber-400);
  --accent-ink: #231303;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.container { width: min(1240px, 100% - 3rem); margin-inline: auto; }
.section-pad { padding-block: var(--pad-section); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.6rem 1.1rem; font-weight: 600; border-radius: 4px;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* ---------- type & shared ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(3rem, 8.2vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
h1 em, h2 em { font-style: normal; color: var(--accent-bright); }
h3 { font-size: 1.5rem; }

.eyebrow {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.02rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.eyebrow-mark {
  width: 26px; height: 2px; flex: none;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(245, 147, 30, 0.75);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem;
  min-height: 52px; padding: 0.85rem 1.7rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.12rem; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 4px;
  transition: transform 0.22s var(--ease-out), background-color 0.22s, color 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.btn-arrow { transition: transform 0.22s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(5px); }
.btn:active { transform: scale(0.97); }

.btn-amber {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 0 rgba(245, 147, 30, 0);
}
.btn-amber:hover { background: var(--accent-bright); box-shadow: 0 6px 28px rgba(245, 147, 30, 0.35); }

.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-bright); }

.btn-outline { border: 1px solid var(--line-strong); color: var(--text); min-height: 48px; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-bright); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 12, 13, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 44px; }
.brand-symbol {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  color: var(--accent); border: 1px solid var(--line-strong); border-radius: 4px;
  background: var(--amber-050);
}
.brand-symbol svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: 0.14em; }
.brand-text small { font-size: 0.62rem; letter-spacing: 0.3em; color: var(--muted); }

.primary-nav { display: flex; align-items: center; gap: 2rem; }
.primary-nav > a:not(.nav-call) {
  position: relative;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-300);
  padding-block: 0.6rem; min-height: 44px; display: inline-flex; align-items: center;
  transition: color 0.2s;
}
.primary-nav > a:not(.nav-call)::after {
  content: ""; position: absolute; left: 0; bottom: 0.35rem;
  width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.primary-nav > a:not(.nav-call):hover { color: var(--text); }
.primary-nav > a:not(.nav-call):hover::after { transform: scaleX(1); }
.nav-call {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 44px; padding: 0.55rem 1.15rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  letter-spacing: 0.08em; color: var(--accent-bright);
  border: 1px solid rgba(245, 147, 30, 0.45); border-radius: 4px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.nav-call svg { width: 15px; height: 15px; }
.nav-call:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line-strong); border-radius: 4px;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--text); transition: transform 0.25s var(--ease-out), opacity 0.2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%;
  transform: scale(1.04);
  animation: hero-drift 24s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.04) translateX(0); }
  to { transform: scale(1.09) translateX(-1.5%); }
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,12,13,0.94) 0%, rgba(11,12,13,0.72) 38%, rgba(11,12,13,0.25) 68%, rgba(11,12,13,0.45) 100%),
    linear-gradient(0deg, var(--ink-950) 0%, rgba(11,12,13,0) 22%, rgba(11,12,13,0) 78%, rgba(11,12,13,0.55) 100%);
}
#embers { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-layout {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end; gap: 3rem;
  padding-block: 3.5rem 4.5rem;
}
.hero-content { max-width: 640px; }
.hero-lead {
  margin-top: 1.6rem; max-width: 52ch;
  font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--bone-300);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

.hero-panel {
  background: rgba(16, 18, 20, 0.72);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.4rem 1.5rem 1.2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  justify-self: end;
  width: min(360px, 100%);
}
.hero-panel-top {
  display: flex; justify-content: space-between; align-items: center; gap: 0.8rem;
  font-size: 0.7rem; letter-spacing: 0.24em; color: var(--muted);
  padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.live-dot { color: var(--accent-bright); display: inline-flex; align-items: center; gap: 0.45rem; }
.live-dot::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 10px var(--accent-bright);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.hero-facts dt { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; }
.hero-facts dd {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.55rem, 2.1vw, 2.05rem);
  color: var(--text); line-height: 1; white-space: nowrap;
}
.hero-facts dd small { font-size: 0.55em; color: var(--accent-bright); }
.hero-panel-note {
  margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: 0.8rem; letter-spacing: 0.06em; color: var(--muted);
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  width: 44px; height: 64px;
  display: grid; place-items: center;
}
.scroll-cue span {
  width: 2px; height: 42px; background: var(--line-strong);
  position: relative; overflow: hidden; display: block;
}
.scroll-cue span::after {
  content: ""; position: absolute; left: 0; top: -40%;
  width: 100%; height: 40%; background: var(--accent-bright);
  animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue { to { top: 110%; } }

/* ---------- stats ---------- */
.stats { border-block: 1px solid var(--line); background: var(--bg-raise); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 2rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat strong {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 4.2vw, 3.6rem); line-height: 1;
  color: var(--accent-bright);
}
.stat span { font-size: 0.86rem; line-height: 1.45; color: var(--muted); }

/* ---------- intro ---------- */
.intro-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center;
}
.intro-copy p:not(.eyebrow) { color: var(--bone-300); max-width: 56ch; margin-bottom: 2rem; }
.intro-figure { position: relative; }
.intro-figure img {
  border-radius: 6px;
  filter: saturate(0.88) contrast(1.05);
  border: 1px solid var(--line);
}
.intro-figure figcaption {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 0.9rem;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.intro-figure::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px;
  border: 1px solid rgba(245, 147, 30, 0.28); border-radius: 6px;
  z-index: -1;
}

/* ---------- section head ---------- */
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 2.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-aside { max-width: 34ch; color: var(--muted); font-size: 0.98rem; padding-bottom: 0.4rem; }

/* ---------- services ---------- */
.services { background: var(--bg-raise); border-block: 1px solid var(--line); }
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 90px minmax(0, 1fr) 60px;
  align-items: center; gap: 1.6rem;
  padding: 1.9rem 0.8rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color 0.25s, padding-left 0.3s var(--ease-out);
}
.service-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.3s var(--ease-out);
  box-shadow: 0 0 16px rgba(245, 147, 30, 0.55);
}
.service-row:hover { background: var(--amber-050); padding-left: 1.6rem; }
.service-row:hover::before { transform: scaleY(1); }
.service-no {
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  color: var(--muted); letter-spacing: 0.1em;
  transition: color 0.25s;
}
.service-row:hover .service-no { color: var(--accent-bright); }
.service-body { display: flex; flex-direction: column; gap: 0.4rem; }
.service-body strong {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem);
  text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.05;
}
.service-body small { font-size: 0.97rem; line-height: 1.55; color: var(--muted); max-width: 68ch; }
.service-go {
  width: 52px; height: 52px; justify-self: end;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%;
  font-size: 1.25rem; color: var(--bone-300);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
}
.service-row:hover .service-go {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
  transform: rotate(-45deg);
}

/* ---------- technology ---------- */
.tech-layout {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center;
}
.tech-copy > p:not(.eyebrow) { color: var(--bone-300); max-width: 56ch; margin-bottom: 2rem; }
.tech-list { border-top: 1px solid var(--line); margin-bottom: 2.2rem; }
.tech-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding: 1.05rem 0.2rem; border-bottom: 1px solid var(--line);
}
.tech-list span { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.tech-list small { color: var(--muted); text-align: right; }
.tech-visual { position: relative; }
.tech-visual img {
  border-radius: 6px; border: 1px solid var(--line);
  filter: saturate(1.05) contrast(1.04);
}
.tech-badge {
  position: absolute; left: -18px; bottom: 26px;
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--accent); color: var(--accent-ink);
  border-radius: 6px; padding: 1rem 1.3rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}
.tech-badge strong { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; }
.tech-badge span { font-size: 0.82rem; font-weight: 600; line-height: 1.25; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- process ---------- */
.process { background: var(--bg-raise); border-block: 1px solid var(--line); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
}
.step {
  padding: 2.2rem 1.7rem 2.4rem;
  border-left: 1px solid var(--line);
  background: var(--bg);
  transition: background-color 0.3s;
  position: relative;
}
.step:first-child { border-left: 0; }
.step:hover { background: var(--amber-050); }
.step-no {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: 3.4rem; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 179, 64, 0.55);
  margin-bottom: 1.4rem;
}
.step h3 { margin-bottom: 0.7rem; }
.step p { font-size: 0.95rem; color: var(--muted); }

/* ---------- cta band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-media { position: absolute; inset: 0; z-index: -1; }
.cta-media img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 30%; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(11,12,13,0.92) 8%, rgba(11,12,13,0.55) 55%, rgba(11,12,13,0.35) 100%);
}
.cta-layout {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center; gap: 3rem;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.cta-side { max-width: 420px; }
.cta-side p { color: var(--bone-300); margin-bottom: 1.8rem; }

/* ---------- about ---------- */
.about-layout {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center;
}
.about-visual { position: relative; }
.about-visual img { border-radius: 6px; border: 1px solid var(--line); filter: saturate(0.95); }
.seal {
  position: absolute; top: -46px; right: -26px; z-index: 2;
  width: 168px; height: 168px;
  display: grid; place-items: center;
}
.seal svg { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.seal svg text {
  font-family: var(--font-display); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.32em; fill: var(--muted); text-transform: uppercase;
}
.seal strong {
  font-family: var(--font-display); font-weight: 700; font-size: 2rem;
  color: var(--accent-bright);
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(16, 18, 20, 0.88);
  border: 1px solid rgba(245, 147, 30, 0.4);
  box-shadow: 0 0 34px rgba(245, 147, 30, 0.22);
  backdrop-filter: blur(6px);
}
@keyframes spin { to { transform: rotate(360deg); } }
.about-copy p:not(.eyebrow) { color: var(--bone-300); margin-bottom: 1.3rem; max-width: 58ch; }
.signature { display: flex; align-items: center; gap: 1.2rem; margin-top: 2.2rem; }
.signature-line { width: 54px; height: 2px; background: var(--accent); flex: none; }
.signature strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: 0.04em; display: flex; flex-direction: column; }
.signature small { font-family: var(--font-body); font-size: 0.85rem; color: var(--muted); letter-spacing: 0; margin-top: 0.15rem; }

/* ---------- contact ---------- */
.contact { position: relative; background: var(--bg-raise); border-top: 1px solid var(--line); overflow: hidden; }
.contact-glow {
  position: absolute; right: -12%; top: -30%;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 147, 30, 0.14) 0%, rgba(245, 147, 30, 0) 65%);
  pointer-events: none;
}
.contact-layout {
  position: relative;
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  grid-template-areas: "copy form";
  gap: 1.25rem clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.contact-copy { grid-area: copy; }
.contact-copy > p:not(.eyebrow) { color: var(--bone-300); max-width: 52ch; margin-bottom: .25rem; }

.contact-copy .contact-card { width: 100%; max-width: 560px; margin-top: .85rem; }
.contact-form-panel { grid-area: form; width: 100%; padding: clamp(1.2rem,2.4vw,1.8rem); border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(145deg,rgba(255,255,255,.025),transparent 60%),rgba(22,24,26,.72); }
.contact-form-heading { margin-bottom: 1.2rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.contact-form-heading .eyebrow { margin-bottom: .45rem; }
.contact-form-heading h3 { font-family: var(--font-display); font-size: clamp(1.45rem,2.4vw,1.9rem); font-weight: 400; line-height: 1.1; text-transform: uppercase; }
.contact-form { max-width: none; }
.contact-form .form-row { margin-bottom: .85rem; }
.contact-form .form-row label { margin-bottom: .38rem; font-size: .68rem; }
.contact-form .form-row input,.contact-form .form-row select,.contact-form .form-row textarea { min-height: 46px; padding: .7rem .85rem; font-size: .92rem; }
.contact-form .form-row textarea { min-height: 88px; }
.contact-form .privacy-check { margin: .8rem 0 1rem; font-size: .76rem; }
.contact-form .form-note { margin-top: .7rem; font-size: .76rem; }
.contact-form-panel .form-feedback { margin-top: 0; }
.form-row { margin-bottom: 1.25rem; }
.form-row label {
  display: block;
  font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.5rem;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  background: var(--ink-950);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--text);
  font: inherit; font-size: 1rem;
  padding: 0.85rem 1rem;
  min-height: 50px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-row select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a39d92' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 147, 30, 0.18);
}
.form-row ::placeholder { color: var(--ink-600); }
.form-error { color: #ff9d66; font-size: 0.92rem; margin: -0.3rem 0 1rem; }
.btn-submit { width: 100%; }
.form-note { font-size: 0.84rem; color: var(--muted); margin-top: 1rem; }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.35rem 1.4rem 1.2rem;
}
.contact-card-top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.72rem; letter-spacing: 0.26em; color: var(--muted);
  padding-bottom: .8rem; margin-bottom: .55rem; border-bottom: 1px solid var(--line);
}
.contact-monogram {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--accent-bright);
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid rgba(245, 147, 30, 0.4); border-radius: 50%;
}
.contact-row { padding-block: 0.65rem; }
.contact-row small { display: block; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.contact-row strong { font-weight: 600; line-height: 1.45; display: block; }
.contact-row a {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-top: 0.55rem; font-size: 0.9rem; color: var(--accent-bright);
  border-bottom: 1px solid rgba(245, 147, 30, 0.35);
  transition: border-color 0.2s;
  min-height: 32px;
}
.contact-row a:hover { border-bottom-color: var(--accent-bright); }
.contact-bottom {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden; margin-top: .9rem;
}
.contact-bottom a {
  background: var(--ink-900); padding: .8rem .85rem;
  display: flex; flex-direction: column; gap: 0.3rem;
  transition: background-color 0.2s;
  overflow-wrap: anywhere;
}
.contact-bottom a:hover { background: var(--amber-050); }
.contact-bottom small { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact-bottom strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.03em; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-950); }
.footer-grid {
  display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.85fr) minmax(0,.9fr);
  gap: 2rem; padding-block: 1.8rem 1.25rem;
}
.footer-brand p { color: var(--muted); margin-top: 0.55rem; font-size: 0.78rem; }
.footer-address { display: grid; gap: 0.05rem; margin-top: 0.45rem; color: var(--bone-300); font-size: 0.78rem; font-style: normal; line-height: 1.45; }
.footer-contact { display: flex; flex-direction: column; gap: 0.05rem; margin-top: 0.35rem; color: var(--muted); font-size: 0.78rem; overflow-wrap: anywhere; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 0.05rem; }
.footer-heading { margin: 0 0 0.35rem; color: var(--accent-bright); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.15em; }
.footer-nav a {
  font-family: var(--font-body); font-size: 0.84rem; font-weight: 500;
  letter-spacing: 0.01em; text-transform: none; color: var(--bone-300);
  padding-block: 0.2rem; min-height: 30px; display: inline-flex; align-items: center;
  transition: color 0.2s, transform 0.2s var(--ease-out);
}
.footer-nav a:hover { color: var(--accent-bright); transform: translateX(6px); }
.footer-nav .privacy-settings-link { min-height: 30px; margin-top: 0.15rem; font-size: 0.76rem; }
.footer-contact a { color: var(--bone-300); transition: color 0.2s; min-height: 28px; display: inline-flex; align-items: center; }
.footer-contact a:hover { color: var(--accent-bright); }
.footer-map { color: var(--accent-bright) !important; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-block: 0.65rem 0.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.74rem; color: var(--muted);
}
.footer-credit { color: var(--bone-300); text-underline-offset: 0.25em; transition: color 0.2s; }
.footer-credit:hover, .footer-credit:focus-visible { color: var(--accent-bright); }
.to-top { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--bone-300); min-height: 44px; transition: color 0.2s; }
.to-top:hover { color: var(--accent-bright); }

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1060px) {
  .hero-layout { grid-template-columns: 1fr; align-items: start; gap: 2rem; padding-block: 3.5rem 5.5rem; }
  .hero-panel { justify-self: start; }
  .tech-layout, .about-layout { grid-template-columns: 1fr; }
  .tech-visual { order: -1; }
  .about-visual { max-width: 560px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Compact navigation also covers phones requesting the desktop site. */
@media (max-width: 1060px), (pointer: coarse) {
  .menu-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: 0; z-index: 60;
    height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 0.15rem;
    background: rgba(11, 12, 13, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: calc(var(--header-h) + env(safe-area-inset-top) + 1rem) max(1.25rem, calc((100vw - 1120px) / 2)) calc(1.5rem + env(safe-area-inset-bottom));
    transform: translateX(100%);
    visibility: hidden; pointer-events: none;
    transition: transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
  }
  .primary-nav.open { transform: translateX(0); visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .primary-nav > a:not(.nav-call) { font-size: clamp(1.45rem, 5vw, 1.85rem); padding-block: 0.5rem; }
  .primary-nav > a:not(.nav-call)::after { bottom: 0.5rem; }
  .nav-call { margin-top: 0.8rem; font-size: 1.05rem; padding: 0.7rem 1.2rem; }
  body.nav-open { overflow: hidden; }
  .menu-toggle { position: relative; z-index: 70; }
}

@media (max-width: 900px) {
  .intro-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: minmax(0,1fr); grid-template-areas: "copy" "form"; gap: 1.25rem; }
  .contact-card { max-width: 560px; }
  .section-head { flex-direction: column; align-items: start; gap: 1.2rem; }
  .cta-layout { flex-direction: column; align-items: start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.35rem 1rem; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service-row { grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; padding: 1.15rem 0.4rem; }
  .service-go { display: none; }
  .service-row:hover { padding-left: 0.8rem; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .tech-badge { left: 10px; bottom: 12px; padding: 0.8rem 1rem; }
  .tech-badge strong { font-size: 2rem; }
  .seal { top: -30px; right: -8px; width: 128px; height: 128px; }
  .seal strong { width: 70px; height: 70px; font-size: 1.5rem; }
  .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1rem 1.4rem; padding-block: 1.5rem 1rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-nav { padding-top: 0.2rem; }
  .footer-bottom { flex-wrap: wrap; gap: 0.35rem 1rem; }
  .hero-actions .btn { width: 100%; }
  .contact-bottom { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
}
