/* ============================================================
   hero.css — Home hero, categories strip, promo banner
   ============================================================ */

.hero {
  position: relative;
  background:
    radial-gradient(120% 120% at 85% 10%, #1c2740 0%, #0c0d12 60%);
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}
.hero-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: var(--space-2xl) var(--space-lg);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-xl);
  align-items: center;
  min-height: 64vh;
}
.hero-content { z-index: 2; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8fb6ff;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-lg);
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: var(--space-md);
}
.hero h1 .accent { color: #7fa9ff; }
.hero p {
  font-size: 1.1rem;
  color: #b9c0cf;
  max-width: 46ch;
  margin-bottom: var(--space-lg);
}
.hero-cta { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.hero-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}
.hero-outline:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}
.hero-visual img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}


.scroll-indicator {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.7);
  animation: bounce 2s infinite;
}
.scroll-indicator .ic-svg { width: 26px; height: 26px; }
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------------- Categories strip ---------------- */
.category-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}
.category-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-border-strong);
}
.cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-md);
  background: var(--color-bg-secondary);
  color: var(--color-primary);
}
.cat-icon .ic-svg { width: 24px; height: 24px; stroke-width: 1.6; }
.cat-name { font-weight: 600; }

/* ---------------- Section heading with link ---------------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.section-head h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
.view-all {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
}
.view-all:hover { text-decoration: underline; }

/* ---------------- Promo banner ---------------- */
.promo-banner {
  background: var(--color-text-primary);
  color: var(--color-bg);
  text-align: center;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  padding: 0.8rem var(--space-md);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; min-height: auto; }
  .hero-content { order: 2; }
  .hero-visual { order: 1; }
  .hero p { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .category-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .category-strip { grid-template-columns: repeat(2, 1fr); }
}
