@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #03AFB3;
  --ink-strong: #028388;
  --navy: #028388;
  --text: #123047;
  --sand: #e5f6f7;
  --sand-deep: #c5ebee;
  --line: #028388;
  --ink-rgb: 2, 131, 136;
  --heading: #006266;
  --red: #03AFB3;
  --muted: #123047;
  --wrap: 1600px;
  --sans: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  background: #fff;
  scroll-behavior: auto;
  scrollbar-gutter: stable;
}

@view-transition {
  navigation: auto;
}

::view-transition-group(root) {
  animation-duration: 0s;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: #fff;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
}

main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink-strong);
  color: #fff;
  padding: 0.45rem 0.7rem;
  z-index: 30;
}

.skip:focus { top: 0.6rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}

.bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.5rem;
  min-height: 86px;
}

h1, h2, h3 { color: var(--heading); }

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: block;
  flex: none;
}

.brand-name {
  display: block;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.brand-place {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bar-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.12rem;
  text-align: right;
}

.bar-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-strong);
  color: #fff;
  border-radius: 999px;
  padding: 0.72rem 1.05rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.15;
}

.bar-phone:hover { background: #016a6e; color: #fff; }

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.7rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
}

.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.28em; }

.site-nav a:hover { text-decoration: underline; text-underline-offset: 0.28em; }

.btn-pill,
.btn-light,
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.btn-pill {
  background: var(--ink-strong);
  color: #fff;
  padding: 0.95rem 1.35rem;
  font-size: 0.78rem;
  text-align: center;
  min-width: 9.5rem;
}

.btn-pill:hover { background: #016a6e; color: #fff; }

.btn-light {
  background: #fff;
  color: var(--ink);
  padding: 0.85rem 1.15rem;
  font-size: 0.74rem;
  border: 0;
}

.btn-light:hover { background: var(--sand); }

.btn-line {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 0.8rem 1.15rem;
  font-size: 0.74rem;
}

.btn-line:hover { background: var(--sand); }

.menu-btn {
  display: none;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
}

.announce {
  background: transparent;
}

.announce .wrap {
  display: flex;
  justify-content: flex-start;
}

.announce p {
  margin: 0 0 0.55rem;
  padding: 0.48rem 0.95rem;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: var(--sand);
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
  text-align: left;
}

.announce.is-alert p {
  background: var(--navy);
  color: #fff;
}

.section-lead {
  margin: -0.55rem 0 1rem;
  max-width: 40rem;
}

.notice {
  background: var(--sand);
  border-radius: 22px;
  padding: 1.15rem 1.25rem 1.2rem;
}

.notice h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.notice p { margin: 0.35rem 0 0; }

.proc-when {
  display: inline-block;
  width: max-content;
  margin-top: 0.55rem;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

button.btn-pill {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-page fieldset {
  border: 1.5px solid var(--navy);
  border-radius: 18px;
  margin: 0 0 1rem;
  padding: 0.8rem 1rem 1rem;
}

.status-page legend { font-weight: 800; color: var(--navy); padding: 0 0.3rem; }

.status-page label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.45rem 0;
  font-weight: 700;
}

.status-page input[type="text"],
.status-page input[type="date"],
.status-page input[type="password"] {
  font: inherit;
  border: 1.5px solid var(--navy);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  min-width: 0;
}

.status-now {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
}

#status-msg { min-height: 1.4em; font-weight: 700; }

.home-hero { padding: 0.35rem 0 0.4rem; }

.home-hero-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 520px;
  background: #fff;
}

.home-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(var(--ink-rgb), 0.86) 0%, rgba(var(--ink-rgb), 0.62) 32%, rgba(var(--ink-rgb), 0.12) 58%, transparent 76%);
}

.home-hero-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 64% 32%;
}

.home-hero-copy {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: clamp(1.5rem, calc(var(--vw, 1vw) * 4), 3.5rem);
  max-width: 38rem;
  color: #fff;
}

.home-hero-copy h1 {
  margin: 0 0 1.4rem;
  color: #fff;
  font-family: Inter, Manrope, sans-serif;
  font-size: clamp(2.5rem, calc(var(--vw, 1vw) * 5), 4.15rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-transform: uppercase;
}

.hero-name,
.hero-place { display: block; }

.hero-name { font-weight: 700; }

.hero-place {
  margin-top: 0.08em;
  font-weight: 200;
  font-size: 0.78em;
  letter-spacing: -0.03em;
}

.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.7rem 0 0.4rem;
  container-type: inline-size;
}

