/* =========================================================
   Směr C — „Zlatý řez“
   Systém: mřížka 38,2 : 61,8 · typová škála po √φ (1,272)
   · mezery po Fibonacciho číslech · jeden radius (0)
   ========================================================= */

:root {
  /* barvy */
  --ink: #101A1E;          /* inkoustové pozadí */
  --ink-2: #15232A;        /* zvýšená plocha */
  --cream: #EEE6D7;        /* hlavní text na inkoustu */
  --cream-2: #B3AB9D;      /* sekundární text (7,8 : 1) */
  --blush: #D9A48F;        /* jediná teplá linka */
  --paper: #ECE3D2;        /* krémový pás (ceník, kontakt) */
  --paper-2: #E3D8C4;
  --on-paper: #101A1E;
  --on-paper-2: #5A554C;   /* 5,8 : 1 */
  --blush-deep: #8C4B3A;   /* akcent na krémové (5,2 : 1) */
  --line: rgba(238, 230, 215, .16);
  --line-2: rgba(238, 230, 215, .34);
  --line-paper: rgba(16, 26, 30, .16);
  --line-paper-2: rgba(16, 26, 30, .4);

  /* písmo */
  --f-display: "EB Garamond", Garamond, Georgia, serif;
  --f-text: "Jost", "Futura", system-ui, sans-serif;

  /* typová škála: 17 px × √φ^n */
  --t--1: .8125rem;   /* 13 */
  --t-0: 1.0625rem;   /* 17 */
  --t-1: 1.35rem;     /* 21,6 */
  --t-2: 1.72rem;     /* 27,5 */
  --t-3: 2.19rem;     /* 35 */
  --t-4: 2.78rem;     /* 44,5 */
  --t-5: 3.54rem;     /* 56,6 */
  --t-6: 4.5rem;      /* 72 */
  --t-7: 5.5625rem;   /* 89 */

  /* Fibonacci mezery */
  --s-1: 5px; --s-2: 8px; --s-3: 13px; --s-4: 21px; --s-5: 34px;
  --s-6: 55px; --s-7: 89px; --s-8: 144px;

  --gutter: clamp(16px, 4.45vw, 64px);
  --max: 1312px;
  --header-h: 89px;
}

[hidden] { display: none !important; }

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-text);
  font-weight: 300;
  font-size: var(--t-0);
  line-height: 1.618;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
i { font-style: italic; }

:focus-visible { outline: 2px solid var(--blush); outline-offset: 3px; }
.band--paper :focus-visible { outline-color: var(--blush-deep); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--s-3); top: -100px; z-index: 100;
  background: var(--cream); color: var(--ink); padding: var(--s-3) var(--s-4);
}
.skip:focus { top: var(--s-3); }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; flex: none; }

