/* ==========================================================================
   Sauna Lipka — Vělopolí
   Statický web, všechny odkazy na assety jsou relativní.
   ========================================================================== */

:root {
  --paper: #f1efe9;
  --paper-2: #e7e2d7;
  --ink: #1f2320;
  --ink-soft: #454b46;
  --muted: #767c74;
  --cedar: #a3552c;
  --cedar-dark: #7d3f1f;
  --ember: #c2703f;
  --line: #d8d2c5;
  --deep: #191d1a;
  --radius: 6px;
  --radius-sm: 4px;
  --wrap: 1160px;
  --shadow: 0 18px 40px -26px rgba(25, 29, 26, 0.5);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--cedar-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ember); }

h1, h2, h3 {
  font-family: "DM Serif Text", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.22rem; }
h4 {
  font-size: 0.78rem;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cedar);
  margin: 0 0 10px;
}

.lead { font-size: 1.08rem; color: var(--ink-soft); }

.mt-2 { margin-top: 1.2rem; }
.mt-3 { margin-top: 1.8rem; }

.link-arrow {
  display: inline-block;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow:hover { color: var(--ember); }

/* ---------- Notice bar ---------------------------------------------------- */

.notice {
  background: var(--ember);
  color: #fff8f2;
  font-size: 0.94rem;
  text-align: center;
}
.notice__inner {
  padding: 11px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  justify-content: center;
  align-items: baseline;
}
.notice strong { font-weight: 600; }
.notice span { opacity: 0.92; }

/* ---------- Header ------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(241, 239, 233, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand__mark { width: 34px; height: 34px; color: var(--cedar); flex: none; }
.brand__name {
  font-family: "DM Serif Text", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.05;
  display: block;
}
.brand__sub {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); border-color: var(--cedar); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 3px;
  background: var(--cedar);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--cedar-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--cedar-dark);
  border-color: var(--cedar);
}
.btn--ghost:hover { background: var(--cedar); color: #fff; }
.btn--light { background: #f3ece0; color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.header-cta { flex: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  content: "";
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav .wrap { display: grid; gap: 2px; padding-top: 10px; padding-bottom: 16px; }
.mobile-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 12px; border-bottom: 0; }
.mobile-nav.is-open { display: block; }

/* ---------- Buttons row -------------------------------------------------- */

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero --------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
  background: var(--deep);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 14, 11, 0.62) 0%, rgba(18, 14, 11, 0.42) 45%, rgba(18, 14, 11, 0.78) 100%);
}
.hero__inner {
  max-width: 700px;
  padding: clamp(64px, 12vw, 124px) 0;
}
.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero .eyebrow { color: #f0d9c2; }
.hero__lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 54ch;
}
.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 0;
  margin: 28px 0 0;
}
.hero-facts li {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Sections ----------------------------------------------------- */

.section { padding: clamp(48px, 8vw, 92px) 0; }
.section--tight { padding: clamp(36px, 6vw, 64px) 0; }
.section--paper { background: var(--paper-2); }
.section--deep { background: var(--deep); color: #efe6da; }
.section--deep h2,
.section--deep h3 { color: #fff; }
.section--deep .eyebrow { color: #d7ab84; }
.section--deep a { color: #f2cfae; }
.section--deep .lead { color: rgba(239, 230, 218, 0.86); }

.prose { color: var(--ink-soft); max-width: 68ch; }
.prose p { margin-bottom: 1em; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split--top { align-items: start; }

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Highlights --------------------------------------------------- */

.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.highlights li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
}
.highlights strong {
  display: block;
  font-family: "DM Serif Text", Georgia, serif;
  font-size: 1.02rem;
  margin-bottom: 3px;
}
.highlights span { font-size: 0.88rem; color: var(--muted); }

.highlights--two { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }

/* ---------- Price table -------------------------------------------------- */

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.price-card h3 { margin-bottom: 10px; }
.price-card h3 small {
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 2px;
}

table.price {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}
table.price th,
table.price td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
table.price th { font-weight: 400; color: var(--ink-soft); }
table.price td {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}
table.price tr:last-child th,
table.price tr:last-child td { border-bottom: 0; }

.extras {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0;
}
.extras li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.94rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.extras b { white-space: nowrap; }

.note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Gallery ------------------------------------------------------ */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.gallery a {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery a:hover img { transform: scale(1.04); }

/* ---------- Info list ---------------------------------------------------- */

.infolist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.infolist li { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.infolist li:last-child { border-bottom: 0; padding-bottom: 0; }
.infolist .label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.infolist a { text-decoration: none; }
.infolist a:hover { text-decoration: underline; }

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

/* ---------- CTA band ----------------------------------------------------- */

.cta-band {
  background: var(--cedar-dark);
  color: #f7efe4;
  padding: clamp(40px, 7vw, 72px) 0;
}
.cta-band h2 { color: #fff; }
.cta-band .eyebrow { color: #e5c2a4; }
.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}
.cta-band .lead { color: rgba(247, 239, 228, 0.85); }
.cta-band a { color: #f7efe4; }
.cta-band .btn { color: var(--ink); }

/* ---------- Footer ------------------------------------------------------- */

.site-footer {
  background: var(--deep);
  color: #cfc2b4;
  padding: 52px 0 26px;
  font-size: 0.92rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer a { color: #e9dccb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand__name,
.site-footer .brand__sub { color: #f3e9dc; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col h4 { color: #f3e9dc; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  font-size: 0.84rem;
  color: #a5978a;
}

/* ---------- Page head ---------------------------------------------------- */

.page-head {
  background: var(--paper-2);
  padding: clamp(44px, 7vw, 76px) 0 clamp(32px, 5vw, 52px);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { max-width: 24ch; }
.page-head .lead { max-width: 62ch; }

/* ---------- Article ------------------------------------------------------ */

.article h2 { margin-top: 1.7em; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.article h2:first-child { margin-top: 0; }
.article p { color: var(--ink-soft); }

.article ul {
  color: var(--ink-soft);
  margin: 0 0 1.2em;
  padding-left: 1.1em;
  display: grid;
  gap: 0.55em;
}
.article li { padding-left: 0.15em; }
.article li::marker { color: var(--cedar); }
.article strong { color: var(--ink); font-weight: 600; }

/* ---------- Placeholder note --------------------------------------------- */

.editable-note {
  margin-top: 26px;
  padding: 14px 16px;
  border-left: 3px solid var(--ember);
  background: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- Reveal (progressive enhancement) ---------------------------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive --------------------------------------------------- */

@media (max-width: 980px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .split,
  .split--reverse { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .extras { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .highlights,
  .highlights--two { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero__inner { padding: 56px 0 64px; }
  .brand__sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .gallery img { transition: none; }
}
