/* ==========================================================================
   ARZTPRAXIS SOBEJKO
   Responsywna strona statyczna – bez zewnętrznych bibliotek i trackerów
   ========================================================================== */

:root {
  --green-950: #0b3733;
  --green-900: #104943;
  --green-800: #145c55;
  --green-700: #197267;
  --green-600: #248579;
  --green-100: #dceeea;
  --green-50: #edf7f4;
  --cream: #fbfaf6;
  --white: #ffffff;
  --ink: #182b2a;
  --muted: #647572;
  --line: #dce7e4;
  --warning: #9d4a2d;
  --warning-bg: #fff4e8;
  --shadow-sm: 0 10px 30px rgba(16, 73, 67, .08);
  --shadow-md: 0 22px 65px rgba(16, 73, 67, .14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --container: 1180px;
  --header-height: 86px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

svg {
  display: block;
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green-950);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  color: rgba(255,255,255,.88);
  background: var(--green-950);
  font-size: .82rem;
}

.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s ease;
}

.topbar__links a:hover {
  color: var(--white);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.45);
}

.lang-button {
  padding: 3px 4px;
  border: 0;
  color: rgba(255,255,255,.65);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: .78rem;
}

.lang-button:hover,
.lang-button.is-active {
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251,250,246,.92);
  border-bottom: 1px solid rgba(20,92,85,.08);
  backdrop-filter: blur(18px);
}

.header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green-800);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(20,92,85,.22);
}

.brand__mark svg {
  width: 29px;
  height: 29px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand__text strong {
  font-size: 1rem;
  letter-spacing: -.02em;
}

.brand__text small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .72rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 29px);
}

.main-nav > a:not(.button) {
  position: relative;
  padding-block: 10px;
  font-size: .91rem;
  font-weight: 650;
  color: #354744;
}

.main-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  background: var(--green-700);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.main-nav > a:not(.button):hover::after,
.main-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.button {
  min-height: 50px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  background: var(--green-800);
  border: 1px solid var(--green-800);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(20,92,85,.18);
  font-weight: 750;
  font-size: .92rem;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--green-700);
  box-shadow: 0 14px 30px rgba(20,92,85,.24);
  transform: translateY(-2px);
}

.button--small {
  min-height: 42px;
  padding: 10px 18px;
  font-size: .84rem;
}

.button--ghost {
  color: var(--green-900);
  background: transparent;
  border-color: rgba(20,92,85,.28);
  box-shadow: none;
}

.button--ghost:hover,
.button--ghost:focus-visible {
  color: var(--white);
  background: var(--green-800);
}

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(110deg, #fbfaf6 0%, #fbfaf6 42%, rgba(237,247,244,.92) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .25;
  background-image:
    linear-gradient(rgba(20,92,85,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,92,85,.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero__glow--one {
  width: 430px;
  height: 430px;
  top: 25px;
  right: -90px;
  background: rgba(36,133,121,.09);
}

.hero__glow--two {
  width: 280px;
  height: 280px;
  right: 28%;
  bottom: -150px;
  background: rgba(210,178,116,.10);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: clamp(45px, 7vw, 90px);
  padding-block: 78px 92px;
}

.hero__content {
  max-width: 655px;
}

.eyebrow,
.section-kicker {
  color: var(--green-700);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 7px 13px;
  background: rgba(220,238,234,.68);
  border: 1px solid rgba(20,92,85,.10);
  border-radius: 999px;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  background: var(--green-600);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(36,133,121,.12);
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.2vw, 5rem);
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.055em;
}

.hero__lead {
  max-width: 610px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 22px;
  margin-top: 31px;
  color: #50635f;
  font-size: .82rem;
}

.hero__trust div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero__trust svg {
  color: var(--green-700);
}

.hero__visual {
  min-height: 470px;
  display: grid;
  place-items: center;
}

.medical-illustration {
  position: relative;
  width: min(100%, 510px);
  aspect-ratio: 1 / .91;
}

.medical-illustration::before {
  content: "";
  position: absolute;
  width: 92%;
  height: 92%;
  right: -5%;
  bottom: -2%;
  background: linear-gradient(145deg, #d4ebe5, #f3f8f5);
  border-radius: 45% 55% 42% 58% / 55% 40% 60% 45%;
  transform: rotate(-5deg);
}

.medical-illustration__panel {
  position: absolute;
  z-index: 2;
  inset: 7% 7% 12% 7%;
  overflow: hidden;
  background: rgba(255,255,255,.93);
  border: 1px solid rgba(20,92,85,.08);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  transform: rotate(1.5deg);
}

.medical-illustration__top {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-inline: 20px;
  background: #f4f7f5;
  border-bottom: 1px solid var(--line);
}

.medical-illustration__top span {
  width: 8px;
  height: 8px;
  background: #c7d5d1;
  border-radius: 50%;
}

.medical-illustration__body {
  position: relative;
  height: calc(100% - 48px);
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.medical-illustration__cross {
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green-800);
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(20,92,85,.22);
}

.medical-illustration__cross svg {
  width: 62px;
  height: 62px;
}

.pulse-line {
  position: absolute;
  top: 42%;
  right: 0;
  width: 78%;
  color: var(--green-600);
  opacity: .85;
}

.pulse-line svg {
  width: 100%;
  height: 100px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.medical-illustration__rows {
  display: grid;
  gap: 13px;
}

.medical-illustration__rows span {
  height: 11px;
  background: #e6efed;
  border-radius: 20px;
}

.medical-illustration__rows span:nth-child(1) { width: 100%; }
.medical-illustration__rows span:nth-child(2) { width: 76%; }
.medical-illustration__rows span:nth-child(3) { width: 54%; }

.floating-card {
  position: absolute;
  z-index: 4;
  min-width: 175px;
  padding: 14px 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(20,92,85,.08);
  border-radius: 17px;
  box-shadow: var(--shadow-sm);
}

.floating-card--hours {
  left: -2%;
  bottom: 12%;
}

.floating-card--online {
  right: -5%;
  top: 16%;
}

.floating-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--green-800);
  background: var(--green-50);
  border-radius: 12px;
}

.floating-card small,
.floating-card strong {
  display: block;
  line-height: 1.25;
}

.floating-card small {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.floating-card strong {
  font-size: .88rem;
}

.quick-actions {
  position: relative;
  z-index: 3;
  padding: 70px 0 82px;
  background: var(--white);
}

.section {
  padding: 110px 0;
}

.section-heading {
  margin-bottom: 42px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading--compact {
  margin-bottom: 30px;
}

.section-heading h2,
.practice__content h2 {
  margin: 7px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.section-heading p {
  max-width: 460px;
  margin: 0 0 4px;
  color: var(--muted);
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.action-card {
  min-height: 115px;
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.action-card:hover,
.action-card:focus-visible {
  border-color: rgba(20,92,85,.32);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.action-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--green-800);
  background: var(--green-100);
  border-radius: 14px;
}

.action-card__icon svg {
  width: 23px;
  height: 23px;
}

.action-card strong,
.action-card small {
  display: block;
}

.action-card strong {
  font-size: .95rem;
}

.action-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .77rem;
}

.action-card__arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--green-700);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notice-section {
  padding: clamp(38px, 5vw, 68px) 0 clamp(42px, 5vw, 72px);
  background: var(--white);
}

.notice-section[hidden] { display: none !important; }

.notice {
  padding: 27px 30px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  color: #4b291f;
  background: var(--warning-bg);
  border: 1px solid #f2d6bc;
  border-radius: var(--radius-md);
}

.notice__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--warning);
  background: rgba(255,255,255,.7);
  border-radius: 16px;
}

.notice__icon svg {
  width: 25px;
  height: 25px;
}

.notice .section-kicker {
  color: var(--warning);
}

.notice h2 {
  margin: 3px 0 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.notice p {
  margin: 0;
  color: #73564b;
  font-size: .9rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-800);
  font-weight: 750;
  font-size: .88rem;
}

.text-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.text-link--large {
  margin-top: 30px;
  font-size: .96rem;
}

.services {
  background: #f4f7f4;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 250px;
  padding: 30px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(20,92,85,.09);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(16,73,67,.035);
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
}

.service-card__number {
  position: absolute;
  top: 24px;
  right: 25px;
  color: rgba(20,92,85,.16);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.service-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--green-800);
  background: var(--green-50);
  border-radius: 16px;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin: 25px 0 10px;
  font-size: 1.12rem;
  letter-spacing: -.02em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: .91rem;
}

.practice {
  background: var(--cream);
}

.practice__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(60px, 9vw, 120px);
}

.practice__visual {
  position: relative;
  min-height: 540px;
}

.practice__visual::before {
  content: "";
  position: absolute;
  width: 88%;
  height: 88%;
  left: -4%;
  bottom: -1%;
  background: var(--green-100);
  border-radius: 43% 57% 51% 49% / 45% 44% 56% 55%;
}

.doctor-card {
  position: absolute;
  z-index: 2;
  inset: 0 5% 5% 8%;
  overflow: hidden;
  background: linear-gradient(155deg, #f2f8f6, #d7ebe6);
  border-radius: 180px 180px 28px 28px;
  box-shadow: var(--shadow-md);
}

.doctor-card__portrait {
  height: calc(100% - 90px);
  display: grid;
  place-items: end center;
}

.doctor-card__portrait svg {
  width: 80%;
  height: 90%;
  color: #b4d7cf;
}

.doctor-card__portrait circle,
.doctor-card__portrait path {
  fill: currentColor;
}

.doctor-card__portrait .coat {
  fill: var(--white);
}

.doctor-card__portrait .shirt {
  fill: #8bbdb3;
}

.doctor-card__portrait .stethoscope {
  fill: none;
  stroke: var(--green-800);
  stroke-width: 5;
  stroke-linecap: round;
}

.doctor-card__caption {
  min-height: 90px;
  padding: 19px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  background: var(--green-900);
}

.doctor-card__caption small {
  margin-bottom: 3px;
  color: rgba(255,255,255,.67);
  font-size: .72rem;
}

.doctor-card__caption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 500;
}

.experience-badge {
  position: absolute;
  z-index: 4;
  right: -2%;
  bottom: 19%;
  width: 112px;
  height: 112px;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--white);
  background: var(--green-700);
  border: 7px solid var(--cream);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.experience-badge strong,
