.hero {
  position: relative;
  background: var(--clr-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 136px;
}

/* Geometric background */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,139,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,139,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero__bg-glow {
  position: absolute;
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,139,0,0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.hero__bg-glow-2 {
  position: absolute;
  width: min(400px, 60vw);
  height: min(400px, 60vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,139,0,0.06) 0%, transparent 70%);
  bottom: 0;
  left: 10%;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  width: 100%;
}

.hero__content { position: relative; z-index: 2; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255,139,0,0.1);
  border: 1px solid rgba(255,139,0,0.25);
  border-radius: var(--radius-pill);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-orange);
  margin-bottom: var(--sp-6);
  letter-spacing: 0.03em;
}
.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--clr-orange);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.15;
  margin-bottom: var(--sp-6);
  letter-spacing: -0.01em;
}
.hero__title .accent {
  color: var(--clr-orange);
  display: inline-block;
}

.hero__sub {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: var(--sp-8);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-10);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-8);
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.hero__trust-item .stars { color: #FFB800; letter-spacing: 1px; font-size: 0.7rem; }
.hero__trust-item--partner {
  color: var(--clr-orange);
  font-weight: 600;
  font-size: 0.8rem;
}
.hero__trust-sep {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.15);
}
@media (max-width: 640px) {
  .hero__trust-sep:nth-of-type(2) ~ * { display: none; }
}

/* Hero visual (right side) */
.hero__visual {
  position: relative;
  z-index: 2;
}
.hero__card-stack {
  position: relative;
  height: 480px;
}
.hero__card {
  position: absolute;
  background: var(--clr-dark-card);
  border: 1px solid var(--clr-border-dark);
  border-radius: var(--radius-xl);
  padding: var(--sp-5);
  box-shadow: var(--shadow-xl);
}
.hero__card--main {
  width: 100%;
  top: 0;
  right: 0;
  padding: var(--sp-6);
}
.hero__card--stat {
  bottom: 60px;
  left: -20px;
  background: var(--clr-orange);
  color: white;
  padding: var(--sp-4) var(--sp-5);
  min-width: 160px;
}
.hero__card--tag {
  top: 60px;
  right: -20px;
  background: var(--clr-dark-card);
  min-width: 140px;
}
.hero__card-label {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-2);
}
.hero__card--stat .hero__card-label { color: rgba(255,255,255,0.7); }
.hero__card-value {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero__card-sub {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.6);
  margin-top: var(--sp-1);
}
.hero__card--stat .hero__card-sub { color: rgba(255,255,255,0.75); }
.hero__services-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.hero__service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-4);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
}
.hero__service-row-left {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}
.hero__service-icon {
  width: 28px;
  height: 28px;
  background: rgba(255,139,0,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-orange);
}
.hero__service-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255,139,0,0.15);
  color: var(--clr-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero__service-badge--green {
  background: rgba(0,200,100,0.12);
  color: #00C864;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255,255,255,0.3);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,139,0,0.6), transparent);
  animation: scroll-line 2s infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Hero title accent ── */
.hero__title-accent {
  color: var(--clr-orange);
  display: block;
}

/* ── Hero result strip (above-fold proof) ── */
.hero__results-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 1.75rem 0 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.hero__result-item { text-align: center; flex: 1; min-width: 80px; }
.hero__result-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--clr-orange);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__result-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero__result-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .hero__results-strip { gap: 1rem; padding: 1rem; }
  .hero__result-num { font-size: 1.5rem; }
  .hero__result-sep { display: none; }
}

