/* Variant B – "Petrolejová": petrol green with apricot, one rounded sans, and the oval of the
   logo as the shape of the page (the hero photo sits in an oval window, the doctor in a rounded one). */
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/lexend-latin-ext-wght-normal.woff2?v=40e4cd1644) 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: "Lexend"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/lexend-latin-wght-normal.woff2?v=91313f8a6f) 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 {
  --page: #f4f9f6;
  --paper: #ffffff;
  --ink: #0f4347;
  --ink-deep: #0a3033;
  --brand: #14696c;
  --brand-soft: #7cc4bb;
  --tint: #dbeee7;
  --tint-2: #e8f3ee;
  --line: #cae0d8;
  --text: #1b2d2e;
  --muted: #4d6667;
  --accent: #f2915f;
  --focus: #0f4347;
  --on-dark: #e4f2ee;
  --on-dark-muted: #b6d7d0;
  --font-head: "Lexend", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Lexend", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fw-head: 600;
  --fw-body: 350;
  --fw-strong: 600;
  --fw-btn: 550;
  --fw-nav: 420;
  --fw-kicker: 500;
  --fw-sub: 400;
  --sub-style: normal;
  --fs-body: 1.02rem;
  --lh-body: 1.72;
  --tracking-head: -0.03em;
  --radius-s: 14px;
  --radius-m: 26px;
  --radius-btn: 999px;
  --btn-bg: #f2915f;
  --btn-fg: #0a3033;
  --btn-hover: #f6a57a;
  --ghost-line: #0f4347;
  --dark-btn-bg: #f2915f;
  --dark-btn-fg: #0a3033;
  --dark-btn-hover: #f6a57a;
  --header-bg: rgba(244, 249, 246, .88);
  --header-solid: rgba(244, 249, 246, .97);
  --shadow-card: 0 22px 46px -26px rgba(10, 48, 51, .45);
  --shadow-pop: 0 24px 50px -20px rgba(10, 48, 51, .4);
  --field-line: #a9c6bd;
  --danger: #a8281f;
  --danger-bg: #fff6f4;
  --ok: #17603f;
  --ok-bg: #ecf8f0;
  --ok-line: #b1d8c2;
  --note-bg: #fdeee3;
  --note-line: #f3c9ad;
  --note-fg: #5a2f12;
  --footer-bg: #0a3033;
  --footer-fg: #b8d6d0;
  --band: clamp(240px, 58vw, 400px);
  --lex-scrim: linear-gradient(90deg, rgba(8, 40, 43, .86) 0%, rgba(8, 40, 43, .66) 46%, rgba(8, 40, 43, .5) 100%);
}

em, i { font-style: normal; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.site-header { border-bottom-color: transparent; }
.nav-desktop a[aria-current="page"] { box-shadow: none; background: var(--tint); border-radius: 999px; }
.nav-desktop a, .more-toggle { border-radius: 999px; padding-left: 9px; padding-right: 9px; font-size: 0.89rem; letter-spacing: -0.01em; }
.nav-desktop .nav-cta { margin-left: 6px; }
.nav-desktop .nav-cta a, .nav-desktop .nav-cta a[aria-current="page"] { padding: 12px 17px; }
@media (min-width: 1240px) { .brand-logo { height: 40px; } }

.more-panel a { border-radius: 16px; }
.h1-sub { color: var(--brand); }

/* Hero: on a phone the photo is a band with an oval lower edge; on a wide screen it sits in an
   oval window that runs off the right edge. The apricot ring follows the oval 12px outside it
   (on a phone the oval is ellipse(112% 100%), hence the ring's 224% width). */
.hero { background: var(--page); }
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none; border: 2px solid var(--accent); border-radius: 50%;
  left: calc(-62% - 12px); width: calc(224% + 24px); top: calc(-1 * var(--band) - 12px); height: calc(2 * var(--band) + 24px);
}
.hero-media { position: relative; height: var(--band); clip-path: ellipse(112% 100% at 50% 0%); }
.hero-media img { object-position: 50% 22%; }
.hero-inner { padding-top: 40px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(2.05rem, 4vw, 3.3rem); line-height: 1.1; color: var(--ink); }
.hero-lead { color: var(--text); }
.hero-fields { color: var(--ink); }
@media (min-width: 1000px) {
  .hero { display: flex; align-items: center; min-height: clamp(580px, 76vh, 740px); }
  .hero::before { left: calc(50% - 60px); width: calc(100% + 120px); top: calc(-48% - 24px); height: calc(196% + 48px); }
  .hero-media { position: absolute; top: 0; bottom: 0; left: calc(50% - 36px); right: 0; height: auto; clip-path: ellipse(100% 98% at 100% 50%); }
  .hero-media img { object-position: 70% 40%; }
  .hero-inner { width: 100%; padding-top: 64px; padding-bottom: 96px; }
  .hero-copy { max-width: min(520px, calc(50vw - 130px)); }
}

