/* ============================================
   KHAZAD MARKETING FORGE  ·  styles
   Hybryda: ciemny premium + akcenty kuźni
   ============================================ */

:root {
  /* Kolory */
  --bg:           #0a0707;
  --bg-2:         #110b0b;
  --bg-3:         #1a1010;
  --surface:      #141010;
  --surface-2:    #1f1717;
  --line:         #2a1d1d;
  --line-bright:  #3a2828;

  --ink:          #f3ece3;
  --ink-dim:      #b9aea3;
  --ink-mute:     #7a6f66;

  --ember:        #e8392c;          /* główny czerwony z logo */
  --ember-hot:    #ff5a3c;
  --ember-deep:   #a52119;
  --ember-glow:   rgba(232, 57, 44, 0.45);

  --gold:         #d9a85a;

  /* Typografia */
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body:    "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Skala */
  --radius:       2px;
  --maxw:         1240px;
}

/* ===== Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
button { cursor: pointer; font: inherit; color: inherit; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--ember); color: #fff; }

/* ===== TŁO / ATMOSFERA ===== */
.forge-atmosphere {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.ember-layer {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(232, 57, 44, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(232, 57, 44, 0.06), transparent 60%),
    radial-gradient(ellipse 50% 35% at 15% 30%, rgba(232, 57, 44, 0.05), transparent 60%);
}
.grain {
  position: absolute; inset: 0;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}
.vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 50%, transparent 40%, rgba(0,0,0,0.6) 100%);
}

/* iskry (canvas-free, pure CSS divs spawned by JS) */
.ember-particle {
  position: fixed;
  width: 3px; height: 3px;
  background: var(--ember-hot);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--ember-hot), 0 0 16px var(--ember-glow);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: rise linear forwards;
}
@keyframes rise {
  0%   { opacity: 0; transform: translate(0, 0) scale(0.8); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx, 0), -100vh) scale(0.3); }
}

/* ===== Nawigacja ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 36px;
  background: linear-gradient(180deg, rgba(10,7,7,0.9), rgba(10,7,7,0.4));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, padding .3s ease, background .3s ease;
}
.nav.is-scrolled {
  padding: 12px 36px;
  border-bottom-color: var(--line);
  background: rgba(10,7,7,0.95);
}
.brand {
  display: flex; align-items: center; gap: 14px;
}
.brand__logo {
  width: 38px; height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--ember-glow));
  transition: transform .4s ease;
}
.brand:hover .brand__logo { transform: rotate(-6deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 17px;
  color: var(--ink);
}
.brand__tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--ember);
  text-transform: uppercase;
  margin-top: 4px;
}
.nav__links { display: flex; gap: 28px; align-items: center; }
.nav__link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  position: relative;
  padding: 6px 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--ember);
  transition: right .3s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { right: 0; }
.nav__link--cta {
  border: 1px solid var(--line-bright);
  padding: 10px 18px;
  color: var(--ink);
  background: linear-gradient(180deg, transparent, rgba(232,57,44,0.08));
  transition: all .3s ease;
}
.nav__link--cta:hover {
  border-color: var(--ember);
  background: linear-gradient(180deg, rgba(232,57,44,0.15), rgba(232,57,44,0.25));
  box-shadow: 0 0 20px var(--ember-glow);
}
.nav__link--cta::after { display: none; }

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--ink); transition: all .3s; }

/* ===== Wspólne: sekcje ===== */
section {
  position: relative;
  z-index: 2;
  padding: 130px 36px;
}
.section__header {
  max-width: var(--maxw);
  margin: 0 auto 70px;
  text-align: center;
  position: relative;
}
.section__no {
  display: block;
  font-family: var(--font-mono);
  color: var(--ember);
  letter-spacing: 0.3em;
  font-size: 13px;
  margin-bottom: 16px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink) 50%, #7a5e5e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
  position: relative;
}
.section__title::after {
  content: "";
  display: block;
  width: 60px; height: 2px;
  background: var(--ember);
  margin: 22px auto 0;
  box-shadow: 0 0 10px var(--ember-glow);
}
.section__sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-dim);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 36px 160px;
  position: relative;
  overflow: hidden;
}
.hero__rune-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(20rem, 45vw, 38rem);
  color: var(--ember);
  opacity: 0.04;
  font-family: var(--font-display);
  pointer-events: none;
  line-height: 1;
  user-select: none;
}
.hero__inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}
.hero__eyebrow {
  display: flex; align-items: center; justify-content: center;
  gap: 18px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp .9s ease .2s forwards;
}
.hero__eyebrow-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--ember);
}
.hero__eyebrow-line {
  width: 50px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin-bottom: 36px;
}
.hero__title-row {
  display: block;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}
