/* Home 4 */
.home-four {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.home-four-hero {
  position: relative;
  display: grid;
  min-height: 760px;
  place-items: center;
  overflow: hidden;
  padding: 126px 32px 120px;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(4, 25, 16, 0.86), rgba(10, 25, 18, 0.5) 48%, rgba(3, 17, 11, 0.76)),
    linear-gradient(180deg, rgba(5, 15, 10, 0.35), rgba(5, 22, 14, 0.74)),
    var(--home-four-hero-bg) center / cover;
}

.home-four-hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 5;
  height: clamp(62px, 7vw, 110px);
  content: "";
  background: var(--home-four-hero-wave) center bottom / 100% 100% no-repeat;
}

.home-four-hero__content {
  position: relative;
  z-index: 3;
  width: min(1180px, 100%);
  text-align: center;
}

.home-four-hero__content p {
  margin-bottom: 18px;
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.home-four-hero__content h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.76;
  text-shadow: 0 24px 55px rgba(0, 0, 0, 0.34);
}

.home-four-hero__content > span {
  display: block;
  margin-top: 38px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.home-four-hero__cherries {
  position: absolute;
  left: clamp(-160px, -5vw, -54px);
  top: 10%;
  z-index: 2;
  width: min(369px, 38vw);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.38));
  transform: rotate(12deg);
}

.home-four-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 38px;
  z-index: 7;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(181, 140, 64, 0.72);
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold);
  transform: translateX(-50%);
}

.home-four-hero__scroll svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.home-four-transition {
  position: relative;
  z-index: 8;
  width: 100%;
  height: 0;
  overflow: visible;
  pointer-events: none;
}

.home-four-transition__branch {
  position: absolute;
  right: clamp(-380px, -16vw, -170px);
  top: 0;
  width: min(580px, 48vw);
  pointer-events: none;
  filter: saturate(1.08) contrast(1.04) drop-shadow(-24px 32px 45px rgba(0, 0, 0, 0.3));
  transform: translateY(-48%) rotate(-27deg);
}

@media (max-width: 980px) {
  .home-four-hero {
    min-height: 700px;
  }

  .home-four-transition__branch {
    right: -280px;
    width: 620px;
    opacity: 0.78;
  }
}

@media (max-width: 680px) {
  .home-four-hero {
    min-height: 650px;
    padding-inline: 18px;
  }

  .home-four-hero__content h1 {
    font-size: clamp(3.4rem, 17vw, 6rem);
  }

  .home-four-hero__content > span {
    font-size: 0.62rem;
    line-height: 1.6;
  }

  .home-four-hero__cherries {
    left: -120px;
    width: 330px;
    opacity: 0.82;
  }

  .home-four-transition__branch {
    right: -230px;
    width: 470px;
    opacity: 0.55;
    transform: translateY(-45%) rotate(-24deg);
  }
}

/* Home 4 featured coffee */
.home-four-featured {
  position: relative;
  overflow: hidden;
  padding: 20px 0 80px;
  isolation: isolate;
  background: var(--white);
}

.home-four-featured::before {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
      width: min(800px, 108vw);
  aspect-ratio: 1.15;
  background: var(--home-four-featured-corner) left top / contain no-repeat;
  content: "";
  opacity: 0.32;
  pointer-events: none;
}

.home-four-featured::after {
  /* position: absolute; */
  right: -12%;
  bottom: -48%;
  z-index: -1;
  width: 58%;
  aspect-ratio: 1.8;
  border-radius: 50%;
  background: rgba(79, 133, 0, 0.08);
  content: "";
}

.home-four-featured__inner {
  display: grid;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(38px, 6vw, 20px);
}

.home-four-featured__visual {
  display: grid;
  min-height: 430px;
  margin: 0;
  place-items: center;
}

.home-four-featured__visual img {
  width: min(100%, 520px);
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(10, 68, 42, 0.16));
}

.home-four-featured__content {
  max-width: 610px;
}

.home-four-featured__content h2 {
  max-width: 590px;
  margin: 10px 0 24px;
  color: var(--green);
  font-family: var(--font-primary);
  font-size: clamp(3rem, 3vw, 5.2rem);
  line-height: 0.98;
}

.home-four-featured__content > p:not(.eyebrow) {
  max-width: 580px;
  margin: 0 0 30px;
  color: var(--coffee);
  font-size: 1rem;
  line-height: 1.75;
}

.home-four-featured__content .button-green {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  padding: 0 26px;
}

