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

:root {
  --bg: #0e0e0e;
  --surface: #161616;
  --surface2: #1e1e1e;
  --border: rgba(255,255,255,0.08);
  --border2: rgba(255,255,255,0.18);
  --text: #edebe6;
  --muted: #7a7872;
  --accent: #d4f564;
  --accent2: #bde04a;
  --radius: 12px;
  --radius-lg: 18px;
  --font-body: 'DM Sans', sans-serif;
  --font-display: 'Fraunces', serif;
}

html { scroll-behavior: smooth; }

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

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 60px;
  background: rgba(14,14,14,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 22px;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--accent); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-links a.active { color: #fff; }

.nav-sep {
  width: 1px; height: 20px;
  background: rgba(255,255,255,0.12);
  display: inline-block;
  margin: 0 6px;
}

.nav-cta {
  background: var(--accent) !important;
  color: #0a0a0a !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  border-radius: 8px;
  font-size: 14px !important;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  letter-spacing: 0.01em;
}
.nav-cta:hover {
  background: var(--accent2) !important;
  transform: translateY(-1px);
  color: #0a0a0a !important;
}

.nav-back {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.28) !important;
  letter-spacing: 0.02em !important;
}
.nav-back:hover { color: rgba(255,255,255,0.5) !important; background: none !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ── PAGE HEADER ── */
.page-header {
  padding: 120px 48px 56px;
  max-width: 1100px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.page-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.page-header .eyebrow::before {
  content: '';
  display: block;
  width: 18px; height: 1px;
  background: var(--accent);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 14px;
  color: #fff;
}
.page-header p {
  font-size: 17px;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.7;
  font-weight: 400;
}

/* ── SECTION ── */
.section {
  padding: 72px 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.section + .section { border-top: 1px solid var(--border); }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
  color: #fff;
}
.section-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 48px;
  font-weight: 400;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0a0a0a;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 9px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.15s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--border2);
  padding: 12px 24px;
  border-radius: 9px;
  transition: color 0.15s, border-color 0.15s;
}
.btn-secondary:hover { color: #fff; border-color: rgba(255,255,255,0.35); }

.btn-outline {
  display: block;
  text-align: center;
  padding: 11px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border2);
  color: rgba(255,255,255,0.7);
  transition: border-color 0.15s, color 0.15s;
  font-family: var(--font-body);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

.btn-solid {
  display: block;
  text-align: center;
  padding: 11px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: var(--accent);
  color: #0a0a0a;
  transition: background 0.15s;
  font-family: var(--font-body);
}
.btn-solid:hover { background: var(--accent2); }

/* ── WORK CARDS ── */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.work-card:hover { border-color: var(--border2); transform: translateY(-4px); }
.work-card.no-hover { cursor: default; }
.work-card.no-hover:hover { transform: none; border-color: var(--border); }

.work-thumb {
  height: 200px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  font-size: 48px;
  position: relative;
}
.work-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(212,245,100,0.1);
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(212,245,100,0.18);
}
.work-info { padding: 20px 22px 24px; }
.work-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 6px;
  color: #fff;
}
.work-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }
.work-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--accent);
  margin-top: 14px;
  font-weight: 500;
}
.work-link.dim { color: var(--muted); }

/* ── PACKAGE CARDS ── */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  align-items: start;
}
.package-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: border-color 0.2s;
}
.package-card:hover { border-color: var(--border2); }
.package-card.featured {
  border-color: rgba(212,245,100,0.45);
  background: #141a0c;
}
.featured-badge {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0a0a0a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 99px;
  white-space: nowrap;
}
.package-name {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.package-price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: #fff;
  line-height: 1;
}
.package-price span {
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: var(--muted);
  font-family: var(--font-body);
}
.package-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.65;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
}
.package-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
}
.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: rgba(237,235,230,0.85);
  line-height: 1.5;
}
.package-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 2px;
}
.package-features li.off { color: var(--muted); }
.package-features li.off::before { content: '–'; color: rgba(255,255,255,0.15); }

/* opieka bar */
.opieka-bar {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.opieka-bar .price {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  color: #fff;
}
.opieka-bar .price span {
  font-size: 13px;
  font-weight: 400;
  font-style: normal;
  color: var(--muted);
  font-family: var(--font-body);
}

/* ── PROCESS STEPS ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
}
.step {
  background: var(--surface);
  padding: 28px 24px;
  border: 1px solid var(--border);
}
.step:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.step:last-child  { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.step-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  font-style: italic;
  color: rgba(255,255,255,0.1);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1;
}
.step-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 7px;
  color: #fff;
}
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── TECH TAGS ── */
.tech-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 7px;
  font-weight: 400;
}

/* ── CONTACT ── */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 11px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 9px;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  resize: vertical;
  appearance: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(122,120,114,0.6); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: rgba(212,245,100,0.4); }
.contact-form select option { background: #1e1e1e; }
.contact-form textarea { min-height: 110px; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; flex-direction: column; gap: 3px; }
.contact-item-label {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.contact-item-val { font-size: 15px; color: var(--text); }
.contact-item-val a { color: var(--accent); text-decoration: none; }

/* ── STATS BAR ── */
.stats-bar {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 52px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  color: #fff;
}
.stat-num span { color: var(--accent); font-style: normal; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 48px;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 17px;
  color: #fff;
  text-decoration: none;
}
.footer-logo span { color: var(--accent); font-style: normal; }
footer p { font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  color: #fff;
}
.cta-banner p { font-size: 14px; color: var(--muted); margin-top: 5px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: #0e0e0e;
    border-bottom: 1px solid var(--border);
    padding: 20px;
    gap: 4px;
    z-index: 99;
  }
  .nav-burger { display: flex; }
  .page-header { padding: 96px 20px 44px; }
  .section { padding: 56px 20px; }
  .divider { margin: 0 20px; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .step:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .step:last-child  { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .process-steps { grid-template-columns: 1fr; }
  footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
  .cta-banner { padding: 32px 22px; flex-direction: column; align-items: flex-start; }
  .stats-bar { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
