/* Dr Michał Janiszewski
   Palette and type lifted from the live Elementor globals: copper #AE6A37,
   ink #1A1A1A / #141414, Playfair Display + Inter. Neutrals are warmed
   (bone, not grey) and radii are pill-first, per the Function Health brief. */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

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

/* Orbit writes an empty string into unset image fields. Must stay first. */
img[src=""] { display: none; }

:root {
  /* Copper, from the live site's --e-global-color-accent */
  --copper:        #AE6A37;
  --copper-light:  #C68350;
  --copper-warm:   #D9955F;
  --copper-pale:   rgba(174, 106, 55, 0.14);

  /* Warm darks, not pure black */
  --ink:           #141414;
  --ink-soft:      #1C1B1A;
  --ink-card:      #232120;

  /* Warm neutrals, not cold grey */
  --bone:          #F4EFE7;
  --bone-deep:     #EAE2D6;
  --white:         #FFFFFF;

  --text:          #221F1D;
  --text-mid:      #55504B;
  --text-soft:     #857D75;
  --on-dark:       rgba(255, 255, 255, 0.72);
  --on-dark-soft:  rgba(255, 255, 255, 0.44);

  --line:          #E0D8CB;
  --line-dark:     rgba(255, 255, 255, 0.12);

  --serif:         'Playfair Display', Georgia, serif;
  --sans:          'Inter', system-ui, sans-serif;

  /* Aliases for the not-yet-redesigned templates, which still say --amber/--mid */
  --amber:         var(--copper);
  --amber-light:   var(--copper-light);
  --mid:           var(--text-mid);
  --muted:         var(--text-soft);
  --bg:            var(--white);
  --bg-soft:       var(--bone);
  --border:        var(--line);
  --dark:          var(--ink);

  --radius:        18px;
  --radius-sm:     12px;
  --pill:          999px;
  --max:           1180px;
  --pad-x:         5%;
  /* Nav height, used to pull the hero up underneath the floating pill.
     Measured, with a 2px overshoot so no page background shows between the
     promo bar and the photograph if the pill grows by a pixel. */
  --nav-h:         96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }

