/* Pálenice Troubelice – styly webu
   Motivy: měď destilačního kotle, kulatý průzor (porthole) s nýty, razítko, měděná trubka chladiče. */

:root {
  --copper: #B85D2B;          /* tlačítka, odkazy, důležité detaily */
  --copper-dark: #974A20;
  --copper-light: #E09A6A;
  --ink: #252321;             /* nadpisy, text, patička */
  --ink-soft: #4A4541;
  --muted: #7A7068;
  --cream: #F7F3EB;           /* pozadí webu */
  --cream-deep: #EEE5D5;
  --paper: #FFFDF9;
  --brown: #75452D;           /* zvýraznění, dekorace */
  --green: #344D37;           /* ovoce, příroda */
  --green-dark: #263A29;
  --line: rgba(37, 35, 33, .12);
  --admin: #FFD21F;

  --serif: 'Alegreya', Georgia, 'Times New Roman', serif;
  --sans: 'Alegreya Sans', 'Segoe UI', system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(37, 35, 33, .06), 0 10px 30px -12px rgba(37, 35, 33, .22);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
  --header-h: 88px;
  --header-top: 132px;        /* hlavička nahoře přes hero (velké logo) */
  --header-scrolled: 70px;
  --admin-h: 0px;
}

/* ---- Základ ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--admin-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.125rem/1.65 var(--sans);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--copper); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.muted { color: var(--muted); }
.empty { padding: 32px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---- Typografie sekcí: přednadpis (eyebrow) + nadpis + úvod ---------------- */

.section { padding: var(--section) 0; }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 14px;
  font: 700 .82rem/1.2 var(--sans);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--copper);
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px; flex: none;
  background: linear-gradient(90deg, var(--copper) 0 70%, transparent 70% 80%, var(--copper) 80%);
}
.eyebrow-light { color: var(--copper-light); }
.eyebrow-light::before { background: linear-gradient(90deg, var(--copper-light) 0 70%, transparent 70% 80%, var(--copper-light) 80%); }
.section-title { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.01em; margin: 0; }
.section-title em, .hero-title em, .cta-title em { font-style: italic; font-weight: 600; color: var(--copper); }
.section-lead { margin: 16px 0 0; font-size: 1.2rem; color: var(--ink-soft); max-width: 640px; }
.section-head-light .section-title { color: #fff; }
.section-head-light .section-title em { color: var(--copper-light); }
.section-head-light .section-lead { color: rgba(255, 255, 255, .85); }
.section-more { margin: 40px 0 0; text-align: center; }

.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.5rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--copper); }

/* ---- Tlačítka ---------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; min-height: 48px;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 1rem/1.1 var(--sans); letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; min-height: 56px; font-size: 1.08rem; }
.btn-small { padding: 7px 14px; min-height: 36px; font-size: .9rem; }
.btn-primary { background: var(--copper); color: #fff; box-shadow: 0 8px 20px -10px rgba(184, 93, 43, .8); }
.btn-primary:hover { background: var(--copper-dark); color: #fff; }
.btn-outline { border-color: var(--copper); color: var(--copper); background: transparent; }
.btn-outline:hover { background: var(--copper); color: #fff; }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--copper-dark); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.btn-danger { background: #A33A2A; color: #fff; }
.btn-danger:hover { background: #82291C; color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---- Lišta administrace (žlutá, vždy nahoře po přihlášení) ------------------ */

