:root {
  color-scheme: light;
  --paper: #f8f7f0;
  --ink: #222b21;
  --muted: #4e594b;
  --green: #3c5538;
  --forest: #253c2d;
  --sage: #e8eddb;
  --lime: #d9e7b4;
  --line: #d6dacc;
  --serif: Georgia, "Times New Roman", serif;
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
:focus-visible { outline: 2px solid #648a54; outline-offset: 4px; }
.shell { width: min(100% - 100px, 1220px); margin-inline: auto; }
.section { padding-block: clamp(68px, 8vw, 114px); }

.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: .5rem 1rem;
  color: white;
  background: var(--forest);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  min-height: var(--header-height);
}
.wordmark {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: -.035em;
  text-decoration: none;
  white-space: nowrap;
}
nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px clamp(16px, 2.1vw, 32px);
  padding: 0;
  list-style: none;
}
nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  font-size: .875rem;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
}
nav a:hover, .back-to-top:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-contact {
  padding-inline: 16px;
  border: 1px solid #8d9b82;
  border-radius: 999px;
}
.nav-contact:hover { background: var(--sage); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(52px, 7.5vw, 110px);
}
.hero-location, .section-index {
  color: var(--green);
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero-location {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
}
.hero-location svg { flex: 0 0 19px; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
}
h1 {
  font-size: clamp(3rem, 5.4vw, 5.15rem);
  line-height: 1.01;
  letter-spacing: -.065em;
}
h1 em {
  display: block;
  margin-top: .06em;
  color: var(--green);
  font-weight: inherit;
}
.hero-description {
  max-width: 44ch;
  margin-top: 25px;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  text-wrap: balance;
}
.hero-description strong { color: var(--ink); font-weight: 650; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
  padding: 12px 19px;
  min-height: 50px;
  border-radius: 999px;
  background: var(--forest);
  color: white;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}
.button:hover { background: #3c5542; }
.button span, .nav-contact span { font-size: 1rem; }

.hero-logo {
  justify-self: center;
  width: min(100%, 460px);
  mix-blend-mode: multiply;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  align-items: start;
  gap: 26px clamp(34px, 7vw, 105px);
}
.section-heading {
  grid-column: 1 / -1;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.about-photo { width: 100%; border-radius: 10px; }
.section-index {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-index::after {
  width: 27px;
  border-top: 1px solid currentColor;
  content: "";
}
h2 {
  font-size: clamp(2.6rem, 5.1vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}
h3 {
  font-size: clamp(1.55rem, 2.8vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.bio, .gallery-description, .phone-note, .parking-note {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.75;
}

.services { background: var(--forest); color: var(--paper); }
.services .section-index { color: var(--lime); }
.services .section-heading { border-color: #627366; }
.service-grid, .gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.gallery { grid-template-columns: minmax(0, 4.5fr) minmax(0, 2fr); align-items: start; }
.service-grid { margin-top: 32px; }
.service {
  min-height: 235px;
  padding: clamp(22px, 3.2vw, 45px);
  border: 1px solid #627366;
  border-radius: 10px;
  background: #2d4535;
}
.service-icon { width: 42px; height: 42px; margin-bottom: 15px; color: var(--lime); }
.service p { max-width: 46ch; margin-top: 12px; color: #e2e9de; }

.gallery-intro { margin-bottom: 30px; }
#prostory-nadpis { white-space: nowrap; }
.gallery-description { margin-top: 18px; }
.photo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--sage);
}
.photo img {
  width: 100%;
  transition: transform .25s ease;
}
.photo:hover img { transform: scale(1.025); }
.photo-icon, .map-heading a, .lightbox-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
.photo-icon { position: absolute; right: 14px; bottom: 14px; }

.pricing { background: var(--sage); }
.pricing .section-heading { border-color: #c2cbb7; }
.pricing-content { grid-column: 2; }
.price-list { width: 100%; border-collapse: collapse; }
.price-list caption {
  padding-bottom: 17px;
  color: var(--green);
  font-weight: 600;
  text-align: left;
}
.price-list tr { border-block: 1px solid #c2cbb7; }
.price-list th, .price-list td {
  padding: 13px 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.7vw, 2.1rem);
  font-weight: 400;
}
.price-list th { text-align: left; }
.price-list td { text-align: right; }
.pricing-note { margin-top: 12px; }
.price-validity, .last-updated { color: var(--muted); font-size: .9rem; }
.price-validity { margin-top: 12px; }

.contact-name { margin-top: 13px; font: 1.5rem/1.25 var(--serif); }
.contact-details {
  margin-block: 30px 38px;
  padding-block: 24px;
  border-block: 1px solid var(--line);
}
.contact-invite { margin-bottom: 18px; color: var(--muted); font-size: 1.2rem; }
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(24px, 3vw, 40px);
}
.contact-photo { width: 100%; border-radius: 10px; }
.contact-methods {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.contact-address { margin-top: 24px; }
.parking-note { margin-top: 10px; }
.contact-details dt {
  margin-bottom: 6px;
  color: var(--green);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact-details dd {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.contact-details a { text-decoration-thickness: 1px; text-underline-offset: .2em; }
.contact-details a:hover { color: var(--green); }
.contact-details address { font-style: normal; }
.phone-note {
  font-family: system-ui, sans-serif;
  margin-top: 10px;
  overflow-x: auto;
  white-space: nowrap;
}
.maps { display: grid; gap: 24px; }
.map-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #eeefe6;
}
.map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 13px 9px 18px;
}
.map-heading h3 { font-size: 1.3rem; }
.map-heading a:hover { background: var(--sage); }
.map-panel iframe { display: block; width: 100%; height: clamp(320px, 52vw, 560px); border: 0; }

.site-footer { border-top: 1px solid var(--line); }
.site-footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 23px;
}
.back-to-top { color: var(--green); font-size: .9rem; text-decoration: none; }
.back-to-top span { margin-left: .3em; }

.lightbox {
  max-width: min(92vw, 1100px);
  max-height: 92vh;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 10px;
  background: var(--forest);
}
.lightbox::backdrop { background: rgb(13 24 17 / .84); }
.lightbox img { max-height: 86vh; border-radius: inherit; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 980px) {
  .shell { width: calc(100% - 64px); }
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}

@media (max-width: 790px) {
  html { scroll-padding-top: 16px; }
  .site-header { position: static; }
  .header-inner { flex-wrap: wrap; gap: 4px 20px; padding-block: 14px; }
  nav ul { column-gap: 18px; }
  .hero { gap: 22px; }
  h1 { font-size: clamp(2.85rem, 6.3vw, 4.1rem); }
  .hero-location { font-size: .68rem; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 36px); }
  .section { padding-block: 56px; }
  .header-inner { display: block; padding-block: 14px 10px; }
  nav { margin-top: 6px; }
  nav ul { gap: 2px 11px; }
  nav a { font-size: .75rem; min-height: 38px; }
  .nav-contact { padding-inline: 0; border: 0; border-radius: 0; font-weight: 700; }
  .nav-contact span { display: none; }
  .hero, .split, .service-grid, .gallery, .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .pricing-content { grid-column: 1; }
  .hero { gap: 32px; padding-block: 41px 52px; }
  .hero-location { margin-bottom: 17px; }
  h1 { font-size: clamp(2.75rem, 10.2vw, 4.1rem); }
  .hero-description { margin-top: 18px; }
  .button { margin-top: 21px; }
  .hero-logo { width: min(100%, 340px); }
  .section-index { margin-bottom: 10px; }
  .service { min-height: auto; }
  .gallery-intro { margin-bottom: 21px; }
  #prostory-nadpis { font-size: clamp(1.5rem, 8.2vw, 2.6rem); }
}

@media (max-width: 370px) {
  nav ul { display: grid; grid-template-columns: repeat(3, max-content); column-gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo img { transition: none; }
}
