/* ============== SITE HEADER ============== */
.ifil-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}

.admin-bar .ifil-site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .ifil-site-header {
    top: 46px;
  }
}

.ifil-header-spacer {
  width: 100%;
}

.ifil-header-spacer--overlay {
  display: none;
}

.ifil-top-banner {
  --ifil-top-banner-pad-y: 0.55rem;
  background: var(--brand-primary-bg);
  color: var(--on-primary);
  text-align: center;
  padding: var(--ifil-top-banner-pad-y) 1.25rem;
  max-height: 4rem;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: max-height, padding, opacity, transform;
}

.ifil-site-header.is-banner-hidden .ifil-top-banner {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transform: translateY(-0.35rem);
  pointer-events: none;
}

.ifil-top-banner__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ifil-main-nav {
  position: relative;
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.ifil-site-header--solid .ifil-main-nav,
.ifil-site-header--overlay.is-scrolled .ifil-main-nav,
.ifil-main-nav.is-scrolled {
  background: #ffffff;
  color: var(--dark-text);
  border-bottom-color: rgba(17, 17, 17, 0.06);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
}

.ifil-site-header--overlay:not(.is-scrolled) .ifil-main-nav {
  background: transparent;
  color: #ffffff;
  box-shadow: none;
}

.ifil-main-nav__inner {
  width: 100%;
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0.95rem var(--layout-gutter-mobile);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .ifil-main-nav__inner {
    padding-left: var(--layout-gutter);
    padding-right: var(--layout-gutter);
    gap: 1.5rem;
  }
}

.ifil-logo-text {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.ifil-logo-text:hover,
.ifil-logo-text:focus {
  opacity: 0.72;
  color: inherit;
}

.ifil-main-nav__menu {
  display: none;
  justify-content: center;
  min-width: 0;
}

@media (min-width: 1024px) {
  .ifil-main-nav__menu {
    display: flex;
  }
}

.ifil-nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ifil-nav-list > li {
  margin: 0;
  padding: 0;
}

#main-nav a,
.ifil-nav-list a {
  color: inherit !important;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  background-image: none !important;
  opacity: 0.92;
  transition: opacity 0.25s ease;
}

#main-nav a:hover,
#main-nav a:focus-visible,
.ifil-nav-list a:hover,
.ifil-nav-list a:focus-visible {
  opacity: 1;
  color: inherit !important;
  outline: none;
}

.ifil-main-nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
}

.ifil-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.ifil-nav-icon:hover,
.ifil-nav-icon:focus {
  opacity: 0.7;
  color: inherit;
}

.ifil-nav-icon i {
  font-size: 1.05rem;
  font-weight: 300;
}

.ifil-site-header--overlay:not(.is-scrolled) .ifil-nav-cart .ifil-nav-icon,
.ifil-site-header--overlay:not(.is-scrolled) .ifil-nav-cart .ifil-nav-icon i {
  color: #ffffff !important;
}

.ifil-nav-burger {
  display: inline-flex;
}

@media (min-width: 1024px) {
  .ifil-nav-burger {
    display: none !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============== HOME HERO + PARALLAX COVER ============== */
.home main,
.front-page main {
  position: relative;
}

.ifil-home-hero {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 85vh;
  min-height: 520px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.ifil-home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ifil-home-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.04);
  filter: brightness(0.62);
  will-change: transform;
}

.ifil-home-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 8, 6, 0.72) 0%,
    rgba(10, 8, 6, 0.48) 34%,
    rgba(10, 8, 6, 0.22) 62%,
    rgba(10, 8, 6, 0.08) 100%
  );
  pointer-events: none;
}

.ifil-home-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding:
    calc(var(--ifil-header-offset, 7.5rem) + 1.5rem)
    var(--layout-gutter-mobile)
    3rem;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .ifil-home-hero__content {
    padding-left: var(--layout-gutter);
    padding-right: var(--layout-gutter);
    padding-bottom: 4rem;
  }
}

