:root{
  --bg:#0b1220;
  --text:#eaf0ff;
  --muted:#aab6d6;
  --line:rgba(255,255,255,.10);
  --shadow: 0 18px 55px rgba(0,0,0,.35);
  --shadow2: 0 10px 30px rgba(0,0,0,.25);
  --r:18px;

  --a1:#6d5cff;
  --a2:#28d7ff;
  --a3:#62ffb3;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:#eaf0ff;

  background:
    radial-gradient(900px 600px at 15% 15%, rgba(99,102,241,.25), transparent 60%),
    radial-gradient(900px 600px at 85% 20%, rgba(56,189,248,.22), transparent 55%),
    linear-gradient(180deg, #0f172a 0%, #111827 100%);
}


/* subtle noise */
body:before{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
  opacity:.30;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}

.wrap{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(7,11,20,.55);
  border-bottom: 1px solid var(--line);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{
  display:flex; align-items:center; gap:12px;
  min-width: 220px;
}
.brand .logo{
  width:38px; height:38px;
  border-radius:12px;
  background:
    radial-gradient(18px 18px at 30% 30%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(135deg, rgba(109,92,255,1), rgba(40,215,255,1));
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  display:grid; place-items:center;
  border: 1px solid rgba(255,255,255,.18);
  overflow:hidden;
}
.brand .logo img{
  width:100%; height:100%;
  object-fit:cover;
}
.brand .name{
  display:flex; flex-direction:column; line-height:1.1;
}
.brand .name strong{font-size:14px; letter-spacing:.2px}
.brand .name span{font-size:12px; color:var(--muted)}

.menu{
  display:flex;
  gap:18px;
  align-items:center;
  color: rgba(234,240,255,.92);
  font-size:13px;
}
.menu a{
  opacity:.9;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid transparent;
}
.menu a:hover{
  opacity:1;
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
}

.cta{
  display:flex; gap:10px; align-items:center;
}
.btn{
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color:var(--text);
  padding:10px 14px;
  border-radius:999px;
  font-weight:600;
  font-size:13px;
  display:inline-flex; align-items:center; gap:8px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  white-space:nowrap;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22)}
.btn:active{transform: translateY(0)}
.btn.primary{
  border:0;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  box-shadow: 0 14px 35px rgba(0,0,0,.25);
}
.btn.primary:hover{filter:saturate(1.05) brightness(1.02)}

/* Hero */
.hero{
  background:
    radial-gradient(600px 400px at 20% 30%, rgba(99,102,241,.25), transparent 60%),
    radial-gradient(600px 400px at 80% 40%, rgba(56,189,248,.22), transparent 55%);
}

.hero{padding: 52px 0 26px;}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:20px;
  align-items:stretch;
}
.hero-card{
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius: calc(var(--r) + 6px);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.hero-main{
  padding: 30px 26px;
  min-height: 320px;
}

.kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  font-size:12px;
  color: rgba(234,240,255,.90);
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
}
.dot{
  width:8px; height:8px; border-radius:999px;
  background: linear-gradient(135deg, var(--a3), var(--a2));
  box-shadow: 0 0 0 4px rgba(98,255,179,.12);
}

h1{
  margin:14px 0 10px;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing:-.5px;
  line-height:1.08;
}
.lead{
  margin:0 0 18px;
  font-size: 15px;
  line-height:1.55;
  color: rgba(234,240,255,.82);
  max-width: 62ch;
}

.chips{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 12px 0 18px;
}
.chip{
  font-size:12px;
  color: rgba(234,240,255,.88);
  padding:8px 10px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
}

.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 6px;
}

.hero-side{
  display:grid;
  grid-template-rows: 1fr auto;
  gap:12px;
  padding: 18px;
}
.side-top{
  border-radius: calc(var(--r) + 6px);
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(260px 180px at 20% 20%, rgba(109,92,255,.32), transparent 60%),
    radial-gradient(260px 180px at 80% 20%, rgba(40,215,255,.20), transparent 55%),
    rgba(255,255,255,.04);
  padding:16px;
  min-height: 210px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  box-shadow: var(--shadow2);
}
.side-top .mini{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.badge{
  font-size:11px;
  color: rgba(234,240,255,.92);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  padding:6px 10px;
  border-radius:999px;
  white-space:nowrap;
}
.area{
  font-size:12px;
  color: rgba(234,240,255,.80);
  margin-top: 10px;
}

.brand-visual{
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;          /* ← wysokość całego obszaru */
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
}

.brand-visual img{
  height: 100%;           /* ← wypełnia CAŁĄ wysokość */
  max-height: 100%;
  width: auto;            /* zachowuje proporcje */
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.28));
}

.ph{
  font-size:12px;
  color: rgba(234,240,255,.65);
  text-align:center;
  line-height:1.35;
}

/* Sections */
section{padding: 34px 0;}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom: 16px;
}
.section-head h2{
  margin:0;
  font-size: 22px;
  letter-spacing:-.2px;
}
.section-head p{
  margin:0;
  color: rgba(234,240,255,.72);
  font-size: 13px;
  max-width: 70ch;
}