.experience-badge span {
  display: block;
}

.experience-badge strong {
  font-size: 1.05rem;
}

.experience-badge span {
  font-size: .7rem;
  opacity: .72;
}

.practice__content {
  max-width: 600px;
}

.practice__content h2 {
  margin-bottom: 24px;
}

.practice__lead {
  margin: 0 0 18px;
  color: #344b47;
  font-size: 1.12rem;
  line-height: 1.65;
}

.practice__content > p:not(.practice__lead) {
  color: var(--muted);
}

.practice__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 30px;
}

.practice__features > div {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--green-800);
  background: var(--green-50);
  border-radius: 12px;
}

.practice__features strong,
.practice__features small {
  display: block;
}

.practice__features strong {
  font-size: .88rem;
}

.practice__features small {
  margin-top: 2px;
  color: var(--muted);
  font-size: .74rem;
}

.hours-contact {
  background: var(--white);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.hours-card,
.contact-card {
  padding: clamp(27px, 4vw, 42px);
  border-radius: var(--radius-lg);
}

.hours-card {
  color: var(--white);
  background: var(--green-900);
}

.contact-card {
  background: var(--cream);
  border: 1px solid var(--line);
}

.card-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.card-heading__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--green-800);
  background: var(--white);
  border-radius: 15px;
}

.card-heading__icon svg {
  width: 25px;
  height: 25px;
}

.card-heading h3 {
  margin: 3px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.hours-card .section-kicker {
  color: #8bd0c3;
}

.hours-list {
  display: grid;
}

.hours-list > div {
  padding: 13px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.hours-list > div:first-child {
  padding-top: 0;
}

.hours-list span {
  color: rgba(255,255,255,.72);
}

.hours-list strong {
  font-variant-numeric: tabular-nums;
}

.hours-note {
  margin-top: 25px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
}

.hours-note svg {
  margin-top: 3px;
  flex: 0 0 auto;
  color: #8bd0c3;
}

.hours-note p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: .8rem;
}

.contact-card .card-heading__icon {
  color: var(--white);
  background: var(--green-800);
}

.contact-card address {
  display: grid;
  gap: 17px;
  color: #425653;
  font-style: normal;
}

.contact-card address > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.contact-card address a {
  color: var(--green-900);
  font-weight: 700;
}

.contact-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--green-700);
  background: var(--green-50);
  border-radius: 11px;
}

.contact-actions {
  display: flex;
  gap: 10px;
  margin-top: 33px;
}

.emergency {
  padding: 32px 0;
  color: var(--white);
  background: #a34831;
}

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

.emergency__inner > div:first-child {
  display: flex;
  align-items: center;
  gap: 15px;
}

.emergency__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(255,255,255,.12);
  border-radius: 14px;
}

.emergency strong,
.emergency small {
  display: block;
}

.emergency strong {
  font-size: .98rem;
}

.emergency small {
  margin-top: 3px;
  color: rgba(255,255,255,.76);
  font-size: .8rem;
}

.emergency__numbers {
  display: flex;
  gap: 10px;
}

.emergency__numbers a {
  min-width: 100px;
  padding: 10px 16px;
  text-align: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  font-weight: 800;
}

.emergency__numbers a:hover {
  background: rgba(255,255,255,.2);
}

.site-footer {
  padding: 70px 0 20px;
  color: rgba(255,255,255,.72);
  background: var(--green-950);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr .75fr;
  gap: 60px;
}

.brand--footer {
  color: var(--white);
}

.brand--footer .brand__mark {
  color: var(--green-950);
  background: #8bd0c3;
}

.brand--footer .brand__text small {
  color: rgba(255,255,255,.55);
}

.footer__grid p {
  max-width: 340px;
  margin: 20px 0 0;
  font-size: .9rem;
}

.footer__grid h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: .9rem;
}

.footer__grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  font-size: .84rem;
}

.footer__grid a:hover {
  color: var(--white);
}

.footer__bottom {
  margin-top: 55px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.45);
  font-size: .74rem;
}

.mobile-call {
  display: none;
}

/* Legal pages */
.legal-hero {
  padding: 80px 0 55px;
  background: var(--green-50);
}

.legal-hero h1 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -.04em;
}

.legal-content {
  padding: 65px 0 100px;
  background: var(--white);
}

.legal-content__inner {
  max-width: 850px;
}

.legal-content h2 {
  margin: 38px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #536461;
}

.legal-note {
  padding: 18px;
  color: #694333;
  background: var(--warning-bg);
  border: 1px solid #efd0b3;
  border-radius: var(--radius-sm);
}

/* Animacje wykonywane tylko wtedy, gdy użytkownik ich nie wyłączył */
@media (prefers-reduced-motion: no-preference) {
  .medical-illustration__panel {
    animation: float-panel 7s ease-in-out infinite;
  }

  .floating-card--hours {
    animation: float-card 5.6s ease-in-out infinite;
  }

  .floating-card--online {
    animation: float-card 6.4s ease-in-out .8s infinite;
  }

  @keyframes float-panel {
    0%, 100% { transform: rotate(1.5deg) translateY(0); }
    50% { transform: rotate(.5deg) translateY(-8px); }
  }

  @keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
}

@media (max-width: 1020px) {
  :root {
    --header-height: 76px;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    padding: 110px 30px 45px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    background: var(--cream);
    transform: translateX(100%);
    transition: transform .3s ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav > a:not(.button) {
    padding: 15px 5px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .button {
    margin-top: 15px;
  }

  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .action-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .topbar__links a:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    padding-block: 65px 70px;
  }

  .hero__content {
    max-width: 700px;
  }

  .hero__visual {
    min-height: auto;
  }

  .medical-illustration {
    width: min(88%, 500px);
    margin: 10px auto 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .practice__grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .practice__visual {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  :root {
    --radius-lg: 24px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .topbar__inner {
    min-height: 36px;
  }

  .topbar__links {
    gap: 12px;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .brand__text strong {
    font-size: .9rem;
  }

  .brand__text small {
    font-size: .64rem;
  }

  .hero__grid {
    padding-block: 55px 60px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hero__actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button,
  .contact-actions .button {
    width: 100%;
  }

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

  .medical-illustration {
    width: 100%;
    margin-top: 10px;
  }

  .floating-card {
    min-width: 148px;
    padding: 11px 12px;
  }

  .floating-card--hours {
    left: -3%;
  }

  .floating-card--online {
    right: -3%;
  }

  .floating-card__icon {
    width: 36px;
    height: 36px;
  }

  .floating-card strong {
    font-size: .76rem;
  }

  .quick-actions {
    padding-block: 60px 70px;
  }

  .section {
    padding-block: 80px;
  }

  .action-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .action-card {
    min-height: 96px;
  }

  .notice {
    grid-template-columns: auto 1fr;
    padding: 23px 20px;
  }

  .notice .text-link {
    grid-column: 1 / -1;
    margin-left: 76px;
  }

  .service-card {
    min-height: 225px;
  }

  .practice__visual {
    min-height: 480px;
  }

  .practice__features {
    grid-template-columns: 1fr;
  }

  .card-heading h3 {
    font-size: 1.42rem;
  }

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

  .emergency__numbers {
    width: 100%;
  }

  .emergency__numbers a {
    flex: 1;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer__grid > div:first-child {
    grid-column: auto;
  }

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

  .site-footer {
    padding-bottom: 90px;
  }

  .mobile-call {
    position: fixed;
    z-index: 950;
    right: 16px;
    bottom: 16px;
    min-height: 52px;
    padding: 12px 19px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--white);
    background: var(--green-800);
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(11,55,51,.3);
    font-weight: 800;
    font-size: .88rem;
  }
}

@media (max-width: 410px) {
  .brand__text small {
    display: none;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .medical-illustration__body {
    padding: 24px;
  }

  .medical-illustration__cross {
    width: 80px;
    height: 80px;
  }

  .floating-card--online {
    top: 10%;
  }
}

/* ========================================================================== 
   V2: ONLINE-REZEPTION, KONTAKTFORMULAR, GOOGLE MAPS UND PRAXISBOT
   ========================================================================== */

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

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.online-reception {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 18%, rgba(139, 208, 195, .17), transparent 28%),
    linear-gradient(135deg, var(--green-950), var(--green-800));
}

.online-reception::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .09;
  background-image:
    linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}

.online-reception__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(55px, 8vw, 105px);
}

.online-reception .section-kicker {
  color: #92d8cb;
}

.online-reception h2 {
  max-width: 680px;
  margin: 8px 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 4.4vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.online-reception__lead {
  max-width: 660px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 1.05rem;
}

.online-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 30px;
}

.online-feature-list > div {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
}

.online-feature-list span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--green-950);
  background: #92d8cb;
  border-radius: 10px;
  font-size: .7rem;
  font-weight: 900;
}

.online-feature-list strong {
  font-size: .88rem;
}

.online-reception__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 31px;
}

.online-reception .button {
  color: var(--green-950);
  background: #a9e0d6;
  border-color: #a9e0d6;
}

.online-reception .button:hover,
.online-reception .button:focus-visible {
  color: var(--green-950);
  background: #c3eee6;
}

.online-reception .button--ghost {
  color: var(--white);
  background: transparent;
  border-color: rgba(255,255,255,.32);
}

.online-reception .button--ghost:hover,
.online-reception .button--ghost:focus-visible {
  color: var(--green-950);
  background: var(--white);
}

.online-reception__note {
  max-width: 680px;
  margin: 19px 0 0;
  color: rgba(255,255,255,.55);
  font-size: .76rem;
}

.online-reception__demo {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.reception-phone {
  width: min(100%, 390px);
  min-height: 545px;
  overflow: hidden;
  color: var(--ink);
  background: #f7faf9;
  border: 10px solid #082d2a;
  border-radius: 42px;
  box-shadow: 0 35px 80px rgba(0,0,0,.32);
  transform: rotate(2deg);
}

.reception-phone__bar {
  height: 63px;
  padding-inline: 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--white);
  background: var(--green-950);
}

.reception-phone__bar span:first-child {
  width: 9px;
  height: 9px;
  background: #73d9a5;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(115,217,165,.12);
}

.reception-phone__bar strong {
  font-size: .88rem;
  letter-spacing: .02em;
}

.reception-phone__body {
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.reception-bubble {
  max-width: 84%;
  padding: 13px 15px;
  border-radius: 16px;
  font-size: .84rem;
  line-height: 1.45;
}

.reception-bubble--bot {
  align-self: flex-start;
  color: #304744;
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
}

.reception-bubble--user {
  align-self: flex-end;
  color: var(--white);
  background: var(--green-700);
  border-bottom-right-radius: 5px;
}

.reception-options {
  display: grid;
  gap: 9px;
}

.reception-options span {
  padding: 11px 14px;
  color: var(--green-900);
  background: var(--green-50);
  border: 1px solid #cfe5e0;
  border-radius: 12px;
  font-size: .82rem;
  font-weight: 750;
}

.video-consent {
  position: fixed;
  z-index: 5000;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  padding: clamp(18px, 3vw, 42px);
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  background: rgba(3, 20, 19, .97);
  backdrop-filter: blur(12px);
}

.video-consent[hidden] {
  display: none;
}

.video-consent__content {
  width: min(92vw, 560px);
  padding: clamp(26px, 5vw, 46px);
  color: var(--white);
  background: rgba(11, 55, 51, .96);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 26px;
  box-shadow: 0 30px 100px rgba(0,0,0,.5);
}

.video-consent__content h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  font-weight: 500;
}

.video-consent__content p {
  max-width: 430px;
  margin: 0 auto 24px;
  color: rgba(255,255,255,.76);
}

.video-close {
  position: fixed;
  z-index: 5002;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  width: 54px;
  height: 54px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  box-shadow: 0 12px 35px rgba(0,0,0,.35);
  cursor: pointer;
  font-size: 2.3rem;
  font-weight: 300;
  line-height: 1;
  transition: background .2s ease, transform .2s ease;
}

.video-close span {
  display: block;
  transform: translateY(-2px);
}

.video-close:hover,
.video-close:focus-visible {
  background: #b94735;
  transform: scale(1.06);
  outline: 3px solid rgba(255,255,255,.34);
  outline-offset: 3px;
}

.video-player-host {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.video-player-host[hidden] {
  display: none;
}

.video-frame {
  width: min(100%, calc(100dvh * 16 / 9));
  height: min(100%, calc(100vw * 9 / 16));
  max-width: 100vw;
  max-height: 100dvh;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: 0 25px 90px rgba(0,0,0,.65);
}

body.video-modal-open {
  overflow: hidden;
  touch-action: none;
}

.contact-form-section {
  background: #f3f7f5;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.14fr .86fr;
  align-items: start;
  gap: 24px;
}

.contact-form-shell { position: relative; min-width: 0; overflow: hidden; border-radius: var(--radius-lg); }

.contact-form,
.map-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 42px rgba(16,73,67,.055);
}

.contact-form {
  position: relative;
  padding: clamp(24px, 4vw, 42px);
}

.contact-form-language-lock {
  position: absolute; inset: 0; z-index: 5; min-height: 100%; padding: clamp(28px, 6vw, 64px);
  display: grid; place-content: center; justify-items: center; text-align: center; color: var(--ink);
  background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: var(--radius-lg); backdrop-filter: blur(5px);
}
.contact-form-language-lock[hidden] { display: none !important; }
.contact-form-language-lock__icon { width: 64px; height: 64px; margin-bottom: 18px; display: grid; place-items: center; color: var(--green-800); background: var(--green-50); border: 1px solid var(--line); border-radius: 20px; }
.contact-form-language-lock__icon svg { width: 30px; height: 30px; }
.contact-form-language-lock h3 { max-width: 520px; margin: 8px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.75rem, 3vw, 2.45rem); font-weight: 500; line-height: 1.13; letter-spacing: -.035em; }
.contact-form-language-lock p { max-width: 540px; margin: 0 0 24px; color: var(--muted); }
.contact-form-shell.is-language-locked .contact-form { min-height: 720px; opacity: .16; filter: blur(2px); pointer-events: none; user-select: none; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #334a46;
  font-size: .82rem;
  font-weight: 750;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 51px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfcfb;
  border: 1px solid #d5e1de;
  border-radius: 12px;
  outline: none;
  font: inherit;
  font-weight: 500;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: var(--white);
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(36,133,121,.11);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9aa8a5;
}

