/* =========================================================
   Surgeon TNC — recreation
   Design tokens measured from the original Webflow build.
   ========================================================= */

:root {
  --heading: #502d1e;
  /* #9b9b9b z oryginału dawało 3,0:1 na bieli — poniżej wymaganych 4,5:1 */
  --paragraph: #6b6b6b;
  --paragraph-light: #9b9b9b;
  /* #e87c55 z oryginału: biały tekst na nim 2,8:1, na kremie 2,7:1 — poniżej 4,5:1.
     #b84e25 daje ok. 5:1 na bieli i ok. 4,8:1 na kremowym tle */
  --primary: #b84e25;
  --border: #ccc;
  --white: #fff;
  --black: #000;
  --background: #fef8f6;

  --radius-sm: 5px;
  --radius-m: 10px;
  --radius-l: 20px;
  --radius-xl: 60px;
  --radius-button: 95px;

  --shadow-50: #0000000d;
  --shadow-card: 0 5px 60px 0 var(--shadow-50);

  /* szkło (navbar, panel menu na telefonie) */
  --glass-bg: rgba(255, 255, 255, .72);
  --glass-blur: blur(18px) saturate(160%);
  /* ring zamiast border — nie zmienia wysokości elementu */
  --glass-shadow: 0 5px 40px 0 rgba(0, 0, 0, .07), inset 0 0 0 1px rgba(255, 255, 255, .55);

  --font-heading: "Gilda Display", serif;
  --font-body: "Source Sans 3", sans-serif;

  --container: 1360px;
  /* wspólna miara wąskich kolumn czytelnych (blok wstępny, lista pytań) */
  --measure: 900px;
  --section-gap: 120px;
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--paragraph);
  font: 400 16px/26px var(--font-body);
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--heading);
  font-family: var(--font-heading);
  font-weight: 400;
}

h3, h4 { font-size: inherit; line-height: inherit; }
blockquote { margin: 0; }

h1 { font-size: 64px; line-height: 70px; letter-spacing: -1.46px; }
h2 { font-size: 48px; line-height: 60px; letter-spacing: -1.06px; }

p { margin: 0; }

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.section { margin: var(--section-gap) 0; }
.section.relative { position: relative; }
.relative { position: relative; }

/* overflow lives here, not on body, so the sticky navbar keeps working
   while the 260vw gallery marquee stays clipped */
.page-wrapper { position: relative; overflow: hidden; }

/* ---------- type scale ---------- */
.t-14 { font-size: 14px; line-height: 24px; }

.label-15 {
  color: var(--primary);
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}
.label-15.with-border { padding-bottom: 4px; }

.t-64-title {
  color: var(--paragraph);
  font-family: var(--font-heading);
  font-size: 64px;
  line-height: 70px;
  letter-spacing: -1.46px;
}

.t-48-title {
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 50px;
  letter-spacing: -1.06px;
}

.t-32-text {
  color: var(--heading);
  font-size: 32px;
  line-height: 42px;
  letter-spacing: -0.76px;
}

.t-24-title {
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 38px;
  letter-spacing: -0.6px;
}

.t-24-text {
  color: var(--heading);
  font-size: 24px;
  line-height: 38px;
  letter-spacing: -0.6px;
}
.t-24-text.black-color { color: var(--black); }

.t-20-title {
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 38px;
  letter-spacing: -0.6px;
}

.p-18 { font-size: 18px; line-height: 28px; }

.t-40-paragraph { font-size: 40px; line-height: 50px; }

.heading-700 { max-width: 700px; }
.heading-600 { max-width: 600px; }
.heading-500 { max-width: 500px; }

.margin-bottom-60px { margin-bottom: 60px; }
.margin-bottom-120px { margin-bottom: 120px; }

/* =========================================================
   TOP BAR
   ========================================================= */
.top-header { padding: 20px 0; }

.top-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.top-header-info { display: flex; align-items: center; gap: 27px; }

.info-item { display: flex; align-items: center; gap: 10px; }
.info-item.bordered { padding-right: 27px; border-right: 1px solid rgba(204, 204, 204, .5); }

.icon-15 { width: 15px; height: auto; object-fit: contain; flex: none; }

.top-header-social { display: flex; align-items: center; gap: 25px; }

.social-link {
  color: var(--heading);
  display: flex;
  padding: 6px;
  margin: -6px;
  transition: color .3s;
}
.social-link:hover { color: var(--primary); }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar-main-wrapper {
  position: sticky;
  top: 10px;
  z-index: 100;
  padding: 0 10px;
  margin-bottom: 30px;
}

/* Stan domyślny to szkło, a nie przezroczystość — bez JS-u pasek zostaje
   czytelny nad zdjęciami, zamiast zniknąć razem ze skryptem. */
