:root {
  --primary: #B08234;
  --primary-dark: #8A6323;
  --primary-soft: #F0E3C8;
  --text-dark: #241F19;
  --text-muted: #5B5346;
  --bg-cream: #FCFAF5;
  --bg-cream-alt: #F4EFE2;
  --white: #ffffff;
  --border: #E5DCC6;
  --radius: 14px;
  --radius-sm: 8px;
  --max-width: 1160px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 17px;
  background: var(--bg-cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 0.55em;
  color: var(--text-dark);
}
h1 { font-size: 2.5rem; }
h2 { font-size: 1.9rem; }
p { margin: 0 0 1em; }

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

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--text-dark);
  color: #d9d2c2;
  font-size: 0.84rem;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
}
.top-bar-contact { display: flex; gap: 20px; }
.top-bar-contact a { color: #d9d2c2; }
.top-bar-contact a:hover { color: var(--primary); text-decoration: none; }
.top-bar-social { display: flex; gap: 12px; }
.top-bar-social a {
  color: #d9d2c2;
  display: inline-flex;
  width: 17px;
  height: 17px;
}
.top-bar-social a:hover { color: var(--primary); }
.top-bar-social svg { width: 100%; height: 100%; }

/* ---------- Header ---------- */
.site-header {
  background: var(--bg-cream-alt);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px 20px;
  padding: 16px 24px;
}
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo-mark {
  width: 42px;
  height: 42px;
  color: var(--primary-dark);
  flex-shrink: 0;
}
.logo-mark svg { width: 100%; height: 100%; }
.logo img { max-height: 52px; }
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-dark);
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: flex-end;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--text-dark);
  font-weight: 500;
}
.main-nav a:hover { color: var(--primary-dark); text-decoration: none; }
.nav-cta { white-space: nowrap; padding: 12px 24px; font-size: 0.8rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(176,130,52,0.3); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-light { background: #fff; color: var(--primary-dark); border-color: #fff; }
.btn-light:hover { background: var(--text-dark); border-color: var(--text-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary-dark); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(176,130,52,0.3); }
.btn-secondary { background: transparent; color: var(--text-dark); border-color: var(--border); box-shadow: none; }
.btn-secondary:hover { box-shadow: none; border-color: var(--primary); transform: none; background: transparent; color: var(--text-dark); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, #D9AF62 0%, #C9954C 55%, #B87F3A 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 56px;
}
.hero-text { flex: 1; }
.hero-text h1 { font-size: 2.7rem; color: #fff; }
.hero-text p { font-size: 1.15rem; color: rgba(255,255,255,0.92); max-width: 480px; }
.hero-image { flex: 1; }
.hero-image img { border-radius: var(--radius); box-shadow: 0 20px 45px rgba(60,45,10,0.22); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.alt-bg { background: var(--bg-cream-alt); }

/* Statystyki */
.stats-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { padding: 12px; }
.stat-number {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: block;
}
.stat-label { color: var(--text-muted); font-size: 0.95rem; }

/* O mnie */
.about-inner {
  display: flex;
  gap: 48px;
  align-items: center;
}
.about-image { flex: 1; }
.about-image img { border-radius: var(--radius); }
.about-text { flex: 1.2; }
.link-more { font-weight: 600; }
.section-image { margin-bottom: 20px; }
.section-image img { border-radius: var(--radius); }

.rich-content ul { padding-left: 22px; }
.rich-content li { margin-bottom: 6px; }

/* Czytelność: ograniczona szerokość kolumny tekstu, wyśrodkowana na stronie,
   ale sam tekst wyrównany do lewej (najlepsze dla dłuższych akapitów) */
.rich-content { max-width: 700px; margin-left: auto; margin-right: auto; text-align: left; }
.rich-content.rich-content-wide { max-width: none; }

.section-title {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}
/* W układach dwukolumnowych (O mnie) tekst i tak jest już ograniczony przez kolumnę */
.about-text .rich-content { max-width: none; margin: 0; }

/* Oferta - siatka kart */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.offer-grid li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.offer-grid li:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(60,45,10,0.1);
  border-color: var(--primary);
}
.offer-grid li::before {
  content: "";
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--primary), var(--primary-dark));
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20.5s-7.5-4.6-9.8-9C.6 8 2.3 4.3 6 3.7c2.1-.3 4 .7 6 2.9 2-2.2 3.9-3.2 6-2.9 3.7.6 5.4 4.3 3.8 7.8-2.3 4.4-9.8 9-9.8 9z"/></svg>') center/26px no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20.5s-7.5-4.6-9.8-9C.6 8 2.3 4.3 6 3.7c2.1-.3 4 .7 6 2.9 2-2.2 3.9-3.2 6-2.9 3.7.6 5.4 4.3 3.8 7.8-2.3 4.4-9.8 9-9.8 9z"/></svg>') center/26px no-repeat;
}
.offer-grid li { font-weight: 600; color: var(--text-dark); }

.trust-section .rich-content { text-align: left; }

/* Jak pracujemy */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.process-item { padding: 8px; }
.process-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
}
.process-icon svg { width: 28px; height: 28px; }
.process-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.process-item p { color: var(--text-muted); font-size: 0.96rem; margin: 0; }

