:root {
  --navy:   #31464b;
  --brown:  #1D343B;
  --mocha:  #7697A1;
  --caramel:#8BA3A9;
  --warm:   #B4CBD1;
  --ice:    #eef4f5;
  --white:  #FFFFFF;
  --stone:  #eef3f4;
  --text:   #31464b;
  --muted:  #6b8288;
  --border: #cdd9dc;
  --serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:   'Source Sans 3', system-ui, sans-serif;
  --radius: 10px;
  --shadow: 0 2px 20px rgba(29, 52, 59, .10);
  --home-gap: clamp(72px, 10vw, 120px);
  --nav-h: 72px;
  --content-max: 72rem; /* same as O nas max-w-6xl */
  --nav-max: 80rem;
  --content-pad: 24px;
  --section-pad-y: clamp(72px, 10vw, 120px);
  --content-inset: max(var(--content-pad), calc((100vw - var(--content-max)) / 2 + var(--content-pad)));
  --gradient-brand: linear-gradient(135deg, #B4CBD1 0%, #5f7f88 45%, #1D343B 100%);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:var(--nav-h)}
body{font-family:var(--sans);font-size:18px;color:var(--text);background:var(--white);-webkit-font-smoothing:antialiased;margin:0;padding:0}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}

.display{font-family:var(--serif);font-size:clamp(calc(2rem + 1px), 5vw, calc(3.4rem + 1px));line-height:1.15;letter-spacing:.03em}
.heading {font-family:var(--serif);font-size:clamp(calc(1.5rem + 1px), 3vw, calc(2.1rem + 1px));line-height:1.25;letter-spacing:.03em}
.subhead {font-size:calc(0.78rem + 1px);font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:var(--mocha)}
.body-txt{font-size:calc(1.06rem + 1px);line-height:1.75;color:var(--muted)}
.small   {font-size:calc(0.94rem + 1px);line-height:1.65;color:var(--muted)}

.wrap{max-width:var(--content-max);margin-inline:auto;padding-inline:var(--content-pad)}
.section{padding-block:var(--section-pad-y)}
.section--alt{background:var(--stone)}
.section--navy{background:var(--brown)}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}

.btn{display:inline-flex;align-items:center;gap:8px;padding:13px 26px;border-radius:6px;font-size:calc(0.94rem + 1px);font-weight:600;border:none;cursor:pointer;transition:all .2s}
.btn--primary{background:var(--brown);color:#fff}
.btn--primary:hover{background:var(--navy);box-shadow:0 0 0 3px rgba(180, 203, 209,.45)}
.btn--outline{background:transparent;color:var(--mocha);border:1.5px solid var(--mocha)}
.btn--outline:hover{background:var(--ice);box-shadow:0 0 0 3px rgba(118, 151, 161,.2)}
.btn--white{background:#fff;color:var(--navy)}
.btn--white:hover{background:var(--ice);box-shadow:0 0 0 3px rgba(180, 203, 209,.35)}
.btn--ghost{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.45)}
.btn--ghost:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.8)}

/* ── NAVIGATION ─────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
}
body {
  padding-top: var(--nav-h);
}
.nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.nav__wrap {
  max-width: var(--nav-max);
  margin-inline: auto;
  padding-inline: var(--content-pad);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav__logo {
  flex: 0 0 180px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 100%;
}
.nav__logo img {
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.nav__links {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 14px;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav__links li {
  display: flex;
  flex-shrink: 0;
}

.nav__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 4px;
  font-size:calc(1.3rem + 1px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
  text-decoration: none;
  transition: color .2s;
  border-radius: 6px;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--mocha);
}

.nav__social {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nav__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.nav__btn-kontakt {
  height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  font-size:calc(0.935rem + 1px);
  font-weight: 600;
  line-height: 1;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  white-space: nowrap;
  transition: all .2s;
  text-decoration: none;
}
.nav__btn-kontakt:hover,
.nav__btn-kontakt.is-active {
  border-color: var(--mocha);
  color: var(--mocha);
  background: var(--stone);
}

.nav-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all .2s;
  flex-shrink: 0;
}
.nav-social-btn:hover {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
}

.nav__btn-rezerwuj {
  height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  font-size:calc(0.935rem + 1px);
  font-weight: 600;
  line-height: 1;
  background: var(--navy);
  color: #fff;
  border: 1.5px solid var(--navy);
  white-space: nowrap;
  transition: all .2s;
  cursor: pointer;
  flex-shrink: 0;
}
.nav__btn-rezerwuj:hover {
  background: var(--mocha);
  border-color: var(--mocha);
  box-shadow: 0 0 0 3px rgba(118, 151, 161,.2), 0 0 18px rgba(118, 151, 161,.25);
}

/* legacy — ukryte */
.nav__bar,
.nav__btns { display: none !important; }

/* Hamburger — desktop hidden */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .25s;
}

/* Mobile drawer */
.nav__mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  max-height: calc(100vh - var(--nav-h));
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav__mobile.open { display: flex; }
body.nav-open { overflow: hidden; }
body.overflow-hidden { overflow: hidden; }
.hidden { display: none !important; }

/* Booking modal */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.5);
}
.booking-modal.hidden {
  display: none !important;
}
.booking-modal__panel {
  position: relative;
  width: 100%;
  max-width: 56rem;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius);
}
.booking-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  line-height: 0;
}
.booking-modal__close:hover { color: var(--navy); }
.booking-modal__body {
  padding: 32px 24px;
}
.booking-modal__title {
  text-align: center;
  margin-bottom: 24px;
}
.booking-modal__widget {
  display: flex;
  justify-content: center;
  width: 100%;
}
.booking-modal__widget .zl-facility-url {
  display: block;
  width: 100%;
  max-width: 420px;
}
@media (min-width: 768px) {
  .booking-modal__body { padding: 40px 32px; }
}

.nav__mobile a {
  padding: 14px 32px;
  font-size:calc(1.14rem + 1px);
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color .15s, background .15s;
}
.nav__mobile a:hover { color: var(--mocha); background: var(--stone); }
.nav-cta-wrap { padding: 16px 32px; border-top: 1px solid var(--border); }
.nav-cta-wrap .btn { width: 100%; justify-content: center; }

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .nav__links {
    gap: 12px;
  }
  .nav__links a {
    font-size:calc(1.22rem + 1px);
  }
}

@media (max-width: 1100px) {
  .nav__links {
    gap: 10px;
  }
  .nav__links a {
    height: 42px;
    font-size:calc(1.12rem + 1px);
  }
  .nav__logo {
    flex-basis: 150px;
  }
  .nav__logo img {
    height: 34px;
    max-width: 150px;
  }
  .nav__btn-rezerwuj,
  .nav__btn-kontakt {
    height: 40px;
    padding: 0 12px;
    font-size:calc(0.8725rem + 1px);
  }
  .nav-social-btn {
    width: 34px;
    height: 34px;
  }
  .nav__wrap {
    padding-inline: 16px;
    gap: 12px;
  }
  .nav__actions { gap: 6px; }
  .nav__social { gap: 4px; }
}

@media (max-width: 1020px) {
  .nav__links {
    gap: 8px;
  }
  .nav__links a {
    font-size:calc(1.06rem + 1px);
  }
  .nav__social {
    display: none;
  }
}

@media (max-width: 980px) and (min-width: 921px) {
  .nav__links a {
    font-size:calc(1.02rem + 1px);
  }
  .nav__btn-rezerwuj,
  .nav__btn-kontakt {
    padding: 0 10px;
    font-size:calc(0.81rem + 1px);
  }
}

@media (max-width: 920px) {
  :root { --nav-h: 72px; }
  .nav__links,
  .nav__actions { display: none; }
  .nav__hamburger { display: flex; }
  .nav__wrap {
    padding-inline: 20px;
    gap: 16px;
  }
  .nav__logo {
    flex-basis: auto;
  }
  .nav__logo img { height: 44px; max-width: 160px; }
}

/* ── HERO FULL ── */
.hero-full {
  line-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
  height: clamp(300px, 48vw, 640px);
}
.hero-full picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-full__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

@media (min-width: 769px) {
  .intro-team-block--hero .hero-full {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 2560 / 1420;
    max-height: none;
    overflow: hidden;
  }
  .intro-team-block--hero .hero-full picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .intro-team-block--hero .hero-full__img {
    position: absolute;
    left: 0;
    top: -14%;
    width: 100%;
    height: 114%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
  }
}

@media (max-width: 768px) {
  .hero-full {
    height: clamp(220px, 56vw, 420px);
  }
  .hero-full__img {
    object-position: center 22%;
  }
}