/* ---------- typografie ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(var(--t-4), 4.2vw, var(--t-6));
  line-height: 1.06;
  letter-spacing: -.01em;
  margin-bottom: var(--s-5);
  text-wrap: balance;
}
.h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: var(--t-2);
  line-height: 1.15;
  margin-bottom: var(--s-3);
}
.lead { font-size: var(--t-1); line-height: 1.55; color: var(--cream); max-width: 34em; }
.link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 400; text-decoration: none;
  background: linear-gradient(var(--blush), var(--blush)) 0 calc(50% + .8em) / 100% 1px no-repeat;
  transition: background-size .3s ease;
}
.link:hover { background-size: 38.2% 1px; }

/* ---------- tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  min-height: 55px; padding: 0 var(--s-5);
  font-family: var(--f-text); font-weight: 500; font-size: .9375rem; letter-spacing: .02em;
  text-decoration: none; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--sm { min-height: 44px; padding: 0 var(--s-4); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #fff8ea; }
.btn--line { border-color: var(--line-2); color: var(--cream); }
.btn--line:hover { border-color: var(--cream); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #1d2e36; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(16, 26, 30, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: var(--s-5); }

.logo { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; margin-right: auto; min-height: 44px; }
.logo__mark { width: 55px; height: 34px; flex: none; fill: none; stroke: var(--line-2); stroke-width: 1; }
.logo__mark .logo__arc { stroke: var(--blush); }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-family: var(--f-display); font-weight: 500; font-size: 1.4rem; letter-spacing: .005em; }
.logo__sub { font-size: var(--t--1); color: var(--cream-2); letter-spacing: .04em; margin-top: 3px; }

.nav__list { display: flex; gap: var(--s-5); }
.nav__list a {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none; font-weight: 400; font-size: .9375rem; color: var(--cream-2);
  transition: color .2s ease;
}
.nav__list a:hover { color: var(--cream); }
.nav__tel { display: none; }

.header__actions { display: flex; align-items: center; gap: var(--s-4); }
.header__tel {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px;
  text-decoration: none; font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.header__tel .icon { color: var(--blush); }

.burger { display: none; }

/* ---------- HERO: zlatý obdélník ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 610fr 377fr;
  aspect-ratio: 987 / 610;
  min-height: 560px;
  margin-bottom: 0;
}
.hero__text {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--s-6) var(--s-6) var(--s-6) var(--s-6);
}
.status {
  display: inline-flex; align-items: center; gap: var(--s-3); align-self: flex-start;
  margin: 0; padding: var(--s-2) var(--s-4) var(--s-2) var(--s-3);
  border: 1px solid var(--line-2);
  font-size: .875rem; font-weight: 400; letter-spacing: .02em;
  background: var(--ink);
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #9CC7A4; box-shadow: 0 0 0 3px rgba(156, 199, 164, .18); }
.status--closed .status__dot { background: var(--blush); box-shadow: 0 0 0 3px rgba(217, 164, 143, .18); }

.hero__meta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-3) var(--s-4); }
.hero__rating { display: none; }
.hero__eyebrow {
  display: flex; align-items: center; gap: var(--s-3);
  font-size: .9375rem; font-weight: 400; letter-spacing: .04em; color: var(--cream-2);
  margin-bottom: var(--s-4);
}
.hero__eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--blush); flex: none; }

.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 6.2vw, var(--t-7));
  line-height: .98;
  letter-spacing: -.018em;
  max-width: 8.6em;
  margin-bottom: var(--s-5);
  text-wrap: balance;
}
.hero__lede { font-size: 1.125rem; line-height: 1.6; color: var(--cream-2); max-width: 31em; margin-bottom: var(--s-5); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-4); }
.hero__today { font-size: .9375rem; color: var(--cream-2); margin: 0; }
.hero__today strong { font-weight: 500; color: var(--cream); }

.tiling {
  position: relative;
  display: grid;
  grid-template-columns: 89fr 55fr 233fr;
  grid-template-rows: 377fr 89fr 144fr;
  grid-template-areas:
    "ph ph ph"
    "e  g  rt"
    "phi phi rt";
  aspect-ratio: 377 / 610;
  height: 100%;
  justify-self: end;
}
.tile { position: relative; min-width: 0; min-height: 0; }
.tile--photo { grid-area: ph; overflow: hidden; background: var(--ink-2); }
.tile--photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 76% 40%;
  filter: grayscale(.5) sepia(.2) saturate(.85) contrast(1.06) brightness(.86);
}
.tile--photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16, 26, 30, 0) 55%, rgba(16, 26, 30, .45));
  mix-blend-mode: multiply;
}

.tile--rating {
  grid-area: rt;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: var(--s-5);
  text-decoration: none;
  transition: background-color .25s ease;
}
.tile--rating:hover { background: var(--ink-2); }
.rating__num {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(3.5rem, 6.2vw, var(--t-7)); line-height: .9;
  font-variant-numeric: lining-nums;
}
.rating__stars svg { width: 89px; height: 16px; fill: var(--blush); margin: var(--s-3) 0 var(--s-3); display: block; }
.rating__label { font-size: .9375rem; color: var(--cream); }
.rating__link { font-size: .875rem; color: var(--cream-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; margin-top: var(--s-1); }
.tile--rating:hover .rating__link { color: var(--cream); }

.tile--phi {
  grid-area: phi;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--s-2);
}
.phi__num {
  font-family: var(--f-display); font-weight: 400; font-style: italic;
  font-size: clamp(2rem, 3.1vw, var(--t-4)); line-height: 1;
  font-variant-numeric: lining-nums;
}
.phi__formula { font-family: var(--f-display); font-size: .9375rem; color: var(--cream-2); white-space: nowrap; }

.spiral {
  position: absolute; top: 0; left: -161.8%;
  width: 261.8%; height: 100%;
  pointer-events: none; z-index: 2; overflow: visible;
}
.spiral__grid { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.spiral__grid * { vector-effect: non-scaling-stroke; }
.spiral__curve { fill: none; stroke: var(--blush); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .8; }
.spiral__curve--a { stroke: url(#arcFade); opacity: 1; }
.spiral__labels { display: none; }

/* ---------- USP ---------- */
.usp { border-bottom: 1px solid var(--line); }
.usp__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp__item { padding: var(--s-6) var(--s-5) var(--s-6) 0; }
.usp__item + .usp__item { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.usp__title { font-family: var(--f-display); font-weight: 500; font-size: var(--t-2); line-height: 1.15; margin-bottom: var(--s-3); }
.usp__item p { color: var(--cream-2); font-size: 1rem; max-width: 22em; }

/* ---------- sekce ---------- */
.section { padding-block: var(--s-8); }
.section + .section { border-top: 1px solid var(--line); }
.band--paper { background: var(--paper); color: var(--on-paper); padding-block: var(--s-8); }
.band--paper .lead { color: var(--on-paper); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 382fr) minmax(0, 618fr);
  column-gap: var(--s-7);
  align-items: start;
}
.split--reverse { grid-template-columns: minmax(0, 618fr) minmax(0, 382fr); }
.sticky { position: sticky; top: calc(var(--header-h) + var(--s-6)); }
.sticky .lead { margin-bottom: var(--s-4); }

