/* Doktor Kluczyk – ciemny motyw z akcentami w kolorach szyldu (limonka → żółty) */
:root {
  /* kolory surowe */
  --lime: #87ff00;
  --lime-2: #c6ff00;
  --yellow: #ffff00;
  --blue: #3b7bff;
  --ink: #111111;
  --white: #ffffff;
  --paper: #f7f8f2;
  --brand-grad: linear-gradient(120deg, #87ff00 0%, #c6ff00 45%, #ffff00 100%);

  /* kolory znaczeniowe – motyw ciemny */
  --bg: #0e100d;
  --surface: #171a16;
  --surface-2: #1f231e;
  --text: #f3f6ec;
  --text-2: #c3c8b9;
  --muted: #8d9384;
  --border: #2d3229;
  --border-strong: #3a4035;
  --shadow-c: #000000;
  --input-bg: #10120f;
  --btn-bg: var(--brand-grad);
  --btn-fg: #111111;
  --btn-border: transparent;
  --btn2-fg: #f3f6ec;
  --btn2-border: #f3f6ec;
  --accent: var(--lime);

  --radius: 18px;
  --shadow: 6px 6px 0 var(--shadow-c);
  --shadow-sm: 4px 4px 0 var(--shadow-c);
  --font-head: "Archivo Black", "Arial Black", Impact, sans-serif;
  --font-body: "Archivo", "Segoe UI", Arial, sans-serif;
  color-scheme: dark;
}

/* Fragmenty na limonkowym tle – czarny tekst i czarne przyciski */
.on-lime {
  --text: #111111;
  --text-2: #262a1f;
  --muted: #3c4233;
  --border-strong: #111111;
  --shadow-c: #111111;
  --btn-bg: #111111;
  --btn-fg: #ffff00;
  --btn-border: #111111;
  --btn2-fg: #111111;
  --btn2-border: #111111;
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--lime); color: var(--ink); padding: .6em 1em; z-index: 100; }
.skip:focus { left: 1em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.on-lime :focus-visible { outline-color: var(--ink); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 820px; }
.eyebrow {
  display: inline-block; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  font-size: .78rem; background: transparent; color: var(--lime); border: 2px solid var(--lime);
  padding: .3em .8em; border-radius: 999px; margin-bottom: 1rem;
}
.on-lime .eyebrow { color: var(--ink); border-color: var(--ink); background: rgba(255,255,255,.5); }
.lead { font-size: 1.18rem; color: var(--text-2); max-width: 46ch; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: .85em 1.4em; border-radius: 999px; border: 3px solid var(--btn-border); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 6px 18px rgba(135,255,0,.18); }
.on-lime .btn-dark { box-shadow: 4px 4px 0 rgba(0,0,0,.25); }
.btn-dark:hover { box-shadow: 0 10px 26px rgba(135,255,0,.3); }
.on-lime .btn-dark:hover { box-shadow: 6px 6px 0 rgba(0,0,0,.3); }
.btn-light, .btn-outline { background: transparent; color: var(--btn2-fg); border-color: var(--btn2-border); }
.btn-light:hover, .btn-outline:hover { background: rgba(255,255,255,.08); }
.on-lime .btn-light:hover, .on-lime .btn-outline:hover { background: rgba(255,255,255,.4); }
.btn-sm { font-size: .9rem; padding: .6em 1.1em; }

/* ---------- Nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14,16,13,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 80px; height: auto; }
.brand-name { font-family: var(--font-head); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .01em; }
.brand-name::first-letter { color: var(--lime); }
.main-nav { display: flex; align-items: center; gap: .3rem; }
.main-nav a { text-decoration: none; font-weight: 600; padding: .5em .95em; border-radius: 999px; color: var(--text-2); transition: color .15s, background-color .15s; }
.main-nav a:hover { color: var(--text); background: var(--surface-2); }
.main-nav a.is-active { background: var(--brand-grad); color: var(--ink); }
.main-nav .nav-phone { border: 2px solid var(--lime); color: var(--lime); margin-left: .5rem; white-space: nowrap; }
.main-nav .nav-phone:hover { background: var(--lime); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 2px solid var(--border-strong); border-radius: 12px; width: 50px; height: 46px; cursor: pointer; padding: 10px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span:not(.sr) { display: block; height: 3px; background: var(--text); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { background: var(--brand-grad); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08;
  background-image: radial-gradient(#111 1.4px, transparent 1.5px); background-size: 22px 22px;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.hero h1 { margin-bottom: .35em; }
.hero .mark { background: var(--ink); color: var(--yellow); padding: 0 .15em; border-radius: 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.hero-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-chips li { font-weight: 700; font-size: .9rem; border: 2px solid var(--ink); border-radius: 999px; padding: .25em .9em; background: rgba(255,255,255,.45); }
/* Logo bez dodatkowej ramki – samo, z cieniem */
.hero-logo { display: grid; place-items: center; }
.hero-logo img {
  width: 100%; max-width: 600px; height: auto; transform: rotate(-4deg);
  filter: drop-shadow(10px 14px 0 rgba(0,0,0,.22));
  animation: logo-in .7s cubic-bezier(.2,.9,.3,1.3) both;
}
@keyframes logo-in { from { transform: rotate(-12deg) scale(.85); opacity: 0; } to { transform: rotate(-4deg) scale(1); opacity: 1; } }
.hero-photo { position: relative; transform: rotate(-2deg); }
.hero-photo > img:first-child { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--ink); }
.hero-badge { position: absolute; left: -24px; bottom: -28px; width: 170px; height: auto; transform: rotate(4deg); filter: drop-shadow(4px 6px 0 rgba(0,0,0,.35)); }