.ifil-home-hero__copy {
  max-width: 38rem;
}

.ifil-home-hero__title {
  margin: 0 0 1rem;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.ifil-home-hero__lead {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.65;
}

.ifil-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.ifil-home-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border-radius: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.ifil-home-hero__btn--primary {
  background: var(--brand-primary-bg);
  color: #ffffff;
  border: 1px solid var(--brand-primary-bg);
}

.ifil-home-hero__btn--primary:hover,
.ifil-home-hero__btn--primary:focus {
  background: var(--btn-primary-bg-hov);
  border-color: var(--btn-primary-bg-hov);
  color: #ffffff;
  transform: translateY(-1px);
}

.ifil-home-hero__btn--ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.ifil-home-hero__btn--ghost:hover,
.ifil-home-hero__btn--ghost:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateY(-1px);
}

/* White sheet covers sticky hero while scrolling */
.ifil-home-sheet {
  position: relative;
  z-index: 2;
  background: #ffffff;
  box-shadow: 0 -18px 40px rgba(17, 17, 17, 0.08);
}

.ifil-home-trust {
  background: #ffffff;
  border-bottom: 0;
}

.ifil-home-bestsellery {
  scroll-margin-top: calc(var(--ifil-header-offset, 7.5rem) + 0.75rem);
}

.ifil-home-block {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

@media (min-width: 1024px) {
  .ifil-home-block {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

.ifil-carousel__head {
  margin: 0 0 1.5rem;
  text-align: left;
  max-width: 40rem;
}

.ifil-carousel__title {
  margin: 0 0 0.45rem;
  color: var(--dark-text);
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ifil-carousel__subtitle {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
}

.ifil-home-trust__inner {
  width: 100%;
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 1.35rem var(--layout-gutter-mobile);
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .ifil-home-trust__inner {
    padding: 1.6rem var(--layout-gutter);
  }
}

.ifil-home-trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .ifil-home-trust__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ifil-home-trust__list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
  }

  .ifil-home-trust__item {
    flex: 0 1 auto;
  }
}

.ifil-home-trust__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--dark-text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.35;
}

.ifil-home-trust__item i {
  flex-shrink: 0;
  width: 1.35rem;
  text-align: center;
  font-size: 1.05rem;
  color: var(--brand-primary-bg) !important;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.ifil-home-trust__item span {
  display: block;
}

.ifil-home-trust__item strong {
  font-weight: 600;
  color: inherit;
}

.home,
.front-page {
  scroll-behavior: smooth;
}

/* ============== HOME PROCESS ============== */
.ifil-home-process {
  background: #fafafa;
  padding: 3.5rem 0 3.75rem;
}

.ifil-home-process__intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.75rem;
}

.ifil-home-process__title {
  margin: 0 0 0.85rem;
  color: var(--dark-text);
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ifil-home-process__break {
  display: none;
}

@media (min-width: 1024px) {
  .ifil-home-process__break {
    display: inline;
  }
}

.ifil-home-process__lead {
  margin: 0;
  color: #666;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.6;
}

.ifil-home-process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .ifil-home-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .ifil-home-process__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .ifil-home-process__steps::before {
    content: "";
    position: absolute;
    top: 2.35rem;
    left: 8%;
    right: 8%;
    height: 1px;
    background: rgba(17, 17, 17, 0.12);
    z-index: 0;
  }
}

.ifil-home-process__step {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ifil-home-process__icon {
  position: relative;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary-bg);
  margin-bottom: 1.1rem;
}

.ifil-home-process__icon i {
  font-size: 1.35rem;
}

.ifil-home-process__num {
  position: absolute;
  top: -0.15rem;
  right: -0.15rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--brand-primary-bg);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ifil-home-process__step-title {
  margin: 0 0 0.45rem;
  color: var(--dark-text);
  font-size: 1.05rem;
  font-weight: 600;
}

.ifil-home-process__step-text {
  margin: 0;
  max-width: 16.5rem;
  color: #666;
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 400;
}

/* ============== HOME STANDARDS BAR ============== */
.ifil-home-standards {
  background: #1a1410;
  color: #fff;
  padding: 2.35rem 0 1.75rem;
}

.ifil-home-standards__grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 1024px) {
  .ifil-home-standards__grid {
    grid-template-columns: minmax(10rem, 0.75fr) minmax(0, 3.25fr);
    align-items: center;
    gap: 2rem;
  }
}