.points article {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.points svg { width: 28px; height: 28px; flex: none; color: var(--ink); }

.point-acute,
.point-book { justify-self: start; max-width: 100%; }

.point-acute { width: 242px; translate: calc(137.7px * (100cqi / 1600px)) 3.6px; }

.point-acute-label { translate: 0.2px 0; }

.point-book { width: 221px; translate: calc((100cqi - 48px) / 3 - 221px) 0; }

.today-line {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.section { padding: 1.8rem 0; }

.section h2,
.block-title {
  margin: 0 0 1.15rem;
  font-size: clamp(2.2rem, calc(var(--vw, 1vw) * 4), 3.35rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.section .notice h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h3.block-title {
  margin: 1.6rem 0 0.35rem;
  font-size: clamp(1.45rem, calc(var(--vw, 1vw) * 2.1), 1.9rem);
}

.section > h2 + h3.block-title { margin-top: 0; }

.proc-group:first-child h3.block-title { margin-top: 0; }

.procs .proc-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
  align-items: stretch;
}

.procs .proc-group:first-child {
  display: flex;
  flex-direction: column;
}

.procs .proc-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin: 0 0 0.85rem;
}

.procs h3.block-title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.procs .section-lead {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
}

.procs .proc-grid {
  grid-template-columns: 1fr;
  margin: 0;
}

.procs .proc-team {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid #d5e4e6;
  container-type: size;
}

.procs .team-row {
  flex: 1;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 1.25rem 1.6rem;
  margin: 0;
}

.procs .team-row article {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.procs .team-face {
  width: min(100%, calc(100cqh - 8.8rem));
  aspect-ratio: 1;
  height: auto;
  margin-bottom: 0.7rem;
}

.procs .team-more {
  align-self: flex-start;
  margin-top: 0.85rem;
  min-width: 0;
  padding: 0.72rem 1.2rem;
}

.sand-grid,
.proc-grid {
  display: grid;
  gap: 1rem;
}

.sand-grid { grid-template-columns: repeat(3, 1fr); }

.home-split {
  display: grid;
  grid-template-columns: 30rem minmax(0, 1fr);
  column-gap: 1.75rem;
  align-items: stretch;
}

.home-hours .hours-box,
.home-hours .hours,
.home-hours .zastup {
  width: 100%;
  max-width: none;
}

.home-hours .hours-box { margin-bottom: 0; }

.home-care {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-care .sand-grid {
  flex: 1;
  grid-template-rows: 1fr;
  align-items: stretch;
}

.home-care .sand-card { height: 100%; }

.home-care .sand-card h3 { margin-top: auto; }

.sand-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
  background: var(--sand);
  border-radius: 26px;
  padding: 1.15rem 1.15rem 1.05rem;
  text-decoration: none;
  color: var(--navy);
}

.sand-card:hover { background: #d2eef0; }

.icon-badge {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}

.icon-badge svg { width: 34px; height: 34px; }

.sand-card .icon-badge {
  width: 52px;
  height: 52px;
  margin-bottom: 0.8rem;
  background: var(--navy);
}

.sand-card .icon-badge svg { width: 24px; height: 24px; }

.sand-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.home-care .facts { margin-top: 1rem; }

.facts-teaser { display: none; }

.facts-dialog {
  display: block;
  position: static;
  width: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  overflow: visible;
}

.facts-dialog:not([open]) { display: block; }

.facts-dialog .gallery-close { display: none; }

.procs .proc-team-slot { display: none; }

.care-facts { margin: 2.2rem 0 2.4rem; }

#zakroky { padding-top: 2rem; }

.more {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  font-weight: 600;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  margin-top: 0.35rem;
  min-height: 0;
  padding: 1.45rem 1.4rem 1.25rem;
  background: var(--sand);
}

.page-hero.tan { background: var(--sand-deep); }

.page-hero .waves { display: none; }

.page-hero .icon-badge {
  position: relative;
  width: 52px;
  height: 52px;
  margin-bottom: 0.65rem;
}

.page-hero .icon-badge svg { width: 24px; height: 24px; }

.page-hero h1 {
  position: relative;
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2rem, calc(var(--vw, 1vw) * 3.6), 2.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.prose {
  max-width: 44rem;
  padding: 2.4rem 0 0.5rem;
  font-size: 1.05rem;
}

.prose h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.2rem, calc(var(--vw, 1vw) * 4), 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.prose h2 {
  margin: 1.7rem 0 0.45rem;
  font-size: 1.28rem;
  font-weight: 700;
}

.prose p { margin: 0 0 1rem; }

.prose ul { margin: 0 0 1rem; padding-left: 1.2rem; }

.prose li { margin: 0.28rem 0; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
}

.prose th,
.prose td {
  text-align: left;
  padding: 0.65rem 0.7rem;
  border-bottom: 1px solid #e4e4e4;
  vertical-align: top;
}

.prose th { color: var(--navy); font-weight: 700; }

.proc-grid { grid-template-columns: repeat(4, 1fr); margin: 0.5rem 0 2rem; }

.proc {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 158px;
  border: 1.5px solid var(--navy);
  border-radius: 18px;
  padding: 1rem 1rem 0.85rem;
  text-decoration: none;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.proc:hover { background: #f3fbfb; }

.arrow {
  align-self: flex-end;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  margin-top: 1rem;
}

.arrow svg { width: 14px; height: 14px; }

.case {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.35rem;
  margin-bottom: 2.2rem;
}

.case-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.case-lead {
  max-width: 42rem;
  margin: 0;
}

.case p { margin: 0; }

.case-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.case-points li {
  background: var(--sand);
  border-radius: 22px;
  padding: 1.15rem 1.2rem 1.2rem;
}

.case-points strong {
  display: block;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
  color: var(--navy);
}

.case-points span { font-weight: 500; }

.case-photos {
  display: flex;
  flex: none;
  gap: 0.55rem;
  margin-left: auto;
}

.case-photos img {
  width: 112px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
}

.fee {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-weight: 600;
}

.fee b {
  font-size: 2.5rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink-strong);
}

.leaflet {
  margin: 0.5rem 0 2rem;
  max-width: 420px;
}

.leaflet img {
  border-radius: 18px;
  border: 1px solid #e6e6e6;
}

.leaflet figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}

#hodiny { scroll-margin-top: 6.5rem; }

.hours-page { padding-top: 2.75rem; }

.hours-page .hours-box,
.hours-page .hours,
.hours-page .hours-facts,
.hours-page .facts,
.hours-page .zastup {
  width: 100%;
  max-width: none;
}

.hours-box {
  width: max-content;
  max-width: 100%;
  margin: 0.2rem 0 1.6rem;
  padding: 0.35rem 0.35rem 0.45rem;
  background: #fff;
  border: 1.5px solid var(--navy);
  border-radius: 22px;
  overflow: hidden;
}

.hours {
  width: max-content;
  max-width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.hours th,
.hours td {
  text-align: left;
  padding: 0.68rem 1.15rem;
  border-bottom: 1px solid var(--sand-deep);
  font-weight: 500;
  white-space: nowrap;
}

.hours tr:last-child th,
.hours tr:last-child td { border-bottom: 0; }

.hours thead th {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

.hours tbody th { font-weight: 700; }

.hours .closed { color: #5a5a5a; }

.hours tr.is-today th,
.hours tr.is-today td { background: var(--sand); }

.today-mark {
  margin-left: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: stretch;
  padding: 2.2rem 0 2.5rem;
}

.split h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.7rem, calc(var(--vw, 1vw) * 5), 4.3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.phone-block {
  margin: 1.3rem 0 0.3rem;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--navy);
}

.phone-block:hover { text-decoration: underline; }

.mail-line {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
}

.map-card {
  border: 1.5px solid var(--navy);
  border-radius: 26px;
  min-height: 100%;
  background: var(--sand);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.map-card iframe {
  width: 100%;
  flex: 1;
  min-height: 380px;
  border: 0;
}

.map-card .btn-pill {
  align-self: flex-start;
  margin: 0.9rem 1rem 1rem;
}

.doctors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.doctor {
  border-radius: 24px;
  background: var(--sand);
  padding: 1.5rem 1.35rem 1.3rem;
  min-height: 180px;
}

.doctor h2 {
  margin: 0 0 0.35rem;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.doctor p { margin: 0.2rem 0; }

.steps {
  list-style: none;
  margin: 1.2rem 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.step-no {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink-strong);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.step-no svg { width: 22px; height: 22px; }

.steps h2 {
  margin: 0.15rem 0 0.2rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.steps p { margin: 0; }

.site-footer {
  border-top: 1px solid #ececec;
  padding: 1.6rem 0 0;
  margin-top: auto;
}

.foot-map {
  margin-bottom: 1.4rem;
  border: 1.5px solid var(--navy);
  border-radius: 26px;
  background: var(--sand);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.foot-map .btn-pill {
  align-self: flex-start;
  margin: 0.9rem 1rem 1rem;
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
}

.foot-logo {
  width: min(280px, calc(var(--vw, 1vw) * 52));
  height: auto;
  display: block;
}

.site-footer p { margin: 0.15rem 0; }

.site-footer a { font-weight: 700; }

.foot-legal {
  margin-top: 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid #ececec;
  font-size: 0.92rem;
}

.foot-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin-top: 0.45rem;
}

.foot-legal a { color: var(--navy); }

.zastup {
  margin-top: 1.15rem;
  padding: 1rem 1.15rem;
  border: 1.5px solid var(--navy);
  border-radius: 22px;
}

.home-hours .zastup { max-width: none; }

.hours-page .notice { max-width: none; width: 100%; }

.hours-page .notice { margin-top: 1.25rem; }

.zastup h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.zastup p { margin: 0; }

.credit {
  margin-top: 1.15rem;
  padding-top: 0.7rem;
  border-top: 1px solid #ececec;
  text-align: center;
}

.credit a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.credit img {
  width: 16px;
  height: 16px;
  display: block;
}

.callbar { display: none; }

@media (max-width: 1024px) {
  .point-acute { translate: 62.6px 1.6px; }

  .point-book { translate: 134.8px 0; }

  .home-split { grid-template-columns: 1fr; row-gap: 2rem; }

  .home-care .sand-grid {
    flex: none;
    grid-template-rows: auto;
  }

  .home-care .sand-card h3 { margin-top: 0; }
}

@media (max-width: 980px) {
  .sand-grid,
  .proc-grid,
  .points,
  .doctors,
  .split { grid-template-columns: 1fr 1fr; }

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

@media (max-width: 767px) {
  .point-acute { translate: 30.1px 0.8px; }

  .point-book { translate: 64.8px 0; }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    position: relative;
    background: var(--ink-strong);
    color: #fff;
    border: 0;
    min-height: 2.7rem;
    padding: 0.55rem 0.95rem 0.55rem 0.8rem;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(3, 175, 179, 0.32);
  }

  .menu-btn::before {
    content: "";
    width: 1.05rem;
    height: 0.85rem;
    background:
      linear-gradient(#fff, #fff) 0 0 / 100% 2px no-repeat,
      linear-gradient(#fff, #fff) 0 50% / 100% 2px no-repeat,
      linear-gradient(#fff, #fff) 0 100% / 100% 2px no-repeat;
  }

  body.menu-open { overflow: hidden; }

  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(229, 246, 247, 0.58);
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
    backdrop-filter: blur(18px) saturate(1.35);
  }

  body.menu-open .site-header { z-index: 40; }

  body.menu-open .menu-btn { background: var(--navy); box-shadow: none; }

  body.menu-open .menu-btn::before {
    height: 1.05rem;
    background: linear-gradient(#fff, #fff) center / 100% 2px no-repeat;
    transform: rotate(45deg);
  }

  body.menu-open .menu-btn::after {
    content: "";
    position: absolute;
    left: 0.8rem;
    top: 50%;
    width: 1.05rem;
    height: 2px;
    margin-top: -1px;
    background: #fff;
    transform: rotate(-45deg);
  }

  .bar { grid-template-columns: 1fr auto auto; min-height: 72px; }

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

  .case-head { flex-direction: column; align-items: stretch; }

  .case-photos { margin-left: 0; }

  .case-points { grid-template-columns: 1fr; }

  .hours-box,
  .hours { width: 100%; }

  .hours th,
  .hours td { white-space: normal; padding: 0.62rem 0.7rem; }

  .bar > .btn-pill { display: none; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.4rem 1.25rem 0.9rem;
    gap: 0.15rem;
  }

  .site-nav.is-open {
    display: flex;
    position: fixed;
    z-index: 1;
    top: var(--header-h, 72px);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.15rem 1.1rem 1.5rem;
    gap: 0.7rem;
    background: transparent;
    border: 0;
    align-items: stretch;
    justify-content: flex-start;
    overflow: auto;
  }

  .site-nav.is-open a {
    display: flex;
    align-items: center;
    min-height: 3.45rem;
    padding: 0.85rem 1.15rem;
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--navy);
    background: #fff;
    border: 1.5px solid var(--navy);
    border-radius: 18px;
    text-decoration: none;
  }

  .site-nav.is-open a::after {
    content: "";
    width: 0.7rem;
    height: 0.7rem;
    margin-left: auto;
    border-radius: 50%;
    background: var(--ink);
    flex: none;
  }

  .site-nav.is-open a[aria-current="page"] {
    background: var(--ink-strong);
    color: #fff;
    border-color: var(--ink-strong);
  }

  .site-nav.is-open a[aria-current="page"]::after { background: #fff; }

  .btn-pill { min-width: 0; padding: 0.7rem 0.85rem; }

  .home-hero-media {
    min-height: 440px;
    height: auto;
    background: var(--navy);
  }

  .home-hero-media img {
    display: block;
    height: 440px;
  }

  .home-hero-copy {
    position: absolute;
    inset: 0;
    max-width: none;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    padding: 1.3rem 1.15rem 1.4rem;
    color: #fff;
  }

  .points,
  .sand-grid,
  .doctors,
  .split,
  .proc-grid { grid-template-columns: 1fr; }

  .page-hero { min-height: 0; padding: 1.5rem 1.15rem 1.3rem; }

  .page-hero .waves { display: none; }

  .callbar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    background: var(--ink-strong);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.95rem 1rem calc(0.95rem + env(safe-area-inset-bottom));
  }

  body { padding-bottom: 3.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery-track { scroll-behavior: auto; }
}

/* Custom ikonky v kartách zákroků */
.proc-ico {
  width: 40px;
  height: 40px;
  color: var(--ink);
  margin-bottom: 0.7rem;
}

.proc-ico svg { width: 100%; height: 100%; display: block; }

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

.proc .proc-label { margin-bottom: auto; }

.facts {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.6rem 2rem;
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: 1.8rem 1.7rem 1.7rem;
}

.facts h2 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: clamp(1.8rem, calc(var(--vw, 1vw) * 3), 2.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.facts p { margin: 0.45rem 0 0; color: #fff; }

.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  align-content: start;
  gap: 0.95rem;
}

.fact-list strong { display: block; color: #fff; font-size: 1.05rem; }
.fact-list span { display: block; margin-top: 0.15rem; color: #fff; }

.team-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem 3rem;
  margin-bottom: 2rem;
}

.team-face {
  width: 132px;
  height: 132px;
  margin: 0 0 0.8rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.team-row h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.team-row article > p:last-child { margin: 0.2rem 0 0; }

.member-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 34rem));
  gap: 2.4rem 4rem;
  padding: 2.2rem 0 0.6rem;
}

.member { margin: 0; }

.member .team-face {
  width: 220px;
  height: 220px;
  margin-bottom: 0.95rem;
  font-size: 2.4rem;
}

.member h2 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.member-role {
  margin: 0.35rem 0 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
}

.member-meta { margin: 0.2rem 0 0; }

.member-note {
  margin: 0.75rem 0 0;
  max-width: 36rem;
}

.member p:last-child { margin: 0.7rem 0 0; }

.place-band {
  background: var(--sand);
  margin: 1.8rem 0;
  padding: 2.4rem 0;
}

.place-band h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(2rem, calc(var(--vw, 1vw) * 3.4), 2.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.place-band p { margin: 0 0 1.1rem; max-width: 36rem; }

.place-gallery {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.gallery-track {
  display: flex;
  gap: 0.9rem;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar { display: none; }

.gallery-slide {
  flex: 0 0 calc((100% - 2.7rem) / 4);
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
}

.gallery-slide img,
.gallery-lightbox-frame img {
  width: 42%;
  height: auto;
  display: block;
}

.gallery-arrow {
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--ink-strong);
  background: #fff;
  color: var(--ink-strong);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.gallery-arrow svg { width: 1.15rem; height: 1.15rem; display: block; }

.gallery-arrow:hover { background: var(--ink-strong); color: #fff; }

.gallery-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  background: #fff;
  color: var(--ink-strong);
}

@media (max-width: 1100px) {
  .gallery-slide { flex-basis: calc((100% - 1.8rem) / 3); }
}

@media (max-width: 720px) {
  .gallery-slide { flex-basis: calc((100% - 0.9rem) / 2); }
}

@media (max-width: 480px) {
  .place-gallery { gap: 0.4rem; }
  .gallery-arrow { flex-basis: 2.35rem; width: 2.35rem; height: 2.35rem; }
  .gallery-slide { flex-basis: 100%; }
}

html:has(.gallery-lightbox[open]),
html:has(.facts-dialog[open]) { overflow: hidden; }

.gallery-lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: rgba(8, 42, 46, 0.9);
}

.gallery-lightbox::backdrop { background: transparent; }

.gallery-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink-strong);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.gallery-close svg { width: 1.15rem; height: 1.15rem; display: block; }

.gallery-close:hover { background: var(--sand); }

.gallery-lightbox .gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.gallery-lightbox-prev { left: 0.9rem; }

.gallery-lightbox-next { right: 0.9rem; }

.gallery-lightbox-frame {
  width: min(72vw, calc(78vh * 0.8));
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 720px) {
  .gallery-lightbox-frame { width: min(62vw, calc(68vh * 0.8)); }
}

.faq details { border-bottom: 1.5px solid #d5e4e6; }

.faq summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.95rem 0;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  float: right;
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1;
}

.faq details[open] summary::after { content: "–"; }

.faq details p { margin: 0 0 0.95rem; max-width: 40rem; }

.call-band { background: var(--sand); }

.call-band .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  padding: 1.7rem 0;
}

.call-band p,
.call-band a {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.7rem, calc(var(--vw, 1vw) * 3), 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.call-band a { font-weight: 800; text-decoration: underline; text-underline-offset: 0.14em; }

.hours-facts { margin-top: 1.25rem; }

@media (max-width: 800px) {
  .facts { grid-template-columns: 1fr; }
  .facts-teaser {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 0.4rem;
  }
  .facts-teaser h2 {
    margin: 0;
    font-size: clamp(1.45rem, 6vw, 1.8rem);
  }
  .facts-teaser .btn-pill { min-width: 0; flex: none; }
  .facts-dialog:not([open]) { display: none; }
  .facts-dialog[open] {
    display: flex;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 4.4rem 1rem 1.2rem;
    border: 0;
    background: rgba(8, 42, 46, 0.9);
    align-items: flex-start;
    justify-content: center;
    overflow: auto;
  }
  .facts-dialog[open] .gallery-close { display: grid; }
  .facts-dialog[open] .facts {
    width: min(100%, 32rem);
    margin: 0;
    max-height: none;
  }
  .home-care .facts-teaser { margin-top: 1rem; }
  .bar-phone { padding: 0.55rem 0.72rem; font-size: 0.72rem; }
  .procs .proc-groups { grid-template-columns: 1fr; }
  .procs .proc-team-col { display: none; }
  .procs .proc-team-slot {
    display: flex;
    margin-top: 1.6rem;
  }
  .procs .proc-team { flex: none; container-type: normal; }
  .procs .team-face { width: 132px; height: 132px; }
  .zastup { display: none; }
  .member-grid { grid-template-columns: 1fr; padding-top: 1.6rem; }
  .member .team-face { width: 160px; height: 160px; }
}

.creatool-switch {
  display: block;
  width: max-content;
  margin: 0 0 0 auto;
  border: 0;
  background: transparent;
  color: #777469;
  font: inherit;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  padding: 10px 16px 8px;
  cursor: pointer;
}

.creatool-switch:hover { color: inherit; }
