/* ── SIGMACLEAN landing — premium / clean / professional ── */
:root {
  --ink: #0e1116;
  --ink-2: #2a2f37;
  --mute: #6b7280;
  --bg: #fafafa;
  --bg-2: #ffffff;
  --line: #e6e8ec;
  --accent: #1a2f5f;        /* navy — z logo SigmaClean */
  --accent-2: #0f1f47;
  --accent-soft: #e8edf5;
  --cyan: #29c5e6;          /* jasny niebieski z logo (myjka) */
  --gold: #c9a96e;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 16px; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; letter-spacing: -0.01em; }
h3 { font-size: 18px; margin-bottom: 8px; }
p { margin-bottom: 10px; }

/* ── Header ── */
.hdr {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 0 12px;
}
.hdr-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { max-height: 42px; width: auto; }
.logo-text { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 22px; letter-spacing: 2px; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 500; }
.nav a { color: var(--ink-2); }
.nav a:hover { color: var(--accent); }
.cta-tel { font-weight: 700 !important; color: var(--accent) !important; }
@media (max-width: 760px) {
  .nav a:not(.cta-tel) { display: none; }
  .nav { gap: 0; }
}

/* ── Buttons ── */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 6px;
  font-weight: 600; font-size: 15px; cursor: pointer; border: none;
  transition: all .2s; text-align: center; line-height: 1.2;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ── Hero ── */
.hero {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  padding: 60px 0 70px;
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; gap: 30px; } }
.badge {
  display: inline-block; padding: 6px 14px; background: var(--accent-soft); color: var(--accent-2);
  border-radius: 999px; font-size: 12px; font-weight: 600; margin-bottom: 18px; letter-spacing: 0.3px;
}
.hero .lead { font-size: 17px; color: var(--ink-2); max-width: 560px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img img { border-radius: 10px; box-shadow: 0 12px 40px rgba(14,17,22,0.08); }

/* ── Sections base ── */
section { padding: 70px 0; }
@media (max-width: 760px) { section { padding: 50px 0; } }
.section-lead { font-size: 16px; color: var(--mute); max-width: 700px; margin-bottom: 30px; }

/* ── Usługi ── */
.uslugi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.usluga-card {
  background: var(--bg-2); padding: 0;
  border-radius: 12px; border: 1px solid var(--line);
  transition: transform .15s, box-shadow .15s;
  overflow: hidden; display: flex; flex-direction: column;
}
.usluga-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(14,17,22,0.10); }
.usluga-foto { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: var(--bg); }
.usluga-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.usluga-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.usluga-body h3 { font-size: 19px; }
.usluga-od { color: var(--accent); font-weight: 700; font-size: 13px; margin-bottom: 12px; letter-spacing: 0.2px; }
.usluga-krotki { color: var(--ink-2); font-size: 14px; margin-bottom: 14px; }
.usluga-szczegoly { list-style: none; margin-bottom: 18px; flex: 1; }
.usluga-szczegoly li { padding: 4px 0 4px 22px; position: relative; font-size: 13.5px; color: var(--ink-2); }
.usluga-szczegoly li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.usluga-cta { font-weight: 600; font-size: 14px; color: var(--accent); }

/* ── USP: gorąca woda ── */
.usp-hotwater {
  margin-top: 32px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff; padding: 36px 32px; border-radius: 12px;
  position: relative; overflow: hidden;
}
.usp-hotwater::before {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(41,197,230,0.25), transparent 70%);
}
.usp-badge {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--cyan); color: #0f1f47; font-weight: 700;
  font-size: 11px; letter-spacing: 1.2px; margin-bottom: 14px;
}
.usp-hotwater h3 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.usp-hotwater p { color: rgba(255,255,255,0.88); font-size: 15px; line-height: 1.65; max-width: 820px; margin: 0; }
.usp-hotwater strong { color: var(--cyan); }

/* ── Proces ── */
.proces { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proces-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 30px; }
.proces-step { text-align: center; }
.proces-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 20px; margin-bottom: 12px;
}
.proces-step h3 { font-size: 16px; }
.proces-step p { font-size: 14px; color: var(--ink-2); }

/* ── Realizacje ── */
.realizacje { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.realizacje-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px; margin-top: 28px;
}
.realizacja-card {
  border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer; transition: transform .15s, box-shadow .15s;
  background: var(--bg-2);
}
.realizacja-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(14,17,22,0.12); }
.realizacja-card img { width: 100%; height: auto; display: block; }

/* Lightbox */
.lb-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(14,17,22,0.92); z-index: 1000;
  align-items: center; justify-content: center;
  padding: 20px;
}
.lb-overlay.active { display: flex; }
.lb-img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.lb-close, .lb-nav {
  position: absolute; background: rgba(255,255,255,0.12);
  color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lb-close { top: 18px; right: 20px; width: 40px; height: 40px; border-radius: 50%; font-size: 22px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; font-size: 26px; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,0.25); }

/* ── Cennik ── */
.cennik-tab {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; margin-bottom: 16px;
}
.cennik-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; border-bottom: 1px solid var(--line);
}
.cennik-row:last-child { border-bottom: none; }
.cennik-row:nth-child(even) { background: #fafafa; }
.cennik-nazwa { font-size: 15px; color: var(--ink-2); flex: 1; padding-right: 12px; }
.cennik-cena { font-weight: 700; color: var(--accent); white-space: nowrap; font-size: 15px; }
.cennik-note { font-size: 13px; color: var(--mute); padding: 14px 0; }

/* ── Formularz wyceny ── */
.wycena { background: var(--ink); color: #fff; }
.wycena h2 { color: #fff; }
.wycena .section-lead { color: rgba(255,255,255,0.7); }
.wycena-form { max-width: 720px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; }
.form-field label { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; padding: 12px 14px; border-radius: 6px; font-size: 15px;
  font-family: inherit;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); background: rgba(255,255,255,0.1);
}
.form-info { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 14px; }
.wycena-success {
  background: var(--accent); padding: 30px; border-radius: 10px; max-width: 600px;
}
.wycena-success h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }

/* ── FAQ ── */
.faq-list { max-width: 800px; }
.faq-item {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px;
  margin-bottom: 10px; padding: 0; overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px; font-weight: 600; cursor: pointer; list-style: none;
  position: relative; font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 18px;
  font-size: 22px; font-weight: 300; color: var(--accent);
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 22px 18px; color: var(--ink-2); font-size: 14px; }

/* ── Kontakt ── */
.kontakt { background: var(--bg-2); border-top: 1px solid var(--line); }
.kontakt-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px;
  margin-top: 24px;
}
.kontakt-grid > div { padding: 22px; background: var(--bg); border-radius: 10px; }
.kontakt-grid h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--mute); margin-bottom: 10px; }
.kontakt-big { font-size: 18px; font-weight: 600; color: var(--ink); }

/* ── Footer ── */
.ftr {
  background: var(--ink); color: rgba(255,255,255,0.6);
  padding: 30px 0; font-size: 13px;
}
.ftr strong { color: #fff; }
.ftr-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.ftr .muted { color: rgba(255,255,255,0.4); }