.ifil-home-standards__title {
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.ifil-home-standards__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem 1.25rem;
}

@media (min-width: 640px) {
  .ifil-home-standards__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ifil-home-standards__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ifil-home-standards__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.ifil-home-standards__item i {
  color: #d2b48c;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.ifil-home-standards__item-title {
  margin: 0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.ifil-home-standards__note {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  line-height: 1.45;
}

.ifil-home-reviews__title {
  margin: 0 0 1.25rem;
  text-align: center;
  color: var(--dark-text);
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 500;
}

/* ============== HOME B2B ============== */
.ifil-home-b2b {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: clamp(28rem, 68vh, 40rem);
  background: #14110e;
  color: #f4f1ec;
  overflow: hidden;
}

@media (min-width: 900px) {
  .ifil-home-b2b {
    grid-template-columns: minmax(18rem, 0.92fr) minmax(0, 1.08fr);
  }
}

.ifil-home-b2b__visual {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
}

@media (min-width: 900px) {
  .ifil-home-b2b__visual {
    min-height: 0;
    align-self: stretch;
  }
}

.ifil-home-b2b__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, transparent 50%, rgba(20, 17, 14, 0.72) 100%);
  pointer-events: none;
}

@media (max-width: 899px) {
  .ifil-home-b2b__visual::after {
    background: linear-gradient(180deg, transparent 40%, rgba(20, 17, 14, 0.95) 100%);
  }
}

.ifil-home-b2b__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.ifil-home-b2b:hover .ifil-home-b2b__img {
  transform: scale(1.08);
}

.ifil-home-b2b__content {
  position: relative;
  display: flex;
  align-items: center;
  padding: 2.5rem var(--layout-gutter-mobile) 3rem;
  background: #14110e;
}

@media (min-width: 900px) {
  .ifil-home-b2b__content {
    padding: 4rem clamp(2rem, 5vw, 4.5rem) 4rem clamp(1.5rem, 3vw, 3rem);
  }
}

.ifil-home-b2b__inner {
  max-width: 34rem;
}

.ifil-home-b2b__eyebrow {
  margin: 0 0 1rem;
  color: rgba(244, 241, 236, 0.55);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ifil-home-b2b__title {
  margin: 0 0 1.25rem;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.ifil-home-b2b__lead {
  margin: 0 0 0.9rem;
  color: rgba(244, 241, 236, 0.72);
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 400;
}

.ifil-home-b2b__lead + .ifil-home-b2b__cta {
  margin-top: 1.5rem;
}

.ifil-home-b2b__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.5rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.35rem;
  transition: color 0.25s ease, border-color 0.25s ease, gap 0.25s ease;
}

.ifil-home-b2b__cta i {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.ifil-home-b2b__cta:hover,
.ifil-home-b2b__cta:focus {
  color: #fff;
  border-bottom-color: #fff;
  gap: 0.95rem;
}

.ifil-home-b2b__cta:hover i,
.ifil-home-b2b__cta:focus i {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .ifil-home-hero__img {
    transform: none;
  }

  .ifil-main-nav,
  .ifil-home-hero__btn,
  .ifil-home-b2b__img,
  .ifil-home-b2b__cta,
  .ifil-home-b2b__cta i {
    transition: none;
  }

  .ifil-home-b2b:hover .ifil-home-b2b__img {
    transform: scale(1.04);
  }
}
