:root {
  --ink: #eaf2f7;
  --ink-dim: rgba(234, 242, 247, 0.62);
  --ink-faint: rgba(234, 242, 247, 0.38);
  --accent: #4fd8c4;
  --accent-dim: rgba(79, 216, 196, 0.14);
  --bg-0: #070d18;
  --bg-1: #0d1a2b;
  --bg-2: #101f33;
  --line: rgba(234, 242, 247, 0.1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--ink);
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(24px, 6vw, 72px); }
.eyebrow-label {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.section-head p { margin-top: 16px; color: var(--ink-dim); line-height: 1.7; font-size: 16px; }

.btn {
  pointer-events: auto;
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  background: var(--accent);
  color: #06231e;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(79, 216, 196, 0.25);
  transition: transform 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(79, 216, 196, 0.38); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn.ghost:hover { border-color: var(--accent); box-shadow: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
[data-reveal] {
  opacity: 0;
  transform: translateY(34px) scale(0.97);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].in-view { opacity: 1; transform: translateY(0) scale(1); }
.stagger > [data-reveal]:nth-child(1) { transition-delay: 0.04s; }
.stagger > [data-reveal]:nth-child(2) { transition-delay: 0.12s; }
.stagger > [data-reveal]:nth-child(3) { transition-delay: 0.20s; }
.stagger > [data-reveal]:nth-child(4) { transition-delay: 0.28s; }
.stagger > [data-reveal]:nth-child(5) { transition-delay: 0.36s; }
.stagger > [data-reveal]:nth-child(6) { transition-delay: 0.44s; }

/* ---------- nagłówek statyczny (podstrony) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 13, 24, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px clamp(24px, 6vw, 72px);
}
.logo {
  font-size: 15px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  pointer-events: auto;
  text-decoration: none;
}
.logo span { color: var(--accent); }
nav { display: flex; gap: 32px; }
nav a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: auto;
  transition: color 0.25s;
}
nav a:hover, nav a.active { color: var(--ink); }
nav a.active { color: var(--accent); }
.nav-toggle {
  display: none;
  pointer-events: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }
@media (max-width: 700px) {
  nav {
    position: fixed;
    inset: 0 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(7, 13, 24, 0.97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 90px 28px 28px;
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 3;
  }
  nav.open { transform: translateY(0); }
  nav a { font-size: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .nav-toggle .icon-close { display: none; }
  .nav-toggle.open .icon-menu { display: none; }
  .nav-toggle.open .icon-close { display: block; }
}

/* ---------- baner podstrony (bez animacji 3D) ---------- */
.page-hero {
  position: relative;
  padding: clamp(72px, 12vh, 140px) 0 clamp(56px, 9vh, 96px);
  background: radial-gradient(ellipse 90% 70% at 50% 0%, var(--bg-1) 0%, var(--bg-0) 75%);
  overflow: hidden;
}
.page-hero .eyebrow {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.page-hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.015em;
  max-width: 720px;
}
.page-hero .lede {
  margin-top: 18px;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  color: var(--ink-dim);
  max-width: 56ch;
}

/* ---------- content sections ---------- */
section { position: relative; z-index: 3; background: var(--bg-0); }
.light-zone {
  background: var(--bg-0);
  color: var(--ink);
  --bg-0: #f7f9fb;
  --bg-1: #ffffff;
  --bg-2: #eef1f4;
  --ink: #0d1a2b;
  --ink-dim: rgba(13, 26, 43, 0.64);
  --ink-faint: rgba(13, 26, 43, 0.4);
  --line: rgba(13, 26, 43, 0.1);
  --accent: #0e8f7c;
  --accent-dim: rgba(14, 143, 124, 0.12);
}
.stat-bar {
  position: relative;
  z-index: 3;
  background: radial-gradient(ellipse 120% 100% at 50% 0%, var(--bg-1) 0%, var(--bg-0) 70%);
  border-bottom: 1px solid var(--line);
  padding: 48px clamp(24px, 6vw, 72px);
}
.stat-bar .wrap { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding: 0; }
.stat b {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
  text-shadow: 0 0 24px rgba(79, 216, 196, 0.45);
  display: block;
}
.stat span { font-size: 13.5px; color: var(--ink-dim); letter-spacing: 0.03em; margin-top: 4px; display: block; }
.light-zone .stat b { text-shadow: none; }

.services { padding: 120px 0 100px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.service-card:hover { border-color: rgba(79, 216, 196, 0.4); transform: translateY(-4px); }
.service-card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 22px;
}
.service-card .icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.service-card p { color: var(--ink-dim); font-size: 14.5px; line-height: 1.65; }
.service-card .service-detail {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-faint);
  line-height: 1.6;
}

.team { padding: 100px 0; background: var(--bg-1); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: left; }
.team-avatar {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  background: linear-gradient(155deg, var(--bg-2), var(--bg-0));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.team-avatar svg { width: 40%; height: 40%; }
.team-card h3 { font-size: 16px; font-weight: 600; }
.team-card .role { font-size: 13px; color: var(--accent); margin-top: 4px; }
.team-card p { margin-top: 10px; font-size: 14px; color: var(--ink-dim); line-height: 1.6; }
.team-card .credentials {
  margin-top: 12px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-faint);
}
.team-card .credentials li { padding-left: 14px; position: relative; }
.team-card .credentials li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}

.reviews { padding: 100px 0; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.review-card .stars { display: flex; gap: 4px; color: var(--accent); }
.review-card .stars svg { width: 15px; height: 15px; }
.review-card p { color: var(--ink-dim); font-size: 15px; line-height: 1.7; flex: 1; }
.review-card .who { font-size: 13px; font-weight: 600; color: var(--ink); }
.review-card .who span { display: block; font-weight: 400; color: var(--ink-faint); margin-top: 2px; }

.pricing { padding: 100px 0; background: var(--bg-1); }
.pricing-group + .pricing-group { margin-top: 48px; }
.pricing-group h3 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.price-table {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-0);
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.price-row:last-child { border-bottom: none; }
.price-row .name { font-weight: 600; font-size: 15.5px; }
.price-row .desc { color: var(--ink-dim); font-size: 13.5px; margin-top: 4px; }
.price-row .amount { font-size: 17px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.price-note { margin-top: 20px; font-size: 13px; color: var(--ink-faint); }

.contact { padding: 100px 0 120px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; }
.contact-info dl { display: flex; flex-direction: column; gap: 22px; }
.contact-info dt { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; }
.contact-info dd { font-size: 16px; }
.contact-info dd a { text-decoration: none; transition: color 0.2s; }
.contact-info dd a:hover { color: var(--accent); }
.map-block {
  margin-top: 32px;
  height: 200px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 30%, rgba(79, 216, 196, 0.16), transparent 55%),
    linear-gradient(155deg, var(--bg-2), var(--bg-0));
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 20px;
}
form.card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  display: grid;
  gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-size: 13px; color: var(--ink-dim); margin-bottom: 8px; }
input, select, textarea {
  width: 100%;
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; min-height: 100px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--ink-faint); }
.consent input { width: 16px; height: 16px; margin-top: 2px; flex: none; }
.form-status { font-size: 13.5px; min-height: 18px; color: var(--accent); }

/* ---------- FAQ (cennik) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; margin-top: 48px; }
.faq-item {
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 26px;
}
.faq-item h4 { font-size: 15.5px; font-weight: 600; }
.faq-item p { margin-top: 10px; color: var(--ink-dim); font-size: 14px; line-height: 1.65; }

@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .price-row { flex-direction: column; align-items: flex-start; gap: 6px; }
}

footer {
  border-top: 1px solid var(--line);
  padding: 56px clamp(24px, 6vw, 72px) 32px;
}
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 40px; }
.footer-top .logo { font-size: 15px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; }
.footer-col a { display: block; text-decoration: none; color: var(--ink-dim); font-size: 14px; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-faint);
}
