/* Pedikúra přístrojová – Mgr. Oksana Liashyk
   Paleta: bílá, teplá šedá, grafit (podle cedule provozovny) */

:root {
  --paper: #ffffff;
  --bone: #f6f5f2;
  --mist: #efede9;
  --stone: #e3e0db;
  --line: #d2cec8;
  --ash: #8d8984;
  --slate: #5a5752;
  --graphite: #2d2c2a;
  --ink: #1a1918;

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: 90px; }
html:not(.anim) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* jemné zrno papíru */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

::selection { background: var(--graphite); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; }
/* nižší optická velikost = pevnější tahy i ve velkých nadpisech */
h1, h2, h3, .scrub-text, .stat-num, .mc-roll, .footer-big, .marquee-track span, .s-name, .big-link, .cal-title, .nav a { font-optical-sizing: none; font-variation-settings: "opsz" 30; }
em { font-style: italic; }
h1 em, h2 em { color: var(--ash); }

.eyebrow {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ash); margin: 0 0 26px;
}
.eyebrow .dot {
  flex: none; margin-top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--graphite);
  box-shadow: 0 0 0 0 rgba(45,44,42,.35); animation: pulse 2.4s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(45,44,42,0); } 100% { box-shadow: 0 0 0 0 rgba(45,44,42,0); } }

.muted { color: var(--ash); }
.small { font-size: 14px; }

/* maska pro vyjíždějící text – rezerva nahoře pro háčky, dole pro „y“, „p“, „j“ */
.line { display: block; overflow: hidden; padding: .14em 0 .26em; margin: -.14em 0 -.26em; }
.line > span { display: inline-block; }

/* ---------- Tlačítka ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--graphite); color: #fff; border: 0; cursor: pointer;
  text-decoration: none; font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: .01em;
  padding: 17px 28px; border-radius: 100px;
  transition: transform .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  border-radius: inherit; transform: scale(0, 1); transform-origin: left;
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: scale(1, 1); }
.btn-arrow {
  font-style: normal; display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 13px;
  transition: transform .5s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(4px) rotate(-45deg); }
.btn-small { padding: 11px 20px; font-size: 14px; }
.btn:focus-visible, .link-arrow:focus-visible, .nav a:focus-visible, .insurers a:focus-visible, .footer-cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.link-arrow {
  position: relative; font-weight: 500; text-decoration: none; font-size: 15px; padding: 0 0 4px;
  background: none; border: 0; cursor: pointer; color: var(--ink);
}
.link-arrow::before, .link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; }
.link-arrow::before { background: var(--line); }
.link-arrow::after { background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Úvodní animace ----------
   Kreslení loga běží čistě v CSS, takže začne hned (i když se knihovny ještě stahují).
   Odjezd obrazovky řídí script.js, až jsou načtené fonty a fotka. */
.loader, .loader-curtain { display: none; }
.anim.loading .loader {
  position: fixed; inset: 0; z-index: 100; background: var(--paper);
  display: grid; place-items: center;
}
.anim.loading .loader-curtain { display: block; position: fixed; inset: 0; z-index: 99; background: var(--graphite); }
.anim.loading body { overflow: hidden; }
.loader-inner { display: flex; flex-direction: column; align-items: center; }
.loader-foot { width: 170px; height: 71px; color: var(--ink); overflow: visible; margin-bottom: 30px; }
.lf-path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: lf-draw 1.1s .15s cubic-bezier(.65, 0, .35, 1) forwards; }
.lf-dot { fill: var(--ink); transform-box: fill-box; transform-origin: center; transform: scale(0); animation: lf-pop .55s cubic-bezier(.34, 1.8, .64, 1) forwards; }
.lf-dot:nth-of-type(1) { animation-delay: .85s; }
.lf-dot:nth-of-type(2) { animation-delay: .93s; }
.lf-dot:nth-of-type(3) { animation-delay: 1.01s; }
.lf-dot:nth-of-type(4) { animation-delay: 1.09s; }
.lf-dot:nth-of-type(5) { animation-delay: 1.17s; }
.loader-word, .loader-sub { margin: 0; overflow: hidden; text-align: center; }
.loader-word { font-size: 13px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); padding-left: .3em; }
.loader-sub { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ash); margin-top: 6px; }
.loader-word span, .loader-sub span { display: inline-block; transform: translateY(110%); animation: lf-up .9s cubic-bezier(.22, 1, .36, 1) forwards; }
.loader-word span { animation-delay: .9s; }
.loader-sub span { animation-delay: 1.05s; }
.loader-bar { display: block; width: 120px; height: 1px; background: var(--stone); margin-top: 34px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; animation: lf-bar 1.9s .1s cubic-bezier(.65, 0, .35, 1) forwards; }
.loader.ready .loader-bar i { animation: none; transform: scaleX(1); transition: transform .3s; }
@keyframes lf-draw { to { stroke-dashoffset: 0; } }
@keyframes lf-pop { to { transform: scale(1); } }
@keyframes lf-up { to { transform: translateY(0); } }
@keyframes lf-bar { to { transform: scaleX(.85); } }

