:root {
  --forest-night: #0b1f16;
  --forest-deep: #123624;
  --forest-mid: #1f4d33;
  --forest-soft: #6ea07c;
  --moss: #8fbf85;
  --cream: #f2f5e9;
  --sunset: #ffb45b;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, rgba(17, 57, 43, 0.65), transparent 50%),
    linear-gradient(180deg, #0e1d15 0%, #12271c 45%, #0b1a13 100%);
  color: var(--cream);
  min-height: 100vh;
  line-height: 1.6;
}

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

header {
  background: rgba(11, 31, 22, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(9, 28, 20, 0.85);
}

header .wrapper {
  padding: 0 1.5rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
  font-size: 1.55rem;
  line-height: 1.1;
}

.brand img {
  width: 170px;
  height: auto;
  max-height: 86px;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.brand span {
  display: inline-block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

nav a:hover,
nav a.active {
  color: var(--moss);
  border-color: var(--moss);
}

.hero {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem;
  border-radius: 24px;
  padding: 3rem 2.5rem;
  margin: 1.4rem 0 2.2rem;
  overflow: hidden;
  background: linear-gradient(125deg, rgba(14, 46, 31, 0.97), rgba(31, 72, 50, 0.9));
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(255, 200, 120, 0.35), transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 620px;
  flex: 1 1 320px;
}

.hero-visual {
  flex: 1 1 260px;
  display: flex;
  justify-content: flex-end;
}

.hero-visual img {
  width: 100%;
  max-width: 440px;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.06;
  margin: 0 0 0.9rem;
}

.hero p {
  margin-bottom: 1.2rem;
  color: rgba(242, 245, 233, 0.85);
}

.home-intro {
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  line-height: 1.45;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  background: rgba(18, 54, 36, 0.72);
  padding: 0.5rem 1rem;
  color: var(--moss);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: none;
  background: var(--sunset);
  color: #2b190a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.9rem 1.6rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 15px 35px rgba(255, 180, 91, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(255, 180, 91, 0.35);
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.cta-secondary:hover {
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.32);
}

section {
  background: rgba(18, 39, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 22px;
  padding: 2.5rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}

section h2 {
  margin-top: 0;
  color: var(--moss);
}

section ul {
  padding-left: 1.25rem;
  margin: 1rem 0 0;
  color: rgba(242, 245, 233, 0.85);
}

section li {
  margin-bottom: 0.4rem;
}

.lead {
  font-size: 1.1rem;
  color: rgba(242, 245, 233, 0.9);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.card {
  background: rgba(11, 31, 23, 0.9);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.card h3 {
  margin-top: 0;
  color: var(--sunset);
}

.map-link {
  margin: 1rem 0 0;
}

.map-link a {
  color: var(--moss);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.map-link a:hover {
  color: var(--sunset);
  border-color: var(--sunset);
}

.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.news-item {
  background: rgba(11, 31, 23, 0.9);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.news-meta {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 245, 233, 0.65);
}

.news-title {
  margin: 0.5rem 0 0.6rem;
  color: var(--sunset);
}

.news-summary {
  margin: 0 0 1rem;
  color: rgba(242, 245, 233, 0.85);
}

.news-link {
  color: var(--moss);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.news-link:hover {
  color: var(--sunset);
  border-color: var(--sunset);
}

.news-note {
  margin-top: 1rem;
  color: rgba(242, 245, 233, 0.7);
}

.news-empty {
  margin: 0;
  color: rgba(242, 245, 233, 0.7);
}

.news-back {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--moss);
  text-decoration: none;
  font-weight: 600;
}

.news-back:hover {
  color: var(--sunset);
}

.news-detail-title {
  margin: 0.75rem 0 1rem;
}

.news-detail-body {
  color: rgba(242, 245, 233, 0.9);
}

.form-embed {
  margin-top: 1.5rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 24, 17, 0.55);
}

.form-embed iframe {
  width: 100%;
  height: 1100px;
  border: 0;
}

.form-note {
  margin-top: 1rem;
  color: rgba(242, 245, 233, 0.78);
}

.form-fallback {
  margin-top: 0.6rem;
}

.form-fallback a {
  color: var(--moss);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.form-fallback a:hover {
  color: var(--sunset);
  border-color: var(--sunset);
}

.form-warning {
  color: #f26b5b;
  font-weight: 600;
}

.maintenance {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.maintenance-card {
  max-width: 640px;
  background: rgba(18, 39, 28, 0.9);
  border-radius: 22px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.maintenance-card a {
  color: var(--moss);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.maintenance-card a:hover {
  color: var(--sunset);
  border-color: var(--sunset);
}

footer {
  text-align: center;
  padding: 2rem 0 4rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  body {
    font-size: 0.98rem;
  }

  .wrapper {
    padding: 0 1.1rem 3rem;
  }

  nav {
    gap: 0.55rem;
    padding: 0.22rem 0;
    flex-direction: column;
  }

  .brand {
    font-size: 0.96rem;
    letter-spacing: 0.04em;
    gap: 0.45rem;
  }

  .brand img {
    width: 112px;
    height: auto;
    max-height: 52px;
  }

  .brand span {
    display: none;
  }

  nav ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 0.4rem;
  }

  nav a {
    display: block;
    text-align: center;
    font-size: 0.86rem;
    padding: 0.5rem 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 0;
  }

  .hero {
    padding: 1.05rem 0.95rem;
    flex-direction: column;
    gap: 0.65rem;
    text-align: left;
    border-radius: 16px;
    margin: 0.8rem 0 1.25rem;
  }

  .hero-visual {
    display: none;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    margin-bottom: 0.45rem;
  }

  .hero p {
    margin: 0 0 0.6rem;
    max-width: 100%;
  }

  .home-intro {
    font-size: clamp(1.02rem, 4.4vw, 1.2rem);
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
    gap: 0.55rem;
  }

  .hero-actions .cta {
    flex: 1 1 160px;
    justify-content: center;
    padding: 0.72rem 0.95rem;
    font-size: 0.82rem;
  }

  section {
    padding: 1.25rem;
    border-radius: 16px;
    margin-bottom: 1rem;
  }

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

  .news-list {
    grid-template-columns: 1fr;
  }

  .news-summary {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .form-embed iframe {
    height: 980px;
  }
}

@media (max-width: 420px) {
  nav a {
    font-size: 0.8rem;
    padding: 0.45rem 0.3rem;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 8vw, 1.75rem);
  }
}
