/* Home page hero layout + product cards.
   Separate file so it is never stuck behind a cached style.css (see extension.css). */

/* ---- Layout: copy left, video right (top-aligned), product row full width ---- */
/* Content decides the hero height; a full-viewport minimum only left dead space under the cards. */
.hero {
  min-height: 0;
}

.hero-grid {
  align-items: start;
  row-gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 56em) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    column-gap: clamp(2rem, 4vw, 3.5rem);
  }
}

/* The hero pads its own top edge, so the first column starts flush with the video. */
.hero-grid > .reveal:first-child > .hero-badge:first-child {
  margin-top: 0;
}

.hero-media {
  align-self: start;
}

@media (min-width: 56em) {
  /* Top-aligned and as tall as the copy column, so the pair reads as one block. */
  .hero-media {
    align-self: stretch;
    aspect-ratio: auto;
    min-height: 24rem;
  }
}

/* ---- Product row ---- */
.hero-products {
  grid-column: 1 / -1;
  margin-top: 0;
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
  border-top: 0.0625rem solid rgba(148, 163, 184, 0.35);
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.hero-products-heading {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
}

@media (min-width: 38em) {
  .hero-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 75em) {
  .hero-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Equal-height cards: icon on top, text in the middle, CTA pinned to the bottom. */
.hero-product-card {
  height: 100%;
  padding: 1.15rem 1.2rem 1.1rem;
}

.hero-product-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
}

.hero-product-desc {
  margin-bottom: 0.15rem;
}

.hero-product-badge {
  display: block;
  width: 8.75rem;
  height: auto;
  margin-top: 0.65rem;
  border-radius: 0.4rem;
}

.hero-product-cta {
  align-self: end;
}

/* ---- Nialove card (blush & gold) ---- */
.hero-product-card--nialove {
  border-color: rgba(190, 110, 95, 0.4);
  background: linear-gradient(135deg, #ffe6de, #fff6f1 45%, #fff);
  box-shadow: 0 0.5rem 1.5rem rgba(154, 74, 60, 0.12);
}

.hero-product-card--nialove:hover {
  border-color: #b4534a;
  box-shadow: 0 0.75rem 2rem rgba(154, 74, 60, 0.2);
}

.hero-product-card--nialove .hero-product-icon {
  background: #fffaf3;
  border: 0.0625rem solid rgba(201, 162, 77, 0.45);
  box-shadow: 0 0.35rem 0.85rem rgba(154, 74, 60, 0.2);
}

.hero-product-card--nialove .hero-product-eyebrow,
.hero-product-card--nialove .hero-product-cta,
.hero-product-card--nialove:hover .hero-product-cta {
  color: #a8473e;
}