.has-admin-bar { --admin-h: 44px; padding-top: var(--admin-h); }
.admin-bar {
  position: fixed; inset: 0 0 auto; z-index: 200; height: var(--admin-h);
  background: var(--admin); color: #1C1A00;
  border-bottom: 2px solid #E0B400;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  font: 700 .95rem/1 var(--sans);
}
.admin-bar-inner { display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 16px; overflow-x: auto; white-space: nowrap; }
.admin-bar-title { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; }
.admin-bar a, .admin-bar button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border: 0; border-radius: 6px;
  background: rgba(0, 0, 0, .08); color: inherit; text-decoration: none; cursor: pointer; font-weight: 700;
}
.admin-bar a:hover, .admin-bar button:hover { background: #1C1A00; color: var(--admin); }
.admin-bar form { margin: 0; }

/* ---- Horní lišta a hlavička ------------------------------------------------- */

.topbar { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: .92rem; }
.topbar-inner { display: flex; align-items: center; gap: 24px; min-height: 40px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.topbar-item .icon { color: var(--copper-light); }
.topbar-item strong { color: #fff; }
.topbar-mail { margin-left: auto; }
.topbar a:hover { color: #fff; }
.topbar-social { display: flex; gap: 4px; margin-right: -6px; }
.topbar-social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--copper-light); transition: background-color .2s, color .2s; }
.topbar-social a:hover { background: var(--copper); color: #fff; }
.topbar-social .icon { width: 17px; height: 17px; }

.site-header {
  position: sticky; top: var(--admin-h); z-index: 100;
  background: rgba(247, 243, 235, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s, background-color .25s, border-color .25s, margin .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(37, 35, 33, .45); }

/* Stránky s hero: hlavička leží nahoře průhledně (a vyšší kvůli velkému logu) přes fotku, po odscrollování se zbarví.
   Záporný okraj = výška hlavičky v daném stavu, takže se obsah pod ní při změně výšky neposouvá. */
.has-hero .site-header { margin-bottom: calc(-1 * var(--header-h)); }
.has-hero .site-header.is-scrolled { margin-bottom: calc(-1 * var(--header-scrolled)); }
:root:not(.nav-open) .has-hero .site-header:not(.is-scrolled) { margin-bottom: calc(-1 * var(--header-top)); }
:root:not(.nav-open) .has-hero .site-header:not(.is-scrolled) .header-inner { height: var(--header-top); }
.has-hero .site-header::before {
  /* tmavý přechod shora pro kontrast textu v hlavičce */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 72px); z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 16, 13, .72), rgba(20, 16, 13, .38) 55%, transparent);
  transition: opacity .25s;
}
:root:not(.nav-open) .has-hero .site-header:not(.is-scrolled) { background-color: transparent; border-bottom-color: transparent; backdrop-filter: none; }
:root:not(.nav-open) .has-hero .site-header:not(.is-scrolled) .brand { color: #fff; }
:root:not(.nav-open) .has-hero .site-header:not(.is-scrolled) .brand-text small { color: var(--copper-light); }
:root:not(.nav-open) .has-hero .site-header:not(.is-scrolled) .main-nav ul a { color: rgba(255, 255, 255, .92); }
:root:not(.nav-open) .has-hero .site-header:not(.is-scrolled) .main-nav ul a:hover,
:root:not(.nav-open) .has-hero .site-header:not(.is-scrolled) .main-nav ul a[aria-current="page"] { color: #fff; }
:root:not(.nav-open) .has-hero .site-header:not(.is-scrolled) .main-nav ul a::after { background: var(--copper-light); }
.has-hero .site-header.is-scrolled::before, .nav-open .has-hero .site-header::before { opacity: 0; }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .25s; }
.is-scrolled .header-inner { height: var(--header-scrolled); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand-seal { width: 72px; height: 72px; transition: width .25s, height .25s, margin .25s, transform .4s; }
.is-scrolled .brand-seal { width: 54px; height: 54px; }
/* Nahoře nad hero je razítko větší */
:root:not(.nav-open) .has-hero .site-header:not(.is-scrolled) .brand-seal { width: 112px; height: 112px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); }
.brand:hover .brand-seal { transform: rotate(-8deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font: 800 1.6rem/1 var(--serif); letter-spacing: .01em; }
.brand-text small { font: 700 .72rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--copper); margin-top: 4px; }

.main-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav ul a {
  position: relative; display: block; padding: 10px 14px;
  font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav ul a:hover::after, .main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav ul a[aria-current="page"] { color: var(--copper); }
.nav-toggle { display: none; }

/* ---- Hero (úvod) ------------------------------------------------------------ */

.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(28, 22, 18, .88) 0%, rgba(28, 22, 18, .62) 42%, rgba(28, 22, 18, .05) 75%),
              linear-gradient(0deg, rgba(28, 22, 18, .55), transparent 40%);
}
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 64px; padding-bottom: 96px; }
.has-hero .hero { padding-top: var(--header-top); min-height: calc(min(86vh, 760px) + var(--header-top)); }
.hero-text { max-width: 620px; }