/* =====================
   SCROLL REVEAL
===================== */
.reveal { opacity: 1; }
/* Only hide when JS is present to reveal it again. Without this guard a
   template that forgets the observer renders its content permanently invisible. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.06s; }
.d2 { transition-delay: 0.13s; }
.d3 { transition-delay: 0.20s; }
.d4 { transition-delay: 0.27s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================
   TYPE
===================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--copper);
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.eyebrow--center { justify-content: center; }
.section--dark .eyebrow { color: var(--copper-warm); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin-top: 1.1rem;
}
.section-body {
  font-size: 1.0125rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-top: 1.1rem;
  max-width: 60ch;
}
.section--dark .section-title { color: #fff; }
.section--dark .section-body { color: var(--on-dark); }
.section-body p + p { margin-top: 1rem; }

/* =====================
   BUTTONS — pill-first
===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0.95rem 2.1rem;
  border-radius: var(--pill);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-copper { background: var(--copper); color: #fff; }
.btn-copper:hover { background: var(--copper-light); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-soft); }
.btn-light { background: #fff; color: var(--copper); }
.btn-light:hover { background: var(--bone); }
.btn-outline { border-color: var(--copper); color: var(--copper); }
.btn-outline:hover { background: var(--copper); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.34); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.09); }

/* =====================
   ANNOUNCEMENT BAR — the live site leads with one
===================== */
.promo {
  background: var(--copper);
  color: #fff;
  text-align: center;
  padding: 0.7rem var(--pad-x);
  font-size: 0.8125rem;
}
.promo-inner { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.promo a {
  display: inline-block;
  padding: 0.3rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--pill);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.promo a:hover { background: rgba(255, 255, 255, 0.16); }

/* =====================
   NAV — floating pill, no bar of its own. The hero is pulled up under it
   so the portrait is never cut. The pill re-tones per section on scroll.
===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem var(--pad-x);
  background: transparent;
  pointer-events: none;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem 0.7rem 0.55rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--pill);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  transition: color 0.35s ease;
}
.nav-logo span { color: var(--copper-warm); transition: color 0.35s ease; }
.nav-links { display: flex; gap: 1.9rem; list-style: none; }
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--on-dark);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--copper-warm); }
.nav-cta { padding: 0.66rem 1.5rem; font-size: 0.75rem; }

/* Solid variant for pages without tone zones yet, so the pill is always
   legible instead of white-on-white. */
.nav--solid .nav-inner {
  background: rgba(20, 20, 20, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Over a light section: frosted white pill, dark text */
.nav--light .nav-inner {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(34, 31, 29, 0.1);
  box-shadow: 0 10px 34px rgba(34, 31, 29, 0.09);
}
.nav--light .nav-logo { color: var(--text); }
.nav--light .nav-logo span { color: var(--copper); }
.nav--light .nav-links a { color: var(--text-mid); }
.nav--light .nav-links a:hover { color: var(--copper); }

/* =====================
   HERO
===================== */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  /* Pull up under the floating nav so the photograph starts at the very top */
  margin-top: calc(var(--nav-h) * -1);
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: url('/img/hero-janiszewski.jpg');
  /* Full height at every width. `cover` scaled by width on wide screens and
     cropped his body away, leaving just the head. `auto 100%` pins the image
     to the hero's height and lets the width fall where it may — the only thing
     ever cropped is the empty dark space on his left, and .hero's ink
     background continues seamlessly past the edge of the photograph. */
  background-size: auto 100%;
  background-position: right center;
  background-repeat: no-repeat;
}
/* Plain dark ramp for headline legibility. No glow. */
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(98deg, #141414 0%, rgba(20, 20, 20, 0.92) 33%, rgba(20, 20, 20, 0.52) 58%, rgba(20, 20, 20, 0.06) 82%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 6rem) var(--pad-x) 8rem;
}
.hero-text { max-width: 640px; }
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.6vw, 4.35rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 1.6rem 0 1.4rem;
}
.hero-title em { font-style: italic; color: var(--copper-warm); }
.hero-sub {
  font-size: 1.0625rem;
  color: var(--on-dark);
  line-height: 1.8;
  max-width: 32em;
  margin-bottom: 2.4rem;
}
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* =====================
   TRUST STRIP — bone, so the dark hero lands on warm light
===================== */
.trust { background: var(--bone); }
.trust-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item { padding: 2.4rem 1.75rem; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: none; }
.trust-value {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--copper);
  line-height: 1.2;
}
.trust-label {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* =====================
   SECTIONS — alternating white / bone / ink
===================== */
.section { padding: 6.5rem 0; }
.section--bone { background: var(--bone); }
.section--dark { background: var(--ink); color: #fff; }
.section-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }
.section-head { max-width: 720px; margin-bottom: 3.5rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .section-body { margin-left: auto; margin-right: auto; }
.section-foot { margin-top: 3rem; text-align: center; }

/* =====================
   INTRO — portrait with the live site's dark "trusted" card overlaid
===================== */
.intro-grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.intro-media { position: relative; }
.intro-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
}
.intro-photo img { width: 100%; }
.intro-tag {
  position: absolute;
  right: -1.25rem;
  bottom: -1.5rem;
  width: 62%;
  padding: 1.4rem 1.5rem;
  background: var(--ink-card);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 44px rgba(20, 20, 20, 0.28);
}
.intro-tag p {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
}
.intro-tag span {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-warm);
}
.intro-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--copper);
  margin-top: 0.6rem;
}
/* Copper rule down the left, as on the live site's bio list */
.intro-points {
  list-style: none;
  margin-top: 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--copper);
}
.intro-points li { font-size: 0.9375rem; color: var(--text-mid); line-height: 1.7; }
.intro-points li + li { margin-top: 0.8rem; }
.intro-actions { margin-top: 2.4rem; }

/* =====================
   FILTER
===================== */
.filter {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.6rem 1.35rem;
  border-radius: var(--pill);
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn:hover { border-color: var(--copper); color: #fff; }
.filter-btn[aria-pressed="true"] {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
}
.filter-count { color: var(--on-dark-soft); font-size: 0.75rem; margin-left: 0.3rem; }

/* =====================
   PROCEDURE CARDS — on ink, copper icons
===================== */
.procedures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 1.1rem;
}
.proc-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: #fff;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.proc-card:hover {
  border-color: rgba(174, 106, 55, 0.6);
  background: var(--ink-card);
  transform: translateY(-3px);
}
.proc-card[hidden] { display: none; }
/* Icons are masked so they take the copper; the source SVGs ship a
   baked greyscale palette that an <img> could not recolour.
   ponytail: one rule per slug below, adding a procedure means adding a line. */