/* ── INTRO + TEAM (one block) ─────────────────────────── */
.intro-team-block {
  background: var(--white);
  padding-top: var(--home-gap);
  padding-bottom: 0;
  margin-bottom: 0;
}
.intro-team-block .wrap {
  padding-bottom: 0;
  margin-bottom: 0;
}
.intro-team-block .intro-text {
  max-width: none;
}
.intro-team-block .intro-cta-text {
  margin-bottom: 20px;
}
.intro-team-block .intro-actions {
  margin-bottom: 0;
}
.intro-team-block__photo {
  line-height: 0;
  margin: 0;
  padding: 0;
}
.intro-team-block__photo .team-photo {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}
.intro-team-block--hero {
  padding-top: 0;
}
.home-section--after-hero {
  margin-top: var(--home-gap);
}
.home-intro-text {
  text-align: left;
  margin-bottom: var(--home-gap);
}
.home-intro-text .intro-title {
  margin-bottom: 24px;
  max-width: none;
}
.home-intro-text .body-txt {
  max-width: var(--content-max);
  margin: 0;
  font-size: 19px;
  line-height: 1.75;
}
.home-intro-text .intro-cta-text {
  margin-top: 40px;
  margin-bottom: 0;
  font-size: 1.5rem;
  line-height: 1.4;
}
.home-intro-text .intro-actions {
  margin-top: 24px;
}
.home-section__title {
  margin-bottom: 40px;
}

/* Homepage — equal gap between major sections only */
.home-section {
  margin-top: var(--home-gap);
  padding-top: 0;
  padding-bottom: 0;
}
.reviews-section.home-section {
  margin-top: var(--home-gap);
  padding-top: clamp(48px, 5vw, 72px);
  padding-bottom: var(--home-gap);
  display: block;
}

/* Homepage: Poradnia Leczenia Ran block */
.home-plr {
  margin-top: var(--home-gap);
  padding-block: clamp(48px, 6vw, 72px);
}
.home-plr__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
.home-plr__content .subhead {
  margin-bottom: 12px;
}
.home-plr__title {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  text-align: left;
  margin-bottom: 20px;
}
.home-plr__content .body-txt {
  text-align: left;
  margin-bottom: 28px;
  max-width: 540px;
}
.home-plr__actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}
.home-plr__figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(29, 52, 59, .12);
  line-height: 0;
}
.home-plr__figure img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.home-page .footer-dark {
  margin-top: 0;
}
@media (max-width: 768px) {
  :root { --home-gap: 64px; }
  .home-plr__inner {
    grid-template-columns: 1fr;
  }
  .home-plr__figure {
    order: -1;
  }
  .home-plr__title,
  .home-plr__content .body-txt {
    text-align: center;
  }
  .home-plr__actions {
    justify-content: center;
  }
}

/* legacy aliases */
.intro-section {
  padding-block: 80px;
  background: var(--white);
}

.intro-title {
  font-family: var(--serif);
  font-size:clamp(calc(2rem + 1px), 4vw, calc(3rem + 1px));
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: .03em;
  margin-bottom: 28px;
}
.intro-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.intro-body p {
  font-size:calc(1.06rem + 1px);
  line-height: 1.75;
  color: var(--muted);
}
.intro-cta-text {
  font-size:calc(1.06rem + 1px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
  line-height: 1.5;
}
.intro-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Stats column */




.intro-stat__num sup {
  font-size:calc(1.26rem + 1px);
  color: var(--mocha);
  vertical-align: super;
}


@media (max-width: 920px) {
  
  
  
  .intro-stat:nth-child(even) { border-right: none; padding-right: 0; }
}
@media (max-width: 600px) {
  
  .intro-section { padding-block: 56px; }
}


/* ── TEAM SECTION ─────────────────────────────────────── */
.team-section {
  padding-block: 64px;
  background: var(--white);
}
.team-section__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Header: two columns */
.team-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}
.team-header__title {
  font-family: var(--serif);
  font-size:clamp(calc(1.8rem + 1px), 3.5vw, calc(2.6rem + 1px));
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0;
}
.team-header__desc {
  font-size:calc(1.02rem + 1px);
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 24px;
}

/* Photo strip */
.team-photo-wrap {
  width: 100%;
  line-height: 0;
}
.team-photo {
  width: 100%;
  height: auto;
  display: block;
}

/* OrthoCare. overlay over photo */
.team-photo__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 5%;
  background: linear-gradient(to top,
    rgba(244, 249, 250,.96) 0%,
    rgba(244, 249, 250,.75) 40%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
}
.team-photo__brand {
  font-family: var(--sans);
  font-size:clamp(calc(3rem + 1px), 9vw, calc(8rem + 1px));
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -.03em;
  line-height: 1;
}
.team-photo__dot {
  color: var(--mocha);
}

/* Responsive */
@media (max-width: 920px) {
  .team-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .team-section {
    padding-block: 56px 0;
  }
  .team-section__inner {
    gap: 32px;
  }
  .team-photo__brand {
    font-size:clamp(calc(2rem + 1px), 8vw, calc(4rem + 1px));
  }
  .team-photo__overlay {
    padding: 20px 24px;
  }
}
@media (max-width: 600px) {
  .team-header__title { font-size:calc(1.6rem + 1px); }
  .team-photo__brand { font-size:calc(2rem + 1px); }
}


/* ── PAGE ROUTING ── */
.page { display: none; margin: 0; padding: 0; }
.page.active { display: block; }


/* ── CARDS GRID (jak to wygląda) ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card3 {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(29, 52, 59,.07);
}
.card3__img {
  aspect-ratio: 2/3;
  overflow: hidden;
  background: #eef4f5;
}
.card3__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.card3:hover .card3__img img { transform: scale(1.03); }
.card3__body { padding: 20px 22px 24px; }
.card3__title {
  font-family: var(--serif);
  font-size:calc(1.21rem + 1px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card3__text {
  font-size:calc(0.96rem + 1px);
  color: var(--muted);
  line-height: 1.7;
}
.cards-carousel__controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.cards-carousel__dots {
  display: none;
}
@media (max-width: 768px) {
  .cards-carousel {
    margin-inline: -16px;
  }
  .cards-carousel__controls {
    display: flex;
    padding-bottom: 4px;
  }
  .cards-grid.cards-grid--swipe {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    gap: 16px;
    padding: 4px 16px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cards-grid.cards-grid--swipe::-webkit-scrollbar {
    display: none;
  }
  .cards-grid.cards-grid--swipe .card3 {
    flex: 0 0 min(86vw, 300px);
    scroll-snap-align: center;
  }
  .cards-grid:not(.cards-grid--swipe) {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (min-width: 769px) {
  .cards-grid.cards-grid--swipe {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── TEAM SECTION ── */
.team-section { overflow: hidden; line-height: 0; }
.team-photo-wrap { width: 100%; }
.team-photo { width: 100%; height: auto; display: block; }

/* ── TESTIMONIAL SLIDER ── */
.slider-wrap { position: relative; }
.slider { overflow: hidden; }
.slide { display: none; }
.slide.active { display: block; }
.testimonial {
  background: #fff;
  border-radius: 16px;
  padding: 36px 40px;
  border: 1px solid var(--border);
  max-width: 720px;
  margin-inline: auto;
  position: relative;
}
.testimonial::before {
  content: '\201C';
  font-family: var(--serif);
  font-size:calc(5rem + 1px);
  line-height: 1;
  color: var(--mocha);
  opacity: .2;
  position: absolute;
  top: 10px;
  left: 24px;
}
.testimonial__stars { color: var(--warm); font-size:calc(1rem + 1px); margin-bottom: 12px; }
.testimonial__text {
  font-size:calc(1.11rem + 1px);
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 20px;
  padding-top: 10px;
}
.testimonial__name { font-weight: 700; font-size:calc(0.96rem + 1px); color: var(--navy); }
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}
.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  transition: all .2s;
}
.slider-btn:hover {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
}
.slider-dots { display: flex; gap: 8px; align-items: center; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all .2s;
  border: none;
  padding: 0;
}
.slider-dot.active {
  background: var(--brown);
  transform: scale(1.3);
}