.navbar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 10px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}

/* Na samej górze pasek schodzi z drogi: pod nim jest tylko hero, więc
   rozmywać nie ma czego, a tło i cień robiłyby wtedy za ramkę bez powodu.
   Klasę zdejmuje i zakłada skrypt — patrz initNavbarGlass w js/main.js. */
.navbar-main-wrapper.at-top .navbar {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

/* bez backdrop-filter (starszy Firefox, wyłączone przez użytkownika)
   szkło zrobiłoby nieczytelne menu na zdjęciach — wracamy do bieli */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .navbar {
    background: var(--white);
    box-shadow: var(--shadow-card);
  }
  .navbar-main-wrapper.at-top .navbar { background: transparent; box-shadow: none; }
}

.navbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo { width: 190px; height: 36px; object-fit: contain; }

.nav-menu { display: flex; align-items: center; gap: 30px; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--paragraph);
  font-size: 16px;
  line-height: 22px;
  padding: 8px 0;
  white-space: nowrap;
  transition: color .3s;
}
.nav-link:hover,
.nav-link.w--current { color: var(--primary); }

.dd-arrow { font-size: 18px; }

/* dropdown */
.nav-list-for-dropdown { position: relative; }
.nav-dropdown { position: relative; }

.nav-dropdown-list {
  position: absolute;
  top: calc(100% + 22px);
  left: -20px;
  min-width: 200px;
  padding: 10px 0;
  background: var(--white);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.nav-dropdown.open .nav-dropdown-list {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown-link {
  display: block;
  padding: 8px 24px;
  color: var(--paragraph);
  font-size: 16px;
  line-height: 24px;
  transition: color .2s, background-color .2s;
}
.dropdown-link:hover { color: var(--primary); background: var(--background); }

.nav-button-list { padding-left: 20px; }

.menu-button { display: none; }
.cross-icon { display: none; }

/* =========================================================
   BUTTONS
   ========================================================= */
.primary-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 19px 30px;
  background: var(--primary);
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  color: var(--white);
  transition: background-color .3s, border-color .3s, color .3s;
}
.primary-button:hover {
  background: var(--white);
  border-color: var(--primary);
  color: var(--primary);
}

.pricing-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 19px 30px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
  color: var(--heading);
  transition: background-color .3s, border-color .3s, color .3s;
}
.pricing-button:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* sliding label on hover */
.button-text-wrapper {
  position: relative;
  display: block;
  height: 22px;
  overflow: hidden;
  white-space: nowrap;
}
.default-text,
.hover-text {
  display: block;
  height: 22px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  transition: transform .4s cubic-bezier(.19, 1, .22, 1);
}
.primary-button:hover .default-text,
.primary-button:hover .hover-text,
.pricing-button:hover .default-text,
.pricing-button:hover .hover-text { transform: translateY(-22px); }

.icon { font-size: 15px; line-height: 22px; }

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--heading);
  font-size: 15px;
  line-height: 24px;
  font-weight: 600;
}
.icon-14-primary { color: var(--primary); font-size: 14px; transition: transform .3s; }
.read-more-link:hover .icon-14-primary { transform: translateX(4px); }

/* =========================================================
   HERO
   ========================================================= */
.hero-section {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: -32px;
  padding: 90px 0 80px;
  overflow: hidden;
}

.two-column-block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px 40px;
}
.two-column-block.align-center { align-items: center; }

.hero-contents {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 50%;
  overflow: hidden;
}

.hero-title-mask { margin: 10px 0 30px; }
.hero-para-mask { margin-bottom: 40px; }

.mask { position: relative; }

.highlight {
  background-image: url("https://cdn.prod.website-files.com/665d4d54c6bc113d721776a1/6661a5166835e0d424f4515c_Vector%201.png");
  background-position: 50% 100%;
  background-repeat: no-repeat;
  background-size: contain;
  /* podkreślenie to jedna grafika na cały wyraz — przełamane na dwie linie
     rozjeżdża się, więc wyróżniona fraza zostaje w całości w jednym wierszu */
  white-space: nowrap;
}

.hero-actions { display: flex; align-items: center; gap: 20px; }

.rating-rounded {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-left: 10px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 50%;
  flex: none;
}
.image-30px { width: 30px; height: 30px; object-fit: contain; }

.rating-block { display: flex; flex-direction: column; align-items: flex-start; }
.stars { display: flex; align-items: center; gap: 5px; height: 19px; }
.stars img { width: 20px; height: auto; object-fit: contain; }

.image-wrapper-50 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
}
.image-570px { max-width: 570px; width: 100%; height: auto; }

