/* ==========================================================================
   Kadeřnictví Severka – styly
   Mobile-first. Tokeny → základ → komponenty → sekce → utility → motion.
   ========================================================================== */

/* ---------- Fonty (self-hosted, fungují offline) ----------
   Vlastní subset: latinka + celá Latin Extended-A (čeština, slovenština) + typografické znaky. */
@font-face {
  font-family: 'Lora';
  font-style: normal; font-weight: 500 700; font-display: swap;
  src: url('../assets/fonts/lora.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: italic; font-weight: 500 700; font-display: swap;
  src: url('../assets/fonts/lora-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal; font-weight: 400 800; font-display: optional; /* bez přeskoku textu → stabilní LCP */
  src: url('../assets/fonts/manrope.woff2') format('woff2');
}

/* ---------- Tokeny ---------- */
:root {
  --bg: #f7f2ea;
  --bg-alt: #efe6d8;
  --surface: #fffcf7;
  --surface-2: #f3ece1;
  --ink: #1b2520;
  --ink-soft: #48534d;
  --line: rgb(27 37 32 / 0.14);
  --line-strong: rgb(27 37 32 / 0.28);
  --brand: #1f3a30;
  --brand-hover: #2a4a3e;
  --on-brand: #f7f2ea;
  --accent: #8f532a;
  --accent-soft: #c99467;
  --accent-tint: rgb(201 148 103 / 0.16);
  --ok: #2f7a4f;
  --danger: #a3372b;
  --placeholder-bg: #fff1d6;
  --placeholder-ink: #6b4a10;
  --shadow-sm: 0 1px 2px rgb(27 37 32 / 0.06), 0 2px 8px rgb(27 37 32 / 0.05);
  --shadow-md: 0 2px 6px rgb(27 37 32 / 0.06), 0 18px 40px -12px rgb(27 37 32 / 0.18);
  --shadow-lg: 0 30px 80px -20px rgb(27 37 32 / 0.35);
  --header-bg: rgb(247 242 234 / 0.82);

  --art-1: #e8d7bf;
  --art-2: #d8b68e;
  --art-3: #b07a52;
  --art-4: #2c4a3e;
  --art-line: rgb(255 252 247 / 0.55);

  --font-serif: 'Lora', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --fw-display: 600;   /* velké nadpisy */
  --fw-serif: 600;     /* menší serifové prvky (karty, ceny) */
  --display-tracking: -0.02em;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(5rem, 11vw, 9.5rem);
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.35s;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #111814; --bg-alt: #16201b; --surface: #1b2621; --surface-2: #212e28;
    --ink: #f2ebdf; --ink-soft: #c4bcaf; --line: rgb(242 235 223 / 0.13); --line-strong: rgb(242 235 223 / 0.26);
    --brand: #e0b48a; --brand-hover: #ecc6a0; --on-brand: #14201a;
    --accent: #e3b083; --accent-soft: #b9875e; --accent-tint: rgb(227 176 131 / 0.12);
    --ok: #7fcf9c; --danger: #f08a7c;
    --placeholder-bg: #3a2f17; --placeholder-ink: #f3d79c;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.3); --shadow-md: 0 18px 40px -12px rgb(0 0 0 / 0.55); --shadow-lg: 0 30px 80px -20px rgb(0 0 0 / 0.7);
    --header-bg: rgb(17 24 20 / 0.82);
    --art-1: #2a3a32; --art-2: #4d4030; --art-3: #8a5f3e; --art-4: #0d1511; --art-line: rgb(242 235 223 / 0.28);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #111814; --bg-alt: #16201b; --surface: #1b2621; --surface-2: #212e28;
  --ink: #f2ebdf; --ink-soft: #c4bcaf; --line: rgb(242 235 223 / 0.13); --line-strong: rgb(242 235 223 / 0.26);
  --brand: #e0b48a; --brand-hover: #ecc6a0; --on-brand: #14201a;
  --accent: #e3b083; --accent-soft: #b9875e; --accent-tint: rgb(227 176 131 / 0.12);
  --ok: #7fcf9c; --danger: #f08a7c;
  --placeholder-bg: #3a2f17; --placeholder-ink: #f3d79c;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.3); --shadow-md: 0 18px 40px -12px rgb(0 0 0 / 0.55); --shadow-lg: 0 30px 80px -20px rgb(0 0 0 / 0.7);
  --header-bg: rgb(17 24 20 / 0.82);
  --art-1: #2a3a32; --art-2: #4d4030; --art-3: #8a5f3e; --art-4: #0d1511; --art-line: rgb(242 235 223 / 0.28);
  color-scheme: dark;
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.125rem; /* 18 px */
  line-height: 1.65;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
@media (min-width: 1280px) { body { font-size: 1.1875rem; } }

img, svg, iframe { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--accent-soft); color: #14201a; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 200;
  background: var(--brand); color: var(--on-brand);
  padding: 0.75rem 1.25rem; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ''; width: 2rem; height: 1px; background: currentColor; }

.section-title {
  font-family: var(--font-serif);
  font-weight: var(--fw-display);
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: var(--display-tracking);
  text-wrap: balance;
}
.section-lead {
  margin-top: 1.25rem;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.1875rem;
  text-wrap: pretty;
}

/* ---------- Placeholder štítek ---------- */
.ph-badge {
  display: inline-flex; align-items: center; gap: 0.35em;
  padding: 0.2em 0.65em;
  border: 1px dashed currentColor;
  border-radius: 999px;
  background: var(--placeholder-bg);
  color: var(--placeholder-ink);
  font-family: var(--font-sans);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; text-transform: none;
  line-height: 1.5; white-space: nowrap; vertical-align: middle;
}
.ph-badge::before { content: '✎'; font-size: 0.95em; }
.ph-badge--strong { font-size: 0.8125rem; white-space: normal; }
.ph-badge--on-art { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; }

/* ---------- Abstraktní placeholder „fotky“ ---------- */
.ph-art {
  position: relative; display: block; overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 15%, var(--art-1) 0%, transparent 60%),
    radial-gradient(90% 80% at 85% 90%, var(--art-3) 0%, transparent 65%),
    linear-gradient(150deg, var(--art-2), var(--art-4));
}
.ph-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-art svg path, .ph-art svg circle { fill: none; stroke: var(--art-line); stroke-width: 1.4; }
.ph-art--g1 { background: radial-gradient(80% 60% at 30% 25%, var(--art-1), transparent 70%), linear-gradient(170deg, var(--art-2), var(--art-3)); }
.ph-art--g2 { background: radial-gradient(70% 70% at 70% 30%, var(--art-3), transparent 70%), linear-gradient(200deg, var(--art-4), var(--art-2)); }
.ph-art--g3 { background: repeating-linear-gradient(100deg, transparent 0 18px, rgb(255 255 255 / 0.12) 18px 22px), linear-gradient(160deg, var(--art-1), var(--art-3)); }
.ph-art--g4 { background: radial-gradient(60% 90% at 50% 100%, var(--art-3), transparent 70%), radial-gradient(50% 50% at 50% 30%, var(--art-1), transparent 70%), linear-gradient(180deg, var(--art-4), var(--art-2)); }
.ph-art--g5 { background: conic-gradient(from 210deg at 65% 40%, var(--art-4), var(--art-2), var(--art-1), var(--art-4)); }
.ph-art--g6 { background: linear-gradient(90deg, transparent 49.6%, var(--art-line) 50%, transparent 50.4%), radial-gradient(80% 80% at 20% 80%, var(--art-3), transparent 70%), linear-gradient(135deg, var(--art-1), var(--art-4)); }

/* ---------- Tlačítka ---------- */
.btn {
  --btn-bg: transparent; --btn-ink: var(--ink); --btn-border: transparent;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.8rem 1.5rem;
  border: 1.5px solid var(--btn-border); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-ink);
  font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.005em; line-height: 1.2;
  text-decoration: none; text-align: center;
  cursor: pointer; user-select: none; -webkit-user-select: none;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
              transform 0.18s var(--ease-out);
}
.btn .icon { transition: transform var(--dur) var(--ease-out); }
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled, .btn[aria-disabled='true'] { opacity: 0.45; cursor: not-allowed; }
.btn--primary { --btn-bg: var(--brand); --btn-ink: var(--on-brand); box-shadow: 0 10px 24px -12px rgb(31 58 48 / 0.6); }
.btn--ghost { --btn-border: var(--line-strong); --btn-bg: transparent; }
.btn--text { --btn-ink: var(--ink-soft); padding-inline: 0.75rem; }
.btn--lg { min-height: 60px; padding: 1rem 1.9rem; font-size: 1.125rem; }
.btn--sm { min-height: 44px; padding: 0.55rem 1.15rem; font-size: 0.9375rem; }
.btn--block { width: 100%; }