.home-four-featured__content .button-green svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (max-width: 860px) {
  .home-four-featured__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-four-featured__visual {
    min-height: 350px;
  }

  .home-four-featured__visual img {
    max-height: 390px;
  }

  .home-four-featured__content {
    max-width: 680px;
    text-align: center;
    justify-self: center;
  }

  .home-four-featured__content h2,
  .home-four-featured__content > p:not(.eyebrow) {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  .home-four-featured::before {
    width: 72vw;
    opacity: 0.2;
  }

  .home-four-featured__visual {
    min-height: 280px;
  }

  .home-four-featured__visual img {
    max-height: 310px;
  }
}

/* Home 4 connections and services */
.home-four-connections {
  position: relative;
  overflow: hidden;
  padding: 108px 0 120px;
  background:#ffffff;
  color: var(--green);
}

.home-four-connections__layout {
  display: grid;
  width: min(1180px, calc(100% - 36px));
  grid-template-columns: minmax(360px, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  margin: 0 auto;
}

.home-four-connections__main-image {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--green);
}

.home-four-connections__main-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 55%, rgba(5, 39, 25, 0.82));
}

.home-four-connections__main-image > img {
  width: 100%;
  height: 510px;
  object-fit: cover;
  object-position: center;
  transition: transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.home-four-connections__main-image:hover > img {
  transform: scale(1.045);
}

.home-four-connections__main-image figcaption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 2;
  display: grid;
  gap: 5px;
  color: var(--white);
}

.home-four-connections__main-image strong {
  color: var(--cream);
  font-family: var(--font-primary);
  font-size: 1.8rem;
}

.home-four-connections__main-image span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}

.home-four-connections__content > h3 {
  margin-bottom: 18px;
  color: var(--green);
  font-family: var(--font-primary);
  font-size: clamp(2.3rem, 3.2vw, 3.9rem);
  line-height: 1;
}

.home-four-connections__content > p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(117, 76, 36, 0.76);
  font-size: 1rem;
  line-height: 1.75;
}

.home-four-connections__services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.home-four-connections__services article {
  border-radius: 8px;
  padding: 10px 10px 18px;
  transition: background 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.home-four-connections__services article:hover {
  background: var(--white);
  box-shadow: 0 20px 44px rgba(10, 68, 42, 0.1);
  transform: translateY(-8px);
}

.home-four-connections__services article > div {
  position: relative;
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  border-radius: 8px;
}

.home-four-connections__services img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.home-four-connections__services article:hover img {
  transform: scale(1.05);
}

.home-four-connections__services article > div span {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 900;
}

.home-four-connections__services h4 {
  margin: 16px 0 7px;
  color: var(--green);
  font-family: var(--font-primary);
  font-size: 1.35rem;
  line-height: 1.08;
}

.home-four-connections__services p {
  margin: 0;
  color: rgba(117, 76, 36, 0.72);
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .home-four-connections__layout {
    grid-template-columns: 1fr;
  }

  .home-four-connections__main-image {
    min-height: 440px;
  }

  .home-four-connections__main-image > img {
    height: 440px;
  }
}

@media (max-width: 680px) {
  .home-four-connections {
    padding: 82px 0 90px;
  }

  .home-four-connections__main-image,
  .home-four-connections__main-image > img {
    min-height: 380px;
    height: 380px;
  }

  .home-four-connections__services {
    grid-template-columns: 1fr;
  }
}

/* Home 4 producer profile */
.home-four-products-section {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  isolation: isolate;
  background: var(--white);
}

.home-four-products-section::before {
  display: none;
}

#tienda-home-four .home-four-products--standalone {
  margin: 0 auto;
  border-top: 0;
  padding-top: 30px;
}

