/* ═══════════════════════════════════════════════════════
   BMS GLOBAL — ULTRA-PREMIUM HOMEPAGE DESIGN SYSTEM
   ═══════════════════════════════════════════════════════ */

/* ── Full-Bleed Page Wrap ──────────────────────────────── */
main > .page-wrap.hp-root {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  background: #f8fafc;
}

main {
  overflow: hidden;
}

/* ── 1. HERO SECTION ───────────────────────────────────── */
.hp-hero {
  position: relative;
  min-height: calc(100vh - var(--navbar-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #030a1c radial-gradient(ellipse at 75% 20%, rgba(29, 99, 233, 0.35), transparent 50%), linear-gradient(150deg, #030919 0%, #06163d 50%, #0c2b6b 100%);
  padding-bottom: 50px;
}

.hp-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hp-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1), transform 8s ease-out;
}
.hp-hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hp-hero-slide--fallback {
  background:
    radial-gradient(ellipse at 75% 20%, rgba(29, 99, 233, 0.40), transparent 50%),
    linear-gradient(150deg, #030919 0%, #06163d 50%, #0c2b6b 100%);
}

.hp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(2, 7, 20, 0.90) 0%,
    rgba(4, 14, 40, 0.82) 40%,
    rgba(6, 22, 60, 0.72) 100%
  );
  z-index: 1;
}

.hp-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.8), transparent 85%);
  z-index: 1;
}

.hp-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 1;
}
.hp-hero-glow-1 {
  width: 700px; height: 700px;
  background: rgba(37, 99, 235, 0.22);
  top: -180px; right: -50px;
}
.hp-hero-glow-2 {
  width: 500px; height: 500px;
  background: rgba(217, 166, 41, 0.15);
  bottom: -100px; left: 0%;
}
.hp-hero-glow-3 {
  width: 350px; height: 350px;
  background: rgba(99, 102, 241, 0.18);
  top: 30%; left: 15%;
}

.hp-hero-content {
  position: relative;
  z-index: 3;
  max-width: 940px;
  margin: 0 auto;
  padding: 40px 32px 30px;
  text-align: center;
  color: #ffffff;
}

