/* ================================
   1) Design tokens
   ================================ */
:root{
  --bg:#ffffff;
  --text:#0b0b0b;
  --muted:#6b7280;

  /* Kolor marki */
  --brand:#343b8f;

  /* CTA (żółty) */
  --cta:#ffd64d;
  --cta-text:#1b1b1b;
  --cta-hover:#ffe37c;
  --cta-active:#f7c933;

  --chip:#f3f4f6;
  --line:#ececec;
  --radius:16px;
  --shadow:0 16px 40px rgba(2,6,23,.08);
}

/* ================================
   2) Reset + bazowe
   ================================ */
*{ box-sizing:border-box }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:16px/1.55 "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
.container{ max-width:1200px; margin:0 auto; padding:0 clamp(16px, 3vw, 28px) }

a{ text-decoration:none; color:inherit }
a:hover{ text-decoration:none }

/* ================================
   3) Nawigacja
   ================================ */
.nav-wrap{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.9);
  backdrop-filter:saturate(180%) blur(8px);
  border-bottom:1px solid var(--line);
}
.nav{ display:flex; align-items:center; justify-content:space-between; height:68px }

.brand{ display:flex; align-items:center; gap:10px; font-weight:900; letter-spacing:.2px }
.brand img{ height:80px; width:auto }