.home-four-products--standalone::before,
.home-four-products--standalone::after {
  position: absolute;
  width: 180px;
  aspect-ratio: 1;
  border: 1px solid rgba(181, 140, 64, 0.15);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-four-products--standalone::before {
  left: -100px;
  top: 26%;
}

.home-four-products--standalone::after {
  right: -110px;
  bottom: 2%;
}

@media (max-width: 680px) {
  .home-four-products-section {
    padding: 20px 0;
  }
}

.home-four-producer {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  isolation: isolate;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
    var(--producer-background);
  background-position: center;
  background-size: 125% auto;
  background-repeat: no-repeat;
  color: var(--green);
}

.home-four-producer::before,
.home-four-producer::after {
  display: none;
}

.home-four-producer__inner {
  position: relative;
  display: grid;
  width: min(1180px, calc(100% - 36px));
  min-height: 700px;
  grid-template-columns: minmax(420px, 0.9fr) minmax(430px, 1.1fr);
  align-items: center;
  margin: 0 auto;
}

.home-four-producer__content {
  position: relative;
  z-index: 4;
  max-width: 590px;
  padding: 140px 0 120px;
}

.home-four-producer__content h2 {
  margin-bottom: 24px;
  color: var(--green);
  font-family: var(--font-primary);
  font-size: clamp(3rem, 3vw, 5.7rem);
  line-height: 0.98;
}

.home-four-producer__content > p:not(.eyebrow) {
  max-width: 570px;
  color: rgba(117, 76, 36, 0.82);
  font-size: 1rem;
  line-height: 1.8;
}

.home-four-producer__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.home-four-producer__metrics article {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px 15px;
  border: 1px solid rgba(181, 140, 64, 0.66);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(10, 68, 42, 0.08);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.home-four-producer__metrics article:hover {
  border-color: var(--gold);
  background: rgba(181, 140, 64, 0.08);
  transform: translateY(-6px);
}

.home-four-producer__metrics strong {
  color: var(--gold);
  font-family: var(--font-primary);
  font-size: clamp(2.6rem, 2vw, 4rem);
  line-height: 1;
}

.home-four-producer__metrics span {
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-four-producer__person {
  position: absolute;
  right: -5%;
  bottom: 45px;
  z-index: 2;
  width: min(650px, 54vw);
  max-height: 680px;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(-24px 24px 38px rgba(10, 68, 42, 0.16));
}

@media (max-width: 980px) {
  .home-four-producer__inner {
    grid-template-columns: minmax(0, 0.98fr) minmax(320px, 1.02fr);
  }

  .home-four-producer__person {
    right: -16%;
    width: 620px;
    opacity: 0.88;
  }
}

@media (max-width: 680px) {
  .home-four-producer,
  .home-four-producer__inner {
    min-height: 820px;
  }

  .home-four-producer {
    background-position: center bottom;
    background-size: auto 48%;
  }

  .home-four-producer__inner {
    display: block;
  }

  .home-four-producer__content {
    padding: 100px 0 360px;
  }

  .home-four-producer__person {
    right: -120px;
    bottom: 22px;
    width: 510px;
    max-height: 440px;
  }

  .home-four-producer__metrics {
    gap: 18px;
  }
}

/* Home 4 story collage */
.home-four-story {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background:var(--white);
  color: var(--green);
}

.home-four-story::before {
  position: absolute;
  left: -120px;
  bottom: -170px;
  width: 390px;
  aspect-ratio: 1;
  border: 1px solid rgba(181, 140, 64, 0.16);
  border-radius: 50%;
  content: "";
}

.home-four-story__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1200px, calc(100% - 36px));
  grid-template-columns: minmax(520px, 1.04fr) minmax(440px, 0.96fr);
  gap: clamp(60px, 6vw, 86px);
  align-items: center;
  margin: 0 auto;
}

.home-four-story__gallery {
  display: grid;
  height: 575px;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-four-story__image {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--cream);
}

.home-four-story__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 55%, rgba(10, 68, 42, 0.16));
  pointer-events: none;
}

.home-four-story__image--main {
  grid-row: 1 / -1;
}

.home-four-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.home-four-story__image--main img {
  object-position: 54% center;
}

.home-four-story__image:hover img {
  transform: scale(1.045);
}

.home-four-story__content {
  max-width: 540px;
}

.home-four-story__content h2 {
  margin-bottom: 24px;
  color: var(--green);
  font-family: var(--font-primary);
  font-size: clamp(2.8rem, 3vw, 4rem);
  line-height: 0.98;
}

.home-four-story__content > p:not(.eyebrow) {
  color: rgba(117, 76, 36, 0.78);
  font-size: 1rem;
  line-height: 1.8;
}

.home-four-story__content ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}

.home-four-story__content li {
  position: relative;
  padding-left: 26px;
  color: var(--coffee);
  font-size: 0.92rem;
  font-weight: 800;
}

.home-four-story__content li::before {
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  content: "";
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(181, 140, 64, 0.12);
}

.home-four-story__content > a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 0 26px;
  background: var(--green);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 900;
  transition: 220ms ease;
}

.home-four-story__content > a svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.home-four-story__content > a:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--green);
}

@media (max-width: 980px) {
  .home-four-story__inner {
    grid-template-columns: 1fr;
  }

  .home-four-story__content {
    max-width: 680px;
  }

  .home-four-story__gallery {
    height: 520px;
  }
}

