/* =========================================================
   HOME HERO
========================================================= */
.home-hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--header-height, 88px));
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #000;
}

/* Background image */
.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  /*background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.75) 0%,
      rgba(0,0,0,0.55) 40%,
      rgba(0,0,0,0.15) 100%
    ); */
}

/* Content */
.home-hero__content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  color: #fff;
}

.home-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.home-hero__subtitle {
  font-size: 1.05rem;
  max-width: 520px;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Actions */
.home-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Mobile */
@media (max-width: 768px) {
  .home-hero {
    min-height: 85vh;
  }

  .home-hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0,0,0,0.7) 0%,
        rgba(0,0,0,0.4) 60%,
        rgba(0,0,0,0.15) 100%
      );
  }

  .home-hero__content {
    padding-top: 4rem;
  }
}

/* =========================================================
   HOME: SPLIT VALUE SECTION
========================================================= */
.hp-split{
  padding: clamp(2.5rem, 4vw, 4rem) 0;
  background: #fff;
}

.hp-split__wrap{
  width: min(1300px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 1.1fr;
  gap: 1rem;
  align-items: center;
}

/* Left */
.hp-split__kicker{
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: #111827;
}

.hp-split__lead{
  margin: 0 0 1.5rem;
  color: #4b5563;
  line-height: 1.65;
  font-size: 0.98rem;
}

.hp-steps{
  display: grid;
  gap: 0.9rem;
}

.hp-step{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-top: 1px solid #eef0f3;
}
.hp-step:first-child{ border-top: 0; padding-top: 0; }

.hp-step__num{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.78rem;
  color: #111827;
  background: #f3f4f6;
}

.hp-step__title{
  font-weight: 800;
  color: #111827;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.hp-step__text{
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Middle */
.hp-split__title{
  font-family: var(--font-head, inherit);
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #111827;
}

.hp-split__title span{
  color: #9ca3af; /* subtle secondary */
  font-weight: 800;
}

.hp-split__desc{
  margin: 0 0 0.9rem;
  color: #4b5563;
  line-height: 1.75;
  font-size: 0.98rem;
  max-width: 42ch;
}

.hp-split__link{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.7rem;
  font-weight: 800;
  text-decoration: none;
  color: #111827;
  border-bottom: 1px solid rgba(17,24,39,0.25);
  padding-bottom: 2px;
}
.hp-split__link:hover{
  border-bottom-color: rgba(17,24,39,0.6);
}

/* Right image */
.hp-split__right{
  border-radius: 20px;
  overflow: hidden;
  background: #f3f4f6;
  /*box-shadow: 0 10px 30px rgba(0,0,0,0.08);*/
}

.hp-split__right img{
  width: 100%;
  height: clamp(320px, 34vw, 460px);
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 980px){
  .hp-split__wrap{
    grid-template-columns: 1fr;
  }

  .hp-split__desc{
    max-width: none;
  }

  .hp-split__right img{
    height: 360px;
  }
}

/* =========================================================
   HOME: IMAGE + FEATURE LIST (LEFT IMAGE)
========================================================= */
.hp-feature{
  padding: clamp(2.5rem, 4vw, 4rem) 0;
  background: #fff;
}

.hp-feature__wrap{
  width: min(1300px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

/* Left image block */
.hp-feature__media{
  position: relative;
  /*border-radius: 22px;*/
  overflow: hidden;
  background: #f3f4f6;
  /*box-shadow: 0 14px 40px rgba(0,0,0,0.08);*/
}

.hp-feature__media img{
  width: 100%;
  height: clamp(320px, 34vw, 520px);
  object-fit: cover;
  display: block;
}

/* subtle fade so text side feels balanced */
.hp-feature__media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 78%, rgba(255,255,255,1) 100%);
  pointer-events:none;
  opacity: 0.85;
}

/* Right content */
.hp-feature__title{
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #111827;
  font-weight: 900;
}

.hp-feature__intro{
  margin: 0 0 1.6rem;
  color: #6b7280;
  line-height: 1.7;
  font-size: 0.98rem;
  max-width: 52ch;
}

.hp-feature__list{
  display: grid;
  gap: 1.1rem;
}

/* items */
.hp-feature__item{
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.9rem;
  align-items: start;
}

.hp-feature__num{
  font-weight: 900;
  font-size: 0.82rem;
  color: #111827;
  opacity: 0.65;
  line-height: 1;
  padding-top: 0.35rem;
}

.hp-feature__heading{
  font-weight: 900;
  color: #111827;
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}

.hp-feature__text{
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 980px){
  .hp-feature__wrap{
    grid-template-columns: 1fr;
  }

  .hp-feature__media::after{
    display:none;
  }

  .hp-feature__intro{
    max-width: none;
  }
}

/* =========================================================
   HOME: BEST SELLER
========================================================= */
.hp-best{
  padding: clamp(2.5rem, 4vw, 4rem) 0;
  background: #fff;
}

.hp-best__wrap{
  width: min(1300px, calc(100% - 2rem));
  margin: 0 auto;
}

.hp-best__head{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eef0f3;
  margin-bottom: 1.5rem;
}

.hp-best__title{
  margin: 0;
  font-size: 1.6rem;
  font-weight: 900;
  color: #111827;
}

.hp-best__tabs{
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hp-best__tab{
  appearance: none;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  font-weight: 400;
  font-size: .85rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.hp-best__tab:hover{
  border-color: #cbd5e1;
  color: #111827;
}

.hp-best__tab.is-active{
  background: #eef6ff;
  border-color: #bfdbfe;
  color: #0b5aa8;
}

.hp-best__viewall{
  font-weight: 500;
  text-decoration: none;
  color: #0b5aa8;
  font-size: .9rem;
}
.hp-best__viewall:hover{ text-decoration: underline; }

/* Grid */
.hp-best__grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.2rem;
}

/* Card */
.hp-card{
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 5px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hp-card:hover{
  transform: translateY(-3px);
  border-color: #e5e7eb;
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.hp-card__link{
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
}

.hp-card__media{
  background: #fff;
  padding: 1.1rem;
  display: grid;
  place-items: center;
  min-height: 180px;
}

.hp-card__media img{
  width: 100%;
  height: 150px;
  object-fit: contain;
  display: block;
}

/* Body */
.hp-card__body{
  padding: 0 1rem 1.1rem;
}

.hp-card__name{
  margin: 0 0 .45rem;
  font-weight: 700;
  font-size: 1rem;
  color: #111827;
}

.hp-card__desc{
  margin: 0;
  color: #6b7280;
  font-size: .9rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1100px){
  .hp-best__grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px){
  .hp-best__head{
    grid-template-columns: 1fr;
    align-items: start;
  }
  .hp-best__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px){
  .hp-best__grid{ grid-template-columns: 1fr; }
  .hp-card__media{ min-height: 160px; }
  .hp-card__media img{ height: 140px; }
}

/* =========================================================
   HOME: PROMO GRID (2 small + 2 large)
========================================================= */
.hp-promos{
  padding: clamp(2.5rem, 4vw, 4rem) 0;
  background: #fff;
}

.hp-promos__wrap{
  width: min(1300px, calc(100% - 2rem));
  margin: 0 auto;
}

.hp-promos__grid{
  display: grid;
  gap: 1.2rem;
}

.hp-promos__grid--top{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.2rem;
}

.hp-promos__grid--bottom{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Card base */
.hp-promo{
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 210px;
  border: 1px solid #eef0f3;
  background: #f3f4f6;
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.hp-promo--big{
  min-height: 450px;
}

/* Background image */
.hp-promo__bg{
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hp-promo__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

/* Overlay */
.hp-promo__overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  /*background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.70) 50%, rgba(255,255,255,0) 100%); */
}

/* Content */
.hp-promo__content{
  position: relative;
  z-index: 3;
  padding: 1.6rem;
  max-width: 60%;
}

.hp-promo__eyebrow{
  font-size: .72rem;
  letter-spacing: .12em;
  font-weight: 900;
  color: rgba(17,24,39,.65);
  margin-bottom: .6rem;
  text-transform: uppercase;
}

.hp-promo__title{
  margin: 0 0 .6rem;
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #111827;
  font-weight: 950;
}

.hp-promo__text{
  margin: 0 0 1rem;
  color: rgba(17,24,39,.7);
  font-size: .95rem;
  line-height: 1.6;
  max-width: 44ch;
}

/* Button */
.hp-promo__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .58rem 1.05rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: .9rem;
  text-decoration: none;
  background: #fff;
  color: #111827;
  border: 1px solid rgba(17,24,39,.12);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.hp-promo__btn:hover{
  transform: translateY(-1px);
  border-color: rgba(17,24,39,.22);
}

/* Variants */
.hp-promo--dark .hp-promo__overlay{
  background: linear-gradient(90deg, rgba(10,12,16,0.78) 0%, rgba(10,12,16,0.52) 55%, rgba(10,12,16,0) 100%);
}
.hp-promo--dark .hp-promo__title,
.hp-promo--dark .hp-promo__text,
.hp-promo--dark .hp-promo__eyebrow{
  color: #fff;
}
.hp-promo--dark .hp-promo__eyebrow{ color: rgba(255,255,255,.75); }
.hp-promo__btn--ghost{
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.28);
  color: #fff;
}
.hp-promo__btn--ghost:hover{
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.38);
}

.hp-promo--blue .hp-promo__overlay{
  background: linear-gradient(90deg, rgba(207,231,248,0.92) 0%, rgba(207,231,248,0.68) 55%, rgba(207,231,248,0) 100%);
}
.hp-promo__btn--dark{
  background: #111827;
  border-color: rgba(17,24,39,.2);
  color: #fff;
}
.hp-promo__btn--dark:hover{
  background: #0b1220;
}

/* Hover polish */
.hp-promo:hover .hp-promo__bg img{
  transform: scale(1.05);
  transition: transform .55s ease;
}

/* Responsive */
@media (max-width: 980px){
  .hp-promos__grid--top,
  .hp-promos__grid--bottom{
    grid-template-columns: 1fr;
  }

  .hp-promo__content{
    max-width: 78%;
  }

  .hp-promo--big{
    min-height: 320px;
  }
}

@media (max-width: 520px){
  .hp-promo__content{
    max-width: 100%;
    padding: 1.2rem;
  }

  .hp-promo__overlay{
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.78) 55%, rgba(255,255,255,0.25) 100%);
  }

  .hp-promo--dark .hp-promo__overlay{
    background: linear-gradient(180deg, rgba(10,12,16,0.78) 0%, rgba(10,12,16,0.55) 60%, rgba(10,12,16,0.15) 100%);
  }

  .hp-promo--blue .hp-promo__overlay{
    background: linear-gradient(180deg, rgba(207,231,248,0.92) 0%, rgba(207,231,248,0.72) 60%, rgba(207,231,248,0.28) 100%);
  }
}

/* =========================================================
   HOME: TRIPLE PROMO CARDS
========================================================= */
.hp-triple{
  padding: 1rem 0;
  background: #fff;
}

.hp-triple__wrap{
  width: min(1300px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
  /* LEFT small, MIDDLE wide, RIGHT medium */
  grid-template-columns: 0.9fr 1.65fr 1.05fr;
  align-items: stretch;
}

/* Card */
.hp-tcard{
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eef0f3;
  background: #f3f4f6;
  min-height: 450px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.hp-tcard__bg{
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hp-tcard__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

/* Overlay */
.hp-tcard__overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.62) 45%, rgba(255,255,255,0.05) 100%);
}

/* Content */
.hp-tcard__content{
  position: relative;
  z-index: 3;
  padding: 1.6rem;
  max-width: 80%;
}

.hp-tcard__eyebrow{
  font-size: .72rem;
  letter-spacing: .12em;
  font-weight: 900;
  color: rgba(17,24,39,.62);
  margin-bottom: .6rem;
  text-transform: uppercase;
}

.hp-tcard__title{
  margin: 0 0 .6rem;
  font-weight: 950;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.06;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.hp-tcard__text{
  margin: 0 0 1.1rem;
  color: rgba(17,24,39,.70);
  font-size: .95rem;
  line-height: 1.6;
  max-width: 42ch;
}

/* Button */
.hp-tcard__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .58rem 1.05rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: .9rem;
  text-decoration: none;
  background: #0b5aa8;
  color: #fff;
  border: 1px solid rgba(11,90,168,.22);
  transition: transform .15s ease, filter .15s ease;
}
.hp-tcard__btn:hover{
  transform: translateY(-1px);
  filter: brightness(0.95);
}

/* Variants */
.hp-tcard--warm .hp-tcard__overlay{
  background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.40) 45%, rgba(0,0,0,0.10) 100%);
}

.hp-tcard--dark .hp-tcard__overlay{
  background: linear-gradient(180deg, rgba(10,12,16,0.70) 0%, rgba(10,12,16,0.45) 55%, rgba(10,12,16,0.15) 100%);
}
.hp-tcard--dark .hp-tcard__title,
.hp-tcard--dark .hp-tcard__text{
  color: #fff;
}
.hp-tcard--dark .hp-tcard__eyebrow{
  color: rgba(255,255,255,.75);
}
.hp-tcard__btn--ghost{
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
  color: #fff;
}

/* Hover polish */
.hp-tcard:hover .hp-tcard__bg img{
  transform: scale(1.06);
  transition: transform .55s ease;
}

/* Responsive */
@media (max-width: 980px){
  .hp-triple__wrap{
    grid-template-columns: 1fr;
  }
  .hp-tcard{
    min-height: 300px;
  }
  .hp-tcard__content{
    max-width: 92%;
  }
}

/* =========================================================
   HOME: LATEST NEWS
========================================================= */
.hp-news{
  padding: clamp(2.5rem, 4vw, 4rem) 0;
  background: #fff;
}

.hp-news__wrap{
  width: min(1300px, calc(100% - 2rem));
  margin: 0 auto;
}

.hp-news__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eef0f3;
  margin-bottom: 1.5rem;
}