/* služby */
.svc { border-top: 1px solid var(--line-2); counter-reset: svc; }
.svc__row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.25fr) minmax(0, .8fr);
  column-gap: var(--s-5);
  align-items: baseline;
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line);
}
.svc__name { font-family: var(--f-display); font-weight: 500; font-size: var(--t-2); line-height: 1.15; }
.svc__desc { color: var(--cream-2); font-size: 1rem; margin: 0; }
.svc__price { text-align: right; font-size: .9375rem; margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--cream); }
.svc__price a { text-decoration: none; border-bottom: 1px solid var(--blush); }

/* přesnost */
.photo { position: relative; overflow: hidden; background: var(--ink-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5) sepia(.2) saturate(.85) contrast(1.06) brightness(.86); }
.photo--wide img { aspect-ratio: 1.618; object-position: 40% 50%; }
.photo__cap {
  position: absolute; left: 0; bottom: 0;
  padding: var(--s-3) var(--s-4);
  background: var(--ink); color: var(--cream-2); font-size: .875rem;
}
.precision__text { padding-top: var(--s-4); }
.precision__text > p { color: var(--cream-2); }
.specs { margin: var(--s-5) 0 0; border-top: 1px solid var(--line-2); }
.specs div { display: grid; grid-template-columns: 7.5em 1fr; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--f-display); font-style: italic; font-size: var(--t-1); line-height: 1.3; }
.specs dd { margin: 0; color: var(--cream-2); font-size: 1rem; align-self: center; }

/* estetika */
.aesthetic__grid {
  display: grid;
  grid-template-columns: minmax(0, 618fr) minmax(0, 382fr);
  column-gap: var(--s-7);
  align-items: center;
}
.aesthetic__phi {
  position: relative;
  margin: 0;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(7rem, 17.6vw, 16rem);
  line-height: .8; letter-spacing: -.03em;
  font-variant-numeric: lining-nums;
  padding-bottom: var(--s-6);
}
.aesthetic__num { display: block; }
.ruler {
  /* odměřená úsečka a : b = 1,618 */
  position: absolute; left: 0; right: 0; bottom: 0; height: 13px;
  background:
    linear-gradient(var(--blush), var(--blush)) 0 50% / 100% 1px no-repeat,
    linear-gradient(var(--blush), var(--blush)) 0 0 / 1px 100% no-repeat,
    linear-gradient(var(--blush), var(--blush)) 61.8% 0 / 1px 100% no-repeat,
    linear-gradient(var(--blush), var(--blush)) 100% 0 / 1px 100% no-repeat;
}
.ruler i {
  position: absolute; top: 21px; font-family: var(--f-display); font-style: italic;
  font-size: var(--t-1); line-height: 1; letter-spacing: 0; color: var(--cream-2);
}
.ruler__a { left: 30.9%; }
.ruler__b { left: 80.9%; }
.aesthetic__text > p { color: var(--cream-2); }
.aesthetic__text > .lead { color: var(--cream); }
.aesthetic__pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line-2); }
.aesthetic__pair p { color: var(--cream-2); font-size: 1rem; }
.price-tag { color: var(--cream) !important; font-weight: 400; margin-top: var(--s-3); }

