/* SudaMed – návrh 2026 */
:root {
  --bg: #FAFAF7;
  --bg-tint: #F1F5F4;
  --surface: #FFFFFF;
  --ink: #142433;
  --ink-2: #4A5866;
  --ink-3: #7B8794;
  --line: #E3E8E8;
  --teal: #1F6F7A;
  --teal-600: #185C66;
  --teal-50: #E8F1F2;
  --red: #E2554F;
  --red-50: #FDEEED;
  --ok: #2E8B57;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(20,36,51,.04), 0 8px 28px -12px rgba(20,36,51,.12);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-600); }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 500; letter-spacing: -.01em; }
h1, h2 { font-family: var(--serif); }
h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 45%, transparent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--red); border-radius: 2px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  font: 600 .95rem/1 var(--sans); text-decoration: none; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-600); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--lg { min-height: 52px; padding: 14px 26px; font-size: 1rem; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 28px; height: 86px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__logo { width: 54px; height: 54px; flex: none; }
.brand--footer .brand__logo { width: 46px; height: 46px; }
.brand__text strong { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: -.01em; }
.brand__text small { font-size: .82rem; color: var(--ink-3); font-weight: 600; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .93rem; padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { color: var(--ink); background: var(--teal-50); }
.burger { display: none; }

/* Hero */
.hero { position: relative; padding: 64px 0 120px; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% 0%, var(--teal-50), transparent 70%),
    radial-gradient(600px 300px at 0% 100%, var(--red-50), transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); line-height: 1.06; letter-spacing: -.02em; max-width: 14ch; }
.lead { font-size: 1.12rem; color: var(--ink-2); margin-top: 22px; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 40px 0 0; padding: 0; color: var(--ink-2); font-size: .95rem; }
.hero__facts strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--ink); margin-right: 4px; }

/* Today widget */
.today { padding: 26px; }
.today__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.today__head h2 { font-size: 1.35rem; }
.today__date { font-size: .85rem; color: var(--ink-3); font-weight: 600; text-transform: capitalize; }
.today__list { list-style: none; margin: 0; padding: 0; }
.today__item { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.today__item:first-child { border-top: 0; }
.today__name { font-weight: 700; }
.today__time { grid-column: 2; font-size: .9rem; color: var(--ink-2); }
.today__state { grid-row: 1 / span 2; grid-column: 3; font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--bg-tint); color: var(--ink-3); white-space: nowrap; }
.today__state.is-open { background: #E6F4EC; color: var(--ok); }
.today__state.is-soon { background: var(--teal-50); color: var(--teal); }
.today__item .dot { grid-row: 1 / span 2; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: inline-block; flex: none; }
.dot.is-open { background: var(--ok); box-shadow: 0 0 0 4px #E6F4EC; animation: pulse 2s infinite; }
.dot--red { background: var(--red); }
.dot--teal { background: var(--teal); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(46,139,87,.08); } }
.today__note { margin-top: 14px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--ink-3); }

/* Sections */
.section { padding: 96px 0; }
.section--tint { background: var(--bg-tint); }
.section--slim { padding: 48px 0; }
.section__head { margin-bottom: 44px; }
.section__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section__head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.section__intro { color: var(--ink-2); font-size: 1.05rem; }
.footnote { margin-top: 16px; font-size: .88rem; color: var(--ink-3); }

