/* ==========================================================================
   Shelf Scope 360 — landing page
   Paleta: ciemne tło + limonkowy akcent (spójnie z prezentacją Cursor × PRO.display)
   ========================================================================== */

/* ---------- fonty (self-hosted; bez zapytań do Google — wątek RODO w HEL-653) ---------- */
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/inter-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/inter-400-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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/inter-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/inter-500-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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/inter-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/inter-600-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;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/space-grotesk-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/space-grotesk-500-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;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/space-grotesk-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/space-grotesk-600-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;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/space-grotesk-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/space-grotesk-700-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;
}

:root {
  --bg: #0c0e0c;
  --bg-alt: #111411;
  --card: #161a16;
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f2f4ef;
  --text-dim: #a9b1a6;
  --accent: #d6f000;
  --accent-dark: #b8cf00;
  --radius: 18px;
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* scroll-padding-top > wysokość belki (68px) — inaczej kotwice chowają się pod fixed headerem */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* height:auto konieczne przy atrybutach width/height na <img> — bez tego obraz zwężony
   przez max-width trzyma sztywną wysokość z atrybutu (proporcje liczą się z atrybutów) */
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; } /* <picture> (fallback WebP→JPG) ma być przezroczysty dla layoutu */

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; margin-bottom: 1.6rem; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }

.accent { color: var(--accent); }

p { color: var(--text-dim); }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 640px; }
.lead-sm { font-size: 1.1rem; max-width: 760px; margin-bottom: 2rem; }

.footnote { font-size: 0.85rem; color: var(--text-dim); opacity: 0.8; margin-top: 1.5rem; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #101210; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.28); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 0.55rem 1.3rem; font-size: 0.9rem; }
.btn-wide { display: block; text-align: center; margin-top: 1.4rem; }

/* ---------- fokus (klawiatura) i skip link ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary:focus-visible { outline-color: var(--text); }

.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  z-index: 200;
  background: var(--accent);
  color: #101210;
  font-family: var(--font-head);
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ---------- nagłówek ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(12, 14, 12, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner { display: flex; align-items: center; gap: 2rem; height: 68px; }

.wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark .wm-light { font-weight: 500; opacity: 0.85; }
.wordmark .wm-accent { color: var(--accent); margin-left: 0.28em; }
.wordmark.sm { font-size: 1.15rem; }

.main-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.main-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.main-nav a:hover { color: var(--accent); }

.header-cta { display: flex; align-items: center; gap: 1rem; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 118px 0 64px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/img/hero-aisle.jpg") center 35% / cover no-repeat;
  background-image: image-set(url("../assets/img/hero-aisle.webp") type("image/webp"), url("../assets/img/hero-aisle.jpg") type("image/jpeg"));
  opacity: 0.55;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,14,12,0.72) 0%, rgba(12,14,12,0.55) 45%, var(--bg) 96%);
}
.hero-inner { position: relative; z-index: 1; max-width: 1160px; }
.hero-logos { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-bottom: 1.6rem; }
.hero-logos img { height: 46px; width: auto; object-fit: contain; }
.hero-logos-x { font-family: var(--font-head); font-size: 1.4rem; color: var(--text-dim); }
.hero h1 { max-width: 780px; margin-bottom: 1.4rem; }
.hero .lead { color: #d6dbd2; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.stat-strip {
  position: relative;
  z-index: 1;
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-strip .stat { background: rgba(17, 20, 17, 0.92); padding: 1.6rem 1.4rem; }

.stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-num.big { font-size: clamp(3.4rem, 7vw, 5.2rem); }
.stat-label { font-size: 0.88rem; color: var(--text-dim); }

/* ---------- sekcje ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- karty ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.card-accent { border-color: rgba(214, 240, 0, 0.45); }

.two-cards { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.4rem; margin-top: 2rem; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.4rem; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
.card.mini { padding: 1.4rem; }
.card.mini h3 { font-size: 1rem; color: var(--accent); }
.card.mini p { font-size: 0.9rem; }

.icon { width: 48px; height: 48px; color: var(--accent); margin-bottom: 1.1rem; }
.icon svg { width: 100%; height: 100%; }

.checklist { list-style: none; margin-top: 0.4rem; }
.checklist li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.55rem;
  color: var(--text-dim);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.9em;
  height: 0.5em;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

.solution-bar {
  margin-top: 1.6rem;
  padding: 1.4rem 1.8rem;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(214, 240, 0, 0.14), rgba(214, 240, 0, 0.04));
  border: 1px solid rgba(214, 240, 0, 0.35);
  color: var(--text);
  font-size: 1.1rem;
}
.solution-mark {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
  margin-right: 0.6rem;
}

/* ---------- tabela porównawcza ---------- */
.table-wrap { overflow-x: auto; margin-top: 2rem; border-radius: var(--radius); border: 1px solid var(--card-border); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--card); }
.compare th, .compare td { text-align: left; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--card-border); vertical-align: top; }
.compare thead th {
  font-family: var(--font-head);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
}
.compare thead .th-accent { color: var(--accent); }
.compare td:first-child { font-weight: 600; color: var(--text); white-space: nowrap; }
.compare td:nth-child(2) { color: var(--text-dim); }
.compare td:nth-child(3) { color: var(--text); background: rgba(214, 240, 0, 0.05); }
.compare td strong { color: var(--accent); }
.compare tbody tr:last-child td { border-bottom: 0; }