/* ── TEST HEADER ── */
.test-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px}
.test-nav{display:flex;gap:10px}
.test-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;min-height:200px}
.test-card{background:#fff;border-radius:14px;padding:28px 24px 24px;border:1px solid var(--border);position:relative}
.test-card::before{content:'C';font-family:var(--serif);font-size:calc(4rem + 1px);line-height:1;color:var(--mocha);opacity:.18;position:absolute;top:8px;left:18px}
.test-card__stars{color:var(--warm);font-size:calc(0.91rem + 1px);margin-bottom:8px}
.test-card__text{font-size:calc(0.94rem + 1px);line-height:1.7;color:var(--muted);margin-bottom:14px;padding-top:12px}
.test-card__name{font-weight:700;font-size:calc(0.88rem + 1px);color:var(--navy)}
.test-dots{display:flex;justify-content:center;gap:8px;margin-top:24px}
.test-dot{width:8px;height:8px;border-radius:50%;border:none;background:var(--border);cursor:pointer;transition:all .2s;padding:0}
.test-dot.active{background:var(--brown);transform:scale(1.3)}
@media(max-width:768px){.test-grid{grid-template-columns:1fr}.test-header{flex-direction:column;align-items:flex-start;gap:16px}}

/* ── DARK FOOTER ── */
.footer-dark{background:var(--brown);color:rgba(255,255,255,.7)}
.footer-dark__top{padding-block:56px}
.footer-dark__grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr;gap:48px;align-items:start}
.footer-dark__logo{height:96px;width:auto;max-width:360px;object-fit:contain;display:block;margin-bottom:16px}
.footer-dark__brand-name{
  font-family:var(--serif);
  font-size:calc(1.75rem + 1px);
  font-weight:700;
  color:#fff;
  margin-bottom:14px;
  line-height:1;
  letter-spacing:-.02em;
}
.footer-dark__tagline{font-size:calc(0.91rem + 1px);line-height:1.65;color:rgba(255,255,255,.55);margin-bottom:20px;max-width:320px}
.footer-dark__social{display:flex;gap:10px}
.footer-social-btn{width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;font-size:calc(0.94rem + 1px);color:rgba(255,255,255,.7);transition:all .15s;text-decoration:none}
.footer-social-btn:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.5);color:#fff}
.footer-dark__heading{font-size:calc(0.74rem + 1px);font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.38);margin-bottom:16px}
.footer-dark__list{list-style:none;display:flex;flex-direction:column;gap:10px}
.footer-dark__list a{font-size:calc(0.94rem + 1px);color:rgba(255,255,255,.65);text-decoration:none;transition:color .15s}
.footer-dark__list a:hover{color:#fff}
.footer-dark__partners{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:16px;
  margin-top:8px;
}
.footer-partner-tile,
.footer-dark__partners a.footer-partner-tile{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 80px;
  width:80px;
  height:80px;
  padding:10px;
  background:#fff;
  border-radius:10px;
  box-shadow:0 2px 8px rgba(0,0,0,.18);
  transition:transform .2s ease, box-shadow .2s ease;
  overflow:hidden;
}
.footer-partner-tile:hover{
  transform:translateY(-2px);
  box-shadow:0 4px 14px rgba(0,0,0,.24);
}
.footer-partner-logo{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
  filter:none;
  opacity:1;
  display:block;
}
.footer-partner-tile--gipsme .footer-partner-logo{
  transform:none;
  max-width:92%;
  max-height:92%;
}
@media(max-width:720px){
  .footer-dark__partners{flex-wrap:wrap;gap:10px}
  .footer-partner-tile,
  .footer-dark__partners a.footer-partner-tile{
    flex:0 0 68px;
    width:68px;
    height:68px;
    padding:8px;
  }
}
.footer-dark__bottom{border-top:1px solid rgba(255,255,255,.08);padding-block:20px}
.footer-dark__bottom .wrap{display:flex;justify-content:space-between;align-items:center;font-size:calc(0.86rem + 1px);color:rgba(255,255,255,.4);flex-wrap:wrap;gap:8px}
.footer-dark__bottom a{color:rgba(255,255,255,.5);text-decoration:none}
.footer-dark__bottom a:hover{color:#fff}
@media(max-width:920px){.footer-dark__grid{grid-template-columns:1fr 1fr;gap:28px}}
@media(max-width:600px){.footer-dark__grid{grid-template-columns:1fr;gap:24px}}

/* ── PAGE HEADER (section anchors) ── */
.page-header {
  background: var(--gradient-brand);
  color: #fff;
  padding: 56px 24px 48px;
  text-align: center;
}
.page-header h1 {
  font-family: var(--serif);
  font-size:clamp(calc(2rem + 1px), 4vw, calc(3rem + 1px));
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.page-header .subhead { color: rgba(255,255,255,.45); margin-bottom: 8px; }
.page-header p:not(.subhead) {
  color: rgba(255,255,255,.75);
  font-size:calc(1.06rem + 1px);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── KONTAKT ── */
.kontakt-hero {
  padding: 64px 24px 48px;
  text-align: center;
  background: var(--stone);
}
.kontakt-hero__title {
  font-family: var(--serif);
  font-size:clamp(calc(2rem + 1px), 4vw, calc(3rem + 1px));
  color: var(--navy);
  margin-bottom: 12px;
}
.kontakt-hero__title em { font-style: italic; color: var(--mocha); }
.kontakt-hero__sub { color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }
.kontakt-section { padding-block: 64px; }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.kontakt-col__heading {
  font-family: var(--serif);
  font-size:calc(1.4rem + 1px);
  color: var(--navy);
  margin-bottom: 8px;
}
.kontakt-col__lead { color: var(--muted); margin-bottom: 28px; font-size:calc(1.01rem + 1px); }
.kontakt-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.kontakt-item { display: flex; gap: 16px; align-items: flex-start; }
.kontakt-item__icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ice); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.kontakt-item__title { font-weight: 700; font-size:calc(0.94rem + 1px); color: var(--navy); margin-bottom: 2px; }
.kontakt-item__val { font-size:calc(1.06rem + 1px); color: var(--text); font-weight: 600; }
.kontakt-item__val:hover { color: var(--mocha); }
.kontakt-item__note { font-size:calc(0.88rem + 1px); color: var(--muted); margin-top: 2px; }
.kontakt-socials { display: flex; gap: 12px; flex-wrap: wrap; }
.kontakt-social {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 40px;
  border: 1.5px solid var(--border); font-size:calc(0.91rem + 1px); font-weight: 600;
  color: var(--text); transition: all .2s;
}
.kontakt-social:hover { border-color: var(--mocha); color: var(--mocha); background: var(--ice); }
.kontakt-map-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: #fff; margin-bottom: 20px;
}
.kontakt-map-photo { width: 100%; height: 200px; object-fit: cover; display: block; }
.kontakt-map-body { padding: 20px; }
.kontakt-map-title { font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.kontakt-map-desc { font-size:calc(0.94rem + 1px); color: var(--muted); margin-bottom: 16px; line-height: 1.6; }
.kontakt-map-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 40px;
  background: var(--brown); color: #fff; font-size:calc(0.91rem + 1px); font-weight: 600;
  transition: all .2s;
}
.kontakt-map-btn:hover { background: var(--navy); }
.kontakt-iframe-wrap {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); margin-bottom: 16px;
}
.kontakt-iframe-wrap iframe { width: 100%; height: 220px; border: 0; display: block; }
.kontakt-online-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 14px 20px; border-radius: var(--radius);
  background: var(--ice); border: 1.5px solid var(--border);
  font-weight: 600; font-size:calc(0.94rem + 1px); color: var(--navy);
  transition: all .2s;
}
.kontakt-online-btn:hover { border-color: var(--mocha); background: #fff; }
@media (max-width: 920px) {
  .kontakt-grid { grid-template-columns: 1fr; }
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--gradient-brand);
  padding: 56px var(--content-pad);
}
.cta-band__inner {
  max-width: var(--content-max); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cta-band__text { color: rgba(255,255,255,.85); font-size:calc(1.16rem + 1px); }
.cta-band__brand {
  font-family: var(--serif); font-size:clamp(calc(2rem + 1px), 5vw, calc(3.5rem + 1px));
  color: rgba(255,255,255,.25); line-height: 1;
}

.nav__links a.is-active { color: var(--mocha); }
.nav__mobile a.is-active { color: var(--mocha); background: var(--stone); }

/* Multi-page: hide SPA routing rule */
.page { display: block !important; }

.page-section { scroll-margin-top: 0; }

/* ── PAGE TITLE (subpages) ── */
.page-section__head {
  background: transparent;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--content-pad);
  scroll-margin-top: var(--nav-h);
}
.page-section__head .wrap-inner {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  text-align: center;
}
.page-section__bar {
  display: none;
}
.page-section__head .page-title {
  font-family: var(--serif);
  font-size:clamp(calc(1.75rem + 1px), 3.5vw, calc(3rem + 1px));
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
  margin: 0;
  padding: 0;
  letter-spacing: .04em;
  text-align: center;
}
@media (max-width: 767px) {
  .page-section__head .page-title {
    font-size: clamp(calc(2rem + 1px), 8vw, calc(2.35rem + 1px));
    letter-spacing: .05em;
  }
}
.page-lead {
  font-size:calc(1.11rem + 1px);
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
  margin-top: 12px;
}