.menu{ display:flex; gap:22px; align-items:center }
.menu a{ color:#374151; font-weight:600 }
.menu a:hover{ color:var(--brand) }

/* CTA w menu */
.cta-btn{
  appearance:none; border:1.5px solid var(--cta);
  color:var(--brand); background:var(--cta);
  padding:10px 16px; border-radius:999px; font-weight:800;
  display:inline-flex; align-items:center; gap:8px; transition:.2s;
}
.cta-btn:hover{ background:var(--cta-hover); border-color:var(--cta-hover) }

.toggle{ display:none }
.burger{ display:none; cursor:pointer; padding:10px; border-radius:10px }
.burger span{ display:block; width:24px; height:2px; background:#111; margin:5px 0; transition:.2s }

/* ================================
   4) Dropdown (Marketplace)
   ================================ */
.menu .dropdown{ position:relative }
.menu .drop-trigger{
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 12px; font-weight:600; color:#374151;
}
.menu .drop-trigger:hover{ color:var(--brand) }

.dropdown-menu{
  position:absolute; top:calc(100% + 10px); left:0;
  min-width:220px; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); box-shadow:var(--shadow);
  padding:8px 0; margin:0; list-style:none;
  display:block; opacity:0; transform:translateY(-6px);
  pointer-events:none; z-index:1000; transition:opacity .18s, transform .18s;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu{
  opacity:1; transform:translateY(0); pointer-events:auto;
}
.dropdown-menu li a{
  display:block; padding:10px 16px; white-space:nowrap; color:var(--text);
}
.dropdown-menu li a:hover{ background:var(--chip) }
.dropdown::after{ content:""; position:absolute; left:0; top:100%; width:100%; height:10px }

@media (max-width:980px){
  .burger{ display:block }
  .menu{
    position:fixed; inset:68px 0 auto 0; background:#fff; border-bottom:1px solid var(--line);
    display:grid; gap:14px; padding:16px; transform:translateY(-100%); transition:.25s;
    box-shadow:0 8px 30px rgba(0,0,0,.06);
  }
  .menu .cta-btn{ justify-content:center }
  .toggle:checked ~ .menu{ transform:translateY(0) }

  .menu .dropdown{ width:100% }
  .dropdown-menu{
    position:static; margin-top:6px; border-radius:12px; box-shadow:none;
    opacity:1; transform:none; pointer-events:auto; display:none;
  }
  .dropdown > .drop-trigger:focus + .dropdown-menu,
  .dropdown > .drop-trigger:active + .dropdown-menu,
  .dropdown:focus-within .dropdown-menu{ display:block }
}

/* ================================
   5) Hero
   ================================ */
.hero{
  display:grid; grid-template-columns: 1.1fr .9fr;
  gap:28px; align-items:center; padding:32px 0 40px;
}
.eyebrow{
  color:var(--brand); font-weight:800; letter-spacing:.05em;
  text-transform:uppercase; font-size:.8rem;
}
.hero h1{ margin:.35rem 0 .5rem; font-weight:900; line-height:1.15; font-size:clamp(1.9rem, 3.6vw, 3rem) }
.hero h1 .hl{ color:var(--brand) }
.sub{ color:var(--muted); max-width:62ch; margin:0 0 1.2rem }

.cta{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin:12px 0 18px }
.btn{
  appearance:none; border:none; cursor:pointer; font-weight:800;
  padding:14px 20px; border-radius:999px;
  transition:.2s transform,.2s background,.2s box-shadow;
}
.btn-primary{ background:var(--brand); color:#fff; box-shadow:0 10px 22px rgba(79,70,229,.25) }
.btn-primary:hover{ transform:translateY(-1px) }

.btn-cta{
  background:var(--cta); color:var(--brand); border:1.5px solid var(--cta);
  box-shadow:0 10px 22px rgba(246,197,54,.25);
}
.btn-cta:hover{ background:var(--cta-hover); transform:translateY(-1px) }

.btn:focus-visible,
a:focus-visible{
  outline:none; box-shadow:0 0 0 6px rgba(52,59,143,0.25);
}
.btn-cta:focus-visible,
.cta-btn:focus-visible{
  box-shadow:0 0 0 6px rgba(248,213,72,0.35);
}

.mock{ position:relative; display:block; padding:18px; background:#fff; }
.mock img{ width:120%; border-radius:12px; display:block }

.meta{ color:#6b7280; font-size:.9rem }

/* ================================
   6) BENEFITS
   ================================ */
.benefits{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:40px; margin:30px auto; max-width:1400px;
  padding:25px; border:1px solid #ddd; border-radius:10px; background:#fff;
  box-shadow:0 2px 6px rgba(0,0,0,0.05);
  margin-top:-40px;
}
.benefit{ display:flex; align-items:flex-start; gap:15px; flex:1 }
.benefit img{ width:40px; height:40px }
.benefit h3{ font-size:1rem; font-weight:600; margin:0; color:var(--brand) }
.benefit p{ font-size:.85rem; color:#555; margin:4px 0 0; line-height:1.5 }

.benefit i {
  font-size: 40px;
  color: var(--brand);
  flex-shrink: 0;
}
/* ================================
   7) OFERTA (Services)
   ================================ */

/* Sekcja – delikatny gradient, większe oddechy
   (sekcja ma też klasę .container, więc gradient jest wewnątrz – ok) */
.services{
  margin-top:10px;
  padding:64px clamp(16px, 3vw, 28px);
  border-radius:24px;
  box-shadow:0 1px 0 rgba(0,0,0,0.02) inset;
}
.services .eyebrow{ color:var(--brand) }
.services h2{ margin:.3rem 0 .4rem; font-size:clamp(1.6rem,2.4vw,2.1rem); line-height:1.2 }
.services .lead{ color:#475569; margin:0 0 22px }

/* Grid */
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:26px;
}

/* Karty – lżejsze, bez top-bordera, miękki shadow */
.service-card{
  position:relative; display:flex; flex-direction:column; gap:10px;
  padding:22px 18px 18px; background:#fff;
  border:1px solid rgba(52,59,143,.08);
  border-radius:20px; overflow:hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow:0 6px 16px rgba(20,30,70,.06);
}
.service-card:hover{
  transform:translateY(-6px);
  border-color:rgba(52,59,143,.22);
  box-shadow:0 14px 30px rgba(20,30,70,.12);
}

/* Ikona – okrągły, jasny badge */
.icon-badge{
  width:56px; height:56px; border-radius:50%;
  background:rgba(52,59,143,.10);
  display:grid; place-items:center;
  box-shadow:none;
}
.icon-badge i{ color:var(--brand); font-size:26px; transition:.2s }
.service-card:hover .icon-badge i{ transform:scale(1.05) }

/* Typografia w kartach */
.service-card h3{
  margin:6px 0 0; font-size:1.15rem; font-weight:800; color:#0f172a;
}
.service-card p{
  margin:0; color:#505a6b; font-size:.98rem; line-height:1.55;
}

/* Link-CTA => mini przycisk w kolorze CTA */
.card-link{
  display:inline-block; align-self:flex-start;
  margin-top:12px; padding:8px 16px; border-radius:999px;
  background:var(--cta); color:var(--cta-text);
  font-weight:700; font-size:.9rem; transition:background .2s, transform .2s;
}
.card-link:hover{ background:var(--cta-hover); transform:translateY(-1px) }
.card-link i{ margin-left:6px; font-size:1rem; vertical-align:-1px }

/* ================================
   8) Responsywność
   ================================ */
@media (max-width:980px){
  .hero{ grid-template-columns:1fr; padding:24px 0 36px }
}
@media (min-width:1100px){
  .services-grid{ gap:28px }
}


/* ===== PLATFORM – light cards ===== */
.platform--light{
  background:#fff;
  padding:7px 0 56px;
}

.platform--light .eyebrow{
  color:var(--brand);
  letter-spacing:.08em;
  font-weight:800;
  opacity:.9;
  display:block;
  text-align:center;
}

/* Nagłówek: większy, ciaśniejszy, ładny rytm pionowy */
.platform-title{
  margin:.35rem auto .75rem;
  text-align:center;
  font-weight:900;
  line-height:1.1;
  letter-spacing:-.02em;
  font-size:clamp(1.9rem,3.6vw,2.6rem);
  color:#0f172a;
}

/* Podnagłówek: węższa kolumna, lżejszy kolor */
.platform-subtitle{
  text-align:center;
  max-width:820px;
  margin:0 auto 28px;
  color:#4b5563;
  font-size:1.05rem;
  line-height:1.65;
}

/* GRID: 5 kolumn na desktopie, responsywnie schodzi do 3/2/1 */
.platform-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:22px;
  z-index: -100!important;
}
@media (max-width:1250px){ .platform-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:820px){  .platform-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){  .platform-grid{ grid-template-columns:1fr; } }

/* KARTA: lekka, równa wysokość, akcent u góry */
.platform-card{
  position:relative;
  display:flex; flex-direction:column;
  padding:24px 18px 72px;
  background:#fff;
  border:1px solid #e9eaf0;
  border-radius:16px;
  min-height:230px;             /* równe wysokości */
  box-shadow:0 6px 16px rgba(0,0,0,.04);
  overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.platform-card::before{          /* cienki pasek akcentu u góry */
  content:"";
  position:absolute; inset:0 auto auto 0; height:6px; width:100%;
  background:linear-gradient(90deg,#343b8f 0%, #0a125c 100%);
}
.platform-card:hover{
  transform:translateY(-6px);
  border-color:rgba(52,59,143,.22);
  box-shadow:0 16px 32px rgba(20,30,70,.12);
}

/* Delikatny „wash” w tle karty */
.platform-card__bg{
  position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(52,59,143,.06) 0%, transparent 70%);
  border-radius:16px;
  z-index:-1;
}

/* Nagłówek karty: brand + trochę większy */
.platform-card h3{
  margin:10px 0 10px;
  color:var(--brand);
  font-weight:800;
  font-size:1.12rem;
  letter-spacing:-.01em;
  line-height:1.25;
}

/* Tekst: spokojny, czytelny */
.platform-card p{
  margin:0;
  color:#475569;
  font-size:.95rem;
  line-height:1.6;
}

/* CTA: kompaktowe, nie dominuje – ale żywe w hoverze */
.platform-btn{
  position:absolute; left:18px; bottom:18px;
  display:inline-block;
  padding:9px 14px;
  border-radius:999px;
  font-weight:800; font-size:.86rem;
  background:var(--brand); color:#fff;
  transition:transform .2s ease, filter .2s ease;
}
.platform-btn:hover{ transform:translateY(-2px); filter:brightness(1.06); }



/* ===== WHY US SECTION ===== */
.why-us{ background:#f9fafc; padding:80px 0; }
.why-us-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }
.why-us-text h2{ font-size:clamp(1.9rem,3vw,2.4rem); font-weight:900; line-height:1.15; margin:.4rem 0 1rem; color:#101218; }
.why-us-text .lead{ font-size:1.05rem; line-height:1.6; color:#444; margin:0 0 1.6rem; max-width:52ch; }
.why-us-img img{ width:100%; border-radius:14px; box-shadow:0 12px 28px rgba(0,0,0,.08); }

/* ===== Accordion (interactive) ===== */
.accordion{ display:flex; flex-direction:column; gap:14px; }
.accordion-item{ background:#fff; border:1px solid #e8e9ef; border-radius:12px; overflow:hidden; box-shadow:0 6px 14px rgba(0,0,0,.04); }

/* Trigger */
.acc-trigger{
  all:unset; display:flex; width:100%; align-items:center; justify-content:space-between;
  padding:16px 18px; cursor:pointer;
  font-weight:800; font-size:1.05rem; color:#0f172a;
}
.acc-trigger:focus-visible{ outline:2px solid rgba(52,59,143,.35); outline-offset:2px; border-radius:10px; }

/* Chevron */
.chevron{
  width:18px; height:18px; position:relative; flex:0 0 18px;
}
.chevron::before, .chevron::after{
  content:""; position:absolute; inset:auto; left:3px; right:3px; top:8px; height:2px; background:#94a3b8; transition:transform .2s ease;
}
.chevron::before{ transform:rotate(45deg); }
.chevron::after{ transform:rotate(-45deg); }
/* rotated when open */
.acc-trigger[aria-expanded="true"] .chevron::before{ transform:rotate(-45deg); }
.acc-trigger[aria-expanded="true"] .chevron::after{ transform:rotate(45deg); }

/* Panel (animated height) */
.acc-panel{
  height:auto; max-height:0; overflow:hidden;
  transition:max-height .28s ease;
  padding:0 18px;
}
.acc-panel p{ color:#475569; font-size:.95rem; line-height:1.6; margin:0 0 16px; }

/* When open, add small top border and spacing */
.accordion-item.open .acc-panel{ max-height:260px; padding-top:4px; }

/* Responsive */
@media(max-width:980px){
  .why-us-grid{ grid-template-columns:1fr; }
  .why-us-img{ order:-1; }
}

.gradient-text {
  background: linear-gradient(90deg, #343b8f 0%, #0a125c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Lead nad obrazkiem */
.lead-over-img {
  font-size:1.05rem;
  line-height:1.6;
  color:#444;
  margin:0 0 1rem;
  max-width:52ch;
}
.why-us-img {
  display:flex;
  flex-direction:column;
  gap:14px;
}
.why-us-img img {
  width:100%;
  border-radius:14px;
  box-shadow:0 12px 28px rgba(0,0,0,.08);
}

/* Mobile – tekst nad obrazem zostaje razem */
@media(max-width:980px){
  .lead-over-img { text-align:center; margin-bottom:14px; }
}/* --- WHY-US: kolumna z obrazem i leadem nie porusza się --- */
.why-us-grid{
  align-items: start;          /* nie wyrównuj do środka, żeby sticky działało naturalnie */
}

.why-us-img{
  position: sticky;
  top: 84px;                   /* odległość od górnej krawędzi viewportu (dostosuj do wysokości nawigacji) */
  display: flex;
  flex-direction: column;
  gap: 14px;
  will-change: transform;      /* gładsze przewijanie */
}

.lead-over-img{
  margin: 0 0 8px;
}

/* Opcjonalnie: ogranicz szerokość treści po prawej, żeby ładniej wyglądało w wysokich ekranach */
.why-us-img img{
  width: 100%;
  max-height: 520px;           /* zapobiega „rozpychaniu” */
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

/* Gdy ekran mniejszy – wyłącz sticky (zachowanie standardowe) */
@media (max-width: 980px){
  .why-us-img{ position: static; top: auto; }
}

/* ===== MARKETPLACES (logo slider) ===== */
.marketplaces { background:#fff; padding:36px 0 18px; }
.logos-slider{
  position:relative; display:flex; align-items:center; gap:12px;
  max-width:1100px; margin:0 auto;
}
.logos-viewport{
  overflow:hidden; flex:1; border-radius:12px;
}
.logos-track{
  list-style:none; margin:0; padding:0;
  display:flex; gap:0; transition:transform .35s ease;
  will-change:transform;
}
.logos-track li{
  flex:0 0 auto; display:grid; place-items:center;
  padding:14px 18px;
}
.logos-track img{
  height:38px; width:auto; object-fit:contain;
  filter: grayscale(100%) opacity(.8);
  transition: filter .2s ease, transform .2s ease;
}
.logos-track img:hover{
  filter:none; transform:translateY(-2px);
}

/* Strzałki */
.logos-nav{
  appearance:none; border:none; background:#f3f4f6; color:#111827;
  width:36px; height:36px; border-radius:999px; display:grid; place-items:center;
  box-shadow:0 4px 10px rgba(0,0,0,.06);
  cursor:pointer; transition:filter .2s, transform .2s;
}
.logos-nav:hover{ filter:brightness(.98); transform:translateY(-1px) }
.logos-nav i{ font-size:22px; }

/* Kropki */
.logos-dots{
  display:flex; gap:8px; justify-content:center; margin:14px 0 0;
}
.logos-dots button{
  width:7px; height:7px; border-radius:999px; border:none; background:#d1d5db;
  cursor:pointer; transition:transform .2s, background .2s;
}
.logos-dots button[aria-current="true"]{
  background:#9aa3ff; transform:scale(1.2);
}

/* Responsywność: wysokość logo rośnie na desktopie */
@media (min-width: 1100px){ .logos-track img{ height:44px } }


/* --- Partners Section --- */
.partners {
  background: #fff;
  padding: 72px 0;
  margin-top: -30px;
}

.partners-title {
  text-align: center;
  margin-bottom: 48px;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--brand);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: stretch;
}

/* Karta */
.partner-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,.12);
}

/* Obrazek */
.partner-media {
  position: relative;
}
.partner-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Pigułka */
.partner-pill {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 22px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

/* Tekst */
.partner-text {
  padding: 36px 20px 24px;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  text-align: center;
}
.partner-text b {
  color: #111;
  font-weight: 800;
}

/* Responsywność */
@media (max-width: 980px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
  .partner-media img {
    height: 260px;
  }
}
/* ===== STEPS ===== */
/* ===== STEPS (Jakie kroki teraz?) ===== */
/* ===== STEPS (Jakie kroki teraz?) ===== */
.steps {
  margin-top: -40px;
  background: #fff;
  padding: 68px 0;
}

.steps-title {
  text-align: center;
  margin: 0 0 48px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

/* Siatka 2 kolumny na desktopie */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 kroki obok siebie */
  gap: 32px;
  justify-items: center;
  align-items: start;
}

/* pojedynczy krok */
.step {
  max-width: 280px; /* ograniczenie szerokości, żeby wszystkie były równe */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

/* responsywność – 2 kolumny na tabletach, 1 na mobile */
@media (max-width: 1100px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}


/* Pigułka „KROK N” */
.step-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline: auto;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4b57c9, #171e73);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
  user-select: none;
}
.step-badge b {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #171e73;
  font-size: .95rem;
  font-weight: 800;
}

/* Tytuł i opis kroku */
.step h3 {
  margin: 6px 0 4px;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 900;
  color: #293042;
}
.step p {
  margin: 0;
  color: #4b5563;
  line-height: 1.6;
  max-width: 42ch;
}

/* Responsywność */
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; gap: 28px; }
  .step { max-width: unset; }
}

.steps-lead {
  text-align: center;
  max-width: 760px;
  margin: -20px auto 46px;  /* bliżej nagłówka, odseparowane od kroków */
  font-size: 1.05rem;
  line-height: 1.65;
  color: #4b5563;
}

/* CTA kafelek pod krokami */
.steps-cta {
  margin-top: -20px;
}
.steps-cta-inner {
  background: var(--brand);
  border-radius: 14px;
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: #fff;
}
.steps-cta-inner p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.5;
  max-width: 700px;
}
.steps-cta-inner b {
  font-weight: 900;
}

/* przycisk */
.btn-cta-alt {
  background: var(--cta);
  color: var(--brand);
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .25s ease, transform .2s ease;
  white-space: nowrap;
}
.btn-cta-alt:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
}

/* responsywność */
@media (max-width: 768px) {
  .steps-cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .steps-cta-inner p { font-size: 1.05rem; }
}

/* ===== FAQ ===== */
.faq{ background:#fff; padding:72px 0; }
.faq-title{
  text-align:center; margin:.25rem 0 .5rem;
  font-weight:900; letter-spacing:-.02em;
  color:#0f172a; font-size:clamp(1.8rem,3vw,2.4rem);
}
.faq-lead{
  text-align:center; max-width:760px; margin:0 auto 28px;
  color:#4b5563; font-size:1.05rem; line-height:1.65;
}

/* lista */
.faq-accordion{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:16px 22px;
}
@media (max-width: 900px){
  .faq-accordion{ grid-template-columns:1fr; }
}

/* karta FAQ */
.faq-item{
  background:#fff;
  border:1px solid #e8e9ef;
  border-radius:14px;
  box-shadow:0 8px 18px rgba(0,0,0,.05);
  overflow:hidden;
  transition:border-color .2s, box-shadow .2s, transform .2s;
}
.faq-item:hover{
  transform:translateY(-2px);
  border-color:rgba(52,59,143,.22);
  box-shadow:0 14px 28px rgba(0,0,0,.08);
}

/* trigger */
.faq-trigger{
  all:unset; display:flex; width:100%;
  align-items:center; justify-content:space-between;
  padding:16px 18px; cursor:pointer;
  font-weight:800; color:#111827; font-size:1.02rem;
}
.faq-trigger:focus-visible{
  outline:3px solid rgba(52,59,143,.3); outline-offset:2px; border-radius:10px;
}

/* ikonka +/– */
.faq-icon{
  width:22px; height:22px; border-radius:50%;
  display:inline-grid; place-items:center;
  background:rgba(52,59,143,.1);
  position:relative; flex:0 0 22px;
}
.faq-icon::before, .faq-icon::after{
  content:""; position:absolute; background:#343b8f; transition:transform .2s;
}
.faq-icon::before{ width:12px; height:2px; }
.faq-icon::after{ width:2px; height:12px; }
.faq-trigger[aria-expanded="true"] .faq-icon::after{ transform:scaleY(0); } /* minus */

/* panel */
.faq-panel{
  max-height:0; overflow:hidden; padding:0 18px;
  transition:max-height .28s ease, padding .28s ease;
}
.faq-panel p{
  color:#4b5563; font-size:.98rem; line-height:1.65; margin:0 0 16px;
}

/* gdy otwarte */
.faq-item.open .faq-panel{ padding-top:2px; }
.contact-section {
  padding: 80px 20px;
  background: #f9f9ff;
}



/*FORMULARZ KONTAKTOWY */
/* === KONTAKT: Zmienne i baza === */
#kontakt.contact-section{
  --brand:#343b8f;
  --accent: #ffd64d;
  --ink:#0b0b0f;
  --muted:#6b7280;
  --soft:#f6f7ff;
  --card:#ffffff;
  --line:#e9e9f2;

  background:#fff;
  padding:96px 20px;
  font-size:16px;
}
#kontakt *{
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  box-sizing:border-box;
  color:var(--ink);
}

/* === Layout === */
#kontakt .contact-wrap{
  max-width:1200px;
  margin:0 auto;
}
#kontakt .eyebrow{
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:700;
  color:var(--brand);
  margin:0 0 8px 0;
  font-size:.9rem;
}
#kontakt .title{
  margin:0 0 8px 0;
  font-size:clamp(28px, 5vw, 44px);
  line-height:1.15;
  font-weight:800;
}
#kontakt .subtitle{
  margin:0 0 32px 0;
  color:#4b5563;
  font-size:1.05rem;
}

#kontakt .contact-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:28px;
}
@media (max-width: 960px){
  #kontakt .contact-grid{
    grid-template-columns:1fr;
  }
}

/* === Cards === */
#kontakt .contact-card,
#kontakt .topics-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:20px;
  padding:24px;
  box-shadow:0 8px 20px rgba(0,0,0,.05);
  position:relative;
}
/* subtelny pasek gradientu u góry kart */
#kontakt .contact-card::before,
#kontakt .topics-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  border-radius:20px 20px 0 0;
  background:linear-gradient(90deg, var(--brand), #5861d8 50%, var(--brand));
  opacity:.9;
}

