:root {
  --navy:   #584b43;
  --brown:  #5c4f47;
  --mocha:  #968981;
  --caramel:#a0938b;
  --warm:   #b9a8a1;
  --ice:    #f0ebe8;
  --white:  #FFFFFF;
  --stone:  #ebe6e3;
  --text:   #4e4947;
  --muted:  #8f8882;
  --border: #c4bbb4;
  --serif:  'DM Serif Display', Georgia, serif;
  --sans:   'Inter', system-ui, sans-serif;
  --radius: 10px;
  --shadow: 0 2px 20px rgba(92, 79, 71, .10);
  --home-gap: 96px;
  --nav-h: 92px;
  --gradient-brand: linear-gradient(135deg, #b9a8a1 0%, #8a7b74 45%, #5c4f47 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:17px;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}
.heading {font-family:var(--serif);font-size:clamp(calc(1.5rem + 1px), 3vw, calc(2.1rem + 1px));line-height:1.25}
.subhead {font-size:calc(.72rem + 1px);font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:var(--mocha)}
.body-txt{font-size:calc(1rem + 1px);line-height:1.75;color:var(--muted)}
.small   {font-size:calc(.88rem + 1px);line-height:1.65;color:var(--muted)}

.wrap{max-width:1160px;margin-inline:auto;padding-inline:24px}
.section{padding-block:80px}
.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(.88rem + 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(185,168,161,.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(150,137,129,.2)}
.btn--white{background:#fff;color:var(--navy)}
.btn--white:hover{background:var(--ice);box-shadow:0 0 0 3px rgba(185,168,161,.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: none;
}

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

.nav__logo {
  flex: 0 0 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: -10px;
  position: relative;
  top: -3px;
}
.nav__logo img {
  height: 46px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
/* Keep layout selectors targeting img when wrapped in <picture> for WebP */
picture:has(> img) {
  display: contents;
}
.hero-desktop > picture {
  display: block; /* hero needs a sized box for object-fit cover */
}

.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.32rem + 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.875rem + 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.875rem + 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(150,137,129,.2), 0 0 18px rgba(150,137,129,.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;
}
@media (min-width: 768px) {
  .booking-modal__body { padding: 40px 32px; }
}

.nav__mobile a {
  padding: 14px 32px;
  font-size:calc(1rem + 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.2rem + 1px);
  }
}

@media (max-width: 1100px) {
  .nav__links {
    gap: 10px;
  }
  .nav__links a {
    height: 42px;
    font-size: calc(1.1rem + 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.8125rem + 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.02rem + 1px);
  }
  .nav__social {
    display: none;
  }
}

@media (max-width: 980px) and (min-width: 921px) {
  .nav__links a {
    font-size: calc(0.98rem + 1px);
  }
  .nav__btn-rezerwuj,
  .nav__btn-kontakt {
    padding: 0 10px;
    font-size:calc(0.75rem + 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 DESKTOP (full banner) ── */
.hero-desktop {
  line-height: 0;
  overflow: hidden;
  display: block;
  width: 100%;
  background: #fff;
}

.hero-desktop > picture {
  display: block;
  width: 100%;
}

.hero-desktop__img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 769px) {
  .hero-desktop {
    /* Taller frame so doctor photos sit centrally; logo/subtitle at bottom */
    height: auto;
    aspect-ratio: 3600 / 1500;
    min-height: clamp(560px, 70vh, 820px);
    max-height: none;
  }
  .hero-desktop > picture {
    height: 100%;
  }
  .hero-desktop__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
  }
}

/* ── HERO MOBILE (3 photos) ── */
.hero-mobile {
  display: none;
  width: 100%;
  overflow: hidden;
}

.hero-mobile .hero-photos {
  display: flex;
  width: 100%;
  height: 300px;
}

.hero-mobile .hero-photos > picture {
  display: block;
  flex: 1;
  min-width: 0;
  height: 100%;
}

.hero-mobile .hero-photos > picture.hero-center,
.hero-mobile .hero-photos > picture:nth-child(2) {
  flex: 1.25;
}

.hero-mobile .hero-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-mobile .hero-photos > picture:nth-child(1) img { object-position: center 18%; }
.hero-mobile .hero-photos > picture:nth-child(2) img { object-position: center 12%; }
.hero-mobile .hero-photos > picture:nth-child(3) img { object-position: center 22%; }

.hero-mobile .hero-plaque {
  background: var(--mocha); /* same brown as desktop hero / logo band */
  text-align: center;
  padding: 0 1rem 1.35rem;
}

.hero-mobile .hero-logo {
  margin: -1.35rem auto 0;
  line-height: 0;
  max-width: min(78vw, 320px);
}
.hero-mobile .hero-logo picture {
  display: block; /* override picture:has(> img) { display: contents } */
}
.hero-mobile .hero-logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.28));
}

.hero-mobile .hero-sub {
  font-family: var(--sans);
  font-weight: 500;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  margin-top: 0.9em;
  text-transform: lowercase;
}

/* Mobile CTAs inside brown plaque — extend band to button bottoms */
.hero-mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .hero-desktop { display: none !important; }
  .hero-mobile { display: block; }

  .hero-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 0 0;
    background: transparent;
  }
  .hero-mobile-cta .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    font-size: calc(0.95rem + 1px);
  }
  .hero-mobile-cta .btn--primary {
    background: #fff;
    color: var(--navy);
  }
  .hero-mobile-cta .btn--primary:hover {
    background: var(--ice);
    color: var(--navy);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
  }
  .hero-mobile-cta .btn--outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.95);
  }
  .hero-mobile-cta .btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }
  /* Avoid duplicate CTAs further down on mobile */
  .intro-team-block .intro-actions {
    display: none;
  }
}