.ticker { position: relative; background: var(--ink); color: var(--lime); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { font-family: var(--font-head); text-transform: uppercase; font-size: 1.05rem; padding: .75rem 1.4rem; white-space: nowrap; }
.ticker span::after { content: "✦"; margin-left: 2.8rem; color: var(--yellow); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track, .hero-logo img { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Sekcje ---------- */
.section { padding: 5rem 0; }
.section-head { margin-bottom: 2.4rem; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--lime); border-bottom: 2px solid transparent; padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--lime); }

/* Usługi – kafelki ze zdjęciami */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.service:hover { transform: translateY(-4px); border-color: var(--lime); box-shadow: 0 16px 40px rgba(0,0,0,.45), 0 0 0 1px var(--lime); }
.service-visual { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.service-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service:hover .service-visual img { transform: scale(1.06); }
.service-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(14,16,13,.75) 100%); pointer-events: none; }
.service-visual.is-icon { background: var(--brand-grad); display: grid; place-items: center; }
.service-visual.is-icon::after { display: none; }
.service-visual svg { width: 46%; height: auto; color: var(--ink); }
.service-no { position: absolute; z-index: 1; top: 12px; left: 12px; font-family: var(--font-head); font-size: .9rem; background: var(--lime); color: var(--ink); border-radius: 999px; padding: .15em .7em; }
.service-body { padding: 1.3rem 1.4rem 1.6rem; border-top: 3px solid var(--lime); }
.service h3 { margin-bottom: .45em; }
.service p { margin: 0; color: var(--text-2); }

/* O nas */
.section-about { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3.5rem; align-items: center; }
.about-text p:not(.eyebrow) { font-size: 1.08rem; color: var(--text-2); max-width: 60ch; }
.perks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.perks li { border-top: 3px solid var(--lime); padding-top: .8rem; }
.perks strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.05rem; margin-bottom: .2rem; }
.perks span { font-size: .95rem; color: var(--muted); }

/* Godziny – jak tablica firmowa */
.hours {
  background: var(--brand-grad); border-radius: var(--radius); box-shadow: 10px 10px 0 rgba(0,0,0,.55);
  padding: 2rem 2rem 1.6rem; text-align: center; transform: rotate(1.5deg); color: var(--ink);
}
.hours-title { font-family: Georgia, "Times New Roman", serif; font-weight: 900; text-transform: uppercase; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: .04em; margin-bottom: .8rem; }
.hours dl { margin: 0; display: grid; gap: .3rem; }
.hours dl > div { display: flex; justify-content: space-between; gap: 1rem; font-style: italic; font-weight: 700; font-size: 1.25rem; }
.hours dt::after { content: ":"; }
.hours dd { margin: 0; }
.hours--compact { transform: none; padding: 1.4rem 1.6rem 1.2rem; margin: 1.6rem 0; box-shadow: none; }
.hours--compact .hours-title { font-size: 1.5rem; }
.hours--compact dl > div { font-size: 1.1rem; }