.proc-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 1.3rem;
  background: currentColor;
  color: var(--copper-warm);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.proc-card-title {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0.55rem;
}
.proc-card-desc { font-size: 0.875rem; color: var(--on-dark); line-height: 1.7; flex: 1; }
.proc-card-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--line-dark);
}
.proc-card-price { font-size: 0.875rem; font-weight: 600; color: #fff; }
.proc-card-link { font-size: 0.8125rem; font-weight: 600; color: var(--copper-warm); }

.proc-card--soon { background: transparent; border-style: dashed; }
.proc-card--soon:hover { transform: none; background: transparent; border-color: var(--line-dark); }
/* Same copper hue as the active icons, just quieter, so it reads as dimmed
   rather than as a different colour. The dashed border signals "not yet". */
.proc-card--soon .proc-icon { color: var(--copper-warm); opacity: 0.55; }
.proc-badge-soon {
  align-self: flex-start;
  margin-top: 1.5rem;
  padding: 0.28rem 0.85rem;
  border-radius: var(--pill);
  background: var(--copper-pale);
  color: var(--copper-warm);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* =====================
   HOURS
===================== */
.hours-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.hours-card {
  padding: 2.4rem 2.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hours-city { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.hours-note { font-size: 0.8125rem; color: var(--copper); margin-top: 0.25rem; }
.hours-list { list-style: none; margin-top: 1.6rem; }
/* Rows are authored in Orbit as a rich-text list, so the time is a <strong>.
   Plain <li> + <strong> is the only markup a WYSIWYG will not strip. */
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.68rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--text-mid);
}
.hours-list li:last-child { border-bottom: none; }
.hours-list strong { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

/* =====================
   BLOG CARDS
===================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.1rem; }
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.blog-card:hover {
  border-color: var(--copper);
  box-shadow: 0 14px 36px rgba(34, 31, 29, 0.08);
  transform: translateY(-2px);
}
.blog-card-media { aspect-ratio: 16 / 10; background: var(--bone-deep); overflow: hidden; }
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.6rem 1.75rem 1.85rem;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 1rem;
}
.blog-card-cat { color: var(--copper); font-weight: 600; }
.blog-card-title {
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.32;
  margin-bottom: 0.7rem;
}
.blog-card-excerpt { font-size: 0.875rem; color: var(--text-mid); line-height: 1.7; flex: 1; }
.blog-card-link { margin-top: 1.4rem; font-size: 0.8125rem; font-weight: 600; color: var(--copper); }

/* =====================
   ARTICLE — blog post. Illustrations sit on a tinted mat with contain, so
   line art breathes instead of being cropped like a photo.
===================== */
.post-art {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  padding: 5% 8%;
  background: var(--bone-deep);
}
.blog-card-media .post-art { aspect-ratio: 16 / 10; padding: 6% 8%; object-fit: contain; }
/* Photographs fill the frame; illustrations breathe inside it. Specificity has
   to beat `.blog-card-media img`, which sets cover for photo thumbnails. */
.post-art.fit-cover,
.blog-card-media .post-art.fit-cover { object-fit: cover; padding: 0; background: none; }

.post-hero {
  background: var(--ink);
  color: #fff;
  margin-top: calc(var(--nav-h) * -1);
  padding: calc(var(--nav-h) + 4rem) 0 3.5rem;
}
.post-hero .section-inner { max-width: 820px; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.post-meta .cat { color: var(--copper-warm); font-weight: 600; }
.post-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 1.1rem 0 1rem;
}
.post-excerpt { font-size: 1.0625rem; color: var(--on-dark); line-height: 1.8; }

.post-body { max-width: 820px; margin: 0 auto; }
.post-figure { margin: 0 0 3rem; border-radius: var(--radius); overflow: hidden; }
.post-body .prose h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--text);
  margin: 2.5rem 0 1rem;
}
.post-body .prose ol { counter-reset: step; list-style: none; margin-left: 0; }
.post-body .prose ol > li {
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: 0.9rem;
}
.post-body .prose ol > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--copper-pale);
  color: var(--copper);
  font-size: 0.75rem;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.post-nav { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); }

