:root {
  --green: #0f8040;
  --green-deep: #0b3f2b;
  --green-soft: #dcefe5;
  --ink: #171b18;
  --muted: #626b64;
  --line: #d9e0da;
  --paper: #f4f2ea;
  --white: #fffdf8;
  --stone: #d8d4c6;
  --sky: #dcecf1;
  --accent: #b99a5f;
  --shadow: 0 18px 55px rgba(15, 64, 43, 0.12);
  --max-width: 1120px;
}

@font-face {
  font-family: "Poppins dArte";
  src: url("../assets/Poppins-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(220, 236, 241, 0.88) 0%, rgba(244, 242, 234, 0.96) 42%, rgba(238, 235, 224, 0.98) 100%),
    var(--paper);
  font-family: "Poppins dArte", Poppins, Arial, sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(116deg, transparent 0 15%, rgba(15, 128, 64, 0.08) 15.2% 17.1%, transparent 17.3% 100%),
    linear-gradient(64deg, transparent 0 68%, rgba(15, 128, 64, 0.08) 68.2% 70%, transparent 70.2% 100%),
    radial-gradient(circle at 18% 24%, rgba(15, 128, 64, 0.09), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(76, 140, 128, 0.12), transparent 30%);
  pointer-events: none;
}

body::after {
  position: fixed;
  right: max(-90px, -8vw);
  bottom: 0;
  z-index: -1;
  width: min(680px, 72vw);
  height: min(480px, 56vw);
  content: "";
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(15, 128, 64, 0.18) 42.3% 57%, transparent 57.3% 100%) 13% 0 / 19% 46% no-repeat,
    linear-gradient(135deg, transparent 0 42%, rgba(15, 128, 64, 0.16) 42.3% 57%, transparent 57.3% 100%) 63% 0 / 23% 50% no-repeat,
    linear-gradient(90deg, rgba(88, 91, 83, 0.1), rgba(88, 91, 83, 0.03)) 0 43% / 100% 42% no-repeat,
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(11, 63, 43, 0.07) 34px 46px, transparent 46px 76px) 0 44% / 100% 24% no-repeat,
    radial-gradient(ellipse at 42% 112%, rgba(15, 64, 43, 0.1), transparent 60%);
  opacity: 0.72;
  pointer-events: none;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-left: 18px;
  padding-right: 18px;
  background:
    linear-gradient(105deg, rgba(11, 63, 43, 0.96), rgba(15, 128, 64, 0.9) 54%, rgba(34, 95, 66, 0.94));
  border-bottom: 1px solid rgba(220, 239, 229, 0.28);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 32px rgba(11, 63, 43, 0.16);
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.95rem;
  font-weight: 650;
  padding: 9px 14px;
  transition: background 180ms ease, color 180ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(255, 253, 248, 0.18);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 253, 248, 0.32);
  background: rgba(255, 253, 248, 0.12);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: clamp(56px, 8vw, 110px) clamp(20px, 4vw, 56px) 44px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: clamp(18px, 8vw, 120px);
  bottom: clamp(20px, 7vw, 86px);
  z-index: -1;
  width: min(420px, 46vw);
  height: min(230px, 28vw);
  content: "";
  background:
    linear-gradient(180deg, rgba(15, 128, 64, 0.2), rgba(15, 128, 64, 0.06)) 14% 0 / 18% 100% no-repeat,
    linear-gradient(180deg, rgba(15, 128, 64, 0.16), rgba(15, 128, 64, 0.05)) 68% 0 / 20% 100% no-repeat,
    linear-gradient(180deg, rgba(78, 82, 76, 0.09), rgba(78, 82, 76, 0.04)) 0 44% / 100% 46% no-repeat;
  clip-path: polygon(9% 100%, 9% 41%, 18% 41%, 24% 0, 30% 41%, 58% 41%, 66% 0, 74% 41%, 92% 45%, 92% 100%);
  opacity: 0.58;
}

.hero-content,
.section,
.page-hero,
.site-footer {
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.address {
    color: var(--green-deep);
    font-size: 1.14rem;
}

h1,
h2,
h3 {
  color: var(--green-deep);
  font-weight: 720;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 80px;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

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

.hero-text,
.page-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(15, 128, 64, 0.22);
}

.button.secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--green-deep);
}

