/* Front page only styles. */

.layout-container--front {
  --primary: #6EB43F;
  --primary-500: #00853F;
  --secondary: #F8DD5C;
  --secondary-500: #B28200;
  --home-cream: #FFF8EB;
  --home-dark: #1d1d1d;
  --home-grey: #383838;
  --home-text-dark: #22252a;
  --home-shell: min(1160px, calc(100% - 2rem));
  background: var(--home-cream);
}

.layout-container--front.layout-container--recipes-list {
  background:
    linear-gradient(rgba(29, 29, 29, 0.85), rgba(29, 29, 29, 0.85)),
    url("../../images/bg-recipes.jpg") top center / cover no-repeat;
}

.layout-container--front.layout-container--recipes-list .home-section {
  padding-top: 0;
}

.layout-container--front .site-shell {
  width: var(--home-shell);
}

.layout-container--front .site-header-stack {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  transition: background 0.2s ease;
}

.layout-container--front .site-header {
  position: relative;
  z-index: 4;
  background: transparent;
  margin: 0;
  padding: 0.75rem 0 0.95rem;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.layout-container--front .home-header__inner {
  position: relative;
  max-height: 72px;
}

.layout-container--front .home-header__brand .site-logo img {
  width: auto;
  height: 96px;
  transition:
    width 0.2s ease,
    height 0.2s ease;
}

.layout-container--front .home-header__brand {
  position: static;
}

.layout-container--front .home-header.is-scrolled .home-header__brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -10%);
  z-index: 2;
}

.layout-container--front .home-header__menus > .block {
  margin: 0;
}

.layout-container--front .home-header__menus > .block:first-child {
  margin-right: auto;
}

.layout-container--front .home-header__menus > .block:last-child {
  margin-left: auto;
}

.layout-container--front .home-header__lang {
  margin-left: 0.85rem;
}

.layout-container--front .lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem;
  border-radius: 999px;
  background: var(--primary-500);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.layout-container--front .lang-toggle__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 0.45rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.layout-container--front .lang-toggle__item.is-active {
  background: #fff;
  color: var(--primary-500);
}

.layout-container--front .home-header nav > ul,
.layout-container--front .home-header .menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.layout-container--front .home-header .menu a {
  color: #fff;
  text-transform: uppercase;
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 0;
  border: 0;
  background: transparent;
}

.layout-container--front .home-header:not(.is-scrolled) .home-header__inner {
  min-height: 96px;
}

.layout-container--front .home-header:not(.is-scrolled) .home-header__menus {
  align-items: center;
}

.layout-container--front .home-header:not(.is-scrolled) .menu a {
  font-size: 0.82rem;
}

.layout-container--front .home-header .menu a:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.84);
}

.layout-container--front .home-header--inner .home-header__inner {
  color: #1f1f1f;
}

.layout-container--front .home-header--inner .menu a {
  color: #1f1f1f;
}

.layout-container--front .home-header--inner .menu a:hover {
  color: var(--primary-500);
}