/* ---------- split (zero ingerencji) ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: center; }
.split-media img { border-radius: var(--radius); border: 1px solid var(--card-border); }
.feature-list { display: flex; flex-direction: column; gap: 1.3rem; margin-top: 1.8rem; }
.feature { border-left: 3px solid var(--accent); padding-left: 1.2rem; }
.feature h3 { margin-bottom: 0.25rem; }
.feature p { font-size: 0.95rem; }

/* ---------- panel sklepów ---------- */
.panel-grid { display: grid; grid-template-columns: 0.82fr 1.62fr; gap: 2.2rem; margin-top: 2.5rem; align-items: center; }
.panel-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.panel-map { opacity: 0.9; max-width: 420px; width: 100%; }
.panel-number {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
}
.panel-number .stat-label { max-width: 260px; color: var(--text); }

.panel-lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: start; }
.chain-group h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.8rem;
  /* siatka bezpieczeństwa: gdyby nagłówek się jednak zawinął na wąskim ekranie,
     wszystkie rezerwują tę samą wysokość i rosną od dołu — wiersze list startują równo */
  min-height: 2.4em;
  display: flex;
  align-items: flex-end;
}
.chains { list-style: none; }
.chains li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name num" "name freq";
  column-gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--card-border);
  align-items: baseline;
}
.chains li:last-child { border-bottom: 0; }
.chains span { grid-area: name; color: var(--text); font-weight: 500; font-size: 0.95rem; }
.chains b { grid-area: num; font-family: var(--font-head); color: var(--accent); font-size: 1.05rem; text-align: right; }
.chains i { grid-area: freq; font-style: normal; font-size: 0.72rem; color: var(--text-dim); text-align: right; }

/* ---------- fazy ---------- */
.phases .phase { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.phase-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #101210;
  background: var(--accent);
  padding: 0.45rem 1.1rem;
  border-radius: 0 0 12px 0;
  align-self: flex-start;
}
.phase img { width: 100%; height: 170px; object-fit: cover; margin-top: 0.9rem; }
.phase-stat {
  margin: 0.9rem 1.6rem 0;
  height: 170px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(214, 240, 0, 0.16), rgba(214, 240, 0, 0.03));
  border: 1px solid rgba(214, 240, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.4rem;
  padding: 1rem;
}
.phase-stat .stat-num { font-size: 2.6rem; }
.phase h3 { margin: 1.2rem 1.6rem 0.4rem; }
.phase p { margin: 0 1.6rem 1.6rem; font-size: 0.95rem; }

/* ---------- technologia ---------- */
.tech-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.4rem; margin-top: 1.4rem; align-items: stretch; }
.tech-photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--card-border); }
.tech-photo img { width: 100%; height: 100%; object-fit: cover; }
.tech-photo figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1.6rem 1.3rem;
  background: linear-gradient(180deg, transparent, rgba(12, 14, 12, 0.92));
  font-size: 0.95rem;
  color: var(--text);
}
.growth { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 1.8rem; }
.growth-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: end;
  height: 190px;
  margin-top: 1.6rem;
}
.gbar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}
.gbar::before {
  content: "";
  width: 100%;
  height: var(--h);
  min-height: 14px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--accent), rgba(214, 240, 0, 0.25));
}
.gbar b { position: absolute; top: calc(100% - var(--h) - 1.7em); font-family: var(--font-head); font-size: 0.95rem; color: var(--text); }
.gbar span { margin-top: 0.5rem; font-size: 0.85rem; color: var(--text-dim); }

/* ---------- raporty ---------- */
.report-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2.2rem; }
.report-shots figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--card-border); background: var(--card); }
.report-shots img { width: 100%; }
.report-shots figcaption { padding: 0.9rem 1.3rem; font-size: 0.88rem; color: var(--text-dim); }