.form-warning {
  margin-top: 20px;
  padding: 14px 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #704433;
  background: var(--warning-bg);
  border: 1px solid #efd2b7;
  border-radius: 12px;
  font-size: .79rem;
}

.form-warning svg {
  margin-top: 2px;
  flex: 0 0 auto;
  color: var(--warning);
}

.form-consent {
  margin-top: 19px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--muted);
  font-size: .8rem;
  cursor: pointer;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--green-700);
}

.form-consent a {
  color: var(--green-800);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-submit {
  margin-top: 24px;
}

.form-submit:disabled {
  cursor: wait;
  opacity: .58;
}

.form-status {
  margin-bottom: 22px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: .86rem;
  font-weight: 700;
}

.form-status--success {
  color: #165640;
  background: #e4f5ec;
  border: 1px solid #b8dfca;
}

.form-status--error {
  color: #7a3527;
  background: #fff0eb;
  border: 1px solid #efc6ba;
}

.map-card {
  padding: clamp(24px, 3vw, 34px);
}

.map-card__heading h3 {
  margin: 5px 0 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.map-card__heading p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: .88rem;
}

.map-placeholder {
  min-height: 340px;
  padding: 30px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  overflow: hidden;
  color: var(--green-900);
  background:
    linear-gradient(rgba(237,247,244,.8), rgba(237,247,244,.8)),
    repeating-linear-gradient(35deg, transparent 0 23px, rgba(20,92,85,.08) 24px 25px);
  border: 1px solid #cfe1dc;
  border-radius: 18px;
}

.map-placeholder > svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: var(--green-700);
}

.map-placeholder > strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.map-placeholder > p {
  max-width: 340px;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: .8rem;
}

.map-placeholder.is-loaded {
  display: block;
  padding: 0;
}

.map-placeholder iframe {
  width: 100%;
  height: 340px;
  display: block;
  border: 0;
}

.map-route {
  width: 100%;
  margin-top: 13px;
}

.map-card__details {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.map-card__details > div {
  padding: 14px;
  background: var(--green-50);
  border-radius: 12px;
}

.map-card__details strong,
.map-card__details span {
  display: block;
}

.map-card__details strong {
  font-size: .82rem;
}

.map-card__details span {
  margin-top: 4px;
  color: var(--muted);
  font-size: .72rem;
}

.chat-launcher {
  position: fixed;
  z-index: 1200;
  right: 22px;
  bottom: 22px;
  min-height: 56px;
  padding: 13px 19px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  background: var(--green-800);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 15px 36px rgba(11,55,51,.32);
  cursor: pointer;
  font-weight: 850;
}

.chat-launcher:hover,
.chat-launcher:focus-visible {
  background: var(--green-700);
  transform: translateY(-2px);
}

.chat-widget {
  position: fixed;
  z-index: 1210;
  right: 22px;
  bottom: 90px;
  width: min(390px, calc(100vw - 28px));
  max-height: min(650px, calc(100vh - 120px));
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(20,92,85,.16);
  border-radius: 23px;
  box-shadow: 0 25px 80px rgba(11,55,51,.28);
}

.chat-widget[hidden] {
  display: none;
}

.chat-widget__header {
  min-height: 72px;
  padding: 13px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  color: var(--white);
  background: var(--green-900);
}

.chat-avatar {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: #91d7ca;
  color: var(--green-950);
  border-radius: 14px;
  font-size: .77rem;
  font-weight: 950;
}

.chat-widget__header strong,
.chat-widget__header small {
  display: block;
}

.chat-widget__header strong {
  font-size: .88rem;
}

.chat-widget__header small {
  margin-top: 2px;
  color: rgba(255,255,255,.62);
  font-size: .66rem;
}

.chat-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255,255,255,.08);
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.chat-messages {
  height: 300px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  background: #f5f8f7;
}

.chat-message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.chat-message--user {
  align-items: flex-end;
}

.chat-message__bubble {
  max-width: 88%;
  padding: 11px 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 4px;
  font-size: .79rem;
  line-height: 1.5;
}

.chat-message--user .chat-message__bubble {
  color: var(--white);
  background: var(--green-700);
  border-color: var(--green-700);
  border-radius: 14px 14px 4px 14px;
}

.chat-message__action {
  padding: 7px 11px;
  color: var(--green-800);
  background: var(--green-50);
  border: 1px solid #cfe5e0;
  border-radius: 999px;
  font-size: .71rem;
  font-weight: 850;
}

.chat-quick-actions {
  padding: 11px 13px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.chat-quick-actions button {
  min-width: max-content;
  padding: 7px 10px;
  color: var(--green-800);
  background: var(--green-50);
  border: 1px solid #cfe2de;
  border-radius: 999px;
  cursor: pointer;
  font-size: .7rem;
  font-weight: 800;
}

.chat-input-form {
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  border-top: 1px solid var(--line);
}

.chat-input-form input {
  min-width: 0;
  height: 42px;
  padding: 10px 12px;
  border: 1px solid #d3dfdc;
  border-radius: 12px;
  outline: none;
  font: inherit;
  font-size: .78rem;
}

.chat-input-form input:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(36,133,121,.1);
}

.chat-input-form button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green-800);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.chat-disclaimer {
  margin: 0;
  padding: 0 13px 12px;
  color: #899592;
  background: var(--white);
  font-size: .61rem;
  text-align: center;
}

@media (max-width: 1160px) and (min-width: 1021px) {
  .main-nav {
    gap: 13px;
  }

  .main-nav > a:not(.button) {
    font-size: .79rem;
  }

  .main-nav .button {
    padding-inline: 14px;
  }
}

@media (max-width: 900px) {
  .online-reception__grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .online-reception__demo {
    min-height: 520px;
  }

  .reception-phone {
    width: min(88%, 390px);
  }

}

@media (max-width: 600px) {
  .online-feature-list,
  .form-grid,
  .map-card__details {
    grid-template-columns: 1fr;
  }

  .online-reception__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .online-reception__actions .button {
    width: 100%;
  }

  .online-reception__demo {
    min-height: 475px;
  }

  .reception-phone {
    width: 100%;
    min-height: 470px;
    border-width: 8px;
    border-radius: 33px;
  }

  .form-field--full {
    grid-column: auto;
  }

  .map-placeholder,
  .map-placeholder iframe {
    min-height: 300px;
    height: 300px;
  }

  .chat-launcher {
    right: 14px;
    bottom: 78px;
  }

  .chat-widget {
    right: 14px;
    bottom: 144px;
    max-height: calc(100vh - 160px);
  }

  .chat-messages {
    height: min(270px, 39vh);
  }
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}


