/* Písma jsou hostovaná lokálně (žádné požadavky na Google Fonts kvůli GDPR). Licence: fonts/OFL-*.txt */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-serif-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-serif-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #0f2748;
  --muted: #4f5f6b;
  --paper: #f5f5ef;
  --white: #fffefa;
  --teal: #00a7b6;
  --teal-dark: #0a737c;
  --mint: #dcecea;
  --line: #d9dfd9;
  --coral: #d66b54;
  --coral-text: #b04e38;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px; background: var(--ink); color: white; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--teal-dark); outline-offset: 3px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before { width: 23px; height: 2px; background: var(--coral); content: ""; }

/* Hlavička */
.site-header { position: relative; border-bottom: 1px solid rgba(15, 39, 72, .1); }
.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { width: 210px; flex: 0 1 210px; }
.brand img { width: 100%; height: auto; }
.audience { display: flex; padding: 4px; border: 1px solid rgba(15, 39, 72, .15); border-radius: 4px; background: var(--white); }
.audience a { padding: 9px 20px; white-space: nowrap; border-radius: 3px; color: var(--muted); font-size: 15px; font-weight: 700; text-align: center; text-decoration: none; }
.audience a:hover { color: var(--teal-dark); }
.audience a[aria-current="page"] { background: var(--ink); color: white; }
.subnav { border-top: 1px solid rgba(15, 39, 72, .08); background: rgba(255, 254, 250, .6); }
.subnav-links { display: flex; gap: clamp(18px, 3vw, 36px); padding: 13px 0; overflow-x: auto; scrollbar-width: none; }
.subnav-links::-webkit-scrollbar { display: none; }
.subnav-links a { color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.subnav-links a:hover { color: var(--teal-dark); }
.subnav-links .only-mobile { display: none; }
.nav-cta, .button {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--teal-dark);
  border-radius: 3px;
  background: var(--teal-dark);
  color: white;
  font: 700 14px var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.nav-cta:hover, .button:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.button-light { border-color: var(--ink); background: transparent; color: var(--ink); }
.button-light:hover { color: white; }

/* Úvod */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 110px) 0 90px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr); align-items: center; gap: 60px; }
.hero-side { display: flex; flex-direction: column; align-items: center; gap: 46px; }
.hero-portrait {
  display: grid;
  width: min(100%, 340px);
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(0, 167, 182, .25);
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 16px rgba(0, 167, 182, .07), 0 0 0 32px rgba(0, 167, 182, .04);
  color: var(--teal-dark);
  text-align: center;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-portrait span { max-width: 180px; font: 400 22px/1.25 var(--serif); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font: 400 clamp(38px, 4.8vw, 62px)/1.06 var(--serif);
  letter-spacing: 0;
}
h1 span, h2 span { color: var(--teal-dark); }
.hero-copy { max-width: 610px; margin-bottom: 30px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.text-link { color: var(--teal-dark); font-size: 14px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hero-note {
  max-width: 330px;
  margin: 0;
  padding: 4px 0 4px 25px;
  border-left: 2px solid var(--coral);
  color: var(--muted);
  font-size: 15px;
}
.hero-note strong { display: block; color: var(--ink); font: 400 24px/1.2 var(--serif); }
.hero-role { display: block; margin: 2px 0 10px; color: var(--teal-dark); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.facts { border-block: 1px solid var(--line); background: rgba(255, 254, 250, .66); }
.facts-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; padding: 0; list-style: none; }
.facts-list li { padding: 20px 20px 20px 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.facts-list li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.facts-list strong { display: block; color: var(--ink); font-size: 15px; }

/* Sekce */
section { scroll-margin-top: 30px; }
.section { padding: 100px 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, .9fr) minmax(250px, .6fr); align-items: end; gap: 40px; margin-bottom: 44px; }
h2 { max-width: 690px; margin-bottom: 0; font: 400 clamp(30px, 3.4vw, 44px)/1.1 var(--serif); letter-spacing: 0; }
.section-heading > p { max-width: 390px; margin: 0; color: var(--muted); }
h3 { margin-bottom: 10px; font: 400 25px/1.2 var(--serif); }

.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.service { padding: 26px 24px 28px 0; border-bottom: 1px solid var(--line); }
.service + .service { padding-left: 24px; border-left: 1px solid var(--line); }
.service-index { margin-bottom: 26px; color: var(--coral-text); font-size: 13px; font-weight: 700; }
.service > p { margin-bottom: 14px; color: var(--muted); font-size: 14px; }
.check-list { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.check-list li { position: relative; padding: 5px 0 5px 20px; border-top: 1px dashed var(--line); }
.check-list li::before { position: absolute; left: 0; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); content: ""; }
.scope-note { max-width: 760px; margin: 24px 0 0; padding-left: 16px; border-left: 2px solid var(--coral); color: var(--muted); font-size: 14px; }

.process { background: var(--ink); color: var(--white); }
.process .eyebrow { color: #9bd8dc; }
.process .section-heading > p { color: #c6d2dc; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.2); }
.step { min-height: 200px; padding: 25px; background: var(--ink); }
.step-num { display: flex; width: 34px; height: 34px; align-items: center; justify-content: center; margin-bottom: 24px; border: 1px solid #6fc3ca; border-radius: 50%; color: #9bd8dc; font-size: 12px; font-weight: 700; }
.step h3 { color: white; }
.step p { margin-bottom: 0; color: #c6d2dc; font-size: 14px; }

/* Odměna */
.fee-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 70px; }
#odmena .faq-answer { max-width: none; }
#odmena .fee-grid { align-items: start; gap: 40px; }
.fee-points { margin: 0; padding: 0; list-style: none; }
.fee-points li { padding: 12px 0; border-top: 1px solid var(--line); }
.fee-points strong { display: block; color: var(--ink); }
.fee-points span { color: var(--muted); font-size: 14px; }
.fee-visual { margin: 0; padding: 34px; background: var(--paper); border: 1px solid var(--line); }
.fee-visual .fee-source, .fee-bar strong { color: var(--ink); }
.fee-bar div:first-child strong { color: white; }
.fee-label { margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fee-source { padding: 18px 20px; border: 1px solid var(--ink); text-align: center; font-weight: 700; }
.fee-arrow { width: 2px; height: 36px; margin: 0 auto; background: var(--ink); }
.fee-bar { display: grid; grid-template-columns: 3fr 2fr; min-height: 92px; }
.fee-bar div { display: flex; flex-direction: column; justify-content: center; padding: 14px 18px; line-height: 1.3; }
.fee-bar div:first-child { background: var(--teal-dark); color: white; }
.fee-bar div:last-child { background: var(--mint); color: var(--ink); }
.fee-bar small { margin-top: 4px; font-size: 13px; opacity: .85; }
.fee-visual > p { margin: 16px 0 0; color: var(--muted); font-size: 13px; }

/* O mně */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 80px; }
.portrait-placeholder {
  display: grid;
  min-height: 420px;
  place-items: center;
  padding: 36px;
  background: var(--mint);
  color: var(--teal-dark);
  text-align: center;
}
.portrait-placeholder span { max-width: 230px; font: 400 26px/1.25 var(--serif); }
.about-photo { display: block; width: 100%; height: auto; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy > p { max-width: 580px; color: var(--muted); }
.credentials { display: grid; grid-template-columns: 170px 1fr; margin: 30px 0 0; border-top: 1px solid var(--line); font-size: 14px; }
.credentials dt, .credentials dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.credentials dt { padding-right: 16px; color: var(--muted); font-weight: 600; }
.about-media .quote { margin-top: 28px; }
.quote { margin: 34px 0 0; padding: 24px 26px; background: var(--white); border-left: 3px solid var(--teal); }
.quote p { margin-bottom: 10px; font: 400 21px/1.35 var(--serif); }
.quote footer { color: var(--muted); font-size: 13px; }

/* Akce */
.events { padding: 0 0 100px; }
.events-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding-top: 48px; border-top: 1px solid var(--line); }
.events-intro p { max-width: 320px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.event-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.event-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.event-row strong { font-size: 15px; }
.event-row small { display: block; color: var(--teal-dark); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.event-row span { color: var(--muted); font-size: 14px; text-align: right; }

/* FAQ */
.faq { background: var(--white); border-block: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 20px 48px 20px 0;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  position: absolute;
  right: 4px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal-dark);
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  content: "+";
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list summary:hover { color: var(--teal-dark); }
.faq-answer { max-width: 760px; padding: 0 0 22px; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* Pro zadavatele / pacienty – pruh */
.band { padding: 56px 0; }
.band-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.band-item { padding: 30px; background: var(--paper); }
.band-item p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.band-item p:last-child { margin-bottom: 0; }

/* Kontakt */
.contact { padding: 90px 0; background: var(--mint); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 70px; }
.contact h2 { max-width: 520px; margin-bottom: 18px; }
.contact-intro > p { color: var(--muted); }
.contact-direct { margin: 30px 0 0; padding: 0; list-style: none; }
.contact-direct li { padding: 12px 0; border-top: 1px solid rgba(15, 39, 72, .14); }
.contact-direct span { display: block; color: var(--muted); font-size: 13px; }
.contact-direct a { font-size: 18px; font-weight: 700; text-decoration: none; }
.contact-direct a:hover { color: var(--teal-dark); text-decoration: underline; }
.form { padding: 32px; background: var(--white); border: 1px solid rgba(15, 39, 72, .12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #b9c3c3;
  border-radius: 3px;
  background: white;
  color: var(--ink);
  font: 400 16px/1.4 var(--sans);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal-dark); outline: 2px solid rgba(10, 115, 124, .25); outline-offset: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-patient { margin: -4px 0 16px; padding: 12px 14px; background: #fbefe9; border-left: 3px solid var(--coral); font-size: 14px; }
.form-patient a { color: var(--teal-dark); }
.form-note { margin: 4px 0 18px; color: var(--muted); font-size: 13px; }
.form-status { margin: 16px 0 0; padding: 12px 14px; font-size: 14px; }
.form-status.is-ok { background: #e2f3ee; color: #13573f; }
.form-status.is-error { background: #fbe9e5; color: #8a2f1d; }
.form button[disabled] { opacity: .6; cursor: wait; }

/* Patička */
.site-footer { padding: 48px 0 28px; background: var(--ink); color: #d0dbe3; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-grid strong { display: block; margin-bottom: 8px; color: white; font-size: 14px; }
.footer-grid p { margin: 0; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { padding: 2px 0; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 20px; }

/* Podstránky (pacienti, ochrana údajů) */
.page-hero { padding: clamp(60px, 8vw, 100px) 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 58px); }
.page-404 { display: flex; min-height: 100vh; flex-direction: column; }
.page-404 main { flex: 1; }
.page-hero .hero-copy { margin-bottom: 0; }
.prose { max-width: 760px; }
.prose h2 { margin: 56px 0 18px; font-size: clamp(28px, 3.4vw, 38px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 8px; font-size: 21px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--teal-dark); }
.callout { margin: 30px 0; padding: 20px 24px; background: var(--white); border-left: 3px solid var(--coral); }
.callout p { margin: 0; }
.prose-spaced { margin-top: 56px; }
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 36px; background: var(--line); border: 1px solid var(--line); }
.info-card { padding: 26px; background: var(--paper); }
.info-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.phase-table-wrap { overflow-x: auto; }
.phase-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; }
.phase-table th, .phase-table td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.phase-table th { color: var(--ink); white-space: nowrap; }
.phase-table td { color: var(--muted); }

@media (max-width: 1020px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-list { grid-template-columns: repeat(2, 1fr); }
  .facts-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .nav { min-height: 74px; }
  .brand { width: 170px; flex-basis: 170px; }
  .audience a { padding: 8px 14px; font-size: 14px; }
  .nav-cta { min-height: 42px; padding-inline: 14px; font-size: 13px; }
}
@media (max-width: 780px) {
  .wrap { width: min(100% - 36px, 620px); }
  .hero { padding: 64px 0 62px; }
  .hero-side { gap: 42px; padding-top: 24px; }
  .hero-portrait { width: 230px; box-shadow: 0 0 0 14px rgba(0, 167, 182, .07), 0 0 0 28px rgba(0, 167, 182, .04); }
  .hero-portrait span { font-size: 18px; }
  .hero-grid, .section-heading, .about-grid, .events-inner, .contact-grid, .fee-grid, .band-grid, .footer-grid, .info-cards { grid-template-columns: 1fr; gap: 28px; }
  .band-grid, .info-cards { gap: 1px; }
  .hero-side .hero-note { align-self: stretch; max-width: none; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 32px; }
  .services { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 23px 0; border-left: 0; }
  .service-index { margin-bottom: 14px; }
  .process-grid { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .fee-visual { padding: 22px; }
  .about-grid { gap: 35px; }
  .portrait-placeholder { min-height: 290px; }
  .credentials { grid-template-columns: 1fr; }
  .credentials dt { padding-bottom: 0; border-bottom: 0; }
  .events { padding-bottom: 72px; }
  .events-inner { gap: 24px; padding-top: 34px; }
  .contact { padding: 64px 0; }
  .form { padding: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 640px) {
  .brand { width: 150px; flex-basis: 150px; }
  .nav { flex-wrap: wrap; gap: 0 10px; padding-block: 12px; }
  .nav-cta { display: none; }
  .audience { width: 100%; margin-top: 10px; }
  .audience a { flex: 1; }
  .subnav-links .only-mobile { display: inline; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 32px); }
  h1 { font-size: 36px; }
  .hero-copy { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .facts-list { grid-template-columns: 1fr; }
  .facts-list li, .facts-list li + li { padding: 14px 0; border-left: 0; }
  .facts-list li + li { border-top: 1px solid var(--line); }
  .fee-bar { grid-template-columns: 1fr; }
  .event-row { grid-template-columns: 1fr; gap: 3px; }
  .event-row span { text-align: left; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
