/* Penzion Hošťka — lightweight, tracking-free public site */
:root {
  --ink: #17312d;
  --ink-soft: #47605b;
  --forest: #173b36;
  --forest-light: #24594f;
  --cream: #f4f0e7;
  --paper: #fffdf8;
  --sand: #d8c8ad;
  --line: rgba(23, 49, 45, 0.15);
  --white: #fff;
  --shadow: 0 24px 70px rgba(19, 39, 35, 0.14);
  --radius: 1.25rem;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; }
h2 { font-size: clamp(2.2rem, 5vw, 4.6rem); font-weight: 620; }
h3 { font-size: 1.35rem; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--white);
  color: var(--forest);
  border-radius: 0.4rem;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: 1.4rem 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.brand {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
  line-height: 1.15;
}
.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.45rem;
}
.brand strong { display: block; font-size: 0.98rem; letter-spacing: 0.01em; }
.brand small { font-size: 0.72rem; opacity: 0.72; }
.site-header nav { display: flex; align-items: center; gap: clamp(0.75rem, 2.2vw, 2rem); }
.site-header nav a { font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus-visible { text-decoration: underline; }
.nav-cta {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 99rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(900px, 100svh);
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
}
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 42%; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 28, 25, 0.83) 0%, rgba(7, 28, 25, 0.52) 42%, rgba(7, 28, 25, 0.12) 75%),
    linear-gradient(0deg, rgba(7, 28, 25, 0.78) 0%, transparent 35%);
}
.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(calc(100% - 3rem), var(--max));
  margin: 5rem auto 8rem;
}
.eyebrow {
  margin-bottom: 1rem;
  color: #efe3cb;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--forest-light); }
.hero h1 {
  max-width: 850px;
  margin-bottom: 1.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 9.5vw, 8.6rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.86;
}
.hero-lead { max-width: 620px; margin-bottom: 2rem; font-size: clamp(1.05rem, 2vw, 1.35rem); color: rgba(255,255,255,0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 720;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--cream); color: var(--forest); }
.button-primary:hover { background: var(--white); }
.button-ghost { border-color: rgba(255,255,255,0.55); color: var(--white); }
.button-ghost:hover { background: rgba(255,255,255,0.12); }
.hero-facts {
  position: absolute;
  z-index: 2;
  right: max(1.5rem, calc((100vw - var(--max)) / 2));
  bottom: 2.5rem;
  left: max(1.5rem, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255,255,255,0.28);
}
.hero-facts div { padding: 0 1.3rem; border-left: 1px solid rgba(255,255,255,0.25); }
.hero-facts div:first-child { padding-left: 0; border-left: 0; }
.hero-facts dt { font-family: Georgia, serif; font-size: clamp(1.45rem, 3vw, 2.2rem); line-height: 1; }
.hero-facts dd { margin: 0.3rem 0 0; color: rgba(255,255,255,0.7); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }

.section { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) 0; }
.intro { display: grid; grid-template-columns: 0.75fr 2fr; gap: clamp(2rem, 8vw, 8rem); }
.section-label {
  align-self: start;
  padding-top: 0.7rem;
  color: var(--forest-light);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.intro-copy { max-width: 850px; }
.intro-copy h2 { margin-bottom: 2rem; }
.intro-copy p { max-width: 760px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.7vw, 1.25rem); }

.amenities { width: 100%; max-width: none; padding-right: max(1.5rem, calc((100vw - var(--max)) / 2)); padding-left: max(1.5rem, calc((100vw - var(--max)) / 2)); background: var(--cream); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 3.5rem; }
.section-heading h2 { max-width: 760px; margin-bottom: 0; }
.amenity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.amenity-card { min-height: 300px; padding: 2rem; background: var(--paper); }
.amenity-card .icon { display: block; margin-bottom: 5rem; color: var(--forest-light); font-family: Georgia, serif; font-size: 0.9rem; }
.amenity-card h3 { margin-bottom: 0.8rem; }
.amenity-card p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }

