@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #14211d;
  --muted: #65726c;
  --line: #dce5df;
  --paper: #fbfcf9;
  --soft: #eef4ec;
  --green: #1f7a4c;
  --green-deep: #0f4f34;
  --steel: #2f6f89;
  --amber: #b56a22;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(20, 33, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

p {
  margin: 0;
}

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

.narrow {
  max-width: 900px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 0 34px;
  background: rgba(251, 252, 249, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 178px;
}

.brand-logo {
  width: 176px;
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.site-nav {
  justify-self: center;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav li {
  position: relative;
}

.site-nav > ul > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: #24342f;
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.site-nav a:hover {
  color: var(--green);
}

.site-nav > ul > li > a:hover::after {
  transform: scaleX(1);
}

.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 250px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.nav-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.92rem;
}

.nav-menu a:hover {
  background: var(--soft);
}

.has-menu:hover .nav-menu {
  display: block;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.header-cta,
.btn.primary {
  color: var(--white);
  background: var(--green);
}

.btn.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.hero .btn.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.58);
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(31, 122, 76, 0.22);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 76vh;
  color: var(--white);
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 19, 0.66);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 76vh;
  padding: 80px 0 52px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e8b468;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: 3.5rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.2rem;
}

.hero-text {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
  width: min(920px, 100%);
  margin-top: 48px;
}

.hero-stats div {
  position: relative;
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
}

.hero-stats strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.section {
  padding: 86px 0;
}

.section,
.info-card,
.split-media,
.resource-item,
.metric-grid div,
.process-list li,
.snapshot div,
.contact-grid div {
  animation: rise-in 0.6s ease both;
  animation-timeline: view();
  animation-range: entry 0 cover 24%;
}

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

.band-plain {
  background: var(--paper);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.02rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card-grid:not(.three) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.resource-item {
  position: relative;
  min-height: 100%;
  min-width: 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  overflow: hidden;
}

.info-card::before,
.resource-item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(31, 122, 76, 0.12), transparent 44%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.info-card:hover,
.resource-item:hover {
  transform: translateY(-6px);
  border-color: #aed3bb;
  box-shadow: var(--shadow);
}

.info-card:hover::before,
.resource-item:hover::before {
  opacity: 1;
}

.info-card {
  display: flex;
  flex-direction: column;
}

.info-card p,
.resource-item p {
  margin-top: 10px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.card-image {
  display: block;
  margin: -22px -22px 18px;
}

.card-image img {
  height: 210px;
  border-radius: 8px 8px 0 0;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.3s ease;
}

.info-card:hover .card-image img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.03);
}

.tag {
  align-self: flex-start;
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--green-deep);
  background: #e2f0e4;
  font-size: 0.78rem;
  font-weight: 750;
}

.text-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 18px;
  color: var(--green);
  font-weight: 760;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: 54px;
}

.split-copy p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.split-media img {
  height: 470px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 0.45s ease, filter 0.3s ease;
}

.split-media:hover img {
  transform: scale(1.025);
  filter: saturate(1.08);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #263932;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 13px;
  height: 8px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.section-actions {
  margin-top: 26px;
}

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

.metric-grid div {
  position: relative;
  min-width: 0;
  padding: 26px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.metric-grid strong {
  display: block;
  color: var(--green-deep);
  font-size: 2rem;
  line-height: 1;
}

.metric-grid span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--green-deep);
  background: #e8f1eb;
  font-size: 0.92rem;
}

td {
  color: #2d3b36;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.process-list span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--white);
  background: var(--steel);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

details:hover {
  border-color: #aed3bb;
  box-shadow: 0 10px 28px rgba(20, 33, 29, 0.08);
}

summary {
  cursor: pointer;
  font-weight: 760;
}

details p {
  margin-top: 12px;
  color: var(--muted);
}

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

.resource-item .btn {
  margin-top: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
}

.gallery-grid img {
  height: 280px;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.025);
  filter: saturate(1.1);
}

.gallery-grid img:first-child {
  height: 576px;
  grid-row: span 2;
}

.snapshot {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.snapshot div,
.contact-grid div {
  min-width: 0;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-grid div {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.contact-grid div:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.snapshot span,
.contact-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.snapshot strong,
.contact-grid strong {
  display: block;
  margin-top: 8px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--green-deep);
  font-weight: 850;
}

.timeline p {
  color: var(--muted);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 44px;
}

.article-body {
  max-width: 820px;
}

.article-body .lead {
  padding: 18px 20px;
  margin-bottom: 30px;
  border-left: 4px solid var(--green);
  background: var(--soft);
  color: #24342f;
  font-weight: 650;
}

.article-body h2 {
  margin: 34px 0 12px;
  font-size: 1.55rem;
}

.article-body p {
  color: var(--muted);
}

.article-side {
  position: sticky;
  top: 100px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.article-side p {
  margin: 12px 0 18px;
  color: var(--muted);
}

.form-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 44px;
  align-items: start;
}

.form-layout p {
  margin-top: 16px;
  color: var(--muted);
}

.inquiry-form {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #273b35;
  font-size: 0.9rem;
  font-weight: 720;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd8d0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

textarea {
  resize: vertical;
}

.inquiry-form > label {
  margin-top: 14px;
}

.inquiry-form .btn {
  margin-top: 18px;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--green-deep);
  font-weight: 720;
}

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

.final-cta {
  color: var(--white);
  background: var(--green-deep);
}

.final-cta .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.final-cta p {
  max-width: 720px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 64px 0 26px;
  color: rgba(255, 255, 255, 0.78);
  background: #122720;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
}

.footer-brand {
  color: var(--white);
}

.site-footer .brand-logo {
  width: 190px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--white);
}

.footer-grid h3 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 1rem;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.78);
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 0;
    padding-bottom: 16px;
  }

  .site-nav > ul > li > a {
    width: 100%;
    padding: 12px 0;
  }

  .nav-menu {
    position: static;
    display: block;
    width: 100%;
    box-shadow: none;
  }

  .card-grid,
  .resource-grid,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .form-layout,
  .article-layout,
  .final-cta .container {
    grid-template-columns: 1fr;
  }

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

  .article-side {
    position: static;
  }
}

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

  .site-header {
    min-height: 66px;
    padding: 0 14px;
  }

  .brand-logo {
    width: 142px;
  }

  .hero,
  .hero-inner {
    min-height: 680px;
  }

  .hero-inner {
    padding: 70px 0 40px;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-stats,
  .card-grid,
  .resource-grid,
  .process-list,
  .snapshot,
  .contact-grid,
  .metric-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .split-media img {
    height: 310px;
  }

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

  .gallery-grid img,
  .gallery-grid img:first-child {
    height: 260px;
    grid-row: auto;
  }

  .timeline div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