/* ── GOOGLE REVIEWS ── */
.reviews-section { padding-block: 0; }
.reviews-section .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
.reviews-heading {
  margin-bottom: 40px;
  max-width: 460px;
  color: var(--navy);
  text-align: left;
}
.reviews-track {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  max-width: var(--content-max);
  min-height: 180px;
  align-self: center;
  margin-bottom: 28px;
}
.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 0;
  align-self: center;
  width: 100%;
}
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 0 1 calc(33.333% - 14px);
  max-width: 340px;
  min-width: 0;
}
.review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--mocha);
  font-weight: 700;
  font-size:calc(1.01rem + 1px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-card__meta { flex: 1; min-width: 0; }
.review-card__name { font-weight: 700; font-size:calc(0.96rem + 1px); color: var(--navy); }
.review-card__source { font-size:calc(0.81rem + 1px); color: var(--muted); }
.review-card__stars { color: #FBBC04; font-size:calc(0.86rem + 1px); letter-spacing: 1px; }
.review-card__text {
  font-size:calc(0.94rem + 1px);
  line-height: 1.7;
  color: var(--muted);
  flex: 1;
}
.reviews-dots{display:none}
.reviews-note { text-align: center; margin-top: 8px; font-size:calc(0.94rem + 1px); align-self: center; width: 100%; }
.reviews-note a { color: var(--mocha); font-weight: 600; }
.reviews-note a:hover { color: var(--navy); }
@media (max-width: 920px) {
  .reviews-section .wrap {
    overflow: hidden;
  }
  .reviews-track.reviews-track--swipe {
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 4px 16px 8px;
    margin-inline: -16px;
    width: calc(100% + 32px);
    max-width: none;
    scrollbar-width: none;
  }
  .reviews-track.reviews-track--swipe::-webkit-scrollbar {
    display: none;
  }
  .reviews-track--swipe .review-card {
    flex: 0 0 min(88vw, 380px);
    scroll-snap-align: center;
    max-width: none;
    width: auto;
  }
}
@media (min-width: 921px) and (max-width: 1100px) {
  .review-card { flex: 0 1 calc(50% - 10px); max-width: 360px; }
}

/* ── KONTAKT PAGE ── */
.kontakt-page { padding-block: 48px 48px; background: var(--stone); }
.kontakt-page__header { text-align: center; margin-bottom: 32px; }
.kontakt-page__title {
  font-family: var(--serif);
  font-size:clamp(calc(2rem + 1px), 4vw, calc(3rem + 1px));
  color: var(--navy);
  margin-bottom: 0;
}
.kontakt-page__title em { font-style: italic; color: var(--mocha); }
.kontakt-page__subtitle {
  font-size:calc(1.11rem + 1px);
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
  margin-inline: auto;
}
.kontakt-page__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.kontakt-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(29, 52, 59,.06);
  display: flex;
  flex-direction: column;
}
.kontakt-panel--info {
  padding: 22px 24px;
  gap: 16px;
}
.kontakt-panel__top {
  flex-shrink: 0;
}
.kontakt-panel__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.kontakt-panel__title {
  font-family: var(--serif);
  font-size:calc(1.41rem + 1px);
  color: var(--navy);
  margin-bottom: 0;
}
.kontakt-panel__title::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--warm);
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 2px;
}
.kontakt-panel__lead {
  font-size:calc(1.01rem + 1px);
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}
.kontakt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
}
.kontakt-list__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-block: 2px;
}
.kontakt-list__item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.kontakt-list__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--ice);
  color: var(--mocha);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kontakt-list__label {
  font-weight: 700;
  font-size:calc(0.94rem + 1px);
  color: var(--navy);
  margin-bottom: 4px;
}
.kontakt-list__value {
  display: block;
  font-size:calc(1.04rem + 1px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
a.kontakt-list__value:hover { color: var(--mocha); }
.kontakt-list__note {
  font-size:calc(0.88rem + 1px);
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}
.kontakt-panel__socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
  margin-top: 0;
  padding-top: 0;
}
.kontakt-panel--map {
  padding: 0;
  overflow: hidden;
  min-height: 100%;
}
.kontakt-panel--map iframe {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  display: block;
}
.kontakt-panel--visit {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  border: none;
  box-shadow: 0 8px 32px rgba(29, 52, 59, .1);
}
.kontakt-visit__hero {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.kontakt-visit__photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.kontakt-visit__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
  padding: 16px 24px;
  background: linear-gradient(to top, rgba(29, 52, 59, .92) 0%, rgba(29, 52, 59, .45) 65%, transparent 100%);
}
.kontakt-visit__title {
  font-family: var(--serif);
  font-size:calc(1.41rem + 1px);
  color: #fff;
  margin: 0;
  line-height: 38px;
  flex: 1;
  min-width: 0;
  height: 38px;
  transform: translateY(9px);
}
.kontakt-visit__address {
  font-size:calc(0.94rem + 1px);
  color: rgba(255, 255, 255, .82);
  margin: 0;
  line-height: 1.4;
}
.kontakt-visit__btn {
  flex-shrink: 0;
  font-size:calc(.875rem + 1px);
  padding: 0 18px;
  height: 38px;
  gap: 8px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.kontakt-visit__map {
  flex: 1;
  min-height: 240px;
  line-height: 0;
  background: var(--ice);
  overflow: hidden;
  display: flex;
}
.kontakt-visit__map iframe {
  width: 100%;
  flex: 1;
  min-height: 240px;
  border: 0;
  display: block;
}
/* legacy visit panel classes */
.kontakt-panel__photo { display: none; }
.kontakt-panel__body--compact { display: none; }
.kontakt-panel__map { display: none; }
.kontakt-page__visit {
  display: none;
}
@media (max-width: 920px) {
  .kontakt-page__cards { grid-template-columns: 1fr; }
  .kontakt-panel--info { padding: 20px; }
  .kontakt-visit__photo { height: 160px; }
  .kontakt-visit__overlay {
    flex-direction: row;
    align-items: center;
    padding: 16px 20px;
  }
  .kontakt-visit__map,
  .kontakt-visit__map iframe { min-height: 220px; }
}

/* ── DOCTOR PROFILE ── */
.doctor-profile { padding-block: 48px 80px; }
.doctor-back {
  display: inline-block;
  font-size:calc(0.94rem + 1px);
  font-weight: 600;
  color: var(--mocha);
  margin-bottom: 32px;
}
.doctor-back:hover { color: var(--navy); }
.doctor-profile__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.doctor-profile__name {
  font-family: var(--serif);
  font-size:clamp(calc(1.75rem + 1px), 3vw, calc(2.5rem + 1px));
  color: var(--navy);
  margin-bottom: 8px;
}
.doctor-profile__spec {
  font-size:calc(1.06rem + 1px);
  font-weight: 600;
  color: var(--mocha);
  margin-bottom: 28px;
}
.doctor-profile__bio p { margin-bottom: 1rem; line-height: 1.75; color: var(--muted); }
.doctor-profile__bio strong { color: var(--text); }
.doctor-profile__photo-wrap {
  position: static;
  align-self: start;
}
.doctor-profile__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 560px;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: block;
}
@media (max-width: 920px) {
  .doctor-profile__grid { grid-template-columns: 1fr; gap: 32px; }
  .doctor-profile__photo-wrap { order: -1; }
  .doctor-profile__photo { max-height: 420px; }
}

/* ── KRIOLEZJA PAGE ── */
.krio-page {
  --krio-gap: clamp(52px, 7vw, 84px);
  color: var(--text);
}
.krio-page .krio-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: var(--krio-gap);
  box-sizing: border-box;
}
.krio-hero--split .krio-hero__photo {
  margin: 0;
  width: 100%;
  align-self: center;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.krio-hero--split .krio-hero__photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center right;
  transform: scale(1.06) translateX(26px);
  transform-origin: center right;
}
.krio-hero--intro {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 48px var(--content-inset) 56px;
  background: linear-gradient(135deg, var(--stone) 0%, var(--white) 55%, var(--ice) 100%);
}
.krio-hero__photo {
  margin: 0;
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  line-height: 0;
}
.krio-hero__photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center top;
}
.krio-hero--intro .krio-hero__content {
  max-width: 760px;
  margin-inline: auto;
  width: 100%;
  text-align: center;
}
.krio-hero--intro .krio-hero__title,
.krio-hero--intro .krio-hero__lead {
  text-align: center;
}
.krio-hero--intro .krio-hero__content .btn {
  margin-inline: auto;
}
.krio-hero--split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  padding: 56px var(--content-inset);
  background: linear-gradient(135deg, var(--stone) 0%, var(--white) 55%, var(--ice) 100%);
  min-height: auto;
}
.krio-hero--title-top {
  grid-template-rows: auto auto;
  align-items: start;
}
.krio-hero--title-top .krio-hero__title {
  grid-column: 1 / -1;
  grid-row: 1;
  margin-bottom: clamp(24px, 4vw, 40px);
  max-width: none;
}
.krio-hero--title-top .krio-hero__content {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
}
.krio-hero--title-top .krio-hero__photo {
  grid-column: 2;
  grid-row: 2;
}
.krio-hero--title-top .krio-hero__lead {
  margin-bottom: 28px;
}
.krio-hero__caption {
  font-size: calc(0.98rem + 1px);
  color: var(--muted);
  font-style: italic;
  margin: -8px 0 20px;
  text-align: left;
}
.krio-hero__content {
  max-width: 540px;
  padding: 0;
  align-self: center;
  justify-self: start;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}
