.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: #014123;
  text-align: center;
  margin: 0 0 2.5rem;
}

.section-title--left {
  text-align: left;
  margin-bottom: 1.5rem;
  line-height: 2;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: #1a3329;
  background-image: url("https://picsum.photos/seed/autumn-road/1920/1080");
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 4rem 1.25rem 5rem;
  text-align: center;
  max-width: 920px;
}

.hero__title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 5vw, 3rem);
  line-height: 1.2;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(48px, 8vw, 72px);
  z-index: 2;
  display: block;
}

/* --- What We Value --- */

.values__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.value-card {
  grid-column: span 2;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 11px 0px !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(45, 90, 76, 0.12);
}

.value-card:nth-child(4) {
  grid-column: 2 / 4;
}

.value-card:nth-child(5) {
  grid-column: 4 / 6;
}

.value-card__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.value-card__tagline {
  font-size: 0.9rem;
  font-style: italic;
  color: #014123;
  margin: 0 0 1rem;
  line-height: 2;
  font-weight: 500;
}

.value-card__text {
  margin: 0;
  font-size: 0.95rem;
  color: #444;
  line-height: 2;
}

/* --- What We Believe In --- */
.beliefs {
  padding-block: 4rem;
  background-color: #fafafa;
}

.beliefs__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.beliefs__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.beliefs__list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.85rem;
  font-size: 0.98rem;
  color: #444;
  line-height: 1.38;
}

.beliefs__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #2d5a4c;
}

.beliefs__media img {
  width: 100%;
	height:auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* --- Every Legacy --- */
.legacy {
  padding-block: 4.5rem 5rem;
}

.legacy__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: flex-start;
}

.legacy__media img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.legacy__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2d5a4c;
  display: none;
}

.legacy__body {
  margin-top: 1rem;
}

.legacy__body p {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  color:#014123;
  line-height: 2;
}

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

.legacy__signature {
  margin: 1.75rem 0 0;
  font-family: "Great Vibes", cursive;
  font-size: 2rem;
  color: #2d5a4c;
  text-align: right;
	display: none;
}

.legacy__content a.btn{
  margin-inline-start: auto;
	margin-block-start: 2rem;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .values__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-card {
    grid-column: span 1;
  }

  .value-card:nth-child(4),
  .value-card:nth-child(5) {
    grid-column: span 1;
  }
	
	
  .legacy__layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .legacy__media {
    order: -1;
  }

  .legacy__media img {
    max-height: 420px;
  }

	
	.legacy__content a.btn{
	  margin-inline: auto;
	}
}

@media (max-width: 767px) {
  .hero {
    min-height: min(70vh, 520px);
  }

  .hero__inner {
    padding-block: 3rem 4.5rem;
  }

  .values {
    padding-block: 3rem;
  }

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

  .value-card:nth-child(n) {
    grid-column: 1 / -1;
  }

  .beliefs__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .beliefs__media {
    order: -1;
  }

  .legacy {
    padding-block: 3rem 3.5rem;
  }

  .section-title--left {
    text-align: center;
  }

  .beliefs .section-title--left {
    text-align: left;
  }

  .legacy .section-title--left {
    text-align: left;
  }

  .legacy__signature {
    font-size: 1.75rem;
  }
}