.absolute-bg { position: absolute; inset: 0; z-index: -1; }
.absolute-bg.left-30px { transform: translateX(-45px); }
.absolute-bg.right { transform: translateX(60px); }

.bottom-right-image-390px {
  position: absolute;
  inset: auto 94px -2% auto;
  max-width: 390px;
  z-index: -1;
}
.top-right-image-390px {
  position: absolute;
  top: 0;
  right: 125px;
  max-width: 390px;
  z-index: -1;
}

.absolute-right {
  position: absolute;
  top: -90px;
  right: 8%;
  max-width: 150px;
  z-index: -1;
}
.absolute-left-50 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 80%;
  object-fit: cover;
  z-index: -1;
}
.absolute-bottom-left-200px {
  position: absolute;
  inset: auto auto 0 0;
  width: 12%;
  z-index: -1;
}
.center-260px {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 260px;
  z-index: -1;
}
.absolute-top-right-265px {
  position: absolute;
  inset: 0 0 auto auto;
  width: 15%;
  z-index: -1;
}
.absolute-bottom-right-200px {
  position: absolute;
  inset: auto 0 0 auto;
  max-width: 200px;
  z-index: -1;
}

/* =========================================================
   SERVICES
   ========================================================= */
.about-section {
  position: relative;
  padding: 120px 0;
  background: var(--background);
  overflow: hidden;
}
.container.static { position: static; }

.title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}

.three-column-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

.service-column {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 50px 64px 50px 40px;
  background: var(--white);
  border-radius: var(--radius-l);
  transition: box-shadow .35s, transform .35s;
}
.service-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.top-right-service-icon {
  position: absolute;
  inset: 0 0 auto auto;
  padding: 18px 17px 17px 18px;
  background: var(--white);
  border-bottom-left-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}
.image-45px { width: 45px; height: 45px; object-fit: contain; }

.service-center-image { align-self: stretch; }
.service-center-image img { width: 100%; height: 100%; object-fit: contain; }

.absolut-bottom {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 45%;
  object-fit: cover;
}

/* =========================================================
   INTRO + COUNTERS
   ========================================================= */
.counters-wrapper {
  display: flex;
  align-items: center;
  gap: 80px;
  margin: 30px 0 80px;
}

.counter-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.animated-counter { display: flex; align-items: center; }

.counter-reel {
  height: 90px;
  overflow: hidden;
}
.counter-reel-inner {
  transition: transform 2s cubic-bezier(.19, 1, .22, 1);
}
.counter-digit {
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 90px;
  line-height: 90px;
  letter-spacing: -1.46px;
}
.counter-plus {
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 90px;
  line-height: 90px;
  letter-spacing: -1.46px;
}

.primary-divider { flex: 1; height: 1px; background: var(--primary); }

/* =========================================================
   SLIDERS (shared)
   ========================================================= */
.slider { position: relative; }

.slider-mask { overflow: hidden; }

.slider-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.slide { flex: 0 0 100%; min-width: 100%; }

.slider-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 10px;
}
.slider-dot {
  position: relative;
  width: 9px;
  height: 9px;
  background: var(--border);
  border-radius: 20px;
  transition: width .35s, background-color .35s;
}
.slider-dot.active { width: 58px; background: var(--primary); }
/* niewidoczne pole kliknięcia ~44px wysokości, wygląd kropki bez zmian */
.slider-dot::after { content: ""; position: absolute; inset: -18px -3px; }

/* --- testimonial slider --- */
.testimonial-slider .slide { padding: 40px 0 100px; }

.surgeon-slide {
  display: flex;
  align-items: stretch;
  gap: 30px;
  border-radius: var(--radius-l);
}

.surgeon-contents {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  width: 50%;
  padding: 60px 50px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.image-97px { width: 97px; height: 97px; object-fit: contain; margin-bottom: 10px; }
.surgeon-meta { display: flex; flex-direction: column; gap: 3px; }

/* absolute so the photo follows the quote column's height instead of
   its own aspect ratio — otherwise a tall photo stretches the whole slide */
.surgeon-image-wrapper {
  position: relative;
  width: 50%;
  border-radius: var(--radius-m);
  overflow: hidden;
}
.surgeon-image-wrapper .full-image { position: absolute; inset: 0; }

.full-image { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   GALLERY MARQUEE
   ========================================================= */
.two-column-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 4px 0 6px;
}

.team-auto-slider {
  position: relative;
  display: flex;
  gap: 30px;
  width: 260vw;
  margin-top: 40px;
  animation: marquee 40s linear infinite;
}
.team-auto-slider:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 15px)); }
}

.gallery-infinity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 130vw;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.gallery-card .mask { overflow: hidden; }
.team-doctor-image {
  width: 100%;
  height: 448px;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.19, 1, .22, 1);
}
.gallery-card:hover .team-doctor-image { transform: scale(1.06); }