/* Bento */
.bento{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.card{
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
  box-shadow: var(--shadow2);
  position:relative;
  overflow:hidden;
}
.card:before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(240px 140px at 20% 10%, rgba(109,92,255,.18), transparent 60%),
    radial-gradient(240px 140px at 90% 20%, rgba(40,215,255,.12), transparent 55%);
  opacity:.9;
  pointer-events:none;
}
.card > *{position:relative}

.offer-card h3{margin:0 0 6px; font-size:15px; letter-spacing:-.2px}
.offer-card p{margin:0; color: rgba(234,240,255,.74); font-size:13px; line-height:1.45}
.offer-card .icon{
  width:38px; height:38px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  display:grid; place-items:center;
  margin-bottom: 10px;
}
.icon svg{width:20px; height:20px; opacity:.95}

.col-6{grid-column: span 6}
.col-4{grid-column: span 4}
.col-8{grid-column: span 8}
.col-12{grid-column: span 12}

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.step{padding:16px}
.step .n{
  width:34px; height:34px;
  border-radius: 12px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(109,92,255,.95), rgba(40,215,255,.85));
  font-weight:800;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  margin-bottom: 10px;
}
.step h3{margin:0 0 6px; font-size:14px}
.step p{margin:0; color: rgba(234,240,255,.74); font-size:13px; line-height:1.45}

/* Brands */
.brands{
  background: rgba(255,255,255,.03);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.brands-grid{display:grid; grid-template-columns: 1fr; gap: 12px;}
.brands-box{
  padding: 16px;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.14);
}
.brands-img{
  border-radius: 14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  padding: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 110px;
}
.brands-img img{
  max-height: 90px;
  width:auto;
  object-fit:contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.25));
}
.brands-note{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(234,240,255,.70);
}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 12px;
  align-items:stretch;
}
.info h3{margin:0 0 6px; font-size:15px;}
.info p{margin: 8px 0 0; color: rgba(234,240,255,.74); font-size: 13px; line-height:1.5;}

.kv{
  margin-top: 14px;
  display:grid;
  gap:10px;
}
.kv a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
}
.kv a span{
  color: rgba(234,240,255,.88);
  font-weight:700;
  font-size: 13px;
}
.kv a small{
  color: rgba(234,240,255,.66);
  font-size: 12px;
}

form{display:grid; gap:10px;}
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
label{
  display:grid;
  gap:6px;
  font-size: 12px;
  color: rgba(234,240,255,.82);
}
input, select, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.22);
  color: var(--text);
  outline:none;
}
input::placeholder, textarea::placeholder{color: rgba(234,240,255,.50)}
textarea{min-height: 110px; resize: vertical}

.consent{
  display:flex; gap:10px; align-items:flex-start;
  color: rgba(234,240,255,.68);
  font-size: 12px;
  line-height:1.35;
  margin-top: 6px;
}
.consent input{width:18px; height:18px; margin-top:2px}

.form-actions{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
  margin-top: 4px;
}
.hint{font-size: 12px; color: rgba(234,240,255,.62);}

.tiny-note{
  margin-top:14px;
  font-size:12px;
  color: rgba(234,240,255,.62);
}

/* Footer */
footer{
  padding: 18px 0 72px;
  color: rgba(234,240,255,.55);
  font-size: 12px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.10);
}
.foot{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.foot a{opacity:.85}

/* Mobile CTA bar */
.mobilebar{
  display:none;
  position:fixed;
  left:12px; right:12px; bottom:12px;
  z-index:60;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(7,11,20,.66);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.mobilebar .row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.mobilebar .btn{
  width:100%;
  justify-content:center;
  padding: 12px 14px;
}

/* Responsive */
@media (max-width: 980px){
  .menu{display:none}
  .hero-grid{grid-template-columns: 1fr}
  .hero-side{padding:16px}
  .contact{grid-template-columns: 1fr}
  .steps{grid-template-columns: 1fr}
  .grid2{grid-template-columns: 1fr}
  .col-6,.col-4,.col-8,.col-12{grid-column: span 12}
  .mobilebar{display:block}
  footer{padding-bottom: 92px}
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto}
  .btn{transition:none}
}
/* ===== MARKI – 2 RZĘDY PO 4 LOGA ===== */

.brands {
  padding: 56px 0;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brands-title {
  text-align: center;
  margin-bottom: 32px;
  font-size: 22px;
  letter-spacing: -0.2px;
}

.brands-grid-2x4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 kolumny */
  gap: 36px 48px; /* pion / poziom */
  align-items: center;
  justify-items: center;
}

.brands-grid-2x4 img {
  max-height: 52px;        /* czytelne, równe */
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.9;
  transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}

.brands-grid-2x4 img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.06);
}

.brands-note {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: rgba(234,240,255,0.7);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .brands-grid-2x4 {
    grid-template-columns: repeat(2, 1fr); /* 2 × 4 na telefonie */
    gap: 28px 24px;
  }

  .brands-grid-2x4 img {
    max-height: 46px;
    max-width: 140px;
  }
}
.card,
.hero-card{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
p,
.lead,
.area{
  color: rgba(234,240,255,0.88);
}
.brands-note,
.hint,
.tiny-note{
  color: rgba(234,240,255,0.7);
}