/* Opinie */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(60,45,10,0.08); }
.testimonial-card p { color: var(--text-dark); margin-bottom: 16px; }
.testimonial-footer { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-author { font-weight: 600; color: var(--text-dark); font-size: 0.95rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #D8BC80, #A9793A);
  color: var(--text-dark);
  padding: 60px 0;
  text-align: center;
}
.cta-band h2 { color: var(--text-dark); }
.cta-band p { color: #3a3222; }

/* ---------- Kontakt ---------- */
.contact-band {
  background: linear-gradient(160deg, #DCC28C, #AF7F32);
  padding: 64px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.contact-band h1, .contact-band h2 { color: var(--text-dark); }
.contact-form-card, .contact-map-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 16px 34px rgba(60,45,10,0.14);
}
.contact-info-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-info-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-dark); font-weight: 500; }
.contact-info-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--text-dark); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 20px; }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

/* Contact form */
.contact-form { max-width: 620px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.95rem; }
.form-row input, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: #fdfbf5;
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}
.honeypot { position: absolute; left: -9999px; top: -9999px; }
.form-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 12px; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.alert-success { background: #e5f6ea; color: #1f6b3a; }
.alert-error { background: #fbe7e6; color: #a02c25; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(160deg, #D8BC80, #A9793A); color: var(--text-dark); margin-top: 40px; }
.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 52px 24px;
}
.site-footer h3 { color: var(--text-dark); font-family: var(--font-head); font-size: 1.1rem; }
.site-footer a { color: var(--text-dark); }
.site-footer a:hover { color: #120f0b; }
.social-links { display: flex; gap: 12px; margin-top: 10px; }
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--text-dark);
  color: #f1e1bc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-links a:hover { background: #120f0b; text-decoration: none; }
.social-links svg { width: 18px; height: 18px; }
.social-links a span { display: none; }
.hint-muted { color: #3a3222; font-size: 0.9rem; }
.footer-legal { margin-top: 16px; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(43,38,32,0.2);
  padding: 16px 24px;
  font-size: 0.85rem;
  text-align: center;
  color: var(--text-dark);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Powrót do góry ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-dark);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s;
  z-index: 200;
  box-shadow: 0 6px 18px rgba(60,45,10,0.28);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top.stacked-above-phone { bottom: 86px; }
.back-to-top:hover { background: var(--primary-dark); color: #fff; }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Baner cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--text-dark);
  color: #e9e2d0;
  z-index: 300;
  padding: 18px 24px;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.2);
}
.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.cookie-banner p { margin: 0; flex: 1; min-width: 240px; font-size: 0.92rem; }
.cookie-banner a { color: var(--primary); text-decoration: underline; }
.cookie-banner-options { display: flex; gap: 14px; font-size: 0.88rem; }
.cookie-banner-options label { display: flex; align-items: center; gap: 6px; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.3); box-shadow: none; }
.cookie-banner .btn { padding: 10px 20px; }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .hero-inner, .about-inner { flex-direction: column; }
  .hero-image, .about-image { order: -1; width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .stats-section { grid-template-columns: 1fr; gap: 14px; }
  .process-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-cream-alt);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav.open { max-height: 480px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 24px 0; }
  .main-nav li { border-top: 1px solid var(--border); }
  .main-nav a { display: block; padding: 12px 0; }
  .nav-cta { margin: 14px 24px 20px; text-align: center; }
  h1 { font-size: 1.9rem; }
  .hero-text h1 { font-size: 2.1rem; }
  .hero { padding: 44px 0; }
  .section { padding: 44px 0; }
  .offer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .top-bar-inner { flex-direction: column; gap: 6px; padding: 8px 24px; }
  .back-to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions .btn { flex: 1; text-align: center; }
}