@media (hover: hover) {
  .btn--primary:hover:not(:disabled) { --btn-bg: var(--brand-hover); box-shadow: 0 16px 32px -14px rgb(31 58 48 / 0.7); }
  .btn--ghost:hover:not(:disabled) { --btn-border: var(--ink); --btn-bg: var(--surface); }
  .btn--text:hover:not(:disabled) { --btn-ink: var(--ink); }
  .btn:hover:not(:disabled) > .icon:last-child:not(:first-child) { transform: translateX(3px); }
}

.icon-btn {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--ink);
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform 0.18s var(--ease-out);
}
.icon-btn:active { transform: scale(0.94); }
@media (hover: hover) { .icon-btn:hover { background: var(--surface); border-color: var(--line-strong); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), backdrop-filter 0.4s;
}
.site-header.is-scrolled {
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand__mark {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--accent); border-radius: 50%;
  font-family: var(--font-serif); font-size: 1.3rem; font-style: italic; font-weight: var(--fw-display); color: var(--accent);
  transition: transform 0.6s var(--ease-out);
}
.brand:hover .brand__mark { transform: rotate(-12deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-serif); font-size: 1.4rem; font-weight: var(--fw-serif); letter-spacing: 0.01em; }
.brand__sub { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); margin-top: 0.2rem; }

.site-nav { display: none; margin-left: auto; }
.site-nav__list { display: flex; gap: 0.25rem; list-style: none; padding: 0; }
.site-nav a {
  position: relative; display: block; padding: 0.5rem 0.85rem;
  font-size: 0.9875rem; font-weight: 600; text-decoration: none; color: var(--ink-soft);
  transition: color var(--dur) var(--ease-out);
}
.site-nav a::after {
  content: ''; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.3rem; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.site-header__actions { display: flex; align-items: center; gap: 0.6rem; margin-left: auto; }
.header-phone {
  display: none; align-items: center; gap: 0.5rem;
  font-weight: 700; text-decoration: none; padding: 0.5rem 0.25rem;
}
.header-phone .icon { color: var(--accent); }
.header-cta { display: none; }

.theme-toggle .theme-toggle__moon { display: none; }
:root[data-theme='dark'] .theme-toggle .theme-toggle__sun { display: none; }
:root[data-theme='dark'] .theme-toggle .theme-toggle__moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle .theme-toggle__sun { display: none; }
  :root:not([data-theme='light']) .theme-toggle .theme-toggle__moon { display: block; }
}

