/* ===== Fonts (self-hosted, latin + latin-ext pro češtinu) ===== */
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(../fonts/unbounded-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: "Unbounded"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(../fonts/unbounded-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: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/onest-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: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/onest-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; }

/* ===== Tokens ===== */
:root {
  --blue: #0081C7;        /* barva loga „ov“ – plochy, dekor */
  --blue-ink: #0064A3;    /* tlačítka a odkazy (kontrast AA) */
  --blue-deep: #0A4C80;
  --lime: #B9CB00;        /* barva loga „dent“ – akcent */
  --lime-ink: #5F7000;    /* zelená pro text */
  --ink: #13294B;
  --muted: #4A5C78;
  --mist: #EAF3FA;
  --line: #D3E2EE;
  --white: #FFFFFF;

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --step-3: clamp(min(1.875rem, 9vw), 1.3rem + 2.2vw, 2.75rem);
  --step-hero: clamp(min(3.25rem, 15.5vw), 1.2rem + 8.2vw, 8.25rem);

  --r-s: 10px;
  --r-m: 20px;
  --r-l: 36px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 76px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; overflow-wrap: break-word; hyphens: auto; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-s); }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.h2 { font: 600 var(--step-3)/1.12 var(--f-display); letter-spacing: -0.02em; margin-bottom: .6em; text-wrap: balance; }
.h3 { font: 600 var(--step-1)/1.3 var(--f-display); letter-spacing: -0.01em; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.3rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.1 var(--f-body); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: .9rem 1.7rem; font-size: 1.0625rem; }
.btn--primary { background: var(--blue-ink); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--blue-ink); color: var(--blue-ink); }
.btn--light { background: #fff; color: var(--blue-deep); }
.btn--light:hover { background: var(--lime); color: var(--ink); }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.header__logo { flex: none; }
.header__logo img { width: 164px; height: auto; }
@media (max-width: 900px) { .header__logo img { width: 128px; } }
.nav { display: flex; gap: .25rem; margin-left: auto; }
.nav a { padding: .5rem .8rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; }
@media (hover: hover) { .nav a:hover { background: var(--mist); color: var(--blue-ink); } }
.status {
  display: flex; align-items: center; gap: .5rem; margin: 0;
  font-size: var(--step--1); font-weight: 500; color: var(--muted); white-space: nowrap;
}
.status__short { display: none; }
.status--hero { display: none; white-space: normal; }
.header .status { min-width: 0; }
.header .status span:not(.status__dot) { overflow: hidden; text-overflow: ellipsis; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: #A3B1C2; flex: none; }
.status.is-open { color: var(--lime-ink); }
.status.is-open .status__dot { background: var(--lime); box-shadow: 0 0 0 4px rgba(185,203,0,.22); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(185,203,0,0); } }

.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--mist); cursor: pointer; position: relative; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  position: absolute; left: 50%; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transform: translateX(-50%); transition: transform .25s, opacity .25s;
}
.menu-toggle__bars { top: 50%; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; left: 0; transform: none; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding-top: clamp(1.5rem, 4vw, 3rem); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 2rem; }
.hero__copy { padding-bottom: clamp(2rem, 5vw, 4.5rem); }
.hero__place { font-weight: 500; color: var(--muted); margin-bottom: 1.25rem; }
.hero__place::before { content: ""; display: inline-block; width: 28px; height: 3px; border-radius: 3px; background: var(--lime); vertical-align: middle; margin-right: .75rem; }
.hero__title {
  font: 700 var(--step-hero)/.92 var(--f-display); letter-spacing: -0.045em; color: var(--ink);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.hero__line { display: block; }
.hero__line:last-child { color: var(--blue); }
.hero__lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 34em; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--ink); font-weight: 500; font-size: var(--step--1); }
.hero__facts li { display: flex; align-items: center; gap: .5rem; }
.hero__facts li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313294B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }

.hero__doctor { position: relative; margin: 0; align-self: end; justify-self: center; width: min(100%, 520px); }
.hero__disc {
  position: absolute; inset: 12% -6% -30% -6%; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff 0 34%, var(--mist) 60%);
  border: 2px solid var(--line);
}
.hero__disc::after { /* zelený oblouk – odkaz na „dent“ v logu */
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 6px solid transparent; border-top-color: var(--lime); border-right-color: var(--lime);
  transform: rotate(-20deg);
}
.hero__doctor img { position: relative; width: 100%; height: auto; }
.hero__badge {
  position: absolute; left: -8%; bottom: 14%;
  display: grid; gap: .1rem; padding: .9rem 1.2rem; max-width: 250px;
  background: #fff; border-radius: var(--r-m); border: 1px solid var(--line);
  box-shadow: 0 18px 40px -18px rgba(19,41,75,.35);
  font-size: var(--step--1); line-height: 1.35; color: var(--muted);
}
.hero__badge strong { color: var(--ink); font-size: 1rem; }