.krio-hero__title {
  font-family: var(--serif);
  font-size:clamp(calc(1.32rem + 1px), 2.22vw, calc(1.8rem + 1px));
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: left;
  letter-spacing: .03em;
}
.krio-hero__title-em {
  font-style: italic;
  color: var(--brown);
}
.krio-hero__title-sub {
  display: block;
  margin-top: 0.42em;
  font-weight: 500;
  font-style: italic;
  letter-spacing: .02em;
  color: var(--brown);
  opacity: 1;
  white-space: nowrap;
}
.krio-hero__lead {
  font-size:calc(1.11rem + 1px);
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
  text-align: left;
}
.krio-hero__figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  align-self: center;
  width: 100%;
  min-height: clamp(280px, 34vw, 460px);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(29, 52, 59, .12);
}
.krio-hero__figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.krio-section {
  padding-bottom: var(--krio-gap);
}
.krio-section--stone + .krio-section {
  padding-top: var(--krio-gap);
}
.krio-section--stone {
  background: var(--stone);
  padding-block: var(--krio-gap);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-inline: var(--content-pad);
  box-sizing: border-box;
}
.krio-section__inner {
  max-width: var(--content-max);
  margin-inline: auto;
}
.krio-section__inner--wide {
  max-width: var(--content-max);
}
.krio-section__inner--narrow {
  max-width: var(--content-max);
}
.krio-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.krio-heading {
  font-family: var(--serif);
  font-size:clamp(calc(1.65rem + 1px), 3vw, calc(2.1rem + 1px));
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 20px;
}
.krio-heading--center {
  text-align: center;
  margin-bottom: 32px;
}
.krio-lead {
  font-size:calc(1.06rem + 1px);
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}
.krio-list li {
  position: relative;
  padding-left: 20px;
  font-size:calc(1.04rem + 1px);
  line-height: 1.65;
  color: var(--text);
}
.krio-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warm);
}
/* Technologies */
.krio-tech-section {
  background: var(--white);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-inline: var(--content-pad);
  padding-block: var(--krio-gap);
  box-sizing: border-box;
}
.krio-tech-header {
  max-width: 640px;
  margin-bottom: 48px;
}
.krio-tech-header--center {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.krio-lead--center {
  text-align: center;
  margin-inline: auto;
}
.krio-tech-header .krio-heading {
  margin-bottom: 16px;
}
.krio-tech-header .krio-lead {
  margin-bottom: 0;
}
.krio-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.krio-tech-grid--5 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.krio-tech-grid--5 .krio-tech-card:nth-child(1) { grid-column: 1 / 3; }
.krio-tech-grid--5 .krio-tech-card:nth-child(2) { grid-column: 3 / 5; }
.krio-tech-grid--5 .krio-tech-card:nth-child(3) { grid-column: 5 / 7; }
.krio-tech-grid--5 .krio-tech-card:nth-child(4) { grid-column: 2 / 4; }
.krio-tech-grid--5 .krio-tech-card:nth-child(5) { grid-column: 4 / 6; }
.krio-tech-grid--6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .krio-tech-grid--6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.krio-tech-card {
  background: #fff;
  border: 1px solid rgba(118, 151, 161, .22);
  border-radius: 16px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  box-shadow: 0 4px 20px rgba(29, 52, 59, .05);
}
.krio-tech-card__num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--mocha);
  line-height: 1;
}
.krio-tech-card__title {
  font-family: var(--sans);
  font-size: 1.11rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin: 0;
}
.krio-tech-card__text {
  font-size: 1.01rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  flex: 1;
}

.krio-gallery-section {
  padding-bottom: var(--krio-gap);
}
.krio-gallery-carousel {
  display: none;
}
.krio-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.krio-gallery__item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  line-height: 0;
  min-width: 0;
}
.krio-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.krio-problems {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.krio-problems__content {
  min-width: 0;
}
.krio-problems__photo {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
}
.krio-problems__photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

.krio-dual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
.krio-dual__col .krio-heading {
  margin-bottom: 16px;
}
.krio-lead--flush {
  margin-bottom: 0;
}
.krio-lead--after-list {
  margin-top: 24px;
  margin-bottom: 0;
}

.krio-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
}
.krio-compare__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(29, 52, 59, .06);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.krio-compare__card--primary {
  border-color: var(--warm);
  background: linear-gradient(180deg, rgba(180, 203, 209, .1) 0%, #fff 40%);
  box-shadow: 0 8px 32px rgba(180, 203, 209, .15);
}
.krio-compare__head {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.krio-compare__card--primary .krio-compare__head {
  border-bottom-color: rgba(180, 203, 209, .25);
}
.krio-compare__step {
  display: inline-block;
  font-size:calc(0.78rem + 1px);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mocha);
  margin-bottom: 10px;
}
.krio-compare__card--primary .krio-compare__step {
  color: var(--brown);
}
.krio-compare__title {
  font-family: var(--serif);
  font-size:calc(1.31rem + 1px);
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}
.krio-compare__subtitle {
  font-size:calc(0.91rem + 1px);
  color: var(--muted);
  margin: 6px 0 0;
}
.krio-compare__list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}
.krio-compare__item {
  margin: 0;
}
.krio-compare__item dt {
  font-size:calc(0.84rem + 1px);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}