/* ceník */
.price { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.price thead th {
  text-align: left; font-weight: 400; font-size: .875rem; color: var(--on-paper-2);
  padding: 0 0 var(--s-3); border-bottom: 1px solid var(--line-paper-2);
}
.price thead th:last-child { text-align: right; }
.price__group th {
  text-align: left; font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: var(--t-1); color: var(--blush-deep);
  padding: var(--s-5) 0 var(--s-2);
}
.price tbody tr:not(.price__group) th,
.price tbody td {
  padding: var(--s-4) 0; border-bottom: 1px solid var(--line-paper);
  vertical-align: baseline;
}
.price tbody tr:not(.price__group) th { text-align: left; font-weight: 400; font-size: 1.0625rem; padding-right: var(--s-5); }
.price tbody td { text-align: right; white-space: nowrap; font-family: var(--f-display); font-weight: 500; font-size: var(--t-2); line-height: 1; }
.price__note { margin-top: var(--s-5); color: var(--on-paper-2); font-size: 1rem; }

/* pro pacienty */
.split--head { align-items: end; margin-bottom: var(--s-6); }
.split--head .h2 { margin-bottom: 0; }
.split--head .lead { color: var(--cream-2); margin: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.steps__item { padding: var(--s-5) var(--s-5) var(--s-5) 0; }
.steps__item + .steps__item { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.steps__num {
  display: block; font-family: var(--f-display); font-weight: 400; font-style: italic;
  font-size: var(--t-6); line-height: 1; color: var(--blush); margin-bottom: var(--s-4);
  font-variant-numeric: lining-nums;
}
.steps__item p { color: var(--cream-2); font-size: 1rem; }
.steps__item a { color: var(--cream); text-decoration-color: var(--blush); text-underline-offset: 3px; white-space: nowrap; }

.patients__more { margin-top: var(--s-7); grid-template-columns: minmax(0, 618fr) minmax(0, 382fr); align-items: stretch; }
.acute {
  background: var(--ink-2); padding: var(--s-6);
  border-top: 1px solid var(--blush);
}
.acute__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(var(--t-3), 3.4vw, var(--t-5)); line-height: 1.05; margin-bottom: var(--s-4); }
.acute p { font-size: var(--t-1); line-height: 1.5; max-width: 26em; margin-bottom: var(--s-5); }
.kids { padding: var(--s-6) 0; border-top: 1px solid var(--line-2); }
.kids p { color: var(--cream-2); }

/* hodnocení */
.reviews__aside { display: flex; flex-direction: column; align-items: flex-start; grid-column: 1; grid-row: 1; }
.reviews .split__major { grid-column: 2; grid-row: 1; }
.reviews__score { display: flex; align-items: flex-end; gap: var(--s-4); margin-bottom: var(--s-2); }
.reviews__num {
  font-family: var(--f-display); font-weight: 400; margin: 0;
  font-size: var(--t-6); line-height: .8;
  font-variant-numeric: lining-nums;
}
.reviews__score .rating__stars svg { margin: 0 0 var(--s-2); }
.reviews__count { font-size: 1rem; margin: 0; }
.reviews__themes-title { font-family: var(--f-display); font-weight: 500; font-size: var(--t-1); line-height: 1.2; margin: var(--s-6) 0 var(--s-3); }
.themes { border-top: 1px solid var(--line-2); width: 100%; }
.themes li {
  position: relative; padding: var(--s-3) 0 var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--line); color: var(--cream-2); font-size: 1rem; line-height: 1.5;
}
.themes li::before { content: ""; position: absolute; left: 0; top: calc(var(--s-3) + .75em); width: 8px; height: 1px; background: var(--blush); }
.quotes { border-top: 1px solid var(--line-2); }
.quote {
  display: grid; grid-template-columns: minmax(0, 1fr) 8em; column-gap: var(--s-5); align-items: baseline;
  padding: var(--s-5) 0; border-bottom: 1px solid var(--line);
}
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: clamp(var(--t-2), 2.4vw, var(--t-3)); line-height: 1.25; color: var(--cream);
  max-width: 24em;
}
.quote blockquote p::before { content: "„"; }
.quote blockquote p::after { content: "“"; }
.quote__by { margin: 0; font-size: .9375rem; color: var(--cream-2); white-space: nowrap; text-align: right; }
.quote__by::before { content: "– "; color: var(--blush); }