@media (max-width: 680px) {
  .home-four-story {
    padding: 82px 0;
  }

  .home-four-story__gallery {
    height: 560px;
    grid-template-columns: 1fr;
    grid-template-rows: 1.4fr 0.8fr 0.8fr;
  }

  .home-four-story__image--main {
    grid-row: auto;
  }
}

/* Home 4 origin-to-cup experience */
.home-four-experience-transition {
  position: relative;
  z-index: 9;
  width: 100%;
  height: 0;
  overflow: visible;
  pointer-events: none;
}

.home-four-experience-transition img {
  position: absolute;
  left: clamp(-190px, -8vw, -72px);
  top: 0;
  width: min(440px, 32vw);
  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.28));
  transform: translateY(-48%) rotate(11deg);
}

.home-four-experience {
  position: relative;
  display: grid;
  min-height: 760px;
  place-items: center;
  overflow: hidden;
  padding: 142px 28px 130px;
  isolation: isolate;
  background: var(--experience-wave) #ffffff center / auto 100% no-repeat;
  color: var(--white);
}

.home-four-experience::before {
  position: absolute;
  inset: 11% 0 10%;
  z-index: -2;
  content: "";
  background: rgba(4, 28, 18, 0.22);
  pointer-events: none;
}

.home-four-experience__branch {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.3));
}

.home-four-experience__branch--right {
  right: clamp(-180px, -8vw, -70px);
  bottom: 7%;
  width: min(390px, 29vw);
  transform: rotate(-16deg);
}

@media (max-width: 980px) {
  .home-four-experience-transition img {
    left: -150px;
    width: 360px;
  }

  .home-four-experience {
    min-height: 720px;
  }

  .home-four-experience__branch {
    opacity: 0.68;
  }
}

@media (max-width: 680px) {
  .home-four-experience-transition img {
    left: -120px;
    width: 260px;
    opacity: 0.72;
  }

  .home-four-experience {
    min-height: auto;
    padding: 110px 20px 100px;
    background-size: auto 100%;
  }

  .home-four-experience__branch {
    width: 210px;
    opacity: 0.38;
  }
}

/* Home 4 second section: layered texture, story and products */
.home-four .home-four-essence {
  position: relative;
  min-height: auto;
  overflow: hidden;
  padding: 36px 0 34px;
  isolation: isolate;
  background: var(--white);
}

.home-five .home-four-transition__branch {
  display: none;
}

.home-four .home-four-essence::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: var(--home-four-bg-texture) center / cover no-repeat;
  opacity: 0.12;
  mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
  pointer-events: none;
}

.home-four .home-four-essence::after {
  display: none;
}

.home-four-essence__intro {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1240px, calc(100% - 48px));
  min-height: 540px;
  grid-template-columns: minmax(330px, 36fr) minmax(0, 64fr);
  gap: clamp(38px, 5vw, 78px);
  align-items: center;
  margin: 0 auto;
}

.home-four-essence__visual {
  position: relative;
  min-height: 510px;
  margin: 0;
}

.home-four-essence__visual::before {
  position: absolute;
  left: 1%;
  top: 10%;
  width: 88%;
  aspect-ratio: 1;
  border: 1px solid rgba(181, 140, 64, 0.28);
  border-radius: 50%;
  content: "";
}

.home-four-essence__visual img {
  position: relative;
  z-index: 1;
  width: min(500px, 100%);
  height: 510px;
  object-fit: contain;
  filter: drop-shadow(0 28px 40px rgba(10, 68, 42, 0.17));
}

.home-four-essence__visual figcaption {
  position: absolute;
  right: -8px;
  bottom: 26px;
  z-index: 2;
  display: grid;
  width: 148px;
  height: 148px;
  place-content: center;
  border: 1px solid rgba(181, 140, 64, 0.44);
  border-radius: 50%;
  background: rgba(250, 247, 237, 0.96);
  color: var(--green);
  text-align: center;
  backdrop-filter: blur(8px);
}

.home-four-essence__visual figcaption strong {
  color: var(--gold);
  font-family: var(--font-primary);
  font-size: 3.35rem;
  line-height: 0.9;
}

.home-four-essence__visual figcaption span {
  max-width: 104px;
  margin-top: 5px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.home-four .home-four-essence__content {
  width: auto;
  max-width: 760px;
}

.home-four .home-four-essence__content .eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.34em;
}