.button.light {
  background: var(--paper);
  color: var(--green-deep);
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 4vw, 56px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 6vw, 74px);
  border-top: 1px solid var(--line);
}

.section-heading h2 {
  max-width: 720px;
}

.text-flow {
  color: var(--muted);
  font-size: 1.05rem;
}

.text-flow p:last-child {
  margin-bottom: 0;
}

.values-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
}

.value-item {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 30px;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.value-item::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    url("../assets/castle-pattern.svg") 100% -28px / 132px 188px no-repeat,
    linear-gradient(135deg, rgba(15, 128, 64, 0.12), transparent 58%);
  color: rgba(15, 128, 64, 0.14);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.value-item::after {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--green), rgba(185, 154, 95, 0.45));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.value-item:hover,
.value-item:focus-within {
  background: rgba(220, 239, 229, 0.84);
  border-color: rgba(15, 128, 64, 0.28);
  box-shadow: 0 18px 42px rgba(15, 64, 43, 0.12);
  transform: translateY(-3px);
}

.value-item:hover::before,
.value-item:focus-within::before {
  opacity: 1;
  transform: translateY(0);
}

.value-item:hover::after,
.value-item:focus-within::after {
  transform: scaleX(1);
}

.value-item > * {
  position: relative;
  z-index: 1;
}

.value-item span {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--accent);
  font-weight: 800;
  transition: color 240ms ease;
}

.value-item:hover span,
.value-item:focus-within span {
  color: var(--green);
}

.value-item h3 {
  transition: color 240ms ease;
}

.value-item:hover h3,
.value-item:focus-within h3 {
  color: var(--green);
}

.value-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 48px;
  padding: clamp(34px, 5vw, 56px);
  background: var(--green-deep);
  color: var(--white);
}

.cta-band h2,
.cta-band .eyebrow {
  color: var(--white);
}

.cta-band h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.page-hero {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 4vw, 56px) clamp(38px, 6vw, 72px);
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 6.2rem);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding-top: 24px;
}

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

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

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 800;
}

.form-panel {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.form-panel h2 {
  margin-bottom: 4px;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

label {
  display: grid;
  gap: 7px;
  color: var(--green-deep);
  font-size: 0.92rem;
  font-weight: 750;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

  input,
  textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(253, 252, 249, 0.92);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:focus,
textarea:focus {
  border-color: var(--green);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(15, 128, 64, 0.12);
}

textarea {
  resize: vertical;
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 520;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--green);
}

.form-note {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-note.is-success {
  color: var(--green);
  font-weight: 700;
}

.form-note.is-error {
  color: #9b2f24;
  font-weight: 700;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-list > div {
  display: grid;
  gap: 7px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.contact-list span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list a {
  width: fit-content;
  color: var(--green-deep);
  font-size: 1.14rem;
  font-weight: 760;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  border: 1px solid rgba(15, 128, 64, 0.18);
  border-radius: 999px;
  background: rgba(220, 239, 229, 0.72);
  box-shadow: 0 8px 20px rgba(15, 64, 43, 0.08);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.social-link img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: grayscale(1) sepia(0.55) hue-rotate(82deg) saturate(2.1) brightness(0.58) contrast(1.12);
  opacity: 0.92;
  transition: filter 180ms ease, opacity 180ms ease;
}

.social-link:hover {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 12px 26px rgba(15, 128, 64, 0.2);
  transform: translateY(-1px);
}


.contact-list a:hover,
.footer-links a:hover {
  color: var(--green);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--green-deep);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
  font-weight: 700;
}

.footer-links .social-link {
  width: 38px;
  height: 38px;
}

.contact-list .social-link {
  width: 42px;
  height: 42px;
}

.footer-links .social-link img {
  width: 25px;
  height: 25px;
}

.justify {
    text-align: justify;
}

@media (max-width: 820px) {
  .site-header {
    align-items: center;
  }

  .nav-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background:
      linear-gradient(135deg, rgba(11, 63, 43, 0.98), rgba(15, 128, 64, 0.94));
    border: 1px solid rgba(220, 239, 229, 0.28);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    border-radius: 8px;
  }

  .intro-section,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    width: min(340px, 76vw);
    height: min(190px, 42vw);
    opacity: 0.38;
  }

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

  .value-item {
    min-height: 0;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .brand {
    width: 82px;
    min-width: 82px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .form-panel {
    padding: 22px;
  }
}
