:root {
  --bg: #C9D5BC;
  --card: #F0F3E8;
  --field: #FBFCF8;
  --line: #B7C5A8;
  --dark: #1C3A25;
  --on-dark: #D7E5D4;
  --ink: #243322;
  --heading: #2A4F2E;
  --hero-heading: #254A2A;
  --muted: #4A5845;
  --eyebrow: #36602A;
  --green: #2F6F2F;
  --green-hover: #275E27;
  --link: #2B5630;
  --lime: #A8CE59;
  --lime-hover: #B8DA6E;
  --lime-ink: #203C23;
  --lime-soft: #BAD982;
  --tint: #E2E9D8;
  --tint-2: #D3DEC6;
  --footer: #161616;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 3vw, 32px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.6; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--heading); font-weight: 700; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.top :focus-visible, .slide-copy :focus-visible, .card-ask :focus-visible, .cta :focus-visible, .foot :focus-visible { outline-color: var(--lime); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow { font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; color: var(--eyebrow); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: 700 .95rem/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}

.btn-primary { border-color: var(--green); background: var(--green); color: #fff; }
.btn-primary:hover { border-color: var(--green-hover); background: var(--green-hover); }
.btn-lime { border-color: var(--lime); background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { border-color: var(--lime-hover); background: var(--lime-hover); }

.text-link, .small-link { font-weight: 800; color: var(--link); text-decoration: none; }
.text-link:hover, .small-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.small-link { font-size: .82rem; color: #2F5F2B; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 12px clamp(16px, 2.2vw, 32px);
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { --ic: var(--lime); display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--lime); }
.logo-mark svg { width: 28px; height: 28px; }
.logo-text { display: grid; line-height: 1.15; }
.logo-text b { font-weight: 900; font-size: 1rem; letter-spacing: -.02em; color: #fff; }
.logo-text span { font-size: .85rem; color: var(--lime-soft); font-weight: 500; }

.nav { display: flex; gap: 22px; font-size: .92rem; }
.nav a { color: var(--on-dark); text-decoration: none; }
.nav a:hover { color: var(--lime-soft); }
.nav a[aria-current] { font-weight: 800; color: #fff; }

.pill { justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 10px; color: #fff; font-weight: 500; text-decoration: none; white-space: nowrap; transition: border-color .15s; }
.pill:hover { border-color: var(--lime); }
.pill svg { width: 16px; height: 16px; fill: var(--lime); }

.hero { padding-top: 32px; }

.slider { position: relative; border-radius: 24px; background: var(--dark); box-shadow: 0 16px 50px rgba(20, 40, 24, .3); }
.slides { display: grid; overflow: hidden; border-radius: 24px; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 540px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; }

.slide-media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: #CFE3BE;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='%232F6F2F' fill-opacity='.09'%3E%3Cpath d='M30 20c14 4 20 16 14 30-14-4-20-16-14-30z'/%3E%3Cpath d='M110 70c-6 13-19 17-31 9 6-13 19-17 31-9z'/%3E%3Cpath d='M60 120c13 2 21 12 17 25-13-2-21-12-17-25z'/%3E%3Cpath d='M140 130c-2 12-12 18-23 15 2-12 12-18 23-15z'/%3E%3C/g%3E%3C/svg%3E"), radial-gradient(circle at 50% 55%, #E4F0D8 0, #C3DCAE 70%);
}

.slide-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.slide-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(transparent, rgba(0, 0, 0, .3)); }

.media-badge { position: absolute; right: 24px; top: 24px; z-index: 1; display: grid; place-items: center; width: 112px; aspect-ratio: 1; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font-weight: 900; font-size: 2.2rem; letter-spacing: -.04em; box-shadow: 0 0 0 8px rgba(255, 255, 255, .6), 0 18px 36px rgba(0, 0, 0, .25); }

.slide-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 5vw, 76px) clamp(28px, 5vw, 72px); }
.slide-copy .eyebrow { margin-bottom: 18px; color: var(--lime-soft); }
.slide h1, .slide h2 { font-size: clamp(2.2rem, 3.8vw, 3.375rem); line-height: 1.02; letter-spacing: -.035em; color: #fff; }
.slide-sub { margin-top: 10px; font-weight: 700; font-size: clamp(1.15rem, 1.7vw, 1.45rem); letter-spacing: -.02em; color: var(--lime-soft); }
.slide-text { max-width: 30em; margin-top: 22px; font-size: 1.125rem; line-height: 1.7; color: var(--on-dark); }
.slide .text-link { color: #fff; }
.slide .btn-primary, .card-ask .btn-primary { border-color: var(--lime); background: var(--lime); color: var(--lime-ink); }
.slide .btn-primary:hover, .card-ask .btn-primary:hover { border-color: var(--lime-hover); background: var(--lime-hover); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }

.arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #DDE5D8; border-radius: 50%; background: #fff; cursor: pointer; transform: translateY(-50%); box-shadow: 0 4px 12px rgba(33, 68, 35, .12); }
.arrow svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arrow:hover { border-color: var(--green); }
.arrow-prev { left: -20px; }
.arrow-next { right: -20px; }

.dots { position: absolute; left: 25%; bottom: 18px; z-index: 2; display: flex; gap: 6px; transform: translateX(-50%); }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .6); cursor: pointer; transition: width .3s, background-color .3s; }
.dots button[aria-current] { width: 22px; background: #fff; }

.photo-climb { object-position: 50% 30%; }

.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.perks li { padding: 18px 20px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.perks b { display: block; font-weight: 800; font-size: 1.125rem; line-height: 1.25; letter-spacing: -.02em; color: var(--hero-heading); }
.perks span { display: block; margin-top: 4px; font-size: .92rem; line-height: 1.5; color: var(--muted); }

.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 72px; align-items: start; padding-block: clamp(56px, 7vw, 88px) 0; }
.intro > div { padding-left: clamp(0px, 4vw, 52px); }
.intro h2 { margin-top: 12px; font-size: clamp(1.8rem, 2.6vw, 2.375rem); line-height: 1.08; letter-spacing: -.025em; }
.intro > p { max-width: 36em; font-size: 1.0625rem; line-height: 1.75; color: var(--muted); }

.block { padding-top: clamp(56px, 7vw, 88px); }
.block-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; }
.block-head h2, .cta h2, .contact-main h2, .area-copy h2 { margin-top: 8px; font-size: clamp(1.8rem, 2.6vw, 2.375rem); line-height: 1.08; letter-spacing: -.025em; }
.small-note { font-size: .82rem; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--card); transition: box-shadow .2s, transform .2s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(33, 68, 35, .1); }
.card-media { display: block; height: 160px; overflow: hidden; background: var(--tint-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 16px 16px 20px; }
.card h3 { font-size: 1rem; line-height: 1.35; color: #2D3D2B; }
.card p { margin-top: 6px; font-size: .9rem; line-height: 1.55; color: var(--muted); }
.card-ask { justify-content: center; border-color: transparent; background: var(--dark); }
.card-ask .eyebrow { margin: 0; font-size: .72rem; line-height: 1.6; color: var(--lime-soft); }
.card-ask h3 { margin-top: 8px; font-size: 1.15rem; color: #fff; }
.card-ask p:not(.eyebrow) { color: var(--on-dark); }
.card-ask .btn { margin-top: 16px; }

.icon { --ic: var(--green); display: grid; place-items: center; flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(255, 255, 255, .7); }
.icon svg { width: 54px; height: 54px; }
.icon-sm { width: 44px; height: 44px; border-radius: 10px; box-shadow: none; }
.icon-sm svg { width: 32px; height: 32px; }

.feed { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.photos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(130px, 13vw, 180px); gap: 14px; margin: 0; padding: 0; list-style: none; }
.photo { position: relative; grid-column: span 2; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.photo-big { grid-column: span 4; grid-row: span 2; }
.photo-wide { grid-column: span 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.photo figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: .8rem; }
.placeholder { display: grid; place-items: center; border-style: dashed; border-color: #8FA381; background: var(--tint); color: var(--link); font-weight: 700; font-size: .9rem; text-align: center; }
.placeholder span { display: grid; justify-items: center; gap: 8px; padding: 12px; }
.placeholder svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }

.side { display: grid; gap: 16px; padding-top: 4px; }
.side-card { display: grid; gap: 6px; padding: 20px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.side-name { margin-top: 6px; font-weight: 700; }
.side-phone { font-weight: 900; font-size: 1.6rem; letter-spacing: -.02em; color: var(--hero-heading); text-decoration: none; white-space: nowrap; }
.side-mail { font-size: .92rem; color: var(--link); overflow-wrap: anywhere; }
.side-tip { background: var(--tint); }
.side-tip p:not(.eyebrow) { font-size: .9rem; line-height: 1.6; color: var(--muted); }

.lightbox { max-width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(22, 22, 22, .86); }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 16px; }
.lightbox-close { position: absolute; top: -18px; right: -10px; padding: 10px 16px; border: 1px solid #DDE5D8; border-radius: 10px; background: #fff; color: var(--ink); font: 700 .9rem/1 var(--font); cursor: pointer; }

.area { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: center; gap: 28px; }
.map-card { position: relative; margin: 0; padding: 16px 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--card); }
.map { width: 100%; height: auto; }
.kraj { fill: #D2DBC6; stroke: var(--card); stroke-width: 2; stroke-linejoin: round; }
.kraj-on { fill: #BBDA7E; transition: fill .15s; }
.kraj-on:hover { fill: var(--lime); }
#map-hatch rect { fill: var(--green); fill-opacity: .42; }
.map-zahorie { fill: url(#map-hatch); pointer-events: none; }
.map-leader { fill: none; stroke: var(--green); stroke-width: 1.5; }
.map text { font-family: var(--font); pointer-events: none; }
.map-kraj { font-size: 18px; font-weight: 800; letter-spacing: -.01em; fill: var(--hero-heading); }
.map-off { font-weight: 500; fill: #56634F; }
.map-town { font-size: 16px; font-weight: 500; fill: var(--ink); paint-order: stroke; stroke: #BBDA7E; stroke-width: 3px; stroke-linejoin: round; }
.map-end { font-size: 18px; font-weight: 800; }
.map-end-left { text-anchor: end; }
.map-dot { fill: #fff; stroke: var(--hero-heading); stroke-width: 2.5; pointer-events: none; }
.map-dot-end { fill: var(--green); stroke: #fff; }
.area-copy > p:not(.eyebrow) { margin-top: 12px; color: var(--muted); }
.area-list { display: grid; margin: 18px 0 22px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.area-list li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.area-list b { font-weight: 700; color: var(--hero-heading); }
.area-list span { font-size: .9rem; color: var(--muted); }

#obhliadka { padding-top: clamp(56px, 7vw, 88px); }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding: clamp(28px, 3.4vw, 40px) clamp(24px, 3.6vw, 44px); border-radius: 24px; background: linear-gradient(120deg, #3C7533 0, #2C5D2B 100%); color: #fff; box-shadow: 0 16px 50px rgba(33, 68, 35, .18); }
.cta-copy { flex: 1 1 520px; }
.cta .eyebrow { color: var(--lime-soft); }
.cta h2 { color: #fff; }
.cta-copy > p:not(.eyebrow) { max-width: 40em; margin-top: 10px; color: #D7E5D4; }
.cta-checks { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.cta-checks li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .88rem; font-weight: 500; color: #EAF3E6; }
.cta-checks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8.5' fill='none' stroke='%23203C23' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.cta .btn { padding: 16px 22px; }

.contact { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: clamp(56px, 7vw, 88px); }
.contact-side { display: grid; gap: 16px; }
.contact-side h3 { font-size: 1.15rem; }
.contact-side .caps { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }

.data { display: grid; gap: 2px; margin: 8px 0 0; }
.data div { padding: 8px 10px; border-radius: 8px; }
.data div:hover { background: var(--tint); }
.data dt { font-size: .8rem; color: var(--muted); }
.data dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.data a { text-decoration: none; }

.mini { display: grid; gap: 12px; margin: 8px 0 6px; padding: 0; list-style: none; }
.mini li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .9rem; line-height: 1.3; }

.contact-main { padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line); border-radius: 24px; background: var(--card); }
.crumb { font-size: .8rem; color: var(--muted); }
.contact-main h2 { margin-top: 10px; font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.1; letter-spacing: -.03em; color: var(--ink); }
.meta { margin-top: 10px; color: var(--muted); }
.contact-lead { max-width: 40em; margin-top: 20px; font-size: 1.0625rem; line-height: 1.8; }

.form { display: grid; gap: 16px; margin-top: 26px; }
.form .btn { justify-self: start; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }

input, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--field); color: var(--ink); font: 400 1rem/1.5 var(--font); }
textarea { resize: vertical; }
input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(47, 111, 47, .3); outline-offset: 0; border-color: var(--green); }

fieldset { margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 8px; padding: 0; font-weight: 700; font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--field); font-size: .85rem; transition: background-color .15s, color .15s, border-color .15s; }
.chip input:checked + span { border-color: var(--green); background: var(--green); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.note { margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: var(--tint); font-size: .88rem; color: var(--link); }

.foot { padding: 32px var(--gutter); background: var(--footer); color: #CFCFCF; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; max-width: var(--max); margin: 0 auto; }
.logo-light .logo-text span { color: #A8A8A8; }
.foot-tag { flex: 1 1 280px; font-size: .9rem; color: #A8A8A8; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 700; font-size: .85rem; }
.foot-nav a { color: #fff; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-copy { max-width: var(--max); margin: 24px auto 0; padding-top: 18px; border-top: 1px solid #2A2A2A; font-size: .82rem; color: #8C8C8C; }

@media (max-width: 1100px) {
  .top { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feed, .area { grid-template-columns: 1fr; }
  .side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .slide { grid-template-columns: 1fr; min-height: 0; }
  .slide-media { min-height: 240px; }
  .dots { left: 50%; top: 210px; bottom: auto; }
  .arrow { top: 120px; }
  .arrow-prev { left: 10px; }
  .arrow-next { right: 10px; }
  .intro, .contact { grid-template-columns: 1fr; }
  .intro > div { padding-left: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-side { grid-template-columns: repeat(2, minmax(0, 1fr)); order: 2; }
}

@media (max-width: 560px) {
  .logo-text b { font-size: .9rem; }
  .logo-text span { font-size: .78rem; }
  .pill span { display: none; }
  .pill { padding: 11px; }
  .hero { padding-top: 16px; }
  .slide-copy { padding: 28px 22px 32px; }
  .perks { gap: 10px; margin-top: 16px; }
  .perks li { padding: 14px; }
  .perks b { font-size: 1rem; }
  .perks span { font-size: .85rem; }
  .map-card { padding: 10px 0 10px 10px; }
  .map-card::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 48px; background: linear-gradient(90deg, rgba(240, 243, 232, 0), var(--card)); pointer-events: none; }
  .map { width: 215%; max-width: none; }
  .map-far { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card-media { height: 120px; }
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; gap: 10px; }
  .photo, .photo-wide { grid-column: span 1; }
  .photo-big { grid-column: span 2; grid-row: span 2; }
  .side, .contact-side { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .slide.is-active, .card, .btn, .pill, .chip span, .dots button { transition: none; }
}