/* =====================
   REVIEWS
===================== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.25rem; }
.review {
  padding: 2.4rem 2.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.review-quote {
  font-family: var(--serif);
  font-size: 3.5rem;
  line-height: 0.6;
  height: 1.5rem;
  color: var(--copper);
  opacity: 0.28;
}
.review-body { font-size: 0.9375rem; color: var(--text-mid); line-height: 1.8; flex: 1; }
.review-author {
  margin-top: 1.7rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  font-weight: 600;
}
.review-source { font-weight: 400; color: var(--text-soft); }

/* =====================
   BOOKING — ZnanyLekarz widget in a branded shell.
   The widget itself renders in a cross-origin Docplanner iframe, so its
   internals cannot be restyled. Everything around it is his identity, and
   data-zlw-hide-branding strips the Docplanner chrome inside.
===================== */
.booking-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}
.booking-points { list-style: none; margin-top: 2rem; }
.booking-points li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 0.9375rem;
  color: var(--on-dark);
  line-height: 1.7;
}
.booking-points li + li { margin-top: 0.9rem; }
.booking-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px var(--copper-pale);
}
.booking-cities { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 2.2rem; }
.booking-city {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--pill);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.booking-city:hover { border-color: var(--copper); background: rgba(174, 106, 55, 0.12); }
.booking-city span { color: var(--copper-warm); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* White card so the Docplanner iframe sits on a deliberate surface
   rather than bleeding onto the dark section */
.booking-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.75rem;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}
.booking-widget iframe { border-radius: var(--radius-sm); display: block; width: 100% !important; }
.booking-fallback { padding: 2rem 1.5rem; text-align: center; }
.booking-fallback p { font-size: 0.9375rem; color: var(--text-mid); margin-bottom: 1.25rem; }
.booking-note { margin-top: 1.25rem; font-size: 0.75rem; color: var(--on-dark-soft); }

/* =====================
   COURSES — doctor-facing band. Deliberately below the patient content
   so the page's primary local intent stays patient-first.
===================== */
.course { background: var(--bone-deep); }
.course-top {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
/* Greyscale, matching how this theatre photo is treated elsewhere on his site */
.course-media { position: relative; }
.course-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
}
.course-photo img { width: 100%; filter: grayscale(1) contrast(1.06); }
.course-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.15rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--pill);
  background: rgba(20, 20, 20, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.course-since {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.6;
  margin-top: 1.75rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--copper);
}
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 1.1rem; }
.course-card {
  padding: 2rem 1.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.course-card h3 {
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.course-card ul { list-style: none; }
.course-card li {
  padding: 0.55rem 0 0.55rem 1.35rem;
  position: relative;
  font-size: 0.875rem;
  color: var(--text-mid);
  border-top: 1px solid var(--line);
  line-height: 1.6;
}
.course-card li:first-child { border-top: none; }
.course-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
}
.course-formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; margin-top: 1.1rem; }
.course-format {
  padding: 1.75rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}
.course-format h4 { font-family: var(--serif); font-size: 1.0625rem; font-weight: 500; margin-bottom: 0.45rem; }
.course-format p { font-size: 0.875rem; color: var(--on-dark); line-height: 1.7; }
.course-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-top: 2.5rem; align-items: center; }
.course-price { font-size: 0.875rem; color: var(--text-soft); }

/* =====================
   PODCAST — third-party credibility. Click-to-play poster so YouTube is
   only contacted if the visitor actually asks for the video.
===================== */
.podcast { background: var(--ink); color: #fff; }
.podcast-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; }
.podcast-player {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.podcast-player img { width: 100%; height: 100%; object-fit: cover; }
.podcast-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.podcast-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(14, 14, 14, 0.28);
  cursor: pointer;
  transition: background 0.25s;
}
.podcast-play:hover { background: rgba(14, 14, 14, 0.12); }
.podcast-play span {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--copper);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s;
}
.podcast-play:hover span { transform: scale(1.07); }
.podcast-play svg { width: 26px; height: 26px; margin-left: 4px; }
.podcast-show {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper-warm);
}
.podcast-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.16;
  margin: 1rem 0 0.5rem;
}
.podcast-host { font-size: 0.9375rem; color: var(--on-dark-soft); margin-bottom: 1.25rem; }
.podcast-quote {
  font-size: 0.9375rem;
  color: var(--on-dark);
  line-height: 1.8;
  padding-left: 1.35rem;
  border-left: 2px solid var(--copper);
}
.podcast-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.85rem; }