.menu-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 46px; padding: 0 1.1rem;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  font-weight: 700; font-size: 1rem;
}
.menu-btn__bars { display: grid; gap: 5px; width: 18px; }
.menu-btn__bars span { display: block; height: 1.5px; background: currentColor; border-radius: 2px; }
.menu-btn__bars span:last-child { width: 70%; }

@media (min-width: 1024px) {
  .site-nav { display: block; }
  .site-header__actions { margin-left: 0.5rem; }
  .menu-btn { display: none; }
  .header-cta { display: inline-flex; }
}
@media (min-width: 1240px) { .header-phone { display: inline-flex; } }
@media (min-width: 1024px) { :root { --header-h: 84px; } }

/* ---------- Dialogy (společné) ---------- */
dialog { border: 0; padding: 0; color: var(--ink); max-width: none; max-height: none; }
dialog::backdrop { background: rgb(10 14 12 / 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog[open] { animation: dlg-in 0.4s var(--ease-out); }
dialog[open]::backdrop { animation: fade-in 0.4s var(--ease-out); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes hero-rise { from { transform: translateY(105%); } }
@keyframes hero-fade { from { opacity: 0; transform: translateY(16px); } }
@keyframes hero-visual { from { opacity: 0; transform: translateY(28px) scale(0.98); } }

.mobile-menu {
  width: 100%; height: 100%; margin: 0; inset: 0;
  background: var(--bg);
  padding: 1rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  display: none; flex-direction: column;
}
.mobile-menu[open] { display: flex; animation: menu-in 0.45s var(--ease-out); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.mobile-menu__list { list-style: none; padding: 0; margin-top: 1.5rem; }
.mobile-menu__list a {
  display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-serif); font-size: 1.75rem; font-weight: var(--fw-display); text-decoration: none;
}
.mobile-menu__list li { opacity: 0; transform: translateY(10px); animation: item-in 0.5s var(--ease-out) forwards; }
.mobile-menu__list li:nth-child(2) { animation-delay: 0.04s; }
.mobile-menu__list li:nth-child(3) { animation-delay: 0.08s; }
.mobile-menu__list li:nth-child(4) { animation-delay: 0.12s; }
.mobile-menu__list li:nth-child(5) { animation-delay: 0.16s; }
.mobile-menu__list li:nth-child(6) { animation-delay: 0.2s; }
@keyframes item-in { to { opacity: 1; transform: none; } }
.mobile-menu__foot { margin-top: auto; padding-top: 2rem; }
.mobile-menu__hours { margin-top: 0.9rem; text-align: center; color: var(--ink-soft); font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 4.5rem;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__blob { position: absolute; border-radius: 50%; opacity: 0.7; will-change: transform; } /* měkkost dávají radiální gradienty – bez drahého filter: blur */
.hero__blob--a { width: 60vmax; height: 60vmax; right: -22vmax; top: -18vmax; background: radial-gradient(circle, var(--accent-tint), transparent 65%); opacity: 1; }
.hero__blob--b { width: 46vmax; height: 46vmax; left: -20vmax; bottom: -22vmax; background: radial-gradient(circle, rgb(44 74 62 / 0.14), transparent 65%); }
.hero__lines { position: absolute; inset: auto 0 0; width: 100%; height: 70%; will-change: transform; }
.hero__lines path { fill: none; stroke: var(--accent-soft); stroke-width: 1; opacity: 0.32; vector-effect: non-scaling-stroke; }

.hero__grid { display: grid; gap: 3rem; align-items: center; }
.hero__eyebrow { margin-bottom: 1.5rem; }
.hero__title {
  font-family: var(--font-serif); font-weight: var(--fw-display);
  font-size: clamp(3rem, 1rem + 8vw, 7.4rem);
  line-height: 1; letter-spacing: calc(var(--display-tracking) - 0.005em);
}
.hero__line { display: block; overflow: hidden; padding: 0.06em 0 0.1em; margin: -0.06em 0 -0.1em; }
.hero__line > span { display: inline-block; }
.hero__title em { font-style: italic; font-weight: 400; color: var(--accent); padding-left: 0.04em; }
.hero__lead { margin-top: 1.75rem; max-width: 33rem; font-size: clamp(1.1875rem, 1rem + 0.5vw, 1.375rem); color: var(--ink-soft); text-wrap: pretty; }

.status {
  display: inline-flex; align-items: center; gap: 0.7rem;
  margin-top: 1.75rem; padding: 0.6rem 1.1rem 0.6rem 0.9rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: 1rem; font-weight: 600; box-shadow: var(--shadow-sm);
}
.status__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-soft); flex: none; }
.status.is-open .status__dot { background: var(--ok); }
.status.is-open .status__dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok);
  animation: pulse 2.2s var(--ease-out) infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }
.status__text strong { font-weight: 800; }
.status--small { margin-top: 1.25rem; box-shadow: none; }

