/* AstraMED Ginekologia - luxury feminine medical aesthetic.
   Palette from brief: gold #DDAF43, antracyt #545454, powder pink #D5BCC6,
   white + warm creams. */

:root {
  --gold:        #DDAF43;
  --gold-2:      #CE9B2C;
  --gold-soft:   #EEDCA9;
  --antracyt:    #545454;
  --antracyt-2:  #3A3A3A;
  --pudrowy:     #D5BCC6;
  --pudrowy-bg:  #F6EDEF;
  --cream:       #FBF8F4;
  --cream-2:     #F7F2EB;
  --line:        #E8E2D8;
  --line-soft:   #EFEAE2;
  --muted:       #8A8580;
  --bg:          #FFFFFF;
  --text:        #2E2A26;
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   22px;
  --shadow-soft: 0 14px 50px -22px rgba(75, 56, 24, .25);
  --shadow-card: 0 10px 30px -18px rgba(75, 56, 24, .35);
  --serif:       'Cormorant Garamond', 'Times New Roman', serif;
  --sans:        'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.container.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ============ Typography ============ */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--antracyt);
  margin: 0 0 16px;
  letter-spacing: -.005em;
}
h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.05;
  font-weight: 500;
}
h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.1;
}
h3 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 500;
}
h4 { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); font-weight: 600; }
p { margin: 0 0 14px; color: var(--antracyt); }
.gold { color: var(--gold-2); font-style: italic; font-weight: 500; }
.lede { font-size: 18px; line-height: 1.6; color: var(--antracyt); }

.eyebrow { display: none; }
.eyebrow-keep {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 600;
  margin: 0 0 14px;
}
.eyebrow.center { text-align: center; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 18px 34px; font-size: 15px; }
.btn-primary {
  background: linear-gradient(135deg, #E0B548 0%, #D9A739 50%, #C29426 100%);
  color: #2E2415;
  box-shadow: 0 12px 28px -14px rgba(207, 156, 38, .65), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 32px -16px rgba(207, 156, 38, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost {
  background: transparent;
  color: var(--antracyt);
  border-color: var(--antracyt);
}
.btn-ghost:hover { background: var(--antracyt); color: #fff; }

/* ============ Header (dark band to host the gold logo designed for dark bg) ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, #3D3935 0%, #2E2A26 100%);
  border-bottom: 1px solid rgba(221, 175, 67, .25);
  box-shadow: 0 1px 0 rgba(221,175,67,.08), 0 6px 20px -10px rgba(0,0,0,.3);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 4px 0;
  overflow: visible;
}
.site-header { overflow: visible; }
.logo {
  display: flex;
  align-items: center;
  height: 78px;
  overflow: visible;
}
.logo img {
  height: 116px;
  width: auto;
  display: block;
}
.nav { display: flex; gap: 26px; }
.nav a {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: #E8E0D5;
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--gold); transform: scaleX(0);
  transition: transform .25s ease; transform-origin: left;
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { padding: 11px 22px; font-size: 13px; }
.burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid rgba(221,175,67,.35);
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.burger span { width: 18px; height: 1.5px; background: var(--gold); transition: transform .25s ease, opacity .25s ease; display: block; }

/* ============ Hero - split layout: text left, full-bleed photo right ============ */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  opacity: .4;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 0;
}
.hero-copy {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 80px 60px 80px 24px;
  background:
    radial-gradient(60% 60% at 20% 30%, var(--pudrowy-bg) 0%, transparent 60%),
    transparent;
}
.hero-copy-inner { max-width: 540px; width: 100%; }
.hero h1 {
  margin-top: 8px;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(32px, 4.4vw, 50px);
}
.hero h1 .gold { font-style: normal; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 28px; }
.hero-trust {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.hero-trust li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.hero-trust a { color: var(--antracyt-2); border-bottom: 1px solid var(--gold-soft); transition: color .2s ease, border-color .2s ease; }
.hero-trust a:hover { color: var(--gold-2); border-bottom-color: var(--gold); }
.hero-trust .stars { color: #FBBC04; letter-spacing: 1px; font-size: 14px; }
.section-head--tight { margin-bottom: 22px; }
.section-head--tight h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 0; }
.hero-photo {
  position: relative;
  align-self: center;
  padding: 60px 24px 60px 0;
}
.hero-photo img {
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 95% 90% at 50% 50%, black 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 95% 90% at 50% 50%, black 55%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* ============ Sections ============ */
.section { padding: 90px 0; position: relative; }
.section-soft { background: var(--cream-2); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head h2 { margin: 0 0 12px; }
.section-intro { color: var(--muted); font-size: 15px; }

/* ============ Nasza oferta (7 service categories with lists) ============ */
.cennik-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.offer-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.offer-card:hover { transform: translateY(-3px); border-color: var(--gold-soft); box-shadow: var(--shadow-card); }
.offer-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--antracyt-2); margin: 0 0 14px; }
.offer-list { list-style: none; margin: 0; padding: 0; }
.offer-list li {
  position: relative;
  padding: 5px 0 5px 22px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--antracyt);
}
.offer-list li::before {
  content: '';
  position: absolute; left: 0; top: 12px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--cream-2);
  color: var(--gold-2);
  margin-bottom: 16px;
}
.service-icon svg { width: 26px; height: 26px; }
.offer-card:hover .service-icon { background: var(--gold-soft); }

/* Inline labs strip inside Dlaczego block */
.labs-inline { margin-top: 52px; text-align: center; }
.labs-inline-title { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.labs-inline-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 44px; }
.labs-inline-logos img { max-width: 150px; width: 100%; height: auto; filter: grayscale(0.2); opacity: 0.85; transition: filter .2s ease, opacity .2s ease; }
.labs-inline-logos img:hover { filter: none; opacity: 1; }

/* Centered prose (Profilaktyka) + about tagline */
.center-prose { text-align: center; }
.center-prose p { font-size: 16px; line-height: 1.7; color: var(--antracyt); margin: 0 0 16px; }
.about-tagline { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-2); margin-top: 18px; }

@media (max-width: 1000px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .offer-grid { grid-template-columns: 1fr; }
  .labs-inline-logos { gap: 28px; }
}

/* ============ Pillars + Stats ============ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}
.pillar {
  padding: 24px 0;
  border-top: 1px solid var(--gold-soft);
}
.pillar h3 { font-size: 19px; font-family: var(--serif); font-weight: 600; margin: 12px 0 8px; color: var(--antracyt-2); }
.pillar p { font-size: 14px; color: var(--muted); margin: 0; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  text-align: center;
  border-right: 1px solid var(--line);
  padding: 8px 12px;
}
.stat:last-child { border-right: none; }
.stat dt {
  font-family: var(--sans);
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--gold-2);
  line-height: 1;
  margin-bottom: 8px;
}
.stat dd {
  margin: 0;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============ Opinie (just headline) ============ */
.opinie { padding: 80px 0; }
.opinie h2 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 14px; }
.opinie .lede { margin: 0; }