/* tým */
.frame {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  background-color: var(--ink-2);
}
.frame__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.frame span { position: relative; z-index: 1; padding: var(--s-3) var(--s-4); font-size: .8125rem; color: var(--cream-2); background: var(--ink-2); }
.frame--lead { aspect-ratio: 1 / 1.272; }
.frame--sm { width: 89px; height: 144px; flex: none; }
.frame--sm span { padding: var(--s-1) var(--s-2); font-size: .75rem; }
.person__name { font-family: var(--f-display); font-weight: 500; font-size: var(--t-2); line-height: 1.15; }
.person__name--lead { font-size: var(--t-4); line-height: 1.05; margin-bottom: var(--s-2); }
.person__role { color: var(--blush); font-size: .9375rem; letter-spacing: .02em; margin: 0 0 var(--s-4); }
.person__bio { color: var(--cream-2); max-width: 32em; }
.crew { display: grid; grid-template-columns: 1fr 1fr; margin-top: var(--s-6); border-top: 1px solid var(--line-2); }
.crew__item { display: grid; grid-template-columns: 89px minmax(0, 1fr); column-gap: var(--s-4); align-items: start; padding: var(--s-5) var(--s-5) 0 0; }
.crew__item + .crew__item { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.crew__item p { color: var(--cream-2); font-size: 1rem; margin-top: var(--s-2); }

/* pojišťovny */
.insurers { border-top: 1px solid var(--line); }
.insurers__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); padding-block: var(--s-6); }
.insurers__title { font-family: var(--f-display); font-weight: 400; font-size: var(--t-3); line-height: 1.1; }
.insurers__list { display: flex; flex-wrap: wrap; }
.insurers__list li { display: flex; flex-direction: column; align-items: flex-start; padding: 0 var(--s-5); border-left: 1px solid var(--line); }
.ins__code { font-family: var(--f-display); font-weight: 400; font-size: var(--t-3); line-height: 1; font-variant-numeric: lining-nums; }
.ins__name { font-size: .875rem; color: var(--cream-2); margin-top: var(--s-2); }

/* kontakt */
.contact__addr { font-size: var(--t-1); line-height: 1.5; margin-bottom: var(--s-4); }
.contact__addr span { display: block; font-size: 1rem; color: var(--on-paper-2); margin-top: var(--s-2); }
.contact__tel { margin: 0 0 var(--s-1); }
.contact__tel a { font-family: var(--f-display); font-weight: 500; font-size: var(--t-4); line-height: 1.1; text-decoration: none; font-variant-numeric: lining-nums; }
.contact__mail a { color: var(--on-paper); text-decoration-color: var(--blush-deep); text-underline-offset: 4px; display: inline-flex; min-height: 44px; align-items: center; }
.contact__hours-title { margin-top: var(--s-6); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: var(--s-2) 0; border-bottom: 1px solid var(--line-paper); font-size: 1rem; }
.hours th { text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 500; color: var(--on-paper); }
.hours tr.is-today th::after { content: " · dnes"; font-weight: 400; color: var(--blush-deep); }
.hours tr[data-day="6"] td, .hours tr[data-day="0"] td { color: var(--on-paper-2); }
.note { font-size: .9375rem; color: var(--on-paper-2); margin-top: var(--s-4); }

.form { background: var(--paper-2); padding: var(--s-6); }
.form__title { font-family: var(--f-display); font-weight: 400; font-size: var(--t-4); line-height: 1.05; margin-bottom: var(--s-3); }
.form__intro { color: var(--on-paper-2); margin-bottom: var(--s-5); }
.form__intro a { color: var(--on-paper); white-space: nowrap; text-underline-offset: 3px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-5); margin-bottom: var(--s-5); }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: .875rem; font-weight: 400; color: var(--on-paper-2); }
.field__label em { font-style: normal; }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; color: var(--on-paper);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-paper-2); border-radius: 0;
  min-height: 48px; padding: var(--s-2) 0;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23101A1E' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 12px 8px; padding-right: var(--s-5);
}
.field textarea { resize: vertical; min-height: 89px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--on-paper); box-shadow: 0 1px 0 0 var(--on-paper); }
.field__error { display: none; font-size: .8125rem; color: var(--blush-deep); }
.field.is-invalid .field__error { display: block; }
.field.is-invalid input, .field.is-invalid select { border-bottom-color: var(--blush-deep); }
.form__ok { margin-top: var(--s-4); padding: var(--s-3) var(--s-4); background: var(--ink); color: var(--cream); }