/* === Form === */
#kontakt .field{ margin-bottom:16px; }
#kontakt label{
  display:block;
  font-size:.9rem;
  color:#374151;
  margin-bottom:6px;
}
#kontakt input[type="text"],
#kontakt input[type="email"],
#kontakt input[type="tel"],
#kontakt textarea{
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:14px 14px;
  outline:none;
  font-size:1rem;
  transition:border-color .2s, box-shadow .2s, background-color .2s;
}
#kontakt input::placeholder,
#kontakt textarea::placeholder{ color:#9aa1b2; }

#kontakt input:focus,
#kontakt textarea:focus{
  border-color:color-mix(in oklab, var(--brand) 60%, #ffffff 40%);
  box-shadow:0 0 0 4px color-mix(in oklab, var(--brand) 18%, transparent);
}

/* === Button === */
#kontakt .btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:none;
  background:var(--accent);
  color:#111827;
  font-weight:800;
  font-size:1rem;
  padding:12px 18px;
  border-radius:999px;
  cursor:pointer;
  transition:filter .2s, transform .06s;
  margin:4px 0 8px 0;
}
#kontakt .btn-primary:hover{ filter:brightness(.95); }
#kontakt .btn-primary:active{ transform:translateY(1px); }

/* === Zgoda / checkbox === */
#kontakt .consent{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:.85rem;
  color:#4b5563;
  margin-top:8px;
}
#kontakt .consent input{
  width:18px; height:18px;
  accent-color:var(--brand);
  margin-top:2px;
}