.hero__actions { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 2rem; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem;
  list-style: none; padding: 0; margin-top: 2rem;
  font-size: 1rem; color: var(--ink-soft);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__facts .icon { color: var(--accent); }

.hero__visual { display: none; position: relative; }
.hero__arch {
  position: relative; aspect-ratio: 4 / 5.3; width: min(100%, 470px); margin-left: auto;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); will-change: transform;
}
.hero__arch .ph-art { position: absolute; inset: 0; }
.ph-art--hero svg path { stroke-width: 1.2; }
.hero__seal {
  position: absolute; top: 6%; left: 2%; width: 128px; height: 128px;
  display: grid; place-items: center;
  background: var(--bg); border-radius: 50%; box-shadow: var(--shadow-md);
}
.hero__seal svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 28s linear infinite; }
.hero__seal text { font-size: 10.2px; letter-spacing: 2.1px; font-weight: 700; fill: var(--ink-soft); font-family: var(--font-sans); }
.hero__seal-mark { font-family: var(--font-serif); font-style: italic; font-size: 2.1rem; color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__card {
  position: absolute; left: -2%; bottom: 9%;
  display: grid; gap: 0.15rem; padding: 1.1rem 1.4rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.hero__card-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.hero__card-value { font-family: var(--font-serif); font-size: 1.6rem; font-weight: var(--fw-serif); line-height: 1.1; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.75rem; transform: translateX(-50%);
  display: none; width: 30px; height: 50px; border: 1.5px solid var(--line-strong); border-radius: 999px;
}
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: scroll-hint 2s var(--ease-in-out) infinite; }
@keyframes scroll-hint { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }

@media (min-width: 560px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 1024px) {
  .hero { padding-bottom: 6rem; }
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; }
  .hero__visual { display: block; }
  .hero__scroll { display: block; }
}

/* ---------- Sekce ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head--row { display: grid; gap: 1rem; }
@media (min-width: 900px) {
  .section-head--row { grid-template-columns: 1fr 1fr; align-items: end; }
  .section-head--row .section-lead { justify-self: end; text-align: right; }
}

/* ---------- Služby ---------- */
.services { display: grid; gap: 1rem; list-style: none; padding: 0; }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1.75rem 1.6rem 1.6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.service-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 80% at 100% 0%, var(--accent-tint), transparent 60%);
  opacity: 0; transition: opacity 0.5s var(--ease-out);
}
.service-card__icon {
  width: 52px; height: 52px; padding: 10px; margin-bottom: 0.5rem;
  border-radius: 50%; background: var(--accent-tint); color: var(--accent);
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.6s var(--ease-out);
}
.service-card__title { font-family: var(--font-serif); font-size: 1.6rem; font-weight: var(--fw-serif); line-height: 1.1; }
.service-card p { color: var(--ink-soft); }
.price-tag { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 0.5rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.service-card .price-tag { color: var(--ink); }
.price-tag strong { font-family: var(--font-serif); font-size: 1.4rem; font-weight: var(--fw-serif); }
@media (hover: hover) {
  .service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
  .service-card:hover::before { opacity: 1; }
  .service-card:hover .service-card__icon { transform: rotate(-8deg) scale(1.06); }
}
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } .service-card--wide { grid-column: span 2; } }
@media (min-width: 1024px) {
  .services { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .service-card { padding: 2.1rem 1.9rem 1.9rem; }
  .service-card--wide { grid-column: span 2; background: var(--brand); color: var(--on-brand); border-color: transparent; }
  .service-card--wide p, .service-card--wide .price-tag { color: var(--on-brand); }
  .service-card--wide p:not(.price-tag) { opacity: 0.85; }
  .service-card--wide .price-tag { border-color: rgb(247 242 234 / 0.25); }
  .service-card--wide .service-card__icon { background: rgb(247 242 234 / 0.12); color: var(--accent-soft); }
  .service-card--wide .service-card__title { font-size: 2.2rem; }
}

/* ---------- Ceník ---------- */
.pricing { display: grid; gap: 3rem; }
.control-group { margin: 2rem 0 0; padding: 0; border: 0; min-width: 0; }
.control-label { display: block; padding: 0; margin-bottom: 0.75rem; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

.tabs, .segmented {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  max-width: 30rem;
}
.tabs::before, .segmented::before {
  content: ''; position: absolute; top: 5px; bottom: 5px; left: 5px;
  width: calc((100% - 10px) / var(--count, 3));
  border-radius: 999px; background: var(--brand);
  transform: translateX(calc(100% * var(--index, 0)));
  transition: transform 0.5s var(--ease-out);
  box-shadow: 0 8px 18px -10px rgb(31 58 48 / 0.7);
}
.tabs button, .segmented span {
  position: relative; z-index: 1; display: grid; place-items: center;
  min-height: 50px; padding: 0.4rem 0.75rem; border: 0; border-radius: 999px; background: transparent;
  font-weight: 700; font-size: 1.0625rem; color: var(--ink-soft);
  transition: color 0.35s var(--ease-out);
}
.tabs button[aria-selected='true'], .segmented input:checked + span { color: var(--on-brand); }
@media (hover: hover) { .tabs button:hover:not([aria-selected='true']), .segmented label:hover input:not(:checked) + span { color: var(--ink); } }
.segmented label { position: relative; display: block; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.price-card {
  align-self: start;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.price-card__head { margin-bottom: 1rem; }
.price-card [role='tabpanel']:focus-visible { outline-offset: 8px; }
.price-list { list-style: none; padding: 0; }
.price-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 0.75rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.price-row:last-child { border-bottom: 0; }
.price-row__name { font-weight: 700; font-size: 1.125rem; }
.price-row__name small { display: block; font-weight: 500; font-size: 0.9375rem; color: var(--ink-soft); margin-top: 0.15rem; }
.price-row__dots { border-bottom: 1.5px dotted var(--line-strong); transform: translateY(-0.35em); min-width: 1rem; }
.price-row__price { font-family: var(--font-serif); font-size: 1.5rem; font-weight: var(--fw-serif); white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.price-row__price small { font-family: var(--font-sans); font-size: 0.875rem; font-weight: 600; color: var(--ink-soft); margin-right: 0.3rem; }
.price-list.is-swapping .price-row { opacity: 0; transform: translateY(6px); }
.price-row { transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out); }
.price-row.is-entering { opacity: 0; transform: translateY(8px); }
.price-card__note { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 1rem; color: var(--ink-soft); }

@media (max-width: 480px) {
  .price-row { grid-template-columns: 1fr auto; }
  .price-row__dots { display: none; }
}
@media (min-width: 1024px) {
  .pricing { grid-template-columns: 0.85fr 1.15fr; gap: 5rem; align-items: start; }
  .pricing__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Objednávka ---------- */
.booking-layout { display: grid; gap: 3rem; }
.steps-hint { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: 0.6rem; }
.steps-hint li { display: flex; align-items: center; gap: 0.85rem; font-weight: 600; }
.steps-hint span {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent); font-family: var(--font-serif); font-size: 1rem; font-weight: var(--fw-serif);
}
.phone-alt { margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.phone-alt p { color: var(--ink-soft); }
.phone-alt__link { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 0.4rem; font-family: var(--font-serif); font-size: 1.75rem; font-weight: var(--fw-serif); text-decoration: none; }
.phone-alt__link .icon { color: var(--accent); width: 0.8em; height: 0.8em; }
.phone-alt__link:hover { color: var(--accent); }

.booking {
  position: relative; align-self: start;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  min-height: 520px; display: flex; flex-direction: column;
}
.booking__noscript { padding: 1rem; font-weight: 600; }
.booking__progress {
  list-style: none; padding: 0; margin: 0 0 1.75rem;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.4rem;
  font-size: 0.8125rem; font-weight: 700; color: var(--ink-soft); letter-spacing: 0.02em;
}
.booking__progress li { position: relative; padding-top: 0.85rem; text-align: left; transition: color 0.4s var(--ease-out); }
.booking__progress li::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--line);
}
.booking__progress li::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out);
}
.booking__progress li.is-done::after, .booking__progress li[aria-current='step']::after { transform: scaleX(1); }
.booking__progress li[aria-current='step'], .booking__progress li.is-done { color: var(--ink); }
@media (max-width: 420px) { .booking__progress { font-size: 0; } .booking__progress li { padding-top: 0; } }

.booking__form { display: flex; flex-direction: column; flex: 1; }
.booking__step { flex: 1; animation: step-in 0.5s var(--ease-out); }
.booking__step.is-back { animation-name: step-in-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-18px); } }
.booking__title { font-family: var(--font-serif); font-size: clamp(1.6rem, 1.35rem + 0.8vw, 2rem); font-weight: var(--fw-serif); line-height: 1.1; margin-bottom: 1.25rem; }
.booking__title:focus { outline: none; }
.booking__title:focus-visible { outline: 3px solid var(--accent); }
.booking__hint { margin: -0.6rem 0 1.1rem; color: var(--ink-soft); font-size: 1rem; }

