:root {
  --navy: #082746;
  --blue: #155ba8;
  --orange: #ff7600;
  --orange-dark: #e76400;
  --text: #152238;
  --muted: #667085;
  --surface: #f6f9fc;
  --white: #ffffff;
  --line: #e5eaf0;
  --error: #c0392b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

/* Dostępność */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  background: var(--navy);
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Nagłówek */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(8,39,70,.08);
}
.nav { min-height: 84px; display: flex; align-items: center; gap: 28px; }
.brand img { width: 116px; height: 70px; object-fit: contain; }
.menu { display: flex; gap: 24px; margin-left: auto; }
.menu a { font-weight: 700; font-size: 14px; }
.menu a:hover { color: var(--orange); }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 28px; margin-left: auto; cursor: pointer; color: var(--navy); }

/* Przyciski */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid var(--orange);
  border-radius: 12px;
  background: var(--orange);
  color: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--orange-dark); border-color: var(--orange-dark); }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: white; }

/* Hero */
.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,118,0,.18), transparent 26%),
    linear-gradient(135deg, #f8fbff 0%, #ffffff 55%, #eef5fb 100%);
  padding: 86px 0 72px;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 64px; }
.eyebrow {
  display: inline-block;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 14px;
}
.hero h1, .section h2 {
  margin: 0;
  color: var(--navy);
  line-height: 1.06;
  letter-spacing: -.04em;
}
.hero h1 { font-size: clamp(32px, 4.5vw, 52px); }
.hero h1 span { color: var(--orange); }
.hero-copy > p { font-size: 19px; color: var(--muted); max-width: 650px; margin: 24px 0 0; }
.hero-copy > .price-note { font-size: 14px; margin: 10px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; }
.logo-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(8,39,70,.14);
  transform: rotate(1.5deg);
}
.logo-card img { aspect-ratio: 1 / 1; object-fit: contain; }

/* Sekcje */
.section { padding: 92px 0; }
.section-soft { background: var(--surface); }
.section-heading { max-width: 780px; margin-bottom: 40px; }
.section h2 { font-size: clamp(30px, 4.4vw, 50px); }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 14px 34px rgba(8,39,70,.06);
}
.icon { font-size: 34px; }
.card h3 { color: var(--navy); margin: 18px 0 10px; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Jak działamy */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 14px 34px rgba(8,39,70,.05);
}
.step-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-weight: 900;
}
.step h3 { color: var(--navy); margin: 16px 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Dlaczego my */
.section-dark { background: var(--navy); color: white; }
.section-dark h2 { color: white; }
.section-dark p { color: #cbd8e6; font-size: 18px; }
.light { color: #ff9b47; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.check-list { display: grid; gap: 14px; }
.check-list div {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  padding: 17px 20px;
  border-radius: 14px;
  font-weight: 700;
}

/* Obszar działania */
.location-map { width: 330px; height: auto; }
.area-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 42px;
  padding: 44px;
  background: var(--surface);
  border-radius: 24px;
  border: 1px solid var(--line);
}
.area-box p { max-width: 760px; color: var(--muted); font-size: 18px; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 22px;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  font-weight: 700;
  color: var(--navy);
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--orange);
  line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0 0 18px; color: var(--muted); }

/* Wycena */
.quote { background: linear-gradient(180deg, #fff 0%, #f4f8fc 100%); }
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.quote-copy > p {
  color: var(--muted);
  font-size: 18px;
  margin: 18px 0 28px;
}

.whatsapp-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: 0 10px 30px rgba(8, 39, 70, 0.05);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.whatsapp-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: 0 14px 34px rgba(8, 39, 70, 0.1);
}
.whatsapp-card .icon { font-size: 28px; line-height: 1; }
.whatsapp-card strong { display: block; color: var(--navy); font-size: 16px; font-weight: 700; }
.whatsapp-card span { display: block; color: var(--muted); font-size: 14px; }
.whatsapp-card .arrow { margin-left: auto; color: var(--orange); font-weight: 800; font-size: 20px; }

.quote-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(8, 39, 70, 0.08);
}
.quote-form label { display: grid; gap: 8px; margin-bottom: 16px; font-weight: 700; color: var(--navy); }
.req { color: var(--orange-dark); font-weight: 800; }
.req-legend { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  min-height: 52px;
  color: var(--text);
  background: white;
  text-align: left;
  font-weight: inherit;
}
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
input[type="date"]::-webkit-datetime-edit { padding: 0; }
input[type="date"].is-empty,
input[type="date"].is-empty::-webkit-datetime-edit,
input[type="date"].is-empty::-webkit-datetime-edit-fields-wrapper { color: #757575; }

input, textarea {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 12px;
  padding: 14px 15px;
  font: inherit;
}
input:focus, textarea:focus { outline: 3px solid rgba(21,91,168,.15); border-color: var(--blue); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }

.privacy-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.privacy-note a { color: var(--blue); text-decoration: underline; }

/* Honeypot: ukryte dla ludzi i czytników ekranu */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { margin: 12px 0 0; font-size: 14px; color: var(--blue); }
.form-note.is-error { color: var(--error); }
.form-note.is-success { color: #1b7f3b; font-weight: 700; }

/* Stopka */
.footer { background: #061d34; color: white; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a, .footer-grid span, .footer-grid p { color: #c7d3df; margin: 0; }
.footer-grid a:hover { color: white; }
.footer-grid address { font-style: normal; color: #c7d3df; line-height: 1.6; }
.footer-grid .nip { margin-top: 2px; font-weight: 600; }
.footer-logo { width: 145px; height: auto; border-radius: 10px; background: white; }
.copyright { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #9fb1c2; font-size: 13px; }

/* Pływający przycisk telefonu (tylko mobile) */
.call-fab { display: none; }
.ico-phone { flex-shrink: 0; color: #fff; }

/* Strona polityki prywatności */
.legal { padding: 60px 0 80px; max-width: 820px; }
.legal h1 { color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.legal h2 { color: var(--navy); font-size: 22px; margin-top: 32px; }
.legal p, .legal li { color: var(--text); }
.legal a { color: var(--blue); text-decoration: underline; }

/* Tablet */
@media (max-width: 960px) {
  .menu, .nav > .btn-small { display: none; }
  .menu-toggle { display: block; }
  .menu.open {
    position: absolute;
    top: 84px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(8,39,70,.15);
    overflow: hidden;
  }
  .menu.open a { padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .hero-grid, .split, .quote-grid { grid-template-columns: 1fr; }
  .quote-grid { gap: 40px; }
  .hero-visual { max-width: 620px; margin: 0 auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .call-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--orange);
    color: white;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(255,118,0,.4);
  }
  .footer { padding-bottom: 90px; }
}

/* Telefon */
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .header .nav { min-height: 72px; }
  .brand img { width: 92px; height: 58px; }
  .menu.open { top: 72px; }
  .hero { padding: 58px 0; }
  .hero h1 { font-size: 34px; }
  .hero-copy > p { font-size: 17px; }
  .hero-actions { display: grid; }
  .cards, .steps { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .area-box { grid-template-columns: 1fr; padding: 28px; }
  .location-map { width: 100%; }
  .quote-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .whatsapp-card { transition: none; }
}
