/*
 * Hero section — video overlay, headline, CTA buttons, trust badges, stats grid.
 * Depends on: variables.css, layout.css, components.css, animations.css
 *
 * @package Vinelec
 */

/* =================================================================
   HERO WRAPPER
   ================================================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: var(--space-xl);
}

/* =================================================================
   VIDEO BACKGROUND
   ================================================================= */

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      var(--clr-bg) 3%,
      rgba(0, 5, 20, 0.55) 20%,
      rgba(0, 5, 20, 0.15) 48%,
      transparent 68%),
    linear-gradient(180deg,
      transparent 60%,
      rgba(0, 5, 20, 0.30) 82%,
      rgba(0, 5, 20, 0.75) 100%),
    rgba(0, 5, 20, 0.55);
  /* background:
    linear-gradient(90deg,
      var(--clr-bg) 4%,
      rgba(0, 5, 20, 0.75) 22%,
      rgba(0, 5, 20, 0.25) 52%,
      transparent 70%),
    linear-gradient(180deg,
      transparent 55%,
      rgba(0, 5, 20, 0.55) 82%,
      var(--clr-bg) 100%),
    rgba(0, 5, 20, 0.86); */
}

/* =================================================================
   NAV HOST (inside hero on front page)
   ================================================================= */

.hero header {
  position: relative;
  z-index: 20;
}

/* =================================================================
   HERO BODY
   ================================================================= */

.hero-body {
  position: relative;
  z-index: 3;
  padding-top: var(--space-lg);
}

.hero-left {
  max-width: 800px;
  width: 100%;
}

.hero-left .lead {
  max-width: none;
}

/* =================================================================
   CTA ROW
   ================================================================= */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

/* =================================================================
   TRUST BADGES
   ================================================================= */

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.trust-item .ic {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary-soft);
}

.trust-item .ic svg {
  width: 24px;
  height: 24px;
}

.trust-item p {
  font-size: var(--fs-sm);
  line-height: 1.3;
  color: var(--clr-text-light);
  font-weight: var(--fw-medium);
}

/* =================================================================
   STATS GRID (6-column glass card)
   ================================================================= */

.stats {
  margin-top: var(--space-2xl);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  background: var(--clr-border-soft);
  /* gap colour acts as column separator */
  backdrop-filter: blur(4px);
  display: grid;
  grid-template-columns: repeat(var(--stat-count, 6), 1fr);
  gap: 1px;
  overflow: hidden;
}

.stat {
  padding: 34px var(--space-md);
  text-align: center;
}

.stat .ic {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--clr-primary-soft);
}

.stat .ic svg {
  width: 30px;
  height: 30px;
}