/* ============ Písma (hostovaná lokálně kvůli GDPR, variabilní woff2 z @fontsource-variable, licence OFL) ============ */
@font-face {
  font-family: "Quicksand"; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url("../fonts/quicksand-latin-ext-wght-normal.a374664b0668.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Quicksand"; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url("../fonts/quicksand-latin-wght-normal.314d6364bbee.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/roboto-latin-ext-wght-normal.0f1d3218bace.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/roboto-latin-wght-normal.9a01b69183a9.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;
}

/* ============ Barvy a písma podle původního webu ============ */
:root {
  --navy: #232d4e;
  --navy-2: #1c2542;
  --pink: #e763ae;
  --pink-deep: #c4348a;
  --pink-dark: #a82a74;
  --magenta: #a8306f;
  --blue: #0461c8;
  --blue-soft: #e8f2fc;
  --text: #5c6577;
  --line: #e6e9ef;
  --bg-soft: #f4f8fc;
  --white: #fff;

  --sick: #c4262e;
  --sick-soft: #fdecec;
  --away: #9a5b00;
  --away-soft: #fdf3e2;
  --ok: #1f7a4d;

  --head: "Quicksand", "Trebuchet MS", sans-serif;
  --body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --r: 12px;
  --wrap: 1760px;   /* obsah max. 1600 px + 2 × 80 px odsazení */
  --gutter: 80px;   /* odsazení zleva a zprava */
  --shadow: 0 10px 40px rgba(35, 45, 78, .08);
}

/* ============ Základ ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font: 400 16px/1.75 var(--body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; color: var(--navy); margin: 0; line-height: 1.3; }
p { margin: 0; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
@media (max-width: 1024px) { :root { --gutter: 40px; } }
@media (max-width: 600px) { :root { --gutter: 20px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.ico { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.center { text-align: center; margin-top: 3rem; }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.heading-center { text-align: center; max-width: 820px; margin: 0 auto 3rem; }
.heading-center h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.heading-center__lead { color: var(--pink-deep); margin-top: 1.25rem; font-size: 1.05rem; }
.kicker { color: #4458a8; font-weight: 500; margin-bottom: .75rem; }

/* ============ Tlačítka ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: .7em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font: 700 .95rem/1.2 var(--body); text-decoration: none; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn--lg { min-height: 60px; padding-inline: 1.9em; }
.btn--pink { background: var(--pink-deep); color: #fff; }
.btn--pink:hover { background: var(--pink-dark); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--pink-deep); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--navy); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }

/* ============ Horní lišta ============ */
.topbar { background: var(--navy); color: #fff; font-size: .88rem; }
.topbar__inner { display: flex; align-items: center; gap: 2rem; min-height: 60px; flex-wrap: wrap; padding-block: .5rem; max-width: none; padding-inline: 30px; }  /* zarovnáno s hlavičkou */
.topbar__inner > a, .topbar__inner > span { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.topbar .ico { color: var(--pink); }
.topbar__inner > .topbar__results { margin-left: auto; }  /* text o výsledcích vpravo, vedle Facebooku */
.topbar__fb { width: 24px; height: 24px; border-radius: 50%; background: #32bef0; justify-content: center; }
.topbar__fb svg { width: 14px; height: 14px; fill: #fff; }

/* ============ Hlavička ============ */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: #fff; transition: box-shadow .25s; }
.header.is-scrolled { box-shadow: 0 4px 24px rgba(35, 45, 78, .1); }
.header__inner { display: flex; align-items: center; gap: 2rem; min-height: 90px; max-width: none; padding-inline: 30px; }  /* hlavička: 30 px zleva i zprava */
.brand img { width: 250px; height: auto; }
.brand { flex: none; }

.nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; flex: 1; justify-content: flex-end; }
.nav > ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav > ul > li > a, .nav__btn {
  display: flex; align-items: center; gap: .4em; padding: .6em .9em; text-decoration: none;
  font: 700 .97rem var(--body); color: var(--navy); background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav > ul > li > a:hover, .nav__btn:hover { color: var(--pink-deep); }
.nav__btn::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); margin-left: .3em; }
.nav { align-self: stretch; }
.nav__cta { display: flex; align-self: stretch; margin-right: -30px; }  /* tlačítko až k pravému okraji */
.header__cta { display: flex; align-items: center; padding: 0 46px; background: var(--pink-deep); color: #fff; font: 800 .875rem/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background-color .2s; }
.header__cta:hover { background: var(--pink-dark); }
.header__cta:focus-visible { outline: 3px solid var(--navy); outline-offset: -6px; }

.has-sub { position: relative; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 280px; list-style: none; margin: 0; padding: .75rem 0;
  background: #fff; border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.sub--wide { min-width: 320px; }
.sub a { display: block; padding: .5em 1.4em; text-decoration: none; color: var(--navy); font-size: .93rem; font-weight: 500; }
.sub a:hover { color: var(--pink-deep); background: var(--bg-soft); }
.has-sub:hover .sub, .nav__btn[aria-expanded="true"] + .sub { opacity: 1; visibility: visible; transform: none; }

.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--pink-deep); cursor: pointer; padding: 15px 13px; flex-direction: column; justify-content: space-between; }
.menu-toggle span:not(.sr) { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Slider ============ */
.slider { position: relative; height: clamp(480px, 46vw, 640px); overflow: hidden; background: var(--bg-soft); }
.slide {
  position: absolute; inset: 0; background-size: cover; background-position: 70% center;
  opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s;
  display: flex; align-items: center; padding-bottom: 60px;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide__content { width: 100%; }
.slide__content > * { max-width: 640px; }
.slide h1, .slide__title { font-size: clamp(2.2rem, 5.2vw, 4.4rem); line-height: 1.12; margin-bottom: 1.4rem; font-weight: 700; }
.slide p { color: var(--navy); font-weight: 500; font-size: 1.1rem; margin-bottom: 2rem; }
.slide.is-active .slide__content > * { animation: rise .8s ease both; }
.slide.is-active .slide__content > *:nth-child(2) { animation-delay: .12s; }
.slide.is-active .slide__content > *:nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.slide__tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.slide__tags a { padding: .55em 1.3em; border-radius: 999px; background: rgba(255,255,255,.85); color: var(--navy); font-weight: 700; font-size: .92rem; text-decoration: none; transition: background-color .2s, color .2s; }
.slide__tags a:hover { background: var(--navy); color: #fff; }

.slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 2; }
.slider__arrow svg { width: 100%; height: 100%; fill: none; stroke: var(--navy); stroke-width: 2; }
.slider__arrow:hover svg { stroke: var(--pink-deep); }
.slider__arrow--prev { left: 20px; }
.slider__arrow--next { right: 20px; }
.slider__dots { position: absolute; left: 50%; bottom: 90px; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 2; }
.slider__dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--navy); background: transparent; padding: 0; cursor: pointer; }
.slider__dots button[aria-selected="true"] { background: var(--navy); }

/* ============ Tři info boxy ============ */
.info-strip { position: relative; z-index: 3; margin-top: -40px; }
.info-boxes { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.info-box { display: flex; flex-direction: column; align-items: flex-start; padding: 1.6rem 2.25rem; min-width: 0; }
.info-box[hidden] { display: none; }
.info-box h2 { font-size: 1.35rem; line-height: 1.3; margin: 0 0 .6rem; }
.info-box p { margin: 0; }

/* Aktualita: jediný barevný box, při nemoci červený */
.info-box--news { background: var(--pink-deep); color: #fff; }
.info-box--news.is-sick { background: var(--sick); }
.info-box--news h2 { color: #fff; }
.info-box__head { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .75rem; margin-bottom: .7rem; }
.info-box__tag { padding: .3rem .75rem; border-radius: 999px; background: #fff; color: var(--pink-deep); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.info-box--news.is-sick .info-box__tag { color: var(--sick); }
.info-box__date { font-size: .9rem; font-weight: 500; opacity: .9; }
.info-box__text { font-size: .95rem; line-height: 1.6; max-width: 60ch; }
.info-box--news { position: relative; }
.info-box__item .info-box__head { padding-right: 6.5rem; }
.info-box__foot { display: flex; justify-content: center; width: 100%; margin-top: auto; padding-top: 1rem; }
.info-box__nav { position: absolute; top: 1.4rem; right: 2.25rem; display: flex; align-items: center; gap: .6rem; font-size: .88rem; font-variant-numeric: tabular-nums; }
.info-box__nav[hidden] { display: none; }
.info-box__nav button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); background: transparent; color: #fff; cursor: pointer; transition: background-color .2s, color .2s; }
.info-box__nav button:hover { background: #fff; color: var(--pink-deep); }
.info-box__nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Telefon a otevírací doba: bílé, oddělené linkou */
.info-box--plain { color: var(--text); }
.info-box--plain + .info-box--plain { border-left: 1px solid var(--line); }
.info-box__label { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem !important; font: 700 1.05rem var(--head); color: var(--navy); }
.info-box__label svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--blue); fill: #fff; flex: none; }
.info-box__phone { font: 700 clamp(1.6rem, 2.2vw, 2rem) var(--head); color: var(--navy); text-decoration: none; white-space: nowrap; }
.info-box__phone:hover { color: var(--pink-deep); }
.info-box__cta { align-self: center; margin-top: auto; }
.info-box__note { margin-top: .5rem !important; margin-bottom: 1rem !important; font-size: .9rem; line-height: 1.6; }
.info-box__note strong { color: var(--navy); font-weight: 500; }
.hours { margin: 0 0 1rem; width: 100%; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; font-size: .95rem; }
.hours div + div { border-top: 1px solid var(--line); }
.hours dt { color: var(--text); }
.hours dd { margin: 0; color: var(--navy); font-weight: 500; font-variant-numeric: tabular-nums; }
.hours .is-today dt, .hours .is-today dd { color: var(--navy); font-weight: 700; }
.hours__status { align-self: center; margin-top: auto !important; display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .8rem; border-radius: 999px; background: #e6f4ec; color: var(--ok); font-size: .85rem; font-weight: 700; }
.hours__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.hours__status.is-closed { background: var(--sick-soft); color: var(--sick); }

/* ============ O nás ============ */
.about__title { font-size: clamp(1.9rem, 3.8vw, 2.75rem); line-height: 1.45; margin: 0 0 3.5rem clamp(0px, 8vw, 100px); font-weight: 600; }
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 7vw, 90px); }
.about__lead { display: flex; gap: 2rem; align-items: flex-start; margin-bottom: 2.25rem; }
.about__mark { width: 52px; height: 52px; object-fit: cover; object-position: left; flex: none; }
.about__lead p { color: var(--navy); font-weight: 700; font-size: 1.05rem; line-height: 1.75; }
.about__left > .btn { margin-left: calc(52px + 2rem); }
.about__video { position: relative; display: block; margin-top: 4rem; border-radius: var(--r); overflow: hidden; }
.about__video img { width: 100%; transition: transform .5s; }
.about__video:hover img { transform: scale(1.04); }
.about__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: var(--pink-deep); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(231, 99, 174, .3); }
.about__play svg { width: 30px; fill: #fff; margin-left: 4px; }
.about__right > p { margin-bottom: 2.5rem; }
.checks { list-style: none; margin: 0 0 2.5rem; padding: 0; }
.checks li { position: relative; padding-left: 1.75rem; margin-bottom: .9rem; color: var(--navy); font-weight: 500; font-size: .95rem; line-height: 1.6; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 9px; height: 5px; border: solid var(--pink); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.checks--sm li { margin-bottom: .55rem; }

/* ============ Ordinace ============ */
.clinics-sec { background: var(--bg-soft) url("../images/backgrounds-2.fe94fc4c7927.jpg") center top / cover no-repeat; }
.clinics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 1100px) { .clinics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .clinics { grid-template-columns: 1fr; } }
.clinic { background: #fff; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 20px rgba(35, 45, 78, .05); position: relative; transition: transform .3s, box-shadow .3s; }
.clinic::after { content: ""; position: absolute; left: 1.75rem; right: 1.75rem; bottom: 0; height: 3px; background: var(--navy); transition: background-color .3s; }
.clinic:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.clinic:hover::after { background: var(--pink); }
.clinic__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.clinic__body { padding: 1.75rem 1.75rem 2.25rem; display: flex; flex-direction: column; flex: 1; }
.clinic h3 { font-size: 1.4rem; margin-bottom: .9rem; }
.clinic p { font-size: .94rem; margin-bottom: 1.5rem; }
.clinic .checks { margin-bottom: 2rem; }
.clinic .btn { margin-top: auto; align-self: flex-start; min-height: 50px; }

/* ============ Bannery ============ */
.banner { background-size: cover; background-position: center; color: #fff; padding-block: clamp(4.5rem, 10vw, 8rem); position: relative; }
.banner--rejuv { background-image: linear-gradient(90deg, rgba(120, 30, 90, .85) 0%, rgba(120, 30, 90, .55) 45%, rgba(120, 30, 90, 0) 75%), url("../images/banners-3.81f6041d5dfe.jpg"); }
.banner__content > * { max-width: 600px; }
.banner__kicker { font-weight: 500; margin-bottom: .5rem; }
.banner h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.75rem); margin-bottom: 1.75rem; }
.banner h2 span { color: #f7a3d2; }
.banner p { line-height: 1.85; }
.banner .btn { margin-top: 2.25rem; }

/* ============ Tým ============ */
.filters { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.chip { font: 700 .9rem var(--body); padding: .65em 1.4em; border-radius: 999px; border: 2px solid var(--line); background: #fff; cursor: pointer; color: var(--navy); transition: .2s; }
.chip:hover { border-color: var(--pink-deep); color: var(--pink-deep); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 2.25rem 1.5rem; }
.doctor { text-align: center; }
.doctor__photo { position: relative; width: 170px; max-width: 100%; aspect-ratio: 1; margin: 0 auto 1.1rem; border-radius: 50%; overflow: hidden; background: var(--bg-soft); box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line); transition: box-shadow .3s; }
.doctor:hover .doctor__photo { box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--pink); }
.doctor__photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor__initials { display: grid; place-items: center; width: 100%; height: 100%; font: 700 2.6rem/1 "Quicksand", sans-serif; color: var(--navy); }
.doctor.is-absent .doctor__photo img { filter: grayscale(.85); opacity: .75; }
.doctor h3 { font-size: 1.05rem; }
.doctor p { font-size: .88rem; color: var(--pink-deep); }
.badge { display: inline-block; margin-top: .5rem; font-size: .78rem; font-weight: 700; padding: .3em .85em; border-radius: 999px; }
.badge--sick { background: var(--sick-soft); color: var(--sick); }
.badge--away { background: var(--away-soft); color: var(--away); }
.badge--soon { background: var(--blue-soft); color: var(--blue); }

/* ============ Výhody ============ */
.features { background: var(--pink-deep) url("../images/backgrounds-22.f24efc63c223.jpg") center / cover; color: #fff; }
.features__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.features__kicker { margin: 0 0 .5rem; font: 700 .85rem var(--body); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.features__title { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.25; margin: 0 0 1.75rem; max-width: 20ch; }
.perks { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
.perks li { border-top: 1px solid rgba(255, 255, 255, .35); padding-top: .9rem; }
.perks strong { display: block; font: 700 1.05rem var(--head); margin-bottom: .25rem; }
.perks span { font-size: .93rem; line-height: 1.55; opacity: .92; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.tile { display: flex; align-items: center; gap: 1rem; height: 100%; padding: .6rem 1.1rem .6rem .6rem; background: #fff; border-radius: var(--r); text-decoration: none; color: var(--navy); transition: background-color .2s, color .2s; }
.tile img { flex: none; width: 72px; height: 72px; border-radius: 8px; object-fit: cover; }
.tile span:not(.sr):not(.tile__arrow) { flex: 1; font: 700 1rem var(--head); }
.tile__arrow { font-weight: 700; color: var(--pink-deep); transition: transform .2s; }
.tile:hover { background: var(--navy); color: #fff; }
.tile:hover .tile__arrow { color: #fff; transform: translateX(3px); }
.tile:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ============ Reference ============ */
.testimonials__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.testimonials__head .kicker { margin-bottom: .4rem; }
.testimonials__head h2 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.testimonials__more { font-weight: 700; color: var(--pink-deep); text-decoration: none; white-space: nowrap; }
.testimonials__more:hover { text-decoration: underline; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.quote { position: relative; margin: 0; padding: 2rem 2rem 1.75rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; display: flex; flex-direction: column; gap: 1.25rem; transition: border-color .2s, box-shadow .2s; }
.quote:hover { border-color: transparent; box-shadow: var(--shadow); }
.quote::before { content: "\201C"; position: absolute; top: 1.1rem; right: 1.5rem; height: 2.5rem; overflow: hidden; font: 700 5rem/1 var(--head); color: var(--pink); opacity: .25; pointer-events: none; }
.quote__doctor { align-self: flex-start; margin: 0; padding: .3rem .8rem; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: .8rem; font-weight: 700; text-decoration: none; }
a.quote__doctor:hover { background: var(--blue); color: #fff; }
.quote blockquote { margin: 0; color: var(--navy); font: 600 1.05rem/1.65 var(--head); flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: .75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--text); }
.quote figcaption strong { color: var(--navy); font-size: .95rem; }
.quote__avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--pink-deep); color: #fff; font: 700 1rem var(--head); }

/* ============ Galerie ============ */
.gallery { padding-bottom: clamp(4rem, 8vw, 6rem); }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.75rem, 1.5vw, 1.5rem); }
.gallery__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }

/* ============ Patička ============ */
.footer { background: var(--navy); color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.75fr; gap: 2.5rem; padding-block: 5.5rem; align-items: start; }
.footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1.5rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .55rem; }
.footer ul a { color: #a9b0c4; text-decoration: none; font-size: .93rem; }
.footer ul a:hover { color: var(--pink); }
.footer__about img { width: 200px; margin-bottom: 2rem; }
.footer__about p { font-size: .93rem; line-height: 1.8; }
.footer__cta { display: inline-block; margin-top: 1.25rem; color: var(--pink); font-weight: 700; text-decoration: none; }
.footer__card { background: #fff; color: var(--text); border-radius: var(--r); padding: 2.5rem; border-left: 3px solid var(--pink); }
.footer__card h3 { color: var(--navy); }
.footer__card-lead { color: var(--pink-deep); font-size: .93rem; margin-bottom: 1.5rem; }
.footer__big { display: flex; align-items: center; gap: .6rem; font: 700 1.35rem var(--head); color: #3354a8; text-decoration: none; margin-bottom: 1rem; word-break: break-word; }
.footer__big .ico { width: 1.3em; height: 1.3em; }
.footer__big--mail { font-size: 1rem; word-break: normal; overflow-wrap: anywhere; }
.footer__addr { font-size: .93rem; margin: 1.25rem 0 .75rem; }
.footer__map { color: var(--pink-deep); font-weight: 700; text-decoration: none; }
.footer__map:hover { text-decoration: underline; }
.footer__bottom { color: #a9b0c4; font-size: .88rem; }
.footer__bottom { padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: .5rem 2rem; flex-wrap: wrap; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__bottom a { color: #fff; text-decoration: none; }
.footer__bottom a:hover { color: var(--pink); }

/* ============ Responzivita ============ */
@media (max-width: 1180px) {
  .menu-toggle { display: flex; }
  .header__inner { min-height: 70px; }
  .brand img { width: 190px; }
  .nav {
    position: fixed; inset: 0; top: var(--nav-top, 70px); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 1.5rem;
    padding: 1rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px)); background: #fff; overflow-y: auto;
    border-top: 1px solid var(--line); opacity: 0; visibility: hidden; transition: opacity .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav > ul { flex-direction: column; padding: 0; margin: 0; gap: 0; }
  .nav > ul > li > a, .nav__btn { width: 100%; font-size: 1.1rem; padding: 1rem .25rem; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: .25rem 0 .75rem 1rem; display: none; min-width: 0; }
  .nav__btn[aria-expanded="true"] + .sub { display: block; }
  .nav { align-self: auto; }
  .nav__cta { flex-direction: column; align-self: auto; margin-right: 0; }
  .header__cta { justify-content: center; padding: 14px 20px; border-radius: 999px; font-size: .95rem; letter-spacing: .04em; }
}
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__video { margin-top: 2.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about, .footer__card { grid-column: 1 / -1; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .slide { background-position: 75% center; }
  .slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.88), rgba(255,255,255,.55) 70%, rgba(255,255,255,.2)); }
  .slide__content { position: relative; }
}
@media (max-width: 640px) {
  .topbar__inner > .topbar__results, .topbar__inner > a[href="#kontakt"] { display: none; }
  .topbar__inner { gap: 1.25rem; min-height: 48px; }
  .topbar__fb { margin-left: auto; }
  .slider { height: 560px; }
  .slider__arrow { display: none; }
  .slider__dots { bottom: 64px; }
  .info-strip { margin-top: -24px; }
  .info-box { padding: 1.4rem 1.5rem; }
  .about__lead { gap: 1.25rem; }
  .about__left > .btn { margin-left: 0; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .doctor__photo { width: 130px; }
  .footer__grid { grid-template-columns: 1fr; padding-block: 3.5rem; }
  .btn--lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Výhody: pod sebou na užších obrazovkách */
@media (max-width: 1100px) { .features__grid { grid-template-columns: 1fr; } .features__title { max-width: none; } }
@media (max-width: 600px) { .perks, .tiles { grid-template-columns: 1fr; } .tiles { gap: .5rem; } .tile { padding: .45rem 1rem .45rem .45rem; } .tile img { width: 44px; height: 44px; } }

/* Info boxy: aktualita přes celou šířku nad telefonem a otevírací dobou */
@media (max-width: 1100px) {
  .info-boxes { grid-template-columns: 1fr 1fr; }
  .info-box--news { grid-column: 1 / -1; }
  .info-box--plain + .info-box--plain { border-left: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .info-boxes { grid-template-columns: 1fr; }
  .info-box--plain + .info-box--plain { border-left: 0; border-top: 1px solid var(--line); }
}

/* ============ Stránka Aktuality ============ */
.page-hero { background: linear-gradient(90deg, rgba(35, 45, 78, .92) 0%, rgba(35, 45, 78, .75) 40%, rgba(35, 45, 78, .2) 100%), var(--hero-img) center 60% / cover no-repeat var(--navy); color: #fff; }
.page-hero__inner { display: flex; align-items: center; min-height: clamp(280px, 32vw, 420px); padding-block: clamp(3rem, 6vw, 5rem); }
.page-hero__text { max-width: 560px; }
.page-hero__kicker { margin: 0 0 .75rem; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); }
.page-hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.05; }
.page-hero__lead { max-width: 42ch; margin: 1.25rem 0 0; font-size: 1.1rem; line-height: 1.7; color: rgba(255, 255, 255, .9); }
@media (max-width: 800px) {
  .page-hero { background-image: linear-gradient(rgba(35, 45, 78, .78), rgba(35, 45, 78, .78)), var(--hero-img); }
}

.news-sec { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4rem, 8vw, 6rem); }
.news-wrap { max-width: calc(880px + 2 * var(--gutter)); }

.absences { margin-bottom: 2.5rem; padding: 1.5rem 1.75rem; border-radius: var(--r); background: var(--away-soft); }
.absences__title { font-size: 1.1rem; margin-bottom: 1rem; }
.absences__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.absence { display: flex; align-items: flex-start; gap: 1rem; }
.absence + .absence { padding-top: .9rem; border-top: 1px solid rgba(154, 91, 0, .18); }
.absence__tag { flex: none; min-width: 6.5rem; padding: .3rem .7rem; border-radius: 999px; background: #fff; color: var(--away); font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-align: center; }
.absence--sick .absence__tag { background: var(--sick); color: #fff; }
.absence--now .absence__tag { background: var(--away); color: #fff; }
.absence__name { margin: 0; font-weight: 700; color: var(--navy); }
.absence__meta { margin: .2rem 0 0; font-size: .92rem; line-height: 1.55; }

.news-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.news-filters .chip { text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.chip__count { font-size: .78rem; font-weight: 700; opacity: .6; font-variant-numeric: tabular-nums; }

.news-year + .news-year { margin-top: 3rem; }
.news-year__title { display: flex; align-items: center; gap: 1rem; font-size: 1rem; letter-spacing: .1em; color: var(--pink-deep); margin-bottom: 1.25rem; }
.news-year__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }

.news-item { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.75rem; padding: 1.75rem 2rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s, box-shadow .2s; scroll-margin-top: 110px; }
.news-item:hover { border-color: transparent; box-shadow: var(--shadow); }
.news-item:target { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(231, 99, 174, .2); }
.news-item__date { display: flex; flex-direction: column; align-items: flex-start; padding-right: 1.5rem; border-right: 2px solid var(--line); }
.news-item__day { font: 700 2.4rem/1 var(--head); color: var(--navy); }
.news-item__month { margin-top: .35rem; font-size: .9rem; font-weight: 500; color: var(--text); }
.news-item__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .6rem; }
.news-tag { padding: .25rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--blue-soft); color: var(--blue); }
.news-tag--zmena { background: var(--away-soft); color: var(--away); }
.news-tag--upozorneni { background: var(--sick-soft); color: var(--sick); }
.news-tag--new { background: var(--pink-deep); color: #fff; }
.news-item h3 { font-size: 1.3rem; line-height: 1.35; margin-bottom: .6rem; }
.news-item__text { line-height: 1.75; }
.news-item__text p { margin: 0; }
.news-item__text p + p { margin-top: .75rem; }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; }
.pager__btn { padding: .7rem 1.3rem; border-radius: 999px; border: 2px solid var(--navy); color: var(--navy); font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s; }
.pager__btn:hover { background: var(--navy); color: #fff; }
.pager__btn.is-disabled { border-color: var(--line); color: var(--line); pointer-events: none; }
.pager__info { font-size: .9rem; }

.news-empty { padding: 3rem 1.5rem; border: 1px dashed var(--line); border-radius: var(--r); text-align: center; }
.news-empty p { margin: 0 0 1.25rem; font-size: 1.05rem; }
.news-empty p:last-child { margin: 0; }

.nav a[aria-current="page"] { color: var(--pink-deep); }

@media (max-width: 600px) {
  .news-item { grid-template-columns: 1fr; gap: .75rem; padding: 1.4rem 1.25rem; }
  .news-item__date { flex-direction: row; align-items: baseline; gap: .4rem; padding: 0; border: 0; }
  .news-item__day { font-size: 1.1rem; }
  .news-item__month { margin: 0; font-weight: 700; color: var(--navy); }
  .absences { padding: 1.25rem; }
  .absence { flex-direction: column; gap: .5rem; }
  .absence__tag { min-width: 0; }
  .pager__info { display: none; }
}

/* ============ Stránka Kontakty ============ */
.hero-contacts { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; margin-top: 1.75rem; }
.hero-contacts a { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font: 700 1.15rem var(--head); text-decoration: none; }
.hero-contacts a:hover { color: var(--pink); }
.hero-contacts svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--pink-deep); fill: #fff; flex: none; }

.places-sec { padding-block: clamp(3rem, 6vw, 5rem); }
.places-wrap { max-width: calc(1100px + 2 * var(--gutter)); }
.place + .place { margin-top: clamp(2.5rem, 5vw, 4rem); }
.place__head { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.25rem; margin-bottom: 1.25rem; }
.place__pin { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue-soft); flex: none; }
.place__pin svg { width: 24px; height: 24px; fill: var(--blue); }
.place__head h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.2; }
.place__head p { margin: .2rem 0 0; font-size: .95rem; }
.place__map { margin-left: auto; font-weight: 700; color: var(--pink-deep); text-decoration: none; white-space: nowrap; }
.place__map:hover { text-decoration: underline; }
.place__list { display: grid; gap: 1rem; }
.place__mapimg { position: relative; display: block; margin-bottom: 1rem; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.place__mapimg img { width: 100%; height: auto; aspect-ratio: 1600 / 520; object-fit: cover; transition: transform .5s; }
.place__mapimg:hover img { transform: scale(1.03); }
.place__mapcta { position: absolute; right: 1rem; bottom: 1rem; padding: .55rem 1rem; border-radius: 999px; background: #fff; color: var(--navy); font-size: .88rem; font-weight: 700; box-shadow: var(--shadow); transition: background-color .2s, color .2s; }
.place__mapimg:hover .place__mapcta { background: var(--navy); color: #fff; }
.place__attr { position: absolute; left: .5rem; bottom: .4rem; padding: .1rem .4rem; border-radius: 4px; background: rgba(255, 255, 255, .8); color: var(--text); font-size: .68rem; }

.unit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem 2.5rem; padding: 1.75rem 2rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s, box-shadow .2s; }
.unit:hover { border-color: transparent; box-shadow: var(--shadow); }
.unit__name { font-size: 1.2rem; line-height: 1.35; padding-left: 1rem; border-left: 3px solid var(--pink); align-self: start; }
.unit__label { margin: 0 0 .6rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.unit__phones { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.unit__phones li { display: flex; justify-content: space-between; gap: 1rem; font-size: .93rem; }
.unit__phones a { color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.unit__phones a:hover { color: var(--pink-deep); }
.unit__hours { margin: 0; }
.unit__hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; font-size: .93rem; }
.unit__hours div + div { border-top: 1px solid var(--line); }
.unit__hours dd { margin: 0; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.unit__hours .is-today dt, .unit__hours .is-today dd { color: var(--navy); font-weight: 700; }
.unit__today { margin-left: .35rem; padding: .1rem .5rem; border-radius: 999px; background: var(--pink-deep); color: #fff; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; vertical-align: 1px; }

.contact-sec { padding-block: clamp(3.5rem, 7vw, 6rem); background: linear-gradient(90deg, rgba(35, 45, 78, .55) 0%, rgba(35, 45, 78, .85) 55%, rgba(35, 45, 78, .95) 100%), var(--contact-img) center / cover no-repeat var(--navy); }
.company { color: rgba(255, 255, 255, .88); }
.company h2, .company .company__list dt { color: #fff; }
.company__list div { border-top-color: rgba(255, 255, 255, .2) !important; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; max-width: calc(1100px + 2 * var(--gutter)); }
.contact-form { padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.contact-form h2, .company h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .75rem; }
.contact-form__lead { margin: 0 0 1.75rem; line-height: 1.7; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 700; color: var(--navy); }
.field input, .field textarea { width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: 400 1rem var(--body); color: var(--navy); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(4, 97, 200, .15); }
.field.has-error input, .field.has-error textarea { border-color: var(--sick); }
.field__error { margin: 0; font-size: .85rem; color: var(--sick); }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__gdpr { margin: 1.25rem 0 1.5rem; font-size: .85rem; }
.contact-form__gdpr a { color: var(--pink-deep); }
.form-ok { padding: 1.25rem 1.5rem; border-radius: 10px; background: #e6f4ec; color: var(--ok); line-height: 1.6; }
.form-ok strong { display: block; margin-bottom: .25rem; }

.company { padding-top: .5rem; }
.company__list { margin: 1rem 0 1.5rem; }
.company__list div { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: .65rem 0; border-top: 1px solid var(--line); font-size: .95rem; }
.company__list dt { font-weight: 700; color: var(--navy); }
.company__list dd { margin: 0; }
.company__note { margin: 0; font-size: .9rem; line-height: 1.7; }

@media (max-width: 900px) {
  .unit { grid-template-columns: 1fr 1fr; }
  .unit__name { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-sec { background-image: linear-gradient(rgba(35, 45, 78, .82), rgba(35, 45, 78, .82)), var(--contact-img); }
  .place__mapimg img { aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .unit { grid-template-columns: 1fr; padding: 1.4rem 1.25rem; }
  .place__map { margin-left: 0; flex-basis: 100%; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ============ Chybové stránky (404) ============ */
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1rem; }
