/* ===========================================================
   kroplowkimed.pl — odbudowa strony
   Motyw: pełna czerń #000000 + złoto (ciemny / dark)
   =========================================================== */

:root {
  --black: #000000;        /* tło strony, nagłówek, stopka */
  --black-soft: #0c0c0c;   /* submenu */
  --gold: #c89b3c;
  --gold-light: #e0c074;
  --gold-dark: #a87f29;
  --cream: #161616;        /* ciemna powierzchnia akcentowa (dawniej krem) */
  --cream-soft: #0b0b0b;   /* sekcje naprzemienne */
  --surface: #121212;      /* karty, kafelki */
  --surface-2: #1a1a1a;    /* hover / wyróżnienie */
  --text: #d8d8d8;
  --text-soft: #a6a6a6;
  --white: #ffffff;        /* nagłówki i jasny tekst */
  --line: #2a2a2a;
  --shadow: 0 14px 34px rgba(0, 0, 0, .55);
  --radius: 14px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

/* skip link (a11y) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--black);
  padding: 10px 18px; font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--black);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: var(--gold-light); text-decoration: none; }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--cream { background: var(--cream-soft); }
.section--dark { background: var(--black); color: #e9e9e9; }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }

.lead { font-size: 1.2rem; color: var(--text-soft); }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: .8em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 40px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid var(--gold);
  transition: all .2s ease;
}
.btn--primary { background: var(--gold); color: var(--black); }
.btn--primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--gold-light); }
.btn--ghost:hover { background: var(--gold); color: var(--black); }
.btn--light { border-color: var(--gold-light); color: var(--gold-light); background: transparent; }
.btn--light:hover { background: var(--gold-light); color: var(--black); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 2px solid var(--gold-dark);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
}
.brand img { height: 66px; width: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--gold-light);
  font-size: 1.8rem;
  cursor: pointer;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 10px 14px;
  color: #f0e6d4;
  font-weight: 600;
  font-size: .98rem;
  border-radius: 8px;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active { color: var(--black); background: var(--gold-light); }

/* dropdown */
.has-sub { position: relative; }
.has-sub > a::after { content: " ▾"; font-size: .8em; opacity: .8; }
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--black-soft);
  border: 1px solid var(--gold-dark);
  border-radius: 10px;
  padding: 8px;
  display: none;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu { display: flex; }
.submenu a { color: #f0e6d4; }

/* ---------- Hero ---------- */
.hero {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
}
.hero__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}
.hero h1 { margin-bottom: .3em; }
.hero__sub { font-size: 1.25rem; color: var(--text-soft); margin-bottom: 1.4em; }
.hero__cta {
  display: inline-block;
  background: var(--black);
  color: var(--gold-light);
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  border-left: 4px solid var(--gold);
}

/* ---------- Region picker ---------- */
.region-card {
  background: var(--surface);
  color: var(--white);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.region-card h2 { color: var(--gold-light); }
.region-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ---------- Feature grid ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature__icon {
  width: 58px; height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--gold-light);
  font-size: 1.6rem;
}
.feature h3 { margin-bottom: .3em; }
.feature p { color: var(--text-soft); margin: 0; font-size: .98rem; }

/* ---------- Info / registry strip ---------- */
.registry {
  background: var(--cream-soft);
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
  font-size: 1.05rem;
}
.registry strong { color: var(--white); }

/* ---------- Split media ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Hours ---------- */
.hours {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hours__head {
  background: var(--black);
  color: var(--gold-light);
  text-align: center;
  padding: 18px;
  letter-spacing: .15em;
  font-weight: 700;
  text-transform: uppercase;
}
.hours__row {
  display: flex;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
}
.hours__row:last-child { border-bottom: 0; }
.hours__row span:last-child { font-weight: 700; color: var(--gold-light); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 70px; margin-bottom: 28px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 48px; height: 48px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
}
.step h3 { margin-bottom: .2em; }

/* ---------- FAQ accordion ---------- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--surface);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 24px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: Georgia, serif;
}
.faq-q::after { content: "+"; color: var(--gold-light); font-size: 1.6rem; line-height: 1; }
.faq-item.open .faq-q::after { content: "–"; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 24px;
  color: var(--text-soft);
}
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 22px; }

/* ---------- Blog ---------- */
.post {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post__img { height: 180px; background: var(--cream); object-fit: cover; width: 100%; }
.post__body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.post__tag {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--gold-light); font-weight: 700; margin-bottom: 8px;
}
.post h3 { font-size: 1.15rem; }
.post p { color: var(--text-soft); font-size: .96rem; flex: 1; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: #cdbfa6; max-width: 680px; margin: 0 auto; }
.breadcrumb { color: var(--gold-light); font-size: .85rem; margin-bottom: 14px; letter-spacing: .05em; }
.breadcrumb a { color: var(--gold-light); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--cream);
  text-align: center;
  padding: 60px 0;
}
.cta-band h2 { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: #cdbfa6;
  padding: 56px 0 26px;
  font-size: .95rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.site-footer img { height: 76px; width: auto; margin-bottom: 16px; }
.site-footer h4 { color: var(--gold-light); font-family: "Segoe UI", sans-serif; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cdbfa6; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 36px;
  padding-top: 20px;
  text-align: center;
  font-size: .85rem;
  color: #8c8170;
}

/* ---------- Prose (articles & text pages) ---------- */
.prose { font-size: 1.06rem; }
.prose p { margin: 0 0 1.15em; }
.prose h2 { margin-top: 1.6em; font-size: 1.55rem; }
.prose h3 { margin-top: 1.3em; font-size: 1.2rem; }
.prose ul { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose blockquote {
  margin: 1.4em 0; padding: 14px 22px;
  border-left: 4px solid var(--gold);
  background: var(--cream-soft); color: var(--text-soft); font-style: italic;
}

.article-wrap { max-width: 800px; margin: 0 auto; }
.post-figure { margin: 0 0 36px; }
.post-figure img {
  width: 100%; height: auto; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.page-hero--post { text-align: left; }
.page-hero--post .breadcrumb { text-align: left; }
.post-meta { color: #cdbfa6; font-size: .9rem; margin: 0; }

/* tags */
.post-tags { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.post-tags__label { font-weight: 700; margin-right: 8px; color: var(--text-soft); }
.chip {
  display: inline-block; margin: 4px 6px 4px 0; padding: 5px 14px;
  background: var(--surface-2); color: var(--gold-light);
  border-radius: 30px; font-size: .82rem; font-weight: 600;
}

.related-title { font-size: 1.3rem; margin: 44px 0 4px; }

/* prev / next */
.post-nav {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line);
}
.post-nav .btn { font-size: .9rem; }

/* city list on region pages */
.city-list {
  list-style: none; padding: 0; margin: 14px 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px;
}
.city-list li {
  padding-left: 24px; position: relative;
}
.city-list li::before {
  content: "📍"; position: absolute; left: 0; top: 0; font-size: .9em;
}

/* blog index card tweaks */
.post__imglink { display: block; }
.post__title { margin: 0 0 .4em; }
.post__title a { color: var(--white); }
.post__title a:hover { color: var(--gold-light); }
.post__more { margin-top: 12px; font-weight: 700; align-self: flex-start; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 88px; left: 0; right: 0;
    background: var(--black);
    border-bottom: 2px solid var(--gold-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 640px; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; }
  .submenu { position: static; display: flex; border: 0; padding-left: 18px; background: transparent; box-shadow: none; }
  .has-sub > a::after { content: ""; }
  .hero .container { grid-template-columns: 1fr; }
  .split, .footer-grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid--4, .grid--2 { grid-template-columns: 1fr; }
}