/* ── Hero card header (live badge) ── */
.hero__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
}
.hero__card-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: #4ade80;
  font-weight: 600;
}
.hero__card-live .hero__badge-dot { background: #4ade80; }

/* ── Hero service metric (right side of service row) ── */
.hero__service-metric {
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ════════════════════════════════════════════════════════════
   MOBILE MEDIA QUERIES — hero.css
   Breakpoints: ≤768px (standard mobile) | ≤480px (small phones)
   NOTE: responsive.css handles grid collapses, action stacking,
   and basic trust/results rules — these rules fill the gaps.
   ════════════════════════════════════════════════════════════ */

/* ── ≤768px — Standard mobile ── */
@media (max-width: 768px) {

  /* Hero section: min-height auto prevents 100vh trap on short
     mobile viewports; padding-bottom gives breathing room below
     the stacked content. responsive.css sets padding-top: 110px
     which is correct here (topbar still visible at 768px). */
  .hero {
    padding-bottom: var(--sp-16);
  }

  /* Hero content fills full width when visual column is hidden */
  .hero__content {
    width: 100%;
    max-width: 100%;
  }

  /* Badge: allow wrapping on narrow screens so it doesn't overflow */
  .hero__badge {
    white-space: normal;
    max-width: 100%;
  }

  /* Sub-heading: tighten line-height slightly on mobile */
  .hero__sub {
    line-height: 1.65;
    margin-bottom: var(--sp-6);
  }

  /* Results strip: horizontal scroll is set by responsive.css;
     ensure items don't shrink below readable width */
  .hero__results-strip {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  .hero__results-strip::-webkit-scrollbar { display: none; }

  .hero__result-item {
    min-width: 90px;
  }

  .hero__result-label {
    font-size: 0.75rem; /* up from 0.7rem — more readable on mobile */
  }

  /* Trust row: items allowed to wrap; white-space reset so long
     labels (e.g. "No Lock-in Contracts") break gracefully */
  .hero__trust-item {
    white-space: normal;
  }

  /* Hide scroll indicator on mobile — it overlaps stacked content
     and makes little sense on touch devices */
  .hero__scroll {
    display: none;
  }

  /* Stats bar: ensure adequate vertical padding on mobile grid */
  .stats-bar {
    padding: var(--sp-10) 0;
  }

  /* Stat items: restore vertical padding for 2-col grid layout
     (responsive.css zeroes out padding; re-add block padding) */
  .stat-item {
    padding: var(--sp-4) var(--sp-2);
  }
}

/* ── ≤480px — Small phones ── */
@media (max-width: 480px) {

  /* Topbar hides at ≤480px so the sticky header sits at top: 0.
     responsive.css sets padding-top: 90px here but 100px is
     correct to account for the full header height without topbar. */
  .hero {
    padding-top: 100px;
    padding-bottom: var(--sp-12);
  }

  /* Title: clamp tuned for small phones — 7vw at 375px = 26px
     (1.625rem), min floor of 1.6rem keeps it readable without
     being oversized on a 320px screen. */
  .hero__title {
    font-size: clamp(1.6rem, 7vw, 2rem);
    letter-spacing: -0.005em;
    margin-bottom: var(--sp-4);
  }

  /* Sub-heading: drop to --fs-sm on very small screens */
  .hero__sub {
    font-size: var(--fs-sm);
    margin-bottom: var(--sp-5);
  }

  /* Badge: tighten further on 320–480px phones */
  .hero__badge {
    font-size: 0.65rem;
    padding: var(--sp-2) var(--sp-3);
    gap: var(--sp-1);
    margin-bottom: var(--sp-4);
  }

  /* Results strip: responsive.css switches to column/flex layout;
     refine item spacing and number size here */
  .hero__results-strip {
    padding: var(--sp-4);
    gap: var(--sp-3);
    overflow-x: visible; /* column layout doesn't need scroll */
  }

  .hero__result-item {
    min-width: 0;
    gap: var(--sp-3);
  }

  .hero__result-num {
    font-size: 1.5rem; /* consistent with responsive.css */
    flex-shrink: 0;
  }

  .hero__result-label {
    font-size: 0.75rem;
    white-space: normal;
    line-height: 1.3;
  }

  /* Trust items: allow text to wrap on very small screens */
  .hero__trust {
    gap: var(--sp-2);
    margin-top: var(--sp-5);
  }
  .hero__trust-item {
    font-size: 0.75rem;
    white-space: normal;
  }

  /* Stats bar: tighten section padding on small phones */
  .stats-bar {
    padding: var(--sp-8) 0;
  }

  /* Stat items: reduce vertical padding; 2-col grid stays intact */
  .stat-item {
    padding: var(--sp-3) var(--sp-2);
  }

  /* Stat number: override responsive.css clamp with a tighter one
     — at 375px, clamp(1.75rem, 5vw, 2.25rem) gives ~1.875rem
     (5vw = 18.75px ≈ 1.17rem, so clamps to floor 1.75rem = 28px).
     This is cleaner than the default clamp(2.25rem...) from sections.css */
  .stat-item__number {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
  }

  /* Stat label: slightly smaller on small phones */
  .stat-item__label {
    font-size: var(--fs-sm);
  }

  /* Stat sub-line: hide on ≤480px to reduce clutter in 2-col grid */
  .stat-item__sub {
    display: none;
  }
}
/* ── End mobile media queries ── */