.gallery-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  padding: 30px 15px;
  text-align: center;
}

/* =========================================================
   WORK PROCESS
   ========================================================= */
.image-wrapper-on-grid {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-image { width: 100%; height: auto; }

.image-bottom-banner {
  position: absolute;
  inset: auto 10px 10px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 40px 25px 38px;
  background: var(--white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}
.border-banner-65 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  padding: 10px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  flex: none;
}
.border-banner-65 img { width: 45px; height: 45px; object-fit: contain; }

.vertical-between {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.work-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 30px 40px 40px;
  background: var(--background);
  border-radius: var(--radius-l);
  transition: background-color .35s;
}
.work-card:hover { background: #fdeee8; }

.space-between-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.work-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  flex: none;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-card);
  color: var(--primary);
  font-size: 32px;
  line-height: 32px;
}

/* =========================================================
   APPOINTMENT
   ========================================================= */
.appoinment-block {
  width: 100%;
  max-width: 630px;
  padding: 60px;
  background: var(--white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* telefon i e-mail jedno pod drugim — wszystkie pola formularza mają
   dokładnie tę samą szerokość, na każdej szerokości ekranu */
.input-field-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.input-field-wrapper .form-field { width: 100%; }
.input-field-wrapper .input-58 { width: 100%; }

.input-58 {
  width: 100%;
  height: 58px;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid rgba(204, 204, 204, .5);
  border-radius: var(--radius-m);
  color: var(--heading);
  font: 400 16px/26px var(--font-body);
  transition: border-color .3s;
}
.input-58:focus { outline: none; border-color: var(--primary); }
.input-58::placeholder { color: var(--paragraph); }

.text-area {
  display: block;          /* kills the inline baseline gap under the field */
  height: 95px;
  min-height: 95px;
  resize: vertical;
}

.primary-submit-button {
  height: 62px;
  padding: 19px 30px;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 8px;
  color: var(--white);
  font: 600 15px/22px var(--font-body);
  cursor: pointer;
  transition: background-color .3s, color .3s;
}
.primary-submit-button:hover { background: var(--white); color: var(--primary); }

.success-message {
  margin-top: 20px;
  padding: 20px;
  background: var(--primary);
  border-radius: var(--radius-m);
  color: var(--white);
  font-weight: 600;
}

.time-schedule-wrapper {
  display: flex;
  flex-direction: column;
  gap: 100px;
  width: 49%;
}

.badges-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 6px;
}
.image-127px { width: 127px; height: auto; object-fit: contain; }

.schedule-block { display: flex; flex-direction: column; gap: 30px; }
.schedule-heading { display: flex; align-items: center; gap: 20px; }
.image-25px { width: 25px; height: auto; object-fit: contain; }

.schedule-list { display: flex; flex-direction: column; gap: 20px; }
.schedule-with-border {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(204, 204, 204, .5);
}

.landscape-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-l);
  overflow: hidden;
}
.landscape-image {
  width: 100%;
  height: auto;
  min-height: 150px;
  object-fit: cover;
}
.overlay-05 {
  position: absolute;
  inset: 0;
  background: rgba(80, 45, 30, .5);
}
.loop-rotate-image {
  position: absolute;
  z-index: 2;
  max-width: 194px;
}
.loop-rotate-image img {
  width: 100%;
  animation: spin 12s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.contact-bg-absolute {
  position: absolute;
  inset: 207px 0 auto;
  z-index: -1;
  height: 100%;
  max-height: 718px;
  background: var(--background);
}

/* =========================================================
   PRICING
   ========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px 30px;
}

.surgeon-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 40px 40px;
  background: var(--white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  transition: transform .35s;
}
.surgeon-pricing-card:hover { transform: translateY(-6px); }

.pricing-icon {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--background);
  border-radius: 50%;
}

.pricing-card-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding-bottom: 30px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(204, 204, 204, .5);
}

.pricing-block { display: flex; align-items: flex-end; gap: 5px; }
.month-text { font-size: 18px; line-height: 27px; }

.pricing-card-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  margin-bottom: 40px;
}
.pricing-feature-block {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 18px;
  line-height: 27px;
}
.pricing-tick-icon { color: var(--primary); font-size: 16px; flex: none; }

/* =========================================================
   PARTNERS
   ========================================================= */
.four-column-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 30px;
}

.partners-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 15px;
  border: 1px solid rgba(204, 204, 204, .3);
  border-radius: var(--radius-l);
  box-shadow: 0 3.5px 48px 0 var(--shadow-50);
  transition: border-color .3s;
}
.partners-logo-wrapper:hover { border-color: var(--primary); }
.partners-logo { max-width: 180px; height: auto; object-fit: contain; }

