/* ==========================================================================
   Ordinace MUDr. Daniely Priorové – styly
   Design vychází z ui-ux-pro-max (zdravotnictví): klidná tyrkysová, písmo
   Figtree + Noto Sans, měkké zaoblené karty, vysoký kontrast textu (min. 4.5:1).

   POZOR – ANIMACE: web se záměrně NEOHLÍŽÍ na nastavení Windows
   „Zobrazit animace" (prefers-reduced-motion). Všechny animace i video
   proto běží vždy. Video lze ručně pozastavit tlačítkem v hero sekci.
   ========================================================================== */

:root {
  --bg: #F3FBFC;
  --bg-2: #E4F5F8;
  --surface: #FFFFFF;
  --ink: #0F3D4C;          /* hlavní text */
  --ink-2: #3D5B69;        /* tlumený text (na bílé 6.9:1) */
  --line: #CDE6EB;
  --brand: #0E7490;        /* tlačítka, odkazy (bílý text 5.4:1) */
  --brand-600: #0B5F77;
  --brand-400: #22B8CF;
  --brand-100: #D3F1F6;
  --green: #047857;
  --green-100: #D8F5E8;
  --amber: #9A4A06;
  --amber-100: #FDEFD3;
  --night: #082F3C;

  --r1: 12px; --r2: 22px; --r3: 32px;
  --sh1: 0 1px 2px rgba(15, 61, 76, .06), 0 10px 28px -14px rgba(14, 116, 144, .28);
  --sh2: 0 2px 4px rgba(15, 61, 76, .06), 0 24px 48px -18px rgba(14, 116, 144, .42);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --font-head: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }
h1, h2, h3, p, ul, ol, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
.small { font-size: .9rem; color: var(--ink-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r1); transition: top .25s var(--ease); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 40px); }

