/*=================================================================
  Homepage Conversion Redesign
==================================================================*/
.home-hero {
  position: relative;
  padding: 154px 0 104px;
  background: #f4f7ef;
  overflow: hidden;
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  display: block;
}

.home-hero::before {
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(79, 112, 93, 0.045) 0 1px, transparent 1px 86px),
    repeating-linear-gradient(0deg, rgba(79, 112, 93, 0.035) 0 1px, transparent 1px 74px);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78), transparent 72%);
}

.home-hero::after {
  right: max(18px, calc((100vw - 1180px) / 2));
  top: 116px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(79, 112, 93, 0.12);
  border-radius: 42px;
  transform: rotate(10deg);
}

.home-hero .container,
.home-hero .block {
  position: relative;
  z-index: 2;
}

.home-hero .block::after {
  display: none;
}

.home-hero-copy {
  max-width: 660px;
}

.home-hero .home-kicker {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(72, 105, 86, 0.18);
  background: #fffdf8;
  color: #4f705d !important;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero .home-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: rgba(80, 112, 93, 0.58);
}

.home-hero .home-kicker,
.home-hero-tags span,
.home-quote-panel,
.home-hero-gallery,
.home-proof-strip__grid {
  backdrop-filter: blur(10px);
}

.home-hero .block h1 {
  max-width: 640px;
  margin: 22px 0 24px;
  color: #263b31;
  font-size: 2.85rem;
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-shadow: none;
}

.home-hero .block p.home-hero-copy__lead {
  max-width: 610px;
  margin-bottom: 30px;
  color: #4d6056;
  font-size: 1rem;
  line-height: 1.78;
}

.home-hero .btn-main {
  position: relative;
  overflow: hidden;
}

.home-hero .btn-main::after,
.home-final-cta__actions .btn-main::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -80%;
  width: 56%;
  transform: skewX(-18deg);
  background: rgba(255, 255, 255, 0.28);
  animation: home-button-sheen 4.8s ease-in-out infinite;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.home-hero-actions .btn {
  margin: 0 !important;
}

.home-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-hero .home-hero-tags span {
  display: inline-flex !important;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(87, 119, 100, 0.18);
  background: #fffdf8;
  color: #4f705d;
  font-size: 0.84rem;
  font-weight: 600;
}

.home-hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(210px, 0.92fr);
  grid-template-rows: auto auto;
  gap: 18px;
  min-height: 560px;
  align-items: stretch;
}

.home-hero-product,
.home-quote-panel,
.home-hero-gallery {
  border: 1px solid rgba(65, 101, 81, 0.12);
  background: #fffdf8;
  box-shadow: 0 18px 38px rgba(30, 49, 39, 0.1);
}

.home-hero-product {
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  transform: rotate(-1.5deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-hero-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  animation: home-product-float 7s ease-in-out infinite;
}

.home-hero-product:hover {
  transform: translateY(-4px) rotate(-1.5deg);
  box-shadow: 0 26px 52px rgba(30, 49, 39, 0.14);
}

.home-quote-panel {
  padding: 26px 24px;
  border-radius: 26px;
  transform: rotate(1.5deg);
}

.home-quote-panel__label {
  display: inline-flex;
  margin-bottom: 14px;
  color: #b98a52;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-quote-panel h2 {
  margin-bottom: 22px;
  color: #263b31;
  font-size: 1.3rem;
  line-height: 1.32;
}

.home-quote-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.home-quote-panel dl div {
  padding-top: 12px;
  border-top: 1px solid rgba(65, 101, 81, 0.12);
}

.home-quote-panel dt {
  margin-bottom: 4px;
  color: #718279;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-quote-panel dd {
  margin: 0;
  color: #30483b;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.home-hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border-radius: 24px;
}

.home-hero-gallery img {
  width: 100%;
  height: 132px;
  border-radius: 18px;
  background: #eef4ef;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.28s ease, background 0.28s ease;
}

.home-hero-gallery img:hover {
  background: #e6eee7;
  transform: translateY(-4px) rotate(-1deg);
}

.home-proof-strip {
  position: relative;
  z-index: 4;
  margin-top: -38px;
}

.home-proof-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-radius: 28px;
  border: 1px solid rgba(65, 101, 81, 0.12);
  background: #fffdf8;
  box-shadow: 0 18px 36px rgba(30, 49, 39, 0.1);
  overflow: hidden;
}

.home-proof-strip__grid div {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 26px 24px;
  border-right: 1px solid rgba(65, 101, 81, 0.1);
  transition: background 0.24s ease, transform 0.24s ease;
}

.home-proof-strip__grid div:last-child {
  border-right: 0;
}