/* Nowości */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-4px); border-color: var(--lime); box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.news-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.news-card-img { position: relative; aspect-ratio: 16 / 10; background: var(--brand-grad); overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-img.is-empty { display: grid; place-items: center; }
.news-card-img .news-placeholder { width: 46%; height: auto; object-fit: contain; }
.news-count { position: absolute; right: 10px; bottom: 10px; background: var(--ink); color: var(--lime); font-size: .8rem; font-weight: 700; padding: .2em .7em; border-radius: 999px; }
.news-card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.news-card-body time { font-size: .82rem; font-weight: 700; color: var(--lime); text-transform: uppercase; letter-spacing: .08em; }
.news-card-body h3 { margin: .4em 0 .45em; font-size: 1.25rem; }
.news-card-body p { color: var(--text-2); font-size: .98rem; flex: 1; }
.read-more { font-weight: 700; color: var(--lime); }

/* CTA */
.section-cta { background: var(--brand-grad); padding: 3.5rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-cta h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .3em; }
.section-cta p { margin: 0; color: var(--text-2); }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Podstrony */
.page-hero { background: var(--brand-grad); padding: 3.5rem 0 3rem; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -40px; top: 50%; width: 340px; height: 210px; transform: translateY(-50%) rotate(-8deg); background: url(img/logo.png) center / contain no-repeat; opacity: .16; pointer-events: none; }
.page-hero h1 { margin-bottom: .3em; }
.empty { background: var(--surface); border: 2px dashed var(--border-strong); border-radius: var(--radius); padding: 2.5rem; text-align: center; font-size: 1.1rem; color: var(--text-2); }
.empty a { color: var(--lime); }

/* Oddziały */
.branch-jump { position: sticky; top: 78px; z-index: 20; background: rgba(14,16,13,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.branch-jump-inner { display: flex; gap: .5rem; overflow-x: auto; padding-top: .7rem; padding-bottom: .7rem; scrollbar-width: thin; }
.branch-jump a { flex: none; display: flex; flex-direction: column; text-decoration: none; padding: .35rem .9rem; border: 1px solid var(--border-strong); border-radius: 12px; line-height: 1.25; transition: border-color .15s, background-color .15s; }
.branch-jump a:hover { border-color: var(--lime); background: var(--surface); }
.bj-city { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--lime); }
.bj-name { font-weight: 600; font-size: .92rem; white-space: nowrap; }
.branch-jump a.is-partner .bj-city { color: var(--yellow); }
html { scroll-padding-top: 160px; }

.section-branches .section-head { margin-bottom: 1.8rem; }
.section-head--partners { margin-top: 4.5rem; padding-top: 3.5rem; border-top: 1px solid var(--border); }
.section-head--partners .eyebrow { color: var(--yellow); border-color: var(--yellow); }
.branches { display: grid; gap: 1.8rem; }
.branch {
  display: grid; grid-template-columns: 1.05fr 1fr 1.1fr; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: border-color .2s;
}
.branch:hover { border-color: var(--border-strong); }
.branch:target { border-color: var(--lime); box-shadow: 0 0 0 2px var(--lime); }
.branch--partner:target { border-color: var(--yellow); box-shadow: 0 0 0 2px var(--yellow); }
.branch-photo-wrap { position: relative; min-height: 340px; background: var(--surface-2); }
.branch-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.branch-photo--empty { display: grid; place-items: center; background: var(--brand-grad); }
.branch-photo--empty img { width: 60%; }
.branch-no { position: absolute; top: 14px; left: 14px; font-family: var(--font-head); background: var(--lime); color: var(--ink); border-radius: 999px; padding: .1em .75em; }
.branch-badge { position: absolute; left: 14px; bottom: 14px; background: var(--ink); color: var(--yellow); border: 2px solid var(--yellow); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; border-radius: 999px; padding: .25em .85em; }
.branch--partner .branch-no { background: var(--yellow); }

.branch-info { padding: 1.8rem 1.7rem; display: flex; flex-direction: column; }
.branch-logo { width: 150px; height: auto; margin: -.4rem 0 .9rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.branch-info h3 { font-size: 1.55rem; margin-bottom: .25em; }
.branch-place { color: var(--lime); font-weight: 700; margin: 0 0 .5rem; }
.branch--partner .branch-place { color: var(--yellow); }
.branch-addr { font-size: 1.08rem; color: var(--text); margin-bottom: 1rem; }
.branch-note { color: var(--muted); font-size: .95rem; }
.branch-hours { margin: 0 0 1rem; display: grid; gap: .15rem; background: var(--surface-2); border-left: 4px solid var(--lime); border-radius: 0 10px 10px 0; padding: .7rem 1rem; }
.branch--partner .branch-hours { border-left-color: var(--yellow); }
.branch-hours > div { display: flex; justify-content: space-between; gap: 1rem; }
.branch-hours dt { color: var(--text-2); }
.branch-hours dd { margin: 0; font-weight: 700; text-align: right; }
.branch-extras { margin-bottom: 1rem; padding: .7rem 1rem; border: 1px dashed var(--lime); border-radius: 10px; }
.branch-extras strong { color: var(--lime); font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.branch-extras ul { margin: .3rem 0 0; padding-left: 1.1rem; color: var(--text); }
.branch-contact { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: .35rem; }
.branch-contact a { text-decoration: none; font-weight: 600; font-size: .95rem; overflow-wrap: normal; }
.branch-contact a:hover { color: var(--lime); }
.branch-contact li:first-child a { font-family: var(--font-head); font-weight: 400; font-size: 1.3rem; word-break: normal; }

.branch-map { position: relative; border-left: 1px solid var(--border); min-height: 340px; background: var(--surface-2); }
.branch-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95); }
.branch-route { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,.55); }
.branch-route:hover { transform: translateX(-50%) translateY(-2px); }

/* Wpis */
.post h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.link-back { display: inline-block; font-weight: 700; text-decoration: none; margin-bottom: 1.5rem; color: var(--lime); }
.post-date { display: block; font-weight: 700; color: var(--lime); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; margin-bottom: .6rem; }
.post-cover { margin: 1.5rem 0 2rem; }
.post-cover img { width: 100%; border-radius: var(--radius); }
.post-body { font-size: 1.12rem; color: var(--text-2); }
.post-body a { color: var(--lime); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-top: 2rem; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; transition: transform .15s; }
.gallery a:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 200; display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 100%; border-radius: 10px; }
.lightbox button { position: absolute; top: 14px; right: 18px; background: var(--lime); border: 0; border-radius: 50%; width: 46px; height: 46px; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
.pager { display: flex; gap: .5rem; justify-content: center; margin-top: 2.5rem; }
.pager a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 50%; text-decoration: none; font-weight: 700; background: var(--surface); }
.pager a.is-active { background: var(--lime); color: var(--ink); border-color: var(--lime); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.3rem; transition: border-color .15s, transform .15s; }
.contact-card:hover { border-color: var(--lime); transform: translateY(-2px); }
.cc-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--lime); }
.cc-value { font-family: var(--font-head); font-size: 1.35rem; word-break: break-word; }
.contact-branches h2 { font-size: 1.5rem; }
.contact-branches ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.contact-branches li { display: flex; flex-direction: column; border-left: 4px solid var(--lime); padding-left: .9rem; color: var(--text-2); }
.contact-branches li strong { color: var(--text); }
.contact-branches a { text-decoration: none; }
.contact-branches a:hover { color: var(--lime); }
.cb-links { display: flex; flex-wrap: wrap; gap: .2rem 1rem; font-size: .95rem; }
.cb-partner { font-style: normal; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); background: var(--yellow); border-radius: 999px; padding: .05em .55em; vertical-align: middle; }
.contact-form-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 700; font-size: .95rem; }
.form input, .form textarea, .form select {
  font: inherit; font-weight: 400; padding: .75em .9em; border: 2px solid var(--border-strong); border-radius: 12px;
  background: var(--input-bg); color: var(--text); width: 100%; transition: border-color .15s, box-shadow .15s;
}
.form input::placeholder, .form textarea::placeholder { color: var(--muted); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(135,255,0,.18); }
.form .hp { position: absolute; left: -9999px; }
.form button { justify-self: start; }
.alert { border-radius: 12px; padding: .9rem 1.1rem; margin-bottom: 1.2rem; font-weight: 600; }
.alert-ok { background: var(--lime); color: var(--ink); }
.alert-err { background: #4a1a14; color: #ffd9d4; border: 1px solid #8a2e22; }

/* Stopka */
.site-footer { background: #080907; color: var(--text-2); border-top: 4px solid var(--lime); padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.footer-logo { width: 130px; height: auto; margin-bottom: 1rem; }
.site-footer h3 { color: var(--lime); font-size: 1.1rem; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--border); margin-top: 2.5rem; padding: 1.2rem 20px; font-size: .9rem; color: var(--muted); }
.footer-bottom .footer-admin { color: #555; }

/* ---------- Responsywność ---------- */
@media (max-width: 980px) {
  .services, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .branch { grid-template-columns: 1fr 1fr; }
  .branch-map { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--border); min-height: 280px; }
  .hours { max-width: 440px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; padding: .8rem 20px 1.2rem; gap: .3rem;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .8em 1em; }
  .main-nav .nav-phone { margin-left: 0; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 3rem; gap: 2.5rem; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .page-hero::after { opacity: .1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 3.5rem 0; }
  .services, .news-grid, .perks, .footer-grid { grid-template-columns: 1fr; }
  .brand img { width: 62px; }
  .brand-name { font-size: 1.05rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hours { transform: none; padding: 1.5rem 1.2rem; }
  .hours dl > div { font-size: 1.1rem; }
  .branch { grid-template-columns: 1fr; }
  .branch-photo-wrap { min-height: 0; aspect-ratio: 4 / 3; }
  .branch-map { min-height: 260px; }
  .branch-info, .contact-form-box { padding: 1.4rem; }

  .footer-bottom { padding: 1.2rem 16px; }
}
