:root {
  --green-950: #173b2f;
  --green-800: #285b3f;
  --green-650: #3f7d3a;
  --green-300: #a8c66c;
  --cream: #f4e7c5;
  --cream-soft: #fbf7eb;
  --earth: #8a5a2b;
  --gold: #f2b84b;
  --red: #bb4d33;
  --ink: #1d1d1b;
  --muted: #66736a;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(23, 59, 47, .16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-soft);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 16px;
  left: 50%;
  width: min(1160px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(23, 59, 47, .72);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .14);
  backdrop-filter: blur(18px);
}

.brand,
.top-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--green-950);
  background: var(--gold);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-weight: 900;
}

.top-nav {
  gap: 8px;
  font-size: .92rem;
}

.top-nav a {
  padding: 8px 11px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, .88);
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: rgba(255, 255, 255, .13);
  outline: none;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(460px, 1.22fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: 112px clamp(20px, 5vw, 72px) 48px;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 18%, rgba(242, 184, 75, .26), transparent 26%),
    radial-gradient(circle at 12% 88%, rgba(168, 198, 108, .26), transparent 30%),
    linear-gradient(135deg, #123127 0%, #24513a 45%, #173b2f 100%);
  overflow: hidden;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.6rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.hero-lead {
  max-width: 640px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
}

.hero-actions,
.band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  color: var(--green-950);
  background: var(--gold);
  box-shadow: 0 14px 32px rgba(242, 184, 75, .26);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, .11);
  border-color: rgba(255, 255, 255, .28);
}

.button.secondary.light {
  color: var(--green-950);
  background: rgba(255, 255, 255, .78);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  color: rgba(255, 255, 255, .82);
}

.hero-proof span {
  padding: 8px 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
}

.map-showcase {
  position: relative;
  min-width: 0;
}

.map-label {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  color: var(--green-950);
  background: rgba(255, 255, 255, .88);
  border-radius: var(--radius);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .12);
  font-weight: 850;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: var(--green-650);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(63, 125, 58, .14);
}

.slovakia-map {
  position: relative;
  min-height: 420px;
  aspect-ratio: 1600 / 798;
  filter: saturate(1.05);
}

.map-outline-image {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  filter: invert(1) brightness(1.34) drop-shadow(0 10px 16px rgba(23, 59, 47, .28));
  mix-blend-mode: screen;
  pointer-events: none;
}

.map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.map-shadow {
  fill: rgba(0, 0, 0, .16);
}

.map-land {
  fill: url(#landGradient);
  stroke: none;
  opacity: .78;
}

.map-highlight,
.map-glow {
  fill: url(#mapGlow);
  pointer-events: none;
}

.region-line {
  fill: none;
  stroke: rgba(255, 255, 255, .22);
  stroke-width: 2;
}

.region-line.faint {
  stroke: rgba(255, 255, 255, .12);
}

.pin-layer {
  position: absolute;
  z-index: 4;
  inset: 0;
}

.map-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  margin: -27px 0 0 -14px;
  border: 0;
  border-radius: 50% 50% 50% 0;
  background: var(--red);
  box-shadow: 0 14px 25px rgba(91, 28, 18, .34);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-90px) rotate(-45deg) scale(.8);
  transition: opacity .5s ease, transform .78s cubic-bezier(.23, 1.35, .38, 1);
}

.map-pin::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(242, 184, 75, .72);
  border-radius: 50%;
  opacity: 0;
}

.map-pin.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(-45deg) scale(1);
}

.map-pin.is-visible::after {
  animation: pulse 1.45s ease-out .58s 2;
}

.map-pin.is-agromepa {
  width: 34px;
  height: 34px;
  background: var(--gold);
  box-shadow: 0 18px 34px rgba(242, 184, 75, .42);
}

.map-pin.is-agromepa::before {
  background: var(--green-950);
}

.map-pin:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 5px;
}

.tooltip {
  position: absolute;
  z-index: 8;
  width: min(270px, calc(100vw - 40px));
  padding: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(23, 59, 47, .12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 22px));
  transition: opacity .16s ease;
}

.tooltip.is-visible {
  opacity: 1;
}

.tooltip strong {
  display: block;
  margin-bottom: 3px;
  color: var(--green-950);
}