/* ---------- Hlavička ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: top .6s var(--ease);
}
/* pozadí a rozmazání na pseudo-elementu, aby hlavička nevytvářela nový kontext pro fixní menu */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--stone); transition: opacity .4s ease;
}
.site-header.scrolled::before { opacity: 1; }
.site-header.hide { top: -90px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; position: relative; z-index: 2; }
.brand-mark { width: 62px; height: 26px; color: var(--ink); flex: none; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: translateX(-3px) rotate(-4deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 600; font-size: 13.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.brand-sub { font-size: 12.5px; color: var(--ash); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { text-decoration: none; font-size: 15px; color: var(--slate); overflow: hidden; display: block; line-height: 1.4; }
.nav a:not(.btn) > span { display: block; position: relative; transition: transform .5s var(--ease); }
.nav a:not(.btn) > span::after { content: attr(data-hover); position: absolute; left: 0; top: 100%; color: var(--ink); }
.nav a:not(.btn):hover > span { transform: translateY(-100%); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 7px; position: relative; z-index: 2;
}
.nav-toggle span:not(.sr-only) { display: block; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 100px); align-items: center; }

.hero-title { font-size: clamp(44px, 6.6vw, 104px); line-height: 1.02; letter-spacing: -.035em; margin-left: -.03em; }
.hero-title em { color: var(--ash); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--slate); max-width: 31em; margin: 36px 0 40px; }
.hero-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }

.hero-figure { margin: 0; position: relative; }
.hero-img { overflow: hidden; border-radius: 220px 220px 4px 4px; aspect-ratio: 4 / 5; max-height: calc(100vh - 200px); background: var(--mist); }
.hero-img { position: relative; }
.hero-img img { position: absolute; top: 0; left: 0; width: 100%; height: 116%; object-fit: cover; object-position: center top; filter: saturate(.7) contrast(1.03); transform-origin: center top; }
.hero-figure figcaption { font-size: 13px; color: var(--ash); margin-top: 14px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.hero-figure figcaption span { font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: 11px; color: var(--graphite); }

.badge {
  position: absolute; left: -58px; bottom: 54px; width: 136px; height: 136px;
  border-radius: 50%; background: var(--paper); display: grid; place-items: center;
  box-shadow: 0 20px 50px -20px rgba(26,25,24,.25);
}
.badge > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge text { font-family: var(--sans); font-size: 13.4px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; fill: var(--ink); }
.badge-foot { width: 62px; height: 26px; color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

.trail { position: absolute; left: -4%; bottom: -2%; width: 62%; height: auto; color: var(--ink); pointer-events: none; opacity: .07; }
.trail use { opacity: 0; }
.anim .trail use { animation: step 9s infinite; }
html:not(.anim) .trail use { opacity: 1; }
@keyframes step { 0% { opacity: 0; } 4% { opacity: 1; } 45% { opacity: 1; } 60%, 100% { opacity: 0; } }

/* výchozí stavy pro animaci (jen s JS) */
.anim .hero-title .line > span { transform: translateY(110%); }
.anim .hero-in { opacity: 0; transform: translateY(24px); }
.anim .hero-img { clip-path: inset(100% 0 0 0 round 220px 220px 4px 4px); }
.anim .badge { transform: scale(0) rotate(-90deg); }
.anim .split { visibility: hidden; }
.anim .split.is-split { visibility: visible; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em 0 .26em; margin: -.14em 0 -.26em; }
.split .w > span { display: inline-block; }

/* ---------- Pás služeb ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); padding: 26px 0; background: var(--paper); }
.marquee-track { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee-track span { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.6vw, 54px); letter-spacing: -.02em; line-height: 1; white-space: nowrap; color: var(--ink); padding: 0 34px; }
.marquee-track em { color: var(--ash); }
.marquee-track i {
  flex: none; width: 64px; height: 27px; background: var(--ink);
  -webkit-mask: url("assets/favicon-mask.svg") center / contain no-repeat; mask: url("assets/favicon-mask.svg") center / contain no-repeat;
}

/* ---------- Čísla ---------- */
.stats { padding: clamp(70px, 9vw, 120px) 0; }
.stats-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid li { padding: 6px clamp(16px, 2.4vw, 34px); border-left: 1px solid var(--stone); display: flex; flex-direction: column; gap: 14px; }
.stats-grid li:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 6.4vw, 104px); line-height: .9; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-num small { font-size: .45em; color: var(--ash); letter-spacing: 0; }
.stat-label { font-size: 14.5px; color: var(--slate); max-width: 15em; }

/* ---------- Sekce ---------- */
.section { padding: clamp(90px, 12vw, 170px) 0; }
.section-head { margin-bottom: clamp(44px, 6vw, 80px); }
.section-head h2 { font-size: clamp(34px, 4.7vw, 72px); line-height: 1.04; letter-spacing: -.03em; }
.section-sub { color: var(--ash); margin: 18px 0 0; }

/* ---------- O mně ---------- */
.about { background: var(--bone); }
.scrub-text {
  font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.8vw, 56px); line-height: 1.15; letter-spacing: -.025em;
  color: var(--ink); margin: 0 0 clamp(70px, 9vw, 130px); max-width: 19em;
}
.scrub-text em { color: inherit; }
.anim .scrub-text .sw { color: var(--line); }