/* Štítek s nejnovější aktualitou */
.hero-news {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin-bottom: 26px; padding: 6px 16px 6px 6px;
  border-radius: 999px; background: rgba(28, 22, 18, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px); color: #fff; text-decoration: none; font-size: .98rem; line-height: 1.3;
  transition: background-color .2s, box-shadow .2s;
}
.hero-news:hover { background: rgba(28, 22, 18, .75); box-shadow: inset 0 0 0 1px var(--copper-light); }
.hero-news-tag { flex: none; padding: 4px 12px; border-radius: 999px; background: var(--copper); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-news time { flex: none; color: var(--copper-light); font-weight: 700; }
.hero-news-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.hero-news .icon { flex: none; width: 16px; height: 16px; transition: transform .2s; }
.hero-news:hover .icon { transform: translateX(3px); }
.hero-title { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.02; color: #fff; margin: 0 0 22px; letter-spacing: -.015em; }
.hero-title em { display: block; color: var(--copper-light); }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255, 255, 255, .88); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Razítko „xx. sezóna“ s otáčejícím se textem */
.hero-seal { position: relative; width: 200px; height: 200px; flex: none; align-self: flex-end; margin-bottom: 64px; color: #F3C9A8; border-radius: 50%; background: radial-gradient(circle, rgba(28, 22, 18, .72) 0 69%, transparent 70%); }
.hero-seal-ring { width: 100%; height: 100%; animation: spin 40s linear infinite; }
.hero-seal-ring text { font: 700 15px var(--sans); letter-spacing: .14em; fill: currentColor; }
.hero-seal::before { content: ""; position: absolute; inset: 36px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 6px rgba(184, 93, 43, .35), 0 20px 40px -10px rgba(0, 0, 0, .5); }
.hero-seal-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.hero-seal-center strong { font: 800 3rem/1 var(--serif); }
.hero-seal-center small { font: 700 .8rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Fakta pod hero --------------------------------------------------------- */

.facts { --overlap: 56px; position: relative; z-index: 3; margin-top: calc(-1 * var(--overlap)); }
.facts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.fact { padding: 26px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.fact:last-child { border-right: 0; }
.fact strong { font: 800 2.3rem/1 var(--serif); color: var(--copper); }
.fact strong small { font-size: .55em; }
.fact span { color: var(--ink-soft); font-size: .98rem; line-height: 1.35; }

/* ---- Úvodní text s průzory ---------------------------------------------------- */

.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro-pay { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 18px; border-radius: 999px; background: var(--cream-deep); font-weight: 700; color: var(--brown); }
.intro-pay .icon { color: var(--copper); }
.intro-media { position: relative; padding: 0 0 70px 0; }

/* Kulatý průzor kotle: měděný rám s nýty */
.porthole {
  --ring: 14px;
  position: relative; margin: 0; border-radius: 50%; aspect-ratio: 1;
  padding: var(--ring);
  background: conic-gradient(from 210deg, #8F431C, #E7A57A, #B85D2B, #6E3416, #D98C5C, #8F431C);
  box-shadow: 0 24px 50px -22px rgba(60, 30, 10, .65), inset 0 0 0 2px rgba(255, 255, 255, .25);
}
.porthole::before {
  /* nýty po obvodu */
  content: ""; position: absolute; inset: 4px; border-radius: 50%; pointer-events: none; z-index: 2;
  background: repeating-conic-gradient(from 0deg, transparent 0 13deg, rgba(255, 236, 220, .95) 13deg 15deg, transparent 15deg 30deg);
  -webkit-mask: radial-gradient(circle, transparent calc(50% - 6px), #000 calc(50% - 5px), #000 calc(50% - 2px), transparent calc(50% - 1px));
          mask: radial-gradient(circle, transparent calc(50% - 6px), #000 calc(50% - 5px), #000 calc(50% - 2px), transparent calc(50% - 1px));
}
.porthole img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .3); }
.porthole-lg { width: min(100%, 460px); margin-left: auto; }
.porthole-sm { --ring: 9px; position: absolute; left: 0; bottom: 0; width: 42%; max-width: 210px; }

/* ---- Předěl: měděná trubka ----------------------------------------------------- */

.pipe { position: relative; max-width: 420px; margin: 0 auto; color: var(--copper); height: 28px; }
.pipe svg { width: 100%; height: 28px; display: block; }
.pipe-drop { position: absolute; left: 50%; top: 22px; transform: translateX(-50%); color: var(--copper); animation: drip 3.2s ease-in infinite; }
.pipe-drop .icon { width: 16px; height: 16px; fill: var(--copper); }
@keyframes drip { 0%, 40% { opacity: 0; transform: translate(-50%, -6px) scale(.6); } 55% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, 26px) scale(.9); } }

/* ---- Služby ----------------------------------------------------------------------- */

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.service {
  position: relative; padding: 30px 28px 26px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(184, 93, 43, .35); }
.service-icon {
  display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px;
  border-radius: 50%; color: var(--copper); background: var(--cream);
  box-shadow: inset 0 0 0 2px rgba(184, 93, 43, .3), 0 0 0 6px var(--cream);
}
.service-icon .icon { width: 28px; height: 28px; }
.service h3 { font-size: 1.35rem; margin-bottom: 8px; }
.service p { margin: 0; color: var(--ink-soft); font-size: 1.03rem; }

/* ---- Gravírování lahví ---------------------------------------------------------------- */

.engrave { padding-top: 0; }
.engrave-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.engrave-media a {
  display: block; padding: 10px; border-radius: calc(var(--radius) + 10px);
  background: conic-gradient(from 210deg, #8F431C, #E7A57A, #B85D2B, #6E3416, #D98C5C, #8F431C);
  box-shadow: 0 24px 50px -22px rgba(60, 30, 10, .65); transition: transform .3s;
}
.engrave-media a:hover { transform: rotate(-1deg) scale(1.01); }
.engrave-media img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.engrave-badge {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; padding: 5px 14px;
  border-radius: 999px; background: var(--copper); color: #fff;
  font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
}
.engrave-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 0 0 30px; padding: 0; list-style: none; font-weight: 700; }
.engrave-list li { display: flex; align-items: center; gap: 12px; }
.engrave-list .icon {
  width: 42px; height: 42px; padding: 10px; border-radius: 50%; color: var(--copper);
  background: var(--paper); box-shadow: inset 0 0 0 2px rgba(184, 93, 43, .3);
}

/* ---- Zdarma (zelený pás) ---------------------------------------------------------- */

.free-band { background: var(--green); color: #fff; position: relative; overflow: hidden; }
.free-band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .07); box-shadow: 0 0 0 40px rgba(255, 255, 255, .03), 0 0 0 80px rgba(255, 255, 255, .02);
}
.free-band .eyebrow-light, .free-band .eyebrow { color: #C9DCB5; }
.free-band .eyebrow::before { background: linear-gradient(90deg, #C9DCB5 0 70%, transparent 70% 80%, #C9DCB5 80%); }
.free-band .section-title em { color: #E2C98F; }
.free-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.free-symbol { width: 120px; opacity: .25; margin-top: 8px; }
.free-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.free-list li {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-sm);
  font-size: 1.12rem;
}
.free-list .icon { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: #E2C98F; color: var(--green-dark); stroke-width: 2.6; }

/* ---- Postup ------------------------------------------------------------------------ */

.step-list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step-list::before {
  /* měděná trubka spojující kroky */
  content: ""; position: absolute; left: 12%; right: 12%; top: 38px; height: 6px; border-radius: 3px;
  background: linear-gradient(180deg, #E7A57A, #B85D2B 55%, #7E3A17);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step-icon {
  position: relative; z-index: 1; display: grid; place-items: center; width: 82px; height: 82px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--paper); color: var(--copper);
  box-shadow: 0 0 0 6px var(--cream), 0 0 0 8px var(--copper), var(--shadow);
}
.step-icon .icon { width: 34px; height: 34px; }
.step-no {
  position: absolute; right: -6px; top: -6px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; font: 800 .95rem/1 var(--serif);
}
.step h3 { font-size: 1.35rem; margin-bottom: 6px; }
.step p { color: var(--ink-soft); margin: 0; font-size: 1.02rem; }

/* ---- Ceník – upoutávka (etiketa) ------------------------------------------------- */

.price-teaser { background: var(--cream-deep); }
.price-teaser-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.price-label {
  position: relative; width: 340px; padding: 40px 32px; text-align: center;
  background: var(--paper); border-radius: 50% / 18%;
  box-shadow: var(--shadow), inset 0 0 0 8px var(--paper), inset 0 0 0 10px var(--copper);
}
.price-label-top { font: 700 .82rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.price-label-main { font: 800 2.8rem/1.05 var(--serif); color: var(--copper); margin-bottom: 10px; }
.price-label-main .price-cur { font-size: .5em; }
.price-label-sub { font-size: .98rem; color: var(--ink-soft); margin-bottom: 14px; }
.price-label-note { margin: 0; padding-top: 14px; border-top: 1px dashed rgba(37, 35, 33, .25); font-weight: 700; color: var(--brown); }

/* ---- Aktuality ------------------------------------------------------------------- */

.news-home { background: var(--paper); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 26px 24px; background: var(--cream); border-radius: var(--radius);
  border-top: 4px solid var(--copper);
}
.news-date { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 700; font-size: .92rem; color: var(--copper); letter-spacing: .03em; }
.news-title { font-size: 1.45rem; margin-bottom: 10px; }
.news-body { font-size: 1.04rem; color: var(--ink-soft); }
.news-body p { margin-bottom: .6em; }
.news-card.is-long .news-body { max-height: 9.5em; overflow: hidden; -webkit-mask: linear-gradient(#000 60%, transparent); mask: linear-gradient(#000 60%, transparent); }
.news-card.is-open .news-body { max-height: none; -webkit-mask: none; mask: none; }
.news-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 0; border: 0; background: none; color: var(--copper); font-weight: 700; cursor: pointer; }
.news-card.is-open .news-more .icon { transform: rotate(180deg); }
:target.news-card, :target.myth-card { box-shadow: 0 0 0 3px var(--copper), var(--shadow); }

.post-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; margin: 14px 0 4px; }
.post-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); transition: opacity .2s; }
.post-photos a:hover img { opacity: .85; }
.post-files { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.post-files a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; font-weight: 700; }
.post-files small { margin-left: auto; color: var(--muted); font-weight: 400; white-space: nowrap; }

/* ---- Oblíbené omyly (karta s razítkem) ------------------------------------------- */

.myths-home { background: var(--cream); }
.myth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.myth-columns { columns: 2 380px; column-gap: 28px; }
.myth-columns .myth-card { break-inside: avoid; margin-bottom: 28px; }
.myth-card {
  position: relative; padding: 30px 28px 26px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(37, 35, 33, .04);
}
.myth-claim { font: 700 1.5rem/1.2 var(--serif); margin: 0 90px 18px 0; color: var(--ink); text-decoration: line-through; text-decoration-color: rgba(184, 93, 43, .55); text-decoration-thickness: 2px; }
.myth-quote { color: var(--copper); }
.myth-stamp {
  position: absolute; right: 18px; top: 22px;
  padding: 4px 12px 2px; border: 3px double #A8322A; border-radius: 6px;
  font: 800 1.05rem/1.1 var(--serif); letter-spacing: .14em; text-transform: uppercase; color: #A8322A;
  transform: rotate(-12deg); opacity: .88;
  mask: radial-gradient(circle at 30% 40%, #000 60%, rgba(0, 0, 0, .75) 61%) ;
}
.myth-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px !important; font: 700 .8rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.myth-label .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 3; }
.myth-truth { font-size: 1.04rem; color: var(--ink-soft); }
.myth-card .link-arrow { margin-top: 12px; }

/* ---- Pás aktualit a omylů na podstránkách -------------------------------------------- */

.news-band { background: var(--paper); border-top: 1px solid var(--line); }
.news-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.news-band-single .news-band-grid { grid-template-columns: 1fr; }
.news-band-single .news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-band .section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.news-list, .myth-list { display: grid; gap: 18px; margin-bottom: 24px; }
.news-band .news-card { padding: 22px 22px 18px; }
.news-band .myth-card { padding: 24px 22px 20px; }
.news-band .myth-claim { font-size: 1.3rem; }

/* ---- Fotogalerie --------------------------------------------------------------------- */

.photo-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.photo-strip a { overflow: hidden; border-radius: var(--radius-sm); }
.photo-strip img, .photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s; }
.photo-strip a:hover img, .photo-grid a:hover img { transform: scale(1.06); }
.photo-strip a:first-child { grid-column: span 2; grid-row: span 2; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.gallery-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .25s; }
.gallery-card:hover { transform: translateY(-4px); color: var(--ink); }
.gallery-card-img { position: relative; aspect-ratio: 4 / 3; background: var(--cream-deep); overflow: hidden; }
.gallery-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-card:hover .gallery-card-img img { transform: scale(1.05); }
.gallery-card-count { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(37, 35, 33, .8); color: #fff; font-weight: 700; font-size: .9rem; }
.gallery-card-text { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px 24px; }
.gallery-card-text time { font-size: .88rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--copper); }
.gallery-card-text strong { font: 700 1.45rem/1.2 var(--serif); }
.gallery-card-text span { color: var(--ink-soft); font-size: 1rem; }
.gallery-intro { max-width: 760px; margin-bottom: 32px; font-size: 1.15rem; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.photo-grid a { overflow: hidden; border-radius: var(--radius-sm); }

/* ---- Úvodní pás podstránky ------------------------------------------------------------ */

.page-hero { position: relative; display: flex; align-items: flex-end; min-height: 380px; padding: 120px 0 56px; color: #fff; background: var(--ink); overflow: hidden; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(28, 22, 18, .9), rgba(28, 22, 18, .55) 60%, rgba(28, 22, 18, .3)), linear-gradient(0deg, rgba(28, 22, 18, .6), transparent 60%); }
.page-hero::after {
  /* měděná linka s kapkou na spodní hraně */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 6px;
  background: linear-gradient(180deg, #E7A57A, #B85D2B 55%, #7E3A17);
}
.has-hero .page-hero { padding-top: calc(80px + var(--header-top)); min-height: calc(340px + var(--header-top)); }
.page-hero-inner { position: relative; z-index: 3; }
.page-hero .section-head { margin: 0; }
.page-hero .section-title { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: .95rem; color: rgba(255, 255, 255, .7); }
.crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---- Ceník -------------------------------------------------------------------------- */

.price-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.price-sheet {
  position: relative; padding: clamp(24px, 4vw, 48px); background: var(--paper);
  border-radius: var(--radius); box-shadow: var(--shadow);
  outline: 2px solid var(--copper); outline-offset: -12px;
}
.price-sheet-head { display: flex; align-items: center; gap: 24px; padding-bottom: 24px; margin-bottom: 8px; border-bottom: 2px solid var(--ink); }
.price-sheet-head img { width: 96px; height: 96px; }
.price-sheet-head .eyebrow { margin-bottom: 6px; }
.price-sheet-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; }
.price-valid { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0; color: var(--ink-soft); }
.price-valid .icon { color: var(--copper); }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(24px, auto) auto; align-items: end; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-name strong { display: block; font: 700 1.22rem/1.3 var(--serif); }
.price-name span { display: block; margin-top: 2px; color: var(--muted); font-size: .98rem; line-height: 1.4; }
.price-dots { align-self: end; height: 1px; margin-bottom: 9px; border-bottom: 2px dotted rgba(37, 35, 33, .3); min-width: 24px; }
.price-value { text-align: right; }
.price-value strong { display: block; font: 800 1.4rem/1.2 var(--serif); color: var(--copper); white-space: nowrap; }
.price-cur { font-size: .7em; }
.price-value > span { display: block; max-width: 260px; margin-left: auto; color: var(--muted); font-size: .92rem; line-height: 1.35; }
.price-row.is-highlight { margin: 8px -20px; padding: 22px 20px; background: var(--cream); border-radius: var(--radius-sm); border-bottom: 0; }
.price-row.is-highlight .price-value strong { font-size: 1.8rem; }
.price-note { display: flex; align-items: center; gap: 12px; margin: 24px 0 0; padding: 18px 22px; border-radius: var(--radius-sm); background: var(--copper); color: #fff; font-weight: 700; font-size: 1.15rem; }
.price-note .icon { width: 26px; height: 26px; fill: rgba(255, 255, 255, .25); }

.price-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + var(--admin-h) + 20px); }
.aside-card { padding: 26px 24px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); }
.aside-card-dark { background: var(--ink); color: rgba(255, 255, 255, .85); border: 0; }
.aside-card-dark .aside-title { color: #fff; }
.aside-title { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; }
.aside-title .icon { color: var(--copper); }
.aside-card-dark .aside-title .icon { color: var(--copper-light); }
.aside-small { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: .95rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; line-height: 1.4; }
.check-list .icon { color: var(--green); stroke-width: 2.6; margin-top: 2px; }

/* ---- Kontakt -------------------------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--paper); color: var(--copper); box-shadow: inset 0 0 0 2px rgba(184, 93, 43, .25); }
.contact-list strong { display: block; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.contact-extra { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.contact-extra a, .contact-extra span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.contact-extra span { color: var(--brown); }
.vcard-box { display: flex; align-items: center; gap: 22px; margin-top: 28px; padding: 22px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); }
.vcard-box img { width: 140px; height: 140px; flex: none; }
.vcard-box h3 { font-size: 1.3rem; margin-bottom: 6px; }
.vcard-box p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 10px; }

.contact-form-wrap { padding: clamp(24px, 4vw, 44px); background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form-wrap .section-head { margin-bottom: 28px; }
.contact-form-wrap .section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.contact-form-wrap .section-lead { font-size: 1.05rem; }

/* Formuláře (web i administrace) */
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; font-size: .98rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="password"], .field input[type="date"], .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid rgba(37, 35, 33, .2); border-radius: var(--radius-sm);
  background: #fff; font: inherit; font-size: 1.05rem; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px rgba(184, 93, 43, .15); }
.field-check label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.field-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--copper); flex: none; }
.field-error { margin: 6px 0 0; color: #A8322A; font-size: .92rem; font-weight: 700; }
.field-error:empty { display: none; }
.has-error input, .has-error textarea { border-color: #A8322A; }
.req { color: var(--copper); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-hint { margin: 0; color: var(--muted); font-size: .95rem; }
.form-status { margin: 16px 0 0; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-ok { padding: 14px 18px; border-radius: var(--radius-sm); background: #E4EEDD; color: var(--green-dark); }
.form-status.is-error { padding: 14px 18px; border-radius: var(--radius-sm); background: #F7E0DC; color: #7F2219; }

/* Mapa – ovládání až po kliknutí */
.map-section { line-height: 0; }
.map { position: relative; height: 440px; background: var(--cream-deep); }
.map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.9); }
.map-shield { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; }
.map-shield span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 10px 18px; border-radius: 999px; background: rgba(37, 35, 33, .8); color: #fff; font-weight: 700; line-height: 1.2; opacity: 0; transition: opacity .25s; }
.map.show-hint .map-shield span, .map-shield:focus-visible span { opacity: 1; }
.map.is-active .map-shield { pointer-events: none; }
.map-link { position: absolute; left: 24px; bottom: 24px; line-height: 1.1; box-shadow: var(--shadow); }

/* ---- Právní text, 404 ------------------------------------------------------------------- */

.legal h2 { font-size: 1.6rem; margin-top: 1.6em; }
.legal h2:first-child { margin-top: 0; }
.legal-date { color: var(--muted); margin-top: 2em; }
.not-found { text-align: center; }
.not-found img { margin: 0 auto 24px; width: 140px; }
.not-found .section-head { margin: 0 auto 32px; }
.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---- Výzva a patička ------------------------------------------------------------------- */

.cta-band { position: relative; background: var(--copper); color: #fff; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 255, 255, .5) 22px 23px);
}
.cta-inner { position: relative; display: flex; align-items: center; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.cta-seal { width: 96px; height: 96px; flex: none; opacity: .9; }
.cta-text { flex: 1; }
.cta-band .eyebrow { color: #FFE2CC; margin-bottom: 8px; }
.cta-band .eyebrow::before { background: linear-gradient(90deg, #FFE2CC 0 70%, transparent 70% 80%, #FFE2CC 80%); }
.cta-title { margin: 0; font: 700 clamp(1.6rem, 3vw, 2.3rem)/1.15 var(--serif); }
.cta-band .cta-title em { color: #fff; font-weight: 500; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); font-size: 1.02rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand img { width: 110px; height: auto; margin-bottom: 18px; }
.footer-title { font: 700 .82rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--copper-light); margin-bottom: 16px; }
.site-footer address strong { color: #fff; }
.site-footer p { display: block; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .icon { color: var(--copper-light); margin-right: 8px; vertical-align: -3px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; }
.footer-bottom p { margin: 0; }

/* Tlačítko nahoru */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--copper); color: #fff; box-shadow: 0 10px 24px -8px rgba(120, 50, 15, .7);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: #fff; }
.to-top .icon { width: 24px; height: 24px; stroke-width: 2.2; }

/* ---- Prohlížeč fotek ------------------------------------------------------------------- */

.lightbox { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; background: rgba(20, 16, 13, .94); }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 92vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.lb-figure img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lb-caption { margin-top: 12px; color: rgba(255, 255, 255, .85); text-align: center; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.lb-btn:hover { background: var(--copper); }
.lb-btn .icon { width: 24px; height: 24px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next, .lightbox.is-single .lb-counter { display: none; }
.lb-counter { position: absolute; left: 24px; top: 30px; color: rgba(255, 255, 255, .7); font-weight: 700; }

/* ---- Postupné zobrazení ------------------------------------------------------------------ */

/* Hero: texty se postupně zobrazí (jen prolnutí, bez pohybu) */
@keyframes fade-in { from { opacity: 0; } }
.hero-text > *, .hero-seal, .page-hero .crumbs, .page-hero .section-head > * { animation: fade-in .9s ease both; }
.hero-text > :nth-child(2), .page-hero .section-head > :nth-child(1) { animation-delay: .15s; }
.hero-text > :nth-child(3), .page-hero .section-head > :nth-child(2) { animation-delay: .3s; }
.hero-text > :nth-child(4), .page-hero .section-head > :nth-child(3) { animation-delay: .45s; }
.hero-text > :nth-child(5) { animation-delay: .6s; }
.hero-seal { animation-delay: .75s; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---- Responzivita ------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .main-nav ul a { padding: 10px 9px; }
  .nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-layout { grid-template-columns: 1fr; }
  .price-aside { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; --header-top: 100px; --header-scrolled: 64px; }
  .topbar-card, .topbar-mail { display: none; }
  .topbar-phone { margin-left: auto; }
  .brand-seal { width: 56px; height: 56px; }
  .is-scrolled .brand-seal { width: 48px; height: 48px; }
  :root:not(.nav-open) .has-hero .site-header:not(.is-scrolled) .brand-seal { width: 84px; height: 84px; }
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; margin-left: auto;
    border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer;
  }
  .nav-toggle .icon { width: 24px; height: 24px; }
  :root:not(.nav-open) .has-hero .site-header:not(.is-scrolled) .nav-toggle { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
  .nav-toggle .icon-close, .nav-open .nav-toggle .icon-open { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
  /* backdrop-filter by z hlavičky udělal containing block pro fixed menu (menu by se smrsklo na výšku hlavičky) */
  .nav-open .site-header { backdrop-filter: none; background-color: var(--cream); }
  .nav-open .header-inner { transition: none; }
  .main-nav {
    /* --nav-top = spodní hrana hlavičky, nastavuje main.js při otevření (horní lišta může být ještě vidět) */
    position: fixed; left: 0; right: 0; top: var(--nav-top, calc(var(--header-h) + var(--admin-h))); bottom: 0;
    flex-direction: column; align-items: stretch; gap: 24px; padding: 24px var(--gutter) 40px;
    background: var(--cream); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open body { overflow: hidden; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { padding: 16px 4px; font: 700 1.6rem/1.2 var(--serif); border-bottom: 1px solid var(--line); }
  .main-nav ul a::after { display: none; }
  .nav-cta { display: inline-flex; }

  .hero { min-height: 640px; }
  .has-hero .hero { min-height: calc(640px + var(--header-top)); }
  .hero-news { max-width: calc(100% - 150px); }
  .hero-img { object-position: 78% center; }
  .hero::before { background: linear-gradient(0deg, rgba(28, 22, 18, .92) 10%, rgba(28, 22, 18, .55) 60%, rgba(28, 22, 18, .3)); }
  .hero-inner { flex-direction: column; align-items: flex-start; padding-top: 140px; }
  .hero-seal { position: absolute; right: var(--gutter); top: 28px; margin-bottom: 0; width: 130px; height: 130px; }
  .hero-seal::before { inset: 24px; }
  .hero-seal-center strong { font-size: 2rem; }
  .hero-seal-center small { font-size: .62rem; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .intro-grid, .free-grid, .contact-grid, .news-band-grid, .price-teaser-grid, .engrave-grid { grid-template-columns: 1fr; }
  .engrave-media { max-width: 460px; margin: 0 auto; width: 100%; }
  .intro-media { max-width: 460px; margin: 0 auto; width: 100%; }
  .service-grid, .news-grid, .myth-grid, .news-band-single .news-list { grid-template-columns: 1fr 1fr; }
  .step-list { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .step-list::before { display: none; }
  .price-label { margin: 0 auto; }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-seal { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 1.06rem; }
  .topbar-item:first-child { font-size: .85rem; }
  .topbar-social { display: none; }
  .brand-text strong { font-size: 1.35rem; }
  .brand-text small { letter-spacing: .14em; }
  .hero-actions .btn { width: 100%; }
  .facts { --overlap: 40px; }
  .fact { padding: 18px 16px; }
  .fact strong { font-size: 1.8rem; }
  .service-grid, .news-grid, .myth-grid, .news-band-single .news-list, .step-list, .field-row, .price-aside { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .engrave-list { grid-template-columns: 1fr; }
  .price-label { width: 100%; }
  .price-row { grid-template-columns: 1fr; gap: 6px; }
  .price-dots { display: none; }
  .price-value { text-align: left; }
  .price-value > span { margin-left: 0; }
  .price-sheet { outline-offset: -8px; }
  .price-sheet-head img { width: 64px; height: 64px; }
  .myth-claim { margin-right: 0; margin-top: 34px; }
  .myth-stamp { top: 16px; right: auto; left: 22px; transform: rotate(-6deg); }
  .vcard-box { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .map { height: 360px; }
  .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
  .cta-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 600px) {
  .eyebrow { letter-spacing: .12em; gap: 10px; }
  .eyebrow::before { width: 24px; }
  .hero-inner { padding-top: 170px; }
}
