:root {
  --green: #123f20;
  --green-strong: #0f341a;
  --text: #1d1711;
  --muted: #5c5044;
  --orange: #ef8209;
  --page: #fbf1df;
  --page-2: #f8edd9;
  --card: rgba(255, 250, 241, 0.95);
  --border: rgba(224, 197, 154, 0.92);
  --shadow: 0 10px 30px rgba(63, 43, 20, 0.12);
  --shadow-soft: 0 12px 28px rgba(63, 43, 20, 0.09);
  --max-width: 1240px;
  --content-width: 1160px;
  --side-gap: clamp(18px, 3.8vw, 42px);
  --radius-lg: 26px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #f7ecd7 0%, #f4e7d0 100%);
  font-family: "Nunito Sans", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

.conservancies-page {
  position: relative;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 12%, rgba(241, 187, 92, 0.16), transparent 18%),
    radial-gradient(circle at 8% 88%, rgba(214, 188, 139, 0.18), transparent 14%),
    linear-gradient(180deg, #fbf1dd 0%, var(--page) 42%, var(--page-2) 100%);
}

.section-pad {
  width: min(calc(100% - (var(--side-gap) * 2)), var(--content-width));
  margin-inline: auto;
}

.section-pad--hero {
  width: min(calc(100% - (var(--side-gap) * 2)), var(--content-width));
}

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(251, 241, 221, 0.72) 0%, rgba(251, 241, 221, 0.54) 27%, rgba(251, 241, 221, 0.16) 52%, rgba(251, 241, 221, 0) 76%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -54px;
  height: 126px;
  background: var(--page);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 1;
  box-shadow: 0 -10px 24px rgba(190, 156, 98, 0.1);
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding-top: clamp(44px, 5vw, 72px);
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  color: var(--green);
  font-size: clamp(60px, 7vw, 92px);
  font-weight: 1000;
  line-height: 0.92;
  letter-spacing: -0.075em;
  text-wrap: balance;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.18);
}

.hero p {
  width: min(500px, 100%);
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.title-line,
.section-line,
.card-line,
.conservancy-card > span {
  display: block;
  background: var(--orange);
  border-radius: 999px;
}

.title-line {
  width: 88px;
  height: 6px;
  margin: 22px 0 18px;
}

.intro,
.landscapes,
.cards {
  position: relative;
  z-index: 2;
}

.intro {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(20px, 2.8vw, 42px);
  align-items: center;
  margin-top: 26px;
  margin-bottom: 34px;
}

.intro::after {
  content: "";
  position: absolute;
  right: 6px;
  top: -54px;
  width: 120px;
  height: 86px;
  opacity: 0.34;
  background: url("../assets/icons/leaf-heading.webp") center/contain no-repeat;
  pointer-events: none;
}

.intro__art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro__art img {
  width: min(170px, 100%);
  filter: drop-shadow(0 10px 16px rgba(54, 35, 9, 0.08));
}

.intro h2,
.cards__title h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(34px, 3.2vw, 47px);
  font-weight: 1000;
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.section-line {
  width: 62px;
  height: 4px;
  margin: 12px 0 12px;
}

.section-line--small {
  width: 54px;
  margin-top: 10px;
}

.intro p {
  max-width: 860px;
  margin: 0;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 650;
  line-height: 1.5;
  color: #2b241d;
}

.landscapes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.landscape-card {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.landscape-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(67, 47, 23, 0.16);
  border-color: rgba(213, 170, 104, 0.95);
}

.landscape-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.landscape-card__content {
  padding: 22px 24px 24px;
}

.landscape-card__heading {
  margin-bottom: 14px;
}

.landscape-card h3 {
  margin: 0;
  color: var(--green);
  font-size: clamp(28px, 2vw, 36px);
  font-weight: 1000;
  line-height: 1.03;
  letter-spacing: -0.048em;
}

.card-line {
  width: 46px;
  height: 4px;
  margin-top: 12px;
}

.landscape-card p {
  margin: 0;
  font-size: clamp(15.8px, 1.22vw, 17px);
  font-weight: 650;
  line-height: 1.5;
  color: #2b241d;
}

.cards {
  margin-top: 34px;
  padding-bottom: 6px;
}

.cards::after {
  content: "";
  position: absolute;
  right: 36px;
  bottom: -8px;
  width: 118px;
  height: 74px;
  opacity: 0.28;
  background: url("../assets/icons/leaf-heading.webp") center/contain no-repeat;
  pointer-events: none;
}

.cards__title {
  margin-bottom: 18px;
}

.cards__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.conservancy-card {
  min-height: 220px;
  padding: 18px 14px 14px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.97), rgba(255, 245, 228, 0.96));
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.conservancy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(67, 47, 23, 0.16);
  border-color: rgba(213, 170, 104, 0.95);
}

.conservancy-card h3 {
  margin: 0 0 12px;
  color: var(--green);
  font-size: clamp(17px, 1.25vw, 22px);
  font-weight: 1000;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.conservancy-card img {
  width: min(170px, 96%);
  height: 122px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.conservancy-card > span {
  width: 42px;
  height: 3px;
  margin-top: auto;
}

.bottom-landscape {
  width: 100%;
  height: auto;
  margin-top: 14px;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .hero {
    min-height: 520px;
  }

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

@media (max-width: 900px) {
  .hero {
    min-height: 470px;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(251, 241, 221, 0.8) 0%, rgba(251, 241, 221, 0.62) 34%, rgba(251, 241, 221, 0.18) 62%, rgba(251, 241, 221, 0.04) 100%);
  }

  .intro {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .landscapes {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

@media (max-width: 700px) {
  body {
    background: var(--page);
  }

  .hero {
    min-height: 420px;
  }

  .hero__bg {
    object-position: 68% center;
  }

  .hero__copy {
    padding-top: 34px;
  }

  .hero::after {
    bottom: -48px;
    height: 110px;
  }

  .title-line {
    width: 76px;
    margin: 18px 0 14px;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
    margin-bottom: 28px;
  }

  .intro::after,
  .cards::after {
    display: none;
  }

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

  .intro__art img {
    width: 150px;
  }

  .landscape-card__content {
    padding: 20px 18px 20px;
  }

  .cards {
    margin-top: 28px;
  }

  .cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .conservancy-card {
    min-height: 196px;
    padding-inline: 12px;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 388px;
  }

  .hero__bg {
    object-position: 73% center;
  }

  .hero p {
    max-width: 320px;
    font-size: 18px;
  }

  .section-pad,
  .section-pad--hero {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .intro__art img {
    width: 136px;
  }

  .landscape-card h3 {
    font-size: 24px;
  }

  .landscape-card p,
  .intro p {
    font-size: 14.5px;
    line-height: 1.45;
  }

  .cards__grid {
    gap: 12px;
  }

  .conservancy-card {
    min-height: 184px;
  }

  .conservancy-card h3 {
    font-size: 15.8px;
  }

  .conservancy-card img {
    width: min(146px, 92%);
    height: 102px;
  }
}