.route { margin-top: var(--s-8); align-items: stretch; }
.route__photo { min-height: 377px; }
.route__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-position: 50% 62%; }
.photo--paper { background: var(--paper-2); }
.photo--paper img { filter: grayscale(.6) sepia(.25) contrast(1.02) brightness(.97); }
.route__text { display: flex; flex-direction: column; }
.route__ways { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line-paper-2); }
.route__ways p { color: var(--on-paper-2); }
.mapblock {
  margin-top: auto;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--s-4);
  min-height: 144px; padding: var(--s-5);
  border: 1px solid var(--line-paper-2);
  text-decoration: none; color: var(--on-paper);
  background-image:
    linear-gradient(to right, transparent calc(61.8% - .5px), var(--line-paper) calc(61.8% - .5px), var(--line-paper) calc(61.8% + .5px), transparent calc(61.8% + .5px));
  transition: background-color .25s ease;
}
.mapblock:hover { background-color: var(--paper-2); }
.mapblock__label { font-family: var(--f-display); font-size: var(--t-2); line-height: 1.15; }
.mapblock__cta { font-weight: 400; border-bottom: 1px solid var(--blush-deep); white-space: nowrap; }
.route__text .h2 { margin-bottom: var(--s-5); }
.route__ways { margin-bottom: var(--s-6); }

/* patička */
.footer { padding-block: var(--s-7) var(--s-5); }
.footer__inner { display: grid; grid-template-columns: 1.618fr 1fr 1fr 1fr; gap: var(--s-5); padding-bottom: var(--s-6); border-bottom: 1px solid var(--line); }
.footer__name { font-family: var(--f-display); font-weight: 500; font-size: var(--t-2); line-height: 1.1; margin-bottom: var(--s-2); }
.footer__sub, .footer__col { color: var(--cream-2); font-size: .9375rem; }
.footer__col a { color: var(--cream); text-decoration: none; display: inline-block; padding: 4px 0; }
.footer__col a:hover { text-decoration: underline; text-decoration-color: var(--blush); text-underline-offset: 4px; }
.footer__base { display: flex; justify-content: space-between; gap: var(--s-4); padding-top: var(--s-4); font-size: .875rem; color: var(--cream-2); }
.footer__formula { font-family: var(--f-display); font-size: 1rem; }

/* mobilní lišta */
.mbar { display: none; }

/* doplňky */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.pricing__ins { color: var(--on-paper-2); margin: var(--s-5) 0; max-width: 26em; }
.price tbody td.price__ins { font-family: var(--f-text); font-weight: 400; font-size: 1rem; color: var(--on-paper-2); }
.split--head .lead { max-width: 30em; }
.services .split { align-items: stretch; }
.mapblock { position: relative; grid-template-columns: minmax(0, 618fr) minmax(0, 382fr); min-height: 189px; padding: 0; background-image: none; }
.mapblock::before { content: ""; position: absolute; top: 0; bottom: 0; left: 61.8%; width: 1px; background: var(--line-paper); }
.mapblock__label { padding: var(--s-5); align-self: end; }
.mapblock__label small { display: block; font-family: var(--f-text); font-size: .9375rem; line-height: 1.5; color: var(--on-paper-2); margin-top: var(--s-2); }
.mapblock__cta { justify-self: start; align-self: end; margin: var(--s-5); }

/* =========================================================
   Responzivita
   ========================================================= */