/* =====================
   PROCEDURE PAGE
===================== */
.proc-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  margin-top: calc(var(--nav-h) * -1);
  padding: calc(var(--nav-h) + 4.5rem) 0 4.5rem;
}
.proc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 130% at 88% 0%, rgba(174, 106, 55, 0.22) 0%, rgba(174, 106, 55, 0) 60%);
}
.proc-hero .section-inner { position: relative; max-width: 900px; }
.proc-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: var(--pill);
  background: var(--copper-pale);
  color: var(--copper-warm);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.proc-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 1.4rem 0 1.2rem;
}
.proc-lede { font-size: 1.0625rem; color: var(--on-dark); line-height: 1.8; max-width: 60ch; }
.proc-facts {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
}
.proc-fact-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.proc-fact-value { font-family: var(--serif); font-size: 1.15rem; margin-top: 0.3rem; }
.proc-actions { margin-top: 2.5rem; display: flex; gap: 0.85rem; flex-wrap: wrap; }

.proc-body { max-width: 820px; margin: 0 auto; }
/* Breaks up the text wall. Pulled slightly wider than the prose column. */
.proc-figure {
  margin: 3rem -3rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--bone-deep);
}
.proc-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.proc-figure figcaption {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--pill);
  background: rgba(20, 20, 20, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.6875rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
@media (max-width: 900px) { .proc-figure { margin: 2.5rem 0; } }
.proc-section { margin-top: 3.5rem; }
.proc-h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.prose { font-size: 1rem; line-height: 1.85; color: var(--text-mid); }
.prose p + p { margin-top: 1.15rem; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { margin: 1.1rem 0 1.1rem 1.35rem; }
.prose li { margin-bottom: 0.5rem; }

/* =====================
   CLINICAL MEDIA GATE — one gate over slider + gallery.
   Images carry data-src and are only given a real src after consent, so
   nothing clinical is fetched until the visitor confirms.
===================== */
.gate { margin-top: 3.5rem; }
.gate-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bone);
  padding: 3rem 2rem;
  text-align: center;
}
.gate-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--copper-pale);
  color: var(--copper);
  font-size: 1.35rem;
  font-weight: 700;
}
.gate-title { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; margin-bottom: 0.6rem; }
.gate-text { font-size: 0.9375rem; color: var(--text-mid); line-height: 1.75; max-width: 52ch; margin: 0 auto 1.75rem; }
.gate-content[hidden] { display: none; }

/* =====================
   BEFORE / AFTER SLIDER — range input + clip-path, no dependency.
   Pairs are dimension-matched at source, so both layers align exactly.
===================== */
.ba {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  touch-action: pan-y;
}
.ba-frame { position: relative; display: block; width: 100%; }
.ba-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.ba-after-wrap {
  position: absolute;
  inset: 0;
  /* --pos drives the reveal; 50% at rest */
  clip-path: inset(0 0 0 var(--pos, 50%));
}
.ba-after-wrap img { height: 100%; object-fit: cover; }
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: var(--copper);
  pointer-events: none;
}
.ba-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: none;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100%; }
.ba-range:focus-visible { outline: 2px solid var(--copper-warm); outline-offset: 3px; }
.ba-tag {
  position: absolute;
  bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--pill);
  background: rgba(20, 20, 20, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-tag--before { left: 1rem; }
.ba-tag--after { right: 1rem; }
.ba-hint { margin-top: 0.85rem; font-size: 0.8125rem; color: var(--text-soft); text-align: center; }

/* =====================
   CLINICAL GALLERY
===================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.gallery-item {
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bone-deep);
  border: 1px solid var(--line);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }

/* =====================
   FAQ — native <details>, no JS needed
===================== */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-q-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  margin-bottom: 0.7rem;
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-q-item[open] { border-color: var(--copper); }
.faq-q-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.6rem;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  list-style: none;
}
.faq-q-item summary::-webkit-details-marker { display: none; }
.faq-q-item summary::after {
  content: '';
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--copper);
  border-bottom: 2px solid var(--copper);
  transform: rotate(45deg);
  transition: transform 0.25s;
}
.faq-q-item[open] summary::after { transform: rotate(-135deg); }
.faq-a-body {
  padding: 0 1.6rem 1.4rem;
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* =====================
   LEAD FORM
===================== */
.lead {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 6rem 0;
  overflow: hidden;
}
.lead::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 120% at 50% 118%, rgba(174, 106, 55, 0.32) 0%, rgba(174, 106, 55, 0) 62%);
}
.lead .section-inner { position: relative; }
.lead-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: start; }
.lead-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.16;
  margin: 1.1rem 0 1rem;
}
.lead-sub { color: var(--on-dark); font-size: 1rem; line-height: 1.8; }
.lead-direct { margin-top: 2rem; font-size: 0.875rem; color: var(--on-dark); }
.lead-direct a { color: var(--copper-warm); font-weight: 500; }