/* ============ Cennik ============ */
.price-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.price-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.price-group h3 {
  color: var(--gold-2);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gold-soft);
}
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.price-list li:last-child { border-bottom: none; }
.price-list .price {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--antracyt-2);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ============ Doctors (slider, 3 visible) ============ */
.doctors-slider { position: relative; padding-inline: 56px; }
.doctors-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.doctors-track::-webkit-scrollbar { display: none; }
.doctors-track .doctor-card {
  flex: 0 0 calc((100% - 60px) / 3);
  scroll-snap-align: start;
}
.docs-nav {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--antracyt-2);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  box-shadow: var(--shadow-soft);
  transition: background .2s ease, color .2s ease, opacity .2s ease;
  display: flex; align-items: center; justify-content: center;
}
.docs-nav:hover { background: var(--gold); color: #fff; }
.docs-prev { left: 0; }
.docs-next { right: 0; }
.docs-nav[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 900px) {
  .doctors-track .doctor-card { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 600px) {
  .doctors-slider { padding-inline: 0; }
  .doctors-track { gap: 16px; padding-inline: 0; scroll-snap-type: x mandatory; }
  .doctors-track .doctor-card { flex: 0 0 100%; scroll-snap-align: center; }
  .docs-nav { display: none; }
}
.doctor-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  text-align: center;
  padding-bottom: 24px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.doctor-portrait {
  background: #E9DCCC;
  padding: 0;
}
.doctor-portrait img {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}
.doctor-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin: 20px 24px 4px;
  color: var(--antracyt-2);
}
.doctor-spec {
  color: var(--gold-2);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
  margin: 0 24px 14px;
}
.doctor-bio {
  font-size: 14px;
  color: var(--antracyt);
  line-height: 1.6;
  margin: 0 24px;
}

/* ============ Split (Profilaktyka) ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-copy h2 { margin-bottom: 18px; }
.split-copy p { margin-bottom: 16px; }
.split-copy .btn { margin-top: 14px; }

/* ============ Slider ============ */
.slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  background: var(--cream-2);
}
.slides {
  display: flex;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
  height: 100%;
}
.slides img {
  flex: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-prev, .slider-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(46, 36, 21, .55);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s ease;
  backdrop-filter: blur(8px);
}
.slider-prev:hover, .slider-next:hover { background: rgba(46, 36, 21, .8); }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-dots {
  position: absolute;
  bottom: 18px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 8px;
}
.slider-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6);
  background: transparent;
  padding: 0; cursor: pointer;
  transition: background .2s ease;
}
.slider-dots button.active { background: #fff; border-color: #fff; }

/* ============ Locations (compact strip) ============ */
.locations-strip { padding: 24px 0; background: var(--cream-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.locations-compact {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.loc-compact a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  height: 100%;
}
.loc-compact a:hover { border-color: var(--gold-soft); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.loc-pin { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--cream-2); color: var(--gold-2); display: flex; align-items: center; justify-content: center; }
.loc-pin svg { width: 18px; height: 18px; }
.loc-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.loc-info strong { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--antracyt-2); line-height: 1.2; }
.loc-addr { font-size: 12.5px; color: var(--antracyt); line-height: 1.35; }
.loc-hours { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
@media (max-width: 860px) {
  .locations-compact { grid-template-columns: 1fr; gap: 12px; }
}

/* ============ FAQ ============ */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 12px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--gold-soft); box-shadow: var(--shadow-card); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--antracyt-2);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 24px;
  color: var(--gold-2);
  transition: transform .2s ease;
  flex: none;
}
.faq details[open] summary::after { content: '−'; }
.faq details p {
  margin: 0;
  padding: 0 28px 24px;
  color: var(--antracyt);
  font-size: 15px;
}