.choice-list { display: grid; gap: 0.6rem; }
.choice {
  position: relative; display: flex; align-items: center; gap: 1rem;
  min-height: 64px; padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg);
  cursor: pointer; text-align: left; width: 100%;
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), transform 0.18s var(--ease-out);
}
.choice:active { transform: scale(0.985); }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__icon { width: 40px; height: 40px; padding: 7px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.choice__body { display: grid; flex: 1; }
.choice__name { font-weight: 700; font-size: 1.0625rem; }
.choice__meta { font-size: 0.9375rem; color: var(--ink-soft); }
.choice__check {
  width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none;
  display: grid; place-items: center; color: var(--on-brand);
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.choice__check .icon { width: 16px; height: 16px; stroke-width: 2.5; transform: scale(0); transition: transform 0.35s var(--ease-out); }
.choice:has(input:checked) { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 1px var(--brand); }
.choice:has(input:checked) .choice__check { background: var(--brand); border-color: var(--brand); }
.choice:has(input:checked) .choice__check .icon { transform: scale(1); }
.choice:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) { .choice:hover { border-color: var(--line-strong); } }
@media (min-width: 600px) { .choice-list { grid-template-columns: 1fr 1fr; } }

.day-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 0.55rem; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 0.55rem; min-height: 120px; }
.pill {
  position: relative; display: grid; place-items: center; gap: 0;
  min-height: 56px; padding: 0.55rem 0.4rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg);
  text-align: center; line-height: 1.2; cursor: pointer;
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.18s var(--ease-out);
}
.pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pill__top { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.pill__main { font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pill__sub { font-size: 0.8125rem; color: var(--ink-soft); }
.pill:active { transform: scale(0.96); }
.pill:has(input:checked) { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.pill:has(input:checked) .pill__top, .pill:has(input:checked) .pill__sub { color: var(--on-brand); opacity: 0.85; }
.pill:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.pill:has(input:disabled) { cursor: not-allowed; opacity: 0.42; background: transparent; text-decoration: line-through; text-decoration-thickness: 1px; }
.pill:has(input:disabled) input { cursor: not-allowed; }
@media (hover: hover) { .pill:hover:not(:has(input:disabled)):not(:has(input:checked)) { border-color: var(--ink); } }
.slot-grid .pill { min-height: 52px; }

.skeleton {
  min-height: 52px; border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--bg-alt) 40%, var(--surface-2) 80%);
  background-size: 300% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }

.state-box { grid-column: 1 / -1; padding: 1.25rem; border-radius: var(--radius-sm); background: var(--bg); border: 1px dashed var(--line-strong); }
.state-box--error { border-color: var(--danger); color: var(--danger); }
.state-box p + p, .state-box p + .btn { margin-top: 0.75rem; }

.field { display: grid; gap: 0.4rem; margin-bottom: 1.15rem; }
.field label { font-weight: 700; }
.field input {
  min-height: 56px; padding: 0.75rem 1rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg);
  font-size: 1.125rem; /* ≥16 px – iOS nezoomuje */
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.field input::placeholder { color: var(--ink-soft); opacity: 0.7; }
.field input:hover { border-color: var(--ink-soft); }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--accent-tint); }
.field input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.field input[aria-invalid='true'] { border-color: var(--danger); }
.field__help { font-size: 0.9375rem; color: var(--ink-soft); }
.field__error { font-size: 0.9375rem; font-weight: 600; color: var(--danger); min-height: 0; }
.field__error:empty { display: none; }