.home-proof-strip__grid div:hover {
  background: #f4f7ef;
  transform: translateY(-2px);
}

.home-proof-strip__grid strong {
  display: block;
  margin-bottom: 0;
  color: #2c4738;
  font-size: 1.65rem;
  line-height: 1;
  white-space: nowrap;
}

.home-proof-strip__grid span {
  display: block;
  color: #66776c;
  font-size: 0.82rem;
  line-height: 1.5;
}

.home-section-intro {
  color: #66776c;
  font-size: 0.96rem;
  line-height: 1.78;
}

.home-assurance-grid {
  margin-top: 44px;
}

.home-assurance-card,
.home-flow-step {
  height: 100%;
  border: 1px solid rgba(65, 101, 81, 0.1);
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 0 16px 32px rgba(35, 60, 48, 0.08);
}

.home-assurance-card {
  position: relative;
  padding: 30px 24px 28px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.home-assurance-card::before,
.home-product-card::before,
.home-flow-step::before {
  content: "";
  position: absolute; inset: 0 auto auto 0;
  width: 100%; height: 4px;
  background: #ead7b3;
  transform: scaleX(0.22);
  transform-origin: left center; transition: transform 0.3s ease;
}

.home-assurance-card:hover::before,
.home-product-card:hover::before,
.home-flow-step:hover::before {
  transform: scaleX(1);
}

.home-assurance-card::after,
.home-product-card::after,
.home-flow-step::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 46px;
  height: 46px;
  border-right: 1px solid rgba(79, 112, 93, 0.18);
  border-bottom: 1px solid rgba(79, 112, 93, 0.18);
  border-radius: 0 0 16px 0;
  pointer-events: none;
}

.home-assurance-card:hover,
.home-product-card:hover,
.home-flow-step:hover {
  border-color: rgba(79, 112, 93, 0.2);
  box-shadow: 0 24px 48px rgba(35, 60, 48, 0.12);
  transform: translateY(-6px);
}

.home-assurance-card i {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 16px;
  background: #eef4ef;
  color: #5c7b68;
  font-size: 1.28rem;
}

.home-assurance-card h3 {
  margin-bottom: 12px;
  color: #263b31;
  font-size: 1.08rem;
}

.home-assurance-card p {
  margin: 0;
  color: #66776c;
  line-height: 1.72;
}

.home-products {
  overflow: hidden;
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  color: #4f705d;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.home-text-link::after {
  content: "\e649";
  margin-left: 10px;
  font-family: "themify";
  font-size: 0.72rem;
}

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

.home-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 26px;
  border: 1px solid rgba(65, 101, 81, 0.1);
  background: #fffdf8;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(30, 49, 39, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.home-product-card img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: contain;
  padding: 18px;
  background: #f4f7ef;
  transition: transform 0.38s ease;
}

.home-product-card:hover img {
  transform: scale(1.045);
}

.home-product-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 22px 22px;
}

.home-product-card span {
  margin-bottom: 10px;
  color: #b98a52;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-product-card h3 {
  margin-bottom: 8px;
  color: #263b31;
  font-size: 1.08rem;
}

.home-product-card p {
  color: #66776c;
  line-height: 1.62;
}

.home-product-card a {
  margin-top: auto;
  color: #4f705d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-sourcing-layout {
  row-gap: 34px;
}

.home-sourcing-image {
  position: relative;
  border-radius: 30px;
  border: 1px solid rgba(65, 101, 81, 0.1);
  background: #eef4ef;
  overflow: hidden;
  box-shadow: 0 20px 42px rgba(35, 60, 48, 0.1);
}

.home-sourcing-image::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -80%; z-index: 1;
  width: 46%; transform: skewX(-16deg);
  background: rgba(255, 253, 248, 0.38);
  pointer-events: none; animation: home-button-sheen 6.8s ease-in-out infinite;
}

.home-sourcing-image::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 253, 248, 0.7);
  border-radius: 22px;
  pointer-events: none;
}

.home-sourcing-image img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.home-sourcing-content {
  padding-left: 52px;
}

.home-sourcing-content h2 {
  margin: 20px 0 20px;
  color: #263b31;
  font-size: 2.1rem;
  line-height: 1.24;
  letter-spacing: 0;
}

.home-sourcing-content p {
  color: #66776c;
  line-height: 1.82;
}

.home-check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 32px;
  padding: 0;
  list-style: none;
}

.home-check-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #405a4b;
  line-height: 1.65;
}

.home-check-list i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef4ef;
  color: #4f705d;
  font-size: 0.82rem;
}

.home-flow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.home-flow-grid::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 112, 93, 0.28), transparent);
  pointer-events: none;
}