/* === Topics === */
#kontakt .topics-card h3{
  font-size:1.25rem;
  margin:0 0 12px 0;
  font-weight:800;
}
#kontakt .topic{
  display:flex; gap:12px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  box-shadow:0 4px 12px rgba(0,0,0,.03);
  margin-bottom:12px;
}
#kontakt .topic h4{
  font-size:1rem;
  margin:0 0 4px 0;
  color:#111827;
}
#kontakt .topic p{
  margin:0;
  color:#4b5563;
  font-size:.95rem;
}
#kontakt .icon-check{
  display:inline-grid;
  place-items:center;
  min-width:36px; height:36px;
  border-radius:50%;
  color:var(--brand);
  background:color-mix(in oklab, var(--brand) 10%, #ffffff 90%);
}

/* Stopka / dopisek */
#kontakt .footnote{
  margin-top:8px;
  color:#6b7280;
  font-size:.92rem;
}

/*NEWSLETTER*/
/* Kolory projektu */
:root{
  --brand:#343b8f;
  --brand-2:#4b52b8;
  --accent:#f7c948;
  --ink:#0b0b0f;
  --muted:#cbd0e6;
  --card:#ffffff;
}

/* Sekcja */
#newsletter.newsletter-min{
  padding:96px 20px;
  color:#fff;
  background:linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  text-align:center;
}

