:root {
  --bg: #f4f1ea;
  --paper: #fffcf8;
  --ink: #1c2430;
  --muted: #5d6672;
  --line: #e4ddd2;
  --pine: #0f7a5a;
  --pine-dark: #0c5c44;
  --ok-bg: #e5f5ee;
  --warn-bg: #f8efd8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font: 17px/1.6 "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; }

a { color: var(--pine); }

:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 14px 28px;
  background: rgba(244, 241, 234, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  color: var(--ink);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand em {
  color: var(--pine);
  font-style: normal;
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-bar a,
.nav-fold a,
.site-foot a {
  color: var(--ink);
  text-decoration: none;
}

.nav-bar a:hover,
.nav-fold a:hover,
.site-foot a:hover { color: var(--pine); }

.nav-login {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--pine);
  color: white !important;
}

.nav-fold { display: none; }

.nav-fold summary {
  cursor: pointer;
  list-style: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
}

.nav-fold summary::-webkit-details-marker { display: none; }

.nav-fold nav {
  position: absolute;
  right: 16px;
  top: 64px;
  display: grid;
  gap: 8px;
  min-width: 220px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(28, 36, 48, 0.08);
}

main { overflow: hidden; }

.wrap {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.hero {
  width: min(1440px, calc(100% - 48px));
  margin: 18px auto 0;
  position: relative;
  display: grid;
  min-height: clamp(520px, calc((min(100vw, 1488px) - 48px) * 0.56), 840px);
  border-radius: 32px;
  overflow: hidden;
  background: #d7c3a4;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  box-shadow: none;
  background: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(248, 245, 237, 0.94) 0%,
    rgba(248, 245, 237, 0.78) 32%,
    rgba(248, 245, 237, 0.18) 52%,
    rgba(248, 245, 237, 0) 68%
  );
}

.hero-copy {
  grid-area: 1 / 1;
  position: relative;
  align-self: start;
  justify-self: start;
  z-index: 1;
  width: min(36rem, 44%);
  max-width: 100%;
  box-sizing: border-box;
  padding: clamp(32px, 4.5vw, 68px) clamp(24px, 3.5vw, 56px) clamp(128px, 15vw, 190px);
}

.hero-copy h1,
.hero-copy p {
  overflow-wrap: break-word;
}

.hero-copy .button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--pine);
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
}

h1, h2, h3 {
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(40px, 4.4vw, 64px); }

h2 { font-size: clamp(28px, 3vw, 40px); }

.hero-copy p {
  color: var(--ink);
  font-size: 18px;
}

.section-intro p,
.split-feature p,
.lead,
.web-plain p {
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--pine);
  color: white;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.button.quiet {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

.wide-photo,
.shots img,
.split-feature img,
.offer-col img,
.physical-art img {
  display: block;
  width: 100%;
  height: auto;
}

.wide-photo,
.offer-col img,
.physical-art img {
  border-radius: 28px;
}

.shots img,
.split-feature img {
  border-radius: 20px;
}

#jak-to-funguje,
#co-ziskate,
#ukazka,
#kontakt,
.closing {
  scroll-margin-top: 84px;
}

.band { padding: 88px 0; }

.band-paper { background: #fff; }

.band-pine { background: #e7f3ee; }

.section-intro { max-width: 720px; margin-bottom: 28px; }

.offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  align-items: start;
}

.offer-col h3 { margin-bottom: 4px; }

.offer-col .lead { margin: 0 0 16px; }

.offer-col img { margin: 0 0 26px; }

.perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}

.perks li {
  display: grid;
  grid-template-columns: 26px 1fr;
  column-gap: 10px;
  row-gap: 2px;
  align-content: start;
}

.perk-icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--pine);
  grid-row: 1 / span 2;
}

.perk-icon svg { display: block; width: 22px; height: 22px; }

.perks strong { font-size: 16px; line-height: 1.3; }

.perks li span { color: var(--muted); font-size: 15px; line-height: 1.45; }

.shots,
.owner-shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.owner-shots { grid-template-columns: 1fr 1fr; }

