/* =========================================================
   Luna Beauty Studio — styles
   Design tokens převzaty 1:1 z Figmy (node 723:5478)
   ========================================================= */

/* ---------------------------------------------------------
   FONTY — self-hostované, subsety latin + latin-ext.
   Display: GRANDEURS se použije jen tehdy, je-li nainstalovaný v systému.
   Aby se použil i u návštěvníků, doplňte licencovaný webfont jako
   assets/fonts/grandeurs.woff2 a odkomentujte url() níže — jinak se
   všude vysází Gilda Display, která se načte vždy.
   --------------------------------------------------------- */
@font-face {
  font-family: 'GRANDEURS';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('GRANDEURS'), local('Grandeurs');
  /* , url('../fonts/grandeurs.woff2') format('woff2') */
}

@font-face {
  font-family: 'Gilda Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/gilda-display-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Gilda Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/gilda-display-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat Alternates';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-alternates-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat Alternates';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-alternates-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-alternates-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-alternates-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/montserrat-alternates-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/montserrat-alternates-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/montserrat-alternates-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/montserrat-alternates-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-alternates-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat Alternates';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-alternates-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Web má jen světlou variantu. Bez tohohle si Chrome (Auto Dark Mode,
     na Androidu často zapnutý) barvy sám invertuje a návštěvník s tmavým
     systémem uvidí místo krémové hnědočernou. */
  color-scheme: only light;

  --cream: #fdf6ea;
  --sand: #f7e8d0;
  --amber: #f5c98a;
  --ink: #3a2c2b;
  --accent: #7a4a4a;
  --white: #fff;

  --font-body: "Montserrat Alternates", "Segoe UI", system-ui, sans-serif;
  --font-display: "GRANDEURS", "Gilda Display", "Times New Roman", serif;

  --pad-x: clamp(20px, 5.5vw, 80px);
  --sec-y: clamp(64px, 8vw, 120px);
  --radius: 16px;
  --shadow: 0 18px 50px -28px rgba(58, 44, 43, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 119px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  transform: translateY(-200%);
  background: var(--ink); color: var(--cream);
  padding: 10px 18px; border-radius: 100px;
}
.skip-link:focus { transform: none; }

/* ---------- typografie ---------- */
.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .01em;
}

/* ---------- sparkle (vektor z Figmy) ---------- */
.sparkle {
  width: 24px; height: 24px; flex: none;
  background: var(--sand);
  -webkit-mask: url("../img/sparkle-light.svg") center / contain no-repeat;
  mask: url("../img/sparkle-light.svg") center / contain no-repeat;
}
.sparkle--sm { width: 12px; height: 12px; background: var(--accent); }

/* ---------- tlačítka ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 100px;
  background: var(--btn-bg);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--dark { --btn-bg: var(--ink); color: var(--cream); }
.btn--dark:hover { --btn-bg: #4d3b39; }
.btn--cream { --btn-bg: var(--sand); color: var(--ink); font-size: 18px; }
.btn--cream:hover { --btn-bg: #fff; }
.btn--outline { border: 1px solid var(--accent); color: var(--accent); }
.btn--outline:hover { --btn-bg: var(--accent); color: var(--cream); }
.btn--lg { padding: 16px 32px; }
.btn--xl { padding: 20px 40px; font-size: 18px; }

/* ---------- badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  padding: 8px 16px;
  color: var(--accent);
  font-weight: 600;
  font-size: clamp(13px, 1.1vw, 16px);
  text-transform: uppercase;
}

/* =========================================================
   OZNÁMENÍ O ZKUŠEBNÍM PROVOZU
   ========================================================= */
.notice {
  background: var(--ink);
  color: var(--cream);
  padding: 10px var(--pad-x);
  text-align: center;
}
.notice__text {
  display: inline-flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 6px 10px;
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 1.4;
}
.notice__text strong { font-weight: 600; letter-spacing: .02em; }
.notice__sub { opacity: .75; }
.notice .sparkle { width: 12px; height: 12px; background: var(--sand); }