#newsletter .nl-container{ max-width:720px; margin:0 auto; }

#newsletter h2{
  font-size:2rem; line-height:1.2; margin:0 0 12px;
}
#newsletter p{
  color:var(--muted); margin:0 0 28px; font-size:1.1rem;
}

/* Formularz — prosty, responsywny */
#newsletter .nl-form{
  display:flex; gap:12px; justify-content:center; align-items:center;
  margin:0 0 10px;
  flex-wrap:wrap;                /* ładnie zawija na mobile */
}

#newsletter .nl-form input{
  flex:1 1 340px;                /* minimum szerokości inputa */
  max-width:520px;
  padding:14px 18px;
  border-radius:999px;
  border:1px solid #e7e8f1;
  outline:none;
  font-size:1rem;
}

#newsletter .nl-form input:focus{
  box-shadow:0 0 0 3px rgba(52,59,143,.25);
  border-color:#dde0f2;
}

#newsletter .nl-form button{
  background:var(--accent);
  color:#000;
  border:none;
  border-radius:999px;
  padding:14px 24px;
  font-weight:700;
  cursor:pointer;
  transition:background .2s ease, transform .06s ease;
}
#newsletter .nl-form button:hover{ background:#e7c043; }
#newsletter .nl-form button:active{ transform:translateY(1px); }

