/* ==========================================================================
   Home page
   ========================================================================== */

.pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--color-blue-50);
  color: var(--color-blue-700);
  font-weight: 600;
  font-size: var(--fs-xs);
}


/* Why Livrons: video left, stats right, benefits below */
.why-layout {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 3rem);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 960px) {
  .why-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  }
}

.video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-navy);
  aspect-ratio: 16 / 9;
  max-width: 100%;
}

/* Stats */
.stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 1rem + 2vw, 3rem) var(--space-6);
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  /* number above label, label stays a <dt> */
  align-items: center;
  text-align: center;
  gap: 0.4rem;
}

.stat__value {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 1.8rem + 2.5vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-navy);
  font-variant-numeric: tabular-nums;
}

.stat__suffix {
  color: var(--color-orange);
}

.stat__label {
  font-weight: 600;
  font-size: var(--fs-base);
  color: #B86500;
  /* darker brand orange so small text stays readable */
}

.why__features {
  --min: 240px;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
}


.video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-navy);
}

.video-card video,
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-navy);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 12px rgba(253, 152, 0, 0.2);
  transition: transform var(--duration) var(--ease);
}

.video-card__play:hover {
  transform: scale(1.06);
}

.video-card__play .icon {
  fill: currentColor;
  stroke: none;
  width: 1.75rem;
  height: 1.75rem;
  margin-left: 4px;
}

.video-card.is-playing .video-card__play {
  display: none;
}



/* How it works */
.process {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  counter-reset: step;
}

.process__step {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.process__step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--color-orange);
}

.process__step p {
  color: var(--color-text-on-dark-muted);
  font-size: var(--fs-sm);
}

/* ==========================================================================
   Hero: full-bleed photo, navy overlay, centred content
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: clamp(560px, 82vh, 820px);
  padding-block: clamp(4rem, 3rem + 5vw, 7rem);
  background: var(--color-navy);
  color: var(--color-text-on-dark);
  text-align: center;
}

/* Background photo */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Navy tint over the photo so white text stays readable */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(14, 35, 64, 0.55) 0%,
      rgba(14, 35, 64, 0.62) 45%,
      rgba(14, 35, 64, 0.82) 100%);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  max-width: 60rem;
}

/* Frosted location pill */
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__title {
  color: #FFFFFF;
  font-size: clamp(2.75rem, 1.6rem + 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero__accent {
  display: block;
  color: var(--color-orange);
}

.hero__lead {
  max-width: 38rem;
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.hero__trust {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-6);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.8);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__trust .icon {
  color: var(--color-orange);
  stroke-width: 2.4;
}

/* Phones */
@media (max-width: 479px) {
  .hero {
    min-height: 0;
    text-align: center;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .hero__trust {
    flex-direction: column;
    align-items: center;
  }
}