/* ========================================================================== 
   V3: MOBILE PRAXIS, PEŁNOEKRANOWE MENU MOBILNE I NOWY PRAXISBOT
   ========================================================================== */

.main-nav {
  gap: clamp(9px, 1.25vw, 21px);
}

.mobile-nav-intro,
.mobile-nav-footer {
  display: none;
}

.mobile-practice {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eef7f4 0%, #fbfaf6 62%, #f1e9d9 100%);
}

.mobile-practice::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .34;
  background-image:
    radial-gradient(circle at 18% 15%, rgba(36,133,121,.12), transparent 28%),
    linear-gradient(rgba(20,92,85,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,92,85,.06) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  pointer-events: none;
}

.mobile-practice__shell {
  position: relative;
  z-index: 1;
  padding: clamp(34px, 6vw, 70px);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(45px, 7vw, 90px);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(20,92,85,.12);
  border-radius: 38px;
  box-shadow: 0 30px 90px rgba(16,73,67,.11);
  backdrop-filter: blur(8px);
}

.mobile-practice__content h2 {
  max-width: 670px;
  margin: 8px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.045em;
}

.mobile-practice__lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.mobile-practice__facts {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.mobile-practice__facts > div {
  padding: 15px 17px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.mobile-practice__fact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--green-800);
  background: var(--green-50);
  border-radius: 13px;
}

.mobile-practice__facts strong,
.mobile-practice__facts small {
  display: block;
}

.mobile-practice__facts strong {
  font-size: .91rem;
}

.mobile-practice__facts small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .76rem;
}

.mobile-practice__actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.mobile-practice__warning {
  margin: 21px 0 0;
  padding: 13px 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #724733;
  background: var(--warning-bg);
  border: 1px solid #efd1b4;
  border-radius: 13px;
  font-size: .77rem;
}

.mobile-practice__warning svg {
  margin-top: 2px;
  flex: 0 0 auto;
  color: var(--warning);
}

.mobile-practice__visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.mobile-practice__orbit {
  position: absolute;
  border: 1px solid rgba(20,92,85,.14);
  border-radius: 50%;
}

.mobile-practice__orbit--one {
  width: 390px;
  height: 390px;
}

.mobile-practice__orbit--two {
  width: 285px;
  height: 285px;
  border-style: dashed;
}

.mobile-practice__house {
  position: relative;
  z-index: 2;
  width: min(100%, 330px);
  padding: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(20,92,85,.12);
  border-radius: 32px;
  box-shadow: var(--shadow-md);
  transform: rotate(-2deg);
}

.mobile-practice__house svg {
  width: 100%;
  height: auto;
}