/* =========================================================
   BEFORE / AFTER
   ========================================================= */
.before-slider-mask { border-radius: var(--radius-l); }

.before-after-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-l);
  overflow: hidden;
}
.before-image,
.after-image { width: 50%; height: 586px; }

.navigation-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  width: 50%;
}
.navigation-arrow.left { left: 0; justify-content: flex-end; padding-right: 5px; }
.navigation-arrow.right { right: 0; justify-content: flex-start; padding-left: 5px; }
.arrow-20 { width: 20px; height: auto; object-fit: contain; transition: transform .3s; }
.navigation-arrow.left:hover .arrow-20 { transform: translateX(-4px); }
.navigation-arrow.right:hover .arrow-20 { transform: translateX(4px); }

.navigation-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 81px;
  height: 81px;
  border: 2px solid var(--white);
  border-radius: 50%;
  pointer-events: none;
}

.slider-stick {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 6px;
  background: #d9d9d9;
  pointer-events: none;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { margin-top: 80px; }

.subscription-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 62px 60px;
  margin-bottom: -99px;
  background: var(--white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}

.newsletter-left { display: flex; align-items: center; gap: 20px; }
.image-80px { width: 80px; height: auto; object-fit: contain; }

.absolute-center-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 125px;
  height: auto;
  object-fit: contain;
}

.subscribe-form { width: 490px; max-width: 100%; }
.footer-form-block {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 30px;
}
.subscribe-input {
  width: 100%;
  height: 60px;
  padding: 2px 160px 2px 40px;
  background: var(--background);
  border: 0;
  border-radius: 30px;
  color: var(--heading);
  font: 400 16px/26px var(--font-body);
}
.subscribe-input:focus { outline: none; }
.subscribe-input:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.subscribe-input::placeholder { color: var(--paragraph); }

.subscribe-button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 150px;
  height: 50px;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 30px;
  color: var(--white);
  font: 600 15px/22px var(--font-body);
  cursor: pointer;
  transition: background-color .3s, color .3s;
}
.subscribe-button:hover { background: var(--white); color: var(--primary); }

.footer { background: var(--background); }

.footer-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 185px 0 60px;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.footer-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}
.footer-block.first-block { max-width: 350px; }
.footer-block.newsletter { max-width: 300px; }

.footer-paragraph { font-size: 18px; line-height: 27px; }

.footer-social { display: flex; align-items: center; gap: 20px; }
.social-icon-transparent {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: var(--radius-sm);
  color: var(--primary);
  transition: background-color .3s, color .3s;
}
.social-icon-transparent:hover { background: var(--primary); color: var(--white); }

.footer-contact-list { display: flex; flex-direction: column; gap: 15px; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  line-height: 27px;
}
.icon-primary { color: var(--primary); font-size: 18px; }

.footer-list { display: flex; flex-direction: column; gap: 16px; }
.footer-link {
  font-size: 18px;
  line-height: 27px;
  transition: color .3s;
}
.footer-link:hover { color: var(--primary); }

.newsletter-form-white-bg { width: 100%; }
.newsletter-button-wrapper-white {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: var(--radius-button);
}
.newletter-input-white-bg {
  width: 100%;
  height: 56px;
  padding: 15px 70px 15px 20px;
  background: var(--white);
  border: 0;
  border-radius: var(--radius-button);
  color: var(--heading);
  font: 400 16px/26px var(--font-body);
}
.newletter-input-white-bg:focus { outline: none; }
.newletter-input-white-bg:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.newsletter-submit-button {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 0 30px 0 rgba(116, 118, 237, .1);
  transition: background-color .3s;
}
.newsletter-submit-button:hover { background: var(--heading); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius-l) var(--radius-l) 0 0;
}
.footer-copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.footer-copyright-text { font-size: 18px; line-height: 27px; }
.with-hover { transition: color .3s; }
.with-hover:hover { color: var(--primary); }