.krio-compare__item dd {
  margin: 0;
  font-size:calc(0.98rem + 1px);
  line-height: 1.7;
  color: var(--muted);
}
.krio-compare__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm);
  flex-shrink: 0;
}
.krio-compare__arrow svg {
  width: 28px;
  height: 28px;
}
.krio-process {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 8px;
}
.krio-process__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.krio-process__row--reverse .krio-process__media {
  order: 2;
}
.krio-process__row--reverse .krio-process__body {
  order: 1;
}
.krio-process__media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(29, 52, 59, .1);
  line-height: 0;
  aspect-ratio: 4 / 3;
}
.krio-process__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.krio-process__step {
  font-size:calc(0.78rem + 1px);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mocha);
  margin-bottom: 8px;
}
.krio-process__title {
  font-family: var(--serif);
  font-size:clamp(calc(1.26rem + 1px), 2vw, calc(1.45rem + 1px));
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.krio-process__text {
  font-size:calc(1.01rem + 1px);
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}
.krio-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.krio-faq__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 20px;
  box-shadow: 0 2px 12px rgba(29, 52, 59, .05);
}
.krio-faq__item summary {
  font-weight: 600;
  font-size:calc(1.04rem + 1px);
  color: var(--navy);
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.krio-faq__item summary::-webkit-details-marker { display: none; }
.krio-faq__item summary::after {
  content: '+';
  font-size:calc(1.31rem + 1px);
  color: var(--mocha);
  flex-shrink: 0;
}
.krio-faq__item[open] summary::after { content: '−'; }
.krio-faq__item p {
  margin: 0 0 18px;
  font-size:calc(0.98rem + 1px);
  line-height: 1.7;
  color: var(--muted);
}
.krio-cta {
  text-align: center;
  background: var(--stone);
  padding: 0 var(--content-pad) 56px;
}
.krio-cta .btn {
  font-size:calc(1.01rem + 1px);
  padding: 14px 32px;
}
@media (max-width: 900px) {
  .krio-page { --krio-gap: 48px; }
  .krio-hero--intro {
    padding: 32px var(--content-pad) 40px;
    gap: 28px;
  }
  .krio-hero--split {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px var(--content-pad) 0;
    min-height: 0;
  }
  .krio-page .krio-hero.krio-hero--split {
    margin-bottom: 0;
  }
  .krio-hero--split + .krio-section {
    padding-top: 28px;
  }
  .krio-hero--title-top .krio-hero__title,
  .krio-hero--title-top .krio-hero__content,
  .krio-hero--title-top .krio-hero__photo {
    grid-column: auto;
    grid-row: auto;
  }
  .krio-hero--title-top .krio-hero__title {
    margin-bottom: 8px;
  }
  .krio-hero__content {
    max-width: none;
    padding: 0;
    align-self: auto;
    justify-self: stretch;
  }
  .krio-hero__title,
  .krio-hero__lead,
  .krio-hero__caption { text-align: left; }
  .krio-hero__title-sub {
    margin-top: 0.55em;
  }
  .krio-hero--split .krio-hero__content .btn {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }
  .krio-hero--split .krio-hero__photo img {
    object-position: center center;
    transform: none;
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
  }
  .krio-hero--split .krio-hero__photo {
    order: 1;
    min-height: 0;
    width: calc(100% + 2 * var(--content-pad));
    max-width: none;
    margin-left: calc(-1 * var(--content-pad));
    margin-right: calc(-1 * var(--content-pad));
    overflow: hidden;
    justify-content: center;
  }
  .krio-hero__figure {
    min-height: 280px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(29, 52, 59, .12);
  }
  .krio-compare {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .krio-tech-grid,
  .krio-tech-grid--5,
  .krio-tech-grid--6 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .krio-tech-grid--5 .krio-tech-card:nth-child(n) {
    grid-column: auto;
  }
  .krio-gallery {
    display: none;
  }
  .krio-gallery-carousel {
    display: block;
    width: 100%;
  }
  .krio-gallery-carousel__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 14px;
  }
  .krio-gallery-carousel__track::-webkit-scrollbar {
    display: none;
  }
  .krio-gallery-carousel__slide {
    flex: 0 0 100%;
    width: 100%;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    aspect-ratio: auto;
    max-height: none;
    min-height: 0;
    scroll-snap-align: center;
    display: block;
    padding: 0;
    box-sizing: border-box;
    line-height: 0;
  }
  .krio-gallery-carousel__slide img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    display: block;
  }
  .krio-gallery-carousel__slide:first-child img {
    object-position: center;
  }
  .krio-gallery-carousel__controls {
    display: flex;
    justify-content: center;
    gap: 12px;
  }
  .krio-problems {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .krio-problems__photo {
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
  }
  .krio-dual {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .krio-compare__arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }
  .krio-process__row,
  .krio-process__row--reverse {
    grid-template-columns: 1fr;
  }
  .krio-process__row--reverse .krio-process__media,
  .krio-process__row--reverse .krio-process__body { order: unset; }
}
@media (max-width: 600px) {
  .krio-page { --krio-gap: 36px; }
  .krio-compare__card {
    padding: 22px 18px;
  }
}

/* ── O NAS PAGE ── */
.about-page {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.about-page__lead {
  font-family: var(--serif);
  font-size:clamp(calc(1.41rem + 1px), 2.5vw, calc(1.75rem + 1px));
  color: var(--navy);
  line-height: 1.35;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.about-page__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-page__hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-page__hero-text p {
  font-size:calc(1.06rem + 1px);
  line-height: 1.75;
  color: var(--muted);
}
.about-page__hero-text strong {
  color: var(--text);
}
.about-page__hero-media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}
.about-page__hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.about-page__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.about-highlight {
  background: var(--stone);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.about-highlight__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--mocha);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.about-highlight__title {
  font-family: var(--serif);
  font-size:calc(1.21rem + 1px);
  color: var(--navy);
  margin-bottom: 8px;
}
.about-highlight__text {
  font-size:calc(0.98rem + 1px);
  line-height: 1.65;
  color: var(--muted);
}
.about-highlight__text strong {
  color: var(--text);
}
.about-page__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 820px;
}
.about-page__body p {
  font-size:calc(1.06rem + 1px);
  line-height: 1.75;
  color: var(--muted);
}
.about-page__body strong {
  color: var(--text);
}
.about-page__quote {
  margin: 0;
  padding: 28px 32px;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 14px;
  font-family: var(--serif);
  font-size:clamp(calc(1.16rem + 1px), 2vw, calc(1.35rem + 1px));
  line-height: 1.5;
  text-align: center;
}
.about-page__gallery-title {
  font-family: var(--serif);
  font-size:clamp(calc(1.5rem + 1px), 3vw, calc(2rem + 1px));
  color: var(--navy);
  text-align: center;
  margin-bottom: 24px;
}
.about-page__gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.about-page__gallery-item {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}
.about-page__gallery-item:hover {
  opacity: .92;
  transform: scale(1.02);
}
.about-page__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 920px) {
  .about-page__hero { grid-template-columns: 1fr; }
  .about-page__hero-media { order: -1; }
  .about-page__hero-media img { height: 240px; }
  .about-page__highlights { grid-template-columns: 1fr; }
  .about-page__gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 921px) and (max-width: 1100px) {
  .about-page__gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── MOBILE (phones & small tablets) ── */
@media (max-width: 920px) {
  .wrap,
  .page-section__body .wrap-inner {
    padding-inline: 20px;
  }
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .section {
    padding-block: 56px;
  }
  .cta-band {
    padding: 40px 20px;
  }
  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .cta-band__brand {
    font-size: clamp(calc(1.6rem + 1px), 8vw, calc(2.4rem + 1px));
  }
  .page-section__head {
    min-height: 72px;
    padding-inline: 20px;
  }
  .testimonial {
    padding: 28px 24px;
  }
  .krio-section__inner,
  .krio-section__inner--wide,
  .krio-section__inner--narrow {
    padding-inline: 20px;
  }
}

@media (max-width: 600px) {
  :root {
    --home-gap: 48px;
    --nav-h: 64px;
  }
  html {
    -webkit-text-size-adjust: 100%;
  }
  body {
    font-size: 17px;
    overflow-x: hidden;
  }
  .wrap,
  .page-section__body .wrap-inner {
    padding-inline: 16px;
  }
  .intro-team-block {
    padding-top: var(--home-gap);
  }
  .intro-team-block--hero {
    padding-top: 0;
  }
  .intro-title {
    font-size: clamp(calc(1.65rem + 1px), 7vw, calc(2.2rem + 1px));
    margin-bottom: 20px;
  }
  .intro-body {
    margin-bottom: 20px;
  }
  .intro-cta-text {
    margin-bottom: 16px;
  }
  .btn {
    padding: 12px 22px;
    min-height: 44px;
  }
  .nav__wrap {
    padding-inline: 16px;
    gap: 12px;
  }
  .nav__logo img {
    height: 40px;
    max-width: 150px;
  }
  .footer-social-btn {
    width: 48px;
    height: 48px;
    font-size: calc(.95rem + 1px);
  }
  .nav__mobile a {
    padding: 16px 20px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav-cta-wrap {
    padding: 16px 20px 20px;
  }
  .footer-dark__top {
    padding-block: 40px;
  }
  .footer-dark__logo {
    height: 64px;
    max-width: 240px;
  }
  .footer-dark__tagline {
    max-width: none;
  }
  .footer-dark__bottom .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .reviews-section.home-section {
    padding-top: clamp(40px, 6vw, 56px);
    padding-bottom: var(--home-gap);
  }
  .reviews-heading {
    margin-bottom: 24px;
  }
  .review-card {
    padding: 20px;
  }
  .krio-hero--split {
    padding: 32px 16px 0;
    gap: 16px;
  }
  .krio-page .krio-hero.krio-hero--split {
    margin-bottom: 0;
  }
  .krio-hero--split + .krio-section {
    padding-top: 24px;
  }
  .krio-hero--split .krio-hero__photo {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 0;
    min-height: 0;
    height: auto;
    max-height: none;
    line-height: 0;
  }
  .krio-hero--split .krio-hero__photo img {
    height: auto;
    transform: none;
  }
  .krio-hero__figure img {
    min-height: 220px;
  }
  .krio-section--stone {
    padding-inline: 16px;
  }
  .krio-heading {
    font-size: clamp(calc(1.4rem + 1px), 5.5vw, calc(1.85rem + 1px));
  }
  .kontakt-page {
    padding-block: 32px 40px;
  }
  .kontakt-panel--info {
    padding: 18px 16px;
  }
  .kontakt-visit__overlay {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
  }
  .kontakt-visit__title {
    font-size: calc(1.21rem + 1px);
    line-height: 1.3;
    height: auto;
    transform: none;
    flex: 1 1 100%;
  }
  .kontakt-visit__btn {
    width: 100%;
    justify-content: center;
  }
  .doctor-profile {
    padding-block: 32px 48px;
  }
  .page-section__body {
    padding-block: 32px 40px;
  }
  .o-nas-content__title,
  h2.o-nas-content__title {
    font-size: 22px !important;
    font-weight: 600 !important;
    letter-spacing: .01em;
    line-height: 1.4 !important;
    margin-bottom: 14px !important;
    white-space: normal !important;
  }
}

/* Prevent horizontal scroll from full-bleed sections */
.krio-page .krio-hero,
.krio-section--stone {
  max-width: 100vw;
}


/* ===== MediCare overrides ===== */
:root { --gradient-brand: linear-gradient(135deg,#B4CBD1 0%,#7697A1 45%,#1D343B 100%); }
/* Fit 6 nav links */
:root { --nav-h: 92px; }
.nav__wrap { gap: 12px; height: 92px; max-width: var(--nav-max); }
.nav__links { flex: 1 1 auto; gap: 0; padding-inline: 20px; justify-content: space-between; margin-left: 0; min-width: 0; }
.nav__links li { flex: 0 1 auto; }
.nav__links a { font-size: 22px; padding: 0 5px; white-space: nowrap; }
.nav__logo { flex: 0 0 205px; }
.nav__logo img { height: 66px; max-width: 205px; }
/* 6 links leave no room for top-bar social icons; keep them in footer only */
.nav__actions .nav__social { display: none; }
.nav__actions { gap: 8px; flex-shrink: 0; }
.nav__btn-kontakt, .nav__btn-rezerwuj { font-size: 16px; padding-inline: 15px; }
@media (max-width: 1340px){ .nav__links a{ font-size:19px; padding:0 3px; } .nav__links{ padding-inline:13px; } .nav__logo img{ height:54px; } }
@media (max-width: 1120px){ .nav__logo img{ height:48px; } }
/* Feature cards: full image centered, no cropping */
.card3__img { aspect-ratio: 3/4; background: #fff; display: flex; align-items: center; justify-content: center; }
.card3__img img { width: 100%; height: 100%; object-fit: contain; object-position: center center; }
/* Simple price rows for cennik */
.price-list { list-style:none; margin:0; padding:0; }
.price-list li { display:flex; justify-content:space-between; gap:16px; padding:10px 0; border-bottom:1px solid var(--stone); font-size:18px; line-height:1.65; }
.price-list li:last-child { border-bottom:0; }
.price-list .price { color:var(--brown); font-weight:700; white-space:nowrap; font-size:1em; }
/* Doctor avatar initials */
.doc-avatar { width:130px; height:130px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-size:36px; font-weight:700; margin-bottom:16px; background:linear-gradient(135deg,#B4CBD1 0%,#7697A1 60%,#1D343B 100%); }
/* Doctor real photo (same footprint as avatar) */
.doc-photo { width:130px; height:130px; border-radius:50%; object-fit:cover; object-position:top center; margin-bottom:16px; box-shadow:0 4px 14px rgba(29,52,59,.18); }

/* Booking modal (phone CTA) */
.booking-modal__note { color: var(--muted); font-size:17px; line-height:1.6; margin: 9px 0 21px; text-align:center; }
.booking-modal__phone { font-size: 26px; padding: 15px 34px; text-decoration:none; }
.booking-modal__addr { color: var(--muted); font-size:15px; margin-top: 17px; text-align:center; }
.booking-modal__body { display:flex; flex-direction:column; align-items:center; }

/* ===== Nav bar in logo color (blends with logo), white text ===== */
body:not(.premium-page) #site-header { background: #B4CBD1; }
body:not(.premium-page) .nav { background: #B4CBD1; border-bottom: 1px solid rgba(255,255,255,.35); }
body:not(.premium-page) .nav__links a { color: #ffffff; }
body:not(.premium-page) .nav__links a:hover,
body:not(.premium-page) .nav__links a.is-active { color: #ffffff; opacity: .78; }
body:not(.premium-page) .nav__links a.is-active { border-bottom: 2px solid #ffffff; }
/* Kontakt = white button, site brand color text */
body:not(.premium-page) .nav__btn-kontakt { color:var(--brown); border:1.5px solid var(--brown); background:var(--white); }
body:not(.premium-page) .nav__btn-kontakt:hover { background:var(--ice); border-color:var(--brown); color:var(--brown); box-shadow:none; }
body:not(.premium-page) .nav__btn-kontakt.is-active { background:var(--white); color:var(--brown); border-color:var(--brown); }
/* Umów wizytę = solid deep teal on light bar */
body:not(.premium-page) .nav__btn-rezerwuj { background:#1D343B; color:#fff; }
body:not(.premium-page) .nav__btn-rezerwuj:hover { background:#31464b; box-shadow:0 0 0 3px rgba(255,255,255,.35); }
/* Hamburger + mobile menu */
body:not(.premium-page) .nav__hamburger span { background:#ffffff; }
body:not(.premium-page) .nav__mobile { background:#B4CBD1; border-top:1px solid rgba(255,255,255,.3); }
body:not(.premium-page) .nav__mobile a { color:#ffffff; border-bottom-color:rgba(255,255,255,.25); }
body:not(.premium-page) .nav__mobile a:hover,
body:not(.premium-page) .nav__mobile a:focus,
body:not(.premium-page) .nav__mobile a:active,
body:not(.premium-page) .nav__mobile a.is-active {
  color: #ffffff;
  background: transparent;
  opacity: 1;
}

/* Poradnie page */
.poradnie-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 40px;
  max-width: var(--content-max);
  margin: 0 auto;
  align-items: stretch;
}
.poradnia-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(29, 52, 59, .06);
  transition: box-shadow .2s ease;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
}
.poradnia-card::before {
  display: none;
}
.poradnia-card:hover {
  box-shadow: 0 6px 22px rgba(29, 52, 59, .1);
}
.poradnia-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  padding: 28px 28px 24px;
  background: #fff;
  color: var(--text);
}
.legacy-content .poradnia-card h2,
.legacy-content .poradnia-card p {
  color: inherit;
}
.legacy-content .poradnia-card__title {
  font-family: var(--serif);
}
.poradnia-card__title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--navy);
  margin: 0 0 14px;
  line-height: 1.3;
  min-height: 0;
}
.poradnia-card__text {
  flex: 1;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 22px;
}
.poradnia-card__doctors {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: auto;
  min-height: 0;
}
.poradnia-doc {
  display: flex;
  align-items: center;
  gap: 16px;
}
.poradnia-doc__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--ice);
}
.poradnia-card .poradnia-doc__avatar {
  width: 120px !important;
  height: 120px !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  margin: 0 !important;
  flex-shrink: 0;
  border: 1px solid var(--border) !important;
  background: var(--ice) !important;
  color: var(--navy) !important;
}
.poradnia-doc__name {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin: 0;
}
.poradnia-doc__spec {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
  margin: 4px 0 0;
  line-height: 1.45;
}
@media (max-width: 768px) {
  .poradnie-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .poradnia-card__body {
    padding: 22px 20px 20px;
  }
  .poradnia-doc__photo,
  .poradnia-card .poradnia-doc__avatar {
    width: 84px !important;
    height: 84px !important;
  }
}
.home-cta-row { text-align:center; margin-top:48px; }

/* Home hero: text left, photo right */
.hero-split {
  background: var(--white);
  padding-block: var(--home-gap);
}
.hero-split__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-split__content { max-width: 560px; }
.hero-split__media {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-split__img {
  width: 100%;
  height: auto;
  max-height: clamp(280px, 38vw, 520px);
  object-fit: contain;
  object-position: center;
  display: block;
}
@media (max-width: 900px) {
  .hero-split__inner { grid-template-columns: 1fr; }
  .hero-split__media { order: -1; }
  .hero-split__content { max-width: none; }
}

.btn-primary { background: var(--brown); color: #fff; }
.btn-primary:hover { background: var(--navy); box-shadow: 0 0 0 3px rgba(180, 203, 209, .45); }

#site-header {
  transition: none;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 6px;
  transition: opacity .2s;
}
.header-phone:hover { opacity: .85; }
.header-phone--mobile { display: none; }
.header-phone--drawer {
  color: #fff;
  padding: 14px 32px;
  height: auto;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
}

.nav-social-btn {
  width: 40px;
  height: 40px;
}

.home-hero {
  position: relative;
  min-height: 0;
  width: 100%;
  aspect-ratio: 2560 / 1450;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #14282d;
}
.home-page {
  padding-top: 0;
}
.home-page .home-hero {
  margin-top: 0;
}
.home-hero__bg {
  position: absolute;
  inset: 0;
  background: url("../images/glowne-desktop.jpg?v=2") center 22% / cover no-repeat;
  z-index: 0;
}
.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(20, 40, 45, .82) 0%, rgba(20, 40, 45, .45) 55%, rgba(20, 40, 45, .15) 100%);
}
.home-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: calc(var(--nav-h) + clamp(12px, 2vw, 28px));
  padding-bottom: clamp(28px, 4vw, 56px);
  margin-inline: 0 auto 0;
  margin-left: max(var(--content-pad), calc((100vw - var(--content-max)) / 2 + var(--content-pad)));
  margin-right: auto;
  margin-bottom: clamp(12px, 2vw, 36px);
  width: min(720px, calc(100% - 2 * var(--content-pad)));
}
.home-hero__title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: .02em;
}
.home-hero__accent {
  color: var(--warm);
  display: inline;
  font-size: 0.55em;
  font-weight: 500;
}
.home-hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, .9);
  margin: 0 0 32px;
  max-width: 560px;
}
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
}
.home-hero__actions .btn {
  box-sizing: border-box;
  min-width: 220px;
  min-height: 46px;
  justify-content: center;
  padding: 11px 22px;
  border-width: 1.5px;
  border-style: solid;
  font-size: 0.92rem;
}
.home-hero__actions .btn--primary,
.home-hero__actions .btn-primary {
  border-color: transparent;
}
.home-hero__btn-outline {
  border-color: rgba(255, 255, 255, .85);
  color: #fff;
}
.home-hero__btn-outline:hover {
  background: rgba(255, 255, 255, .14);
  border-color: #fff;
  box-shadow: none;
}

/* Mobile-only hero bits — hidden on desktop */
.hero__photo,
.hero__subtitle {
  display: none;
}
.nav__logo .nav__logo-img--light {
  display: none;
}

@media (max-width: 899px) {
  .home-page {
    padding-top: var(--nav-h);
    overflow-x: hidden;
  }

  /* Nav like other pages — light brand bar, dark logo */
  body.home-page:not(.premium-page) #site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #B4CBD1;
    box-shadow: none;
  }
  body.home-page:not(.premium-page) .nav {
    background: #B4CBD1;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
  }
  body.home-page:not(.premium-page) .nav__hamburger span {
    background: #fff;
  }
  body.home-page:not(.premium-page) .nav__mobile {
    background: #B4CBD1;
    border-top: 1px solid rgba(255, 255, 255, .3);
  }
  body.home-page:not(.premium-page) .nav__mobile a {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, .25);
  }
  body.home-page:not(.premium-page) .nav__mobile a:hover,
  body.home-page:not(.premium-page) .nav__mobile a:focus,
  body.home-page:not(.premium-page) .nav__mobile a:active,
  body.home-page:not(.premium-page) .nav__mobile a.is-active {
    color: #fff;
    background: transparent;
    opacity: 1;
  }
  .home-page .nav__logo .nav__logo-img--dark {
    display: block;
  }
  .home-page .nav__logo .nav__logo-img--light {
    display: none;
  }

  .home-page .hero,
  .home-page .home-hero.hero {
    background: var(--brown);
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    height: auto;
    display: block;
    align-items: stretch;
    overflow: visible;
    color: var(--navy);
  }
  .home-page .home-hero__bg,
  .home-page .home-hero__overlay {
    display: none;
  }

  .home-page .hero__photo {
    display: block;
    position: relative;
    line-height: 0;
    overflow: hidden;
  }
  .home-page .hero__photo::after {
    display: none;
  }
  .home-page .hero__photo img {
    width: 100%;
    height: clamp(300px, 58vw, 380px);
    object-fit: cover;
    object-position: center 22%;
    display: block;
    max-width: none;
    transform: scale(1.08);
    transform-origin: center 30%;
  }

  .home-page .hero__sheet,
  .home-page .home-hero__content.hero__sheet {
    display: block;
    position: relative;
    z-index: 2;
    margin: -32px 0 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    width: 100%;
    max-width: none;
    background: var(--white);
    border-radius: 28px 28px 0 0;
    padding: 1.75rem 1.25rem 2.5rem;
    color: var(--navy);
    box-sizing: border-box;
  }

  .home-page .hero__title,
  .home-page .home-hero__title.hero__title {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(1.9rem, 8vw, 2.3rem);
    line-height: 1.08;
    letter-spacing: -.015em;
    margin: 0 0 .6rem;
    text-wrap: balance;
    color: var(--navy);
  }
  .home-page .home-hero__accent {
    display: none;
  }
  .home-page .hero__subtitle {
    display: block;
    font-family: var(--sans);
    font-weight: 400;
    font-size: clamp(1.12rem, 4.2vw, 1.28rem);
    line-height: 1.45;
    color: var(--muted);
    max-width: none;
    white-space: nowrap;
    margin: 0 0 1.4rem;
  }

  .home-page .hero__actions,
  .home-page .home-hero__actions.hero__actions {
    display: grid;
    gap: .6rem;
    flex-direction: column;
  }
  .home-page .hero__actions .btn,
  .home-page .home-hero__actions .btn {
    text-align: center;
    padding: 1rem 1.25rem;
    border-radius: 999px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    text-decoration: none;
    min-height: 52px;
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    box-sizing: border-box;
  }
  /* Same as header «Umów wizytę» (.nav__btn-rezerwuj on desktop bar) */
  .home-page .hero__actions .btn--primary,
  .home-page .hero__actions .btn-primary {
    background: var(--brown);
    color: #fff;
    border: 1.5px solid var(--brown);
  }
  .home-page .hero__actions .btn--primary:hover,
  .home-page .hero__actions .btn-primary:hover {
    background: var(--navy);
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .35);
  }
  /* Like header «Kontakt»: transparent, thin border, dark text */
  .home-page .hero__actions .btn--ghost,
  .home-page .hero__actions .home-hero__btn-outline {
    background: transparent;
    color: var(--brown);
    border: 1.5px solid var(--brown);
  }
  .home-page .hero__actions .btn--ghost:hover,
  .home-page .hero__actions .home-hero__btn-outline:hover {
    background: var(--ice);
    border-color: var(--brown);
    color: var(--brown);
    box-shadow: none;
  }
  .home-page .hero__actions .btn:active {
    transform: scale(.98);
  }

  .home-page .home-section,
  .home-page .home-section--features,
  .home-page .home-section--after-hero {
    margin-top: 0;
  }
}