.about-grid { display: grid; grid-template-columns: 4.5fr 6fr; column-gap: 20px; align-items: start; }
.about-figure { grid-column: 1; margin: 0; position: sticky; top: 110px; padding-right: clamp(20px, 4vw, 70px); }
.about-img { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 4px; background: var(--mist); }
.about-img img { width: 100%; height: 118%; object-fit: cover; object-position: center; filter: saturate(.6) contrast(1.03); }
.about-figure figcaption { margin-top: 18px; display: flex; flex-direction: column; }
.sig-name { font-family: var(--serif); font-size: 24px; letter-spacing: -.02em; color: var(--ink); }
.sig-role { font-size: 14px; color: var(--ash); }
.member { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 14px 18px 14px 14px; background: var(--paper); border-radius: 6px; }
.member img { width: 64px; height: 64px; flex: none; }
.member p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--slate); }
.member strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--ink); }
.member-footer { margin: 0; padding: 30px 0; background: none; border-bottom: 1px solid var(--line); border-radius: 0; gap: 20px; }
.member-footer img { width: 84px; height: 84px; }

.about-text { grid-column: 2; max-width: 36em; }
.about-text p { margin: 0 0 1.2em; color: var(--slate); font-size: 17.5px; }
.about-text .dropcap { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 32px); line-height: 1.25; color: var(--ink); }
.about-text .aside-note {
  position: relative; padding: 30px 32px 30px 118px; background: var(--paper); border-radius: 6px; min-height: 120px; display: flex; align-items: center;
  font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.35; color: var(--ink);
}
.aside-note::before {
  content: "♥"; position: absolute; left: 30px; top: 50%; margin-top: -32px; font-style: normal; font-family: var(--sans);
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--graphite); color: #fff; font-size: 28px; line-height: 1;
  animation: beat 2.4s ease-in-out infinite;
}
@keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.12); } 24% { transform: scale(1); } 36% { transform: scale(1.08); } 48% { transform: scale(1); } }
.sign-off em { font-family: var(--serif); font-size: 1.35em; color: var(--ink); }

/* ---------- Metoda ---------- */
.method { background: var(--paper); }
.method-stage { padding: clamp(90px, 12vw, 160px) 0; }
.method.pinned .method-stage { min-height: 100vh; display: flex; align-items: center; padding: 90px 0 40px; }
.method.pinned .method-stage > .wrap { width: 100%; }
.method-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.method .section-head { margin-bottom: 40px; }
.method .section-head h2 { font-size: clamp(36px, 4.2vw, 64px); }
.method-counter { display: flex; align-items: flex-end; gap: 14px; font-family: var(--serif); line-height: 1; }
.mc-roll { display: block; height: 1em; overflow: hidden; font-weight: 400; font-size: clamp(96px, 11vw, 170px); color: var(--ink); letter-spacing: -.04em; }
.mc-roll span { display: block; height: 1em; transition: transform .8s var(--ease); }
.mc-total { font-size: 28px; color: var(--ash); padding-bottom: .5em; }
.method-progress { height: 2px; background: var(--stone); margin-top: 30px; max-width: 420px; overflow: hidden; }
.method-progress span { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }

