/* ============================================================
   xKSeF – style.css
   Sekcje:
   1. Zmienne i reset
   2. Typografia
   3. Przyciski
   4. Nawigacja
   5. Hero
   6. Sekcje treści
   7. Karty i listy
   8. Feature bloki
   9. FAQ accordion
   10. Formularz kontaktowy
   11. Stopka
   12. Animacje i scroll reveal
   13. Kroki
   14. Responsywność
   ============================================================ */


/* ── 1. Zmienne i reset ───────────────────────────────────── */

:root {
  --bg:          #0D1117;
  --surface:     #161B22;
  --surface2:    #1C2128;
  --card:        #21262D;
  --primary:     #2563EB;
  --primary-h:   #1D4ED8;
  --primary-dim: rgba(37,99,235,.12);
  --primary-border: rgba(37,99,235,.25);
  --success:     #10B981;
  --warning:     #F59E0B;
  --text:        #E6EDF3;
  --text-muted:  #7D8590;
  --text-sub:    #9CA3AF;
  --border:      #30363D;
  --border-sub:  #21262D;
  --radius:      6px;
  --radius-lg:   12px;
  --transition:  .18s ease;
  --max-w:       1080px;
  --nav-h:       60px;
  --section-gap: 100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img    { display: block; max-width: 100%; }
a      { color: inherit; text-decoration: none; }
ul     { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}


/* ── 2. Typografia ───────────────────────────────────────── */

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: 1.125rem; font-weight: 600; }
h4 { font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }

p  { color: var(--text-sub); line-height: 1.75; }

.eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 620px;
}

.text-center { text-align: center; }


/* ── 3. Przyciski ────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
  white-space: nowrap;
  letter-spacing: -.01em;
}

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover { background: var(--primary-h); }

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn--ghost:hover { color: var(--text); border-color: #4B5563; }

.btn--lg  { padding: 11px 22px; font-size: .925rem; }
.btn--sm  { padding: 6px 13px;  font-size: .8rem; }
.btn--xl  { padding: 13px 28px; font-size: .95rem; }


/* ── 4. Nawigacja ────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  background: rgba(13,17,23,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.site-header.scrolled { border-bottom-color: var(--border); }

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo { flex-shrink: 0; display: flex; align-items: center; margin-right: 16px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.nav-link {
  padding: 6px 11px;
  border-radius: var(--radius);
  font-size: .855rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link:hover,
.nav-link.active { color: var(--text); background: rgba(255,255,255,.05); }

/* Dropdown */
.nav-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 6px;
  min-width: 210px;
  display: none;
  flex-direction: column;
  gap: 1px;
  box-shadow: 0 20px 48px rgba(0,0,0,.5);
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: flex; }

.dropdown-link {
  padding: 8px 11px;
  border-radius: 5px;
  font-size: .855rem;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.dropdown-link:hover { color: var(--text); background: rgba(255,255,255,.05); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ── 5. Hero ─────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 72px) 24px 88px;
  position: relative;
  overflow: hidden;
}

/* Siatka tła */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, black 30%, transparent 100%);
  pointer-events: none;
}

/* Glow */
.hero::after {
  content: '';
  position: absolute;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse, rgba(37,99,235,.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 540px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.2);
  color: var(--success);
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 20px;
  margin-bottom: 28px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-badge::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--success);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(1.4); }
}

.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 14px; }

