:root {
  --green-900: #12301f;
  --green-800: #17472e;
  --green-700: #25633f;
  --green-100: #eef8ee;
  --lime: #b7e143;
  --orange: #f58220;
  --wood: #c79455;
  --paper: #fffdf7;
  --ink: #172018;
  --muted: #657166;
  --line: rgba(23, 32, 24, 0.12);
  --shadow: 0 18px 60px rgba(12, 31, 18, 0.18);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 247, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--green-800), var(--orange));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  font-size: 0.95rem;
}
.nav-links a:not(.nav-cta):hover { color: var(--green-700); }
.nav-cta {
  padding: 11px 18px;
  color: white;
  background: var(--green-800);
  border-radius: 999px;
}
.menu-toggle, .menu-button { display: none; }

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  background: url("assets/parkas-1.jpg") center / cover no-repeat;
  color: white;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 25, 15, 0.82), rgba(10, 25, 15, 0.42), rgba(10, 25, 15, 0.18));
}
.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  max-width: 760px;
  padding: 96px 0;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}
.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}
.hero-text {
  max-width: 620px;
  margin: 26px 0 34px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: rgba(255,255,255,0.9);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  cursor: pointer;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--orange), #d9531e);
  box-shadow: 0 14px 30px rgba(245, 130, 32, 0.28);
}
.button.secondary {
  color: white;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.38);
}

.quick-info {
  width: min(1180px, calc(100% - 32px));
  margin: -72px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.quick-info article {
  padding: 28px;
  background: white;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.quick-info strong { display: block; font-size: 1.5rem; color: var(--green-800); }
.quick-info span { color: var(--muted); font-weight: 600; }

.section, .about-section, .hours-reservation, .contact-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0 0;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}
h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
}
.section-heading p:not(.eyebrow), .about-content p, .contact-section p { color: var(--muted); }

.trail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trail-card {
  padding: 26px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(12, 31, 18, 0.08);
}
.trail-card .level {
  display: inline-flex;
  padding: 7px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
}
.level-1 .level { background: #309653; }
.level-2 .level { background: #2674b9; }
.level-3 .level { background: var(--orange); }
.level-4 .level { background: #c9302c; }
.trail-card h3 { margin: 0 0 10px; font-size: 1.35rem; }
.trail-card p { color: var(--muted); margin: 0 0 18px; }
.trail-card ul { margin: 0; padding-left: 18px; font-weight: 700; }
.trail-card li { margin: 7px 0; }

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-image img {
  min-height: 520px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow);
}
.about-content { max-width: 560px; }
.about-content .button { margin-top: 14px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 22px;
  transition: transform .25s ease;
}
.gallery-grid img:hover { transform: scale(1.02); }

.hours-reservation {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}
.hours-card, .reservation-form {
  padding: 34px;
  border-radius: 32px;
  background: var(--green-900);
  color: white;
  box-shadow: var(--shadow);
}
.hours-card { position: sticky; top: 100px; }
.hours-list {
  margin: 26px 0;
  display: grid;
  gap: 12px;
}
.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.hours-list span, .note { color: rgba(255,255,255,0.72); }
.reservation-form {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}
.reservation-form label {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  font-weight: 800;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #f8faf6;
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  color: var(--ink);
  outline: none;
}
input:focus, textarea:focus { border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(37, 99, 63, 0.12); }
.reservation-form .button { width: 100%; margin-top: 12px; }

.contact-section {
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.contact-cards article {
  min-height: 150px;
  padding: 24px;
  background: var(--green-100);
  border-radius: 24px;
  border: 1px solid var(--line);
}
.contact-cards span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 800;
}
.contact-cards a, .contact-cards p {
  margin: 0;
  font-weight: 800;
  color: var(--green-800);
  overflow-wrap: anywhere;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px max(16px, calc((100vw - 1180px) / 2));
  background: var(--green-900);
  color: white;
}
.footer p { margin: 0; color: rgba(255,255,255,0.78); }
.footer a { font-weight: 800; }

@media (max-width: 980px) {
  .quick-info, .trail-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section, .hours-reservation, .contact-section { grid-template-columns: 1fr; }
  .hours-card { position: static; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .navbar { min-height: 68px; }
  .menu-button {
    display: grid;
    gap: 5px;
    cursor: pointer;
  }
  .menu-button span {
    width: 28px;
    height: 3px;
    border-radius: 99px;
    background: var(--green-900);
  }
  .nav-links {
    position: absolute;
    inset: 68px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .menu-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a { padding: 10px; }
  .nav-cta { text-align: center; }
  .hero { min-height: 690px; }
  .quick-info, .trail-grid, .gallery-grid, .form-row { grid-template-columns: 1fr; }
  .quick-info { margin-top: -42px; }
  .section, .about-section, .hours-reservation, .contact-section { padding-top: 72px; }
  .about-image img, .gallery-grid img { min-height: 0; height: 250px; }
  .hours-card, .reservation-form { padding: 24px; border-radius: 24px; }
  .footer { flex-direction: column; }
}
