:root {
  --green-900: #063f2a;
  --green-800: #0d5738;
  --green-700: #146b45;
  --green-100: #e7f2ed;
  --red-700: #8d1c1f;
  --gold-600: #b78a2a;
  --ink: #17221f;
  --muted: #66736d;
  --line: #d8e1dd;
  --paper: #ffffff;
  --soft: #f4f7f5;
  --shadow: 0 18px 55px rgba(6, 63, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  line-height: 1.5;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.crest-link {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 310px;
}

.crest {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
}

.crest img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-kicker {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-title {
  display: block;
  color: var(--green-900);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #26342f;
  font-size: 14px;
}

.main-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  color: var(--green-800);
  border-bottom-color: var(--gold-600);
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 63, 42, 0.92), rgba(6, 63, 42, 0.66) 48%, rgba(6, 63, 42, 0.2)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 60px),
    linear-gradient(160deg, #204a40 0%, #11372f 40%, #71908a 100%);
}

.hero::before {
  content: "";
  position: absolute;
  right: 6%;
  bottom: 0;
  width: min(560px, 50vw);
  height: 72%;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04)),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,0.28) 47px 49px);
  clip-path: polygon(8% 100%, 8% 32%, 19% 32%, 19% 18%, 50% 6%, 81% 18%, 81% 32%, 92% 32%, 92% 100%);
  opacity: 0.55;
}

.hero__grid {
  position: relative;
  z-index: 1;
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: 76px 0;
}

.hero__content {
  position: relative;
}

.hero__visual {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero__photo {
  display: block;
  width: 100%;
  max-height: 520px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--gold-600);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  width: min(700px, 100%);
  margin: 0;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  width: min(660px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.button--primary {
  color: #fff;
  background: var(--red-700);
}

.button--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 86px 0;
}

.section--muted {
  background: var(--soft);
}

.two-col,
.contacts__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 70px;
}

h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--green-900);
  font-size: 20px;
  line-height: 1.25;
}

.prose p,
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.prose {
  display: grid;
  gap: 18px;
}

.section-head {
  margin-bottom: 30px;
}

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

.card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.document-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.document-list a {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--green-900);
  font-size: 18px;
  font-weight: 700;
}

.contacts {
  color: #fff;
  background: var(--green-900);
}

.contacts h2,
.contacts .section-label {
  color: #fff;
}

.contacts__panel {
  display: grid;
  gap: 14px;
  align-self: start;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contacts__panel p {
  margin: 0;
}

.footer {
  background: #052f20;
  color: #cbd9d4;
}

.footer__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 34vw);
    gap: 28px;
    padding: 60px 0;
  }

  .hero__photo {
    max-height: 430px;
  }

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

  .two-col,
  .contacts__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 760px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero__visual {
    justify-content: flex-start;
  }

  .hero__photo {
    width: min(420px, 100%);
    max-height: 380px;
    aspect-ratio: 4 / 5;
    object-position: center top;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .crest-link {
    min-width: 0;
  }

  .site-title {
    font-size: 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero__grid {
    min-height: auto;
    padding: 46px 0 54px;
  }

  .hero__photo {
    width: 100%;
    max-height: 520px;
    aspect-ratio: 4 / 5;
    object-position: center top;
  }

  .hero h1 {
    font-size: 32px;
  }

  .lead {
    font-size: 18px;
  }

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

  .section {
    padding: 60px 0;
  }

  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .contacts__panel {
    padding: 20px;
  }
}