@media (max-width: 1240px) {
  .nav__list { gap: var(--s-4); }
  /* telefon jen jako ikona, aby se vešla navigace */
  .header__tel { justify-content: center; width: 44px; border: 1px solid var(--line-2); }
  .header__tel-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  /* backdrop-filter by z hlavičky udělal containing block pro fixed menu → plné pozadí */
  .header { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--line); }
  .burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 44px; height: 44px; padding: 0 10px; background: none; border: 1px solid var(--line-2); cursor: pointer;
  }
  .burger span { display: block; height: 1px; background: var(--cream); transition: transform .25s ease; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); z-index: 49;
    background: var(--ink); padding: var(--s-6) var(--gutter);
    display: none; flex-direction: column; gap: var(--s-5);
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { font-family: var(--f-display); font-size: var(--t-3); color: var(--cream); min-height: 55px; border-bottom: 1px solid var(--line); width: 100%; }
  .nav__tel { display: inline-flex; font-family: var(--f-display); font-size: var(--t-3); color: var(--blush); text-decoration: none; min-height: 55px; align-items: center; }

  /* navigace je v menu → telefon zase celým číslem */
  .header__tel { width: auto; border: 0; }
  .header__tel-num { position: static; width: auto; height: auto; overflow: visible; clip: auto; }

  .hero { grid-template-columns: 1fr; aspect-ratio: auto; max-height: none; min-height: 0; }
  .hero__text { padding: var(--s-6) 0 var(--s-6); gap: var(--s-6); border-left: 0; }
  .tiling { width: 100%; height: auto; overflow: hidden; aspect-ratio: 377 / 610; }

  .usp__list { grid-template-columns: 1fr 1fr; }
  .usp__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .usp__item:nth-child(n+3) { border-top: 1px solid var(--line); }

  .svc__row { grid-template-columns: 1fr auto; row-gap: var(--s-2); }
  .svc__name { grid-column: 1; }
  .svc__price { grid-column: 2; grid-row: 1; }
  .svc__desc { grid-column: 1 / -1; }

  .steps { grid-template-columns: 1fr 1fr; }
  .steps__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps__item:nth-child(n+3) { border-top: 1px solid var(--line); }

  .crew { grid-template-columns: 1fr; }
  .crew__item + .crew__item { padding-left: 0; border-left: 0; }
  .crew__item { padding-bottom: var(--s-5); }
  .crew__item + .crew__item { border-top: 1px solid var(--line); }
  .insurers__inner { flex-direction: column; align-items: flex-start; }
  .insurers__list li:first-child { padding-left: 0; border-left: 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 640px) and (max-width: 1080px) {
  /* tablet: text vlevo, zlatý obdélník fotky vpravo */
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: var(--s-5); align-items: center; }
  .hero__text { padding: var(--s-6) 0; }
  .tile--rating { padding: var(--s-3) var(--s-4); }
  .rating__num { font-size: clamp(2.4rem, 5.4vw, 3.6rem); }
  .rating__stars svg { width: 70px; height: 13px; margin: var(--s-2) 0; }
  .rating__label { font-size: .8125rem; line-height: 1.35; max-width: 8em; }
  .rating__link { font-size: .8125rem; }
  .phi__num { font-size: clamp(1.5rem, 3vw, 2rem); }
  .phi__formula { font-size: .75rem; }
}

@media (max-width: 860px) {
  .split, .split--reverse, .aesthetic__grid, .patients__more { grid-template-columns: 1fr; row-gap: var(--s-6); }
  .sticky { position: static; }
  .section, .band--paper { padding-block: var(--s-7); }
  .aesthetic__phi { font-size: clamp(6.5rem, 30vw, 12rem); }
  .route { margin-top: var(--s-7); }
  .route__photo { min-height: 0; aspect-ratio: 1.618; }
  .precision__text { order: -1; padding-top: 0; }
  .reviews .split__major, .reviews__aside { grid-column: auto; grid-row: auto; }
  .reviews__aside { padding-top: var(--s-4); }
  .frame--lead { aspect-ratio: 1.618; }
  /* mobil: nadpis, portrét, text */
  .team__split { row-gap: 0; }
  .team__body { display: contents; }
  .team__body > .h2 { order: 1; }
  .team__split .frame--lead { order: 2; margin-bottom: var(--s-5); }
  .team__body > :not(.h2) { order: 3; }
  .crew { margin-top: var(--s-5); }
}