.layout-container--front .home-header.is-scrolled {
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.layout-container--front .home-header.is-scrolled .menu a {
  color: var(--primary-500);
}

.layout-container--front .home-header.is-scrolled .menu a:hover {
  color: var(--primary-500);
  opacity: 0.8;
}

.layout-container--front .home-header.is-scrolled .site-logo img {
  width: auto;
  height: 72px;
}

.mobile-menu {
  display: block;
  position: sticky;
  top: 0;
  z-index: 90;
  height: 60px;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .site-header-stack--front {
    display: block;
  }

  .mobile-menu {
    display: none;
  }
}

@media (max-width: 1023px) {
  .site-header-stack--front {
    display: none;
  }
}

.mobile-menu__toggle,
.mobile-menu__close {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.mobile-menu__toggle {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 110;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  pointer-events: auto;
}

.mobile-menu__toggle img {
  width: 24px;
  height: 24px;
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 60, 32, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 70;
}

.mobile-menu__panel {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 78px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 80;
}

.mobile-menu__card {
  width: min(280px, calc(100% - 3rem));
  background: #fff8e8;
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.mobile-menu__close {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 120;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.mobile-menu__close img {
  width: 22px;
  height: 22px;
}

.mobile-menu__nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}

.mobile-menu__nav .menu a {
  color: #0b7b3e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  font-size: 0.95rem;
}

.mobile-menu__lang {
  margin-top: 1.4rem;
  display: flex;
  justify-content: left;
}

.mobile-menu__lang .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  border: 1px solid rgba(11, 123, 62, 0.8);
  border-radius: 999px;
  overflow: hidden;
}

.mobile-menu__lang .menu li {
  margin: 0;
}

.mobile-menu__lang .menu a {
  display: block;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0b7b3e;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}


.mobile-menu.is-open .mobile-menu__overlay,
.mobile-menu.is-open .mobile-menu__panel,
.mobile-menu.is-open .mobile-menu__close {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu.is-open .mobile-menu__toggle {
  opacity: 0;
  pointer-events: none;
}

body.is-mobile-menu-open {
  overflow: hidden;
  touch-action: none;
}

body.is-mobile-menu-open .layout-container {
  transform: none;
  animation: none;
}

.home-landing {
  display: block;
}

.home-section {
  padding: 4rem 0;
}

.home-section--cream {
  background: var(--home-cream);
  color: var(--home-text-dark);
}

.home-section--dark {
  background: var(--home-dark);
  color: #fff;
}

.home-section--green {
  background: linear-gradient(180deg, #76bc3f, #5faa32);
  color: #fff;
}

.home-contact {
  position: relative;
  padding-top: 5rem;
  margin-top: -9rem;
}

/* .home-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../images/bg-recipes.jpg") center/cover no-repeat;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
} */

.home-contact__grid {
  display: grid;
  gap: 2.5rem;
  align-items: end;
  /* position: relative;
  z-index: 1; */
}

.home-contact__media {
  position: relative;
  z-index: 40;
}

.home-contact__media-inner {
  margin-inline: auto;
  max-width: 420px;
}

.home-contact__image {
  display: block;
  width: 66.666%;
  height: auto;
  margin-inline: auto;
}

.home-contact__card {
  position: relative;
  z-index: 30;
  border-radius: 18px;
  background: #fff8e8;
  padding: 3rem 2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  color: #2c2c2c;
}

.home-contact__heading {
  text-align: center;
  margin-bottom: 1.5rem;
}

.home-contact__title {
  margin: 0 0 0.4rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
}

.home-contact__subtitle {
  margin: 0;
  font-size: 2.25rem;
  color: var(--primary);
}

.home-contact__fields {
  display: grid;
  gap: 0.9rem;
}

.home-contact__attachment {
  margin-top: 1.2rem;
}

.home-contact__consent {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: #5b5b5b;
}

.home-contact__actions {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
}

.home-contact__field--full {
  grid-column: 1 / -1;
}

.btgca-contact-form__status {
  margin-bottom: 1rem;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: #f1f5f9;
  color: #1f2937;
  font-size: 0.85rem;
  line-height: 1.4;
}

.btgca-contact-form__status.is-error {
  background: #ffe4e6;
  color: #9f1239;
}

.btgca-contact-form__status.is-success {
  background: #dcfce7;
  color: #166534;
}

.btgca-contact-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 200;
}

.btgca-contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.btgca-contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.btgca-contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 480px);
  background: #fff;
  color: #1f1f1f;
  border-radius: 18px;
  padding: 2rem 2.2rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  outline: none;
}

.btgca-contact-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #1f1f1f;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.btgca-contact-modal__title {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.btgca-contact-modal__message {
  margin: 0;
  color: #3f3f3f;
  font-size: 1rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .home-contact__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.2rem;
  }
}

@media (min-width: 1024px) {

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

  .home-contact__card {
    padding: 3.2rem 3rem;
  }
}

@media (min-width: 1280px) {
  .home-contact__media-inner {
    margin-right: -5rem;
  }

  .home-contact__image {
    width: 100%;
  }
}

.home-hero {
  margin-top: -10rem;
  padding: 8.2rem 0 4.5rem;
  background: var(--primary-500);
  color: #fff;
}

.home-hero__inner {
  display: block;
}