.summary { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.summary div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); }
.summary div:last-child { border-bottom: 0; }
.summary dt { color: var(--ink-soft); font-size: 0.9375rem; font-weight: 600; }
.summary dd { font-weight: 700; }
.booking__legal { margin-top: 1rem; font-size: 0.9375rem; color: var(--ink-soft); }
.booking__error { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); background: rgb(163 55 43 / 0.1); color: var(--danger); font-weight: 600; }

.booking__nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
}
.booking__nav [data-next] { margin-left: auto; min-width: 11rem; }
.booking__nav [data-next].is-loading { pointer-events: none; }
.booking__nav [data-next].is-loading .icon { display: none; }
.booking__nav [data-next].is-loading::after {
  content: ''; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite;
}

.booking__done { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; padding: 1.5rem 0; }
.booking__done-icon {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: var(--brand); color: var(--on-brand); margin-bottom: 0.5rem;
  animation: pop 0.6s var(--ease-out);
}
.booking__done-icon .icon { width: 40px; height: 40px; stroke-width: 2.2; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.6s 0.25s var(--ease-out) forwards; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.booking__done p { color: var(--ink-soft); max-width: 26rem; }
.booking__demo { font-size: 0.9375rem; padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--placeholder-bg); color: var(--placeholder-ink) !important; }
.booking__done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 1rem; }

