/* ===== Feature Section ===== */
.feature-section {
  background: #F2EFEA;
  padding: 110px 20px;
  display: flex;
  justify-content: center;
}

/* ===== Container ===== */
.feature-container {
  max-width: 1000px;
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* ===== Image ===== */
.feature-image {
  width: 100%;
  max-width: 900px;

  border-radius: 28px;
  object-fit: cover;

  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* ===== Text block ===== */
.feature-text {
  max-width: 700px;
  text-align: center;
}

/* ===== Title ===== */
.feature-title {
  font-family: 'Aboreto', cursive;
  font-size: clamp(40px, 5vw, 70px);

  color: #233619;
  margin-bottom: 10px;
}

/* ===== Description ===== */
.feature-description {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(16px, 1.5vw, 20px);
  color: #233619;
  line-height: 1.6;
  opacity: 0.85;
}

.feature-link {
    color: #233619;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.feature-link:hover,
.feature-link:focus {
  filter: brightness(0) saturate(100%) invert(55%) brightness(130%) contrast(115%);
}





/* ===== Split Section ===== */
.split-section {
  background: #F2EFEA;
  padding: 0px 20px 100px 20px;

  display: flex;
  justify-content: center;
}

/* ===== Container ===== */
.split-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
}

/* ===== Image ===== */
.split-image {
  flex: 0.9;
}

.split-image img {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;

  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* ===== Text ===== */
.split-text {
  flex: 1.1;
}

/* ===== Title ===== */
.split-title {
  font-family: 'Aboreto', cursive;
  font-size: clamp(40px, 5vw, 70px);

  color: #233619;
  margin-bottom: 10px;
}

/* ===== Description ===== */
.split-description {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(16px, 1.5vw, 20px);
  color: #233619;
  line-height: 1.6;
  opacity: 0.85;
}

.split-big-link {
    color: #233619;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, filter 0.3s ease;
    font-size: clamp(20px, 2vw, 26px);
}

.split-big-link:hover,
.split-big-link:focus {
  filter: brightness(0) saturate(100%) invert(55%) brightness(130%) contrast(115%);
}


.split-container.reverse {
  flex-direction: row-reverse;
}



/* ===== Triptych container ===== */
.feature-images {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: clamp(15px, 3vw, 40px);
}

/* ===== Base image style ===== */
.feature-img {
  border-radius: 28px;
  object-fit: cover;

  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* ===== Side images ===== */
.feature-img.small {
  width: clamp(140px, 14vw, 220px);
  aspect-ratio: 2 / 3;
}

/* ===== Middle image (larger) ===== */
.feature-img.large {
  width: clamp(180px, 20vw, 320px);
  aspect-ratio: 2 / 3;
}



/* ===== Two-image layout ===== */
.feature-images.two {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: clamp(15px, 3vw, 40px);
}

/* Medium image */
.feature-img.medium {
  width: clamp(160px, 18vw, 280px);
  aspect-ratio: 2 / 3;
}

/* Keep your existing large */
.feature-img.large {
  width: clamp(200px, 24vw, 360px);
  aspect-ratio: 2 / 3;
}

a[href^="tel"] {
  color: #233619;
  text-decoration: none;
}


@media (max-width: 799px) {

  /* Hide side images */
  .feature-images:not(.two) .feature-img.small {
    display: none;
  }

  /* Center image → horizontal 3:2 */
  .feature-images:not(.two) .feature-img.large {
    width: 100%;
    max-width: 500px;

    aspect-ratio: 3 / 2; /* 👈 perfect match */
    object-fit: cover;
    object-position: center;
  }

  /* ===== Split → Feature layout ===== */
  .split-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  /* Reset reverse */
  .split-container.reverse {
    flex-direction: column;
  }

  /* ===== Image becomes horizontal (3:2) ===== */
  .split-image img {
    width: 100%;
    max-width: 500px;

    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: 50% 35%; /* 👈 key change */

    margin: 0 auto;
  }

  /* ===== Text width ===== */
  .split-text {
    max-width: 100%;
  }

  .feature-images.two .feature-img.large {
  width: 45%;
  max-width: 300px;
  }

}