.hp-hero-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.hp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.hp-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #f6cb63;
  box-shadow: 0 0 12px #f6cb63;
  animation: pulseGold 2s infinite ease-in-out;
}
@keyframes pulseGold {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}
.hp-badge-text {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}
.hp-badge-tag {
  font-size: 9px;
  font-weight: 900;
  background: linear-gradient(135deg, #eab308, #ca8a04);
  color: #040e26;
  padding: 3px 7px;
  border-radius: 6px;
  letter-spacing: 1px;
}

.hp-hero-h1 {
  font-size: clamp(38px, 6vw, 78px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -2px;
  margin: 0 0 22px;
  color: #ffffff;
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.4);
}
.hp-h1-gold {
  background: linear-gradient(135deg, #fce085 0%, #f6cb63 45%, #d99a14 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  filter: drop-shadow(0 2px 14px rgba(246, 203, 99, 0.3));
}
.hp-h1-light {
  color: #ffffff;
}

.hp-hero-sub {
  font-size: clamp(15px, 1.7vw, 19px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.68;
  max-width: 720px;
  margin: 0 auto 38px;
  font-weight: 400;
}

/* 3 Action Buttons */
.hp-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .8px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow .22s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}
.hp-btn:hover { transform: translateY(-3px); }
.hp-btn i { width: 16px; height: 16px; flex-shrink: 0; }

.hp-btn--primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff !important;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.hp-btn--primary:hover {
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hp-btn--gold {
  background: linear-gradient(135deg, #eab308, #ca8a04);
  color: #040e26 !important;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(234, 179, 8, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.hp-btn--gold:hover {
  box-shadow: 0 18px 42px rgba(234, 179, 8, 0.55);
}

.hp-btn--glass {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.hp-btn--glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}

.hp-btn--outline-dark {
  background: #ffffff;
  color: #071a46 !important;
  border: 2px solid rgba(7, 26, 70, 0.18);
  box-shadow: 0 8px 24px rgba(7, 26, 70, 0.06);
}
.hp-btn--outline-dark:hover {
  border-color: #2563eb;
  color: #2563eb !important;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.14);
}

.hp-btn--ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.hp-btn--ghost-dark:hover { background: rgba(255, 255, 255, 0.16); }

.hp-btn--full { width: 100%; justify-content: center; }
.hp-btn--lg { padding: 16px 36px; font-size: 14px; }

/* Hero Stats Bar */
.hp-hero-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 16px 24px;
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  overflow: hidden;
}

.hp-stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  flex: 1;
  justify-content: center;
  padding: 4px 10px;
  min-width: 0;
  box-sizing: border-box;
}
.hp-stat-text {
  min-width: 0;
  flex: 1;
}
.hp-stat-icon-wrap {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(30, 64, 175, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f6cb63;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hp-stat-icon-wrap i { width: 20px; height: 20px; }

.hp-stat-number {
  display: block;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.8px;
  color: #ffffff;
  line-height: 1.1;
  white-space: nowrap;
}
.hp-stat-label {
  display: block;
  font-size: 11px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}
.hp-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* Floating Accreditation Cards */
.hp-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(0, 10, 35, 0.28);
  color: #071a46;
  z-index: 4;
  animation: floatCard 4.5s ease-in-out infinite;
}
.hp-float-card strong { display: block; font-size: 13px; font-weight: 800; color: #071a46; }
.hp-float-card span   { display: block; font-size: 11px; color: #64748b; margin-top: 2px; }

.hp-float-card--left { bottom: 100px; left: 4%; animation-delay: 0s; }
.hp-float-card--right { bottom: 100px; right: 4%; animation-delay: 2.2s; }

.hp-float-icon-box {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #ffffff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hp-float-icon-box--gold {
  background: linear-gradient(135deg, #eab308, #ca8a04);
  color: #040e26;
}
.hp-float-icon-box i { width: 18px; height: 18px; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}

/* ── TRUST & CREDIBILITY STRIP ─────────────────────────── */
.hp-trust-strip-wrap {
  max-width: 1240px;
  margin: -35px auto 0;
  padding: 0 32px;
  position: relative;
  z-index: 6;
}

.hp-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ffffff;
  border: 1px solid rgba(15, 37, 79, 0.08);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(9, 27, 69, 0.08);
  overflow: hidden;
}

.hp-trust-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-right: 1px solid rgba(15, 37, 79, 0.07);
  transition: background .2s ease;
}
.hp-trust-card:last-child { border-right: 0; }
.hp-trust-card:hover { background: #f8fafc; }

.hp-trust-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, #edf4ff, #dbe8fe);
  color: #2563eb;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}
.hp-trust-card-icon i { width: 22px; height: 22px; }

.hp-trust-card-text strong { display: block; font-size: 13px; font-weight: 800; color: #0f172a; }
.hp-trust-card-text small  { display: block; font-size: 11px; color: #64748b; margin-top: 3px; }

/* ── Section Headings & Kicker System ──────────────────── */
.hp-section {
  padding: 90px 0;
}

.hp-section-head,
.hp-listing-grid,
.hp-why-grid,
.hp-offices-grid,
.hp-section-cta,
.hp-section > .company-grid {
  max-width: 1240px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

.hp-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}
.hp-section-head--center {
  justify-content: center;
  text-align: center;
  flex-direction: column;
  align-items: center;
}

.hp-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: #2563eb;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hp-section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 900;
  letter-spacing: -1.2px;
  margin: 0;
  color: #0f172a;
}
.hp-section-subtitle {
  font-size: 15.5px;
  color: #64748b;
  max-width: 600px;
  margin: 10px 0 0;
  line-height: 1.65;
}
.hp-section-head--center .hp-section-subtitle {
  margin: 10px auto 0;
}

.hp-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  color: #2563eb;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.06);
  transition: all .2s ease;
  white-space: nowrap;
}
.hp-view-all-link:hover {
  background: #2563eb;
  color: #ffffff;
  transform: translateX(3px);
}
.hp-view-all-link i { width: 15px; height: 15px; }

/* ── 2. FEATURED ESTATES CARDS ─────────────────────────── */
.hp-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.hp-listing-grid .listing-card {
  background: #ffffff;
  border: 1px solid rgba(15, 37, 79, 0.09);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 37, 79, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hp-listing-grid .listing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(15, 37, 79, 0.12);
  border-color: rgba(37, 99, 235, 0.3);
}

.hp-listing-grid .listing-image {
  height: 200px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform .4s ease;
}
.hp-listing-grid .listing-card:hover .listing-image {
  transform: scale(1.03);
}

.hp-listing-grid .listing-type {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(4, 14, 38, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.hp-listing-grid .save-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: none;
  display: grid;
  place-items: center;
  color: #64748b;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all .2s ease;
}
.hp-listing-grid .save-btn:hover {
  transform: scale(1.1);
  color: #ef4444;
}
.hp-listing-grid .save-btn.saved {
  background: #fee2e2;
  color: #ef4444;
}

.hp-listing-grid .listing-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hp-listing-grid .listing-body h4 {
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.35;
}

.hp-listing-grid .listing-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #64748b;
  margin: 0 0 18px;
}
.hp-listing-grid .listing-location i {
  color: #2563eb;
}

.hp-listing-grid .listing-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.hp-listing-grid .listing-price {
  font-size: 18px;
  font-weight: 900;
  color: #1d4ed8;
  letter-spacing: -0.5px;
}

.hp-listing-grid .mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none;
  transition: all .2s ease;
}
.hp-listing-grid .mini-btn:not([style*="background"]) {
  background: #f1f5f9;
  color: #334155;
}
.hp-listing-grid .mini-btn:not([style*="background"]):hover {
  background: #e2e8f0;
  color: #0f172a;
}
.hp-listing-grid .mini-btn[style*="background"]:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.hp-section-cta {
  margin-top: 45px;
  text-align: center;
}

/* ── 3. WHY BMS GLOBAL? (Executive Advantage Showcase) ───── */
.hp-why {
  position: relative;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(37, 99, 235, 0.05), transparent 45%),
    radial-gradient(ellipse at 85% 80%, rgba(217, 119, 6, 0.05), transparent 45%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
  padding: 85px 0 95px;
}

.hp-why-highlights {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px auto 0;
  max-width: 820px;
}

.hp-why-hl-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(15, 37, 79, 0.08);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(15, 37, 79, 0.03);
}
.hp-why-hl-item i {
  color: #d97706;
  width: 14px;
  height: 14px;
}

.hp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 48px;
}

.hp-why-card {
  background: #ffffff;
  border: 1px solid rgba(15, 37, 79, 0.08);
  border-radius: 20px;
  padding: 32px 28px 26px;
  box-shadow: 0 10px 30px rgba(15, 37, 79, 0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

/* Card top accent line */
.hp-why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: var(--card-accent, #2563eb);
  transition: height 0.25s ease;
}
.hp-why-card:hover::before {
  height: 5px;
}

/* Subtle ambient corner glow on hover */
.hp-why-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--card-accent, #2563eb);
  filter: blur(50px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.hp-why-card:hover::after {
  opacity: 0.15;
}

.hp-why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(15, 37, 79, 0.10);
  border-color: rgba(15, 37, 79, 0.15);
}

/* Color theme variants */
.hp-why-card--blue    { --card-accent: #2563eb; }
.hp-why-card--gold    { --card-accent: #d97706; }
.hp-why-card--cyan    { --card-accent: #0284c7; }
.hp-why-card--rose    { --card-accent: #e11d48; }
.hp-why-card--emerald { --card-accent: #059669; }
.hp-why-card--purple  { --card-accent: #7c3aed; }

/* Card top bar */
.hp-why-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.hp-why-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.hp-why-card:hover .hp-why-icon-wrap {
  transform: scale(1.08) rotate(-2deg);
}
.hp-why-icon-wrap i {
  width: 26px;
  height: 26px;
  stroke-width: 2.2px;
}

.hp-why-icon-wrap--blue {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}
.hp-why-icon-wrap--gold {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  color: #b45309;
  border: 1px solid rgba(217, 119, 6, 0.22);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.15);
}
.hp-why-icon-wrap--cyan {
  background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
  color: #0f766e;
  border: 1px solid rgba(13, 148, 136, 0.20);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.12);
}
.hp-why-icon-wrap--rose {
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  color: #be123c;
  border: 1px solid rgba(225, 29, 72, 0.20);
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.12);
}
.hp-why-icon-wrap--emerald {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  color: #047857;
  border: 1px solid rgba(5, 150, 105, 0.20);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.12);
}
.hp-why-icon-wrap--purple {
  background: linear-gradient(135deg, #faf5ff, #f3e8ff);
  color: #6d28d9;
  border: 1px solid rgba(124, 58, 237, 0.20);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.12);
}

.hp-why-badge-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hp-why-num {
  font-family: var(--font-display, inherit);
  font-size: 13px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
}
.hp-why-pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid rgba(15, 37, 79, 0.06);
}

/* Card titles & descriptions */
.hp-why-card-title {
  font-size: 18.5px;
  font-weight: 800;
  color: #071a46;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.hp-why-card-body {
  font-size: 14px;
  color: #475569;
  line-height: 1.68;
  margin: 0 0 20px;
  flex: 1;
}

/* Card footer proof tag */
.hp-why-card-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(15, 37, 79, 0.06);
  display: flex;
  align-items: center;
}
.hp-why-stat-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--card-accent, #1d4ed8);
}
.hp-why-stat-tag i {
  width: 14px;
  height: 14px;
  stroke-width: 2.4px;
}

/* ── 4. JOIN REC BANNER ─────────────────────────────────── */
.hp-rec-banner {
  position: relative;
  padding: 90px 0;
  background:
    radial-gradient(circle at 10% 40%, rgba(37, 99, 235, 0.28), transparent 45%),
    radial-gradient(circle at 90% 25%, rgba(234, 179, 8, 0.18), transparent 40%),
    linear-gradient(140deg, #030a1c 0%, #071948 50%, #0c2b74 100%);
  overflow: hidden;
}
.hp-rec-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}
.hp-rec-glow-1 {
  width: 600px; height: 600px;
  background: rgba(234, 179, 8, 0.12);
  top: -120px; right: -50px;
}
.hp-rec-glow-2 {
  width: 450px; height: 450px;
  background: rgba(37, 99, 235, 0.22);
  bottom: -80px; left: -50px;
}

.hp-rec-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hp-rec-left { color: #ffffff; }

.hp-rec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: #f6cb63;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hp-rec-h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 900;
  letter-spacing: -1.4px;
  line-height: 1.12;
  margin: 0 0 18px;
  color: #ffffff;
}
.hp-rec-gold-text {
  background: linear-gradient(135deg, #fce085 0%, #f6cb63 50%, #d99a14 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hp-rec-desc {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.72;
  margin: 0 0 28px;
  max-width: 560px;
}

.hp-rec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.hp-rec-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}
.hp-rec-pill i { color: #f6cb63; }

.hp-rec-stats-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hp-rec-stat-box strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: #f6cb63;
}
.hp-rec-stat-box span {
  display: block;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: 3px;
}

/* REC Card Container */
.hp-rec-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 32px 28px;
  box-shadow: 0 28px 70px rgba(0, 10, 35, 0.4);
}
.hp-rec-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.hp-rec-card-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #ffffff;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}
.hp-rec-card-icon i { width: 24px; height: 24px; }
.hp-rec-card-header h3 { font-size: 17px; font-weight: 800; margin: 0 0 2px; color: #071a46; }
.hp-rec-card-header p  { font-size: 12px; color: #64748b; margin: 0; }

.hp-rec-tier-list {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}
.hp-tier-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  position: relative;
  transition: all .2s ease;
}
.hp-tier-item--popular {
  border-color: #fde047;
  background: #fffef2;
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.12);
}
.hp-tier-badge-pop {
  position: absolute;
  top: -8px;
  right: 12px;
  font-size: 8.5px;
  font-weight: 900;
  background: linear-gradient(135deg, #eab308, #ca8a04);
  color: #040e26;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: .8px;
}
.hp-tier-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.hp-tier-icon.basic   { background: #e0f2fe; color: #0284c7; }
.hp-tier-icon.classic { background: #fef3c7; color: #d97706; }
.hp-tier-icon.premium { background: #fae8ff; color: #9333ea; }
.hp-tier-icon i { width: 16px; height: 16px; }

.hp-tier-details { flex: 1; }
.hp-tier-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}
.hp-tier-title-row strong { font-size: 13.5px; font-weight: 800; color: #0f172a; }
.hp-tier-price { font-size: 13px; font-weight: 900; color: #2563eb; }
.hp-tier-item--popular .hp-tier-price { color: #b45309; }
.hp-tier-details p { font-size: 11px; color: #64748b; margin: 0; line-height: 1.4; }

.hp-rec-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── 5. OUR PROJECTS (Subsidiaries) ─────────────────────── */
.hp-projects {
  background: #ffffff;
}
.hp-section > .company-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* ── 6. CLIENT TESTIMONIALS (Horizontal Drag Carousel) ──── */
.hp-testimonials {
  background: #f8fafc;
  border-top: 1px solid rgba(15, 37, 79, 0.06);
  border-bottom: 1px solid rgba(15, 37, 79, 0.06);
}

.hp-testi-head {
  max-width: 1240px;
  margin: 0 auto 32px;
  padding: 0 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.hp-testi-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.hp-testi-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}
.hp-testi-hint i { width: 14px; height: 14px; }

.hp-testi-nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(15, 37, 79, 0.14);
  background: #ffffff;
  color: #071a46;
  display: grid; place-items: center;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.hp-testi-nav-btn:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}
.hp-testi-nav-btn i { width: 18px; height: 18px; }

.hp-testi-track-outer {
  width: 100%;
  overflow: hidden;
}

.hp-testi-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 32px 40px;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.3) transparent;
  cursor: grab;
  max-width: 1240px;
  margin: 0 auto;
  box-sizing: border-box;
}
.hp-testi-track.active-drag {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.hp-testi-card {
  flex: 0 0 380px;
  width: 380px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid rgba(15, 37, 79, 0.08);
  border-radius: 24px;
  padding: 34px 28px;
  box-shadow: 0 10px 30px rgba(10, 30, 80, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hp-testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(10, 30, 80, 0.10);
}

.hp-testi-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.hp-testi-stars {
  font-size: 18px;
  color: #eab308;
  letter-spacing: 3px;
}
.hp-testi-stars--gold { color: #f6cb63; }

.hp-testi-quote-mark {
  font-size: 38px;
  line-height: 1;
  color: rgba(15, 37, 79, 0.12);
  font-family: Georgia, serif;
}
.hp-quote-gold { color: rgba(246, 203, 99, 0.3); }

.hp-testi-quote {
  font-size: 14.5px;
  line-height: 1.72;
  color: #334155;
  margin: 0 0 26px;
  font-style: italic;
  flex: 1;
}

/* Distinct Dark Testimonial Card */
.hp-testi-card--dark {
  background: linear-gradient(145deg, #05163c 0%, #0a2768 55%, #103888 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(5, 22, 60, 0.25);
}
.hp-testi-card--dark .hp-testi-quote {
  color: rgba(255, 255, 255, 0.92) !important;
}

.hp-testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.hp-testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hp-testi-avatar--gold {
  background: linear-gradient(135deg, #eab308, #b45309);
  color: #040e26;
}

.hp-testi-author-info { flex: 1; min-width: 0; }
.hp-testi-name {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-testi-name--light { color: #ffffff !important; }

.hp-testi-role {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-testi-role--gold { color: #f6cb63 !important; }

.hp-verified-badge {
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: #dcfce7;
  color: #15803d;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.hp-verified-badge i { width: 10px; height: 10px; }
.hp-badge-gold {
  background: rgba(246, 203, 99, 0.2);
  color: #f6cb63;
  border: 1px solid rgba(246, 203, 99, 0.35);
}

/* ── 7. OUR OFFICES ─────────────────────────────────────── */
.hp-offices {
  background: #ffffff;
}

.hp-offices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.hp-office-card {
  background: #ffffff;
  border: 1px solid rgba(15, 37, 79, 0.08);
  border-radius: 24px;
  padding: 30px 26px;
  box-shadow: 0 10px 30px rgba(18, 47, 97, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(0.16, 1, 0.3, 1), transform .6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .22s ease, border-color .22s ease;
}
.hp-office-card.visible { opacity: 1; transform: translateY(0); }
.hp-office-card:hover {
  box-shadow: 0 18px 44px rgba(18, 47, 97, 0.10);
  border-color: rgba(37, 99, 235, 0.25);
  transform: translateY(-4px) !important;
}

.hp-office-card--hq {
  border-color: rgba(234, 179, 8, 0.3);
  background: linear-gradient(180deg, #fffdf2 0%, #ffffff 100%);
}

.hp-office-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.hp-office-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, #edf4ff, #dbe8fe);
  color: #2563eb;
  display: grid; place-items: center;
}
.hp-office-icon i { width: 22px; height: 22px; }

.hp-office-pill {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  background: #f1f5f9;
  color: #475569;
  padding: 4px 10px;
  border-radius: 999px;
}
.hp-office-pill.hq {
  background: #fef3c7;
  color: #b45309;
}

.hp-office-card h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #0f172a;
}
.hp-office-address {
  font-size: 13px;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 20px;
  flex: 1;
}

.hp-office-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hp-office-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hp-office-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
}
.hp-office-meta span i { width: 12px; height: 12px; }

.hp-btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  color: #2563eb;
  text-decoration: none;
  background: rgba(37, 99, 235, 0.06);
  padding: 8px 12px;
  border-radius: 8px;
  transition: all .2s ease;
}
.hp-btn-sm:hover {
  background: #2563eb;
  color: #ffffff;
}
.hp-btn-sm i { width: 13px; height: 13px; }

/* ── 8. FINAL CTA ───────────────────────────────────────── */
.hp-final-cta {
  position: relative;
  padding: 110px 0;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.30), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(234, 179, 8, 0.20), transparent 40%),
    linear-gradient(155deg, #020817 0%, #05143a 50%, #0a276b 100%);
  color: #ffffff;
}
.hp-cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hp-cta-glow-1 {
  width: 650px; height: 650px;
  background: rgba(37, 99, 235, 0.22);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.hp-cta-glow-2 {
  width: 400px; height: 400px;
  background: rgba(234, 179, 8, 0.16);
  top: 20%; right: 10%;
}

.hp-final-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 32px;
}

.hp-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: #f6cb63;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hp-final-cta-h2 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -1.8px;
  line-height: 1.12;
  margin: 0 0 20px;
  color: #ffffff;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.hp-cta-accent {
  background: linear-gradient(135deg, #fce085 0%, #f6cb63 50%, #d99a14 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hp-final-cta-sub {
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 auto 40px;
  max-width: 620px;
  line-height: 1.65;
}

.hp-final-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hp-cta-guarantees {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hp-cta-guarantees span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}
.hp-cta-guarantees span i {
  color: #f6cb63;
  width: 14px; height: 14px;
}

/* ── Responsive Polish ──────────────────────────────────── */
@media (max-width: 1100px) {
  .hp-listing-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-why-grid     { grid-template-columns: repeat(2, 1fr); }
  .hp-section > .company-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-offices-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-trust-strip  { grid-template-columns: repeat(2, 1fr); }
  .hp-trust-card:nth-child(2) { border-right: 0; }
  .hp-trust-card:nth-child(-n+2) { border-bottom: 1px solid rgba(15, 37, 79, 0.07); }
  .hp-rec-inner    { grid-template-columns: 1fr; gap: 40px; }
  .hp-rec-card     { max-width: 480px; margin: 0 auto; }
}

@media (max-width: 900px) {
  .hp-hero-stats-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
    max-width: 540px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 18px;
    overflow: hidden;
  }
  .hp-stat-divider { display: none; }
  .hp-stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 12px 14px;
    justify-content: flex-start;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }
  .hp-stat-text {
    min-width: 0;
    flex: 1;
    width: 0;
    overflow: hidden;
  }
  .hp-stat-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 260px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hp-hero {
    position: relative;
    min-height: auto;
    display: block;
    padding-top: 14px;
    padding-bottom: 50px;
  }
  .hp-hero-content {
    padding: 8px 16px 20px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hp-hero-badge-wrap {
    margin-bottom: 16px;
  }
  .hp-hero-badge {
    padding: 6px 14px;
    gap: 8px;
  }
  .hp-badge-text {
    font-size: 10px;
    letter-spacing: 1.2px;
  }
  .hp-hero-h1 {
    font-size: clamp(28px, 7.5vw, 40px);
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 0 0 16px;
  }
  .hp-hero-sub {
    font-size: 14px;
    line-height: 1.55;
    margin: 0 auto 22px;
    padding: 0 4px;
    max-width: 100%;
  }
  .hp-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: 320px;
    width: 100%;
    margin: 0 auto 34px;
  }
  .hp-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    padding: 13px 20px;
    font-size: 13px;
  }
  .hp-float-card { display: none; }

  .hp-trust-strip-wrap { margin-top: -20px; padding: 0 20px; }
  .hp-trust-strip  { grid-template-columns: 1fr; }
  .hp-trust-card   { border-right: 0 !important; border-bottom: 1px solid rgba(15, 37, 79, 0.07); }
  .hp-trust-card:last-child { border-bottom: 0; }

  .hp-section-head,
  .hp-listing-grid,
  .hp-why-grid,
  .hp-offices-grid,
  .hp-section-cta,
  .hp-section > .company-grid,
  .hp-testi-head,
  .hp-testi-track {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hp-section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hp-listing-grid { grid-template-columns: 1fr; }
  .hp-why-grid     { grid-template-columns: 1fr; }
  .hp-section > .company-grid { grid-template-columns: 1fr; }
  .hp-offices-grid { grid-template-columns: 1fr; }
  .hp-rec-stats-mini { grid-template-columns: 1fr; gap: 12px; }

  .hp-testi-card   { flex: 0 0 310px; width: 310px; padding: 26px 22px; }
  .hp-section      { padding: 60px 0; }
  .hp-rec-banner   { padding: 60px 0; }
  .hp-final-cta    { padding: 75px 0; }
  .hp-final-cta-btns { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  .hp-hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 10px 8px;
    max-width: 100%;
    border-radius: 16px;
    box-sizing: border-box;
    overflow: hidden;
  }
  .hp-stat-card {
    padding: 10px 8px;
    gap: 7px;
    border-radius: 12px;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }
  .hp-stat-text {
    min-width: 0;
    flex: 1;
    width: 0;
    overflow: hidden;
  }
  .hp-stat-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 100%;
    margin: 0;
  }
  .hp-stat-icon-wrap {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .hp-stat-icon-wrap i {
    width: 15px;
    height: 15px;
  }
  .hp-stat-number {
    font-size: 18px;
  }
  .hp-stat-label {
    font-size: 9px;
    letter-spacing: .15px;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

@media (max-width: 340px) {
  .hp-hero-stats-bar {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px;
  }
  .hp-stat-card {
    padding: 8px 10px;
    gap: 10px;
  }
  .hp-stat-icon-wrap {
    width: 28px;
    height: 28px;
  }
  .hp-stat-icon-wrap i {
    width: 14px;
    height: 14px;
  }
  .hp-stat-number {
    font-size: 17px;
  }
  .hp-stat-label {
    font-size: 8.5px;
  }
}