.hp-news__title{
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
}

.hp-news__subtitle{
  margin: .25rem 0 0;
  color: #6b7280;
  font-size: .95rem;
}

.hp-news__viewall{
  font-weight: 500;
  text-decoration: none;
  color: #0b5aa8;
  font-size: .9rem;
  white-space: nowrap;
}
.hp-news__viewall:hover{ text-decoration: underline; }

/* Grid */
.hp-news__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

/* Card */
.hp-newsCard{
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eef0f3;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hp-newsCard:hover{
  transform: translateY(-3px);
  border-color: #e5e7eb;
  box-shadow: 0 16px 38px rgba(0,0,0,0.08);
}

.hp-newsCard__link{
  display: block;
  color: inherit;
  text-decoration: none;
}

/* Image */
.hp-newsCard__media{
  background: #f3f4f6;
}

.hp-newsCard__media img{
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

/* Body */
.hp-newsCard__body{
  padding: 1rem 1.05rem 1.2rem;
}

.hp-newsCard__headline{
  margin: 0 0 .6rem;
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #111827;
}

.hp-newsCard__text{
  margin: 0;
  color: #6b7280;
  font-size: .95rem;
  line-height: 1.6;
  max-width: 58ch;
}

/* Responsive */
@media (max-width: 980px){
  .hp-news__grid{
    grid-template-columns: 1fr;
  }
  .hp-newsCard__media img{
    height: 240px;
  }
}

@media (max-width: 520px){
  .hp-news__head{
    flex-direction: column;
    align-items: flex-start;
  }
}