.home-page .home-section {
  padding-block: 96px;
  margin-top: 0;
}
.home-section--white { background: #fff; }
.home-section--muted { background: #F6F8F9; }
.home-page .home-section--after-hero,
.home-page .home-section--features {
  margin-top: 0;
}

.home-page .cards-grid--features {
  align-items: stretch;
}
.home-page .cards-grid--features .feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  transition: border-color .25s ease, transform .25s ease;
}
.home-page .cards-grid--features .feature-card:hover {
  border-color: var(--mocha);
  transform: translateY(-3px);
}
.home-page .feature-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ice);
  margin: 0;
  padding: 0;
  line-height: 0;
}
.home-page .feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: 0;
  transition: transform .45s ease;
}
.home-page .feature-card:hover .feature-card__media img {
  transform: scale(1.03);
}
.home-page .feature-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 26px;
  border-top: none;
}
.home-page .feature-card__title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin: 0;
}
.home-page .feature-card__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}
@media (max-width: 768px) {
  .home-page .cards-grid.cards-grid--swipe .feature-card {
    flex: 0 0 min(86vw, 320px);
    scroll-snap-align: center;
  }
}

.home-page .card3 {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
  border: 1px solid transparent;
  overflow: visible;
  transition: transform .25s ease, box-shadow .25s ease;
}
.home-page .card3:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .12);
}
.home-page .card3__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(118, 151, 161, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 22px 0;
  overflow: hidden;
  flex-shrink: 0;
}
.home-page .card3__icon img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.home-page .card3__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 22px 28px;
}
.home-page .card3__pill {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mocha);
  background: rgba(118, 151, 161, .1);
}
.home-page .card3__img { display: none; }
.home-page .card3:hover .card3__img img { transform: none; }

