:root {
  --green-950: #0d2f25;
  --green-800: #164c3a;
  --green-600: #2b7a59;
  --green-100: #dfeee7;
  --cream: #f5f4ec;
  --yellow: #f0ce65;
  --white: #ffffff;
  --ink: #14231d;
  --soft-ink: #53655e;
  --line: #cbd8d1;
  --red: #a84b37;
  --shadow: 0 18px 45px rgba(13, 47, 37, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--green-950);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  color: var(--white);
  background: rgba(13, 47, 37, 0.97);
}

.header-inner,
.page-width {
  width: min(1160px, 90%);
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--green-950);
  background: var(--yellow);
  font-size: 0.92rem;
  font-weight: 900;
}

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

.site-nav a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  color: var(--yellow);
  border-color: var(--yellow);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 600px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 7vw;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 650px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.35rem;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 2rem;
  color: #dbe9e2;
  font-size: 1.15rem;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button,
button {
  display: inline-block;
  padding: 0.85rem 1.15rem;
  border: 2px solid var(--yellow);
  color: var(--green-950);
  background: var(--yellow);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus,
button:hover,
button:focus {
  color: var(--white);
  background: var(--green-600);
  border-color: var(--green-600);
}

.button.secondary {
  color: var(--white);
  background: transparent;
  border-color: #7aa08f;
}

.section {
  padding: 5.5rem 0;
}

.section.light {
  background: var(--white);
}

.section.dark {
  color: var(--white);
  background: var(--green-800);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-heading p {
  color: var(--soft-ink);
  font-size: 1.08rem;
}

.dark .section-heading p {
  color: #d6e7df;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(13, 47, 37, 0.06);
}

.card-number {
  margin-bottom: 1rem;
  color: var(--green-600);
  font-size: 2rem;
  font-weight: 900;
}

.card p {
  color: var(--soft-ink);
}

.quick-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
  background: #6d8f80;
}

.quick-list article {
  padding: 2rem;
  background: var(--green-800);
}

.quick-list strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--yellow);
  font-size: 2.4rem;
}

.page-hero {
  padding: 5.5rem 0 4rem;
  color: var(--white);
  background: var(--green-950);
}

.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.page-hero p {
  max-width: 680px;
  color: #d9e7e0;
  font-size: 1.15rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.filter-row button {
  color: var(--green-950);
  background: var(--white);
  border-color: var(--line);
}

.filter-row button.active {
  color: var(--white);
  background: var(--green-600);
  border-color: var(--green-600);
}

.equipment-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.equipment-card.hidden {
  display: none;
}

.tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.25rem 0.55rem;
  color: var(--green-800);
  background: var(--green-100);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  margin-top: auto;
  color: var(--green-600);
  font-weight: 800;
}

.planner-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.planner-form,
.plan-result {
  padding: 2rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 1.15rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 800;
}

.field select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #9db2a8;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.plan-result {
  min-height: 410px;
  color: var(--white);
  background: var(--green-950);
}

.plan-result h2 {
  color: var(--yellow);
}

.result-value {
  margin: 1rem 0;
  color: var(--yellow);
  font-size: 2.4rem;
  font-weight: 900;
}

.result-note {
  color: #d6e7df;
}

.notice {
  margin-top: 1.5rem;
  padding: 1rem;
  border-left: 4px solid var(--yellow);
  background: #fff9df;
}

.rule-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.rule-list {
  margin: 0;
  padding-left: 1.2rem;
}

.rule-list li {
  margin-bottom: 0.9rem;
}

details {
  margin-bottom: 0.8rem;
  border: 1px solid var(--line);
  background: var(--white);
}

summary {
  padding: 1rem 1.2rem;
  font-weight: 800;
  cursor: pointer;
}

details p {
  padding: 0 1.2rem 1rem;
  color: var(--soft-ink);
}

.site-footer {
  padding: 2.5rem 0;
  color: #dce8e2;
  background: var(--green-950);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 820px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 0;
    gap: 0.5rem;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
  }

  .site-nav ul {
    min-width: max-content;
  }

  .hero-grid,
  .planner-grid,
  .rule-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: 360px;
    max-height: 460px;
  }

  .card-grid,
  .quick-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .page-width {
    width: min(92%, 430px);
  }

  .site-nav a {
    padding: 0.5rem 0.65rem;
    font-size: 0.9rem;
  }

  .hero-copy,
  .section,
  .page-hero {
    padding-top: 3.6rem;
    padding-bottom: 3.6rem;
  }

  .hero-grid {
    min-height: auto;
  }

  .card-grid,
  .quick-list {
    grid-template-columns: 1fr;
  }

  .card,
  .planner-form,
  .plan-result {
    padding: 1.25rem;
  }

  .footer-grid {
    flex-direction: column;
  }
}

