:root {
  --bg: #f4f6f2;
  --paper: #ffffff;
  --ink: #17201c;
  --muted: #5e6b65;
  --line: #dce3dd;
  --green: #1d6b52;
  --green-dark: #0e3d31;
  --blue: #245a75;
  --lime: #b8d56b;
  --sand: #e8dfcd;
  --shadow: 0 22px 70px rgba(22, 32, 28, 0.12);
  --radius: 8px;
  font-family: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

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

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

p {
  margin: 0 0 1rem;
}

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

h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 5vw, 4.65rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.55rem);
  font-weight: 800;
}

h3 {
  font-size: 1.25rem;
}

ul {
  padding-left: 1.1rem;
  margin: 1rem 0 0;
}

li + li {
  margin-top: 0.45rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 74px;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(220, 227, 221, 0.9);
  background: rgba(244, 246, 242, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 148px;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav a {
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #fff;
  color: var(--green-dark);
  outline: none;
}

.nav-toggle,
.nav-button {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(92vh - 74px);
  padding: clamp(2.8rem, 6vw, 5.4rem) clamp(1rem, 5vw, 5.5rem) clamp(2rem, 4vw, 3.2rem);
  align-items: center;
}

.hero-content {
  max-width: 950px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 740px;
  margin-top: 1.4rem;
  color: var(--green-dark);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  font-weight: 700;
}

.hero-content p:not(.eyebrow):not(.hero-lead) {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 800;
}

.btn-primary {
  background: var(--green-dark);
  color: #fff;
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-dark);
}

.hero-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.hero-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: 190px;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.hero-note strong {
  display: block;
  color: var(--green-dark);
  font-size: 2rem;
  line-height: 1;
}

.hero-note span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--green-dark);
  color: #fff;
}

.stats-band div {
  min-height: 168px;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stats-band div:last-child {
  border-right: 0;
}

.stats-band strong {
  display: block;
  line-height: 1;
}

.stat-primary strong {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.stat-auth strong {
  max-width: 260px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.12;
}

.stat-auth small {
  display: inline-block;
  margin-bottom: 1.15rem;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats-band span {
  display: block;
  max-width: 320px;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 600;
}

.section {
  padding: clamp(4rem, 8vw, 7.5rem) clamp(1rem, 5vw, 5.5rem);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 50px rgba(22, 32, 28, 0.06);
}

.service-card h3 {
  margin: 1rem 0 0.75rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card a {
  margin-top: auto;
  color: var(--green);
  font-weight: 800;
}

.service-icon {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.image-card {
  padding: 0;
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.image-card div {
  display: flex;
  min-height: 190px;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.detail-section {
  background: var(--paper);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: 2.5rem;
  align-items: center;
}

.detail-hero.reverse {
  grid-template-columns: minmax(340px, 0.75fr) minmax(0, 0.9fr);
}

.detail-hero.reverse .detail-intro {
  order: 2;
}

.detail-hero.reverse .detail-media {
  order: 1;
}

.detail-intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}

.detail-hero .detail-intro {
  display: block;
  margin-bottom: 0;
}

.detail-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-media img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.detail-intro p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.detail-grid article,
.process-grid div {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
}

.detail-grid p,
.process-grid p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.split-section.reverse {
  background: #eef3ef;
}

.split-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  min-height: 470px;
  object-fit: cover;
}

.split-content {
  max-width: 760px;
}

.split-content p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

.compact {
  background: var(--paper);
}

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

.process-grid strong {
  color: var(--blue);
  font-size: 0.8rem;
}

.process-grid h3 {
  margin-top: 0.75rem;
}

.advice-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  background: var(--green-dark);
  color: #fff;
}

.advice-band .eyebrow {
  color: var(--lime);
}

.advice-band p:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  background: var(--paper);
}

.about-photo img {
  width: min(100%, 420px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-content {
  max-width: 940px;
}

.about-content p:not(.eyebrow) {
  color: var(--muted);
}

.timeline-section {
  background: #eef3ef;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  min-height: 142px;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.timeline time {
  display: block;
  color: var(--green);
  font-weight: 800;
}

.timeline span {
  display: block;
  margin-top: 0.6rem;
  color: var(--muted);
}

.reference-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, #203a32 0%, #245a75 100%);
  color: #fff;
}

.reference-content {
  max-width: 850px;
}

.reference-content .eyebrow {
  color: var(--lime);
}

.reference-content p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.reference-panel {
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.reference-panel strong {
  display: block;
  font-size: 3.6rem;
  line-height: 1;
}

.reference-panel span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  background: var(--paper);
}

.contact-copy {
  max-width: 520px;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.contact-card {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: center;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  font-style: normal;
}

.contact-card strong {
  margin-bottom: 0.35rem;
  color: var(--green-dark);
}

.contact-card span,
.contact-card a {
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5.5rem);
  background: #101714;
  color: #fff;
}

.site-footer span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer a {
  color: var(--lime);
  font-weight: 800;
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 0;
    font-size: 0.8rem;
  }

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

  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-auth:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 920px) {
  .nav-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
  }

  .nav-button span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav a {
    padding: 0.9rem 1rem;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .hero,
  .detail-intro,
  .detail-hero,
  .detail-hero.reverse,
  .split-section,
  .split-section.reverse,
  .advice-band,
  .about-section,
  .reference-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .detail-hero.reverse .detail-intro,
  .detail-hero.reverse .detail-media {
    order: initial;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .hero-visual img,
  .detail-media img,
  .split-media img {
    min-height: 380px;
  }

  .process-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

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

  .stat-auth:last-child {
    grid-column: auto;
  }

  .stats-band div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .stats-band div:last-child {
    border-bottom: 0;
  }

}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 68px;
  }

  .brand {
    width: 136px;
  }

  .hero,
  .section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .service-grid,
  .detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 300px;
  }

  .hero-visual,
  .hero-visual img,
  .detail-media img,
  .split-media img {
    min-height: 300px;
  }

  .hero-note {
    right: 0.75rem;
    bottom: 0.75rem;
  }

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