#newsletter small{
  display:block; color:#dbe0f5; font-size:.9rem;
}

/* Walidacja przeglądarkowa — subtelna */
#newsletter .nl-form input:invalid:focus{
  border-color:#ffb4b4;
  box-shadow:0 0 0 3px rgba(255,91,91,.25);
}

/* Mobile */
@media (max-width:520px){
  #newsletter .nl-form{ gap:8px; }
  #newsletter .nl-form button{ width:100%; }
}


#quick-contact {
  background: #f6f7ff;
  padding: 70px 20px;
  text-align: center;
}

#quick-contact h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0b0b0f;
}

#quick-contact p {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 40px;
}

.quick-contact-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px; /* odstęp między tel a mailem */
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 22px; /* powiększony tekst */
}

.contact-item i {
  color: #343b8f;
  font-size: 28px; /* większa ikona */
}

.contact-item a {
  text-decoration: none;
  color: #0b0b0f;
  font-weight: 600;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: #f7c948; /* żółty akcent */
}


/* === STOPKA === */
.footer {
  background: #343b8f; /* kolor marki */
  color: #f6f7ff;
  padding: 60px 20px 20px;
  font-family: Inter, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-logo {
  max-width: 160px;
  margin-bottom: 16px;
}

.footer h3 {
  color: #f7c948; /* akcent żółty */
  margin-bottom: 16px;
  font-size: 18px;
}

.footer p {
  color: #e9e9f2;
  margin: 6px 0;
  font-size: 15px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: #e9e9f2;
  text-decoration: none;
  transition: color 0.3s;
}

.footer ul li a:hover {
  color: #f7c948;
}

.footer .socials a {
  display: inline-block;
  margin-right: 12px;
  font-size: 18px;
  color: #e9e9f2;
  transition: color 0.3s;
}

.footer .socials a:hover {
  color: #f7c948;
}

.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 16px;
  text-align: center;
  font-size: 14px;
  color: #d1d5db;
}

/* RWD */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer .socials {
    margin-top: 10px;
  }
}