figure { margin: 0; }

figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.demo-note {
  margin-top: 28px;
  padding: 4px 0 0;
}

.demo-note p { margin-top: 0; }

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.split-feature.reverse { grid-template-columns: 0.8fr 1.2fr; }

.split-feature.reverse > div { order: 2; }

.physical-art {
  display: block;
  width: min(1400px, calc(100% - 48px));
  margin-inline: auto;
}

.web-plain { max-width: 720px; }

.web-plain .button { margin-top: 8px; }

.owner-manage .owner-shots {
  max-width: 920px;
  margin-inline: auto;
}

.footer-cta {
  position: relative;
  width: min(1400px, calc(100% - 48px));
  margin: 28px auto 0;
}

.footer-cta-art {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
}

.footer-cta-art img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-cta-actions {
  position: absolute;
  left: 3.4%;
  bottom: 11%;
  margin-top: 0;
}

.footer-cta-actions .button {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 15px;
  box-shadow: 0 8px 18px rgba(28, 36, 48, 0.12);
}

.contact { padding-bottom: 64px; }

.stack { display: grid; gap: 14px; max-width: 560px; }

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

label { display: grid; gap: 6px; font-weight: 650; }

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.notice, .error, .calm {
  padding: 12px 14px;
  border-radius: 12px;
}

.notice { background: var(--ok-bg); }

.error { background: #f8e8e4; color: #6d2b24; }

.calm { color: var(--muted); background: white; }

.legal {
  width: min(560px, calc(100% - 48px));
  margin-inline: auto;
  padding: 64px 0 80px;
}

.entry {
  width: min(980px, calc(100% - 48px));
  margin-inline: auto;
  padding: 48px 0 80px;
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(240px, 460px);
  justify-content: center;
  gap: 28px 48px;
  align-items: center;
}

.entry-guide {
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.site-end { padding-bottom: 12px; }

.site-foot {
  width: min(1400px, calc(100% - 48px));
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.7fr 1.1fr;
  gap: 28px 40px;
  padding: 8px 4px 8px;
}

.foot-brand p { max-width: 360px; color: var(--muted); }

.foot-col {
  display: grid;
  align-content: start;
  gap: 6px;
}

.foot-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.foot-family {
  width: min(1400px, calc(100% - 48px));
  margin: 8px auto 0;
  padding: 22px 4px 8px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 18px 28px;
  color: var(--ink);
  text-decoration: none;
}

.foot-family span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.foot-family img {
  display: block;
  width: auto;
  height: 96px;
  max-width: min(280px, 70vw);
}

.foot-family:hover { color: var(--pine); }

@media (max-width: 700px) {
  .perks { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-bar { display: none; }
  .nav-fold { display: block; }
  .wrap,
  .hero,
  .footer-cta,
  .physical-art,
  .entry,
  .site-foot,
  .foot-family { width: calc(100% - 24px); }
  .foot-family {
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .foot-family img { height: 84px; }
  .entry {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 0 56px;
  }
  .offer,
  .split-feature,
  .split-feature.reverse,
  .shots,
  .owner-shots,
  .site-foot {
    grid-template-columns: 1fr;
  }
  .band { padding: 56px 0; }
  .split-feature,
  .split-feature.reverse { display: grid; }
  .split-feature.reverse > div { order: 0; }
  .offer { gap: 42px; }
  .site-head { padding: 12px 16px; }
}

@media (max-width: 1000px) {
  .hero {
    display: block;
    aspect-ratio: auto;
    min-height: 0;
    overflow: visible;
    background: transparent;
  }
  .hero::after { display: none; }
  .hero-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
    border-radius: 22px;
  }
  .hero-copy {
    width: auto;
    max-width: 42rem;
    padding: 18px 2px 0;
  }
  .hero-copy h1 { font-size: clamp(32px, 6vw, 48px); }
}

@media (max-width: 700px) {
  .footer-cta-art img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .footer-cta-actions {
    position: static;
    margin-top: 14px;
    flex-direction: column;
    align-items: stretch;
  }
}