@media (min-width: 1024px) {
  .booking-layout { grid-template-columns: 0.8fr 1.2fr; gap: 5rem; align-items: start; }
  .booking-layout__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- O nás ---------- */
.about { display: grid; gap: 3rem; align-items: center; }
.about__visual { position: relative; }
.ph-art--about { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.ph-art--about svg circle { stroke-dasharray: 3 6; }
.about__stamp {
  position: absolute; right: -0.5rem; top: 2rem;
  display: grid; place-items: center; text-align: center;
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-md);
  line-height: 1.1;
}
.about__stamp span { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.about__stamp strong { font-family: var(--font-serif); font-size: 1.9rem; font-weight: var(--fw-serif); margin-top: -1.6rem; }
.about__text > p:not(.eyebrow) { margin-top: 1.25rem; color: var(--ink-soft); font-size: 1.1875rem; max-width: 36rem; }
.about__text .section-title { max-width: 14ch; }
.values { list-style: none; padding: 0; margin-top: 2.25rem; display: grid; gap: 1rem; }
.values li { display: grid; gap: 0.15rem; padding-left: 1.25rem; border-left: 2px solid var(--accent-soft); }
.values strong { font-family: var(--font-serif); font-size: 1.3rem; font-weight: var(--fw-serif); }
.values span { color: var(--ink-soft); font-size: 1rem; }
.about__team { font-size: 1rem !important; }
@media (min-width: 720px) { .values { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) {
  .about { grid-template-columns: 0.9fr 1.1fr; gap: 6rem; }
  .about__stamp { right: -2.5rem; width: 150px; height: 150px; }
}

/* ---------- Galerie ---------- */
.gallery {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 0.75rem; grid-auto-flow: dense;
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__btn {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0;
  border-radius: var(--radius); overflow: hidden; background: none; cursor: zoom-in;
}
.gallery__btn .ph-art { position: absolute; inset: 0; transition: transform 1.1s var(--ease-out), filter 0.6s var(--ease-out); }
.gallery__cap {
  position: absolute; left: 0.75rem; bottom: 0.75rem; z-index: 1;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  background: rgb(255 252 247 / 0.9); color: #1b2520;
  font-size: 0.875rem; font-weight: 700;
  transition: transform 0.5s var(--ease-out);
}
@media (hover: hover) {
  .gallery__btn:hover .ph-art { transform: scale(1.06); filter: saturate(1.15); }
  .gallery__btn:hover .gallery__cap { transform: translateY(-3px); }
}
.gallery__btn:focus-visible { outline-offset: 4px; border-radius: var(--radius); }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 1.1rem; }
}

.ba-wrap { display: grid; gap: 2rem; margin-top: clamp(4rem, 8vw, 7rem); align-items: center; }
.ba-wrap__title { font-family: var(--font-serif); font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); font-weight: var(--fw-display); line-height: 1.12; }
.ba-wrap__text > p:not(.eyebrow) { margin-top: 1rem; color: var(--ink-soft); }
.ba {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); user-select: none; touch-action: pan-y;
}
.ba__layer { position: absolute; inset: 0; }
.ph-art--before { background: radial-gradient(70% 60% at 40% 40%, #b9ab98, transparent 70%), linear-gradient(160deg, #8d8577, #5c574f); filter: saturate(0.4); }
.ph-art--after { background: radial-gradient(70% 60% at 60% 40%, var(--art-1), transparent 70%), radial-gradient(60% 60% at 20% 90%, var(--art-3), transparent 70%), linear-gradient(160deg, var(--art-2), var(--art-4)); }
.ba__layer--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag {
  position: absolute; top: 1rem; z-index: 2;
  padding: 0.3rem 0.85rem; border-radius: 999px; background: rgb(255 252 247 / 0.9); color: #1b2520;
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.ba__layer--before .ba__tag { left: 1rem; }
.ba__layer--after .ba__tag { right: 1rem; }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: #fffcf7; pointer-events: none; z-index: 3;
}
.ba__handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
  background: #fffcf7; color: #1b2520; box-shadow: 0 8px 24px rgb(0 0 0 / 0.25);
  transition: transform 0.3s var(--ease-out);
}
.ba__handle .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.ba__range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.ba:has(.ba__range:focus-visible) { outline: 3px solid var(--accent); outline-offset: 4px; }
.ba:has(.ba__range:active) .ba__handle span { transform: translate(-50%, -50%) scale(1.1); }
@media (min-width: 1024px) { .ba-wrap { grid-template-columns: 0.7fr 1.3fr; gap: 5rem; } }

/* ---------- Hodnocení ---------- */
.reviews {
  position: relative; overflow: hidden;
  display: grid; justify-items: center; gap: 1.1rem; text-align: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem);
  border-radius: var(--radius-lg); background: var(--brand); color: var(--on-brand);
}
.reviews::before {
  content: ''; position: absolute; inset: -40% -10% auto auto; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgb(201 148 103 / 0.35), transparent 65%); pointer-events: none;
}
.reviews > * { position: relative; }
.reviews__stars { display: flex; gap: 0.3rem; color: var(--accent-soft); }
.reviews__stars .icon { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.reviews__title { font-family: var(--font-serif); font-size: clamp(1.8rem, 1.3rem + 2.2vw, 3rem); font-weight: var(--fw-display); line-height: 1.12; max-width: 20ch; text-wrap: balance; }
.reviews p { max-width: 36rem; opacity: 0.88; }
.reviews .btn--primary { --btn-bg: var(--on-brand); --btn-ink: var(--brand); margin-top: 0.75rem; box-shadow: none; }
@media (hover: hover) { .reviews .btn--primary:hover { --btn-bg: #fff; } }
:root[data-theme='dark'] .reviews { background: var(--surface-2); color: var(--ink); }
:root[data-theme='dark'] .reviews .btn--primary { --btn-bg: var(--brand); --btn-ink: var(--on-brand); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .reviews { background: var(--surface-2); color: var(--ink); }
  :root:not([data-theme='light']) .reviews .btn--primary { --btn-bg: var(--brand); --btn-ink: var(--on-brand); }
}

/* ---------- Kontakt ---------- */
.contact { display: grid; gap: 3rem; }
.contact__address { display: grid; gap: 1rem; margin-top: 2rem; }
.contact__row { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 1.125rem; }
.contact__row .icon { color: var(--accent); margin-top: 0.2rem; }
.contact__phone { font-family: var(--font-serif); font-size: 1.75rem; font-weight: var(--fw-serif); text-decoration: none; line-height: 1.2; }
.contact__phone .icon { margin-top: 0.45rem; }
.contact__phone:hover { color: var(--accent); }

.hours { margin-top: 2.25rem; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.hours__title { font-family: var(--font-serif); font-size: 1.4rem; font-weight: var(--fw-serif); margin-bottom: 0.75rem; }
.hours__table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.hours__table th, .hours__table td { padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--line); text-align: left; }
.hours__table td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.hours__table th { font-weight: 500; }
.hours__table tr:last-child th, .hours__table tr:last-child td { border-bottom: 0; }
.hours__table tr.is-closed td { color: var(--ink-soft); font-weight: 500; }
.hours__table tr.is-today { background: var(--accent-tint); }
.hours__table tr.is-today th, .hours__table tr.is-today td { font-weight: 800; color: var(--ink); }
.hours__table tr.is-today th::after {
  content: 'dnes'; margin-left: 0.6rem; padding: 0.1rem 0.55rem; border-radius: 999px;
  background: var(--brand); color: var(--on-brand); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: middle;
}
.hours__table tr.is-today th:first-child { border-radius: 8px 0 0 8px; }
.hours__table tr.is-today td:last-child { border-radius: 0 8px 8px 0; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.map {
  position: relative; min-height: 380px; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.map__fallback {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.5rem;
  text-align: center; color: var(--ink-soft); font-weight: 600;
}
.map__fallback .icon { width: 40px; height: 40px; color: var(--accent); }
.map__frame { position: relative; width: 100%; height: 100%; min-height: 380px; border: 0; filter: saturate(0.75) sepia(0.12); }
:root[data-theme='dark'] .map__frame { filter: invert(0.9) hue-rotate(180deg) saturate(0.6) brightness(0.95); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .map__frame { filter: invert(0.9) hue-rotate(180deg) saturate(0.6) brightness(0.95); } }
@media (min-width: 1024px) {
  .contact { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; }
  .map { min-height: 100%; }
}

/* ---------- Patička ---------- */
.site-footer { padding: 4.5rem 0 2rem; background: var(--bg); border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; gap: 2rem; }
.site-footer__claim { margin-top: 1rem; color: var(--ink-soft); }
.site-footer__h { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.6rem; }
.site-footer a:not(.brand) { text-decoration: none; }
.site-footer a:not(.brand):hover { text-decoration: underline; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: 0.9375rem; color: var(--ink-soft);
}
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Mobilní akční lišta ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--line);
  transition: transform 0.45s var(--ease-out);
}
.action-bar.is-hidden { transform: translateY(110%); }
.action-bar__btn {
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 56px; border-radius: 999px; font-size: 1.125rem; font-weight: 800; text-decoration: none;
  transition: transform 0.18s var(--ease-out), background-color 0.3s var(--ease-out);
}
.action-bar__btn:active { transform: scale(0.97); }
.action-bar__btn--call { background: var(--brand); color: var(--on-brand); }
.action-bar__btn--book { border: 1.5px solid var(--brand); color: var(--ink); background: var(--surface); }
body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%; height: 100%; margin: 0; inset: 0; background: transparent;
  display: none; align-items: center; justify-content: center; padding: 4.5rem 0.75rem 2rem;
}
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgb(10 14 12 / 0.88); }
.lightbox__figure { display: grid; gap: 1rem; width: min(100%, 1000px); }
.lightbox__img { width: 100%; aspect-ratio: 4 / 3; max-height: 72vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); transition: opacity 0.3s var(--ease-out); }
.lightbox__img.is-changing { opacity: 0; }
.lightbox figcaption { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; justify-content: center; color: #f2ebdf; font-weight: 600; }
.lightbox__count { opacity: 0.7; font-variant-numeric: tabular-nums; }
.lightbox .icon-btn { color: #f2ebdf; border-color: rgb(242 235 223 / 0.3); background: rgb(10 14 12 / 0.4); width: 52px; height: 52px; }
.lightbox .icon-btn:hover { background: rgb(242 235 223 / 0.15); }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; }
.lightbox__nav { position: absolute; bottom: 1.25rem; }
.lightbox__nav--prev { left: calc(50% - 64px); }
.lightbox__nav--next { right: calc(50% - 64px); }
.lightbox { padding-bottom: 6rem; }
@media (min-width: 900px) {
  .lightbox { padding: 4rem 6rem; }
  .lightbox__nav { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox__nav--prev { left: 1.5rem; }
  .lightbox__nav--next { right: 1.5rem; }
}

/* ---------- Náhled na mobilu ---------- */
.preview-btn {
  position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 40;
  display: none; align-items: center; gap: 0.55rem;
  min-height: 46px; padding: 0.5rem 1.15rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--header-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 0.9375rem; font-weight: 700; color: var(--ink);
  box-shadow: var(--shadow-sm);
  opacity: 0.8;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.preview-btn:hover, .preview-btn:focus-visible { opacity: 1; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.preview-btn .icon { color: var(--accent); }
@media (min-width: 1024px) { .preview-btn { display: inline-flex; } }
.is-preview .preview-btn { display: none !important; }
/* V rámečku telefonu simulujeme bezpečné zóny (výřez displeje, home indikátor). */
.is-preview { --sim-top: 40px; scroll-padding-top: calc(var(--header-h) + var(--sim-top) + 12px); }
.is-preview .site-header { height: calc(var(--header-h) + var(--sim-top)); padding-top: var(--sim-top); }
.is-preview .hero { padding-top: calc(var(--header-h) + var(--sim-top) + 2.5rem); }
.is-preview .mobile-menu { padding-top: calc(1rem + var(--sim-top)); }
.is-preview .action-bar { padding-bottom: 1.6rem; }
.is-preview body { padding-bottom: 110px; }

.preview {
  width: 100%; height: 100%; margin: 0; inset: 0; background: transparent;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
}
.preview[open] { display: flex; }
.preview::backdrop { background: rgb(10 14 12 / 0.78); }
.preview__close { position: absolute; top: 1.25rem; right: 1.25rem; color: #f2ebdf; border-color: rgb(242 235 223 / 0.3); width: 52px; height: 52px; }
.preview__close:hover { background: rgb(242 235 223 / 0.15) !important; }
.preview__stage { width: calc(418px * var(--phone-scale, 1)); height: calc(872px * var(--phone-scale, 1)); }
.phone {
  position: relative; width: 418px; height: 872px; padding: 14px;
  border-radius: 62px; background: #0b0f0d;
  box-shadow: 0 0 0 2px #2b302d, 0 0 0 9px #151916, 0 50px 120px -20px rgb(0 0 0 / 0.8);
  transform: scale(var(--phone-scale, 1)); transform-origin: top left;
}
.phone__notch { position: absolute; top: 24px; left: 50%; z-index: 2; width: 120px; height: 34px; margin-left: -60px; border-radius: 20px; background: #0b0f0d; }
.phone__screen { width: 390px; height: 844px; border: 0; border-radius: 48px; background: var(--bg); }
.preview__caption { color: rgb(242 235 223 / 0.7); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; }

/* ---------- Scroll reveal & úvodní animace ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }

  /* Nástup hero čistě v CSS – běží od prvního vykreslení, nečeká na JS (rychlé LCP). */
  .hero__line > span { animation: hero-rise 1.1s var(--ease-out) both; }
  .hero__line:nth-child(2) > span { animation-delay: 0.1s; }
  .hero__eyebrow, .hero .status, .hero__actions, .hero__facts { animation: hero-fade 0.9s var(--ease-out) both; }
  .hero .status { animation-delay: 0.3s; }
  .hero__actions { animation-delay: 0.4s; }
  .hero__facts { animation-delay: 0.5s; }
  .hero__visual { animation: hero-visual 1.3s 0.15s var(--ease-out) both; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; transition-delay: 0s !important;
  }
  [data-parallax] { transform: none !important; }
}

@media (forced-colors: active) {
  .btn, .pill, .choice, .tabs button { border: 1px solid ButtonText; }
  .tabs::before, .segmented::before { display: none; }
  .tabs button[aria-selected='true'], .segmented input:checked + span { text-decoration: underline; }
}

@media print {
  .site-header, .action-bar, .preview-btn, .map, .booking, .hero__visual { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
}