.form-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 2.25rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.9375rem;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.32); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: rgba(255, 255, 255, 0.09);
}
.field select option { background: var(--ink-card); color: #fff; }

.consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--on-dark);
  line-height: 1.6;
}
.consent input { flex: none; width: 17px; height: 17px; margin-top: 0.15rem; accent-color: var(--copper); }
.consent a { color: var(--copper-warm); text-decoration: underline; }

.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 0.5rem; }
.form-error {
  grid-column: 1 / -1;
  display: none;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(190, 60, 50, 0.16);
  border: 1px solid rgba(220, 100, 90, 0.4);
  color: #f3c9c4;
  font-size: 0.875rem;
}
.form-success { display: none; text-align: center; padding: 2.5rem 1.5rem; }
.form-success-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--copper);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}
.form-success h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; margin-bottom: 0.6rem; }
.form-success p { color: var(--on-dark); font-size: 0.9375rem; }

/* =====================
   CTA BAND
===================== */
.cta-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 6rem 0;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 120% at 50% 120%, rgba(174, 106, 55, 0.34) 0%, rgba(174, 106, 55, 0) 62%);
}
.cta-band .section-inner { position: relative; max-width: 660px; }
.cta-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.16;
  margin: 1.2rem 0 1rem;
}
.cta-sub { color: var(--on-dark); font-size: 1rem; line-height: 1.8; margin-bottom: 2.3rem; }

/* =====================
   FOOTER
===================== */
.footer { background: var(--ink); color: var(--on-dark); padding: 4.5rem 0 2.5rem; border-top: 1px solid var(--line-dark); }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand { font-family: var(--serif); font-size: 1.1rem; color: #fff; margin-bottom: 0.7rem; }
.footer-brand span { color: var(--copper-warm); }
.footer-blurb { font-size: 0.875rem; line-height: 1.8; max-width: 32ch; }
.footer-mail { display: inline-block; margin-top: 1rem; font-size: 0.875rem; color: var(--copper-warm); }
.footer h4 {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--on-dark-soft);
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; }
.footer li + li { margin-top: 0.58rem; }
.footer li a { font-size: 0.875rem; transition: color 0.2s; }
.footer li a:hover { color: var(--copper-warm); }
.footer-bottom {
  max-width: var(--max);
  margin: 3.5rem auto 0;
  padding: 1.75rem var(--pad-x) 0;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--on-dark-soft);
}