.footer-links-with-border { display: flex; align-items: center; gap: 20px; }
.height-divider-20 { width: 1px; height: 20px; background: var(--border); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.19, 1, .22, 1),
              transform .8s cubic-bezier(.19, 1, .22, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

.mask > * {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .9s cubic-bezier(.19, 1, .22, 1),
              transform .9s cubic-bezier(.19, 1, .22, 1);
}
.mask.is-visible > * { opacity: 1; transform: none; }
.gallery-card .mask > * { opacity: 1; transform: none; transition: transform .6s cubic-bezier(.19, 1, .22, 1); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .mask > * { opacity: 1; transform: none; transition: none; }
  .team-auto-slider, .loop-rotate-image img { animation: none; }
  .counter-reel-inner { transition: none; }
}

/* =========================================================
   RESPONSIVE — 991px
   ========================================================= */
@media (max-width: 991px) {
  :root { --section-gap: 100px; }

  h1 { font-size: 48px; line-height: 56px; letter-spacing: -1px; }
  h2 { font-size: 38px; line-height: 48px; letter-spacing: -0.8px; }
  .t-64-title { font-size: 42px; line-height: 50px; }
  .t-40-paragraph { font-size: 28px; line-height: 38px; }

  .top-header-info { flex-wrap: wrap; gap: 15px; }
  .info-item.bordered { padding-right: 15px; }

  /* mobile nav */
  .menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: var(--primary);
    border-radius: var(--radius-m);
    color: var(--white);
  }
  .menu-button.open .hamburger-icon { display: none; }
  .menu-button.open .cross-icon { display: block; }

  .nav-menu-wrapper {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;
    right: 0;
    /* panel zakrywa duży kawałek zdjęcia — mocniejsze krycie niż w pasku */
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-l);
    box-shadow: var(--glass-shadow);
    padding: 20px;
    display: none;
  }
  .nav-menu-wrapper.open { display: block; }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .nav-menu-wrapper {
      background: var(--white);
      box-shadow: var(--shadow-card);
    }
  }
  .nav-menu { flex-direction: column; align-items: flex-start; gap: 18px; }
  .nav-button-list { padding-left: 0; }
  .nav-dropdown-list {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    padding: 6px 0 0;
    min-width: 0;
  }
  .nav-dropdown.open .nav-dropdown-list { display: block; }
  .dropdown-link { padding: 6px 12px; }

  .hero-section { padding: 70px 0 60px; }
  .two-column-block { flex-direction: column; align-items: flex-start; }
  .hero-contents, .image-wrapper-50 { width: 100%; }
  .image-570px { max-width: 100%; }
  .absolute-left-50 { display: none; }

  .about-section { padding: 90px 0; }

  .three-column-grid { grid-template-columns: repeat(2, 1fr); }
  .service-center-image { display: none; }
  .service-card { padding: 40px 50px 40px 30px; }

  .counters-wrapper { flex-wrap: wrap; gap: 40px; }
  .counter-digit, .counter-plus { font-size: 64px; line-height: 64px; }
  .counter-reel { height: 64px; }
  .primary-divider { display: none; }

  .surgeon-slide { flex-direction: column; }
  .surgeon-contents, .surgeon-image-wrapper { width: 100%; }
  .surgeon-contents { padding: 40px 30px; }
  .surgeon-image-wrapper { height: 420px; }

  .team-auto-slider { width: 400%; }
  .gallery-infinity-grid { width: 200%; }

  .two-column-bottom { flex-direction: column; align-items: flex-start; }

  .image-wrapper-on-grid { grid-column: span 2; min-height: 420px; }

  .two-column-block.align-center { flex-direction: column; }
  .appoinment-block, .time-schedule-wrapper { width: 100%; }
  /* w jednej kolumnie karta formularza trzyma tę samą szerokość co blok
     z godzinami pod nią — inaczej jedno jest węższe od drugiego */
  .appoinment-block { max-width: none; padding: 40px 30px; }
  .time-schedule-wrapper { gap: 50px; }
  .margin-bottom-120px { margin-bottom: 80px; }
  .loop-rotate-image { max-width: 120px; }
  .navigation-circle { width: 70px; height: 70px; }

  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .four-column-grid { grid-template-columns: repeat(3, 1fr); }

  .before-image, .after-image { height: 420px; }

  .subscription-wrapper { flex-direction: column; padding: 40px 30px; text-align: center; }
  .absolute-center-image { display: none; }
  .subscribe-form { width: 100%; }

  .footer-wrapper { padding: 160px 0 50px; }
  .footer-columns { flex-wrap: wrap; row-gap: 50px; }
  .footer-block.first-block { flex: 1 1 100%; max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   RESPONSIVE — 767px
   ========================================================= */
@media (max-width: 767px) {
  :root { --section-gap: 80px; }

  h1 { font-size: 40px; line-height: 48px; }
  h2 { font-size: 32px; line-height: 42px; }
  .t-64-title { font-size: 32px; line-height: 40px; }
  .t-32-text { font-size: 26px; line-height: 34px; }
  .t-48-title { font-size: 36px; line-height: 40px; }

  /* Górny pasek zjadał 133 px pierwszego ekranu, zanim zaczynała się treść.
     Na telefonie nic z niego nie ginie: telefon jest w przyklejonym CTA na dole,
     adres i godziny w sekcji kontaktu, a e-mail i profile w stopce. */
  .top-header { display: none; }

  .three-column-grid { grid-template-columns: 1fr; }
  .image-wrapper-on-grid { grid-column: auto; }

  .pricing-grid { grid-template-columns: 1fr; gap: 70px; }
  .four-column-grid { grid-template-columns: repeat(2, 1fr); }

  .team-auto-slider { width: 800vw; }
  .gallery-infinity-grid { width: 400vw; }

  .hero-actions { flex-wrap: wrap; }

  .badges-row { flex-wrap: wrap; justify-content: flex-start; gap: 20px; }
  .image-127px { width: 100px; }

  .before-image, .after-image { height: 300px; }
  .loop-rotate-image { max-width: 80px; }

  .schedule-with-border { flex-direction: column; align-items: flex-start; gap: 4px; }

  .footer-columns { flex-direction: column; }
  .footer-block.newsletter { max-width: 100%; }
}

/* =========================================================
   RESPONSIVE — 479px
   ========================================================= */
@media (max-width: 479px) {
  h1 { font-size: 34px; line-height: 42px; }
  h2 { font-size: 28px; line-height: 38px; }
  .t-40-paragraph { font-size: 22px; line-height: 32px; }

  .service-card { padding: 30px 30px 30px 24px; }
  .top-right-service-icon { padding: 12px; }
  .image-45px { width: 36px; height: 36px; }

  .counters-wrapper { gap: 24px; }
  .counter-digit, .counter-plus { font-size: 48px; line-height: 48px; }
  .counter-reel { height: 48px; }

  .four-column-grid { grid-template-columns: 1fr; }

  .work-card { padding: 30px 24px; }
  .work-number { width: 48px; height: 48px; font-size: 24px; }

  .subscribe-input { padding-right: 20px; padding-bottom: 60px; height: 110px; }
  .subscribe-button { top: auto; bottom: 5px; right: 5px; left: 5px; width: auto; }

  .footer-bottom { padding: 24px 20px; }
}

/* =========================================================
   KLINIKA MAGIA — komponenty dopisane do szablonu
   ========================================================= */

/* ---------- dostępność ---------- */
.skip-link {
  position: absolute;
  left: 20px;
  top: -60px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--heading);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .2s;
}
.skip-link:focus { top: 0; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- nazwa zamiast logo (gabinet go nie ma) ---------- */
.site-logo-text {
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.5px;
  color: var(--heading);
  white-space: nowrap;
}
/* stopka ma jasne tło (--background), więc biały napis był niewidoczny */
.footer-logo-text { color: var(--heading); font-size: 34px; }

/* ---------- przycisk wspierający ---------- */
.secondary-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 26px;
  border: 1px solid var(--heading);
  border-radius: var(--radius-button);
  color: var(--heading);
  font-size: 16px;
  font-weight: 600;
  transition: background .3s, color .3s;
}
.secondary-button:hover { background: var(--heading); color: var(--white); }