.insurers { display: flex; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.5rem; position: relative; background: #fff linear-gradient(var(--line), var(--line)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.insurers p { margin: 0; font-size: var(--step--1); color: var(--muted); font-weight: 500; }
.insurers ul { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.25rem; }
.insurers img { height: 28px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
@media (hover: hover) { .insurers img:hover { filter: none; opacity: 1; } }

/* ===== Služby ===== */
.care { background: var(--mist); }
.care__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.care__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.care__intro p { color: var(--muted); max-width: 30em; }
.care__hint { font-size: var(--step--1); }
.care__list { display: grid; gap: .75rem; }
.service { background: #fff; border-radius: var(--r-m); border: 1px solid transparent; transition: border-color .2s; }
.service[open] { border-color: var(--line); }
@media (hover: hover) { .service:hover { border-color: var(--line); } }
.service summary {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 1.1rem; align-items: center;
  padding: 1.2rem 1.4rem; cursor: pointer; list-style: none;
}
.service summary::-webkit-details-marker { display: none; }
.service summary::after {
  content: ""; grid-column: 3; grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230064A3' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .3s, background-color .2s;
}
.service[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.service__icon { grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 14px; background: var(--mist); display: grid; place-items: center; }
.service__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service__name { font: 600 var(--step-1)/1.25 var(--f-display); letter-spacing: -0.01em; overflow-wrap: break-word; hyphens: auto; min-width: 0; }
.service__sub { color: var(--muted); font-size: var(--step--1); grid-column: 2; }
.service__body { padding: 0 1.4rem 1.5rem calc(1.4rem + 48px + 1.1rem); max-width: 68ch; }
.service__body h3 { font: 600 1rem/1.4 var(--f-body); margin: 1.2em 0 .3em; }
.service__body p { color: var(--muted); }
.service__body a { overflow-wrap: anywhere; }
.service__price { display: inline-flex; margin-top: .5rem; font-weight: 600; }

/* ===== O klinice ===== */
.clinic__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.clinic__photo { margin: 0; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3.4; }
.clinic__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.clinic__copy > p { color: var(--muted); max-width: 34em; }
.ticks { display: grid; gap: 1.1rem; margin-top: 2rem; }
.ticks li { position: relative; padding-left: 2.25rem; color: var(--muted); }
.ticks li strong { color: var(--ink); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313294B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ===== Ceník ===== */
.prices { background: var(--ink); color: #fff; border-radius: var(--r-l); margin-inline: clamp(0px, 1.5vw, 1.25rem); }
.prices__head { display: grid; grid-template-columns: auto 1fr; gap: 1rem 4rem; align-items: end; margin-bottom: 2.5rem; }
.prices__head .h2 { margin: 0; }
.prices__head p { margin: 0; color: #B8C6DA; max-width: 36em; }
.tabs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .25rem; margin-bottom: 1.5rem; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: none; min-height: 44px; padding: .6rem 1.1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.22); background: transparent; color: #D7E1EE; font: 500 .95rem/1 var(--f-body);
  transition: background-color .2s, color .2s, border-color .2s;
}
@media (hover: hover) { .tabs button:hover { border-color: #fff; color: #fff; } }
.tabs button[aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); font-weight: 600; }
.price-panels { display: grid; gap: 2.5rem; }
.js .price-panels { display: block; }
.price-panel__title { font: 600 var(--step-1)/1.3 var(--f-display); margin-bottom: .75rem; color: #fff; }
.js .price-panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.price-list { margin: 0; border-top: 1px solid rgba(255,255,255,.16); }
.price-list > div { display: flex; align-items: baseline; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.price-list dt { flex: 1; font-size: var(--step-1); font-weight: 500; }
.price-list dt span { display: block; font-size: var(--step--1); color: #B8C6DA; font-weight: 400; margin-top: .2rem; }
.price-list dd { margin: 0; font: 600 var(--step-2)/1.1 var(--f-display); letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-list dd small { font: 500 .9rem var(--f-body); color: #B8C6DA; margin-right: .2rem; letter-spacing: 0; }
.price-list dd.is-free { font: 600 1rem/1.2 var(--f-body); color: var(--ink); background: var(--lime); padding: .55rem 1rem; border-radius: 999px; }

/* ===== Tým ===== */
.team__head { max-width: 40rem; margin-bottom: 3rem; }
.team__head p { color: var(--muted); }
.lead-doc {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end;
  background: var(--mist); border-radius: var(--r-l); padding: 2rem clamp(1.5rem, 4vw, 3.5rem) 0; margin-bottom: 1.5rem; overflow: hidden;
}
.lead-doc > div { padding-bottom: 2.5rem; max-width: 40em; }
.lead-doc h3 { font: 600 var(--step-2)/1.2 var(--f-display); letter-spacing: -0.02em; }
.lead-doc p:last-child { color: var(--muted); margin: 0; }
.role { color: var(--lime-ink); font-weight: 600; font-size: var(--step--1); margin: .35rem 0 .8rem; }
.team__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; }
.person img { background: var(--mist); border-radius: var(--r-m); aspect-ratio: 540 / 600; object-fit: cover; object-position: top; width: 100%; margin-bottom: 1rem; }
.person h3 { font: 600 1.05rem/1.3 var(--f-body); }
.person .role { margin: .15rem 0 .5rem; }
.person p:last-child { font-size: var(--step--1); color: var(--muted); margin: 0; }
.team__more { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; gap: 1rem 2.5rem; flex-wrap: wrap; align-items: baseline; }
.team__more p { margin: 0; font-weight: 600; }
.team__more ul { display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.team__more span { display: block; color: var(--muted); font-size: var(--step--1); }

/* ===== Recenze ===== */
.reviews { background: var(--mist); overflow: hidden; }
.reviews__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; }
.reviews__head .h2 { margin: 0; }
.reviews__nav { display: flex; gap: .5rem; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.round-btn:hover { border-color: var(--blue-ink); }
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.reviews__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 82vw); gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
  padding-bottom: .5rem;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; background: #fff; border-radius: var(--r-m); padding: 1.75rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.review blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.55; }
.review blockquote::before { content: "★★★★★"; display: block; color: #E2A400; letter-spacing: .15em; font-size: .95rem; margin-bottom: .75rem; }
.review__by { margin: 0; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
.review__by time { color: var(--muted); font-weight: 400; font-size: var(--step--1); }
.reviews__source { margin: 1.5rem auto 0; font-size: var(--step--1); color: var(--muted); }

/* ===== Prevence CTA ===== */
.prevention { background: var(--blue-deep) url("../img/apple.webp") right center / cover no-repeat; position: relative; }
.prevention::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue-deep) 0%, rgba(10,76,128,.92) 45%, rgba(10,76,128,.35) 100%); }
.prevention__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-block: clamp(3rem, 7vw, 5rem); color: #fff; }
.prevention .h2 { max-width: 16em; margin-bottom: .4em; }
.prevention p { max-width: 34em; color: #DCE8F4; margin: 0; }

/* ===== Kontakt ===== */
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact address { font-size: var(--step-1); line-height: 1.5; margin-bottom: 1rem; }
.contact__links { display: flex; flex-direction: column; gap: .3rem; font-size: var(--step-1); font-weight: 600; margin-bottom: 2.5rem; }
.contact__links a { text-decoration: none; }
.contact .h3 { margin-bottom: .75rem; }
.hours { width: 100%; max-width: 420px; border-collapse: collapse; margin-bottom: 2rem; }
.hours th, .hours td { padding: .6rem .75rem; text-align: left; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours th, .hours td { overflow-wrap: anywhere; }
.hours tr.is-closed { color: var(--muted); }
.hours tr.is-today { background: var(--mist); font-weight: 600; }
.hours tr.is-today th { font-weight: 600; }
.hours tr.is-today th::after { content: "dnes"; margin-left: .6rem; font-size: .75rem; font-weight: 600; background: var(--lime); color: var(--ink); padding: .25rem .6rem; border-radius: 999px; vertical-align: middle; }
.terms { border: 1px solid var(--line); border-radius: var(--r-m); max-width: 560px; }
.terms summary { padding: 1rem 1.25rem; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.terms summary::-webkit-details-marker { display: none; }
.terms summary::after { content: "+"; color: var(--blue-ink); font-size: 1.25rem; line-height: 1; transition: transform .25s; }
.terms[open] summary::after { transform: rotate(45deg); }
.terms > div { padding: 0 1.25rem 1rem; color: var(--muted); font-size: .97rem; }
.terms strong { color: var(--ink); }
.map { border-radius: var(--r-l); overflow: hidden; background: var(--mist); min-height: 480px; display: grid; position: relative; }
.map::before { /* stylizovaná mřížka ulic jako náhled mapy */
  content: ""; position: absolute; inset: 0; opacity: .55;
  background-image:
    linear-gradient(28deg, transparent 47%, #fff 47% 53%, transparent 53%),
    linear-gradient(-62deg, transparent 48%, #fff 48% 52%, transparent 52%),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(0deg, var(--line) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}
.map__placeholder { position: relative; place-self: center; text-align: center; display: grid; justify-items: center; gap: .9rem; padding: 2rem; max-width: min(380px, 100%); min-width: 0; overflow-wrap: anywhere; }
.map__placeholder::before { content: ""; width: 56px; height: 56px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--blue-ink); box-shadow: inset 0 0 0 14px var(--blue-ink), inset 0 0 0 30px #fff; margin-bottom: .5rem; }
.map__placeholder p { margin: 0; font-weight: 500; }
.map__placeholder small { color: var(--muted); }
.map iframe { width: 100%; height: 100%; min-height: 480px; border: 0; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #C9D5E5; padding-block: 3.5rem calc(2rem + env(safe-area-inset-bottom, 0px)); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2rem; }
.footer__logo { width: 140px; margin-bottom: 1rem; }
.footer nav { display: grid; gap: .5rem; align-content: start; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--lime); text-decoration: underline; }
.footer__copy { margin-top: 3rem; padding-top: 1.5rem; font-size: var(--step--1); background: linear-gradient(rgba(255,255,255,.14), rgba(255,255,255,.14)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat; }

/* ===== Úvodní animace – výchozí skrytý stav (jen s JS a bez reduced-motion) ===== */
.anim .hero__line, .anim [data-hero-item], .anim [data-hero-doctor], .anim .hero__badge { opacity: 0; }

/* ===== Plovoucí tlačítko (mobil) ===== */
.fab { display: none; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .status { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; padding: .5rem var(--gutter) 1.25rem; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(19,41,75,.35);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav a { padding: .9rem .25rem; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.125rem; }
  .header__inner { gap: .75rem; }
  .status { display: flex; margin-left: auto; }
  .status__long { display: none; }
  .status__short { display: inline; }
  .status--hero { display: flex; margin-bottom: .75rem; }
  .menu-toggle { margin-left: 0; flex: none; }
  .header__inner > .status { flex: 0 1 auto; }
  .prevention { background-position: 70% center; }
  .prevention::before { background: linear-gradient(180deg, rgba(10,76,128,.97) 0%, rgba(10,76,128,.93) 62%, rgba(10,76,128,.6) 100%); }
  .footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px)); }

  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { padding-bottom: 0; }
  .hero__doctor { width: min(86%, 400px); }
  .hero__badge { left: auto; right: -4%; bottom: 10%; }
  .care__grid, .clinic__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .care__intro { position: static; }
  .prices__head { grid-template-columns: 1fr; }
  .lead-doc { grid-template-columns: 1fr; padding-top: 2rem; }
  .lead-doc img { order: 2; width: min(300px, 80%); margin-inline: auto; }
  .lead-doc > div { padding-bottom: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }

  .fab {
    display: inline-flex; position: fixed; z-index: 40; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    align-items: center; min-height: 52px; padding: .8rem 1.4rem; border-radius: 999px;
    background: var(--blue-ink); color: #fff; font-weight: 600; text-decoration: none;
    box-shadow: 0 14px 30px -10px rgba(0,100,163,.6);
    transition: transform .3s, opacity .3s;
  }
  .fab.is-hidden { transform: translateY(150%); opacity: 0; pointer-events: none; }
}
@media (max-width: 640px) {
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .service summary { padding: 1rem; column-gap: .85rem; }
  .service__icon { width: 40px; height: 40px; border-radius: 12px; }
  .service__icon svg { width: 22px; height: 22px; }
  .service__body { padding: 0 1rem 1.25rem; }
  .price-list > div { flex-direction: column; gap: .4rem; }
  .price-list dd { font-size: var(--step-1); }
  .reviews__nav { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .insurers img { height: 22px; }
  .insurers ul { gap: .9rem 1.5rem; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .header__logo img { width: 112px; }
  .hero__facts { flex-direction: column; }
}
@media (pointer: coarse) {
  .footer nav { gap: 0; }
  .footer nav a { padding-block: .6rem; }
  .contact__links a, .reviews__source a, .map__placeholder a { display: inline-block; padding-block: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
