/* =========================
   HERO — PREMIUM B2B
========================= */

.hero-bg {
  position: relative !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;

  min-height: 92vh;
  padding: 180px 24px 150px;
  overflow: hidden;

  color: #ffffff;
  background-image: url("https://staffwear.ma/wp-content/uploads/2026/04/BLOUSES.jpg");
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* CINEMATIC OVERLAY */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,0.08), transparent 25%),
    linear-gradient(90deg, rgba(10,26,47,0.92) 0%, rgba(10,26,47,0.58) 45%, rgba(0,96,100,0.82) 100%);
  z-index: 1;
}

/* SOFT GLOW */
.hero-bg::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: 12%;
  top: 18%;
  border-radius: 999px;
  background: rgba(0,168,168,0.18);
  filter: blur(90px);
  z-index: 1;
  animation: heroGlow 7s ease-in-out infinite alternate;
}

.hero-overlay {
  display: none;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

/* EYEBROW */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d7fffb;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #00A8A8;
  box-shadow: 0 0 22px rgba(0,168,168,0.9);
}

/* TITLE */
.hero h1,
.hero-bg h1 {
  max-width: 1120px;
  margin: 0 auto 26px;
  color: #ffffff !important;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.04em;
  text-wrap: balance;
  text-shadow: 0 28px 80px rgba(0,0,0,0.32);
}

/* SUBTITLE */
.hero-sub {
  max-width: 860px;
  margin: 0 auto 42px;
  color: rgba(255,255,255,0.90);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.7;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.cta-btn,
.cta-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 17px 34px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 950;
  text-decoration: none !important;
  transition: 0.35s ease;
}

.cta-btn {
  background: #ffffff;
  color: #0A1A2F !important;
  box-shadow: 0 26px 70px rgba(0,0,0,0.28);
}

.cta-secondary {
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
}

.cta-btn:hover,
.cta-secondary:hover {
  transform: translateY(-5px);
}

.cta-btn::after {
  content: "→";
  margin-left: 10px;
  transition: 0.3s ease;
}

.cta-btn:hover::after {
  transform: translateX(4px);
}

/* TRUST PILLS UNDER CTA */
.hero-trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-trust-row span {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

/* SCROLL INDICATOR */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 4;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
}

.hero-scroll::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #ffffff;
  transform: translateX(-50%);
  animation: scrollDot 1.7s ease-in-out infinite;
}

/* ANIMATION */
@keyframes heroGlow {
  from { transform: scale(1); opacity: 0.55; }
  to { transform: scale(1.18); opacity: 0.85; }
}

@keyframes scrollDot {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  70% { transform: translateX(-50%) translateY(15px); opacity: 0; }
  100% { transform: translateX(-50%) translateY(0); opacity: 0; }
}

/* MOBILE */
/* =========================
   MOBILE HERO — CONVERSION FIRST
========================= */

@media (max-width: 768px) {
  .hero-bg {
    min-height: auto;
    padding: 92px 20px 70px;
    align-items: flex-start;
    background-position: center top;
  }

  .hero-bg::before {
    background:
      linear-gradient(
        180deg,
        rgba(10,26,47,0.92) 0%,
        rgba(10,26,47,0.78) 42%,
        rgba(0,96,100,0.82) 100%
      );
  }

  .hero-bg::after {
    width: 360px;
    height: 360px;
    right: -120px;
    top: 120px;
    filter: blur(80px);
  }

  .hero-container {
    text-align: left;
    max-width: 100%;
  }

  .hero-kicker {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 18px;
    letter-spacing: 0.07em;
  }

  .hero h1,
  .hero-bg h1 {
    font-size: clamp(42px, 13vw, 56px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    margin-bottom: 24px;
  }

  .hero-sub {
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 34px;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 26px;
  }

  .cta-btn,
  .cta-secondary {
    width: 100%;
    min-height: 62px;
    border-radius: 18px;
    font-size: 16px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-stat {
    min-width: 0;
    width: 100%;
    padding: 16px;
    border-radius: 18px;
  }

  .hero-stat strong {
    font-size: 22px;
  }

  .hero-stat span {
    font-size: 12px;
    line-height: 1.35;
  }

  .hero-stat:nth-child(3) {
    grid-column: span 2;
  }

  .hero-floating-card,
  .hero-scroll {
    display: none;
  }
}

/* =========================
   HERO STATS
========================= */

.hero-stats {
  margin-top: 42px;

  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-stat {
  min-width: 180px;

  padding: 18px 22px;

  border-radius: 20px;

  background:
    rgba(255,255,255,0.08);

  border:
    1px solid rgba(255,255,255,0.12);

  backdrop-filter: blur(16px);

  box-shadow:
    0 18px 45px rgba(0,0,0,0.14);

  transition: 0.35s ease;
}

.hero-stat:hover {
  transform:
    translateY(-6px);

  background:
    rgba(255,255,255,0.12);
}

.hero-stat strong {
  display: block;

  color: #ffffff;

  font-size: 24px;
  font-weight: 950;

  margin-bottom: 4px;
}

.hero-stat span {
  color:
    rgba(255,255,255,0.74);

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* =========================
   FLOATING TRUST CARD
========================= */

.hero-floating-card {
  position: absolute;

  right: 70px;
  bottom: 70px;

  z-index: 5;

  padding: 22px 24px;

  border-radius: 24px;

  background:
    rgba(255,255,255,0.08);

  border:
    1px solid rgba(255,255,255,0.14);

  backdrop-filter: blur(22px);

  box-shadow:
    0 30px 80px rgba(0,0,0,0.22);

  display: flex;
  flex-direction: column;
  gap: 14px;

  animation:
    floatingCard 5s ease-in-out infinite alternate;
}

.floating-line {
  display: flex;
  align-items: center;
  gap: 10px;

  color: #ffffff;

  font-size: 14px;
  font-weight: 800;

  white-space: nowrap;
}

.floating-dot {
  width: 8px;
  height: 8px;

  border-radius: 999px;

  background: #00A8A8;

  box-shadow:
    0 0 16px rgba(0,168,168,0.9);
}

@keyframes floatingCard {
  from {
    transform: translateY(0px);
  }

  to {
    transform: translateY(-10px);
  }
}

/* MOBILE */

@media (max-width: 980px) {
  .hero-floating-card {
    display: none;
  }
}