.tooltip span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 7px;
  color: var(--green-950);
  background: var(--cream);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 900;
}

.section {
  padding: clamp(70px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.split-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--cream-soft);
}

.split-section h2,
.steps-section h2,
.locations-section h2,
.agromepa-section h2 {
  color: var(--green-950);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card,
.steps article,
.location-card,
.agromepa-card {
  background: var(--white);
  border: 1px solid rgba(23, 59, 47, .09);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--earth);
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: 900;
}

.steps-section {
  color: var(--white);
  background: var(--green-950);
}

.steps-section h2 {
  max-width: 860px;
  color: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.steps article {
  padding: 26px;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #f7efd9 100%);
}

.steps span {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--green-950);
  background: var(--gold);
  border-radius: 50%;
  font-weight: 900;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 32px;
}

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

.location-card {
  display: flex;
  min-height: 295px;
  flex-direction: column;
  padding: 22px;
}

.location-card.featured {
  border-color: rgba(242, 184, 75, .78);
  box-shadow: 0 24px 74px rgba(138, 90, 43, .18);
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 8px;
  color: var(--green-950);
  background: var(--cream);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 900;
}

.type-dot {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  margin-top: 5px;
  background: var(--green-650);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(63, 125, 58, .1);
}

.location-card h3 {
  color: var(--green-950);
  font-size: 1.18rem;
}

.location-card p {
  color: var(--muted);
}

.location-meta {
  margin-top: auto;
  padding-top: 18px;
  color: var(--earth);
  font-size: .92rem;
  font-weight: 800;
}

.text-button {
  align-self: flex-start;
  margin-top: 18px;
  padding: 0;
  color: var(--green-650);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.farmer-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 59, 47, .94), rgba(63, 125, 58, .9)),
    linear-gradient(90deg, var(--green-950), var(--green-650));
}

.farmer-band h2 {
  color: var(--white);
}

.farmer-band p {
  max-width: 740px;
  color: rgba(255, 255, 255, .82);
  font-size: 1.08rem;
}

.agromepa-section {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: stretch;
}

.agromepa-card {
  padding: clamp(28px, 5vw, 54px);
}

.agromepa-pin {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 36px;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(242, 184, 75, .34), transparent 30%),
    linear-gradient(145deg, #244f39, #173b2f);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.agromepa-pin span {
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1;
}

.agromepa-pin strong {
  display: inline-flex;
  margin-top: 16px;
  padding: 7px 11px;
  color: var(--green-950);
  background: var(--gold);
  border-radius: 999px;
}

.final-cta {
  padding: clamp(80px, 10vw, 130px) clamp(20px, 5vw, 72px);
  color: var(--green-950);
  text-align: center;
  background: var(--cream);
}

.final-cta h2 {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, .72);
  background: #10261f;
}

.modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 28, 23, .58);
}

.modal-panel {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(480px, calc(100% - 48px));
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
}

.modal-close {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--green-950);
  background: var(--cream-soft);
  border: 0;
  border-radius: 50%;
  font-size: 1.45rem;
  cursor: pointer;
}

.modal-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 9px;
  color: var(--green-950);
  background: var(--cream);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
}

.modal-panel h2 {
  padding-right: 34px;
  color: var(--green-950);
  font-size: 2.2rem;
}

.modal-meta {
  color: var(--earth);
  font-weight: 850;
}

.modal-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.modal-list div {
  padding: 12px;
  background: var(--cream-soft);
  border-radius: var(--radius);
}

.modal-list dt {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.modal-list dd {
  margin: 0;
  color: var(--green-950);
  font-weight: 850;
}

@keyframes pulse {
  0% {
    opacity: .55;
    transform: scale(.55);
  }
  100% {
    opacity: 0;
    transform: scale(2.45);
  }
}

@media (max-width: 1080px) {
  .hero,
  .split-section,
  .agromepa-section,
  .farmer-band {
    grid-template-columns: 1fr;
  }

  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .slovakia-map {
    min-height: 330px;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
  }

  .top-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 96px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .hero-actions,
  .band-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .map-label {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 12px;
  }

  .slovakia-map {
    min-height: 250px;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .modal-panel {
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 86svh;
    overflow: auto;
    border-radius: 8px 8px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