.home-btn {
  display: inline-block;
  border-radius: 999px;
  background: var(--secondary);
  color: #111;
  padding: 0.5rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.home-btn:hover {
  color: #111;
  text-decoration: none;
  filter: brightness(0.96);
}

.home-btn--small {
  font-size: 0.67rem;
  padding: 0.42rem 0.82rem;
}

.home-btn--ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  color: #fff;
  padding: 0.35rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.home-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.home-hero-image {
  background: url("../../images/banner-bg.png") center/100% auto no-repeat;
}

.home-recipes--sticky {
  position: sticky;
  top: -1050px;
  z-index: 30;
  transition: transform 700ms ease;
  will-change: transform;
}

.home-recipes--sticky.is-shifted {
  transform: translateY(35vh);
}

.home-recipes--sticky .site-shell .absolute {
  transition: bottom 700ms ease;
}

.home-recipes--sticky.is-shifted .site-shell .absolute {
  bottom: -9rem !important;
}

.home-recipes .home-section--dark {
  position: relative;
  overflow: hidden;
}

.home-recipes .home-section--dark > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .home-contact__title {
    font-size: 34px !important;
  }

  .home-recipes--sticky {
    position: relative;
    top: 0px;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-recipes--sticky {
    transition: none;
  }
}

.home-hero__visual {
  position: relative;
  min-height: 420px;
}

.home-heading h2,
.home-recipes h2,
.home-company h2,
.home-shop h2 {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 44px;
}

.home-heading--brand {
  position: relative;
}

.home-heading--brand .home-header__brand--mini {
  position: absolute;
  right: 0;
  top: -20px;
}

.home-heading--brand .home-header__brand--mini .site-logo {
  max-height: 64px;
}

.home-company .home-header__brand--mini .site-logo {
  max-height: 64px;
}

.home-heading p {
  margin: 0 0 1.4rem;
  max-width: 46ch;
}

.home-products {
  margin-top: -2.2rem;
  padding-top: 5rem;
}

.home-products .home-header__brand .site-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 136px;
}

.home-products__swiper .swiper {
  padding-inline: 0.25rem;
  padding-top: 14px;
}

.home-products .swiper-scrollbar {
  background: var(--primary-500);
}

.home-products .swiper-scrollbar-drag {
  background: var(--primary-500) !important;
}

.home-products__swiper .swiper-slide {
  display: flex;
}

.home-products__swiper .product-card {
  width: 100%;
}

.product-card {
  border-radius: 10px;
  padding: 0.75rem;
  background: url("../../images/product-card-bg.svg") center/cover no-repeat;
  color: #fff;
}

.product-card__image {
  background:
    radial-gradient(circle at 40% 33%, #d8a95b, #9a5727 62%, #2a261f 82%),
    #d6d6d6;
  border-radius: 10px;
  aspect-ratio: 4/3;
  margin-bottom: 0.62rem;
}

.product-card__image-wrap {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 0.62rem;
}

.product-card__image-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card h3 {
  color: #fff;
  text-transform: uppercase;
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.product-card p {
  margin: 0 0 0.72rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  min-height: 3.4em;
}

.home-recipes__copy {
  align-self: start;
}

.home-recipes__media {
  position: relative;
  min-height: 320px;
}

.rounded-b-section {
  position: relative;
  overflow: hidden;
  -webkit-clip-path: ellipse(120% 100% at 50% 0%);
  clip-path: ellipse(120% 100% at 50% 0%);
}

.rounded-t-section {
  position: relative;
  overflow: hidden;
  -webkit-clip-path: ellipse(120% 100% at 50% 100%);
  clip-path: ellipse(120% 100% at 50% 100%);
}

@media (max-width: 768px) {
  .rounded-b-section {
    -webkit-clip-path: ellipse(250% 100% at 50% 0%);
    clip-path: ellipse(250% 100% at 50% 0%);
  }

  .rounded-t-section {
    -webkit-clip-path: ellipse(250% 100% at 50% 100%);
    clip-path: ellipse(250% 100% at 50% 100%);
  }
}

.home-recipes__copy h2 {
  color: var(--secondary);
}

.home-recipes__copy h3 {
  color: #fff;
  margin: 1.1rem 0 0.2rem;
  font-size: 2rem;
  font-style: italic;
  font-weight: 500;
}

.home-recipes__title {
  display: inline-block;
  width: fit-content;
  padding-bottom: 0.6rem;
  background: url("../../images/underline.svg") left bottom / 100% auto no-repeat;
}

.home-recipes__subtitle {
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
}

.home-recipes__meta {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.84);
}

.home-recipes__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.home-recipes__swiper {
  margin-top: 1.3rem;
  overflow: visible;
}

.home-recipe-card h3 {
  margin: 0 0 0.25rem;
}

.home-recipe-card__image-wrap {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 0.62rem;
  background: #0e5728;
}

.home-recipe-card__image-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-recipes .btg-swiper .swiper {
  height: auto;
  overflow: visible;
}

.home-recipes .btg-swiper .swiper-wrapper {
  overflow: visible;
}

.home-recipes__swiper .swiper-slide {
  height: auto;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.home-recipes__swiper .swiper-slide-active {
  opacity: 1;
}

.home-recipe-card {
  max-width: 100%;
}

.home-recipes .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.7);
  opacity: 0.35;
}