@media (max-width: 400px) {
  .hero-mobile .hero-photos { height: 260px; }
}

.full-bleed {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .full-bleed {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .nav__links {
    display: none !important;
  }
  .nav__actions {
    display: none !important;
  }
  .nav__btn-rezerwuj {
    display: none !important;
  }
  .nav__hamburger {
    display: flex !important;
  }
  .nav__wrap {
    padding-inline: 16px;
    gap: 10px;
  }

  .intro-team-block {
    padding-top: 2.5rem;
  }
}















/* ── INTRO + TEAM (one block) ─────────────────────────── */
.intro-team-block {
  background: var(--white);
  padding-top: var(--home-gap);
  padding-bottom: 0;
  margin-bottom: 0;
  padding-inline: 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-photo {
  line-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  display: block;
  background: #fff;
}
.intro-team-photo__img--desktop {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}
.intro-team-photo__img--mobile {
  display: none;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .intro-team-photo {
    margin-top: 48px;
  }
  .intro-team-photo__img--desktop {
    display: none;
  }
  .intro-team-photo__img--mobile {
    display: block;
  }
}

/* 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-block: var(--home-gap);
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  :root { --home-gap: 64px; }
}

/* 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: -.01em;
  margin-bottom: 28px;
}
.intro-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.intro-body p {
  font-size:calc(1rem + 1px);
  line-height: 1.75;
  color: var(--muted);
}
.intro-cta-text {
  font-size:calc(1rem + 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.2rem + 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(.96rem + 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(250,245,240,.96) 0%,
    rgba(250,245,240,.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(92,79,71,.07);
}
.card3__img {
  aspect-ratio: 2/3;
  overflow: hidden;
  background: #f0ede8;
}
.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.15rem + 1px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card3__text {
  font-size:calc(.9rem + 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.05rem + 1px);
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 20px;
  padding-top: 10px;
}
.testimonial__name { font-weight: 700; font-size:calc(.9rem + 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(.85rem + 1px);margin-bottom:8px}
.test-card__text{font-size:calc(.88rem + 1px);line-height:1.7;color:var(--muted);margin-bottom:14px;padding-top:12px}
.test-card__name{font-weight:700;font-size:calc(.82rem + 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(.85rem + 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(.88rem + 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(.68rem + 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(.88rem + 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(.8rem + 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(1rem + 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(.95rem + 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(.88rem + 1px); color: var(--navy); margin-bottom: 2px; }
.kontakt-item__val { font-size:calc(1rem + 1px); color: var(--text); font-weight: 600; }
.kontakt-item__val:hover { color: var(--mocha); }
.kontakt-item__note { font-size:calc(.82rem + 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(.85rem + 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(.88rem + 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(.85rem + 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(.88rem + 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 24px;
}
.cta-band__inner {
  max-width: 1160px; 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.1rem + 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: var(--gradient-brand);
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 24px;
  scroll-margin-top: var(--nav-h);
}
.page-section__head .wrap-inner {
  width: 100%;
  max-width: 1160px;
  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: #fff;
  line-height: 1;
  margin: 0;
  padding: 0;
  letter-spacing: -.01em;
  text-align: center;
}
.page-lead {
  font-size:calc(1.05rem + 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: 1080px;
  min-height: 180px;
  align-self: center;
  margin-bottom: 28px;
}
.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  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(.95rem + 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(.9rem + 1px); color: var(--navy); }
.review-card__source { font-size:calc(.75rem + 1px); color: var(--muted); }
.review-card__stars { color: #FBBC04; font-size:calc(.8rem + 1px); letter-spacing: 1px; }
.review-card__text {
  font-size:calc(.88rem + 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(.88rem + 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.05rem + 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(92,79,71,.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.35rem + 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(.95rem + 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(.88rem + 1px);
  color: var(--navy);
  margin-bottom: 4px;
}
.kontakt-list__value {
  display: block;
  font-size:calc(.98rem + 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(.82rem + 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(92, 79, 71, .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(92, 79, 71, .92) 0%, rgba(92, 79, 71, .45) 65%, transparent 100%);
}
.kontakt-visit__title {
  font-family: var(--serif);
  font-size:calc(1.35rem + 1px);
  color: #fff;
  margin: 0;
  line-height: 38px;
  flex: 1;
  min-width: 0;
  height: 38px;
  transform: translateY(9px);
}
.kontakt-visit__address {
  font-size:calc(.88rem + 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(.88rem + 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(1rem + 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: relative;
  align-self: start;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  margin-inline: auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #e8eaec;
}
.doctor-profile__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
@media (max-width: 920px) {
  .doctor-profile__grid { grid-template-columns: 1fr; gap: 32px; }
  .doctor-profile__photo-wrap {
    order: -1;
    max-width: 360px;
  }
}

/* ── KRIOLEZJA PAGE ── */
.krio-page {
  --krio-gap: 80px;
  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 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px max(24px, calc((100vw - 1100px) / 2 + 24px));
  background: linear-gradient(135deg, var(--stone) 0%, var(--white) 55%, var(--ice) 100%);
  min-height: 420px;
}
.krio-hero__content {
  max-width: 520px;
}
.krio-hero__title {
  font-family: var(--serif);
  font-size:clamp(calc(1.85rem + 1px), 3.5vw, calc(2.65rem + 1px));
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: left;
}
.krio-hero__lead {
  font-size:calc(1.05rem + 1px);
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
  text-align: left;
}
.krio-hero__figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(92, 79, 71, .12);
  line-height: 0;
  max-height: 480px;
}
.krio-hero__figure img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: 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: 24px;
  box-sizing: border-box;
}
.krio-section__inner {
  max-width: 960px;
  margin-inline: auto;
}
.krio-section__inner--wide {
  max-width: 1100px;
}
.krio-section__inner--narrow {
  max-width: 720px;
}
.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(1rem + 1px);
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}
.krio-list li {
  position: relative;
  padding-left: 20px;
  font-size:calc(.98rem + 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);
}
.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(92, 79, 71, .06);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.krio-compare__card--primary {
  border-color: var(--warm);
  background: linear-gradient(180deg, rgba(185,168,161, .1) 0%, #fff 40%);
  box-shadow: 0 8px 32px rgba(185,168,161, .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(185,168,161, .25);
}
.krio-compare__step {
  display: inline-block;
  font-size:calc(.72rem + 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.25rem + 1px);
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}
.krio-compare__subtitle {
  font-size:calc(.85rem + 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(.78rem + 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(.92rem + 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;
}
.cards-grid--steps {
  align-items: stretch;
}
.cards-grid--steps .card3 {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cards-grid--steps .card3__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cards-grid--steps .card3__title {
  min-height: 2.75em;
}
.krio-process {
  margin-top: 8px;
}
.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(92, 79, 71, .05);
}
.krio-faq__item summary {
  font-weight: 600;
  font-size:calc(.98rem + 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.25rem + 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(.92rem + 1px);
  line-height: 1.7;
  color: var(--muted);
}
.krio-cta {
  text-align: center;
  background: var(--stone);
  padding: 0 24px 56px;
}
.krio-cta .btn {
  font-size:calc(.95rem + 1px);
  padding: 14px 32px;
}
@media (max-width: 900px) {
  .krio-page { --krio-gap: 64px; }
  .krio-hero--split {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px;
    min-height: 0;
  }
  .krio-hero__content { max-width: none; }
  .krio-hero__title,
  .krio-hero__lead { text-align: center; }
  .krio-hero__content .btn { display: flex; width: fit-content; margin-inline: auto; }
  .krio-compare {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .krio-compare__arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }
}
@media (max-width: 600px) {
  .krio-page { --krio-gap: 48px; }
  .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.35rem + 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(1rem + 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.15rem + 1px);
  color: var(--navy);
  margin-bottom: 8px;
}
.about-highlight__text {
  font-size:calc(.92rem + 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(1rem + 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.1rem + 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: 16px;
    overflow-x: hidden;
  }
  .wrap,
  .page-section__body .wrap-inner {
    padding-inline: 16px;
  }
  .intro-team-block {
    padding-top: 2.5rem;
  }
  .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-block: var(--home-gap);
  }
  .reviews-heading {
    margin-bottom: 24px;
  }
  .review-card {
    padding: 20px;
  }
  .krio-hero--split {
    padding: 32px 16px;
  }
  .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.15rem + 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 {
    font-size: clamp(calc(1.35rem + 1px), 5.5vw, calc(1.75rem + 1px));
    margin-bottom: 24px;
  }
}

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