.hero-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 14px;
  font-size: .75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-note::before {
  content: '';
  width: 13px; height: 13px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='6' stroke='%2310B981' stroke-width='1.3'/%3E%3Cpath d='M4.5 7l2 2 3-3.5' stroke='%2310B981' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Hero visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.geo-figure {
  width: 100%;
  max-width: 440px;
}
.geo-figure svg { width: 100%; height: auto; overflow: visible; }


/* ── 6. Sekcje treści ─────────────────────────────────────── */

.section {
  padding: var(--section-gap) 24px;
}

.section--surface  { background: var(--surface); }
.section--surface2 { background: var(--surface2); }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 56px;
}
.section-header.centered {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.section-header h2   { margin-bottom: 14px; }
.section-header .lead { margin-top: 0; }


/* ── 7. Karty i listy ─────────────────────────────────────── */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card {
  background: var(--surface);
  padding: 32px 28px;
  transition: background var(--transition);
}
.card:hover { background: var(--surface2); }

.card-icon {
  width: 36px; height: 36px;
  color: var(--primary);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card h3 { margin-bottom: 8px; font-size: 1rem; }
.card p  { font-size: .875rem; }

/* Lista korzyści */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 18px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .865rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.check-list li::before {
  content: '';
  width: 15px; height: 15px;
  flex-shrink: 0;
  margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7l3 3L11.5 4' stroke='%2310B981' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Lista prosta (dash) */
.dash-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.dash-list li {
  font-size: .875rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.dash-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: .75rem;
}


/* ── 8. Feature bloki ─────────────────────────────────────── */

/* Duże bloki funkcji (naprzemiennie lewo/prawo) */
.feature-blocks { display: flex; flex-direction: column; gap: 0; }

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}
.feature-block:last-child { border-bottom: none; }
.feature-block.reverse    { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }

.feature-block-text {
  padding-right: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-block.reverse .feature-block-text { padding-right: 0; padding-left: 56px; }

.feature-block-text .eyebrow { margin-bottom: 10px; }
.feature-block-text h2       { font-size: 1.6rem; margin-bottom: 12px; }
.feature-block-text p        { margin-bottom: 20px; }

.feature-block-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  min-height: 260px;
  overflow: hidden;
}

/* Mockup aplikacji */
.app-mockup {
  width: 100%;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.app-mockup-bar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.app-mockup-bar span {
  width: 9px; height: 9px;
  border-radius: 50%;
}
.app-mockup-bar span:nth-child(1) { background: #FF5F57; }
.app-mockup-bar span:nth-child(2) { background: #FFBD2E; }
.app-mockup-bar span:nth-child(3) { background: #28CA41; }

.app-mockup-body { padding: 20px; }

.mock-row {
  height: 10px;
  background: var(--card);
  border-radius: 5px;
  margin-bottom: 9px;
  opacity: .55;
}
.mock-row--xs     { width: 28%; }
.mock-row--short  { width: 42%; }
.mock-row--med    { width: 65%; }
.mock-row--full   { width: 100%; }
.mock-row--accent { background: rgba(37,99,235,.4); opacity: 1; height: 12px; }
.mock-row--success { background: rgba(16,185,129,.35); opacity: 1; }

/* Diagram / placeholder */
.diagram-placeholder {
  width: 100%;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.diagram-node {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: .82rem;
  color: var(--text-muted);
  transition: border-color var(--transition);
}
.diagram-node--active {
  border-color: var(--primary-border);
  background: var(--primary-dim);
  color: var(--text);
}
.diagram-node-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}
.diagram-node--active .diagram-node-dot { background: var(--primary); }
.diagram-node--success .diagram-node-dot { background: var(--success); }

.diagram-arrow {
  text-align: center;
  color: var(--border);
  font-size: .8rem;
  line-height: 1;
}


/* ── 9. FAQ accordion ─────────────────────────────────────── */

.faq-list { display: flex; flex-direction: column; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: .925rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--primary); }

.faq-question svg {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}
.faq-item.open .faq-question svg { transform: rotate(180deg); color: var(--primary); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
}
.faq-item.open .faq-answer { max-height: 500px; }

.faq-answer-inner {
  padding-bottom: 20px;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-answer-inner ul {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq-answer-inner ul li {
  padding-left: 14px;
  position: relative;
}
.faq-answer-inner ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--primary);
}


/* ── 10. Formularz kontaktowy ────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2  { margin-bottom: 14px; }
.contact-info .lead { margin-bottom: 28px; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.contact-detail a { color: var(--primary); transition: color var(--transition); }
.contact-detail a:hover { color: var(--text); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.form-group  { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: .775rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 13px;
  border-radius: var(--radius);
  font-size: .875rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-control::placeholder { color: var(--border); }

textarea.form-control { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-message {
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: .85rem;
  margin-top: 14px;
  display: none;
}
.form-message.success {
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.2);
  color: var(--success);
  display: block;
}
.form-message.error {
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.2);
  color: #F87171;
  display: block;
}


/* ── 11. Stopka ──────────────────────────────────────────── */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 24px 28px;
}

.footer-container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}

.footer-brand  { max-width: 220px; }
.footer-tagline {
  margin-top: 12px;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.footer-col-title {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-col ul   { display: flex; flex-direction: column; gap: 9px; }
.footer-col a {
  font-size: .82rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 26px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .78rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--text); }


/* ── 12. Animacje i scroll reveal ────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* Sekcja CTA */
.section-cta {
  padding: var(--section-gap) 24px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(37,99,235,.07) 0%, transparent 70%);
  pointer-events: none;
}

.section-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.section-cta h2    { margin-bottom: 14px; }
.section-cta .lead { margin: 0 auto 32px; }
.section-cta .hero-actions { justify-content: center; }

/* Linia rozdzielająca z tekstem */
.divider-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 56px 0;
  color: var(--text-muted);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.divider-label::before,
.divider-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}


/* ── 13. Kroki ───────────────────────────────────────────── */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: start;
}

.step {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: border-color var(--transition);
}
.step:hover { border-color: var(--primary-border); }

.step-number {
  width: 32px; height: 32px;
  border: 1px solid var(--primary-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.step h3 { font-size: .925rem; margin-bottom: 7px; }
.step p  { font-size: .84rem; }

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 36px;
  color: var(--border);
}


/* ── 14. Responsywność ───────────────────────────────────── */

@media (max-width: 1024px) {
  .hero-inner              { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual             { display: none; }
  .hero-content            { max-width: 100%; }
  .feature-block           { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
  .feature-block.reverse   { direction: ltr; }
  .feature-block-text      { padding-right: 0; }
  .feature-block.reverse .feature-block-text { padding-left: 0; }
  .contact-grid            { grid-template-columns: 1fr; }
  .footer-container        { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 56px; --section-gap: 64px; }

  .nav-menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
    gap: 2px;
    display: none;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    z-index: 199;
  }
  .nav-menu.open   { display: flex; }
  .nav-link        { width: 100%; padding: 9px 10px; }
  .nav-dropdown    { width: 100%; }
  .dropdown-menu   {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,.03);
    border-radius: var(--radius);
    padding: 4px 8px;
    display: none;
    margin-top: 4px;
  }
  .nav-dropdown.open .dropdown-menu { display: flex; }
  .nav-cta         { display: none; }
  .nav-toggle      { display: flex; }

  .hero            { padding-top: calc(var(--nav-h) + 36px); min-height: auto; }
  h1               { font-size: clamp(1.6rem, 5.5vw, 2.25rem); }

  .cards-grid      { grid-template-columns: 1fr; gap: 0; }
  .footer-nav      { grid-template-columns: 1fr 1fr; }
  .form-row        { grid-template-columns: 1fr; }
  .footer-bottom   { flex-direction: column; text-align: center; }

  .steps-grid {
    grid-template-columns: 1fr;
  }
  .step-arrow {
    padding-top: 0;
    justify-content: center;
    transform: rotate(90deg);
  }
}

@media (max-width: 480px) {
  .footer-nav  { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .form-card   { padding: 24px 18px; }
}


/* ── Strony prawne ───────────────────────────────────────── */

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
}
.legal-page h1 { margin-bottom: 8px; }
.legal-page .legal-date {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  display: block;
}