/* ---------- ukazatel posunu ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 120; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--brand-400), var(--green)); }

/* ---------- hlavička ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; color: #fff; transition: background-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease), height .35s var(--ease); }
.site-header.is-solid, .site-header.nav-open { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(14, 116, 144, .5); }
.site-header.is-solid { height: 66px; }
.header-inner { width: min(1200px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; min-height: 44px; }
.brand:hover { color: inherit; }
.brand-mark { width: 42px; height: 42px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; transition: transform .5s var(--spring), background-color .3s; }
.brand-mark svg { width: 24px; height: 24px; }
.brand:hover .brand-mark { transform: rotate(90deg) scale(1.06); }
.site-header:not(.is-solid):not(.nav-open) .brand-mark { background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .45); }
.brand-text { display: grid; line-height: 1.2; }
.brand-big { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.brand-small { font-size: .78rem; opacity: .85; }

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; color: inherit; text-decoration: none; font-weight: 500; font-size: .98rem; position: relative; transition: background-color .25s, color .25s; }
.main-nav a:hover { background: rgba(14, 116, 144, .12); color: inherit; }
.site-header:not(.is-solid):not(.nav-open) .main-nav a:hover { background: rgba(255, 255, 255, .16); }
.main-nav a.is-active { font-weight: 700; }
.main-nav a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 3px; border-radius: 3px; background: currentColor; translate: -50% 0; }
.main-nav .nav-cta { background: var(--brand); color: #fff; font-weight: 700; margin-left: 8px; padding-inline: 18px; }
.main-nav .nav-cta:hover { background: var(--brand-600); color: #fff; }
.main-nav .nav-cta::after { display: none; }

.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .16); color: inherit; cursor: pointer; place-items: center; }
.site-header.is-solid .nav-toggle, .site-header.nav-open .nav-toggle { background: var(--brand-100); }
.nav-toggle .ico { width: 26px; height: 26px; }
.nav-toggle .ico-close { display: none; }
.nav-open .nav-toggle .ico-open { display: none; }
.nav-open .nav-toggle .ico-close { display: block; }

@media (max-width: 1060px) {
  .nav-toggle { display: grid; }
  .main-nav { position: absolute; inset: 100% 0 auto 0; background: #fff; box-shadow: 0 24px 40px -20px rgba(8, 47, 60, .4); padding: 12px 20px 22px; border-top: 1px solid var(--line); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .45s var(--ease), visibility 0s .45s; }
  .nav-open .main-nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s var(--ease), visibility 0s; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 12px 14px; border-radius: var(--r1); font-size: 1.05rem; color: var(--ink); }
  .main-nav a.is-active::after { display: none; }
  .main-nav a.is-active { background: var(--brand-100); }
  .main-nav .nav-cta { display: flex; margin: 10px 0 0; justify-content: center; color: #fff; }
  .main-nav li { opacity: 0; translate: 0 -8px; transition: opacity .35s var(--ease), translate .35s var(--ease); }
  .nav-open .main-nav li { opacity: 1; translate: 0 0; }
  .nav-open .main-nav li:nth-child(2) { transition-delay: .04s; }
  .nav-open .main-nav li:nth-child(3) { transition-delay: .08s; }
  .nav-open .main-nav li:nth-child(4) { transition-delay: .12s; }
  .nav-open .main-nav li:nth-child(5) { transition-delay: .16s; }
  .nav-open .main-nav li:nth-child(6) { transition-delay: .2s; }
  .nav-open .main-nav li:nth-child(7) { transition-delay: .24s; }
}
@media (max-width: 420px) { .brand-small { display: none; } }

/* ---------- tlačítka ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.2 var(--font-head); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s, border-color .25s; }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(4px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 24px -10px rgba(14, 116, 144, .8); }
.btn-primary:hover { background: var(--brand-600); color: #fff; box-shadow: 0 16px 30px -10px rgba(14, 116, 144, .9); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light { background: #fff; color: var(--brand-600); }
.btn-light:hover { background: var(--bg-2); color: var(--brand-600); }
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); translate: -50% -50%; width: 10px; height: 10px; pointer-events: none; animation: ripple .7s ease-out forwards; }
.btn-ghost .ripple, .btn-light .ripple { background: rgba(14, 116, 144, .25); }
@keyframes ripple { to { width: 420px; height: 420px; opacity: 0; } }

/* ---------- eyebrow ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 .82rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.eyebrow-light { color: var(--brand-400); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: max(100svh, 680px); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, #0B5F77, #0E7490 45%, #1D9CB3); }
.hero-media { position: absolute; inset: 0; z-index: -3; background: url("img/hero-poster.webp") center / cover no-repeat, linear-gradient(135deg, #0B5F77, #1D9CB3); }
@media (max-width: 700px) { .hero-media { background-image: url("img/hero-poster-mobil.webp"), linear-gradient(135deg, #0B5F77, #1D9CB3); } }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-video.is-ready { opacity: 1; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, rgba(6, 38, 49, .86) 0%, rgba(6, 38, 49, .58) 48%, rgba(6, 38, 49, .22) 100%),
  linear-gradient(0deg, rgba(6, 38, 49, .6) 0%, transparent 36%); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: -1; }
.hero .blob-a { width: 420px; height: 420px; left: -120px; top: 12%; background: rgba(34, 184, 207, .35); animation: float 14s ease-in-out infinite; }
.hero .blob-b { width: 360px; height: 360px; right: -80px; bottom: 6%; background: rgba(5, 150, 105, .3); animation: float 17s ease-in-out -6s infinite reverse; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.08); } 66% { transform: translate(-24px, 28px) scale(.95); } }

.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: calc(var(--header-h) + 36px) 96px; translate: calc(var(--mx, 0) * -6px) calc(var(--my, 0) * -5px); transition: translate .5s var(--ease); }
.hero-eyebrow { color: #A5F3FC; margin-bottom: 20px; }
.hero-title { font-size: clamp(2.5rem, 6.4vw, 5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.hero-line { display: block; }
.hero-line-accent { background: linear-gradient(90deg, #A5F3FC, #6EE7B7); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.hero-lead { margin-top: 20px; max-width: 54ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.heartbeat { width: min(320px, 70%); height: 40px; margin-top: 22px; overflow: visible; }
.heartbeat path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; vector-effect: non-scaling-stroke; }
.heartbeat-base { stroke: rgba(255, 255, 255, .25); }
.heartbeat-run { stroke: #6EE7B7; stroke-dasharray: 90 410; stroke-dashoffset: 90; filter: drop-shadow(0 0 6px rgba(110, 231, 183, .9)); animation: beat 2.8s linear infinite; }
@keyframes beat { to { stroke-dashoffset: -410; } }

.notice-chip { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 10px 16px; border-radius: 999px; background: rgba(253, 239, 211, .96); color: #6B3304; font-size: .95rem; font-weight: 600; box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .5); }
.notice-chip[hidden] { display: none; }

/* vstupní animace hero (běží vždy) */
.js .hero-copy > *, .js .hero-card { opacity: 0; translate: 0 26px; animation: rise .9s var(--ease) forwards; animation-delay: calc(.12s * var(--i, 0) + .15s); }
.js .hero-copy > :nth-child(1) { --i: 0; } .js .hero-copy > :nth-child(2) { --i: 1; } .js .hero-copy > :nth-child(3) { --i: 2; }
.js .hero-copy > :nth-child(4) { --i: 3; } .js .hero-copy > :nth-child(5) { --i: 4; } .js .hero-copy > :nth-child(6) { --i: 5; }
.js .hero-card { --i: 4; }
@keyframes rise { to { opacity: 1; translate: 0 0; } }