.mp-ground { fill: #c6ded8; }
.mp-house { fill: #fff; stroke: #145c55; stroke-width: 5; }
.mp-roof { fill: #145c55; }
.mp-door { fill: #8bc9be; }
.mp-window { fill: #dceeea; stroke: #145c55; stroke-width: 3; }
.mp-cross { fill: #b24d35; }

.mobile-practice__call-card {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 42px;
  min-width: 210px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid rgba(20,92,85,.12);
  border-radius: 17px;
  box-shadow: var(--shadow-sm);
}

.mobile-practice__call-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--green-800);
  border-radius: 12px;
}

.mobile-practice__call-card small,
.mobile-practice__call-card strong {
  display: block;
  line-height: 1.25;
}

.mobile-practice__call-card small {
  color: var(--muted);
  font-size: .68rem;
}

.mobile-practice__call-card strong {
  margin-top: 3px;
  font-size: .9rem;
}

.privacy-teaser {
  padding: 42px 0;
  background: #edf6f3;
  border-top: 1px solid rgba(20,92,85,.08);
}

.privacy-teaser__inner {
  padding: 26px 30px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.privacy-teaser__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--green-800);
  background: var(--green-50);
  border-radius: 17px;
}

.privacy-teaser__icon svg {
  width: 28px;
  height: 28px;
}

.privacy-teaser h2 {
  margin: 3px 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.privacy-teaser p {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}

/* Nowy wygląd PraxisBota */
.chat-launcher {
  min-height: 64px;
  padding: 8px 13px 8px 9px;
  gap: 10px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 18px 44px rgba(11,55,51,.34);
}

.chat-launcher__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--green-950);
  background: #a6dfd4;
  border-radius: 15px;
}

.chat-launcher__icon svg {
  width: 23px;
  height: 23px;
}

.chat-launcher__text {
  min-width: 82px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.chat-launcher__text small {
  color: #9fe3d7;
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.chat-launcher__text strong {
  margin-top: 4px;
  color: var(--white);
  font-size: .9rem;
}

.chat-launcher__pulse {
  width: 9px;
  height: 9px;
  background: #7ee5a8;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(126,229,168,.13);
}

.chat-widget {
  width: min(420px, calc(100vw - 28px));
  max-height: min(720px, calc(100dvh - 115px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(20,92,85,.2);
  border-radius: 28px;
  box-shadow: 0 32px 100px rgba(11,55,51,.34);
}

.chat-widget[hidden] {
  display: none;
}

.chat-widget__header {
  min-height: 82px;
  padding: 15px 16px;
  background:
    radial-gradient(circle at 90% 10%, rgba(166,223,212,.22), transparent 35%),
    linear-gradient(135deg, var(--green-950), var(--green-800));
}

.chat-avatar {
  width: 50px;
  height: 50px;
  color: var(--green-950);
  background: linear-gradient(145deg, #c6f1e8, #8fd7ca);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.13);
}

.chat-avatar svg {
  width: 25px;
  height: 25px;
}

.chat-widget__identity small {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-status-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: #7ee5a8;
  border-radius: 50%;
}

.chat-close {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
}

.chat-intro {
  padding: 15px 17px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: linear-gradient(90deg, #edf8f5, #f8fbfa);
  border-bottom: 1px solid var(--line);
}

.chat-intro strong {
  color: var(--green-900);
  font-size: .83rem;
}

.chat-intro span {
  color: var(--muted);
  font-size: .7rem;
}

.chat-messages {
  height: 286px;
  min-height: 180px;
  padding: 18px;
  background:
    linear-gradient(rgba(248,251,250,.94), rgba(248,251,250,.94)),
    radial-gradient(circle at 20% 20%, rgba(36,133,121,.14), transparent 35%);
}

.chat-message {
  position: relative;
  padding-left: 30px;
}

.chat-message--user {
  padding-left: 0;
  padding-right: 0;
}

.chat-message--bot::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 4px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green-800);
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 900;
}

.chat-message__bubble {
  padding: 11px 13px;
  color: #354a46;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px 15px 15px 5px;
  box-shadow: 0 7px 20px rgba(16,73,67,.055);
  font-size: .78rem;
  line-height: 1.5;
}

.chat-message--user .chat-message__bubble {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  border: 0;
  border-radius: 15px 15px 5px 15px;
  box-shadow: 0 8px 20px rgba(20,92,85,.18);
}

.chat-message__action {
  margin-left: 0;
  padding: 9px 12px;
  display: inline-flex;
  color: var(--green-900);
  background: #e3f3ef;
  border: 1px solid #c5e1db;
  border-radius: 11px;
  font-size: .72rem;
  font-weight: 850;
}

.chat-typing {
  margin: -5px 18px 7px 48px;
  width: max-content;
  padding: 9px 12px;
  display: flex;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.chat-typing[hidden] {
  display: none;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  background: #7c918d;
  border-radius: 50%;
  animation: chat-dot 1s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: .14s; }
.chat-typing span:nth-child(3) { animation-delay: .28s; }

@keyframes chat-dot {
  0%, 100% { transform: translateY(0); opacity: .45; }
  50% { transform: translateY(-4px); opacity: 1; }
}

.chat-quick-actions {
  padding: 11px 13px 8px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  background: var(--white);
  border-top: 1px solid #edf1f0;
  scrollbar-width: thin;
}

.chat-quick-actions button {
  flex: 0 0 auto;
  padding: 8px 11px;
  color: var(--green-900);
  background: var(--green-50);
  border: 1px solid #cfe3de;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
}

.chat-quick-actions button:hover {
  color: var(--white);
  background: var(--green-800);
  border-color: var(--green-800);
}

.chat-input-form {
  padding: 10px 12px;
  background: var(--white);
  border-top: 1px solid #edf1f0;
}

.chat-input-form input {
  min-height: 46px;
  background: #f5f8f7;
  border-radius: 14px;
}

.chat-input-form button {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}

.chat-privacy-note {
  padding: 2px 14px 6px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #6f817d;
  background: var(--white);
  font-size: .6rem;
  line-height: 1.4;
}

.chat-privacy-note svg {
  margin-top: 1px;
  flex: 0 0 auto;
  color: var(--green-700);
}

.chat-disclaimer {
  padding-bottom: 11px;
  font-size: .58rem;
}

/* Pełnoekranowe, nieprzezroczyste menu na telefonie/tablecie */
@media (max-width: 1020px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header .brand {
    position: relative;
    z-index: 1004;
  }

  .nav-toggle {
    z-index: 1005;
  }

  .main-nav {
    position: fixed;
    inset: 36px 0 0 0;
    z-index: 1003;
    width: 100vw;
    height: calc(100dvh - 36px);
    min-height: calc(100vh - 36px);
    padding: 100px 22px 28px;
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: var(--white);
    background:
      radial-gradient(circle at 90% 13%, rgba(151,220,207,.2), transparent 28%),
      radial-gradient(circle at 10% 90%, rgba(219,192,137,.12), transparent 25%),
      linear-gradient(145deg, #0a3733 0%, #104f49 58%, #126258 100%);
    visibility: hidden;
    opacity: 0;
    transform: translateX(100%);
    transition: transform .32s ease, opacity .2s ease, visibility 0s linear .32s;
  }

  .main-nav::before {
    content: "";
    position: fixed;
    inset: 36px 0 0;
    z-index: -1;
    opacity: .08;
    background-image:
      linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
    background-size: 46px 46px;
    pointer-events: none;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0s;
  }

  body.nav-open .site-header {
    color: var(--white);
    background: transparent;
    border-color: transparent;
  }

  body.nav-open .brand__text strong,
  body.nav-open .brand__text small {
    color: var(--white);
  }

  body.nav-open .nav-toggle {
    color: var(--white);
  }

  .mobile-nav-intro {
    margin-bottom: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 18px;
  }

  .mobile-nav-intro__badge {
    color: #98ded1;
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .14em;
  }

  .mobile-nav-intro strong {
    margin-top: 6px;
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 500;
  }

  .mobile-nav-intro small {
    margin-top: 3px;
    color: rgba(255,255,255,.58);
    font-size: .75rem;
  }

  .main-nav > a:not(.button) {
    position: relative;
    padding: 13px 10px 13px 36px;
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,.12);
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 750;
  }

  .main-nav > a:not(.button)::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 50%;
    width: 7px;
    height: 7px;
    background: #91d7ca;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 5px rgba(145,215,202,.1);
  }

  .main-nav > a:not(.button)::after {
    display: none;
  }

  .main-nav .button {
    margin-top: 18px;
    color: var(--green-950);
    background: #a9e0d6;
    border-color: #a9e0d6;
    box-shadow: none;
  }

  .mobile-nav-footer {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .mobile-nav-footer a {
    padding: 12px;
    display: flex;
    flex-direction: column;
    color: rgba(255,255,255,.72);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 13px;
    font-size: .68rem;
  }

  .mobile-nav-footer strong {
    margin-top: 3px;
    color: var(--white);
    font-size: .8rem;
  }

  .mobile-practice__shell {
    grid-template-columns: 1fr;
  }

  .mobile-practice__visual {
    min-height: 390px;
  }
}

@media (max-width: 700px) {
  .mobile-practice__shell {
    padding: 28px 20px;
    border-radius: 27px;
  }

  .mobile-practice__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mobile-practice__actions .button {
    width: 100%;
  }

  .mobile-practice__visual {
    min-height: 340px;
  }

  .mobile-practice__orbit--one {
    width: 310px;
    height: 310px;
  }

  .mobile-practice__orbit--two {
    width: 225px;
    height: 225px;
  }

  .mobile-practice__house {
    width: min(82%, 290px);
  }

  .mobile-practice__call-card {
    right: 3px;
    bottom: 19px;
    min-width: 184px;
  }

  .privacy-teaser__inner {
    grid-template-columns: auto 1fr;
    padding: 23px 20px;
  }

  .privacy-teaser__inner .button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .main-nav {
    padding: 92px 16px 22px;
  }

  .main-nav > a:not(.button) {
    padding-block: 11px;
    font-size: .96rem;
  }

  .chat-launcher {
    right: 12px;
    bottom: 76px;
    min-height: 58px;
  }

  .chat-launcher__icon {
    width: 42px;
    height: 42px;
  }

  .chat-widget {
    inset: auto 8px 142px 8px;
    width: auto;
    max-height: calc(100dvh - 155px);
    border-radius: 24px;
  }

  .chat-widget__header {
    min-height: 74px;
  }

  .chat-messages {
    height: min(245px, 34dvh);
  }

  .mobile-nav-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .mobile-practice__visual {
    min-height: 305px;
  }

  .mobile-practice__call-card {
    min-width: 165px;
    padding: 11px 12px;
  }

  .privacy-teaser__inner {
    grid-template-columns: 1fr;
  }
}


/* Rozszerzona strona Datenschutz */
.legal-hero__lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-content__inner--wide {
  max-width: 980px;
}

.legal-toc {
  margin-bottom: 30px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  background: var(--green-50);
  border: 1px solid #cfe2dd;
  border-radius: 18px;
}

.legal-toc strong {
  grid-column: 1 / -1;
  color: var(--green-900);
}

.legal-toc a {
  padding: 10px 12px;
  color: var(--green-900);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 750;
}

.legal-section-card {
  margin-top: 28px;
  padding: clamp(25px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 42px rgba(16,73,67,.055);
}

.legal-section-card h2 {
  margin: 7px 0 18px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.legal-section-card h3 {
  margin: 28px 0 8px;
  color: var(--green-900);
  font-size: 1.05rem;
}

.legal-section-card ul {
  padding-left: 22px;
}

.legal-section-card a {
  color: var(--green-800);
  font-weight: 750;
}

.legal-note--final {
  margin-top: 30px;
}

@media (max-width: 650px) {
  .legal-toc {
    grid-template-columns: 1fr;
  }

  .legal-toc strong {
    grid-column: auto;
  }
}

/* Drobne poprawki widoczności elementów pływających */
.chat-launcher {
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background .2s ease;
}

.chat-launcher[aria-expanded="true"],
body.nav-open .chat-launcher,
body.nav-open .mobile-call {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

.chat-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
}

.chat-quick-actions button {
  width: 100%;
  min-width: 0;
  padding-inline: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 390px) {
  .chat-quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ========================================================================== 
   PANEL ADMINA – DYNAMICZNY STATUS, GODZINY I PODGLĄD
   ========================================================================== */
.practice-status-banner {
  position: relative;
  z-index: 900;
  color: #fff;
  background: #145c55;
  box-shadow: 0 10px 30px rgba(15, 55, 51, .13);
}
.practice-status-banner[hidden] { display: none !important; }
.practice-status-banner.is-warning { background: #a9652d; }
.practice-status-banner.is-urgent { background: #9d3f35; }
.practice-status-banner.is-info { background: #316d91; }
.practice-status-banner.is-open { background: #176b60; }
.practice-status-banner__inner {
  min-height: 92px;
  padding-block: 17px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 17px;
}
.practice-status-banner__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: currentColor;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
}
.practice-status-banner__icon svg { width: 24px; height: 24px; }
.practice-status-banner__content { min-width: 0; }
.practice-status-banner__label,
.practice-status-banner__content strong,
.practice-status-banner__content p { display: block; }
.practice-status-banner__label {
  margin-bottom: 2px;
  color: rgba(255,255,255,.66);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.practice-status-banner__content > strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -.025em;
}
.practice-status-banner__custom-title {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}
.practice-status-banner__custom-title[hidden] { display: none !important; }
.practice-status-banner__content p {
  margin: 3px 0 0;
  color: rgba(255,255,255,.78);
  font-size: .84rem;
}
.practice-status-banner__substitute {
  margin-top: 10px;
  padding-top: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 14px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.84);
  font-size: .78rem;
}
.practice-status-banner__substitute[hidden] { display: none; }
.practice-status-banner__substitute a {
  padding: 6px 11px;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}
.practice-status-banner__substitute a:hover {
  background: rgba(255,255,255,.20);
  transform: translateY(-1px);
}

.notice--info { background: #edf7f4; border-color: #cce6df; }
.notice--info .notice__icon { color: var(--green-800); }
.notice--important { background: var(--warning-bg); border-color: #f2d6bc; }
.notice--urgent { color: #55251f; background: #fbecea; border-color: #efc5c0; }
.notice--urgent .notice__icon, .notice--urgent .section-kicker { color: #a03e34; }

.hours-exceptions {
  margin-top: 18px;
  padding: 15px;
  color: #173e3a;
  background: #dff1ec;
  border-radius: var(--radius-sm);
}
.hours-exceptions[hidden] { display: none; }
.hours-exceptions > strong {
  display: block;
  margin-bottom: 8px;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
#hours-exceptions-list { display: grid; gap: 7px; }
#hours-exceptions-list > div {
  padding: 8px 0;
  display: grid;
  grid-template-columns: 105px auto 1fr;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(20,92,85,.13);
  font-size: .78rem;
}
#hours-exceptions-list > div:first-child { border-top: 0; }
#hours-exceptions-list span { color: #46635f; }
#hours-exceptions-list small { color: #5b716e; }

.admin-preview-ribbon {
  position: fixed;
  z-index: 5000;
  top: 10px;
  left: 50%;
  padding: 8px 14px;
  color: #fff;
  background: #8e4a22;
  border: 2px solid rgba(255,255,255,.75);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transform: translateX(-50%);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}
[data-service][hidden],
[data-service-section][hidden],
[data-admin-section][hidden],
#mobile-practice-nav-link[hidden] { display: none !important; }

@media (max-width: 600px) {
  .practice-status-banner__inner {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }
  .practice-status-banner__icon { width: 42px; height: 42px; }
  .practice-status-banner__content > strong { font-size: 1.5rem; }
  .practice-status-banner__substitute { align-items: flex-start; flex-direction: column; }
  #hours-exceptions-list > div { grid-template-columns: 92px 1fr; }
  #hours-exceptions-list small { grid-column: 1 / -1; }
  .admin-preview-ribbon { top: auto; bottom: 10px; max-width: calc(100% - 24px); text-align: center; }
}
.hours-list span small {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,.48);
  font-size: .68rem;
  font-weight: 500;
}


@media (max-width: 600px) {
  .video-consent {
    padding: 0;
  }

  .video-consent__content {
    width: calc(100% - 28px);
    border-radius: 22px;
  }

  .video-close {
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    width: 48px;
    height: 48px;
    font-size: 2rem;
  }

  .video-frame {
    width: 100vw;
    height: auto;
    max-height: calc(100dvh - 20px);
  }
}

/* ========================================================================== 
   V4.8: niezależne komunikaty, mocniejszy podział sekcji i podstrona aktualności
   ========================================================================== */

/* Wyraźniejszy rytm kolorów pomiędzy sekcjami */
.quick-actions { background: #ffffff; border-top: 1px solid #d9e5e1; border-bottom: 1px solid #d9e5e1; }
.services { background: #e7f1ee; border-top: 1px solid #d2e3de; border-bottom: 1px solid #d2e3de; }
.practice { background: #fff8ec; border-top: 1px solid #eee1ca; border-bottom: 1px solid #eee1ca; }
.mobile-practice { background: linear-gradient(135deg, #dceee9 0%, #eff7f4 54%, #f3e7cf 100%); border-top: 1px solid #cbded8; border-bottom: 1px solid #d9cfbc; }
.hours-contact { background: #ffffff; border-top: 1px solid #dce7e4; border-bottom: 1px solid #dce7e4; }
.contact-form-section { background: #e2ece9; border-top: 1px solid #cadbd6; border-bottom: 1px solid #cadbd6; }
.privacy-teaser { background: #fff7e8; border-top: 1px solid #eadcc2; }

/* Komunikat zawsze znajduje się niżej niż status urlopu */
.notice-section {
  position: relative;
  padding: clamp(58px, 7vw, 92px) 0;
  background: #edf3f1;
  border-top: 1px solid #ccddd8;
  border-bottom: 1px solid #ccddd8;
}
.notice-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .35;
  pointer-events: none;
  background-image: linear-gradient(rgba(20,92,85,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(20,92,85,.05) 1px, transparent 1px);
  background-size: 52px 52px;
}
.notice-section .container { position: relative; z-index: 1; }
.notice {
  min-height: 150px;
  padding: clamp(24px, 4vw, 38px);
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #bdd7d0;
  border-left: 7px solid var(--green-700);
  box-shadow: 0 22px 56px rgba(16,73,67,.12);
}
.notice--info { color: var(--ink); background: #ffffff; border-color: #bdd7d0; border-left-color: var(--green-700); }
.notice--important { color: #4d321d; background: #fff8eb; border-color: #e7c99a; border-left-color: #c97b2e; }
.notice--urgent { color: #4d2520; background: #fff1ef; border-color: #e6b2ac; border-left-color: #a74338; }
.notice h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.notice p { max-width: 780px; color: #50645f; font-size: .96rem; }
.notice--important p { color: #725334; }
.notice--urgent p { color: #75443e; }
.notice__button {
  min-height: 46px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  background: var(--green-800);
  border: 1px solid var(--green-800);
  border-radius: 999px;
  font-weight: 800;
  font-size: .86rem;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(20,92,85,.18);
  transition: transform .2s ease, background .2s ease;
}
.notice__button:hover { background: var(--green-700); transform: translateY(-2px); }
.notice__button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notice__button[hidden] { display: none !important; }

/* Formularz jest całkowicie zakryty w PL i EN */
.contact-form-shell.is-language-locked .contact-form { visibility: hidden; opacity: 0; filter: none; }
.contact-form-language-lock { min-height: 720px; background: #ffffff; box-shadow: 0 18px 55px rgba(16,73,67,.10); }

/* Podstrona aktualności */
.announcement-page { background: #f4f8f6; }
.announcement-preview-ribbon { padding: 10px 20px; color: #fff; background: #8a4b20; text-align: center; font-size: .78rem; font-weight: 800; letter-spacing: .06em; }
.announcement-hero { padding: clamp(70px, 9vw, 125px) 0; color: #fff; background: linear-gradient(125deg, #0d4741, #176e63); overflow: hidden; }
.announcement-hero--important { background: linear-gradient(125deg, #68401f, #a56128); }
.announcement-hero--urgent { background: linear-gradient(125deg, #632d28, #a44137); }
.announcement-hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(40px, 7vw, 90px); }
.announcement-hero__badge { display: inline-flex; margin-bottom: 18px; padding: 7px 12px; color: #0d4741; background: #9ddfd2; border-radius: 999px; font-size: .74rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.announcement-hero h1 { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6vw, 5.8rem); font-weight: 500; line-height: .98; letter-spacing: -.055em; }
.announcement-hero__lead { max-width: 720px; margin: 24px 0 0; color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 2vw, 1.35rem); }
.announcement-date { margin-top: 24px; font-weight: 750; color: rgba(255,255,255,.75); }
.announcement-hero__image { width: 100%; max-height: 500px; aspect-ratio: 4 / 3; object-fit: cover; border: 10px solid rgba(255,255,255,.14); border-radius: 34px; box-shadow: 0 30px 90px rgba(0,0,0,.25); transform: rotate(1.5deg); }
.announcement-hero__symbol { width: min(100%, 430px); aspect-ratio: 1; display: grid; place-items: center; justify-self: center; color: #0d4741; background: #9ddfd2; border: 15px solid rgba(255,255,255,.13); border-radius: 42% 58% 44% 56%; font-size: 10rem; font-weight: 900; box-shadow: 0 30px 90px rgba(0,0,0,.2); }
.announcement-content { padding: clamp(70px, 9vw, 120px) 0; background: #f4f8f6; }
.announcement-content__grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); align-items: start; gap: clamp(34px, 6vw, 80px); }
.announcement-copy { padding: clamp(28px, 5vw, 56px); background: #fff; border: 1px solid #ccddd8; border-radius: 30px; box-shadow: 0 22px 65px rgba(16,73,67,.09); }
.announcement-copy h2 { margin: 8px 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; }
.announcement-richtext { color: #465d58; font-size: 1.04rem; line-height: 1.85; white-space: normal; }
.announcement-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.announcement-gallery { display: grid; gap: 18px; }
.announcement-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 8px solid #fff; border-radius: 24px; box-shadow: 0 18px 50px rgba(16,73,67,.12); }
.announcement-side-card { padding: 30px; display: grid; gap: 13px; color: #fff; background: var(--green-900); border-radius: 25px; box-shadow: 0 20px 55px rgba(16,73,67,.18); }
.announcement-side-card strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 500; }
.announcement-side-card span { color: rgba(255,255,255,.7); }
.announcement-side-card a { color: #9ddfd2; font-weight: 800; }
.announcement-empty { min-height: 65vh; padding: 100px 0; display: grid; place-items: center; background: #e7f1ee; }
.announcement-empty__inner { max-width: 800px; text-align: center; }
.announcement-empty h1 { margin: 10px 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 500; line-height: 1.05; letter-spacing: -.045em; }
.announcement-empty p { margin: 0 auto 28px; color: var(--muted); }
.announcement-footer { padding-top: 20px; }

@media (max-width: 820px) {
  .announcement-hero__inner, .announcement-content__grid { grid-template-columns: 1fr; }
  .announcement-hero__image { max-height: 390px; }
  .notice { grid-template-columns: auto 1fr; }
  .notice__button { grid-column: 1 / -1; margin-left: 76px; justify-self: start; }
}
@media (max-width: 600px) {
  .notice { grid-template-columns: 1fr; }
  .notice__icon { width: 48px; height: 48px; }
  .notice__button { grid-column: auto; margin-left: 0; width: 100%; }
  .announcement-hero { padding: 65px 0; }
  .announcement-hero h1 { font-size: 2.65rem; }
  .announcement-hero__symbol { max-width: 270px; font-size: 7rem; }
  .announcement-copy { padding: 26px 22px; }
  .announcement-actions { flex-direction: column; }
  .announcement-actions .button { width: 100%; }
}

/* V4.9 – stabilne i wyraźne komunikaty */
.notice-section[hidden] { display: none !important; }
.notice__content { min-width: 0; }
.notice__content h2,
.notice__content p { overflow-wrap: anywhere; }
.notice--info .section-kicker { color: var(--green-700); }
.notice--important .section-kicker { color: #a35f1f; }
.notice--urgent .section-kicker { color: #9b3b33; }

/* ========================================================================== 
   V5.0: spokojniejsza paleta, komunikat pod statusem i pewna blokada formularza
   ========================================================================== */
:root {
  --cream: #fbfbf8;
  --green-50: #f2f7f5;
  --green-100: #e3efeb;
  --line: #d8e3df;
  --warning-bg: #f7f3e9;
}
body { background: #fbfbf8; }

/* Spokojny podział sekcji: biel i bardzo delikatna mięta, bez mocnego beżu. */
.quick-actions,
.practice,
.hours-contact,
.privacy-teaser { background: #ffffff; border-color: #dce5e2; }
.services,
.mobile-practice,
.contact-form-section { background: #f3f7f5; border-color: #d8e3df; }
.mobile-practice { background-image: none; }
.service-card,
.practice__features > div,
.contact-form,
.map-card,
.hours-card,
.contact-card { border-color: #d8e3df; }

/* Status i aktualność są dwoma kolejnymi, czytelnymi paskami u góry. */
.practice-status-banner { box-shadow: none; }
.practice-status-banner.is-warning { background: #6f654d; }
.practice-status-banner.is-urgent { background: #784c47; }
.practice-status-banner.is-info { background: #3f6871; }
.practice-status-banner.is-open { background: #17645b; }
.practice-announcement-banner {
  z-index: 899;
  border-top: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 9px 24px rgba(15,55,51,.10);
}
.practice-announcement-banner .practice-status-banner__inner { min-height: 82px; }
.practice-announcement-banner .practice-status-banner__content > strong {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}
.practice-announcement-banner__actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.practice-announcement-banner .practice-status-banner__action {
  min-height: 38px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
}
.practice-announcement-banner .practice-status-banner__action:hover {
  background: rgba(255,255,255,.19);
}
.practice-announcement-banner .practice-status-banner__action svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.practice-announcement-banner .practice-status-banner__action[hidden] { display: none !important; }

/* Stara sekcja komunikatu nie jest już używana w treści strony. */
.notice-section { padding: 0; background: transparent; border: 0; }

/* Blokada formularza działa również wtedy, gdy język zmieni localStorage lub JS. */
html[lang="pl"] #contact-form-shell .contact-form,
html[lang="en"] #contact-form-shell .contact-form {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  user-select: none !important;
}
html[lang="pl"] #contact-form-language-lock,
html[lang="en"] #contact-form-language-lock {
  display: grid !important;
}
html[lang="de"] #contact-form-language-lock {
  display: none !important;
}
.contact-form-language-lock {
  z-index: 20;
  min-height: 720px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #d8e3df;
  box-shadow: 0 14px 38px rgba(16,73,67,.08);
}

@media (max-width: 600px) {
  .practice-announcement-banner .practice-status-banner__inner { min-height: 76px; }
  .practice-announcement-banner__actions { align-items: stretch; }
  .practice-announcement-banner .practice-status-banner__action { width: 100%; justify-content: center; }
  .contact-form-language-lock { min-height: 650px; }
}



/* ========================================================================== 
   V5.1 – stały komunikat, niezależne aktualności i ulepszony PraxisBot
   ========================================================================== */
.permanent-notice-section {
  padding: 42px 0 58px !important;
  background: #ffffff !important;
  border-top: 1px solid #e2e9e7 !important;
  border-bottom: 1px solid #e2e9e7 !important;
}
.permanent-notice {
  color: #173d39;
  background: #f3f8f6;
  border: 1px solid #ccded9;
  box-shadow: 0 14px 38px rgba(16,73,67,.06);
}
.permanent-notice .notice__icon {
  color: #17645b;
  background: #ffffff;
  border: 1px solid #d9e6e2;
}
.permanent-notice .section-kicker { color: #17645b; }
.permanent-notice h2 { color: #173d39; }
.permanent-notice p { color: #58706b; }
.permanent-notice .text-link { color: #145c55; }

.chat-widget__tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
}
.chat-reset,
.chat-close {
  position: static;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 11px;
  cursor: pointer;
}
.chat-reset:hover,
.chat-close:hover { background: rgba(255,255,255,.20); }
.chat-reset svg { width: 18px; height: 18px; }
.chat-quick-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: 132px;
  overflow-y: auto;
}
.chat-quick-actions button {
  min-height: 38px;
  white-space: normal;
  line-height: 1.2;
}
.chat-message__bubble { white-space: pre-line; }

@media (max-width: 600px) {
  .permanent-notice-section { padding: 28px 0 38px !important; }
  .permanent-notice .text-link { margin-left: 0; }
  .chat-quick-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 170px; }
}

/* ========================================================================== 
   V5.2 – ikony telefonu, podstrona aktualności i blokada formularza
   ========================================================================== */
.phone-link-with-icon {
  display: inline-flex !important;
  align-items: center;
  gap: .55rem;
}
.phone-link-with-icon > svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  fill: currentColor;
}
.mobile-nav-footer .phone-link-with-icon > span {
  display: flex;
  flex-direction: column;
}
.announcement-sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
}
.announcement-side-card .phone-link-with-icon {
  color: var(--green-900);
  font-weight: 800;
}
.announcement-side-card .button svg {
  width: 1rem;
  height: 1rem;
}
/* W DE formularz zawsze ma być dostępny. PL i EN zasłania skrypt. */
html[lang="de"] .contact-form-shell { position: relative; }
html[lang="de"] .contact-form-shell .contact-form { opacity: 1; visibility: visible; pointer-events: auto; }
html[lang="de"] .contact-form-language-lock { display: none !important; }

@media (max-width: 720px) {
  .announcement-sidebar { grid-template-columns: 1fr; }
  .topbar__links .phone-link-with-icon { white-space: nowrap; }
}


/* ========================================================================== 
   V5.3 – pacjenci, profilaktyka i szczepienia sezonowe
   ========================================================================== */
.patient-health {
  background: #f3f7f5;
  border-top: 1px solid #dce6e2;
  border-bottom: 1px solid #dce6e2;
}
.patient-health[hidden], .patient-health-card[hidden] { display: none !important; }
.patient-health__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.patient-health-card {
  min-height: 330px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #d7e3df;
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(16,73,67,.06);
}
.patient-health-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.patient-health-card__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #145c55;
  background: #e6f2ee;
  border-radius: 15px;
}
.patient-health-card__icon svg { width: 25px; height: 25px; fill: currentColor; }
.patient-health-card__status {
  padding: 6px 10px;
  color: #145c55;
  background: #edf6f3;
  border: 1px solid #d3e5df;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
}
.patient-health-card--patients[data-status="accepting"] .patient-health-card__status { color: #16624f; background: #e4f4ed; }
.patient-health-card--patients[data-status="limited"] .patient-health-card__status { color: #806022; background: #f7f0dd; border-color: #e8dab4; }
.patient-health-card--patients[data-status="closed"] .patient-health-card__status { color: #82453e; background: #f8e9e6; border-color: #e9cbc5; }
.patient-health-card h3 {
  margin: 24px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.2;
}
.patient-health-card > p { margin: 0; color: #60736f; }
.patient-health-card__action { margin-top: auto; padding-top: 26px; }
.patient-health-card__list {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}
.patient-health-card__list li {
  position: relative;
  padding-left: 25px;
  color: #405652;
  font-size: .9rem;
}
.patient-health-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #197267;
  font-weight: 900;
}
@media (max-width: 900px) { .patient-health__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .patient-health__grid { grid-template-columns: 1fr; } .patient-health-card { min-height: 0; } }

/* ========================================================================== 
   V5.4 – rozbudowany PraxisBot bez AI
   ========================================================================== */
.chat-widget {
  width: min(430px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 105px));
}
.chat-messages {
  min-height: 180px;
  max-height: 340px;
}
.chat-message__actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.chat-message__actions .chat-message__action {
  margin: 0;
  text-align: center;
  justify-content: center;
}
.chat-message__actions .chat-message__action:first-child {
  color: #fff;
  background: var(--green-800);
  border-color: var(--green-800);
}
.chat-message__actions .chat-message__action:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgba(16,73,67,.12);
}
.chat-quick-actions {
  align-content: start;
  padding: 12px 13px;
  max-height: 155px;
  overflow-y: auto;
  overflow-x: hidden;
}
.chat-quick-actions button {
  width: 100%;
  min-height: 40px;
  padding: 8px 9px;
  border-radius: 11px;
  text-align: center;
}
.chat-quick-actions button.is-more {
  color: #4e6661;
  background: #fff;
  border-style: dashed;
}
.chat-quick-actions button.is-more:hover {
  color: #fff;
  background: var(--green-800);
  border-style: solid;
}
.chat-input-form input {
  font-size: .84rem;
}

@media (max-width: 600px) {
  .chat-widget {
    right: 10px;
    bottom: 76px;
    width: calc(100vw - 20px);
    max-height: calc(100vh - 92px);
  }
  .chat-messages { max-height: 38vh; }
  .chat-quick-actions { max-height: 172px; }
}


/* V5.5 — czytelna walidacja formularza bez dymków przeglądarki */
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  color: #5f211b;
  background: #fff8f7;
  border-color: #c9473b;
  box-shadow: 0 0 0 4px rgba(201, 71, 59, .10);
}

.form-consent.has-error {
  padding: 12px 14px;
  color: #7b2d25;
  background: #fff4f2;
  border: 1px solid #e4a39b;
  border-radius: 12px;
}

.form-consent.has-error input {
  outline: 3px solid rgba(201, 71, 59, .17);
  outline-offset: 2px;
}

.form-status {
  margin: 18px 0 0;
}

.form-status:focus {
  outline: none;
}

.form-status--validation {
  position: relative;
  padding: 16px 18px 16px 46px;
  color: #7a2922;
  background: #fff4f2;
  border-color: #e5a39b;
  box-shadow: 0 10px 28px rgba(122, 41, 34, .08);
}

.form-status--validation::before {
  content: "!";
  position: absolute;
  top: 15px;
  left: 16px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #b83d33;
  border-radius: 50%;
  font-size: .76rem;
  font-weight: 900;
}

.form-status__title {
  display: block;
  margin-bottom: 7px;
  font-size: .9rem;
  font-weight: 850;
}

.form-status__list {
  margin: 0;
  padding-left: 19px;
  display: grid;
  gap: 4px;
  font-size: .82rem;
  font-weight: 650;
}

@media (max-width: 620px) {
  .form-status--validation {
    padding: 15px 15px 15px 43px;
  }
}


/* ========================================================================== 
   V5.6 – stabilny fokus formularza i własne menu wyboru
   ========================================================================== */
.custom-select {
  position: relative;
  width: 100%;
}

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

.custom-select__trigger {
  width: 100%;
  min-height: 51px;
  padding: 12px 14px 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--ink);
  background: #fbfcfb;
  border: 1px solid #d5e1de;
  border-radius: 12px;
  outline: none;
  font: inherit;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.custom-select__trigger svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
  color: #5f7772;
  transition: transform .2s ease;
}

.custom-select__trigger:hover {
  border-color: #b8cec8;
}

.custom-select__trigger:focus-visible,
.custom-select.is-open .custom-select__trigger {
  background: #fff;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(36,133,121,.11);
}

.custom-select.is-open .custom-select__trigger svg {
  transform: rotate(180deg);
}

.custom-select__menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 310px;
  padding: 7px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #cbdcd7;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(16,73,67,.16);
}

.custom-select__menu[hidden] {
  display: none !important;
}

.custom-select__option {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  color: #29413d;
  background: transparent;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.custom-select__option:hover,
.custom-select__option:focus-visible {
  color: #0f514b;
  background: #edf6f3;
  outline: none;
}

.custom-select__option.is-selected {
  position: relative;
  padding-right: 38px;
  color: #fff;
  background: var(--green-800);
}

.custom-select__option.is-selected::after {
  content: "✓";
  position: absolute;
  right: 14px;
  font-weight: 900;
}

.form-field.has-error .custom-select__trigger {
  color: #5f211b;
  background: #fff8f7;
  border-color: #c9473b;
  box-shadow: 0 0 0 4px rgba(201, 71, 59, .10);
}

.contact-form[aria-hidden="true"] .custom-select__menu {
  display: none !important;
}

@media (max-width: 620px) {
  .custom-select__menu {
    max-height: 260px;
  }
}

/* V5.7 – Praxis-Newsletter */
.newsletter-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(92, 184, 166, .13), transparent 28%),
    linear-gradient(180deg, #f5faf8 0%, #edf6f3 100%);
  border-top: 1px solid #dce9e5;
  border-bottom: 1px solid #dce9e5;
}
.newsletter-section__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}
.newsletter-section__content h2 {
  max-width: 720px;
  margin: 10px 0 18px;
}
.newsletter-section__lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}
.newsletter-benefits {
  margin: 26px 0 20px;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}
.newsletter-benefits li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #244842;
  font-weight: 700;
}
.newsletter-benefits li > span:first-child {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--green-800);
  border-radius: 50%;
  font-size: .8rem;
}
.newsletter-section__note {
  max-width: 650px;
  margin: 0;
  padding: 14px 16px;
  color: #49655f;
  background: rgba(255,255,255,.72);
  border: 1px solid #d3e5e0;
  border-radius: 13px;
  font-size: .86rem;
  line-height: 1.55;
}
.newsletter-form {
  position: relative;
  padding: clamp(24px, 4vw, 38px);
  display: grid;
  gap: 18px;
  background: #fff;
  border: 1px solid #cfe0dc;
  border-radius: 25px;
  box-shadow: 0 24px 65px rgba(17, 78, 70, .12);
}
.newsletter-form h3 {
  margin: 6px 0 0;
  font-family: Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 500;
}
.newsletter-topics {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border: 0;
}
.newsletter-topics legend {
  width: 100%;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
}
.newsletter-topics label {
  min-height: 82px;
  padding: 13px 14px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: #f7faf9;
  border: 1px solid #d8e4e1;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.newsletter-topics label:hover {
  transform: translateY(-1px);
  background: #f1f8f6;
  border-color: #a9cbc3;
}
.newsletter-topics input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--green-800);
}
.newsletter-topics strong,
.newsletter-topics small {
  display: block;
}
.newsletter-topics strong {
  color: #1d403a;
  font-size: .9rem;
}
.newsletter-topics small {
  margin-top: 4px;
  color: #647b76;
  font-size: .73rem;
  line-height: 1.35;
}
.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #566d68;
  font-size: .78rem;
  line-height: 1.55;
  cursor: pointer;
}
.newsletter-consent input {
  width: 19px;
  height: 19px;
  margin-top: 1px;
  flex: 0 0 auto;
  accent-color: var(--green-800);
}
.newsletter-consent a { color: var(--green-800); font-weight: 800; }
.newsletter-submit {
  width: 100%;
  justify-content: center;
}
.newsletter-submit svg { width: 20px; height: 20px; fill: currentColor; }
.newsletter-form__fineprint {
  margin: -4px 0 0;
  color: #6a807b;
  font-size: .72rem;
  text-align: center;
}
.newsletter-status {
  padding: 13px 15px;
  border-radius: 12px;
  font-size: .84rem;
  font-weight: 750;
  line-height: 1.5;
}
.newsletter-status--success {
  color: #155c50;
  background: #e7f6f1;
  border: 1px solid #b9dfd4;
}
.newsletter-status--error {
  color: #893b33;
  background: #fff0ee;
  border: 1px solid #e8bdb7;
}
.newsletter-page { background: #eff6f4; }
.newsletter-manage { min-height: calc(100vh - 92px); padding: 80px 0; display: grid; place-items: center; }
.newsletter-manage__inner { display: grid; place-items: center; }
.newsletter-manage__card {
  width: min(100%, 720px);
  padding: clamp(28px, 6vw, 54px);
  text-align: center;
  background: #fff;
  border: 1px solid #cfe0dc;
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(17,78,70,.13);
}
.newsletter-manage__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green-800);
  border-radius: 20px;
  font-size: 1.65rem;
}
.newsletter-manage__card h1 { margin: 10px 0 14px; font-size: clamp(2rem, 5vw, 3.2rem); }
.newsletter-manage__card > p { color: var(--muted); line-height: 1.7; }
.newsletter-manage__links,
.newsletter-manage__actions { margin-top: 24px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.newsletter-preferences-list { margin-top: 24px; display: grid; gap: 10px; text-align: left; }
.newsletter-preferences-list label { padding: 14px 16px; display: flex; gap: 12px; background: #f4f8f7; border: 1px solid #d9e5e2; border-radius: 13px; cursor: pointer; }
.newsletter-preferences-list input { width: 19px; height: 19px; accent-color: var(--green-800); }
.newsletter-unsubscribe-form { margin-top: 12px; }

@media (max-width: 920px) {
  .newsletter-section__grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .newsletter-topics { grid-template-columns: 1fr; }
  .newsletter-form { padding: 22px 18px; border-radius: 20px; }
  .newsletter-manage { padding: 40px 0; }
  .newsletter-manage__card { padding: 28px 20px; border-radius: 22px; }
}


.newsletter-status__title {
  display: block;
  margin-bottom: 6px;
}
.newsletter-status__list {
  margin: 0;
  padding-left: 20px;
  font-weight: 600;
}
.newsletter-status--validation {
  scroll-margin-top: 130px;
}
.newsletter-form .form-field.has-error input {
  color: #5f211b;
  background: #fff8f7;
  border-color: #c9473b;
  box-shadow: 0 0 0 4px rgba(201, 71, 59, .10);
}
.newsletter-topics.has-error {
  padding: 10px;
  background: #fff8f7;
  border: 1px solid #c9473b;
  border-radius: 16px;
}
.newsletter-topics.has-error legend {
  color: #8b3028;
}
.newsletter-consent.has-error {
  padding: 10px 12px;
  color: #7d3029;
  background: #fff8f7;
  border: 1px solid #c9473b;
  border-radius: 12px;
}

/* V5.8 – newsletter jako okno przy wejściu */
body.newsletter-modal-open {
  overflow: hidden;
}
.newsletter-modal[hidden] {
  display: none !important;
}
.newsletter-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}
.newsletter-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.newsletter-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 35, 31, .68);
  backdrop-filter: blur(7px);
  cursor: pointer;
}
.newsletter-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(430px, 1.14fr);
  overflow: auto;
  overscroll-behavior: contain;
  background: #f2f8f6;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 28px;
  box-shadow: 0 34px 110px rgba(4, 34, 29, .34);
  transform: translateY(18px) scale(.985);
  transition: transform .22s ease;
}
.newsletter-modal.is-open .newsletter-modal__dialog {
  transform: translateY(0) scale(1);
}
.newsletter-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #173f39;
  background: rgba(255,255,255,.92);
  border: 1px solid #d5e3df;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(17, 78, 70, .12);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.newsletter-modal__close:hover {
  transform: rotate(4deg) scale(1.05);
  background: #fff;
}
.newsletter-modal__close:focus-visible {
  outline: 3px solid rgba(20, 92, 85, .24);
  outline-offset: 3px;
}
.newsletter-modal__close svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}
.newsletter-modal__intro {
  padding: clamp(34px, 5vw, 62px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 18% 12%, rgba(115, 204, 184, .18), transparent 31%),
    linear-gradient(145deg, #eaf6f2 0%, #f7fbfa 100%);
}
.newsletter-modal__icon {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green-800);
  border-radius: 18px;
  box-shadow: 0 13px 30px rgba(20, 92, 85, .22);
}
.newsletter-modal__icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}
.newsletter-modal__intro h2 {
  margin: 10px 0 16px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
}
.newsletter-modal__intro > p:not(.newsletter-modal__note) {
  margin: 0;
  color: #516d67;
  line-height: 1.68;
}
.newsletter-modal__note {
  margin: 4px 0 0;
  padding: 13px 15px;
  color: #49655f;
  background: rgba(255,255,255,.74);
  border: 1px solid #d2e5df;
  border-radius: 13px;
  font-size: .8rem;
  line-height: 1.5;
}
.newsletter-form--modal {
  min-width: 0;
  align-content: center;
  padding: clamp(32px, 5vw, 56px);
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.newsletter-form--modal h3 {
  padding-right: 42px;
}
.newsletter-form--modal .newsletter-topics label {
  min-height: 74px;
}
#newsletter-footer-link[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .newsletter-modal__dialog {
    grid-template-columns: 1fr;
    width: min(720px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
  }
  .newsletter-modal__intro {
    padding: 34px 28px 26px;
  }
  .newsletter-modal__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
  }
  .newsletter-modal__intro h2 {
    max-width: 620px;
    font-size: clamp(1.9rem, 7vw, 2.7rem);
  }
  .newsletter-modal__intro .newsletter-benefits {
    grid-template-columns: 1fr 1fr;
    margin: 18px 0 14px;
  }
  .newsletter-form--modal {
    padding: 28px;
  }
}

@media (max-width: 620px) {
  .newsletter-modal {
    padding: 6px;
    align-items: end;
  }
  .newsletter-modal__dialog {
    width: 100%;
    max-height: calc(100dvh - 8px);
    border-radius: 23px 23px 12px 12px;
  }
  .newsletter-modal__close {
    top: 10px;
    right: 10px;
    width: 39px;
    height: 39px;
  }
  .newsletter-modal__intro {
    padding: 26px 20px 20px;
  }
  .newsletter-modal__intro h2 {
    padding-right: 38px;
    font-size: 1.9rem;
  }
  .newsletter-modal__intro > p:not(.newsletter-modal__note) {
    font-size: .92rem;
  }
  .newsletter-modal__intro .newsletter-benefits {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 15px 0 12px;
  }
  .newsletter-modal__intro .newsletter-benefits li {
    font-size: .86rem;
  }
  .newsletter-modal__note {
    font-size: .74rem;
  }
  .newsletter-form--modal {
    padding: 24px 18px 28px;
    gap: 15px;
  }
  .newsletter-form--modal h3 {
    padding-right: 0;
    font-size: 1.5rem;
  }
  .newsletter-form--modal .newsletter-topics {
    grid-template-columns: 1fr;
  }
  .newsletter-form--modal .newsletter-topics label {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .newsletter-modal,
  .newsletter-modal__dialog {
    transition: none;
  }
}


/* V5.9 — ukryte pole antyspamowe newslettera */
.form-honeypot,
.newsletter-form .form-honeypot,
.newsletter-form--modal .form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-honeypot input {
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* V6.3 — subtelny znak praktyki ze zdjęciem stetoskopu */
.brand__mark--photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #dbe9ed;
  border: 2px solid rgba(20,92,85,.16);
  border-radius: 15px;
  box-shadow: 0 8px 22px rgba(20,92,85,.18);
  isolation: isolate;
}

.brand__mark--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(9,86,78,.12), transparent 58%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
  border-radius: inherit;
}

.brand__mark--photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 72%;
  filter: saturate(.76) contrast(1.06) brightness(.97);
  transform: scale(1.05);
}

.brand--footer .brand__mark--photo {
  background: #dbe9ed;
  border-color: rgba(255,255,255,.34);
  box-shadow: 0 9px 26px rgba(0,0,0,.18);
}

@media (max-width: 600px) {
  .brand__mark--photo {
    border-radius: 13px;
  }
}


/* V6.4 — zdjęcie stetoskopu w ilustracji hero */
.medical-illustration__cross--photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: transparent;
  background: #dbe9ed;
  border: 2px solid rgba(20,92,85,.16);
  box-shadow: 0 18px 40px rgba(20,92,85,.18);
  isolation: isolate;
}

.medical-illustration__cross--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(9,86,78,.12), transparent 58%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
  border-radius: inherit;
}

.medical-illustration__cross--photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 72%;
  filter: saturate(.76) contrast(1.06) brightness(.97);
  transform: scale(1.05);
}
