/* ==========================================================
   Uni Pulse Hero CSS
   Generic/object heroes, home hero and cover hero.
   Airport and station heroes live in airport.css/tube.css.
   ========================================================== */

/* ==========================================================
   Hero Visual - Object Pages
   ========================================================== */

.hero-visual {
  position: relative;
  padding: 28px 0 0;
  margin: 0;
}

.hero-visual .container {
  position: relative;
}

.hero-visual-image {
  position: relative;
  width: 100%;
  height: clamp(280px, 32vw, 420px);
  overflow: hidden;
  background: #f2f4f8;
}

.hero-visual-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================
   Hero Intro
   ========================================================== */

.hero-intro {
  position: relative;
  z-index: 20;
  margin-top: -58px;
  margin-bottom: 56px;
}

.hero-intro-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 36px 32px;
  box-shadow: 0 18px 45px rgba(21, 45, 117, .10);
}

.hero-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .8rem;
  border-radius: 999px;
  background: #f0f3fa;
  color: var(--hts-primary);
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-intro h1 {
  margin: 0 0 .9rem;
  color: var(--hts-primary);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
}

.hero-intro p {
  max-width: 760px;
  font-size: 1rem;
  color: #46505f;
  margin: 0 0 1.8rem;
}

.hero-intro-chips,
.hero-intro-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.4rem;
}

.hero-intro-buttons {
  gap: 12px;
  margin-top: 1.7rem;
}

.hero-intro-chips span {
  background: #eef3ff;
  color: var(--hts-primary);
  padding: .45rem .9rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
}

.hero-intro-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 1.8rem;
}

.hero-intro-stat {
  text-align: center;
  padding: 1rem;
  background: #f7f8fb;
  border-radius: 12px;
}

.hero-intro-stat i {
  display: block;
  font-size: 1.35rem;
  color: var(--hts-primary);
  margin-bottom: .45rem;
}

.hero-intro-stat strong {
  display: block;
  font-size: 1.2rem;
  color: var(--hts-primary);
}

.hero-intro-stat span {
  display: block;
  color: #667085;
  font-size: .88rem;
}

/* ==========================================================
   Hero Home
   ========================================================== */

.hero-home {
  padding: 28px 0 64px;
}

.hero-home-wrap {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 62vw, 720px);
  border-radius: 24px;
  background: var(--hts-primary);
  box-shadow: 0 24px 60px rgba(21, 45, 117, .14);
}

.hero-home-bg {
  position: absolute;
  inset: 0;
}

.hero-home-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-home-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(21, 45, 117, .94) 0%,
      rgba(21, 45, 117, .78) 42%,
      rgba(21, 45, 117, .28) 72%,
      rgba(21, 45, 117, .12) 100%
    ),
    linear-gradient(
      to top,
      rgba(0, 0, 0, .22),
      rgba(0, 0, 0, 0)
    );
}

.hero-home-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: clamp(54px, 8vw, 92px);
  color: #fff;
}

.hero-home-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(8px);
}

.hero-home h1 {
  color: #fff;
  margin: 0 0 1rem;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -.03em;
}

.hero-home p {
  max-width: 620px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  margin: 0;
}

.hero-home-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.8rem;
}

.hero-home-trust {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .85rem;
  max-width: 340px;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  color: var(--hts-primary);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
}

.hero-home-trust i {
  font-size: 1.65rem;
  color: var(--hts-accent);
}

.hero-home-trust strong,
.hero-home-trust span {
  display: block;
}

.hero-home-trust strong {
  font-size: .98rem;
  line-height: 1.2;
}

.hero-home-trust span {
  color: #667085;
  font-size: .86rem;
  margin-top: .15rem;
}

/* ==========================================================
   Hero Cover
   ========================================================== */

.hero-cover {
  position: relative;
  width: 100%;
  min-height: clamp(520px, 68vh, 720px);
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
  color: #fff;
  background: #061433;
}

.hero-cover-bg,
.hero-cover-shade {
  position: absolute;
  inset: 0;
}

.hero-cover-bg {
  z-index: 0;
}

.hero-cover-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-cover-shade {
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(6, 20, 51, .94) 0%,
      rgba(21, 45, 117, .82) 38%,
      rgba(6, 20, 51, .42) 68%,
      rgba(6, 20, 51, .72) 100%
    ),
    linear-gradient(
      180deg,
      rgba(6, 20, 51, .30) 0%,
      rgba(6, 20, 51, .82) 100%
    );
}

.hero-cover-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: clamp(520px, 68vh, 720px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero-cover-content {
  max-width: 660px;
  padding: 5rem 0;
}

.hero-cover-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 1.35rem;
  backdrop-filter: blur(8px);
}

.hero-cover h1 {
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: .95;
  letter-spacing: -.055em;
  margin: 0 0 1.25rem;
}

.hero-cover p {
  max-width: 560px;
  color: rgba(255, 255, 255, .90);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 1.65;
  margin: 0 0 2rem;
}

.hero-cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

.hero-cover-actions .btn {
  border-radius: 999px;
  padding: .85rem 1.35rem;
  font-weight: 700;
}

.hero-cover-trust {
  align-self: flex-end;
  margin-bottom: 4rem;
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  max-width: 320px;
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  color: var(--hts-primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .24);
}

.hero-cover-trust i {
  color: var(--hts-accent);
  font-size: 1.5rem;
}

.hero-cover-trust strong,
.hero-cover-trust span {
  display: block;
}

.hero-cover-trust strong {
  line-height: 1.1;
}

.hero-cover-trust span {
  margin-top: .2rem;
  font-size: .85rem;
  color: rgba(21, 45, 117, .75);
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 991.98px) {
  .hero-visual {
    padding-top: 18px;
  }

  .hero-visual-image {
    height: clamp(240px, 48vw, 340px);
  }

  .hero-intro {
    margin-top: -36px;
    margin-bottom: 40px;
  }

  .hero-intro-card {
    padding: 28px 22px;
  }

  .hero-home {
    padding: 18px 0 44px;
  }

  .hero-home-wrap {
    min-height: 560px;
    border-radius: 18px;
  }

  .hero-home-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(21, 45, 117, .90) 0%,
        rgba(21, 45, 117, .72) 55%,
        rgba(21, 45, 117, .35) 100%
      );
  }

  .hero-home-content {
    padding: 42px 24px;
  }

  .hero-home-trust {
    left: 24px;
    right: 24px;
    bottom: 24px;
    max-width: none;
  }

  .hero-cover,
  .hero-cover-inner {
    min-height: 560px;
  }

  .hero-cover-inner {
    align-items: flex-end;
    padding-top: 4rem;
    padding-bottom: 2rem;
  }

  .hero-cover-content {
    padding: 0;
  }

  .hero-cover-trust {
    display: none;
  }

  .hero-cover-shade {
    background:
      linear-gradient(
        to bottom,
        rgba(6, 20, 51, .84) 0%,
        rgba(21, 45, 117, .64) 46%,
        rgba(6, 20, 51, .88) 100%
      );
  }
}

@media (max-width: 575.98px) {
  .hero-cover,
  .hero-cover-inner {
    min-height: 520px;
  }

  .hero-cover h1 {
    font-size: clamp(2.7rem, 16vw, 4rem);
  }

  .hero-cover p {
    font-size: 1rem;
  }

  .hero-cover-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-home h1 {
    font-size: clamp(2.5rem, 15vw, 4rem);
  }
}