/* =========================================================
   WARIANTY UKŁADU (przełączane w Panel → Wygląd)
   Domyślny (bez klasy) = "Elegancki" (złoto/serif)
   ========================================================= */

/* ---------- Wariant: Nowoczesny ---------- */
.layout-modern h1, .layout-modern h2, .layout-modern h3,
.layout-modern .logo-text { font-family: var(--font-body); font-weight: 700; }
.layout-modern .hero { background: var(--primary); }
.layout-modern .hero-text p { color: rgba(255,255,255,0.88); }
.layout-modern .btn { border-radius: 10px; text-transform: none; letter-spacing: normal; font-size: 0.95rem; font-weight: 600; }
.layout-modern .offer-grid li,
.layout-modern .testimonial-card,
.layout-modern .contact-form-card,
.layout-modern .contact-map-card {
  box-shadow: none;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 10px;
}
.layout-modern .offer-grid li:hover, .layout-modern .testimonial-card:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}
.layout-modern .offer-grid li::before { border-radius: 10px; }
.layout-modern .process-icon { border-radius: 10px; border: none; background: var(--primary-soft); }
.layout-modern .cta-band { background: var(--text-dark); }
.layout-modern .cta-band h2, .layout-modern .cta-band p { color: #fff; }
.layout-modern .contact-band { background: var(--text-dark); }
.layout-modern .contact-band h1, .layout-modern .contact-band h2 { color: #fff; }
.layout-modern .site-footer { background: var(--text-dark); color: #cfd0da; }
.layout-modern .site-footer h3 { color: #fff; }
.layout-modern .site-footer a { color: #cfd0da; }
.layout-modern .social-links a { background: var(--primary); color: #fff; }
.layout-modern .hero-image img, .layout-modern .about-image img { border-radius: 10px; }

/* ---------- Wariant: Minimalistyczny ---------- */
.layout-minimal h1, .layout-minimal h2, .layout-minimal h3,
.layout-minimal .logo-text { font-family: var(--font-body); font-weight: 600; }
.layout-minimal .hero { background: var(--bg-cream-alt); padding: 90px 0; }
.layout-minimal .hero-text h1, .layout-minimal .hero-text p { color: var(--text-dark); }
.layout-minimal .hero-text p { color: var(--text-muted); }
.layout-minimal .hero-image img, .layout-minimal .about-image img,
.layout-minimal .section-image img { border-radius: 4px; box-shadow: none; }
.layout-minimal .btn {
  border-radius: 4px;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none !important;
  transform: none !important;
}
.layout-minimal .btn-primary, .layout-minimal .btn-light { background: transparent; color: var(--primary-dark); border: 1.5px solid var(--primary); }
.layout-minimal .btn-primary:hover, .layout-minimal .btn-light:hover { background: var(--primary); color: #fff; }
.layout-minimal .btn-outline { border-color: var(--text-dark); color: var(--text-dark); }
.layout-minimal .offer-grid li, .layout-minimal .testimonial-card {
  box-shadow: none; border: none; border-bottom: 1px solid var(--border); border-radius: 0; text-align: left; padding: 22px 4px;
}
.layout-minimal .offer-grid li:hover, .layout-minimal .testimonial-card:hover { transform: none; box-shadow: none; }
.layout-minimal .offer-grid li::before { display: none; }
.layout-minimal .process-icon { border-radius: 0; border: none; background: none; color: var(--primary-dark); width: 40px; height: 40px; }
.layout-minimal .cta-band, .layout-minimal .contact-band { background: var(--bg-cream-alt); }
.layout-minimal .cta-band h2, .layout-minimal .cta-band p,
.layout-minimal .contact-band h1, .layout-minimal .contact-band h2 { color: var(--text-dark); }
.layout-minimal .contact-form-card, .layout-minimal .contact-map-card { box-shadow: none; border: 1px solid var(--border); }
.layout-minimal .site-footer { background: var(--bg-cream-alt); color: var(--text-dark); }
.layout-minimal .site-footer h3 { color: var(--text-dark); }
.layout-minimal .site-footer a { color: var(--text-muted); }
.layout-minimal .social-links a { background: transparent; border: 1px solid var(--border); color: var(--text-dark); }
.layout-minimal .stat-number { font-family: var(--font-body); font-weight: 700; }

/* Tagi pod treścią podstron */
.tag-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.tag-chip {
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

/* Rezerwacja online (Kontakt) */
.booking-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 16px 34px rgba(60,45,10,0.14);
  margin-top: 28px;
}
.booking-embed {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 12px;
}
.booking-embed iframe { width: 100%; height: 640px; border: 0; display: block; }

/* Pływająca ikona telefonu */
.floating-phone {
  position: fixed;
  bottom: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(60,45,10,0.3);
  z-index: 200;
  animation: floatingPhonePulse 2.4s ease-in-out infinite;
}
.floating-phone-left { left: 22px; }
.floating-phone-right { right: 22px; }
.floating-phone:hover { background: var(--primary-dark); text-decoration: none; }
.floating-phone svg { width: 24px; height: 24px; }
@keyframes floatingPhonePulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(60,45,10,0.3), 0 0 0 0 rgba(176,130,52,0.35); }
  50% { box-shadow: 0 6px 18px rgba(60,45,10,0.3), 0 0 0 10px rgba(176,130,52,0); }
}

@media (max-width: 600px) {
  .floating-phone { width: 48px; height: 48px; }
  .floating-phone-left { left: 14px; }
  .floating-phone-right { right: 14px; }
  .booking-embed iframe { height: 480px; }
}

/* Osadzona galeria zdjęć w treści (shortcode [galeria id=X]) */
.embedded-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin: 24px 0;
}
.gallery-thumb {
  padding: 0;
  border: 0;
  background: none;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
  display: block;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.gallery-thumb:hover img { transform: scale(1.06); }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 5, 0.92);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox-content { max-width: 90vw; max-height: 85vh; text-align: center; }
.lightbox-content img { max-width: 100%; max-height: 75vh; border-radius: 8px; display: block; margin: 0 auto; }
.lightbox-caption { color: #f1e6cf; margin-top: 12px; font-size: 0.95rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 20px; height: 20px; }

@media (max-width: 600px) {
  .embedded-gallery { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; }
}

.znanylekarz-widget-wrap { max-width: 720px; margin: 0 auto; }

/* Okruszki nawigacji */
.breadcrumbs { margin-bottom: 18px; font-size: 0.88rem; color: var(--text-muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--text-muted); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary-dark); }
.breadcrumbs [aria-current] { color: var(--text-dark); font-weight: 500; }

/* FAQ ([faq]) */
.faq-list { margin: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.faq-item summary { cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--primary-dark); flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 0 18px 16px; color: var(--text-muted); }

/* Artykuły */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.article-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.article-card-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.article-card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card-body h2, .article-card-body h3 { font-size: 1.2rem; margin: 0; }
.article-card-body h2 a, .article-card-body h3 a { color: var(--text-dark); }
.article-card-body p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.article-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 18px; }
.article-card-body .article-meta { margin-bottom: 0; }
.article-cover { width: 100%; border-radius: var(--radius); margin: 0 0 28px; aspect-ratio: 16 / 9; object-fit: cover; }
.article-content h2 { margin-top: 1.6em; }
.article-content h3 { margin-top: 1.3em; }
.article-cta { margin-top: 40px; padding: 28px; border-radius: var(--radius); background: var(--primary-soft); text-align: center; }
.article-cta h2 { margin-bottom: 8px; }
.article-cta p { margin-bottom: 18px; }