/* =====================
   LEGACY — used by the pages not yet redesigned
===================== */
.hero-eyebrow { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--copper); font-weight: 600; margin-bottom: 1rem; }
.hero-cta { display: inline-block; background: var(--copper); color: #fff; padding: 0.875rem 2rem; border-radius: var(--pill); font-weight: 600; }
.section-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--copper); font-weight: 600; margin-bottom: 0.75rem; }
.section--soft { background: var(--bone); }
.proc-card-badge { display: inline-block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; background: var(--copper-pale); color: var(--copper); padding: 0.2rem 0.6rem; border-radius: var(--pill); margin-bottom: 0.75rem; }
.proc-card-img, .blog-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.proc-card-body { padding: 1.25rem; }
.footer-copy { font-size: 0.8rem; color: var(--on-dark-soft); margin-top: 2.5rem; text-align: center; }
.btn-amber { background: var(--copper); color: #fff; }
.btn-amber:hover { background: var(--copper-light); }

.pricing-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.pricing-table th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-soft); font-weight: 600; padding: 0.75rem 1rem; border-bottom: 2px solid var(--line); text-align: left; }
.pricing-table td { padding: 0.875rem 1rem; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.pricing-table .price { font-weight: 600; color: var(--copper); white-space: nowrap; }
.pricing-section-head { padding: 1.5rem 0 0.5rem; font-family: var(--serif); font-size: 1.2rem; }

.faq-list { margin-top: 2rem; }
.faq-item { border-bottom: 1px solid var(--line); padding: 1.25rem 0; }
.faq-q { font-family: var(--serif); font-size: 1.05rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-a { font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; margin-top: 0.75rem; }

.article { max-width: 800px; margin: 0 auto; padding: 4rem var(--pad-x); }
.article-header { margin-bottom: 2.5rem; }
.article-badge { display: inline-block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; background: var(--copper-pale); color: var(--copper); padding: 0.2rem 0.6rem; border-radius: var(--pill); margin-bottom: 0.75rem; }
.article-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.18; }
.article-meta { margin-top: 0.75rem; font-size: 0.85rem; color: var(--text-soft); display: flex; gap: 1.5rem; flex-wrap: wrap; }
.article-cover { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius); margin-bottom: 2.5rem; }
.article-body { font-size: 1rem; line-height: 1.8; color: var(--text-mid); }
.article-body h2 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; color: var(--text); margin: 2.5rem 0 1rem; }
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { margin: 1rem 0 1.25rem 1.5rem; }
.article-body li { margin-bottom: 0.4rem; }

.booking-section { background: var(--bone); padding: 4rem var(--pad-x); }
.booking-inner { max-width: 900px; margin: 0 auto; }
.booking-iframe { width: 100%; min-height: 600px; border: none; border-radius: var(--radius); }

.contact-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.contact-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-soft); margin-bottom: 0.5rem; }
.contact-card-value { font-size: 0.95rem; font-weight: 500; }