/* ---------- pasek faktów ---------- */
.facts-section { margin: 80px 0 var(--section-gap); }

.facts-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 40px;
  background: var(--background);
  border-radius: var(--radius-l);
}
.fact-item { display: flex; flex-direction: column; gap: 6px; }
.fact-number {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 46px;
  letter-spacing: -1px;
  color: var(--heading);
}
.fact-label { font-size: 16px; line-height: 24px; }

.section-note {
  margin-top: 24px;
  max-width: 70ch;
  font-size: 16px;
  line-height: 24px;
  color: var(--paragraph);
}
.section-intro { max-width: min(820px, 68ch); margin-bottom: 50px; }

/* Blok otwierający sekcję zespołu. Ta sama miara co lista pytań (--measure),
   żeby zdanie nie ciągnęło się przez całe 1360 px kontenera. */
.lead-statement {
  max-width: var(--measure);
  margin: 0 auto;
  text-align: center;
}
.lead-statement .section-intro {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- siatka zabiegów (dawna ruchoma taśma) ---------- */
.zabiegi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.zabieg-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  transition: transform .35s, box-shadow .35s;
}
.zabieg-card:hover { transform: translateY(-6px); box-shadow: 0 12px 60px 0 #0000001a; }
.zabieg-card .read-more-link { margin-top: auto; padding-top: 14px; }

.zabieg-price {
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 34px;
  color: var(--primary);
}

.zabieg-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: 36px 32px;
  background: var(--background);
  border-radius: var(--radius-l);
}

/* ---------- cennik ---------- */
.price-table-wrapper {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}

.price-table { width: 100%; border-collapse: collapse; min-width: 620px; }

.price-table th,
.price-table td {
  padding: 22px 28px;
  text-align: left;
  vertical-align: baseline;
  border-bottom: 1px solid #eee;
}
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: 0; }