.facts { position: relative; z-index: 2; }
.facts-list { gap: 12px; }
.facts-list li { padding: 18px 20px; background: var(--paper); border-radius: 22px; box-shadow: 0 14px 34px -24px rgba(10, 48, 51, .5); }
.fact-icon { background: #fde6d7; color: #b4511f; }
@media (min-width: 860px) { .facts { margin-top: -44px; } .facts-list { gap: 18px; } .facts-list li { padding: 22px 24px; } }

.intro { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 72px); }
/* the quote card carries the logo's four cells as a faint mark in its lower right corner */
.approach blockquote {
  position: relative; padding: clamp(30px, 4.4vw, 56px); border-radius: clamp(26px, 4vw, 44px);
  background: var(--ink) url(../img/vodoznak-b-tmave.svg?v=2b931137b2) no-repeat right -56px bottom -64px / clamp(190px, 22vw, 260px) auto; color: #fff; font-size: clamp(1.25rem, 2.3vw, 1.75rem); font-weight: 400; line-height: 1.38; letter-spacing: -0.015em;
}
.doctor { padding-top: 0; }
.doctor-grid { padding: clamp(28px, 5vw, 64px); background: var(--paper); border-radius: clamp(28px, 4vw, 48px); box-shadow: 0 26px 60px -40px rgba(10, 48, 51, .5); }
.doctor-photo { position: relative; }
.doctor-photo img { aspect-ratio: 4 / 5; border-radius: clamp(24px, 3.4vw, 40px); }
.doctor-photo::after { content: ""; position: absolute; inset: -12px; border: 2px solid var(--accent); border-radius: calc(clamp(24px, 3.4vw, 40px) + 12px); pointer-events: none; }
.doctor h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
@media (min-width: 820px) { .doctor-grid { grid-template-columns: 270px 1fr; } .doctor-photo { width: 270px; } }

.lexikon { background: none; color: var(--on-dark); padding: 0 0 clamp(56px, 8vw, 104px); }
.lexikon-grid {
  padding: clamp(32px, 6vw, 84px) clamp(24px, 5vw, 72px); border-radius: clamp(28px, 4vw, 48px); background-color: var(--ink-deep); background-size: cover; background-position: center;
  background-image: var(--lex-scrim), url(../img/embryo-b-900.jpg?v=89c7db47c7);
  background-image: var(--lex-scrim), image-set(url(../img/embryo-b-900.webp?v=6f71a350c8) type("image/webp"), url(../img/embryo-b-900.jpg?v=89c7db47c7) type("image/jpeg"));
}
@media (min-width: 900px) {
  .lexikon-grid {
    background-image: var(--lex-scrim), url(../img/embryo-b-1600.jpg?v=d0ffd9b721);
    background-image: var(--lex-scrim), image-set(url(../img/embryo-b-1600.webp?v=0fdd6abb33) type("image/webp"), url(../img/embryo-b-1600.jpg?v=d0ffd9b721) type("image/jpeg"));
  }
}

.textbook { padding-top: 0; }
.textbook-photo img { border-radius: clamp(24px, 3.4vw, 40px); }
.further { background: var(--tint-2); border-radius: clamp(28px, 4vw, 56px); margin: 0 clamp(8px, 1.6vw, 24px); }
.card { border-color: transparent; border-radius: 28px; box-shadow: 0 14px 34px -26px rgba(10, 48, 51, .5); }
.card h3 { font-size: 1.35rem; }
.card h3 span { color: var(--brand); }
.visit-photo img { border-radius: clamp(24px, 3.4vw, 40px); }

.page-head { border-bottom: 0; border-radius: 0 0 50% 50% / 0 0 44px 44px; background: var(--tint-2) url(../img/vodoznak-b.svg?v=185d7b541f) no-repeat right -60px center / 380px auto; }
.page-head .wrap { padding-bottom: clamp(44px, 5.4vw, 72px); }
@media (max-width: 760px) { .page-head { border-radius: 0 0 50% 50% / 0 0 26px 26px; background-position: right -90px bottom -60px; background-size: 250px auto; } }
.contact-card { border-color: transparent; box-shadow: 0 22px 50px -34px rgba(10, 48, 51, .55); }
.side-photo img { border-radius: clamp(24px, 3.4vw, 40px); }
.prose ol.steps > li, .org, .prose .table-wrap, .prose figure.fig, .prose .toc { border-color: transparent; box-shadow: 0 14px 34px -28px rgba(10, 48, 51, .5); }
.prose ol.steps > li::before { background: #fde6d7; color: #8a3a12; }
.prose .toc { background: var(--paper); }
.prose img.profile { width: 180px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
.prose picture.book img { border-radius: clamp(22px, 3vw, 36px); }
.prose p.callout { border-left: 0; border-radius: 22px; background: #fde6d7; color: #4a230c; }
.timeline li::before { border-color: var(--accent); }
.form-done, .form-summary { border-radius: 22px; }
.site-footer { border-radius: clamp(28px, 4vw, 52px) clamp(28px, 4vw, 52px) 0 0; margin-top: clamp(40px, 6vw, 72px); }