.gallery-heading > p { max-width: 430px; margin-bottom: 0.3rem; color: var(--ink-soft); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 300px); gap: 0.75rem; }
.gallery a { position: relative; overflow: hidden; border-radius: 0.75rem; color: var(--white); background: var(--forest); }
.gallery-main { grid-column: span 2; grid-row: span 2; }
.gallery a:last-child { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.gallery a:hover img { transform: scale(1.025); }
.gallery span {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  padding: 2.2rem 0.9rem 0.7rem;
  border-radius: 0.5rem;
  background: linear-gradient(transparent, rgba(5,25,22,0.78));
  font-size: 0.84rem;
  font-weight: 650;
}

.location { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.location-photo { overflow: hidden; min-height: 560px; border-radius: var(--radius); box-shadow: var(--shadow); }
.location-photo img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.location-copy h2 { margin-bottom: 1.5rem; font-family: Georgia, serif; font-weight: 400; font-size: clamp(2.4rem, 5vw, 4.5rem); }
.location-copy p { margin-bottom: 2rem; color: var(--ink-soft); font-size: 1.1rem; }
.text-link { display: inline-flex; gap: 0.45rem; align-items: center; color: var(--forest-light); font-weight: 750; }

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 9vw, 9rem);
  padding: clamp(4.5rem, 9vw, 8rem) max(1.5rem, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--forest);
}
.contact h2 { margin-bottom: 1.2rem; font-family: Georgia, serif; font-weight: 400; }
.contact > div > p:last-child { max-width: 500px; color: rgba(255,255,255,0.7); font-size: 1.05rem; }
.contact-links { align-self: center; }
.contact-links a { display: block; padding: 1.35rem 0; border-bottom: 1px solid rgba(255,255,255,0.2); text-decoration: none; }
.contact-links a:first-child { border-top: 1px solid rgba(255,255,255,0.2); }
.contact-links small { display: block; margin-bottom: 0.2rem; color: rgba(255,255,255,0.55); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-links strong { font-family: Georgia, serif; font-size: clamp(1.25rem, 3vw, 2.1rem); font-weight: 400; overflow-wrap: anywhere; }
.contact-links a:hover strong { text-decoration: underline; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 3rem;
  align-items: start;
  padding: 3rem max(1.5rem, calc((100vw - var(--max)) / 2));
  color: #c8d4d0;
  background: #0d2723;
  font-size: 0.78rem;
}
.footer-brand { display: flex; gap: 0.9rem; align-items: center; color: var(--white); }
.footer-brand span { color: #9fb3ad; }
.legal p { margin-bottom: 0.6rem; }
.legal a { color: var(--white); }
.copyright { white-space: nowrap; }

.privacy-page { min-height: 100vh; background: var(--cream); }
.privacy-header { position: static; color: var(--forest); border-color: var(--line); }
.privacy-main { width: min(calc(100% - 3rem), 820px); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0; }
.privacy-main .eyebrow { color: var(--forest-light); }
.privacy-main h1 { margin-bottom: 1rem; font-family: Georgia, serif; font-size: clamp(3rem, 8vw, 6rem); font-weight: 400; letter-spacing: -0.055em; }
.privacy-main .lead { margin-bottom: 3rem; color: var(--ink-soft); font-size: 1.15rem; }
.privacy-card { padding: clamp(1.5rem, 5vw, 3.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.privacy-card h2 { margin: 2.5rem 0 0.8rem; font-size: 1.55rem; letter-spacing: -0.02em; }
.privacy-card h2:first-child { margin-top: 0; }
.privacy-card p, .privacy-card li { color: var(--ink-soft); }
.privacy-card a { color: var(--forest-light); font-weight: 650; }
.back-link { display: inline-block; margin-top: 2rem; color: var(--forest-light); font-weight: 720; }

@media (max-width: 900px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 820px; }
  .hero-content { margin-bottom: 11rem; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; }
  .hero-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .intro { grid-template-columns: 1fr; gap: 2rem; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-card { min-height: 260px; }
  .amenity-card .icon { margin-bottom: 3rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-template-rows: 420px 240px 240px; }
  .gallery-main { grid-column: span 2; grid-row: auto; }
  .gallery a:last-child { grid-column: span 1; }
  .location { grid-template-columns: 1fr; }
  .location-photo, .location-photo img { min-height: 420px; }
  .contact { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .copyright { grid-column: span 2; }
}

@media (max-width: 600px) {
  h2 { font-size: 2.45rem; }
  .site-header { width: calc(100% - 2rem); padding: 1rem 0; }
  .site-header nav { gap: 0; }
  .nav-cta { padding: 0.55rem 0.8rem; }
  .brand-mark { width: 2.35rem; height: 2.35rem; font-size: 1.2rem; }
  .hero { min-height: 780px; }
  .hero-content { width: calc(100% - 2rem); margin-top: 3.5rem; margin-bottom: 12rem; }
  .hero h1 { font-size: clamp(3.3rem, 18vw, 5.2rem); }
  .hero-shade { background: linear-gradient(90deg, rgba(7,28,25,0.78), rgba(7,28,25,0.3)), linear-gradient(0deg, rgba(7,28,25,0.85), transparent 52%); }
  .hero-facts { right: 1rem; bottom: 1.2rem; left: 1rem; }
  .hero-facts div { padding: 0 0.7rem; }
  .hero-facts dd { font-size: 0.64rem; }
  .section { width: calc(100% - 2rem); padding: 4.5rem 0; }
  .amenities { width: 100%; padding-right: 1rem; padding-left: 1rem; }
  .section-heading { display: block; margin-bottom: 2rem; }
  .section-heading h2 { margin-bottom: 1.2rem; }
  .amenity-grid { grid-template-columns: 1fr; }
  .amenity-card { min-height: 0; }
  .amenity-card .icon { margin-bottom: 2.3rem; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: repeat(5, 260px); }
  .gallery-main, .gallery a:last-child { grid-column: auto; }
  .location-photo, .location-photo img { min-height: 300px; }
  .contact { padding-right: 1rem; padding-left: 1rem; }
  .contact-links strong { font-size: 1.3rem; }
  .site-footer { grid-template-columns: 1fr; padding-right: 1rem; padding-left: 1rem; }
  .copyright { grid-column: auto; }
  .privacy-header .nav-cta { display: none; }
  .privacy-main { width: calc(100% - 2rem); }
}

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