:root {
  --ink: #03AFB3;
  --sand: #e5f6f7;
  --sand-deep: #c5ebee;
  --line: #03AFB3;
  --red: #03AFB3;
  --muted: #03AFB3;
  --wrap: 1600px;
  --sans: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
}

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);
  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;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.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 {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1.1;
}

.bar-today {
  margin: 0;
  max-width: 18rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.7rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}

.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);
  color: #fff;
  padding: 0.95rem 1.35rem;
  font-size: 0.78rem;
  text-align: center;
  min-width: 9.5rem;
}

.btn-pill:hover { background: #028f92; 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(--ink);
  background: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
}

.announce {
  background: var(--sand);
  border-top: 1px solid transparent;
}

.announce p {
  margin: 0;
  padding: 0.7rem 0;
  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: #1b1b1b;
}

.home-hero-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 62% 28%;
}

.home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.78) 0%, rgba(8, 8, 8, 0.42) 38%, rgba(8, 8, 8, 0.08) 68%);
}

.home-hero-copy {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  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;
  font-size: clamp(2.5rem, calc(var(--vw, 1vw) * 5), 4.15rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.7rem 0 0.4rem;
}

.points article {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.points svg { width: 28px; height: 28px; flex: none; }

.today-line {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.section { padding: 2.6rem 0 1rem; }

.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;
}

.sand-grid,
.proc-grid {
  display: grid;
  gap: 1rem;
}

.sand-grid { grid-template-columns: repeat(3, 1fr); }

.home-split {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1.75rem;
  align-items: stretch;
}

.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;
}

.home-care .sand-card { min-height: 0; }

.sand-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 250px;
  background: var(--sand);
  border-radius: 26px;
  padding: 1.5rem 1.35rem 1.25rem;
  text-decoration: none;
  color: var(--ink);
}

.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 h3 {
  margin: auto 0 0.35rem;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.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: 230px;
  padding: 2.4rem 2.2rem 1.8rem;
  background: var(--sand);
}

.page-hero.tan { background: var(--sand-deep); }

.page-hero .waves {
  position: absolute;
  right: -4%;
  top: -20%;
  width: min(68%, 640px);
  height: 150%;
  pointer-events: none;
}

.page-hero .icon-badge { position: relative; margin-bottom: 1.1rem; }

.page-hero h1 {
  position: relative;
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.6rem, calc(var(--vw, 1vw) * 5.5), 4.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.prose {
  max-width: 44rem;
  padding: 2rem 0 0.5rem;
  font-size: 1.12rem;
}

.prose p { margin: 0 0 1rem; }

.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(--ink);
  border-radius: 18px;
  padding: 1rem 1rem 0.85rem;
  text-decoration: none;
  background: #fff;
  color: var(--ink);
  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;
}

.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;
}

.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-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(--ink);
  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: #555;
}

.hours tbody th { font-weight: 700; }

.hours .closed { color: #888; }

.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: start;
  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;
}

.phone-block:hover { text-decoration: underline; }

.mail-line {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 800;
  font-size: 1.2rem;
}

.form-card {
  border: 1.5px solid var(--ink);
  border-radius: 26px;
  padding: 1.3rem 1.25rem 1.4rem;
}

label {
  display: block;
  margin: 0.75rem 0 0.3rem;
  font-size: 0.92rem;
}

input,
textarea {
  width: 100%;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  font: inherit;
  background: #fff;
}

textarea { min-height: 120px; resize: vertical; }

.form-card button {
  margin-top: 1rem;
  border: 0;
  cursor: pointer;
  width: 100%;
}

.form-note {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.map-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  margin-bottom: 2.2rem;
  min-height: 320px;
}

.map-frame iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.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);
  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: 1rem;
}

.creatool-switch {
  display: block;
  width: max-content;
  margin: 0 0 0 auto;
  border: 0;
  background: transparent;
  color: #777469;
  font: inherit;
  font-size: 0.69rem;
  letter-spacing: 0.14em;
  line-height: 1;
  padding: 10px 0 8px 16px;
  cursor: pointer;
}

.creatool-switch:hover { color: inherit; }

.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; }

.credit {
  margin-top: 1.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid #ececec;
}

.credit a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.credit img {
  width: 28px;
  height: 28px;
  display: block;
}

.callbar { display: none; }

@media (max-width: 1024px) {
  .home-split { grid-template-columns: 1fr; row-gap: 2rem; }

  .home-care .sand-card { min-height: 220px; }
}

@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) {
  .menu-btn { display: inline-flex; }

  .bar { grid-template-columns: 1fr auto auto; min-height: 72px; }

  .bar-today { max-width: 8.5rem; font-size: 0.68rem; }

  .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; }

  .site-nav a { padding: 0.55rem 0; font-size: 1.05rem; }

  .btn-pill { min-width: 0; padding: 0.7rem 0.85rem; }

  .home-hero-media,
  .home-hero-media img { min-height: 420px; height: 420px; }

  .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 { opacity: 0.45; }

  .callbar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    background: var(--ink);
    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; }
}

/* 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%;
}

html[data-fit-small] :is(input, select, textarea) {
  font-size: 17px;
}

.proc .proc-label { margin-bottom: auto; }
