/* ==========================================================================
   Kumaas — home.css  (Home page only)
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: clamp(460px, 68vh, 640px);
  background: linear-gradient(120deg, var(--c-blush-soft) 0%, var(--c-ivory) 55%);
  overflow: hidden;
}
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-8) var(--gutter);
  text-align: center;
}
.hero__emblem { width: 64px; height: 64px; color: var(--c-burgundy); }
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 600;
  color: var(--c-burgundy);
  letter-spacing: -0.01em;
  line-height: 0.95;
}
.hero__tagline {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  font-size: var(--fs-sm);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--c-wine);
}
.hero__tagline::before,
.hero__tagline::after { content: ""; width: 36px; height: 1px; background: var(--c-burgundy); }
.hero__lead {
  margin-top: var(--sp-2);
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--c-text);
  max-width: 22ch;
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-3); }

.hero__media { position: relative; }
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 20%;
}
/* soft fade from text panel into the photo */
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 22%;
  z-index: 1;
  background: linear-gradient(90deg, #fde6ec 0%, rgba(253, 230, 236, 0) 100%);
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; aspect-ratio: 16 / 10; }
  .hero__media::before {
    inset: auto 0 0 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(0deg, #fde6ec 0%, rgba(253, 230, 236, 0) 100%);
  }
  .hero__content { padding-block: var(--sp-6) var(--sp-7); }
  .hero__emblem { display: none; }
}

/* ---------- Category shortcuts ---------- */
.categories { padding-block: var(--sp-7) var(--sp-6); }
.categories__list {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: var(--sp-4);
  list-style: none;
}
.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 500;
}
.category__img {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 116px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.category__img img { width: 100%; height: 100%; object-fit: cover; }
.category__img svg { width: 44%; height: 44%; color: var(--c-burgundy); }
.category:hover .category__img {
  transform: translateY(-3px);
  border-color: var(--c-champagne);
  box-shadow: var(--shadow);
}
.category:hover span { color: var(--c-burgundy); }
.category--sale span { color: var(--c-burgundy); }

@media (max-width: 1100px) {
  .categories__list {
    display: flex;
    gap: var(--sp-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--sp-3);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: thin;
  }
  .categories__list li { flex: 0 0 96px; scroll-snap-align: start; }
}

/* ---------- Product rails (grid styles live in product-card.css) ---------- */
.rail-foot { display: flex; justify-content: center; margin-top: var(--sp-6); }

/* ---------- Promo banner ---------- */
.promo {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-burgundy);
  color: var(--c-ivory);
}
.promo__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--sp-4);
  padding: var(--sp-8) clamp(1.5rem, 5vw, 4.5rem);
}
.promo__body .eyebrow { color: var(--c-champagne-soft); }
.promo__title {
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem);
  font-style: italic;
  font-weight: 500;
  color: var(--c-ivory);
}
.promo__body p { color: var(--c-blush-soft); max-width: 40ch; }
.promo__art { position: relative; min-height: 260px; }
.promo__art svg {
  position: absolute;
  right: -6%;
  bottom: -12%;
  width: 90%;
  height: auto;
  color: var(--c-champagne);
  opacity: 0.38;
}
@media (max-width: 760px) {
  .promo { grid-template-columns: 1fr; }
  .promo__art { position: absolute; inset: 0; min-height: 0; }
  .promo__art svg { width: 75%; opacity: 0.18; }
}

/* ---------- Trust strip ---------- */
.trust {
  border-block: 1px solid var(--c-line);
  background: var(--c-cream);
}
.trust__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-4);
}
.trust__item + .trust__item { border-left: 1px solid var(--c-line); }
.trust__item svg { width: 30px; height: 30px; flex-shrink: 0; color: var(--c-burgundy); }
.trust__item strong { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--c-wine); }
.trust__item span { font-size: var(--fs-xs); color: var(--c-muted); }
@media (max-width: 860px) {
  .trust__list { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n + 3) { border-top: 1px solid var(--c-line); }
}
@media (max-width: 420px) {
  .trust__list { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--c-line); }
}