/* =====================
   PROCEDURE ICONS
===================== */
.proc-icon--wazektomia { --icon: url('/img/icons/wazektomia.svg'); }
.proc-icon--obrzezanie { --icon: url('/img/icons/obrzezanie.svg'); }
.proc-icon--zabiegi-krotkiego-wedzidelka { --icon: url('/img/icons/zabiegi-krotkiego-wedzidelka.svg'); }
.proc-icon--plastyka-moszny { --icon: url('/img/icons/plastyka-moszny.svg'); }
.proc-icon--mikrochirurgiczne-leczenie-zylakow-powrozka-nasiennego { --icon: url('/img/icons/mikrochirurgiczne-leczenie-zylakow-powrozka-nasiennego.svg'); }
.proc-icon--powiekszanie-penisa-kwasem-hialuronowym { --icon: url('/img/icons/powiekszanie-penisa-kwasem-hialuronowym.svg'); }
.proc-icon--bocox { --icon: url('/img/icons/bocox.svg'); }
.proc-icon--powiekszanie-zoledzi-penisa { --icon: url('/img/icons/powiekszanie-zoledzi-penisa.svg'); }
.proc-icon--powiekszanie-penisa-przy-uzyciu-biostymulatorow { --icon: url('/img/icons/powiekszanie-penisa-przy-uzyciu-biostymulatorow.svg'); }
.proc-icon--powiekszenie-penisa-wlasnym-tluszczem { --icon: url('/img/icons/powiekszenie-penisa-wlasnym-tluszczem.svg'); }
.proc-icon--laserowa-mikrochirurgiczna-denerwacja-penisa-leczenie-przedwczesnego-wytrysku { --icon: url('/img/icons/laserowa-mikrochirurgiczna-denerwacja-penisa-leczenie-przedwczesnego-wytrysku.svg'); }
.proc-icon--scrotox { --icon: url('/img/icons/scrotox.svg'); }
.proc-icon--p-shot { --icon: url('/img/icons/p-shot.svg'); }
.proc-icon--prf { --icon: url('/img/icons/prf.svg'); }
.proc-icon--wyciecie-grudek-perlistych { --icon: url('/img/icons/wyciecie-grudek-perlistych.svg'); }
.proc-icon--wyciecie-chirurgiczne-zmian { --icon: url('/img/icons/wyciecie-chirurgiczne-zmian.svg'); }
.proc-icon--anastomat-stapler { --icon: url('/img/icons/anastomat-stapler.svg'); }
.proc-icon--implanty-protezy-jader { --icon: url('/img/icons/implanty-protezy-jader.svg'); }
.proc-icon--medycyna-estetyczna { --icon: url('/img/icons/medycyna-estetyczna.svg'); }

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1040px) {
  .booking-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .course-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .lead-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-grid { grid-template-columns: 1fr; gap: 4.5rem; }
  .intro-media { max-width: 440px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3) { padding-left: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner { padding-left: 1.25rem; }
}

@media (max-width: 560px) {
  /* Logo plus CTA is tight in the pill at phone widths, so shrink both
     and stop the button text wrapping onto two lines. */
  :root { --nav-h: 77px; }
  .nav { padding: 0.6rem var(--pad-x); }
  .nav-inner { padding: 0.45rem 0.45rem 0.45rem 1rem; gap: 0.75rem; }
  .nav-logo { font-size: 0.9375rem; }
  .nav-cta { padding: 0.6rem 1.1rem; font-size: 0.6875rem; white-space: nowrap; }
  .promo { font-size: 0.75rem; }
  .promo-inner { gap: 0.6rem; }
}

@media (max-width: 720px) {
  .section { padding: 4.5rem 0; }
  /* Shift the crop so the portrait stays in frame once text stacks over it */
  .hero-media { background-position: 74% center; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.9) 0%, rgba(20, 20, 20, 0.76) 52%, rgba(20, 20, 20, 0.92) 100%);
  }
  .hero-inner { padding: calc(var(--nav-h) + 3rem) var(--pad-x) 5rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.5rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 1.4rem 0; border-right: none; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: none; }
  .intro-tag { position: static; width: 100%; margin-top: 1rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* Filter pills on light backgrounds (blog index) */
.filter--light .filter-btn { border-color: var(--line); color: var(--text-mid); }
.filter--light .filter-btn:hover { border-color: var(--copper); color: var(--copper); }
.filter--light .filter-btn[aria-pressed="true"] { background: var(--copper); border-color: var(--copper); color: #fff; }
.blog-card[hidden] { display: none; }

/* =====================
   CENNIK — grouped per procedure, sourced from pricing_items
===================== */
.price-wrap { max-width: 900px; margin: 0 auto; display: grid; gap: 1.1rem; }
.price-group { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.price-group-head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.5rem 1.75rem;
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}
.price-group-head .proc-icon { width: 34px; height: 34px; margin: 0; flex: none; color: var(--copper); }
.price-group-title { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.3; }
.price-group-note { font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); margin-top: 0.2rem; }
.price-group-link { margin-left: auto; font-size: 0.8125rem; font-weight: 600; color: var(--copper); white-space: nowrap; }
.price-rows { list-style: none; }
.price-rows li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1rem 1.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.price-rows li:last-child { border-bottom: none; }
.price-row-name { color: var(--text); }
.price-row-note { font-size: 0.8125rem; color: var(--text-soft); }
.price-row-value { font-weight: 600; color: var(--copper); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-footnote { max-width: 900px; margin: 2.5rem auto 0; font-size: 0.875rem; color: var(--text-soft); line-height: 1.7; }

/* FAQ page: procedure groups */
.faq-proc-group { margin-top: 3rem; }
.faq-proc-group .proc-h2 a { color: inherit; }
.faq-proc-group .proc-h2 a:hover { color: var(--copper); }

/* O mnie: credentials */
.cred-list { list-style: none; max-width: 780px; }
.cred-item {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.cred-item:last-child { border-bottom: none; }
.cred-title { font-size: 1rem; color: var(--text); }
.cred-year { margin-left: auto; font-family: var(--serif); font-size: 1.05rem; color: var(--copper); font-variant-numeric: tabular-nums; }

@media (max-width: 640px) {
  .price-group-head { flex-wrap: wrap; }
  .price-group-link { margin-left: 0; }
  .price-rows li { grid-template-columns: 1fr auto; }
  .price-row-note { grid-column: 1 / -1; }
}
