/* ===== Zmienne i reset ===== */
:root {
  --ink: #1d2733;
  --ink-soft: #4b5a6b;
  --accent: #0e7c86;
  --accent-dark: #0a5d65;
  --bg: #ffffff;
  --bg-alt: #f2f7f8;
  --line: #dbe4e8;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(29, 39, 51, 0.08);
}

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

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 80px; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

h1, h2, h3 { line-height: 1.2; }

h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }

.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-alt { background: var(--bg-alt); }

.section-sub {
  color: var(--ink-soft);
  margin: 0.5rem 0 2rem;
  max-width: 55ch;
}

/* ===== Przyciski ===== */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--accent);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
}
.btn-ghost:hover { background: var(--accent); color: #fff; }

.btn-small { padding: 0.45rem 1.1rem; font-size: 0.95rem; }

/* ===== Nagłówek ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 1.15rem;
  white-space: nowrap;
}
.logo span { color: var(--ink); }
.logo strong { color: var(--accent); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-menu a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.nav-menu a:not(.btn):hover { color: var(--accent); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent); }
.header-phone-icon { font-size: 1.15rem; }

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang-switch a {
  display: block;
  padding: 0.35rem 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}
.lang-switch a:hover { color: var(--accent); }
.lang-switch a[aria-current="page"] {
  background: var(--accent);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, var(--bg-alt) 60%, #e2eff1);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  margin-bottom: 1rem;
}
.hero h1 em { color: var(--accent); font-style: normal; }

.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 48ch;
  margin-bottom: 1.75rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-art { position: relative; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border-radius: var(--radius);
  background: var(--accent);
  opacity: 0.16;
}
.hero-photo {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 5px solid #fff;
  box-shadow: 0 14px 36px rgba(29, 39, 51, 0.2);
  filter: saturate(1.12) contrast(1.06) brightness(1.02);
}

/* ===== Karty usług ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card-icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
.card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== O nas ===== */
.about {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-text p { color: var(--ink-soft); margin: 1rem 0 1.25rem; }
.about-text strong { color: var(--ink); }

.checklist { list-style: none; }
.checklist li {
  padding-left: 1.7rem;
  position: relative;
  margin-bottom: 0.5rem;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.stat strong { display: block; font-size: 1.6rem; color: var(--accent); }
.stat span { font-size: 0.9rem; color: var(--ink-soft); }

/* ===== Cennik ===== */
.price-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  flex-wrap: wrap;
}
.price-row:nth-child(odd) { background: var(--bg-alt); }
.price-row span:last-child { font-weight: 600; white-space: nowrap; }
.price-row small { color: var(--ink-soft); font-weight: 400; }

/* ===== Kontakt ===== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

address { font-style: normal; margin: 1rem 0 1.5rem; }
address p { margin-bottom: 0.75rem; }
address a { color: var(--accent); text-decoration: none; }
address a:hover { text-decoration: underline; }

.hours { list-style: none; max-width: 280px; margin-top: 0.5rem; }
.hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--line);
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.form-note { font-size: 0.85rem; color: var(--ink-soft); }

.map-wrap { margin-top: clamp(2rem, 5vw, 3rem); }
.map-wrap h3 { margin-bottom: 1rem; }

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.map-grid figure { margin: 0; }
.map-grid figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.map {
  display: block;
  width: 100%;
  height: clamp(280px, 40vw, 400px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--bg);
}

/* ===== Stopka ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.site-footer a { color: var(--accent); text-decoration: none; }

/* ===== Responsywność ===== */
@media (max-width: 820px) {
  .hero-inner,
  .about,
  .contact,
  .map-grid {
    grid-template-columns: 1fr;
  }

  .hero-art { max-width: 320px; margin-inline: auto; }

  .nav-toggle { display: flex; }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 0.5rem 4%;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { padding: 0.6rem 0; }
  .nav-menu .btn { text-align: center; margin: 0.5rem 0; }

  .header-phone-number { display: none; }
  .header-phone-icon { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .header-inner { gap: 0.5rem; }
  .logo { font-size: 1rem; }
  .logo svg { width: 32px; }
  .header-tools { gap: 0.4rem; }
  .lang-switch a { padding: 0.3rem 0.45rem; font-size: 0.8rem; }
}
