: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;
  aspect-ratio: 1671 / 941;
  border-radius: 32px;
  overflow: hidden;
  background: #d7c3a4;
  container-type: inline-size;
}

.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.9) 0%,
    rgba(248, 245, 237, 0.62) 30%,
    rgba(248, 245, 237, 0.12) 48%,
    rgba(248, 245, 237, 0) 62%
  );
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 68%, transparent 84%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 68%, transparent 84%);
}

.hero-copy {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: min(31rem, 40%);
  max-height: 64%;
  box-sizing: border-box;
  padding: clamp(68px, 9cqi, 104px) clamp(18px, 3cqi, 44px) 0;
}

.hero-copy h1 {
  font-size: clamp(1.45rem, 3.7cqi, 2.85rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 0.32em;
  overflow-wrap: break-word;
}

.hero-copy p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.86rem, 1.35cqi, 1.02rem);
  line-height: 1.35;
  overflow-wrap: break-word;
}

.hero-copy .actions {
  margin-top: clamp(10px, 1.5cqi, 16px);
  gap: 8px;
}

.hero-copy .button {
  min-height: 38px;
  max-width: 100%;
  padding: 7px 13px;
  font-size: clamp(0.82rem, 1.2cqi, 0.95rem);
  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); }

.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 {
  --cta-wash: #f7f4ee;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: stretch;
  width: min(1400px, calc(100% - 48px));
  min-height: 248px;
  margin: 36px auto 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--cta-wash);
}

.footer-cta-copy {
  position: relative;
  z-index: 1;
  width: auto;
  padding: 36px 28px 36px 40px;
}

.footer-cta-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 2.5vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.cta-kicker {
  margin: 0 0 8px;
  color: var(--pine);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cta-lead {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.footer-cta-copy .actions { margin-top: 18px; }

.footer-cta-copy .button::after {
  content: "→";
  margin-left: 8px;
}

.footer-cta-visual {
  position: relative;
  min-height: 220px;
}

.footer-cta-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
}

.footer-cta-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: min(140px, 28%);
  background: linear-gradient(90deg, var(--cta-wash), transparent);
  pointer-events: none;
}

.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 {
  width: min(1400px, calc(100% - 48px));
  margin: 28px auto 22px;
}

.site-foot {
  width: auto;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(220px, 1.45fr) minmax(140px, 0.8fr) minmax(110px, 0.55fr) minmax(160px, 0.9fr);
  gap: 20px 32px;
  padding: 8px 4px 14px;
}

.foot-brand p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.foot-brand .brand { display: inline-block; margin-bottom: 8px; }

.foot-col {
  display: grid;
  align-content: start;
  gap: 6px;
  font-size: 15px;
  line-height: 1.35;
}

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

.foot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 4px;
  padding: 12px 4px 0;
  border-top: 1px solid var(--line);
}

.foot-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.foot-rights::before {
  content: "·";
  margin-right: 12px;
}

.foot-family {
  width: auto;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

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

.foot-family img {
  display: block;
  width: auto;
  height: 84px;
  max-width: none;
}

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

@media (max-width: 700px) {
  .perks { grid-template-columns: 1fr; }
  .footer-cta-copy .actions { flex-direction: column; align-items: stretch; }
  .footer-cta-copy .button { width: 100%; }
}

@media (max-width: 860px) {
  .nav-bar { display: none; }
  .nav-fold { display: block; }
  .wrap,
  .hero,
  .footer-cta,
  .physical-art,
  .entry,
  .site-end { width: calc(100% - 24px); }
  .site-foot { width: auto; }
  .footer-cta { grid-template-columns: 1fr; min-height: 0; }
  .footer-cta-copy { padding: 28px 22px 22px; }
  .footer-cta-visual { min-height: 0; aspect-ratio: 16 / 9; }
  .footer-cta-visual img { object-position: 80% center; }
  .foot-bar { flex-wrap: wrap; align-items: center; }
  .foot-family { margin-left: auto; }
  .foot-family img { height: 72px; }
  .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: 1180px) {
  .hero {
    display: block;
    aspect-ratio: auto;
    min-height: 0;
    overflow: visible;
    background: transparent;
    border-radius: 22px;
  }
  .hero::after { display: none; }
  .hero-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
    border-radius: 22px;
  }
  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    max-width: 42rem;
    max-height: none;
    padding: 18px 2px 0;
  }
  .hero-copy h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.08; }
  .hero-copy p { font-size: 17px; line-height: 1.45; }
}
