:root {
  --header-height: 92px;
  --page-max-width: 960px;
  --page-padding-x: clamp(1.75rem, 4vw, 3rem);
  --page-padding-top: clamp(3.5rem, 8vw, 4.75rem);
  --page-padding-bottom: clamp(3rem, 8vw, 4.5rem);
}

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

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: #F7FFF7;
  color: #0b3d1b;
  font-family: "Gloria Hallelujah", cursive, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

header {
  width: 100%;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(247, 255, 247, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(11, 61, 27, 0.22);
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header-height);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3vw;
  gap: 1.5rem;
}

.desktop-nav {
  flex: 1;
  overflow-x: auto;
}

.menu {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: max-content;
}

.menu li a {
  color: rgba(11, 61, 27, 0.75);
  text-decoration: none;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  letter-spacing: 0.03em;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu li a:hover,
.menu li a:focus {
  background: rgba(34, 110, 58, 0.2);
  color: #0b3d1b;
  outline: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand img {
  width: clamp(70px, 8.5vw, 110px);
  height: auto;
  display: block;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(12, 46, 23, 0.35);
  background: rgba(12, 46, 23, 0.08);
  color: #0b3d1b;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.menu-toggle:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.4);
  outline-offset: 3px;
}

.menu-toggle .material-symbols-rounded {
  font-size: 1.65rem;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.mobile-menu-shell {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-shell.open {
  pointer-events: auto;
  opacity: 1;
}

.mobile-menu-backdrop {
  flex: 1;
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  position: relative;
  z-index: 0;
}

.mobile-menu-panel {
  width: min(320px, 80vw);
  height: 100%;
  background: rgba(16, 55, 29, 0.96);
  box-shadow: -20px 0 45px rgba(11, 61, 27, 0.55);
  padding: 1.75rem 1.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.32s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 1;
}

.mobile-menu-shell.open .mobile-menu-panel {
  transform: translateX(0);
}

.menu-close {
  align-self: flex-end;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(228, 242, 231, 0.35);
  background: rgba(34, 110, 58, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.menu-close span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: #f7fff7;
  border-radius: 2px;
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.menu-close:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.4);
  outline-offset: 3px;
}

.mobile-menu-panel nav {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1;
}

.mobile-menu li a {
  display: block;
  text-decoration: none;
  color: rgba(228, 242, 231, 0.95);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  padding: 0.55rem 0.5rem 0.55rem 1.1rem;
  border-radius: 12px;
  background: rgba(23, 78, 40, 0.55);
  transition: background 0.3s ease, color 0.3s ease;
}

.mobile-menu li a:hover,
.mobile-menu li a:focus {
  background: rgba(34, 110, 58, 0.6);
  color: #ffffff;
  outline: none;
}

.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;
}

body.drawer-open {
  overflow: hidden;
}

main.page-content {
  flex: 1;
  width: min(var(--page-max-width), 100%);
  margin: 0 auto;
  padding: var(--page-padding-top) var(--page-padding-x) var(--page-padding-bottom);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vw, 2.75rem);
}

.page-content--center {
  align-items: center;
  text-align: center;
}

.page-title {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-lead {
  margin: 0;
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  line-height: 1.6;
}

.page-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  background: rgba(34, 110, 58, 0.85);
  color: #F7FFF7;
  transition: background 0.3s ease, transform 0.3s ease;
}

.button:hover,
.button:focus-visible {
  background: rgba(23, 78, 40, 0.9);
  transform: translateY(-2px);
  outline: none;
}

@media (max-width: 960px) {
  :root {
    --header-height: 92px;
  }

  main.page-content {
    padding-top: clamp(3rem, 9vw, 4.25rem);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 104px;
  }

  .nav-container {
    padding: 0.9rem 5vw;
    gap: 0.75rem;
  }

  header {
    border-bottom-color: rgba(148, 163, 184, 0.4);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  }

  .brand {
    max-width: 180px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .desktop-nav {
    display: none;
  }

  main.page-content {
    padding: clamp(3.25rem, 9vw, 4.25rem) 5vw clamp(3rem, 9vw, 4rem);
  }

  .mobile-menu-shell {
    display: flex;
  }
}

@media (max-width: 540px) {
  :root {
    --header-height: 112px;
  }

  .nav-container {
    padding: 0.75rem 4vw;
  }

  .brand {
    max-width: 150px;
  }

  .menu-toggle {
    width: 2.5rem;
    height: 2.5rem;
  }

  main.page-content {
    padding: clamp(3.25rem, 10vw, 4rem) 4vw clamp(2.75rem, 10vw, 3.75rem);
  }

  .mobile-menu-panel {
    width: min(300px, 78vw);
    padding: 1.5rem 1.5rem 2.2rem;
  }

  .mobile-menu li a {
    font-size: 1rem;
  }
}