.hero__title-row:nth-child(1) { animation-delay: .35s; }
.hero__title-row:nth-child(2) { animation-delay: .55s; }
.hero__title-row--accent {
  background: linear-gradient(180deg, var(--ember-hot) 0%, var(--ember) 50%, var(--ember-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 700;
  text-shadow: 0 0 60px var(--ember-glow);
}
.hero__lead {
  font-size: 1.35rem;
  color: var(--ink-dim);
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.55;
  opacity: 0;
  animation: fadeUp 1s ease .75s forwards;
}
.hero__cta {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 80px;
  opacity: 0;
  animation: fadeUp 1s ease .95s forwards;
}
.hero__stats {
  display: flex; gap: 60px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1s ease 1.15s forwards;
}
.stat { text-align: center; min-width: 140px; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ember);
  line-height: 1;
}
.stat__lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 8px;
}

.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: 0;
  animation: fadeUp 1s ease 1.4s forwards;
}
.hero__scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(180deg, var(--ember), transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50%      { opacity: 1;   transform: scaleY(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.btn--primary {
  background: linear-gradient(180deg, var(--ember-hot), var(--ember-deep));
  color: #fff;
  border: 1px solid var(--ember);
  box-shadow: 0 0 24px var(--ember-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn--primary::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left .6s ease;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--ember-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn--primary:hover::before { left: 100%; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-bright);
}
.btn--ghost:hover {
  border-color: var(--ember);
  color: var(--ember);
  background: rgba(232,57,44,0.05);
}
.btn--block { width: 100%; justify-content: center; }

/* ===== ABOUT ===== */
.about__grid {
  max-width: var(--maxw);
  margin: 0 auto;
}
.about__story p {
  font-size: 1.15rem;
  color: var(--ink-dim);
  margin-bottom: 24px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.about__lead-p {
  font-size: 1.5rem !important;
  color: var(--ink) !important;
  font-style: italic;
}
.about__lead-p em {
  color: var(--ember);
  font-style: normal;
  font-weight: 500;
}
.about__story strong {
  color: var(--ink);
  font-weight: 600;
}
.about__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 70px;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all .4s ease;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}
.pillar:hover {
  transform: translateY(-6px);
  border-color: var(--line-bright);
  background: var(--surface-2);
  box-shadow: 0 20px 60px rgba(232, 57, 44, 0.12);
}
.pillar:hover::before { opacity: 1; }
.pillar__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 12px var(--ember-glow));
}
.pillar__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--ember);
}
.pillar p {
  font-size: 1rem;
  color: var(--ink-dim);
  text-align: center;
  margin: 0;
}

/* ===== SERVICES ===== */
.services { background: var(--bg-2); }
.services__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: all .5s cubic-bezier(.2,.7,.2,1);
}
.service::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--ember-hot), var(--ember-deep));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s ease;
}
.service::after {
  content: "";
  position: absolute;
  bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--ember-glow), transparent 70%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.service:hover {
  transform: translateY(-6px);
  border-color: var(--line-bright);
  background: var(--surface-2);
}
.service:hover::before { transform: scaleY(1); }
.service:hover::after  { opacity: 1; }
.service:hover .service__num { color: var(--ember); }
.service:hover .service__icon { color: var(--ember-hot); transform: rotate(-4deg) scale(1.05); }
.service__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
  margin-bottom: 24px;
  transition: color .4s ease;
}
.service__icon {
  color: var(--ember);
  margin-bottom: 22px;
  transition: all .4s ease;
}
.service__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  color: var(--ink);
}
.service__desc {
  color: var(--ink-dim);
  margin-bottom: 24px;
  font-size: 1.08rem;
}
.service__list {
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.service__list li {
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  text-transform: uppercase;
  position: relative;
  padding-left: 22px;
}
.service__list li::before {
  content: "▸";
  position: absolute; left: 0;
  color: var(--ember);
}

/* ===== CLIENTS ===== */
.clients__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.client {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
}
.client::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}
.client:hover {
  border-color: var(--line-bright);
  background: var(--surface-2);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.4);
}
.client:hover::before { opacity: 1; }

