/* Autospa – Myjnia i wymiana opon, Nowa Wieś Lęborska / Lębork */
:root {
  --blue: #0a5bd3;
  --blue-dark: #063b8c;
  --accent: #ffc400;
  --ink: #101828;
  --muted: #475467;
  --bg: #ffffff;
  --bg-alt: #f2f6fc;
  --line: #d9e2ef;
  --radius: 14px;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }

/* ---------- Pasek górny ---------- */
.topbar { background: var(--blue-dark); color: #fff; font-size: .9rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }

/* ---------- Nawigacja ---------- */
header.site { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo img { width: 44px; height: 44px; flex: none; }
.logo-text { font-weight: 800; font-size: 1.5rem; letter-spacing: -.5px; line-height: 1; color: var(--ink); }
.logo-text > span { color: var(--blue); }
.logo-text small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
nav a:hover, nav a[aria-current="page"] { color: var(--blue); }
#menu-toggle, .burger { display: none; }

@media (max-width: 860px) {
  .burger { display: block; cursor: pointer; font-size: 1.8rem; padding: 4px 8px; user-select: none; }
  nav { position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  nav ul { flex-direction: column; gap: 0; }
  nav li a { display: block; padding: 14px 16px; border-top: 1px solid var(--line); }
  #menu-toggle:checked ~ nav { display: block; }
}

/* ---------- Przyciski ---------- */
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Hero ---------- */
.hero {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(6,59,140,.92), rgba(10,91,211,.80)),
    url("/img/hero.jpg") center/cover no-repeat, var(--blue-dark);
  padding: 80px 0 90px;
}
.hero .lead { color: #e3ecff; }
.hero .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.hero .tags li { background: rgba(255,255,255,.15); padding: 6px 14px; border-radius: 999px; font-size: .9rem; }
.breadcrumb { font-size: .9rem; margin-bottom: 14px; color: #cfdcff; }
.breadcrumb a { color: #fff; }

/* ---------- Karty usług ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.card .ico { font-size: 2.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.card.featured { border: 2px solid var(--accent); box-shadow: 0 10px 30px rgba(16,24,40,.08); }
.badge { display: inline-block; background: var(--accent); color: var(--ink); font-size: .75rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; align-self: flex-start; }

/* ---------- Lista z ptaszkami ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 8px; }
.checks li::before { content: "✔"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }

.split { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--blue-dark); color: #fff; border-radius: var(--radius); padding: 32px; }
.panel h3 { color: var(--accent); }
.panel a { color: #fff; }

/* ---------- Pasek CTA ---------- */
.cta { background: var(--accent); padding: 40px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.cta h2 { margin: 0; }

/* ---------- FAQ ---------- */
details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin-bottom: 12px; }
summary { font-weight: 700; cursor: pointer; }
details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 30px; grid-template-columns: 1fr 1.3fr; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.map { width: 100%; height: 380px; border: 0; border-radius: var(--radius); }
table.hours { border-collapse: collapse; width: 100%; max-width: 360px; }
table.hours td { padding: 6px 0; border-bottom: 1px solid var(--line); }
table.hours td:last-child { text-align: right; font-weight: 600; }

/* ---------- Stopka ---------- */
footer.site { background: var(--ink); color: #c5ccd8; padding: 48px 0 24px; font-size: .95rem; }
footer.site a { color: #fff; }
footer.site .cols { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
footer.site h3 { color: #fff; font-size: 1.05rem; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 6px; }
footer.site .copy { border-top: 1px solid #2b3446; margin-top: 30px; padding-top: 18px; font-size: .85rem; }

/* ---------- Pływający przycisk "Zadzwoń" (telefon) ---------- */
.call-fab { display: none; }
@media (max-width: 860px) {
  .call-fab { display: block; position: fixed; right: 16px; bottom: 16px; z-index: 60; background: #12b76a; color: #fff; font-weight: 800; padding: 14px 20px; border-radius: 999px; text-decoration: none; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
}

/* ---------- Zdjęcia ---------- */
.photo { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4 / 3; }
.card-img { width: calc(100% + 56px); max-width: none; margin: -28px -28px 18px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.card.featured .card-img { width: calc(100% + 56px); }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.topbar span { white-space: normal; }