/* ============ Final CTA ============ */
.cta-final {
  background:
    radial-gradient(60% 60% at 50% 100%, var(--pudrowy-bg) 0%, transparent 70%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.cta-final h2 { margin: 16px 0 18px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ============ Footer ============ */
.site-footer {
  background: var(--antracyt);
  color: #C9C5C0;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { filter: brightness(1.2); margin-bottom: 18px; }
.footer-brand p { color: #B5B0AB; font-size: 14px; }
.footer-col h4 { color: var(--gold); margin-bottom: 14px; }
.footer-col p { font-size: 14px; margin-bottom: 8px; color: #C9C5C0; }
.footer-col a { color: #C9C5C0; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: #8E8A85; letter-spacing: .08em; }
.credit-link { color: #B5B0AB; transition: color .2s ease; }
.credit-link:hover { color: var(--gold); }

/* ============ Mobile sticky CTA ============ */
.mobile-cta {
  display: none;
  position: fixed;
  left: 16px; right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 90;
  padding: 16px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #E0B548 0%, #C29426 100%);
  color: #2E2415;
  font-weight: 600;
  text-align: center;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 14px 32px -10px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.4);
}
.mobile-cta:active { transform: scale(.97); }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .uslugi-split { grid-template-columns: 1fr; gap: 40px; }
  .uslugi-copy { max-width: 100%; }
  .services-grid, .pillars-grid, .doctors-grid, .price-groups { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { padding-top: 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .header-inner { display: flex; justify-content: space-between; align-items: center; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(46,42,38,.98); flex-direction: column; gap: 0; padding: 12px 24px 24px; border-bottom: 1px solid rgba(221,175,67,.2); }
  .site-header.nav-open .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; color: #E8E0D5; }
  .nav a:last-child { border-bottom: none; }
  .nav a::after { display: none; }
  .burger { display: flex; margin-left: auto; }
  .header-cta { display: none; }
  .uslugi-cta, .hero-cta { justify-content: center; }
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-photo { order: -1; padding: 24px 24px 0; }
  .hero-copy { justify-content: center; padding: 40px 24px 60px; }
  .hero-copy-inner { max-width: 100%; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .services-grid, .pillars-grid, .doctors-grid, .price-groups, .locations-grid { grid-template-columns: 1fr; gap: 20px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* keep floating sticky CTA, hide the duplicate Umow wizyte inside hero */
  .mobile-cta { display: block; }
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .hero-cta .btn-primary { display: none; }
  /* center the Umow konsultacje profilaktyczna button */
  .split-copy .btn { display: block; width: fit-content; margin-inline: auto; }
}

@media (max-width: 480px) {
  h1 { font-size: 36px; }
  .container { width: calc(100% - 32px); }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); padding: 18px 0; }
  .stat:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .faq summary { font-size: 17px; padding: 18px 22px; }
  .faq details p { padding: 0 22px 20px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}

/* ============ Reveal animation (lightweight) ============ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Video section (placeholder until clinic provides clip) */
.video-section { padding: clamp(56px, 7vw, 96px) 0; }
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}
.video-frame--placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(221,175,67,0.10) 0%, transparent 70%),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,0.02) 12px 13px);
  pointer-events: none;
}
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255,255,255,0.85);
}
.video-play {
  width: 80px;
  height: 80px;
  color: var(--gold-2);
  opacity: 0.85;
  filter: drop-shadow(0 4px 12px rgba(221,175,67,0.32));
  transition: opacity 220ms ease, transform 220ms ease;
}
.video-play svg { width: 100%; height: 100%; }
.video-frame:hover .video-play { opacity: 1; transform: scale(1.05); }
.video-caption {
  font-family: var(--serif);
  font-size: clamp(14px, 1.5vw, 18px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
@media (max-width: 700px) {
  .video-frame { aspect-ratio: 4 / 3; }
  .video-play { width: 56px; height: 56px; }
}

/* ============ Partners / Laboratoria ============ */
.partners-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  align-items: center;
  justify-items: center;
}
.partners-grid li { width: 100%; display: flex; justify-content: center; }
.partners-grid img {
  max-width: 160px;
  width: 100%;
  height: auto;
  filter: grayscale(0.15);
  opacity: 0.85;
  transition: filter .25s ease, opacity .25s ease;
}
.partners-grid img:hover { filter: none; opacity: 1; }
@media (max-width: 900px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
@media (max-width: 560px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .partners-grid img { max-width: 140px; }
}

/* ============ Reviews / Opinie ============ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-head { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--antracyt-2);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.review-card--znanylekarz .review-avatar { background: #E6F7F4; color: #00876F; }
.review-author { min-width: 0; }
.review-name {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--antracyt-2);
  margin: 0;
  line-height: 1.2;
}
.review-meta {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 0;
  line-height: 1.3;
}
.review-source { line-height: 0; }
.review-zl-logo { width: 24px; height: 24px; display: block; }
.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: #E6F7F4;
  color: #00876F;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.review-badge svg { flex: none; }
.review-stars { color: #FBBC04; font-size: 16px; letter-spacing: 1px; }
.review-card--znanylekarz .review-stars { color: #00B39B; }
.review-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--antracyt);
  margin: 0;
}
@media (max-width: 1100px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ============ Medical review byline (E-E-A-T for YMYL) ============ */
.medical-review {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  margin: 16px auto 0;
  max-width: 620px;
  line-height: 1.5;
}
.medical-review strong { color: var(--antracyt-2); font-weight: 600; }

/* ============ Legal pages (Privacy policy) ============ */
.legal-page .legal-content { color: var(--text); }
.legal-page .legal-content h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  color: var(--antracyt-2);
  margin: 36px 0 14px;
}
.legal-page .legal-content h2:first-of-type { margin-top: 8px; }
.legal-page .legal-content p { font-size: 15.5px; line-height: 1.7; margin: 0 0 14px; }
.legal-page .legal-content ul { padding-left: 22px; margin: 0 0 18px; }
.legal-page .legal-content li { font-size: 15.5px; line-height: 1.7; margin-bottom: 6px; }
.legal-page .legal-content a { color: var(--gold-2); border-bottom: 1px solid var(--gold-soft); transition: color .2s ease; }
.legal-page .legal-content a:hover { color: var(--gold); }
.legal-page .legal-content strong { color: var(--antracyt-2); }

/* ============ Cookie consent banner (GDPR / RODO) ============ */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 1000;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(40, 32, 22, 0.18);
  padding: 18px 22px;
  max-width: 920px;
  margin: 0 auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.cookie-banner-copy strong { display: block; font-family: var(--sans); font-weight: 600; color: var(--antracyt-2); margin-bottom: 4px; font-size: 14px; }
.cookie-banner-copy p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--antracyt); }
.cookie-banner-copy a { color: var(--gold-2); border-bottom: 1px solid var(--gold-soft); }
.cookie-banner-copy a:hover { color: var(--gold); }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 18px; font-size: 13.5px; }
@media (max-width: 700px) {
  .cookie-banner-inner { grid-template-columns: 1fr; gap: 14px; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions .btn { flex: 1; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