.client__logo {
  height: 100px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
  overflow: hidden;
  transition: all .4s ease;
}
.client__logo::before {
  /* delikatne corner-markery sugerujące kowalskie ramy */
  content: "";
  position: absolute;
  top: 6px; left: 6px;
  width: 10px; height: 10px;
  border-top: 1px solid var(--ember);
  border-left: 1px solid var(--ember);
  opacity: 0.5;
}
.client__logo::after {
  content: "";
  position: absolute;
  bottom: 6px; right: 6px;
  width: 10px; height: 10px;
  border-bottom: 1px solid var(--ember);
  border-right: 1px solid var(--ember);
  opacity: 0.5;
}
.client:hover .client__logo {
  background: rgba(232,57,44,0.04);
  border-color: var(--line-bright);
}
.client__logo-img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: brightness(0.95);
  transition: filter .4s ease;
}
.client:hover .client__logo-img {
  filter: brightness(1.1);
}
.client__logo-placeholder {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-align: center;
  padding: 8px 16px;
}
.client__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  color: var(--ink);
}
.client__role {
  color: var(--ink-dim);
  margin-bottom: 18px;
  font-size: 1rem;
  font-style: italic;
}
.client__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  padding: 6px 12px;
  border: 1px solid var(--ember-deep);
  border-radius: var(--radius);
  background: rgba(232,57,44,0.05);
}
.client--ghost {
  border-style: dashed;
  border-color: var(--line-bright);
  background: transparent;
}
.client__logo--ghost {
  border: 1px dashed var(--line-bright);
  background: transparent;
  font-size: 3rem;
  color: var(--ember);
  font-weight: 200;
}
.client__logo--ghost::before,
.client__logo--ghost::after { display: none; }
.client__cta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ember);
  text-transform: uppercase;
  transition: transform .3s;
}
.client__cta:hover { transform: translateX(6px); }
.clients__note {
  max-width: var(--maxw);
  margin: 36px auto 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* ===== CONTACT ===== */
.contact { background: var(--bg-2); }
.contact__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact__info-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  margin-bottom: 26px;
  color: var(--ember);
}
.contact__list { list-style: none; margin-bottom: 24px; }
.contact__list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ember);
  text-transform: uppercase;
}
.contact__list a:hover { color: var(--ember); }

.contact__registry {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 22px 26px;
  margin-bottom: 24px;
  border-radius: var(--radius);
}
.contact__registry .contact__label {
  display: block;
  margin-bottom: 10px;
}
.contact__registry-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.contact__registry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.contact__registry-grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.contact__registry-grid span {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--ember);
  text-transform: uppercase;
}

.contact__motto {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ember);
  padding: 24px 28px;
  position: relative;
}
.contact__motto-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--ember);
  line-height: 0.5;
  position: absolute;
  top: 28px;
  left: 14px;
  opacity: 0.4;
}
.contact__motto p {
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-dim);
  padding-left: 22px;
}

/* Form */
.contact__form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.contact__form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 10%, var(--ember) 50%, transparent 90%);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  flex-direction: unset;
}
.field--check {
  flex-direction: row;
  align-items: flex-start;
}
.field--check label {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-dim);
  cursor: pointer;
}
.field--check input { margin-top: 4px; accent-color: var(--ember); }
.field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--ember);
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--ink);
  font-size: 1.05rem;
  font-family: var(--font-body);
  transition: all .3s ease;
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ember);
  background: var(--bg-2);
  box-shadow: 0 0 0 3px rgba(232,57,44,0.12);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8392c' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  padding-right: 44px;
}
.contact__success {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ember);
  text-transform: uppercase;
  min-height: 16px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 60px 36px 24px;
  position: relative;
  z-index: 2;
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}
.footer__brand { display: flex; gap: 18px; align-items: center; }
.footer__logo {
  width: 56px; height: 56px;
  filter: drop-shadow(0 0 12px var(--ember-glow));
}
.footer__name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.15em;
  font-size: 1.2rem;
}
.footer__name span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ember);
  font-weight: 400;
  margin-top: 4px;
}
.footer__rune {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--ink-mute);
  margin-top: 8px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer__cols h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: var(--ember);
  margin-bottom: 16px;
}
.footer__cols a {
  display: block;
  padding: 5px 0;
  font-size: 0.95rem;
  color: var(--ink-dim);
}
.footer__cols a:hover { color: var(--ember); }
.footer__bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .about__pillars { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 90px 22px; }
  .nav { padding: 14px 22px; }
  .nav.is-scrolled { padding: 10px 22px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .hero { padding: 130px 22px 80px; }
  .hero__stats { gap: 30px; margin-bottom: 0; }
  .stat__num { font-size: 1.8rem; }
  .hero__scroll { display: none; }
  .clients__grid { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; gap: 10px; text-align: center; }
  .footer__cols { grid-template-columns: 1fr; }
  .contact__form { padding: 28px 22px; }
  .service { padding: 32px 24px; }
}

/* Ukrywaj scroll-indicator gdy okno jest niskie (kolizja ze statystykami) */
@media (max-height: 820px) {
  .hero__scroll { display: none; }
  .hero { padding-bottom: 100px; }
}
