/* ==========================================================================
   Wos-King - landing page (mobile-first)
   ========================================================================== */

:root {
  --bg: #12100e;
  --bg-alt: #1a1713;
  --surface: #211d18;
  --surface-2: #2a251e;
  --border: #38322a;

  --text: #f3ede2;
  --text-dim: #b9ae9c;
  --text-faint: #8a8072;

  --wax: #d9a441;
  --wax-light: #f0c46b;
  --wax-dark: #a97a24;
  --wax-contrast: #1a1400;

  --radius: 14px;
  --radius-sm: 8px;

  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --container: 480px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 .6em;
  color: var(--text);
}

h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: 1.55rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--text-dim); max-width: 38em; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
}

.section-lead { color: var(--text-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--wax);
  color: var(--wax-contrast);
}
.btn-primary:hover { background: var(--wax-light); }

.btn-outline {
  background: transparent;
  border-color: var(--wax-dark);
  color: var(--wax-light);
}
.btn-outline:hover { border-color: var(--wax); }

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  padding: 14px 8px;
}

.btn-large { padding: 16px 28px; font-size: 1rem; width: 100%; }
.btn-small { padding: 10px 16px; font-size: .85rem; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18,16,14,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
}
.logo span { color: var(--wax); }

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 48px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(217,164,65,.12), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--wax-light);
  margin-bottom: 14px;
}

.hero-sub {
  font-size: 1.02rem;
  color: var(--text-dim);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
}

/* ---------- Comparison table ---------- */
.table-wrap {
  overflow-x: auto;
  margin-top: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 460px;
  font-size: .88rem;
}

.compare-table th, .compare-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: 0; }

.compare-table thead th {
  background: var(--surface-2);
  font-family: var(--font-head);
  font-weight: 700;
}

.compare-table tbody th {
  color: var(--text-dim);
  font-weight: 500;
  background: var(--bg-alt);
}

.compare-table .col-wax {
  color: var(--wax-light);
  font-weight: 600;
  background: rgba(217,164,65,.06);
}

/* ---------- Przed / po ---------- */
.ba-slider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.ba-nav {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--wax-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: border-color .2s ease, background .2s ease;
}
.ba-nav:hover { border-color: var(--wax); background: var(--surface-2); }
.ba-nav:active { transform: scale(.94); }

.ba-nav-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ba-frame {
  position: relative;
  flex: 1;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: ew-resize;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.ba-media {
  position: absolute;
  inset: 0;
  background-color: var(--surface);
  background-repeat: no-repeat;
  pointer-events: none;
}

.ba-before-clip {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}

.ba-tag {
  position: absolute;
  top: 12px;
  z-index: 2;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(18, 16, 14, .72);
  color: var(--text);
  pointer-events: none;
}
.ba-tag-before { left: 12px; }
.ba-tag-after { right: 12px; }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  z-index: 3;
  transform: translateX(-50%);
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--wax);
  transform: translateX(-50%);
}
.ba-handle-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--wax);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
.ba-handle-grip svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--wax-contrast);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ba-handle:focus-visible .ba-handle-grip {
  outline: 2px solid var(--wax-light);
  outline-offset: 2px;
}

.ba-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.ba-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.ba-dot:hover { background: var(--wax-dark); }
.ba-dot.is-active { background: var(--wax); transform: scale(1.3); }

/* ---------- Proces ---------- */
.process { background: var(--bg-alt); }

.process-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.process-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-number {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--wax-dark);
  background: rgba(217,164,65,.12);
  color: var(--wax-light);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}

.process-list h3 { margin-bottom: 4px; }
.process-list p { font-size: .92rem; margin-bottom: 0; }

.problem-note {
  margin-top: 26px;
  margin-bottom: 0;
  color: var(--text-faint);
  font-size: .88rem;
  border-left: 2px solid var(--wax-dark);
  padding-left: 14px;
}

/* ---------- Cennik ---------- */
.base-price {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--text-dim);
  margin: 4px 0 4px;
}
.base-price span {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--wax-light);
}

.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 26px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-range {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--text-dim);
  margin: 2px 0 14px;
}
.price-range span {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--wax-light);
}

.price-desc {
  font-size: .9rem;
  flex: 1;
  margin-bottom: 20px;
}

.price-card .btn { align-self: flex-start; }

/* ---------- Warto dobrać ---------- */
.addon-card {
  position: relative;
  margin-top: 26px;
  background: var(--surface);
  border: 1px solid var(--wax-dark);
  border-radius: var(--radius);
  padding: 20px;
}
.addon-badge {
  position: absolute;
  top: -11px;
  left: 20px;
  background: var(--wax);
  color: var(--wax-contrast);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: .03em;
}
.addon-card h4 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}
.addon-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--wax-light);
}

.addon-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.addon-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-dim);
}

.addon-icon {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--wax);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.time-note {
  font-size: .9rem;
  color: var(--text-dim);
  margin: 12px 0 0;
}
.time-note strong { color: var(--text); }

.addon-note {
  font-size: .9rem;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.addon-note strong { color: var(--text); }

.wax-disclaimer {
  font-size: .8rem;
  color: var(--text-faint);
  margin: 16px 0 0;
}

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  color: var(--wax);
  font-size: 1.2rem;
  font-weight: 700;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 10px 0 0;
  font-size: .9rem;
  max-width: none;
}

/* ---------- Kontakt ---------- */
.cta-final { background: var(--bg-alt); padding-bottom: 100px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.contact-form label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-top: 10px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  resize: vertical;
}

.contact-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--wax) 50%), linear-gradient(135deg, var(--wax) 50%, transparent 50%);
  background-position: calc(100% - 22px) center, calc(100% - 16px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--wax);
}

.contact-form button { margin-top: 18px; }

.contact-alt {
  margin-top: 20px;
  text-align: center;
}
.contact-alt p { font-size: .85rem; color: var(--text-faint); margin: 0 auto 8px; }

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  color: var(--wax-light);
  padding: 6px 0;
}

.whatsapp-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 32px 0 120px;
  text-align: center;
}
.site-footer p { max-width: none; }

.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.footer-logo span { color: var(--wax); }

.footer-note { font-size: .85rem; margin-bottom: 12px; }
.footer-copy { font-size: .75rem; color: var(--text-faint); margin: 0; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(18,16,14,.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  z-index: 40;
}

/* ==========================================================================
   Większe ekrany
   ========================================================================== */
@media (min-width: 640px) {
  :root { --container: 640px; }

  .hero-actions { flex-direction: row; }
  .hero-actions .btn-large { width: auto; }

  .pricing-grid { flex-direction: row; }
  .price-card { flex: 1; }
}

@media (min-width: 900px) {
  :root { --container: 780px; }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.9rem; }

  .header-cta { display: inline-flex; }
  .sticky-cta { display: none; }
  .site-footer { padding-bottom: 40px; }
  .cta-final { padding-bottom: 56px; }
}

.sticky-cta.is-hidden { display: none; }