/* Places */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.place { padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s, box-shadow .25s; }
.place:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(20,36,51,.04), 0 18px 40px -18px rgba(20,36,51,.22); }
.place__tag { align-self: flex-start; font-size: .75rem; font-weight: 700; color: var(--teal); background: var(--teal-50); padding: 5px 11px; border-radius: 999px; }
.place h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.place__addr { color: var(--ink-2); }
.place__dl { margin: 4px 0 0; display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.place__dl div { display: flex; justify-content: space-between; gap: 12px; }
.place__dl dt { color: var(--ink-3); font-size: .9rem; }
.place__dl dd { margin: 0; font-weight: 700; }
.place__dl a { text-decoration: none; }
.place--accent { background: linear-gradient(160deg, #fff 40%, var(--teal-50)); }
.link-arrow { margin-top: auto; font-weight: 700; text-decoration: none; font-size: .93rem; display: inline-flex; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.svc { background: var(--surface); padding: 28px 24px; transition: background .2s; }
.svc:hover { background: #FCFDFD; }
.svc__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); display: grid; place-items: center; margin-bottom: 18px; }
.svc__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc:nth-child(1) .svc__ico, .svc:nth-child(5) .svc__ico { background: var(--red-50); }
.svc:nth-child(1) .svc__ico svg, .svc:nth-child(5) .svc__ico svg { stroke: var(--red); }
.svc h3 { margin-bottom: 8px; }
.svc p { color: var(--ink-2); font-size: .93rem; line-height: 1.6; }

/* Tabs + hours */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--bg-tint); border-radius: 999px; margin-bottom: 20px; border: 1px solid var(--line); flex-wrap: wrap; }
.tabs button { font: 600 .95rem var(--sans); border: 0; background: transparent; color: var(--ink-2); padding: 10px 20px; border-radius: 999px; cursor: pointer; min-height: 44px; transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(20,36,51,.1); }
.hours { padding: 12px; }
.hours__panel { display: grid; grid-template-columns: 320px 1fr; gap: 12px; }
.hours__panel[hidden] { display: none; }
.hours__side { background: var(--bg-tint); border-radius: var(--radius-sm); padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hours__side h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.hours__side p { color: var(--ink-2); }
.hours__side .btn { margin-top: 10px; }
.hours__hint { margin-top: auto; padding-top: 18px; font-size: .9rem; display: flex; gap: 10px; align-items: center; }
.week { width: 100%; border-collapse: collapse; }
.week th, .week td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.week tr:last-child th, .week tr:last-child td { border-bottom: 0; }
.week th { font-weight: 600; color: var(--ink-2); width: 34%; }
.week td { font-weight: 700; font-variant-numeric: tabular-nums; line-height: 2; }
.week td.muted { font-weight: 500; }
.week .sep { color: var(--ink-3); margin: 0 6px; font-weight: 400; }
.week tr.is-today th, .week tr.is-today td { background: var(--teal-50); }
.week tr.is-today th { color: var(--teal); border-radius: 10px 0 0 10px; }
.week tr.is-today td { border-radius: 0 10px 10px 0; }
.week tr.is-today th::after { content: "dnes"; margin-left: 10px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--teal); color: #fff; padding: 3px 8px; border-radius: 999px; vertical-align: 2px; }
.pill { display: inline-block; font-size: .74rem; font-weight: 700; color: var(--teal); background: var(--teal-50); padding: 2px 9px; border-radius: 999px; margin-right: 8px; min-width: 92px; text-align: center; }
.is-today .pill { background: #fff; }

/* Steps */
.steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--teal); color: var(--teal); font-family: var(--serif); font-size: 1.15rem; margin-bottom: 18px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: .95rem; }
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.note { padding: 30px; }
.note h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; margin-bottom: 16px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6F7A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.note--alert { background: var(--red-50); border-color: #F6D3D1; box-shadow: none; }
.note--alert p { color: #6B2B28; }
.emergency { display: inline-block; margin: 14px 0 8px; font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--red); text-decoration: none; font-weight: 600; }
.note--alert a { color: #A83A35; font-weight: 700; }

/* Team */
.team { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 20px; }
.person { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 18px; }
.person--lead { background: linear-gradient(150deg, var(--teal-50), #fff 70%); flex-direction: column; }
.person--lead h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.person--lead p:last-child { color: var(--ink-2); font-size: .95rem; margin-top: 10px; }
.avatar { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-family: var(--serif); font-size: 1.2rem; color: var(--red); background: var(--red-50); }
.avatar--teal { color: var(--teal); background: var(--teal-50); }
.person--lead .avatar { width: 72px; height: 72px; font-size: 1.5rem; background: #fff; }
.role { font-size: .88rem; color: var(--ink-3); font-weight: 600; margin-top: 4px; }
.nurses { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nurses span { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: .92rem; }
.nurses .nurses__label { border: 0; background: none; color: var(--ink-3); padding-left: 0; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }

/* Insurers */
.insurers { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.insurers__title { font-family: var(--sans); font-size: 1rem; font-weight: 700; }
.insurers__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.insurers__list li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.insurers__list b { color: var(--teal); margin-right: 6px; font-variant-numeric: tabular-nums; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 48px; background: linear-gradient(135deg, #fff 50%, var(--teal-50)); }
.contact h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.contact__mail { display: inline-block; margin-top: 24px; font-family: var(--serif); font-size: 1.4rem; text-decoration: none; border-bottom: 1.5px solid currentColor; }
.contact__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-content: center; }
.contact__cols h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; margin-bottom: 10px; }
.contact__cols p { color: var(--ink-2); margin-bottom: 12px; }
.contact__cols a { font-weight: 700; text-decoration: none; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.footer__legal { color: var(--ink-3); font-size: .87rem; }
.footer__legal a { color: inherit; }

.fab { display: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: 1fr 1fr; }
  .person--lead { grid-row: span 1; }
  .header__cta { display: none; }
}
@media (max-width: 900px) {
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(20,36,51,.2); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 8px; border-radius: 10px; font-size: 1.05rem; }
  .burger { display: grid; place-content: center; gap: 6px; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
  .burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero { padding: 40px 0 64px; }
  .hero__grid, .section__head--split, .split, .contact, .hours__panel { grid-template-columns: 1fr; }
  .hero__grid { gap: 36px; }
  .places, .steps { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
  .contact { padding: 32px 24px; }
  .fab { display: inline-flex; align-items: center; gap: 8px; position: fixed; right: 16px; bottom: 16px; z-index: 40; background: var(--teal); color: #fff; padding: 14px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px -8px rgba(31,111,122,.55); }
  .fab svg { width: 18px; height: 18px; fill: currentColor; }
}
@media (max-width: 560px) {
  .services, .team, .contact__cols { grid-template-columns: 1fr; }
  .week th, .week td { padding: 14px 12px; }
  .week th { width: 36%; }
  .week tr.is-today th::after { display: none; }
  .pill { min-width: 0; }
  .hours { padding: 8px; }
  .hours__side { padding: 22px; }
  .tabs { display: flex; width: 100%; }
  .tabs button { flex: 1; padding: 10px 8px; }
  .footer__in { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

.nw { white-space: nowrap; }


/* Velké srdce v pozadí hera */
.hero__heart { position: absolute; left: 46%; top: 50%; width: min(940px, 70vw); transform: translateY(-50%) rotate(-6deg); opacity: .13; pointer-events: none; }
.hero__heart path { stroke-width: 2.6; }
.hero__grid { z-index: 1; }
.hero__grid > * { min-width: 0; }

/* Živé hodiny */
.today__head { align-items: center; }
.clock { display: flex; align-items: center; gap: 12px; }
.clock__face { width: 58px; height: 58px; }
.clock__rim { fill: #fff; stroke: var(--line); stroke-width: 3; }
.clock__ticks line { stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; }
.clock__ticks line.big { stroke: var(--ink); stroke-width: 3; }
.clock__h { stroke: var(--teal); stroke-width: 5; stroke-linecap: round; }
.clock__m { stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; }
.clock__s { stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; }
.clock__pin { fill: var(--red); }
.clock__digital { display: flex; flex-direction: column; line-height: 1.1; }
.clock__digital strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.clock__digital small { font-size: .72rem; color: var(--ink-3); font-weight: 600; margin-top: 3px; }
.today__left { display: block; font-size: .8rem; font-weight: 700; color: var(--ok); margin-top: 2px; }
.today__left.soon { color: var(--teal); }
.today__left.warn { color: #B7791F; }

/* Živý stav v ordinačních hodinách */
.live { display: flex; align-self: stretch; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 10px 12px; font-size: .88rem; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.live__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); flex: none; }
.live.is-open { color: var(--ok); border-color: #CDEBD9; background: #F1FAF4; }
.live.is-open .live__dot { background: var(--ok); box-shadow: 0 0 0 4px #DDF1E5; animation: pulse 2s infinite; }
.live.is-soon { color: var(--teal); border-color: #CFE3E6; background: var(--teal-50); }
.live.is-soon .live__dot { background: var(--teal); }
.live b { color: var(--ink); font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .hero__heart { width: 520px; left: auto; right: -250px; top: 62%; opacity: .1; }
  .header__in { height: 76px; }
  .nav { inset: 76px 0 auto 0; }
}
@media (max-width: 560px) {
  .brand__logo { width: 46px; height: 46px; }
  .clock__face { width: 46px; height: 46px; }
  .clock__digital strong { font-size: 1.4rem; }
  .clock__digital small { display: none; }
  .today { padding: 22px 18px; }
  .today__head { gap: 10px; }
  .today__item { grid-template-columns: auto 1fr; }
  .today__state { grid-row: auto; grid-column: 2; justify-self: start; }
}

/* =========================================================
   Vylepšení vzhledu – efekty, místa, infografika, tým, pojišťovny
   ========================================================= */
:root { --ease: cubic-bezier(.2,.8,.2,1); }

/* Ukazatel průběhu čtení */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--teal) 50%, var(--red) 50%); background-size: 200% 100%; }

/* Hlavička: zmenšení při scrollu, podtržení menu */
.header__in, .brand__logo { transition: height .3s var(--ease), width .3s var(--ease); }
.header.is-scrolled .header__in { height: 72px; }
.header.is-scrolled .brand__logo { width: 44px; height: 44px; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal) 50%, var(--red) 50%); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--ink); }

/* Tlačítka – lesklý přejezd */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
.btn .ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #C9463F; color: #fff; transform: translateY(-1px); }

/* Velké srdce – nakreslení a tep */
.hero__heart path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawH 2.4s var(--ease) .2s forwards; }
.hero__heart path + path { animation-delay: .55s; }
.hero__heart { animation: beatH 2.8s ease-in-out 2.8s infinite; }
@keyframes drawH { to { stroke-dashoffset: 0; } }
@keyframes beatH { 0%,100% { scale: 1; } 14% { scale: 1.025; } 28% { scale: 1; } 42% { scale: 1.015; } 56% { scale: 1; } }
.brand__logo { transition: transform .4s var(--ease); }
.brand:hover .brand__logo { transform: scale(1.08) rotate(-4deg); }

/* Hero – nástup textu */
.hero__copy > * { opacity: 0; transform: translateY(18px); animation: upIn .9s var(--ease) forwards; }
.hero__copy > *:nth-child(2) { animation-delay: .1s; } .hero__copy > *:nth-child(3) { animation-delay: .2s; }
.hero__copy > *:nth-child(4) { animation-delay: .3s; } .hero__copy > *:nth-child(5) { animation-delay: .4s; }
.today { opacity: 0; transform: translateY(24px) scale(.98); animation: upIn 1s var(--ease) .35s forwards; }
@keyframes upIn { to { opacity: 1; transform: none; } }

/* Karty služeb – náklon a světlo za kurzorem */
.svc { position: relative; overflow: hidden; }
.svc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(31,111,122,.09), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.svc:hover::before { opacity: 1; }
.svc__ico { transition: transform .45s var(--ease), background .3s; }
.svc:hover .svc__ico { transform: rotate(-8deg) scale(1.1); background: var(--teal); }
.svc:hover .svc__ico svg { stroke: #fff; }
.svc:nth-child(1):hover .svc__ico, .svc:nth-child(5):hover .svc__ico { background: var(--red); }

/* ---------- Přepínač míst ---------- */
.loc { background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 14px; box-shadow: var(--shadow); }
.loc__tabs { position: relative; display: inline-flex; gap: 4px; background: var(--bg-tint); border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin: 4px 0 14px 4px; }
.loc__tabs button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; cursor: pointer; font: 600 .98rem var(--sans); color: var(--ink-2); padding: 11px 22px; border-radius: 999px; min-height: 44px; transition: color .3s; }
.loc__tabs button[aria-selected="true"] { color: var(--ink); }
.loc__tabs i { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.loc__tabs i.r { background: var(--red); } .loc__tabs i.t2 { background: #5FA3AB; }
.loc__ind { position: absolute; top: 5px; bottom: 5px; left: 5px; width: 0; background: #fff; border-radius: 999px; box-shadow: 0 4px 14px -6px rgba(20,36,51,.35); transition: left .5s var(--ease), width .5s var(--ease); }
.loc__body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: stretch; }
.loc__stage { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 800 / 520; background: var(--bg-tint); }
.scene { position: absolute; inset: 0; margin: 0; clip-path: circle(0% at var(--cx, 50%) var(--cy, 50%)); transition: clip-path 1s cubic-bezier(.7,0,.2,1); z-index: 1; }
.scene.is-active { clip-path: circle(150% at var(--cx, 50%) var(--cy, 50%)); z-index: 2; }
.scene svg { width: 100%; height: 100%; display: block; }
.scene .layer { transition: transform .6s var(--ease); transform: translate(calc(var(--px, 0) * var(--d, 0) * 1px), calc(var(--py, 0) * var(--d, 0) * 1px)); }
.scene .pin { animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -10px; } }
.scene .boat { animation: sail 7s ease-in-out infinite; }
@keyframes sail { 50% { transform: translateX(-60px); } }
.scene .echo { animation: echo 1.4s ease-in-out infinite; transform-origin: 564px 224px; }
@keyframes echo { 0%,100% { transform: scale(1); } 20% { transform: scale(1.18); } 40% { transform: scale(1); } }
.scene figcaption { position: absolute; left: 14px; bottom: 12px; background: rgba(255,255,255,.88); backdrop-filter: blur(6px); font-size: .75rem; font-weight: 700; color: var(--ink-2); padding: 5px 12px; border-radius: 999px; }
.loc__info { position: relative; display: grid; align-items: center; padding: 8px 16px 8px 0; }
.loc .place { grid-area: 1 / 1; padding: 0; border: 0; box-shadow: none; background: none; min-height: 0; transform: none; }
.loc .place:hover { transform: none; box-shadow: none; }
.loc .place[hidden] { display: flex; visibility: hidden; opacity: 0; transform: translateX(28px); }
.loc .place { transition: opacity .5s var(--ease) .2s, transform .6s var(--ease) .2s, visibility 0s; }
.loc .place h3 { font-size: clamp(2rem, 3.4vw, 2.7rem); }
.place__tag--red { background: var(--red-50); color: #C9463F; }
.loc .place__addr { display: flex; gap: 10px; align-items: flex-start; font-size: 1.1rem; color: var(--ink); font-weight: 600; }
.loc .place__addr .ic { width: 20px; height: 20px; margin-top: 4px; flex: none; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.loc .place__dl { font-size: 1rem; }
.place__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ---------- Infografika ---------- */
.flow { position: relative; }
.flow__path { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; overflow: visible; }
.flow__track { fill: none; stroke: #CFDADA; stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.flow__line { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease); }
.flow.is-in .flow__line { stroke-dashoffset: 0; }
.flow__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.flow__step { text-align: center; padding: 14px 18px 0; opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * .4s + .2s); }
.flow.is-in .flow__step { opacity: 1; transform: none; }
.flow__node { position: relative; display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; background: #fff; color: var(--teal); box-shadow: 0 0 0 8px var(--bg-tint), 0 18px 40px -18px rgba(20,36,51,.45); transition: transform .4s var(--ease), background .3s, color .3s; }
.flow__step:nth-child(2) .flow__node { color: var(--red); }
.flow__node .ic { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flow__node em { position: absolute; right: -4px; top: -4px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 1rem var(--serif); font-style: normal; color: #fff; background: var(--teal); box-shadow: 0 0 0 4px var(--bg-tint); }
.flow__step:nth-child(2) .flow__node em { background: var(--red); }
.flow__step:hover .flow__node { transform: translateY(-6px) scale(1.05); background: var(--teal); color: #fff; }
.flow__step:nth-child(2):hover .flow__node { background: var(--red); }
.flow__chip { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); background: #fff; border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.flow__step h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; margin-bottom: 8px; }
.flow__step p { color: var(--ink-2); font-size: .97rem; max-width: 34ch; margin: 0 auto; }
.bring { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 40px auto 34px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 22px; width: fit-content; max-width: 100%; }
.bring__label { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.bring ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 20px; flex-wrap: wrap; justify-content: center; }
.bring li { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .93rem; }
.bring li span { width: 36px; height: 36px; border-radius: 12px; background: var(--teal-50); display: grid; place-items: center; transition: transform .35s var(--ease); }
.bring li:nth-child(even) span { background: var(--red-50); }
.bring li:hover span { transform: rotate(-8deg) scale(1.1); }
.bring .ic { width: 19px; height: 19px; fill: none; stroke: var(--teal); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.bring li:nth-child(even) .ic { stroke: var(--red); }

/* ---------- Tým s fotkami ---------- */
.person { padding: 0; overflow: hidden; gap: 0; transition: transform .4s var(--ease), box-shadow .4s; }
.person:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(20,36,51,.4); }
.person > div:last-child { padding: 18px 22px 22px; }
.person__photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(160deg, var(--teal-50), #fff); }
.person__photo--red { background: linear-gradient(160deg, var(--red-50), #fff); }
.person__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); filter: saturate(.92); transition: transform .9s var(--ease), filter .5s; }
.person:hover .person__photo img { transform: scale(1.08); filter: saturate(1.05); }
.person__photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(31,111,122,.28)); }
.person__photo--red::after { background: linear-gradient(transparent, rgba(226,85,79,.25)); }
.person__ini { position: absolute; inset: 0; display: grid; place-items: center; font: 500 3.2rem var(--serif); color: var(--teal); }
.person__photo--red .person__ini { color: var(--red); }
.person__badge { position: absolute; left: 12px; top: 12px; z-index: 2; background: rgba(255,255,255,.9); backdrop-filter: blur(6px); color: var(--ink-2); font-size: .68rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.person--lead { flex-direction: column; }
.person--lead .person__photo { aspect-ratio: 1.62; }
.person--lead > div:last-child { padding: 18px 22px 22px; }
.person--lead p:last-child { margin-top: 6px; }

/* ---------- Pojišťovny ---------- */
.ins__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.ins__head .insurers__title { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 500; }
.ins { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.ins a { display: flex; flex-direction: column; height: 100%; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px; text-decoration: none; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.ins a:hover { transform: translateY(-5px); border-color: var(--teal); box-shadow: 0 22px 40px -28px rgba(31,111,122,.6); }
.ins__logo { position: relative; display: grid; place-items: center; height: 70px; border-radius: 14px; background: var(--bg); overflow: hidden; }
.ins__logo img { position: relative; z-index: 1; max-width: 82%; max-height: 46px; object-fit: contain; filter: grayscale(1) contrast(1.15); opacity: .62; mix-blend-mode: multiply; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.ins a:hover .ins__logo img { filter: none; opacity: 1; transform: scale(1.05); }
.ins__logo img + .ins__word { display: none; }
.ins__word b { font: 600 1.25rem var(--serif); letter-spacing: -.01em; color: var(--ink-2); transition: color .3s; }
.ins a:hover .ins__word b { color: var(--teal); }
.ins__meta { font-size: .8rem; color: var(--ink-2); line-height: 1.35; flex: 1; }
.ins__meta b { color: var(--teal); margin-right: 2px; }
.ins__link { font-size: .8rem; font-weight: 800; }
.ins a:hover .ins__link { color: var(--teal); }

/* Odhalení při scrollu (obecné) */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-group] > * { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * .06s); }
[data-reveal-group].is-in > * { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .ins { grid-template-columns: repeat(4, 1fr); }
  .loc__body { grid-template-columns: 1fr; }
  .loc__info { padding: 4px 10px 12px; }
  .person--lead { flex-direction: column; }
  .person--lead .person__photo { flex: none; aspect-ratio: 16 / 10; }
}
@media (max-width: 900px) {
  .flow__path { display: none; }
  .flow__steps { grid-template-columns: 1fr; gap: 0; }
  .flow__step { display: grid; grid-template-columns: 76px 1fr; column-gap: 18px; text-align: left; padding: 0 0 26px; position: relative; }
  .flow__step::before { content: ""; position: absolute; left: 37px; top: 80px; bottom: 4px; border-left: 3px dotted #CFDADA; }
  .flow__step:last-child::before { display: none; }
  .flow__node { grid-row: span 3; width: 76px; height: 76px; margin: 0; }
  .flow__node .ic { width: 32px; height: 32px; }
  .flow__chip { justify-self: start; margin: 6px 0 6px; }
  .flow__step p { margin: 0; max-width: none; }
  .bring { border-radius: 24px; }
  .loc__tabs { display: flex; margin: 0 0 12px; }
  .loc__tabs button { flex: 1; padding: 10px 8px; justify-content: center; }
}
@media (max-width: 560px) {
  .ins { grid-template-columns: repeat(2, 1fr); }
  .loc { padding: 10px; border-radius: 24px; }
  .loc__tabs button { font-size: .88rem; gap: 6px; }
  .loc__tabs i { display: none; }
  .team { grid-template-columns: 1fr 1fr; gap: 12px; }
  .person--lead { grid-column: 1 / -1; }
  .person > div:last-child { padding: 12px 14px 16px; }
  .person h3 { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__heart path { stroke-dashoffset: 0; }
  .hero__copy > *, .today { opacity: 1; transform: none; }
  .flow__step, [data-reveal], [data-reveal-group] > * { opacity: 1; transform: none; }
  .flow__line { stroke-dashoffset: 0; }
}

/* Mapy v přepínači míst */
.loc__stage { background: #E7EEED; }
.scene__map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.75) contrast(1.02); transition: filter .4s; }
.loc__stage:hover .scene__map { filter: none; }
.scene .scene__cap { left: 14px; right: auto; bottom: 14px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; font-size: .82rem; color: var(--ink); box-shadow: 0 10px 24px -14px rgba(20,36,51,.45); }
.scene__cap a { background: var(--teal); color: #fff; text-decoration: none; padding: 5px 11px; border-radius: 999px; font-weight: 700; }
.scene__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-50); flex: none; }
.scene[data-scene="dx"] .scene__dot, .scene[data-scene="dx"] .scene__cap a { background: var(--red); }
.scene[data-scene="dx"] .scene__dot { box-shadow: 0 0 0 4px var(--red-50); }
@media (max-width: 560px) { .loc__stage { aspect-ratio: 4 / 3.4; } .scene .scene__cap { left: 8px; bottom: 8px; font-size: .74rem; } }

/* Avatary místo fotek */
.avatar-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.avatar-body { transform-origin: 100px 200px; transition: transform .8s var(--ease); }
.person:hover .avatar-body { transform: scale(1.04) translateY(-3px); }
.avatar-heart { transition: opacity .5s; }
.person:hover .avatar-heart { opacity: 1; }
.person__photo::after { display: none; }

/* Pojišťovny – jen loga + tooltip */
.ins { gap: 14px; }
.ins a { position: relative; padding: 0; gap: 0; border-radius: 18px; overflow: visible; }
.ins__logo { height: 96px; background: #fff; border-radius: 18px; }
.ins__word b { font-size: 1.35rem; color: var(--ink-3); }
.ins a::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translate(-50%, 6px); width: max-content; max-width: 240px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; line-height: 1.35; text-align: center; padding: 8px 12px; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); z-index: 5; box-shadow: 0 12px 24px -12px rgba(20,36,51,.5); }
.ins a::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 6px); border: 6px solid transparent; border-top-color: var(--ink); transform: translate(-50%, 6px); opacity: 0; transition: opacity .25s, transform .25s var(--ease); z-index: 5; }
.ins a:hover::after, .ins a:focus-visible::after, .ins a:hover::before, .ins a:focus-visible::before { opacity: 1; transform: translate(-50%, 0); }
.ins a::after { white-space: normal; }
@media (max-width: 560px) { .ins { grid-template-columns: repeat(3, 1fr); } .ins__logo { height: 76px; } .ins__word b { font-size: 1.05rem; } }

/* Stav u dnešního dne */
.week td.week__st { width: 1%; white-space: nowrap; text-align: right; line-height: 1.4; }
.week tr:not(.is-today) td.week__st { padding: 0; }
.st { display: inline-grid; grid-template-columns: auto; justify-items: end; gap: 6px; }
.st__pill, .week-note .st__pill { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--ink-2); box-shadow: 0 4px 12px -8px rgba(20,36,51,.4); }
.st__pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); }
.st__txt { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.st__txt b { color: var(--ink); font-variant-numeric: tabular-nums; }
.st--open .st__pill { background: var(--ok); color: #fff; }
.st--open .st__pill i { background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: stPing 1.8s infinite; }
@keyframes stPing { 70% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.st--warn .st__pill { background: #C07A12; }
.st__bar { width: 150px; height: 5px; border-radius: 5px; background: rgba(20,36,51,.1); overflow: hidden; }
.st__bar span { display: block; height: 100%; border-radius: inherit; background: var(--ok); transition: width 1s var(--ease); }
.st--warn .st__bar span { background: #C07A12; }
.st--soon .st__pill { background: var(--teal); color: #fff; }
.st--soon .st__pill i { background: #fff; }
.st--closed .st__pill { background: #fff; }
.week .nw.is-now { background: var(--ok); color: #fff; padding: 3px 9px; border-radius: 8px; }
.week .nw.is-next { outline: 2px dashed var(--teal); outline-offset: 2px; border-radius: 6px; }
.week-note { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; margin: 0 0 6px; border-radius: 14px; background: var(--bg-tint); font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.week caption.week-note { caption-side: top; text-align: left; margin-bottom: 8px; }
.week tr.is-today td:not(:last-child) { border-radius: 0; }
.week__mrow { display: none; }
.week caption.week-note { display: table-caption; }
.week-note .st__pill { margin-right: 10px; }
@media (max-width: 760px) {
  .week td.week__st { display: none; }
  .week__mrow { display: table-row; }
  .week__mrow td { padding: 0 12px 14px !important; background: var(--teal-50); border-radius: 0 0 10px 10px; }
  .week tr.is-today th, .week tr.is-today td { border-bottom: 0; }
  .week tr.is-today th { border-radius: 10px 0 0 0; } .week tr.is-today td { border-radius: 0 10px 0 0; }
  .week__mrow .st { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; justify-items: start; }
  .week__mrow .st__bar { width: 100%; }
}
@media (max-width: 560px) { .week .sep { display: none; } .week td > .nw { display: table; margin: 2px 0; } }

/* ===== Úpravy 18:30 ===== */
/* Větší čísla v úvodu */
.hero__facts { gap: 14px 44px; margin-top: 44px; font-size: 1.05rem; }
.hero__facts li { display: flex; align-items: baseline; gap: 10px; }
.hero__facts strong { font-size: clamp(2.8rem, 4.4vw, 3.6rem); line-height: 1; color: var(--teal); margin: 0; }
.hero__facts li:nth-child(2) strong { color: var(--red); }

/* Kde nás najdete: text vlevo, mapa vpravo */
.loc__body { grid-template-columns: 1fr 1.5fr; }
.loc__info { padding: 8px 0 8px 18px; }
@media (max-width: 1080px) { .loc__body { grid-template-columns: 1fr; } .loc__info { padding: 4px 10px 12px; } }

/* Pojišťovny: jen jednobarevná loga, bez podkladu */
.ins { gap: 8px 28px; align-items: center; }
.ins a, .ins a:hover { background: none; border: 0; box-shadow: none; padding: 0; transform: none; }
.ins__logo { height: 72px; background: none; border-radius: 0; display: grid; place-items: center; }
.ins__mark { display: none; width: 100%; height: 48px; background: var(--ink-3); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; transition: background .3s, transform .35s var(--ease); }
.ins__logo.has-logo .ins__mark { display: block; }
.ins__logo.has-logo .ins__word { display: none; }
.ins__word { font: 600 1.3rem var(--serif); letter-spacing: -.01em; color: var(--ink-3); transition: color .3s, transform .35s var(--ease); white-space: nowrap; }
.ins a:hover .ins__mark, .ins a:focus-visible .ins__mark { background: var(--teal); transform: scale(1.06); }
.ins a:hover .ins__word, .ins a:focus-visible .ins__word { color: var(--teal); transform: scale(1.06); }

/* Infografika – jemnější */
.flow__track { stroke: #DCE5E4; stroke-width: 2; stroke-dasharray: 1 8; }
.flow__line { stroke: #9CC3C6; stroke-width: 2; }
.flow__node { width: 72px; height: 72px; margin-bottom: 14px; background: var(--bg-tint); box-shadow: 0 0 0 6px var(--bg-tint); border: 1.5px solid #D5E3E3; color: var(--teal); }
.flow__step:nth-child(2) .flow__node { color: var(--teal); }
.flow__node .ic { width: 28px; height: 28px; stroke-width: 1.5; }
.flow__node em { width: 24px; height: 24px; font-size: .8rem; right: -2px; top: -2px; background: #fff; color: var(--teal); border: 1.5px solid #D5E3E3; box-shadow: none; }
.flow__step:nth-child(2) .flow__node em { background: #fff; color: var(--teal); }
.flow__step:hover .flow__node, .flow__step:nth-child(2):hover .flow__node { transform: none; background: #fff; color: var(--teal); }
.flow__chip { background: none; border: 0; padding: 0; margin-bottom: 6px; color: var(--ink-3); font-weight: 700; letter-spacing: .12em; }
.flow__step h3 { font-size: 1.25rem; }
.flow__step p { font-size: .93rem; color: var(--ink-3); }
.bring { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 22px 0 0; margin-top: 34px; }
.bring li { font-weight: 600; color: var(--ink-2); }
.bring li span, .bring li:nth-child(even) span { width: auto; height: auto; background: none; }
.bring .ic, .bring li:nth-child(even) .ic { stroke: var(--ink-3); width: 18px; height: 18px; }
@media (max-width: 900px) { .flow__node { width: 60px; height: 60px; } .flow__step { grid-template-columns: 60px 1fr; } .flow__step::before { left: 29px; top: 66px; border-left: 2px dotted #DCE5E4; } }
@media (max-width: 560px) { .hero__facts { gap: 10px 28px; } .ins { grid-template-columns: repeat(3, 1fr); gap: 4px 16px; } .ins__word { font-size: 1.05rem; } }
.ins__img { max-width: 100%; max-height: 48px; object-fit: contain; filter: brightness(0) opacity(.42); transition: filter .3s, transform .35s var(--ease); }
.ins a:hover .ins__img { filter: brightness(0) opacity(.8); transform: scale(1.06); }

/* ===== Ciferník „Dnes ordinujeme“ ===== */
.dialcard .today__date b { color: var(--ink); font-variant-numeric: tabular-nums; }
.dialcard .today__date { text-transform: none; }
.dial__body { display: grid; grid-template-columns: 210px 1fr; gap: 22px; align-items: center; margin-top: 6px; }
.dial { width: 100%; height: auto; overflow: visible; }
.dial__track { fill: none; stroke: var(--bg-tint); stroke-width: 9; }
.dial__arc { fill: none; stroke-width: 9; stroke-linecap: round; transition: opacity .4s; }
.dial__arc.is-past { opacity: .28; }
.dial__arc.is-next { opacity: .5; }
.dial__arc.is-now { opacity: 1; }
.dial__nums text { font: 600 11px var(--sans); fill: var(--ink-3); text-anchor: middle; }
.dial__h { stroke: var(--ink); stroke-width: 4.5; stroke-linecap: round; }
.dial__m { stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; }
.dial__now { stroke: var(--red); stroke-width: 1.6; stroke-dasharray: 3 3; }
.dial__pin { fill: var(--red); }
.dial__h, .dial__m, .dial__now { transition: transform .4s var(--ease); }
.dial__legend { display: grid; gap: 14px; }
.dl { display: grid; grid-template-columns: 12px 1fr auto; gap: 4px 12px; align-items: start; }
.dl i { width: 12px; height: 12px; border-radius: 4px; margin-top: 5px; }
.dl b { display: block; font-size: 1rem; }
.dl span { display: block; font-size: .8rem; color: var(--ink-3); line-height: 1.45; }
.dl small { display: block; font-size: .75rem; color: var(--ink-3); margin-top: 2px; }
.dl em { font-style: normal; font-size: .75rem; font-weight: 800; color: var(--ink-3); background: var(--bg-tint); padding: 5px 10px; border-radius: 999px; white-space: nowrap; margin-top: 1px; }
.dl em.open { background: #E6F4EC; color: var(--ok); }
.dl em.warn { background: #FBEEDB; color: #A86410; }
.dl em.soon { background: var(--teal-50); color: var(--teal); }
@media (max-width: 1180px) and (min-width: 901px) { .dial__body { grid-template-columns: 1fr; } .dial { max-width: 220px; margin: 0 auto; } }
@media (max-width: 560px) { .dial__body { grid-template-columns: 1fr; } .dial { max-width: 230px; margin: 0 auto; } }
.dial__body { grid-template-columns: 200px minmax(0, 1fr); }
.dl { grid-template-columns: 12px minmax(0, 1fr); }
.dl > div { min-width: 0; }
.dl > div > span { display: block; }
.dl .nw { display: inline; white-space: nowrap; }
.dl em { grid-column: 2; justify-self: start; margin-top: 4px; }
.dl b { display: inline; }

/* ===== Varianta 2: ciferník vystupuje z rohu karty ===== */
.dialcard--pop { position: relative; overflow: visible; margin-top: 70px; padding: 30px 28px 24px; }
.dial__pop { position: absolute; right: -34px; top: -78px; width: 232px; height: 232px; border-radius: 50%; background: #fff; padding: 12px; box-shadow: 0 22px 48px -20px rgba(20,36,51,.38); z-index: 2; }
.dial__pop .dial { width: 100%; height: 100%; display: block; }
.dialcard--pop .today__head { display: block; min-height: 150px; padding-right: 200px; margin-bottom: 4px; }
.dialcard--pop .today__head h2 { font-size: 1.75rem; line-height: 1.15; }
.dialcard--pop .today__date { display: block; margin-top: 6px; font-size: .92rem; }
.today__bigtime { display: block; margin-top: 14px; font: 500 3.2rem/1 var(--serif); color: var(--teal); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.dialcard--pop .dial__legend { display: block; }
.dialcard--pop .dl { grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.dialcard--pop .dl:first-child { border-top: 0; }
.dialcard--pop .dl i { margin-top: 0; }
.dialcard--pop .dl b { display: block; font-size: 1.02rem; }
.dialcard--pop .dl em { grid-column: auto; justify-self: end; margin-top: 0; }
@media (max-width: 1180px) and (min-width: 901px) {
  .dial__pop { width: 190px; height: 190px; right: -24px; top: -64px; }
  .dialcard--pop .today__head { padding-right: 150px; min-height: 130px; }
}
@media (max-width: 900px) { .dialcard--pop { margin-top: 64px; } }
@media (max-width: 560px) {
  .dial__pop { width: 150px; height: 150px; right: -8px; top: -60px; padding: 8px; }
  .dialcard--pop { padding: 24px 18px 20px; }
  .dialcard--pop .today__head { padding-right: 120px; min-height: 110px; }
  .dialcard--pop .today__head h2 { font-size: 1.4rem; }
  .today__bigtime { font-size: 2.5rem; }
  .dialcard--pop .dl { grid-template-columns: 12px minmax(0, 1fr); }
  .dialcard--pop .dl em { grid-column: 2; justify-self: start; }
}
@media (max-width: 560px) { .dl .nw { white-space: normal; } .dialcard--pop .dl > div { overflow-wrap: anywhere; } }
html { overflow-x: clip; }

/* ===== Karty Předoperační / Akutní – lehká grafika ===== */
.note { position: relative; overflow: hidden; }
.note > *:not(.note__deco) { position: relative; z-index: 1; }
.note--pre { background: linear-gradient(160deg, #fff 55%, #F1F7F7); }
.note__deco { position: absolute; right: -24px; bottom: -30px; width: 210px; height: 210px; fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: .07; transform: rotate(-8deg); transition: transform .8s var(--ease), opacity .5s; }
.note:hover .note__deco { transform: rotate(-3deg) scale(1.05); opacity: .1; }
.note__deco--alert { stroke: var(--red); opacity: .12; right: -18px; bottom: -24px; }
.note__hd { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.note__hd h3 { margin: 0; }
.note__badge { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); }
.note__badge .ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.note__badge--alert { background: var(--red); color: #fff; border-radius: 50%; animation: sosPulse 1.8s infinite; }
@keyframes sosPulse { 0% { box-shadow: 0 0 0 0 rgba(226,85,79,.45); } 70% { box-shadow: 0 0 0 12px rgba(226,85,79,0); } 100% { box-shadow: 0 0 0 0 rgba(226,85,79,0); } }
.checks--ic { gap: 12px; }
.checks--ic li { padding-left: 0; display: flex; align-items: center; gap: 12px; }
.checks--ic li::before { display: none; }
.note__ic { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--teal); transition: transform .35s var(--ease), background .3s, color .3s; }
.note__ic .ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.checks--ic li:hover .note__ic { transform: rotate(-6deg) scale(1.08); background: var(--teal); color: #fff; border-color: var(--teal); }
.note--alert { background: linear-gradient(160deg, var(--red-50) 50%, #FBE2DF); }
.emergency { display: inline-flex; align-items: center; gap: 14px; margin: 16px 0 10px; }
.emergency__ic { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 22px -12px rgba(226,85,79,.6); transition: transform .3s var(--ease); }
.emergency__ic .ic { width: 22px; height: 22px; fill: var(--red); stroke: none; }
.emergency:hover .emergency__ic { transform: rotate(-12deg) scale(1.06); }
.chip112 { display: inline-block; background: #fff; padding: 1px 9px; border-radius: 999px; text-decoration: none !important; margin-left: 4px; }