@media (max-width: 560px) {
  .notice__sub { display: none; }    /* na mobilu nechat jen podstatné */
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 90;
  background: var(--cream);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.header.is-stuck { box-shadow: 0 10px 40px -30px rgba(58, 44, 43, .8); background: rgba(253, 246, 234, .92); backdrop-filter: blur(10px); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px var(--pad-x);
  transition: padding .3s var(--ease);
}
.header.is-stuck .header__inner { padding-top: 14px; padding-bottom: 14px; }
.brand img { width: clamp(84px, 8vw, 119px); height: auto; transition: width .3s var(--ease); }

.nav { display: contents; }
.nav__list { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav__link {
  position: relative;
  font-weight: 500;
  font-size: clamp(14px, 1.35vw, 20px);
  letter-spacing: -.01em;
  text-transform: uppercase;
  padding: 4px 0;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link.is-current { color: var(--accent); }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: none; }
.header__cta { font-weight: 700; font-size: clamp(14px, 1.3vw, 20px); }

.header__progress { height: 2px; background: var(--accent); width: 0; transition: width .1s linear; }

/* z-index nad .nav — jinak by přes tlačítko přejel vysunutý panel menu */
.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 86; }
.burger span {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21.5px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-overlay { position: fixed; inset: 0; background: rgba(58, 44, 43, .35); z-index: 80; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  display: flex; align-items: center; gap: clamp(24px, 6vw, 84px);
  padding: clamp(48px, 6vw, 80px) var(--pad-x);
  min-height: clamp(520px, 62vw, 826px);
  background: linear-gradient(to bottom, var(--amber) 0%, var(--sand) 45%, var(--cream) 100%);
  overflow: hidden;
}
/* text drží svou polovinu, aby se nedostal pod fotku mimo tok */
.hero__text { flex: 1 1 auto; max-width: min(52%, 680px); display: flex; flex-direction: column; gap: clamp(20px, 2.6vw, 40px); }
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  /* Strop je nastavený podle Gildy (širší než GRANDEURS), aby „Krása začíná"
     drželo na jednom řádku i na počítači bez GRANDEURS. */
  font-size: clamp(46px, 7.8vw, 114px);
  line-height: .85;
  letter-spacing: -.01em;
  color: var(--accent);
}
.hero__sub { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.5; max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }

/* Fotka je mimo tok a kotví se k pravé hraně sekce — díky tomu může být
   větší než hero a spodní hrana sekce ji ořízne (hero má overflow:hidden).
   Postava zabírá v PNG 7,2 % – 99,8 % výšky, proto to top: 4,5 % — hlava
   pak sedí zhruba 13 % pod horní hranou. */
.hero__media {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(54%, 780px);
  pointer-events: none;
}
.hero__media img {
  position: absolute; top: 4.5%; right: 0;
  height: 118%; width: auto; max-width: none;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform .6s var(--ease);
}

/* =========================================================
   STRIP KATEGORIÍ
   ========================================================= */
.strip { background: var(--ink); padding: 32px var(--pad-x); overflow: hidden; }
.strip__track { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.strip__item {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 24px);
  color: var(--white);
  white-space: nowrap;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.strip__item .sparkle { transition: transform .5s var(--ease); }
.strip__item:hover { color: var(--sand); transform: translateY(-1px); }
.strip__item:hover .sparkle { transform: rotate(90deg) scale(1.15); }

/* =========================================================
   O NÁS
   ========================================================= */
.about {
  display: flex; align-items: center; gap: clamp(32px, 6.6vw, 96px);
  padding: var(--sec-y) var(--pad-x);
  background: var(--sand);
}
.about__media {
  flex: none; width: clamp(260px, 33vw, 480px); height: clamp(340px, 39vw, 560px);
  border-radius: var(--radius); overflow: hidden;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__media:hover img { transform: scale(1.05); }
.about__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(18px, 2.2vw, 32px); }
.about__text h2 { font-size: clamp(32px, 4.4vw, 64px); }
.about__text p { font-size: clamp(15px, 1.1vw, 16px); }

/* =========================================================
   SEKČNÍ HLAVIČKA
   ========================================================= */
.section-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 48px); }
.section-head__hint { font-size: 14px; color: var(--accent); opacity: .8; }

/* =========================================================
   CENÍK
   ========================================================= */