.price-table thead th {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--background);
}

.price-table tbody th {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 30px;
  color: var(--heading);
  white-space: nowrap;
}

.price-table td { font-size: 17px; line-height: 26px; }

.price-cell {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 30px;
  color: var(--primary);
  white-space: nowrap;
}

.cennik-actions { margin-top: 40px; }

/* ---------- pytania (akordeon na <details>) ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 auto;
  max-width: var(--measure);
}

.faq-item {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
}
.faq-item[open] { background: var(--background); }

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 56px;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
}
.faq-summary::-webkit-details-marker { display: none; }

.faq-question {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 30px;
  letter-spacing: -0.5px;
  color: var(--heading);
}

.faq-icon {
  flex: none;
  color: var(--primary);
  transition: transform .3s;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }

/* bez max-width — inaczej odpowiedź kończy się 140 px przed prawą krawędzią
   karty i pytanie z ikoną wygląda szerzej niż odpowiedź */
.faq-answer { padding: 0 28px 26px; }

/* ---------- formularz ---------- */
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }

.field-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
}
.required-mark { font-weight: 400; color: var(--paragraph); }

.field-hint { font-size: 16px; line-height: 24px; color: var(--paragraph); }

.field-error {
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  color: #b3261e;
}

select.input-58 {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236b6b6b'%3E%3Cpath d='M8 11 3 5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 14px;
  padding-right: 48px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 24px;
}
.consent-row input {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--primary);
}
.consent-row a { color: var(--primary); text-decoration: underline; }

/* ---------- kanały kontaktu ---------- */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 10px;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-size: 17px;
  line-height: 26px;
  transition: color .3s;
}
.contact-channel:hover { color: var(--primary); }

/* ---------- przyklejone CTA na telefonie ---------- */
.sticky-cta { display: none; }

@media (max-width: 767px) {
  .sticky-cta {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 90;
    display: flex;
    gap: 10px;
    padding: 10px 16px;
    background: #fffffff2;
    backdrop-filter: blur(8px);
    border-top: 1px solid #eee;
  }
  .sticky-cta-primary {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-button);
    font-size: 17px;
    font-weight: 600;
  }
  .sticky-cta-call {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
  }
  /* miejsce na pasek, żeby nie zasłaniał stopki */
  .site-footer { padding-bottom: 76px; }
}

/* ---------- responsywność dopisanych sekcji ---------- */
@media (max-width: 991px) {
  .facts-strip { grid-template-columns: repeat(2, 1fr); }
  .zabiegi-grid { grid-template-columns: repeat(2, 1fr); }
  .site-logo-text { font-size: 26px; }
}

@media (max-width: 767px) {
  .facts-section { margin: 60px 0 80px; }
  .facts-strip { padding: 28px 24px; gap: 24px; }
  .fact-number { font-size: 32px; line-height: 38px; }
  .zabiegi-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .faq-summary { padding: 18px 20px; }
  .faq-question { font-size: 19px; line-height: 27px; }
  .faq-answer { padding: 0 20px 22px; }
  .price-table th, .price-table td { padding: 18px 20px; }
}

/* Na telefonie tabela rozkłada się w karty — przewijanie w bok jest tu
   gorsze niż stos, bo trzecia kolumna decyduje o zakupie. */
@media (max-width: 639px) {
  .price-table-wrapper { overflow-x: visible; }
  .price-table { min-width: 0; }
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .price-table tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 16px;
    padding: 20px;
    border-bottom: 1px solid #eee;
  }
  .price-table tbody tr:last-child { border-bottom: 0; }
  .price-table tbody th,
  .price-table tbody td { padding: 0; border: 0; }
  .price-table tbody th { white-space: normal; }
  .price-cell { text-align: right; }
  .price-table tbody td:last-child { grid-column: 1 / -1; color: var(--paragraph); }
}

@media (max-width: 479px) {
  .facts-strip { grid-template-columns: 1fr; }
  .secondary-button { width: 100%; justify-content: center; }
}

/* ---------- kafelki problemów: propozycja rozwiązania pod problemem ---------- */
.zabieg-card .t-24-title { font-size: 22px; line-height: 30px; }
.zabieg-solution {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.zabieg-solution .label-15 { font-size: 13px; line-height: 20px; letter-spacing: 1.4px; }
.zabieg-name {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 28px;
  color: var(--heading);
}
.zabieg-solution .zabieg-price { font-size: 24px; line-height: 30px; }
.zabieg-facts { margin: 4px 0 0; font-size: 16px; line-height: 24px; }
.zabieg-card .read-more-link { margin-top: 0; padding-top: 0; }

.price-hint {
  display: block;
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
  color: var(--paragraph);
  white-space: normal;
}