@media (max-width: 639px) {
  :root { --header-h: 64px; }
  body { padding-bottom: 72px; }
  .header__actions .btn, .header__tel { display: none; }
  .logo__mark { width: 44px; height: 27px; }
  .logo__name { font-size: 1.2rem; }
  .logo__sub { font-size: .75rem; }

  .hero__text { padding: var(--s-5) 0 var(--s-6); gap: var(--s-5); }
  .hero__rating {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
    font-size: .875rem; color: var(--cream-2); text-decoration: none;
  }
  .hero__rating b { font-family: var(--f-display); font-weight: 500; font-size: 1.25rem; color: var(--cream); }
  .hero__rating-star { width: 13px; height: 13px; fill: var(--blush); }
  .hero__eyebrow { font-size: .875rem; margin-bottom: var(--s-3); }
  .hero__eyebrow::before { width: 21px; }
  .hero__title { font-size: clamp(2.6rem, 12.4vw, 3.6rem); line-height: 1; margin-bottom: var(--s-4); }
  .hero__lede { font-size: 1.0625rem; margin-bottom: var(--s-5); }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .tile--rating { padding: var(--s-4); }
  .rating__num { font-size: 3.6rem; }
  .rating__stars svg { width: 76px; height: 14px; }
  .rating__label { font-size: .875rem; line-height: 1.35; max-width: 8em; }
  .rating__link { display: none; }
  .phi__num { font-size: 1.75rem; }
  .phi__formula { font-size: .75rem; }

  .section, .band--paper { padding-block: var(--s-6) var(--s-7); }
  .h2 { font-size: clamp(2.3rem, 10vw, var(--t-4)); margin-bottom: var(--s-4); }
  .lead { font-size: 1.15rem; }

  .usp { margin-top: var(--s-4); }
  .usp__list { grid-template-columns: 1fr 1fr; }
  .usp__item, .usp__item + .usp__item { padding: var(--s-4) var(--s-3) var(--s-4) 0; border-left: 0; }
  .usp__item:nth-child(even) { padding-left: var(--s-3); padding-right: 0; border-left: 1px solid var(--line); }
  .usp__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .usp__title { font-size: 1.2rem; margin-bottom: var(--s-2); }
  .usp__item p { font-size: .875rem; line-height: 1.5; }

  .svc__row { padding: var(--s-4) 0; }
  .svc__name { font-size: 1.45rem; }
  .specs div { grid-template-columns: 6em 1fr; }
  .aesthetic__pair { grid-template-columns: 1fr; }
  .aesthetic__phi { margin-bottom: var(--s-4); }
  .steps { grid-template-columns: 1fr; }
  .steps__item, .steps__item + .steps__item { padding: var(--s-4) 0; border-left: 0; display: grid; grid-template-columns: 55px 1fr; column-gap: var(--s-3); }
  .steps__item + .steps__item { border-top: 1px solid var(--line); }
  .steps__num { font-size: var(--t-4); grid-row: 1 / 3; margin: 0; }
  .acute { padding: var(--s-5) var(--s-4); }
  .acute .btn { width: 100%; }

  .reviews__num { font-size: var(--t-5); }
  .quote { grid-template-columns: 1fr; row-gap: var(--s-2); padding: var(--s-4) 0; }
  .quote blockquote p { font-size: 1.4rem; }
  .quote__by { text-align: left; }

  .person__name--lead { font-size: var(--t-3); }
  .frame--sm { width: 55px; height: 89px; }
  .frame--sm span { display: none; }
  .crew__item { grid-template-columns: 55px minmax(0, 1fr); column-gap: var(--s-3); padding: var(--s-4) 0; }
  .person__name { font-size: 1.3rem; }
  .crew__item p { font-size: .9375rem; }

  .insurers__list { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: var(--s-4); width: 100%; }
  .insurers__list li { padding: 0 var(--s-3); }
  .insurers__list li:nth-child(3n+1) { padding-left: 0; border-left: 0; }

  .pricing .btn { width: 100%; }
  .price tbody tr:not(.price__group) th { font-size: 1rem; }
  .price tbody td { font-size: 1.35rem; }

  .form { padding: var(--s-5) var(--s-4); margin-inline: calc(-1 * var(--s-2)); }
  .form__grid { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
  .route { row-gap: var(--s-5); }
  .route__ways { grid-template-columns: 1fr; }
  .mapblock { grid-template-columns: 1fr; }
  .mapblock::before { display: none; }
  .mapblock__label { padding: var(--s-4) var(--s-4) 0; }
  .mapblock__cta { margin: var(--s-3) var(--s-4) var(--s-4); }

  .footer { padding-block: var(--s-6) var(--s-4); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: var(--s-4); padding-bottom: var(--s-5); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .footer__base { flex-wrap: wrap; }

  .mbar {
    display: grid; grid-template-columns: 1fr 1.618fr; gap: var(--s-2);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: var(--s-2) var(--s-2) calc(var(--s-2) + env(safe-area-inset-bottom));
    background: rgba(16, 26, 30, .96); border-top: 1px solid var(--line-2);
  }
  .mbar__btn {
    display: flex; align-items: center; justify-content: center; min-height: 52px;
    font-weight: 500; font-size: .9375rem; text-decoration: none; color: var(--cream);
    border: 1px solid var(--line-2);
  }
  .mbar__btn--primary { background: var(--cream); color: var(--ink); border-color: var(--cream); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
