
/* =====================================================
   HOMEPAGE — SECTION BACKGROUNDS
   Each section alternates between --black and --plum
   to maintain visual rhythm
===================================================== */
.sc-gender       { background: var(--plum); }
.sc-categories   { background: var(--black); }
.sc-new-arrivals { background: var(--black); }
.sc-promo        { /* gradient defined inline in component */ }
.sc-bestsellers  { background: var(--plum); }
.sc-brands       { background: var(--black); }
.sc-sale         { background: var(--black); }
.sc-testimonials { background: var(--plum); }
.sc-recommended  { background: var(--plum); }
.sc-story        { background: var(--black); }

/* =====================================================
   HERO
===================================================== */
.sc-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.sc-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 70% at 50% 38%,
    #3D2040 0%,
    #1A0E1F 45%,
    #0D0B0E 100%
  );
  animation: scHeroBloom 3.5s ease-out forwards;
}

@keyframes scHeroBloom {
  from { opacity: 0; transform: scale(1.05); }
  to   { opacity: 1; transform: scale(1);    }
}

.sc-hero__orb {
  position: absolute;
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 169, 110, 0.1) 0%,
    transparent 68%
  );
  top: 50%; left: 50%;
  transform: translate(-50%, -58%);
  animation: scHeroOrb 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scHeroOrb {
  0%,100% { transform: translate(-50%, -58%) scale(1);    opacity: .55; }
  50%     { transform: translate(-50%, -58%) scale(1.1);  opacity: 1;   }
}

.sc-hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem var(--gutter);
  max-width: 760px;
  margin: 0 auto;
}

.sc-hero__eyebrow {
  font-family: var(--body);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.3rem;
}

.sc-hero__title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ivory);
  margin-bottom: 1.25rem;
}

.sc-hero__sub {
  font-size: clamp(0.86rem, 2vw, 1rem);
  font-weight: 300;
  color: rgba(245, 239, 230, 0.58);
  max-width: 480px;
  margin: 0 auto 2.4rem;
}

.sc-hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.sc-hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.28);
  z-index: 2;
}

.sc-hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scScrollLine 2.2s ease-in-out infinite;
}

@keyframes scScrollLine {
  0%   { transform: scaleY(0); transform-origin: top;    }
  49%  { transform: scaleY(1); transform-origin: top;    }
  50%  {                        transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =====================================================
   BRAND MARQUEE
===================================================== */
.sc-marquee {
  background: var(--plum);
  border-top: 1px solid rgba(201, 169, 110, 0.1);
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
  overflow: hidden;
  user-select: none;
}

.sc-marquee__track {
  display: flex;
  gap: 3rem;
  align-items: center;
  padding: 1rem 0;
  animation: scMarquee 28s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.sc-marquee:hover .sc-marquee__track {
  animation-play-state: paused;
}

@keyframes scMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.sc-marquee__item {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.38);
  flex-shrink: 0;
  transition: color var(--ease);
}
.sc-marquee__item:hover { color: rgba(201, 169, 110, 0.7); }

.sc-marquee__dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.2);
  flex-shrink: 0;
}

/* =====================================================
   TRUST STRIP
===================================================== */
.sc-trust {
  background: var(--black);
  border-top: 1px solid rgba(201, 169, 110, 0.08);
  border-bottom: 1px solid rgba(201, 169, 110, 0.08);
}

.sc-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
}

.sc-trust__item {
  padding: 2.2rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(201, 169, 110, 0.08);
}
.sc-trust__item:last-child { border-right: none; }

.sc-trust__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.sc-trust__title {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 0.28rem;
}

.sc-trust__sub {
  font-size: 0.72rem;
  color: rgba(245, 239, 230, 0.42);
  font-weight: 300;
  font-family: var(--body);
}

/* =====================================================
   CATEGORY CARD — image variant
===================================================== */
.cat-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* =====================================================
   PROMO BANNER
===================================================== */
.sc-promo {
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter);
}

/* =====================================================
   SALE SECTION
===================================================== */
.sc-sale { padding-bottom: clamp(3.5rem, 8vw, 6rem); }

/* =====================================================
   TESTIMONIALS — avatar initials fallback
===================================================== */
.t-avatar {
  font-family: var(--display);
  font-size: 1rem;
  color: rgba(201, 169, 110, 0.6);
}

/* =====================================================
   STORY — visual placeholder when no image set
===================================================== */
.story-visual:not(:has(img)) {
  background: radial-gradient(ellipse at 40% 35%, #3D2040 0%, #1A0E1F 60%, #0D0B0E 100%);
  aspect-ratio: 1;
  min-height: 320px;
}

/* =====================================================
   NEWSLETTER — em override
===================================================== */
.scentara-newsletter h2 em {
  font-family: var(--display);
  font-style: italic;
  color: var(--gold);
}

/* =====================================================
   GRID HELPERS (used by homepage product grids)
===================================================== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* =====================================================
   HOMEPAGE RESPONSIVE OVERRIDES
===================================================== */
@media (max-width: 1100px) {
  .sc-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .sc-trust__item { border-bottom: 1px solid rgba(201,169,110,0.08); }
  .sc-trust__item:nth-child(2) { border-right: none; }
  .sc-trust__item:nth-child(3) { border-bottom: none; }
  .sc-trust__item:nth-child(4) { border-right: none; border-bottom: none; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 840px) {
  .scentara-gender-grid { grid-template-columns: 1fr; }
  .scentara-cat-grid    { grid-template-columns: repeat(2, 1fr); }
  .grid-4               { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .grid-3               { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .scentara-promo-banner{ grid-template-columns: 1fr; }
  .promo-visual         { display: none; }
  .scentara-story-inner { grid-template-columns: 1fr; }
  .story-visual         { display: none; }
  .testimonial-grid     { grid-template-columns: 1fr; }
  .scentara-brand-logos { grid-template-columns: repeat(2, 1fr); }
  .sale-banner-bar      { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .sc-hero__sub         { display: none; }
}

@media (max-width: 540px) {
  .sc-hero__ctas        { flex-direction: column; align-items: center; }
  .sc-trust__grid       { grid-template-columns: 1fr; }
  .sc-trust__item       { border-right: none !important; }
  .scentara-cat-grid    { grid-template-columns: repeat(2, 1fr); }
  .grid-4               { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .grid-3               { grid-template-columns: 1fr; }
  .scentara-brand-logos { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form      { flex-direction: column; }
  .newsletter-form input[type="email"],
  .newsletter-form .btn-primary { width: 100%; justify-content: center; }
  .press-logos          { gap: 1.2rem; }
  .sale-countdown       { gap: 0.75rem; }
}