.home-four .home-four-essence__content .eyebrow::after {
  width: 58px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.home-four .home-four-essence__content h2 {
  max-width: 750px;
  margin-bottom: 14px;
  color: var(--green);
  font-size: clamp(3.1rem, 4.2vw, 5rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.home-four .home-four-essence__content > .home-four-essence__subtitle {
  margin: 0 0 22px;
  color: var(--coffee);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.home-four-essence__copy {
  color: #76563f;
  font-size: 1rem;
  line-height: 1.55;
}

.home-four-essence__copy p {
  margin: 0 0 12px;
}

.home-four-essence__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 20px 0 24px;
  padding: 0;
  color: var(--green);
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  list-style: none;
  text-transform: uppercase;
}

.home-four-essence__highlights li + li::before {
  margin-right: 22px;
  color: var(--gold);
  content: "•";
}

.home-four-essence__content > a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0 28px;
  background: transparent;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 900;
  transition: 220ms ease;
}

.home-four-essence__content > a svg {
  width: 22px;
  margin-left: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.home-four-essence__content > a:hover {
  background: var(--gold);
  color: var(--green);
}

.home-four-products {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 36px));
  margin: 118px auto 0;
  border-top: 1px solid rgba(181, 140, 64, 0.32);
  padding-top: 86px;
  padding-bottom: 30px;
}

.home-four-products__heading {
  max-width: 680px;
  margin: 0 auto 54px;
  text-align: center;
}

.home-four-products__heading h2 {
  margin-bottom: 16px;
  color: var(--green);
  font-family: var(--font-primary);
  font-size: clamp(3rem, 3vw, 5.8rem);
  line-height: 0.98;
}

.home-four-products__heading > p:not(.eyebrow) {
  color: rgba(117, 76, 36, 0.74);
  font-size: 1rem;
  line-height: 1.7;
}

.home-four-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-four-product {
  position: relative;
  display: flex;
  min-height: 440px;
  flex-direction: column;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 26px 20px 24px;
  text-align: center;
  transition: transform 280ms ease, background 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

.home-four-product:hover,
.home-four-product:focus-within {
  border-color: rgba(181, 140, 64, 0.28);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 30px rgba(10, 68, 42, 0.12);
  transform: translateY(-12px);
  backdrop-filter: blur(8px);
}

.home-four-product__number {
  position: absolute;
  left: 20px;
  top: 20px;
  color: rgba(181, 140, 64, 0.54);
  font-family: var(--font-primary);
  font-size: 1rem;
}

.home-four-product__image {
  display: grid;
  width: 100%;
  height: 240px;
  place-items: center;
}

.home-four-product__image img {
  width: 88%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(10, 68, 42, 0.13));
  transition: transform 280ms ease;
}

.home-four-product:hover .home-four-product__image img {
  transform: scale(1.05);
}

.home-four-product h3 {
  margin: 8px 0 6px;
  color: var(--green);
  font-family: var(--font-primary);
  font-size: 1.55rem;
  line-height: 1.1;
}

.home-four-product > p {
  margin: 0 0 8px;
  color: var(--coffee);
  font-size: 0.82rem;
  font-weight: 800;
}

.home-four-product > strong {
  margin-top: auto;
  color: var(--gold);
  font-size: 1.08rem;
}

.home-four-product > a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 0 22px;
  background: transparent;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  transition: 220ms ease;
}

.home-four-product > a svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.home-four-product:hover > a,
.home-four-product:focus-within > a {
  opacity: 1;
  transform: translateY(0);
}

.home-four-product > a:hover {
  background: var(--green);
  color: var(--white);
}

@media (max-width: 980px) {
  .home-four-essence__intro {
    grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
    gap: 20px;
  }

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

  .home-four-product > a {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 680px) {
  .home-four .home-four-essence {
    padding: 92px 0 76px;
  }

  .home-four-essence__intro {
    grid-template-columns: 1fr;
  }

  .home-four-essence__visual,
  .home-four-essence__visual img {
    min-height: 300px;
    height: 300px;
  }

  .home-four-essence__visual figcaption {
    right: 4px;
    bottom: 0;
    width: 108px;
    height: 108px;
  }

  .home-four-products {
    margin-top: 82px;
    padding-top: 66px;
  }

  .home-four-products__grid {
    grid-template-columns: 1fr;
  }

  .home-four-product {
    min-height: 420px;
    border-color: rgba(181, 140, 64, 0.22);
    background: rgba(255, 255, 255, 0.54);
  }
}