/* ---------- wiarygodność ---------- */
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2.4rem; }
.cred-logo { height: 44px; width: auto; object-fit: contain; margin-bottom: 1.4rem; }
.cred-stats { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-bottom: 1.4rem; }
.cred p { font-size: 0.95rem; }

/* ---------- cennik ---------- */
.pricing { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.4rem; margin-top: 2.4rem; align-items: start; }
.price-card { padding: 0 0 1.8rem; overflow: hidden; border-color: rgba(214, 240, 0, 0.45); }
.price-card .checklist, .price-card .price, .price-card .btn, .price-card .footnote { margin-left: 1.8rem; margin-right: 1.8rem; }
.price { display: flex; align-items: baseline; gap: 0.8rem; margin-top: 1.6rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.price-num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 4.5vw, 3.2rem); color: var(--accent); line-height: 1; }
.price-per { color: var(--text-dim); font-size: 1rem; }
.price-context { display: flex; flex-direction: column; gap: 1.2rem; }
.context-item { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 1.5rem 1.8rem; }
.context-item h3 { color: var(--accent); font-size: 1rem; }
.context-item p { font-size: 0.95rem; }
.context-item strong { color: var(--text); }

/* ---------- CTA końcowe / kontakt ---------- */
.cta-final { text-align: center; padding: 120px 0; }
.cta-final .lead { margin: 0 auto 2.2rem; }
.cta-final .hero-actions { justify-content: center; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 1.4rem; justify-content: center; margin-top: 3rem; }
.card.contact { text-align: center; }
.card.contact .role { font-size: 0.88rem; margin-bottom: 0.9rem; }
.card.contact a { display: block; color: var(--text); text-decoration: none; padding: 0.15rem 0; transition: color 0.15s; }
.card.contact a:hover { color: var(--accent); }

/* ---------- formularz kontaktowy ---------- */
.contact-form { max-width: 640px; margin: 0 auto; text-align: left; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; color: var(--text-dim); }
.form-field .optional { opacity: 0.7; }
.form-field input,
.form-field textarea {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  color: var(--text);
  font: inherit;
}
.form-field textarea { resize: vertical; min-height: 96px; }
.contact-form .btn { margin-top: 1.4rem; width: 100%; cursor: pointer; border: 0; font: inherit; font-weight: 600; }
.contact-form .btn:disabled { opacity: 0.6; cursor: default; }
/* honeypot antyspamowy — pole musi istnieć w DOM, ale być poza ekranem */
.hp-field { position: absolute; left: -9999px; top: auto; }
.form-status { margin-top: 1rem; font-size: 0.95rem; min-height: 1.3em; text-align: center; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #ff8484; }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1.2rem; font-size: 0.85rem; color: var(--text-dim); cursor: pointer; }
.form-consent input { margin-top: 0.2rem; width: 16px; height: 16px; flex: none; accent-color: var(--accent); cursor: pointer; }
.form-consent a { color: var(--text); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- stopka ---------- */
.site-footer { border-top: 1px solid var(--card-border); padding: 48px 0; background: var(--bg-alt); }
.footer-inner { display: grid; grid-template-columns: 1.2fr auto auto; gap: 2.5rem; align-items: center; }
.footer-brand p { font-size: 0.88rem; margin-top: 0.5rem; }
.footer-logos { display: flex; gap: 1.8rem; align-items: center; }
.footer-logos img { height: 30px; width: auto; object-fit: contain; opacity: 0.85; transition: opacity 0.15s; }
.footer-logos a:hover img { opacity: 1; }
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.85rem; }
.footer-links a { color: var(--text-dim); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-links span { color: var(--text-dim); opacity: 0.7; }

/* ---------- animacje reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsywność ---------- */
@media (max-width: 980px) {
  /* menu mobilne już od szerokości tabletu — pełna nawigacja nie mieści się w 68px belce poniżej ~980px */
  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(12, 14, 12, 0.97);
    flex-direction: column;
    gap: 0;
    padding: 0.6rem 24px 1.2rem;
    border-bottom: 1px solid var(--card-border);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.8rem 0; font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .two-cards, .cred-grid, .pricing, .report-shots, .tech-split { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split-media { max-width: 480px; }
  .panel-grid { grid-template-columns: 1fr; }
  .panel-lists { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 1.6rem; }
}

@media (max-width: 700px) {
  .hero { padding: 130px 0 60px; }
  .section { padding: 64px 0; }
  .cta-final { padding: 96px 0; }
  .panel-lists { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}