.home-flow-step {
  position: relative;
  padding: 30px 24px 28px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.home-flow-step span {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 18px;
  background: #4f705d;
  color: #ffffff;
  font-weight: 800;
}

.home-flow-step h3 {
  margin-bottom: 12px;
  color: #263b31;
  font-size: 1.08rem;
}

.home-flow-step p {
  margin: 0;
  color: #66776c;
  line-height: 1.72;
}

.home-final-cta {
  padding: 88px 0 0;
}

.home-final-cta__inner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: 46px;
  border-radius: 30px;
  background: #4f705d;
  color: #ffffff;
  box-shadow: 0 22px 44px rgba(35, 60, 48, 0.16);
}

.home-final-cta__inner::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 40px;
  transform: rotate(16deg);
}

.home-final-cta__inner::after {
  content: "";
  position: absolute;
  left: 42px;
  bottom: 0;
  width: min(360px, 45%);
  height: 1px;
  background: #ead7b3;
}

.home-final-cta__inner > * {
  position: relative;
  z-index: 1;
}

.home-final-cta__inner span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #ead7b3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-final-cta__inner h2 {
  max-width: 820px;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 1.95rem;
  line-height: 1.25;
}

.home-final-cta__inner p {
  max-width: 740px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.76;
}

.home-final-cta__actions {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.home-final-cta__actions .btn-main {
  position: relative;
  overflow: hidden;
  border-color: #fffdf8;
  background: #fffdf8;
  color: #3f5f4d;
}

.home-mail-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.home-mail-link:hover {
  color: #ffffff;
}

@keyframes home-product-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes home-stamp-breathe {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes home-button-sheen {
  0%,
  42% {
    left: -80%;
  }

  58%,
  100% {
    left: 130%;
  }
}

@media (max-width: 1199px) {
  .home-hero .block h1 {
    font-size: 2.55rem;
  }

  .home-hero-visual {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .home-hero-product {
    min-height: 420px;
  }

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

@media (max-width: 991px) {
  .home-hero {
    padding: 126px 0 86px;
  }

  .home-hero .block h1 {
    font-size: 2.28rem;
  }

  .home-hero-visual {
    margin-top: 22px;
  }

  .home-proof-strip {
    margin-top: 0;
    padding: 0 0 24px;
    background: #f4f7ef;
  }

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

  .home-proof-strip__grid div {
    border-bottom: 1px solid rgba(65, 101, 81, 0.1);
  }

  .home-proof-strip__grid div:nth-child(2n) {
    border-right: 0;
  }

  .home-proof-strip__grid div:last-child {
    border-bottom: 0;
  }

  .home-assurance-grid {
    margin-top: 30px;
  }

  .home-sourcing-content {
    padding-left: 0;
  }

  .home-sourcing-image img {
    min-height: 380px;
  }

  .home-final-cta__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .home-hero {
    padding: 106px 0 64px;
    overflow: hidden;
  }

  .home-hero-copy,
  .home-hero .block h1,
  .home-hero .block p.home-hero-copy__lead {
    max-width: min(100%, 390px);
  }

  .home-hero .block h1 {
    font-size: 1.62rem;
    line-height: 1.22;
    word-break: break-word;
  }

  .home-hero .block p.home-hero-copy__lead {
    font-size: 0.95rem;
  }

  .home-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-hero-actions .btn {
    justify-content: center;
    max-width: 100%;
    width: 100%;
    white-space: normal;
  }

  .home-hero-visual {
    gap: 14px;
  }

  .home-flow-grid::before {
    display: none;
  }

  .home-hero-product {
    min-height: 340px;
    border-radius: 24px;
    transform: none;
  }

  .home-quote-panel {
    border-radius: 22px;
    transform: none;
  }

  .home-hero-gallery img {
    height: 104px;
  }

  .home-proof-strip__grid,
  .home-product-grid,
  .home-flow-grid {
    grid-template-columns: 1fr;
  }

  .home-proof-strip__grid div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    border-right: 0;
    border-bottom: 1px solid rgba(65, 101, 81, 0.1);
  }

  .home-proof-strip__grid div:last-child {
    border-bottom: 0;
  }

  .home-product-card {
    border-radius: 22px;
  }

  .home-sourcing-content h2,
  .home-final-cta__inner h2 {
    font-size: 1.65rem;
  }

  .home-final-cta__inner {
    padding: 30px 22px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-product img,
  .home-sourcing-image::before,
  .home-hero .btn-main::after,
  .home-final-cta__actions .btn-main::after {
    animation: none;
  }

  .home-assurance-card,
  .home-product-card,
  .home-flow-step,
  .home-hero-gallery img,
  .home-hero-product {
    transition: none;
  }
}
