/* Section — hero, trusted logos & stats band */

.ws-hero {
  background: var(--ws-bg-page);
  padding: clamp(2rem, 5vw, 3.5rem) 0 0;
  overflow-x: clip;
}

.ws-badge-pill {
  display: inline-block;
  margin-bottom: 1.4rem;
  padding: 0.35rem 1.1rem;
  border: 1px solid var(--ws-primary-border);
  border-radius: 999px;
  background: var(--ws-primary-light);
  font-family: var(--ws-font-body);
  font-size: clamp(0.75rem, 2vw, 0.82rem);
  font-weight: 590;
  color: var(--ws-primary);
}

.ws-hero-h1 {
  margin: 0 0 0.75rem;
  font-family: var(--ws-font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ws-text-dark);
  white-space: nowrap;
}

.ws-hero-h2 {
  margin: 0 0 0.2rem;
  font-family: var(--ws-font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--ws-text-dark);
  white-space: nowrap;
}

.ws-hero-h1--blue {
  margin-bottom: 1.2rem;
  color: var(--ws-primary);
}

/* One h1 rendered as two lines */
.ws-hero-h1--split {
  margin-bottom: 0;
}

.ws-hero-h1__line {
  display: block;
}

.ws-hero-h1__line + .ws-hero-h1__line {
  margin-top: 0.75rem;
}

.ws-hero-desc {
  max-width: 35rem;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  font-family: var(--ws-font-body);
  font-size: clamp(0.875rem, 2.2vw, 0.95rem);
  line-height: 1.7;
  color: var(--ws-text-body);
}

.ws-hero-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.ws-hero-btns .btn {
  text-align: center;
}

.ws-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 18.75rem);
  height: 3rem;
  padding: 0.55rem 1.3rem;
  border-radius: 15px;
  background: var(--ws-primary);
  box-shadow: var(--ws-shadow-btn);
  font-family: var(--ws-font-display);
  font-weight: 600;
  font-size: clamp(0.85rem, 2vw, 0.9rem);
  color: #fff !important;
  text-decoration: none;
  transition: var(--ws-ease);
}

.ws-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 13.75rem);
  height: 3rem;
  padding: 0.55rem 1.3rem;
  border-radius: 15px;
  background: var(--ws-primary);
  box-shadow: var(--ws-shadow-btn);
  font-family: var(--ws-font-display);
  font-weight: 600;
  font-size: clamp(0.85rem, 2vw, 0.9rem);
  color: #fff !important;
  text-decoration: none;
  transition: var(--ws-ease);
}

/* Trusted logos */
.ws-trusted--hero {
  padding: 2rem 0 1rem;
  border-top: none;
}

.ws-trusted {
  padding-top: 2rem;
  border-top: 1px solid var(--ws-border);
}

.ws-trusted-title {
  margin-bottom: 1.25rem;
  padding: 0 1rem;
  font-family: var(--ws-font-body);
  font-size: clamp(0.65rem, 1.8vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ws-text-muted);
}

.ws-trusted-img {
  display: block;
  width: 100%;
  max-width: 45rem;
  height: auto;
  margin: 0 auto;
  opacity: 0.7;
  filter: grayscale(1);
}

.ws-trusted-placeholder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  padding: 0 1rem;
}

.ws-trusted-placeholder span {
  display: flex;
  align-items: center;
}

.ws-trusted-placeholder img {
  width: auto;
  height: 80px;
  opacity: 0.55;
  filter: grayscale(1);
  transition: var(--ws-ease);
}

.ws-trusted-placeholder img:hover {
  opacity: 0.85;
  filter: grayscale(0.2);
}

/* Stats band */
.ws-stats-band {
  position: relative;
  --ws-band-pad-y-top: 1.5rem;
  --ws-band-pad-y-bottom: 1.75rem;
  padding: var(--ws-band-pad-y-top) 0 var(--ws-band-pad-y-bottom);
  border-top: 1px solid var(--ws-border);
  border-bottom: 1px solid var(--ws-border);
  background: var(--ws-bg-white);
}

.ws-stats-band__heading {
  margin: 0;
  padding: 0 1rem 0.75rem;
  font-family: var(--ws-font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ws-text-muted);
}

.ws-stats-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.ws-stats-band__metric {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1.5rem;
}

.ws-stats-band__metric:not(:last-child) {
  border-right: 1px solid var(--ws-border);
}

.ws-stats-band__metric::before,
.ws-stats-band__metric::after {
  content: "";
  position: absolute;
  right: -1.75rem;
  left: -1.75rem;
  z-index: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--ws-primary-border),
    var(--ws-primary),
    var(--ws-primary-border),
    transparent
  );
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
  pointer-events: none;
}

.ws-stats-band__metric::before {
  top: calc(-1 * var(--ws-band-pad-y-top));
}

.ws-stats-band__metric::after {
  bottom: calc(-1 * var(--ws-band-pad-y-bottom));
}

@media (hover: hover) {
  .ws-stats-band__metric:hover::before,
  .ws-stats-band__metric:hover::after {
    transform: scaleX(1);
  }
}

.ws-stats-band__num {
  font-family: var(--ws-font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(
    120deg,
    #1d4ed8 0%,
    #2563eb 40%,
    #3b82f6 70%,
    #2563eb 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ws-stat-gradient 10s ease-in-out infinite;
}

@keyframes ws-stat-gradient {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.ws-stats-band__lbl {
  margin: 0;
  font-family: var(--ws-font-body);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ws-text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .ws-stats-band__metric::before,
  .ws-stats-band__metric::after {
    transition: none;
  }

  .ws-stats-band__num {
    animation: none;
    background: none;
    color: var(--ws-primary);
  }
}

/* Navbar (responsive) */
@media (max-width: 991px) {
  .ws-navbar {
    position: sticky;
    top: 0;
    margin: 0;
    border-radius: 0;
  }

  body {
    padding-top: 0;
  }

  .ws-hero-h1,
  .ws-hero-h2 {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .ws-hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .ws-btn-primary,
  .ws-book-btn {
    width: min(100%, 16rem);
  }
}

@media (max-width: 576px) {
  .ws-trusted--hero {
    padding: 1.5rem 0 0.75rem;
  }

  .ws-stats-band {
    --ws-band-pad-y-top: 1.25rem;
    --ws-band-pad-y-bottom: 1.5rem;
  }

  .ws-stats-band__heading {
    padding-bottom: 0.625rem;
  }

  .ws-stats-band__grid {
    grid-template-columns: 1fr;
    max-width: 14rem;
  }

  .ws-stats-band__metric:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--ws-border);
  }

  .ws-stats-band__metric {
    padding: 0.875rem 1rem;
  }
}