.home-recipes .swiper-pagination-bullet-active {
  opacity: 1;
}

.home-recipes .swiper-scrollbar {
  background: rgba(255, 255, 255, 0.18);
}

.home-recipes .swiper-scrollbar-drag {
  background: rgba(255, 255, 255, 0.8);
}

@media (min-width: 1024px) {
  .home-recipes__swiper .swiper-pagination {
    display: block;
  }

  .home-recipes__swiper .swiper-scrollbar {
    display: none;
  }
}

.home-brand__layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: start;
}

.home-brand__map {
  min-height: 340px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 21% 49%, #15ad4d 0 4%, transparent 5%),
    radial-gradient(circle at 72% 36%, #15ad4d 0 4%, transparent 5%),
    radial-gradient(circle at 57% 68%, #15ad4d 0 4%, transparent 5%),
    linear-gradient(120deg, #d6ead7, #eff6ef);
  border: 1px solid #d6ddcf;
}

.home-brand__points article {
  border: 1px solid #d5dbc9;
  border-radius: 12px;
  background: #fbfbf8;
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.home-brand__points h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
}

.home-brand__points p {
  margin: 0;
  color: #4b514b;
}

.home-company__swiper h3 {
  color: #fff;
  margin: 0 0 0.32rem;
  font-size: 1.15rem;
}

.home-company__swiper p {
  margin: 0;
  color: rgba(255, 255, 255, 0.93);
}

.home-shop__copy p {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.recipe-next {
  position: relative;
  overflow: hidden;
  background: #1d1d1d;
}

.recipe-next::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../images/bg-recipes.jpg") center/cover no-repeat;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.recipe-next > * {
  position: relative;
  z-index: 1;
}

.recipe-next__swiper .swiper {
  overflow: hidden;
}

.recipe-next__card {
  min-height: 320px;
  padding: 1.2rem 0.2rem;
}

.recipe-next__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-next__title {
  display: inline-block;
  width: fit-content;
  padding-bottom: 0.6rem;
  background: url("../../images/underline.svg") left bottom / 100% auto no-repeat;
}

.recipe-next__meta {
  color: #fff;
}

.recipe-next .swiper-button-prev,
.recipe-next .swiper-button-next {
  width: 34px;
  height: 34px;
  margin-top: -17px;
  background: rgba(0, 0, 0, 0.42);
}

@media (max-width: 1023px) {
  .recipe-next__card {
    min-height: auto;
    text-align: center;
    padding: 0.4rem 0.2rem 1.1rem;
  }
}

@media (max-width: 1023px) {
  .layout-container--front .home-header__inner {
    min-height: 112px;
  }

  .layout-container--front .home-header__brand {
    position: static;
    transform: none;
    margin-bottom: 0.4rem;
  }

  .layout-container--front .home-header__menus {
    min-height: auto;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-inline: 0;
  }

  .layout-container--front .home-header__menus > .block:first-child,
  .layout-container--front .home-header__menus > .block:last-child {
    margin: 0;
  }

  .home-brand__layout,
}

@media (max-width: 720px) {
  .home-products .home-header__brand .site-logo {
    max-height: 59px;
  }

  .layout-container--front .home-header .menu {
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .home-recipes__image-wrap {
    max-width: 320px;
    margin-inline: auto;
  }

  .layout-container--front .home-header__brand .site-logo img {
    height: 52px;
  }

  .home-hero__inner,
  .home-company__grid {
    grid-template-columns: 1fr;
  }

  .home-hero__visual {
    min-height: 260px;
  }

  .home-section {
    padding: 3rem 0;
  }

  .home-heading h2,
  .home-recipes h2,
  .home-company h2,
  .home-shop h2 {
    font-size: 2rem;
  }
}
