:root {
  --hero-navy: #001B44;
  --hero-gold: #F0B23A;
  --hero-white: #FFFFFF;
  --hero-overlay-start: rgba(0,27,68,0.75);
  --hero-overlay-end: rgba(0,27,68,0.35);
}

.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 40vh;
  min-height: 280px;
  max-height: 370px;
  box-shadow: inset 0 -40px 80px rgba(0,0,0,0.18);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.1s ease, transform 8s ease;
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
  transform: scale(1.08);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,27,68,0.82) 0%, rgba(0,27,68,0.58) 42%, rgba(0,27,68,0.28) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 6vw;
  transform: translateY(-20%);
  width: min(45vw, 600px);
  max-width: 600px;
  padding: 0 0 12px;
  z-index: 5;
  color: var(--hero-white);
}

.hero-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
  line-height:1;
}

.hero-heading {
  /* font-size: clamp(2.5rem, 5vw, 5rem); */
  line-height: 1.05;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.04em;
  max-width: 110%;
  overflow-wrap: break-word;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 8px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease;
  white-space: nowrap;
}

.hero-btn.primary {
  background: var(--hero-gold);
  color: var(--hero-navy);
}

.hero-btn.secondary {
  background: rgba(255,255,255,0.12);
  color: var(--hero-white);
  border: 1px solid rgba(255,255,255,0.24);
}

.hero-btn:hover {
  transform: translateY(-1px);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: 14px 28px;
  align-items: center;
  margin-top: 12px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-trust span::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(240,178,58,0.18);
  color: var(--hero-gold);
  font-size: 0.9rem;
}

.hero-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(0,27,68,0.55);
  color: var(--hero-white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 7;
}

.hero-nav-button.prev {
  left: 16px;
}

.hero-nav-button.next {
  right: 16px;
}

.hero-nav-button:hover,
.hero-nav-button:focus {
  background: rgba(0,27,68,0.85);
  outline: 2px solid var(--hero-gold);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 7;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--hero-gold);
  box-shadow: 0 0 0 6px rgba(240,178,58,0.14);
}

.hero-feature-strip {
  background: linear-gradient(135deg, #001F54 0%, #0a2d64 100%);
  color: var(--hero-white);
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 75px;
  border-top: 1px solid rgba(232,169,59,.2);
  border-bottom: 1px solid rgba(232,169,59,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.hero-feature-strip .feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 18px;
  width: 100%;
  max-width: 1280px;
  justify-items: center;
  align-items: center;
}

.hero-feature-strip .feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 10px;
  padding: 0 18px;
  min-height: 75px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--hero-white);
  transition: color 0.3s ease, transform 0.3s ease;
  width: 100%;
}

.hero-feature-strip .feature-item i {
  color: #E8A93B;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.hero-feature-strip .feature-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(232,169,59,.35);
}

.hero-feature-strip .feature-item:hover {
  color: #E8A93B;
}

.hero-feature-strip .feature-item:hover i {
  transform: scale(1.1);
}

@media (min-width: 720px) {
  .hero-feature-strip .feature-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-feature-strip {
    padding: 0 4vw;
  }

  .hero-feature-strip .feature-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 12px;
  }

  .hero-feature-strip .feature-item {
    padding: 0 12px;
    min-height: 68px;
  }

  .hero-feature-strip .feature-item span {
    white-space: normal;
    text-align: center;
  }

  .hero-feature-strip .feature-item::after {
    display: none;
  }
}

@media (min-width: 760px) {
  .hero-slider {
    height: 55vh;
  }

  .hero-content {
    left: 8vw;
    width: min(45vw, 600px);
  }

  .hero-kicker {
    font-size: 0.82rem;
  }

  /* restrict heading growth on large screens */
  /* .hero-heading {
    /* font-size: clamp(2.8rem, 4.6vw, 5rem); */
  /* } */ 

  .hero-trust {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .hero-slider {
    height: 55vh;
    min-height: 320px;
    max-height: 420px;
  }

  .hero-content {
    left: 50%;
    transform: translate(-50%, -39%);
    text-align: center;
    padding: 0 18px 10px;
    width: min(100%, 92vw);
  }

  .hero-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
  }

  .hero-heading {
    /* font-size: clamp(2rem, 9vw, 2.8rem); */
    line-height: 1.05;
    margin-bottom: 16px;
    display: none;
  }

  .hero-cta-group {
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
  }

  .hero-btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .hero-trust {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
    display: none;
  }

  .hero-trust span {
    font-size: 0.95rem;
  }

  .hero-nav-button {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .hero-nav-button.prev {
    left: 10px;
  }

  .hero-nav-button.next {
    right: 10px;
  }

  .hero-dots {
    bottom: 12px;
  }
  
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none !important;
  }
}