.steps { list-style: none; margin: 0; padding: 0; }
.steps li { padding: 30px 0; border-top: 1px solid var(--stone); display: grid; grid-template-columns: 56px 1fr; column-gap: 10px; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.steps li:last-child { border-bottom: 1px solid var(--stone); }
.step-num { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ash); padding-top: 6px; }
.steps h3 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.02em; margin-bottom: 8px; line-height: 1.1; }
.steps p { margin: 0; color: var(--slate); font-size: 16px; max-width: 28em; }
.method.pinned .steps li { opacity: .2; }
.method.pinned .steps li.is-active { opacity: 1; transform: translateX(12px); }
.method:not(.pinned) .method-counter, .method:not(.pinned) .method-progress { display: none; }

/* ---------- Ceník ---------- */
.pricing { background: var(--bone); }
.price-groups { max-width: 900px; }
.price-group + .price-group { margin-top: 64px; }
.group-title {
  font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ash); padding-bottom: 16px; border-bottom: 1px solid var(--ink);
}
.group-title:not(:first-child) { margin-top: 64px; }

.service { border-bottom: 1px solid var(--line); position: relative; isolation: isolate; }
.service summary {
  list-style: none; cursor: pointer; position: relative;
  display: flex; align-items: baseline; gap: 14px; padding: 24px 0;
  transition: padding .5s var(--ease);
}
.service summary::-webkit-details-marker { display: none; }
.service summary::before {
  content: ""; position: absolute; inset: 0 -18px; background: var(--paper); z-index: -1; border-radius: 4px;
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.service summary:hover::before { transform: scaleY(1); }
.service summary:hover { padding-left: 10px; }
.s-name { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; font-size: clamp(20px, 1.8vw, 25px); line-height: 1.2; color: var(--ink); display: flex; flex-direction: column; }
.s-name small { font-family: var(--sans); font-size: 13px; color: var(--ash); margin-top: 4px; }
.s-dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-6px); min-width: 20px; }
.s-price { font-weight: 500; font-size: 16px; white-space: nowrap; color: var(--ink); display: flex; align-items: center; gap: 14px; }
/* tlačítko Rezervovat u služby – v řádku na větších displejích, v popisu na mobilu */
.s-book {
  flex: none; align-self: center; text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .02em;
  padding: 7px 14px; border-radius: 100px; border: 1px solid var(--ink); color: var(--ink);
  transition: background .25s, color .25s;
}
.s-book:hover, .s-book:focus-visible { background: var(--ink); color: #fff; }
.s-body .s-book { display: none; margin: 0 0 22px; }
@media (max-width: 640px) {
  summary .s-book { display: none; }
  .s-body .s-book { display: inline-block; }
}
.select.flash select { animation: flash 1.4s ease; }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(26,25,24,0); } 25% { box-shadow: 0 0 0 6px rgba(26,25,24,.15); } }
.s-price::after {
  content: "+"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); font-weight: 300; font-size: 16px; color: var(--ink);
  transition: transform .5s var(--ease), background .3s ease, color .3s ease, border-color .3s ease;
}
.service[open] .s-price::after { transform: rotate(135deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.service summary:focus-visible { outline: 2px solid var(--graphite); outline-offset: 4px; }
.s-body { overflow: hidden; }
.service p { margin: 0 0 22px; color: var(--slate); font-size: 16px; max-width: 34em; }
.service .note { background: var(--paper); border-left: 2px solid var(--ink); padding: 12px 16px; font-size: 14.5px; color: var(--graphite); }

/* ---------- Pojišťovny ---------- */
.insurance { background: var(--mist); color: var(--slate); padding: clamp(90px, 11vw, 150px) 0; position: relative; overflow: hidden; }
.insurance-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.insurance h2 { font-size: clamp(32px, 4vw, 60px); line-height: 1.04; letter-spacing: -.03em; margin-bottom: 28px; }
.insurance p { max-width: 30em; margin: 0; font-size: 17px; }

.insurers { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.insurers a {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: baseline; gap: 22px; text-decoration: none; color: var(--ink);
  padding: 17px 14px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 500;
  transition: color .45s var(--ease);
}
.insurers a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--graphite); transform: translateY(101%); transition: transform .5s var(--ease); }
.insurers a::after { content: "↗"; margin-left: auto; color: var(--ash); transition: transform .5s var(--ease), color .45s; }
.insurers a:hover { color: #fff; }
.insurers a:hover::before { transform: translateY(0); }
.insurers a:hover::after { transform: translate(3px, -3px); color: #fff; }
.insurers b { font-weight: 400; font-family: var(--serif); font-style: italic; color: var(--ash); width: 40px; font-size: 19px; transition: color .45s; }
.insurers a:hover b { color: #b9b5ae; }

/* ---------- Rezervace (jednokrokový formulář) ---------- */
.booking { background: var(--paper); }
.bk {
  display: grid; grid-template-columns: 1.35fr 1fr; position: relative;
  background: var(--paper); border: 1px solid var(--stone); border-radius: 8px; overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(26,25,24,.3);
}
.bk-main { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 34px; }
.bk-side { padding: clamp(22px, 3vw, 40px); background: var(--bone); border-left: 1px solid var(--stone); display: flex; flex-direction: column; }
.bk-label { display: block; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); margin: 0 0 14px; }

.select { position: relative; border-radius: 6px; }
.select::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); pointer-events: none;
}
.select select {
  width: 100%; appearance: none; -webkit-appearance: none; cursor: pointer;
  font: inherit; font-size: 17px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 6px; padding: 16px 48px 16px 18px;
  transition: border-color .2s;
}
.select select:hover { border-color: var(--ash); }
.select select:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.select.invalid select { border-color: #a5493d; }
.bk-when.invalid .cal, .bk-when.invalid .slots { outline: 1px solid #a5493d; outline-offset: 8px; border-radius: 4px; }

.bk-date { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 3vw, 40px); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-title { font-family: var(--serif); font-size: 24px; letter-spacing: -.02em; color: var(--ink); text-transform: capitalize; }
.cal-nav { width: 40px; height: 40px; border: 1px solid var(--stone); background: none; cursor: pointer; color: var(--graphite); border-radius: 50%; transition: background .2s, color .2s; }
.cal-nav:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow span { text-align: center; font-size: 12px; color: var(--ash); padding-bottom: 6px; }
.cal-day { aspect-ratio: 1; border: 0; background: none; font-size: 15px; cursor: pointer; color: var(--ink); border-radius: 50%; position: relative; transition: background .2s; }
.cal-day:hover:not(:disabled) { background: var(--mist); }
.cal-day:disabled { color: #c9c5bf; cursor: default; }
.cal-day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.cal-day[aria-pressed="true"] { background: var(--graphite); color: #fff; }

.slots-title { font-family: var(--serif); font-size: 19px; letter-spacing: -.01em; color: var(--ink); margin: 8px 0 16px; }
.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { border: 1px solid var(--stone); background: none; font-size: 15px; padding: 11px 0; cursor: pointer; border-radius: 100px; color: var(--ink); transition: border-color .2s, background .2s, color .2s; animation: panel .5s var(--ease) both; }
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--graphite); border-color: var(--graphite); color: #fff; }
@keyframes panel { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.bk-fields { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field > span { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }
.field em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input, .field textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); padding: 8px 0; border-radius: 0; resize: vertical;
  transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--ink); }
.field.invalid input { border-color: #a5493d; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--slate); cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--graphite); width: 16px; height: 16px; flex: none; }
.check.invalid { color: #a5493d; }

.bk-summary { margin: 28px 0 18px; padding: 16px 18px; background: var(--paper); border-radius: 6px; display: grid; gap: 10px; }
.bk-summary > div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.bk-summary dt { font-size: 13px; color: var(--ash); flex: none; }
.bk-summary dd { margin: 0; text-align: right; font-family: var(--serif); font-size: 17px; line-height: 1.3; color: var(--ink); }
.bk-error { margin: 0 0 14px; font-size: 14px; color: #a5493d; }
.bk-submit { align-self: flex-start; margin-bottom: 14px; }
.bk-side > .small { margin: 0; }

.bk.is-done > .bk-main, .bk.is-done > .bk-side { display: none; }
.bk-done { grid-column: 1 / -1; text-align: center; padding: clamp(50px, 8vw, 90px) 24px; max-width: 520px; margin: 0 auto; animation: panel .6s var(--ease); }
.done-mark { width: 64px; height: 64px; color: var(--graphite); margin-bottom: 22px; }
.done-mark circle { stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw 1s var(--ease) forwards; }
.done-mark path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.bk-done h3 { font-size: 32px; letter-spacing: -.02em; margin-bottom: 12px; line-height: 1.15; }
.done-text { color: var(--slate); }
.bk-reset { margin-top: 12px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; column-gap: 20px; }
.contact-card { grid-column: 1; padding-right: clamp(10px, 3vw, 50px); }
.contact-card dl { margin: 0 0 36px; }
.contact-card dl > div { padding: 20px 0; border-bottom: 1px solid var(--stone); }
.contact-card dl > div:first-child { padding-top: 0; }
.contact-card dt { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); margin-bottom: 6px; }
.contact-card dd { margin: 0; font-size: 18px; color: var(--ink); }
.contact-card dd .link-arrow { display: inline-block; margin-top: 12px; }
.big-link { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -.02em; text-decoration: none; line-height: 1.1; background: linear-gradient(var(--ink), var(--ink)) left bottom / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.big-link:hover { background-size: 100% 1px; }
.contact-card .small { margin-top: 18px; }
.map { grid-column: 2; min-height: 480px; background: var(--mist); border-radius: 6px; overflow: hidden; }
.map iframe { width: 100%; height: 100%; min-height: 480px; border: 0; filter: grayscale(1) contrast(1.05); display: block; }

/* ---------- Patička ---------- */
.site-footer { background: var(--bone); padding: clamp(70px, 10vw, 140px) 0 36px; font-size: 14px; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; text-decoration: none; padding-bottom: clamp(50px, 7vw, 90px); border-bottom: 1px solid var(--line); }
.footer-big { font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 8.8vw, 148px); line-height: 1.02; letter-spacing: -.04em; color: var(--ink); }
.footer-big .line { display: inline-block; vertical-align: top; }
.footer-big em { color: var(--ash); }
.anim .footer-big .line > span { transform: translateY(110%); }
.footer-circle {
  flex: none; width: clamp(80px, 10vw, 150px); height: clamp(80px, 10vw, 150px); border-radius: 50%;
  display: grid; place-items: center; background: var(--graphite); color: #fff; font-size: clamp(26px, 3vw, 44px);
  transition: transform .7s var(--ease), background .3s;
}
.footer-cta:hover .footer-circle { transform: rotate(-45deg) scale(1.06); background: var(--ink); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 30px; }
.site-footer p { margin: 0; }
.site-footer a { text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }
.brand-footer .brand-mark { width: 52px; height: 22px; }

/* ---------- Responzivita ---------- */
@media (max-width: 1100px) {
  .badge { left: -30px; width: 116px; height: 116px; }
}

@media (max-width: 980px) {
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 620px; }
  .hero-img { aspect-ratio: 4 / 4.2; max-height: none; border-radius: 180px 180px 4px 4px; }
  .anim .hero-img { clip-path: inset(100% 0 0 0 round 180px 180px 4px 4px); }
  .badge { left: auto; right: 16px; bottom: 56px; width: 104px; height: 104px; }
  .trail { width: 120%; left: -20%; bottom: 40%; }

  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stats-grid li:nth-child(3) { border-left: 0; padding-left: 0; }


  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-figure, .about-text, .contact-card, .map { grid-column: 1; }
  .about-figure { position: static; padding-right: 0; margin-bottom: 44px; max-width: 520px; }
  .contact-card { padding-right: 0; margin-bottom: 40px; }

  .method-inner { grid-template-columns: 1fr; }

  .insurance-inner { grid-template-columns: 1fr; }

  .bk { grid-template-columns: 1fr; }
  .bk-side { border-left: 0; border-top: 1px solid var(--stone); }
  .bk-date { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 0;
    background: var(--paper); padding: 100px var(--gutter) 40px;
    clip-path: circle(0 at calc(100% - 40px) 42px); transition: clip-path .8s var(--ease);
    visibility: hidden;
  }
  .nav.open { clip-path: circle(150% at calc(100% - 40px) 42px); visibility: visible; }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 38px; letter-spacing: -.02em; color: var(--ink); padding: 4px 0; line-height: 1.15; }
  .nav .btn { margin-top: 30px; }
  .site-header.menu-open { top: 0; }
  .site-header.menu-open::before { opacity: 0; }
}

@media (max-width: 560px) {
  .hero-title { font-size: clamp(38px, 11.4vw, 58px); }
  .stat-label { font-size: 13.5px; }
  .s-name { font-size: 19px; }
  .s-dots { display: none; }
  .service summary { justify-content: space-between; }
  .brand-sub { display: none; }
  .map, .map iframe { min-height: 320px; }
  .bk-submit { align-self: stretch; justify-content: center; }
  .select select { font-size: 16px; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .about-text .aside-note { padding: 96px 22px 24px; display: block; }
  .aside-note::before { left: 22px; top: 24px; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