.home-specialties { background: #F6F8F9; }
.home-specialties__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.home-specialty-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--brown);
  transition: transform .25s ease, box-shadow .25s ease;
}
.home-specialty-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}
.home-specialty-card__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(118, 151, 161, .1);
  color: var(--mocha);
}
.home-specialty-card__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
}
.home-specialties__cta {
  margin-top: 36px;
  text-align: center;
}
@media (max-width: 1024px) {
  .home-specialties__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .home-specialties__grid { grid-template-columns: repeat(2, 1fr); }
}

.home-page .reviews-section {
  background: #fff;
  padding-top: 40px;
  margin-top: -32px;
}
.home-page .reviews-track {
  align-items: stretch;
}
.home-page .reviews-track:not(.reviews-track--swipe):not(.reviews-track--static) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  justify-content: stretch;
}
.home-page .review-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 280px;
  height: 100%;
  flex: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
  border-radius: 16px;
}
.home-page .review-card__head {
  margin-top: auto;
}
.home-page .review-card__text {
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-page .reviews-track--static {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.home-page .reviews-track--static .review-card {
  flex: none;
  max-width: none;
  width: 100%;
}
.home-page .reviews-controls.is-hidden {
  display: none;
}
@media (max-width: 1100px) {
  .home-page .reviews-track:not(.reviews-track--swipe):not(.reviews-track--static) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .home-page .reviews-track--static {
    grid-template-columns: 1fr;
  }
  .home-page .review-card {
    min-height: 240px;
  }
}

.home-cta-band {
  background: var(--brown);
  padding: 64px 0;
  text-align: center;
  color: #fff;
}
.home-cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.home-cta-band__title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 600;
  margin: 0;
  color: #fff;
}
.home-cta-band__phone {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: .02em;
}
.home-cta-band__phone:hover { opacity: .9; }

.zl-widget-section .home-section__title {
  text-align: center;
}
.zl-widget-frame {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
  overflow: hidden;
  background: #fff;
}

.footer-dark__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.footer-dark__phone {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff !important;
}
.footer-dark__addr { color: rgba(255, 255, 255, .5); }

/* Only hide for reveal when JS is active — otherwise content stays visible */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.js [data-reveal].is-visible,
.home-hero[data-reveal] {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 920px) {
  .header-phone--mobile {
    display: inline-flex;
    margin-left: auto;
  }
  .nav__actions .header-phone { display: none; }
  .home-page .home-section {
    padding-block: 56px;
  }
  .footer-dark__contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
  }
  .footer-dark__bottom .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

.poradnia-anchor {
  height: 0;
  width: 0;
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.poradnia-card[id] {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