.hero-card { background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--r3); padding: 28px; backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.hero-card-label { font: 700 .8rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: #A5F3FC; margin-bottom: 14px; }
.open-badge { display: flex; align-items: center; gap: 12px; font: 700 1.3rem/1.25 var(--font-head); letter-spacing: -.01em; }
.dot { position: relative; width: 14px; height: 14px; border-radius: 50%; background: #9CA3AF; flex: none; }
.open-badge.is-open .dot { background: #34D399; }
.open-badge.is-open .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #34D399; animation: ping 1.8s var(--ease) infinite; }
.open-badge.is-closed .dot { background: #FBBF24; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.2); opacity: 0; } }
.hero-card-hours { margin-top: 6px; color: rgba(255, 255, 255, .85); font-size: .98rem; }
.hero-card hr { border: 0; height: 1px; background: rgba(255, 255, 255, .28); margin: 20px 0; }
.hero-card-list { display: grid; gap: 14px; }
.hero-card-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; }
.hero-card-list .ico { margin-top: .2em; color: #A5F3FC; }
.hero-card-list a { color: #fff; font-weight: 700; text-decoration: none; }
.hero-card-list a:hover { text-decoration: underline; color: #fff; }

.video-toggle { position: absolute; right: max(20px, calc((100vw - 1200px) / 2)); bottom: 76px; z-index: 5; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); background: rgba(8, 47, 60, .45); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(8px); transition: background-color .25s, transform .3s var(--spring); }
.video-toggle:hover { background: rgba(8, 47, 60, .8); transform: scale(1.08); }
.video-toggle .ico { width: 22px; height: 22px; }
.video-toggle .ico-play { display: none; }
.video-toggle[aria-pressed="true"] .ico-pause { display: none; }
.video-toggle[aria-pressed="true"] .ico-play { display: block; }

.scroll-cue { position: absolute; left: 50%; bottom: 72px; translate: -50% 0; width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 3px; background: #fff; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

@media (max-width: 900px) {
  .hero { align-items: flex-end; }
  .hero-inner { grid-template-columns: 1fr; padding-block: calc(var(--header-h) + 28px) 88px; gap: 28px; }
  .hero-shade { background: linear-gradient(0deg, rgba(6, 38, 49, .9) 0%, rgba(6, 38, 49, .6) 55%, rgba(6, 38, 49, .45) 100%); }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .hero-card { padding: 22px; border-radius: var(--r2); }
  .video-toggle { bottom: 72px; right: 20px; }
}

/* ==========================================================================
   FAKTA
   ========================================================================== */
.facts { position: relative; z-index: 2; margin-top: -48px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); box-shadow: var(--sh2); padding: 12px; }
.fact { display: grid; gap: 4px; padding: 22px 20px; text-align: center; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact-num { font: 800 clamp(2rem, 4vw, 2.9rem)/1 var(--font-head); letter-spacing: -.03em; color: var(--brand); }
.fact-num-text { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.fact-label { font-size: .95rem; color: var(--ink-2); }
@media (max-width: 760px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ==========================================================================
   SEKCE – společné
   ========================================================================== */
.section { position: relative; padding-block: clamp(64px, 8vw, 104px); overflow: hidden; }
.section-tint { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; display: grid; gap: 14px; justify-items: center; }
.section-head-left { margin: 0 0 32px; text-align: left; justify-items: start; }
.section h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; }
.section-lead { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }
.section [id] { scroll-margin-top: calc(var(--header-h) + 8px); }
section[id] { scroll-margin-top: 56px; }
.blob-c { width: 420px; height: 420px; right: -140px; top: -80px; background: rgba(34, 184, 207, .18); animation: float 18s ease-in-out infinite; }
.blob-d { width: 380px; height: 380px; left: -140px; bottom: -60px; background: rgba(5, 150, 105, .14); animation: float 20s ease-in-out -8s infinite; }
.blob-e { width: 460px; height: 460px; left: 50%; top: -160px; background: rgba(34, 184, 207, .28); animation: float 16s ease-in-out infinite; }

/* odhalování při posunu (translate + opacity, aby se nepralo s transform u naklánění) */
.js .reveal { opacity: 0; translate: 0 34px; transition: opacity .8s var(--ease), translate .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* ---------- karty ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r2); padding: 28px; box-shadow: var(--sh1); transition: box-shadow .35s var(--ease), border-color .35s; }
.card:hover { box-shadow: var(--sh2); border-color: #A9DAE3; }
[data-tilt] { transform-style: preserve-3d; will-change: transform; transition: transform .25s ease-out, box-shadow .35s var(--ease), border-color .35s; }
[data-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(34, 184, 207, .16), transparent 60%); transition: opacity .3s; }
[data-tilt]:hover::after { opacity: 1; }
[data-tilt] { position: relative; }
.card h3 { font-size: 1.28rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--ink-2); }

.tag { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; background: var(--brand-100); color: var(--brand-600); font: 700 .8rem/1.2 var(--font-head); letter-spacing: .04em; }
.tag-green { background: var(--green-100); color: var(--green); }
.tag-amber { background: var(--amber-100); color: var(--amber); }
.news-ico, .service-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--brand-100); color: var(--brand-600); display: grid; place-items: center; margin-bottom: 16px; transition: transform .5s var(--spring), background-color .3s, color .3s; }
.news-ico .ico, .service-ico .ico { width: 26px; height: 26px; }
.ico-amber { background: var(--amber-100); color: var(--amber); }
.card:hover .news-ico, .card:hover .service-ico { transform: rotate(-8deg) scale(1.1); }
.service:hover .service-ico { background: var(--brand); color: #fff; }

/* ---------- aktuality ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-main { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; padding: 20px; align-items: center; }
.news-photo { position: relative; border-radius: calc(var(--r2) - 6px); overflow: hidden; background: linear-gradient(135deg, var(--brand-100), #fff); aspect-ratio: 4 / 3; }
.news-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.news-main:hover .news-photo img { transform: scale(1.05); }
.news-photo figcaption, .photo figcaption { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(8, 47, 60, .72); color: #fff; font-size: .75rem; }
.news-body { padding: 8px 12px 8px 0; }
.news-body h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.vax-list { display: grid; gap: 12px; margin: 22px 0 14px; }
.vax-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 18px; border-radius: var(--r1); background: var(--bg); border: 1px solid var(--line); border-left: 5px solid var(--green); }
.vax-who { font: 700 1.02rem/1.3 var(--font-head); color: var(--ink); }
.vax-what { grid-column: 1; color: var(--ink-2); }
.vax-when { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green); white-space: nowrap; }
.news-item p { font-size: 1rem; }

@media (max-width: 1000px) { .news-grid { grid-template-columns: 1fr 1fr; } .news-main { grid-column: 1 / -1; } .news-item:last-child { grid-column: 1 / -1; } }
@media (max-width: 820px) { .news-main { grid-template-columns: 1fr; gap: 18px; } .news-body { padding: 0 8px 8px; } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } .vax-list li { grid-template-columns: 1fr; } .vax-when { grid-column: 1; grid-row: auto; margin-top: 6px; } }

/* ---------- objednání ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--brand-400) 0 10px, transparent 10px 20px); opacity: .6; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r2); padding: 28px; box-shadow: var(--sh1); text-align: center; }
.step-num { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: -62px auto 18px; border-radius: 50%; background: var(--brand); color: #fff; font: 800 1.7rem/1 var(--font-head); border: 6px solid var(--bg-2); box-shadow: 0 10px 24px -8px rgba(14, 116, 144, .7); transition: transform .5s var(--spring); }
.step:hover .step-num { transform: scale(1.12) rotate(-6deg); }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); }
#objednani .container { padding-top: 40px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 56px; }
  .steps::before { display: none; }
}

/* ---------- ordinační hodiny ---------- */
.hours-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.hours-card { padding: 12px 24px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 1.08rem; }
.hours-table thead th { text-align: left; padding: 14px 8px; font: 700 .8rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.hours-table tbody th, .hours-table tbody td { padding: 16px 12px; border-top: 1px solid var(--line); text-align: left; transition: background-color .3s; }
.hours-table tbody th { font-family: var(--font-head); font-weight: 700; }
.hours-table tbody td { font-variant-numeric: tabular-nums; }
.hours-table tr.is-closed td, .hours-table tr.is-closed th { color: var(--ink-2); font-weight: 500; }
.hours-table tr.is-today th, .hours-table tr.is-today td { background: var(--brand-100); color: var(--ink); font-weight: 800; }
.hours-table tr.is-today th { border-radius: var(--r1) 0 0 var(--r1); position: relative; padding-left: 34px; }
.hours-table tr.is-today th::before { content: ""; position: absolute; left: 14px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--green); animation: ping-sm 1.8s var(--ease) infinite; }
.hours-table tr.is-today td { border-radius: 0 var(--r1) var(--r1) 0; }
@keyframes ping-sm { 0% { box-shadow: 0 0 0 0 rgba(4, 120, 87, .55); } 100% { box-shadow: 0 0 0 12px rgba(4, 120, 87, 0); } }
.hours-side { display: grid; gap: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-weight: 600; color: var(--ink); transition: transform .3s var(--spring), background-color .3s, border-color .3s; }
.chips li:hover { transform: translateY(-3px); background: var(--brand-100); border-color: var(--brand-400); }
.chips b { font: 800 .85rem/1 var(--font-head); color: var(--brand); }
.call-card { background: linear-gradient(135deg, var(--brand), #0A5A70); border: 0; color: #fff; }
.call-card h3, .call-card p { color: #fff; }
.call-card p { margin-bottom: 18px; opacity: .92; }
@media (max-width: 900px) { .hours-layout { grid-template-columns: 1fr; } }

/* ---------- nabízíme ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service { display: flex; flex-direction: column; }
.service h3 { font-size: 1.15rem; }
.service p { font-size: .98rem; }
.info-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 40px; }
.link-ext { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-family: var(--font-head); }
.link-ext .ico { width: 1em; height: 1em; }
@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- tým ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.person-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.person-head h3 { margin-bottom: 2px; font-size: 1.4rem; }
.person-role { color: var(--brand-600) !important; font-weight: 700; }
.avatar { flex: none; width: 72px; height: 72px; border-radius: 24px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-400)); color: #fff; font: 800 1.5rem/1 var(--font-head); letter-spacing: .02em; transition: transform .5s var(--spring), border-radius .5s var(--ease); }
.avatar-green { background: linear-gradient(135deg, var(--green), #34D399); }
.person:hover .avatar { transform: rotate(-6deg) scale(1.06); border-radius: 50%; }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); }
.check-list .ico { margin-top: .25em; color: var(--green); width: 1.1em; height: 1.1em; }
.more { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 6px; }
.more summary, .faq summary { list-style: none; cursor: pointer; }
.more summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.more summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font: 700 1rem/1.2 var(--font-head); color: var(--brand-600); }
.more summary::after, .faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; rotate: 45deg; margin: 0 6px 4px 12px; transition: rotate .35s var(--ease), margin .35s var(--ease); }
.more[open] summary::after, .faq details[open] summary::after { rotate: 225deg; margin-bottom: -4px; }
.timeline { display: grid; gap: 10px; padding: 6px 0 4px; border-left: 2px solid var(--brand-100); margin-left: 6px; animation: drop .45s var(--ease); }
.timeline li { position: relative; padding-left: 20px; color: var(--ink-2); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .6em; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-400); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--brand-400); }
.timeline span { display: block; font: 700 .85rem/1.4 var(--font-head); color: var(--brand-600); }
@keyframes drop { from { opacity: 0; translate: 0 -8px; } }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- jak nás najdete ---------- */
.find-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.find-photos { position: relative; padding-bottom: 60px; }
.photo { position: relative; border-radius: var(--r3); overflow: hidden; box-shadow: var(--sh2); background: var(--brand-100); aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-wide { aspect-ratio: 16 / 6; margin-bottom: 28px; }
@media (max-width: 640px) { .photo-wide { aspect-ratio: 4 / 3; } }
.photo-small { position: absolute; right: -16px; bottom: 0; width: 48%; border: 6px solid var(--bg); border-radius: var(--r2); animation: bob 7s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.route { display: grid; gap: 22px; margin-bottom: 8px; }
.route li { display: flex; gap: 18px; align-items: flex-start; }
.route-dot { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font: 800 1.1rem/1 var(--font-head); box-shadow: 0 8px 18px -8px rgba(14, 116, 144, .8); }
.route strong { display: block; font: 700 1.15rem/1.3 var(--font-head); }
.route p { color: var(--ink-2); }
@media (max-width: 900px) {
  .find-layout { grid-template-columns: 1fr; }
  .find-photos { padding-bottom: 40px; }
  .photo-small { right: 8px; width: 52%; }
}

/* ---------- časté otázky ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r2); padding: 4px 24px; box-shadow: var(--sh1); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--brand-400); box-shadow: var(--sh2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; font: 700 1.08rem/1.35 var(--font-head); color: var(--ink); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq details[open] .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 0 20px; color: var(--ink-2); }

/* ---------- kontakt ---------- */
.contact { background: radial-gradient(120% 120% at 50% 0%, #0E7490 0%, var(--night) 70%); color: #fff; }
.contact h2 { color: #fff; }
.contact .section-lead { color: rgba(255, 255, 255, .85); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { position: relative; display: grid; gap: 6px; justify-items: start; padding: 30px; border-radius: var(--r2); background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .28); color: #fff; text-decoration: none; backdrop-filter: blur(10px); transition: background-color .3s, transform .25s ease-out, border-color .3s; }
a.contact-card:hover { background: rgba(255, 255, 255, .17); border-color: rgba(255, 255, 255, .6); color: #fff; }
.contact-ico { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: rgba(34, 184, 207, .25); color: #A5F3FC; margin-bottom: 12px; }
.contact-ico .ico { width: 26px; height: 26px; }
.contact-label { font: 700 .8rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: #A5F3FC; }
.contact-value { font: 700 clamp(1.15rem, 2.2vw, 1.5rem)/1.3 var(--font-head); overflow-wrap: anywhere; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- patička ---------- */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .82); padding-block: 48px 36px; border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer .small { color: rgba(255, 255, 255, .7); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px 48px; align-items: start; }
.footer-brand { font: 700 1.3rem/1.2 var(--font-head); color: #fff; margin-bottom: 4px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; color: #A5F3FC; }
.footer-note { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- efekty (canvas) ---------- */
#fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; }