.pricing { display: flex; flex-direction: column; gap: clamp(28px, 3.4vw, 48px); padding: var(--sec-y) var(--pad-x); background: var(--cream); }

/* přepínání kategorií ceníku */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.tab {
  border: 1px solid rgba(122, 74, 74, .35);
  border-radius: 100px;
  padding: 10px 22px;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 500;
  color: var(--accent);
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.tab:hover { border-color: var(--accent); transform: translateY(-2px); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.pricing__panel { animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pricing__panel.is-focused { animation: pulse 1.1s var(--ease); }
.pricing__note { text-align: center; font-size: 13px; color: var(--accent); opacity: .8; max-width: 60ch; margin: 0 auto; }

/* orientační délky nehtů u modeláže */
.lengths { margin-top: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; align-items: center; }
.lengths img { width: 100%; max-width: 900px; height: auto; border-radius: 12px; }
.lengths figcaption { font-size: 13px; color: var(--accent); text-align: center; }

 /* jediná skupina v záložce se roztáhne přes celou sekci */
.pricing__grid--jeden { grid-template-columns: minmax(0, 1fr) !important; }
.pricing__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(32px, 5.5vw, 80px); align-items: start; }
.pricing__col { display: flex; flex-direction: column; gap: clamp(20px, 2.2vw, 32px); }
.pricing__title {
  font-weight: 700; font-size: clamp(18px, 1.7vw, 24px);
  text-transform: uppercase; color: var(--accent); letter-spacing: .01em;
}
.pricing__list { display: flex; flex-direction: column; gap: 20px; }

.price-item {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  width: 100%; text-align: left;
  padding: 4px 4px 16px;
  border-bottom: 1px solid var(--accent);
  transition: background-color .3s var(--ease), padding-left .3s var(--ease);
}
.price-item::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0;
  background: var(--ink); transition: width .45s var(--ease);
}
.price-item:hover { background: rgba(247, 232, 208, .55); padding-left: 12px; }
.price-item:hover::before { width: 100%; }
.price-item__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.price-item__name { font-weight: 500; font-size: clamp(15px, 1.25vw, 18px); }
.price-item__price { font-weight: 600; font-size: clamp(15px, 1.25vw, 18px); color: var(--accent); white-space: nowrap; }
.price-item__row--sub { align-items: baseline; }
.price-item__time { font-size: 14px; color: var(--accent); white-space: nowrap; }
.price-item__note { font-style: italic; font-size: 13px; text-align: right; margin-left: auto; }
/* upozornění, které se nesmí přehlédnout (např. objednat předem) */
.price-item__note--duraz {
  font-style: normal; font-weight: 700; font-size: 13px;
  color: var(--accent);
  white-space: nowrap;
}
.price-item__add {
  position: absolute; right: 4px; bottom: -10px;
  background: var(--ink); color: var(--cream);
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
  opacity: 0; transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  pointer-events: none;
}
.price-item:hover .price-item__add, .price-item:focus-visible .price-item__add { opacity: 1; transform: translateY(0); }
.price-item.is-picked { background: rgba(247, 232, 208, .9); }

/* doplňkové služby — nejde je rezervovat samostatně, jen se připočítávají */
.price-item--static { cursor: default; opacity: .82; }
.price-item--static:hover { background: none; padding-left: 4px; }
.price-item--static:hover::before { width: 0; }

/* dočasné zvýraznění při filtrování ze stripu */
.pricing__col.is-dimmed { opacity: .35; transition: opacity .4s var(--ease); }
.pricing__col.is-focused { animation: pulse 1.2s var(--ease); }
@keyframes pulse { 0%, 100% { transform: none; } 35% { transform: translateY(-6px); } }

/* =========================================================
   GALERIE
   ========================================================= */
.gallery { display: flex; flex-direction: column; gap: clamp(36px, 4.4vw, 64px); padding: var(--sec-y) var(--pad-x); background: var(--sand); }
.gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.gallery__card { display: flex; flex-direction: column; gap: 16px; }
.gallery__btn {
  position: relative; display: block; width: 100%;
  aspect-ratio: 302 / 320;
  border-radius: 20px; overflow: hidden;
}
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s var(--ease); }
.gallery__btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(58, 44, 43, .55), transparent 55%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery__btn:hover img, .gallery__btn:focus-visible img { transform: scale(1.07); }
.gallery__btn:hover::after, .gallery__btn:focus-visible::after { opacity: 1; }
.gallery__zoom {
  position: absolute; left: 50%; bottom: 18px; z-index: 2;
  transform: translate(-50%, 12px);
  background: var(--cream); color: var(--ink);
  font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  padding: 8px 18px; border-radius: 100px;
  opacity: 0; transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gallery__btn:hover .gallery__zoom, .gallery__btn:focus-visible .gallery__zoom { opacity: 1; transform: translate(-50%, 0); }
.gallery__card figcaption { font-weight: 500; text-align: center; }
/* dlaždice bez zvětšování — předlohy mají 354 px, v lightboxu by se rozmazaly */
.gallery__btn--static { cursor: default; }
.gallery__btn--static:hover img { transform: none; }
.gallery__btn--static::after { content: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: var(--cream); padding: clamp(64px, 7vw, 100px) var(--pad-x) 40px; display: flex; flex-direction: column; gap: clamp(48px, 6vw, 80px); }
.footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__headline { font-size: clamp(26px, 3vw, 40px); font-weight: 400; line-height: 1.2; max-width: 640px; }
.footer__lead { color: var(--sand); font-size: 16px; line-height: 1.5; max-width: 640px; margin-top: 16px; }
.footer__info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5.5vw, 80px); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__title { font-size: clamp(18px, 1.7vw, 24px); font-weight: 400; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.footer__strong { color: var(--sand); }
.footer__col p { font-size: 15px; opacity: .8; }
.footer__col a { transition: opacity .25s var(--ease), color .25s var(--ease); }
.footer__col a:hover { color: var(--sand); }
.footer__status { font-size: 13px !important; opacity: 1 !important; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.footer__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7fb08a; }
.footer__status.is-closed::before { background: #c98a8a; }
.footer__col--brand { align-items: flex-end; text-align: right; }
.footer__logo { width: clamp(90px, 8vw, 119px); height: auto; }
.footer__copy { font-size: 13px; opacity: .5; }

/* =========================================================
   ZPĚT NAHORU
   ========================================================= */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 70;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--cream);
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; transform: none; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center; gap: clamp(8px, 3vw, 32px);
  background: rgba(58, 44, 43, .93);
  padding: 24px;
  opacity: 0; transition: opacity .3s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox__figure { display: flex; flex-direction: column; gap: 16px; align-items: center; max-height: 88vh; }
.lightbox__figure img {
  max-height: 78vh; max-width: min(88vw, 900px); width: auto;
  border-radius: 12px; object-fit: contain;
  animation: lbIn .45s var(--ease);
}
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lightbox__figure figcaption { color: var(--cream); font-size: 15px; letter-spacing: .04em; }
.lightbox__nav, .lightbox__close {
  color: var(--cream); background: rgba(253, 246, 234, .12);
  border-radius: 50%; width: 48px; height: 48px; flex: none;
  display: grid; place-items: center; font-size: 30px; line-height: 1;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(253, 246, 234, .28); transform: scale(1.06); }
.lightbox__close { position: absolute; top: 20px; right: 20px; font-size: 26px; }

/* =========================================================
   MODAL — REZERVACE
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: clamp(12px, 3vw, 32px); }
.modal__backdrop { position: absolute; inset: 0; background: rgba(58, 44, 43, .55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s var(--ease); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; z-index: 1;
  width: min(720px, 100%); max-height: min(92vh, 900px);
  display: flex; flex-direction: column;
  background: var(--cream);
  border-radius: 24px;
  box-shadow: 0 40px 90px -40px rgba(58, 44, 43, .7);
  overflow: hidden;
  opacity: 0; transform: translateY(18px) scale(.98);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 14px; right: 18px; font-size: 30px; line-height: 1; color: var(--accent); z-index: 2; }
.modal__head { padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 40px) 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.modal__title { font-size: clamp(24px, 3vw, 36px); }

.steps { display: flex; gap: clamp(12px, 3vw, 28px); width: 100%; }
.steps__item { display: flex; align-items: center; gap: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); opacity: .5; transition: opacity .3s var(--ease); }
.steps__item span {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--accent); font-size: 12px;
}
.steps__item.is-active { opacity: 1; }
.steps__item.is-done span { background: var(--accent); color: var(--cream); border-color: var(--accent); }
.steps__bar { width: 100%; height: 2px; background: rgba(122, 74, 74, .2); border-radius: 2px; overflow: hidden; }
.steps__bar i { display: block; height: 100%; width: 33.33%; background: var(--accent); transition: width .4s var(--ease); }

.modal__body { padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 40px); overflow-y: auto; flex: 1; }
.step { border: 0; padding: 0; display: none; flex-direction: column; gap: 16px; }
.step.is-active { display: flex; animation: stepIn .35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.step__legend { font-size: 14px; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }

.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.services__group {
  grid-column: 1 / -1;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); opacity: .75;
  margin-top: 6px;
}
.services__group:first-child { margin-top: 0; }
.service {
  display: flex; flex-direction: column; gap: 4px;
  border: 1px solid rgba(122, 74, 74, .35);
  border-radius: 12px; padding: 14px 16px;
  cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.service:hover { border-color: var(--accent); transform: translateY(-2px); }
.service input { position: absolute; opacity: 0; pointer-events: none; }
.service__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.service__name { font-weight: 500; font-size: 14px; display: flex; align-items: flex-start; gap: 8px; }
.service__price { font-weight: 600; font-size: 14px; color: var(--accent); white-space: nowrap; }
.service__name::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px;
  border: 1px solid var(--accent); border-radius: 4px;
  background: transparent center / 11px no-repeat;
  transition: background-color .2s var(--ease);
}
.service:has(input:checked) { border-color: var(--accent); background: rgba(247, 232, 208, .75); }
.service:has(input:checked) .service__name::before {
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fdf6ea' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 7'/%3E%3C/svg%3E");
}
.service:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.service__meta { font-size: 13px; color: var(--accent); padding-left: 24px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field label, .field__label { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); }
.field__opt { text-transform: none; letter-spacing: 0; opacity: .7; }
.field input, .field select, .field textarea {
  border: 1px solid rgba(122, 74, 74, .35);
  border-radius: 12px;
  background: var(--white);
  padding: 12px 14px;
  font-size: 15px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(122, 74, 74, .12);
}
.field textarea { resize: vertical; }
.field.has-error input, .field.has-error select { border-color: #b4544f; }
.field__error { color: #b4544f; font-size: 13px; }

.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots__empty { font-size: 14px; color: var(--accent); opacity: .75; }
.slot {
  border: 1px solid rgba(122, 74, 74, .35);
  border-radius: 100px; padding: 8px 16px; font-size: 14px;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.slot:hover:not(:disabled) { border-color: var(--accent); transform: translateY(-2px); }
.slot.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.slot:disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; margin-top: 2px; }

.done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 20px 0 8px; animation: stepIn .4s var(--ease); }
.done__mark { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--cream); display: grid; place-items: center; }
.done__mark svg { width: 30px; height: 30px; }
.done__title { font-size: 28px; }
.done__text { max-width: 44ch; }
.done__code { font-size: 14px; color: var(--accent); }

.modal__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px clamp(20px, 3vw, 40px);
  border-top: 1px solid rgba(122, 74, 74, .2);
  background: var(--sand);
}
.summary { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.summary__line { font-size: 13px; color: var(--accent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 34ch; }
.summary__total { display: flex; align-items: baseline; gap: 10px; }
.summary__total strong { font-size: 20px; }
.summary__total em { font-style: normal; font-size: 13px; color: var(--accent); }
.modal__actions { display: flex; gap: 10px; }

/* =========================================================
   REZERVACE PŘES CAL.COM
   ========================================================= */
.modal__panel--cal { width: min(1000px, 100%); max-height: 92dvh; padding: 0; background: var(--cream); }
.cal-head {
  display: flex; align-items: center; gap: 14px;
  padding: 16px clamp(20px, 3vw, 32px) 12px;
  border-bottom: 1px solid rgba(122, 74, 74, .2);
}
.cal-head img { width: 74px; height: auto; }
.cal-head p {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  padding-left: 14px; border-left: 1px solid rgba(122, 74, 74, .3);
}
/* návrat na seznam služeb — Cal ve vloženém rámu vlastní „zpět" nemá */
.cal-back {
  margin-left: auto; margin-right: 44px;
  border: 1px solid rgba(122, 74, 74, .35); border-radius: 100px;
  padding: 8px 16px; font-size: 13px; color: var(--accent);
  white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.cal-back:hover { background: rgba(247, 232, 208, .7); border-color: var(--accent); }
@media (max-width: 560px) {
  .cal-head p { display: none; }
  .cal-back { margin-right: 40px; padding: 8px 12px; }
}
/* embed Calu si vkládá vlastní prvek — musí vyplnit rám */
#cal-frame cal-inline, #cal-frame > div { width: 100%; height: 100%; }
/* Cal si iframe sám natáhne na výšku svého obsahu (klidně 1100 px), proto
   rám scrolluje a iframe má přirozenou výšku — jinak se kalendář ořízne. */
.cal-frame {
  position: relative; flex: 1;
  min-height: min(560px, 68dvh);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.cal-frame iframe { display: block; width: 100%; border: 0; }
#cal-frame cal-inline { display: block; width: 100%; }
.cal-frame__loading {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 14px; color: var(--accent);
}
.cal-frame__fallback { padding: 12px 20px; font-size: 13px; color: var(--accent); text-align: center; }
.cal-frame__fallback a { text-decoration: underline; }

@media (max-width: 640px) {
  .modal__panel--cal { border-radius: 20px 20px 0 0; }
  .cal-frame { min-height: 74dvh; }
  
}

/* =========================================================
   LIŠTA O COOKIES
   ========================================================= */
.cookies {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(0);
  z-index: 120;
  width: min(720px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--cream);
  border: 1px solid rgba(122, 74, 74, .3);
  border-radius: 18px;
  box-shadow: 0 24px 60px -30px rgba(58, 44, 43, .7);
  animation: cookiesIn .5s var(--ease);
}
@keyframes cookiesIn { from { opacity: 0; transform: translateX(-50%) translateY(16px); } }
.cookies__text { flex: 1 1 300px; font-size: 13px; line-height: 1.55; }
.cookies__text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookies__akce { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cookies__ok, .cookies__ne { padding: 10px 22px; font-size: 13px; white-space: nowrap; }
/* odmítnutí musí být stejně čitelné a klikatelné jako souhlas — jen tišší,
   ne schované; jinak by to byl vynucený souhlas */
.cookies__ne { border-color: rgba(122, 74, 74, .45); }

@media (max-width: 560px) {
  .cookies { bottom: calc(12px + env(safe-area-inset-bottom)); padding: 14px 16px; gap: 12px; }
  .cookies__akce { width: 100%; }
  .cookies__ok, .cookies__ne { flex: 1; padding: 12px 14px; }
}

/* =========================================================
   AKČNÍ POP-UP S VOUCHEREM
   ========================================================= */
.promo { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: clamp(12px, 3vw, 32px); }
.promo__backdrop { position: absolute; inset: 0; background: rgba(58, 44, 43, .55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s var(--ease); }
.promo.is-open .promo__backdrop { opacity: 1; }
.promo__panel {
  position: relative; z-index: 1;
  width: min(480px, 100%);
  max-height: 92dvh; overflow-y: auto;
  background: var(--cream);
  border-radius: 24px;
  /* horní odsazení musí uhnout křížku, jinak leží na voucheru */
  padding: clamp(58px, 6vw, 64px) clamp(24px, 4vw, 40px) clamp(28px, 4vw, 40px);
  box-shadow: 0 40px 90px -40px rgba(58, 44, 43, .7);
  text-align: center;
  opacity: 0; transform: translateY(20px) scale(.97);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.promo.is-open .promo__panel { opacity: 1; transform: none; }
.promo__close { position: absolute; top: 4px; right: 8px; width: 44px; height: 44px; display: grid; place-items: center; font-size: 28px; color: var(--accent); }

.promo__step { display: none; flex-direction: column; align-items: center; gap: 16px; }
.promo__step.is-active { display: flex; animation: stepIn .4s var(--ease); }
.promo__title { font-size: clamp(24px, 3vw, 32px); }
.promo__lead { font-size: 15px; line-height: 1.5; max-width: 34ch; }

.promo__choice { display: grid; gap: 10px; width: 100%; margin-top: 4px; }
.promo__pick {
  display: flex; flex-direction: column; gap: 2px;
  border: 1px solid rgba(122, 74, 74, .35); border-radius: 14px;
  padding: 14px 18px; text-align: left;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.promo__pick:hover { border-color: var(--accent); background: rgba(247, 232, 208, .6); transform: translateY(-2px); }
.promo__pick-title { font-weight: 600; font-size: 15px; }
.promo__pick-sub { font-size: 13px; color: var(--accent); }

/* voucher — přepis tištěné předlohy do HTML, ať je ostrý a přizpůsobí se */
.voucher {
  position: relative; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 28px 24px 64px;
  border-radius: 18px;
  background: linear-gradient(150deg, #f3c079 0%, #fbf1e0 38%, #fdf9f2 52%, #f6d29a 100%);
  color: var(--ink);
  overflow: hidden;
}
.voucher__eyebrow { font-family: var(--font-display); font-size: 18px; letter-spacing: .12em; text-transform: uppercase; }
.voucher__for { font-size: clamp(22px, 4.6vw, 30px); text-transform: uppercase; letter-spacing: .04em; line-height: 1.1; }
.voucher__deal { font-size: clamp(30px, 7vw, 44px); font-weight: 500; margin-top: 6px; }
.voucher__valid {
  position: absolute; left: 0; bottom: 16px;
  background: #fff; border-radius: 0 100px 100px 0;
  padding: 7px 18px 7px 24px;
  font-size: 13px;
}
.voucher__logo { position: absolute; right: 20px; bottom: 14px; width: 76px; height: auto; }

.promo__note { font-size: 13px; color: var(--accent); max-width: 36ch; }
.promo__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; width: 100%; }

@media (max-width: 520px) {
  .promo__actions .btn { flex: 1 1 100%; }
  .voucher { padding-bottom: 58px; }
  .voucher__logo { width: 62px; }
}

/* =========================================================
   REVEAL ANIMACE
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); }
.js .reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-reveal-delay="1"] { transition-delay: .09s; }
.reveal[data-reveal-delay="2"] { transition-delay: .18s; }
.reveal[data-reveal-delay="3"] { transition-delay: .27s; }
html:not(.js) .reveal { opacity: 1; transform: none; }

body.is-locked { overflow: hidden; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  /* CTA zůstává v hlavičce i na mobilu, jen kompaktní — hlavní akce webu
     nemá být schovaná pod hamburgerem */
  .header__cta { padding: 11px 20px; font-size: 13px; letter-spacing: .02em; min-height: 44px; }
  .burger { display: block; }
  .nav {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 32px;
    position: fixed; top: 0; right: 0; z-index: 85;
    width: min(360px, 86vw); height: 100dvh;
    background: var(--cream);
    padding: 40px;
    transform: translateX(102%);
    /* visibility drží zavřený panel mimo pořadí tabulátoru a mimo rozměr stránky */
    visibility: hidden;
    /* visibility se přepne až po dojetí zavírací animace, při otevírání okamžitě */
    transition: transform .45s var(--ease), visibility 0s .45s;
    box-shadow: -20px 0 60px -40px rgba(58, 44, 43, .9);
  }
  .nav.is-open {
    transform: none;
    visibility: visible;
    transition: transform .45s var(--ease), visibility 0s;
  }
  .nav__list { flex-direction: column; gap: 14px; text-align: center; }
  /* padding kvůli dotykové ploše — 44 px je minimum, na které se dá trefit */
  .nav__link { font-size: 22px; padding: 10px 16px; }
  .nav__cta { display: inline-flex; }
}

@media (max-width: 900px) {
  /* padding-bottom: 0 — fotka dosedá na hranu sekce, ne do prázdna */
  .hero { flex-direction: column; align-items: flex-start; text-align: left; min-height: 0; padding-bottom: 0; }
  .hero__text { max-width: 100%; }
  /* fotka zpátky do toku, přes celou šířku. Je zvětšená na dvojnásobek boxu,
     takže ji spodní hrana sekce ořízne zhruba v půlce postavy (v pase). */
  .hero__media {
    position: relative; inset: auto;
    align-self: center;
    width: calc(100% + 2 * var(--pad-x));
    margin-inline: calc(-1 * var(--pad-x));
    height: clamp(300px, 82vw, 440px);
  }
  .hero__media img { top: 0; right: auto; left: 50%; height: 195%; transform: translateX(-50%); }
  .about { flex-direction: column; align-items: stretch; }
  .about__media { width: 100%; height: clamp(300px, 64vw, 480px); }
  .pricing__grid { grid-template-columns: minmax(0, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__info { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .footer__col--brand { align-items: flex-start; text-align: left; }
  .footer__cta { flex-direction: column; align-items: flex-start; }

  .strip__track { justify-content: flex-start; gap: 56px; width: max-content; animation: marquee 26s linear infinite; }
  .strip__track:hover { animation-play-state: paused; }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  .services, .field-row { grid-template-columns: minmax(0, 1fr); }
  .summary__line { max-width: 22ch; }
}

@media (max-width: 560px) {
  /* úzké displeje: u neaktivních kroků necháme jen číslo, jinak lišta přeteče */
  .steps { gap: 10px; }
  .steps__item { font-size: 11px; }
  .steps__item:not(.is-active) { font-size: 0; gap: 0; }
}

/* ---- telefony ---- */
@media (max-width: 640px) {
  /* rezervace jako bottom sheet — palcem dosažitelné akce dole,
     dvh místo vh kvůli vysouvací liště prohlížeče */
  .modal { place-items: end center; padding: 0; }
  .modal__panel { width: 100%; max-height: 94dvh; border-radius: 24px 24px 0 0; }
  .modal__panel::before {
    content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    width: 40px; height: 4px; border-radius: 100px; background: rgba(122, 74, 74, .25);
  }

  /* hlavička a patička sheetu ujídaly 40 % výšky — zeštíhlené, ať zbyde
     místo na samotný obsah kroku */
  .modal__head { padding: 22px 20px 0; gap: 10px; }
  .modal__head .badge { display: none; }
  .modal__title { font-size: 21px; }
  .modal__close {
    width: 44px; height: 44px; top: 2px; right: 4px;
    display: grid; place-items: center; font-size: 26px;
  }
  .modal__body { padding: 16px 20px; }
  .step { gap: 14px; }
  .step__legend { margin-bottom: 0; }

  /* kompaktnější karty služeb — místo 4 jich je vidět 6 */
  .service { padding: 11px 14px; border-radius: 10px; }
  .service__meta { font-size: 12px; padding-left: 24px; }

  /* 16px je hranice, pod kterou iOS Safari při fokusu přiblíží stránku */
  .field input, .field select, .field textarea { font-size: 16px; }

  .modal__foot { padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); gap: 10px; }
  /* výpis služeb zůstává — v krocích 2 a 3 je to jediná připomínka výběru */
  .summary { gap: 0; }
  .summary__line { font-size: 12px; max-width: 30ch; }
  .summary__total strong { font-size: 18px; }
  .modal__actions { width: 100%; }
  .modal__actions .btn { flex: 1; }
  .modal__foot { justify-content: stretch; }
  .to-top { bottom: calc(20px + env(safe-area-inset-bottom)); right: 16px; }
  .footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
}

@media (max-width: 520px) {
  .hero__cta { gap: 12px; }
  .hero__cta .btn { width: 100%; }
  .gallery__grid { gap: 14px; }
  .gallery__card figcaption { font-size: 14px; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox { padding: 12px; gap: 4px; }
  /* dotyková plocha u položek pruhu kategorií */
  .strip__item { padding: 7px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .to-top, .modal, .lightbox, .strip { display: none !important; }
  body { background: #fff; }
}
