/* ── Base ────────────────────────────────────────────────── */
.hero-new {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  color: #fff;
	    min-height: 500px;
    height: 100%;
    display: flex;
    align-items: center;
}

/* ── Decorative rings ────────────────────────────────────── */
/* NOTE: ring borders use rgba(255,255,255,0.12) — visible on dark gradients
   only. If a light gradient is picked in the editor, rings will be invisible.
   Follow-up: add a light/dark toggle field if a client requests it. */
.hero-new__circles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.hero-new__ring {
  position: absolute;
  border-radius: 50%;
  border: 50px solid rgba(255, 255, 255, 0.12);
}

/* Large ring anchored at top-right corner — dominant, partially clipped */
.hero-new__ring--tr-large {
  width: 460px;
  height: 460px;
  top: -110px;
  right: -150px;
  border: 70px solid rgba(255, 255, 255, 0.12);
}

/* Smaller ring layered near top-right for depth */
.hero-new__ring--tr-small {
  width: 250px;
  height: 250px;
  bottom: -80px;
  left: 50px;
}

/* Large ring anchored at bottom-left — mirror of top-right, subtle counterbalance */
.hero-new__ring--bl-large {
  width: 560px;
  height: 560px;
  bottom: -150px;
  left: -150px;
}

/* ── Grid ────────────────────────────────────────────────── */
.hero-new__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Single centered column when stat card is hidden.
   text-align and box centering are intentionally NOT hardcoded here —
   the Design tab's Text Align control (applied to the section via
   atg_render_block_styles) cascades in as the inherited value. */
.hero-new__grid--no-card {
  grid-template-columns: 1fr;
  max-width: 700px;
}

/* ── Eyebrow ─────────────────────────────────────────────── */
.hero-new__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-new__eyebrow-line {
  display: block;
  width: 40px;
  height: 2px;
  background: currentColor;
  opacity: 0.6;
  flex-shrink: 0;
}

.hero-new__eyebrow-text {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--atg-hero-new-eyebrow-color, rgba(255, 255, 255, 0.8));
}

/* ── Heading ─────────────────────────────────────────────── */
.hero-new__heading {
  font-size: var(--atg-hero-new-heading-size, 60px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--atg-hero-new-heading-color, #fff);
}

.hero-new__heading-line1 {
  display: block;
  color: var(--atg-hero-new-heading-color, #fff);
}

.hero-new__heading-line2 {
  display: block;
  color: var(--atg-hero-new-accent-color, var(--primary, #00c2d4));
}

/* ── Description ─────────────────────────────────────────── */
.hero-new__description {
  font-size: var(--atg-hero-new-desc-size, 18px);
  line-height: 1.7;
  color: var(--atg-hero-new-desc-color, rgba(255, 255, 255, 0.75));
  max-width: 520px;
  margin: 0;
}

/* ── Stat card ───────────────────────────────────────────── */
.hero-new__stat-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 40px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  width: fit-content;
}

.hero-new__stat-number {
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  margin: 0 0 8px;
}

.hero-new__stat-suffix {
  font-size: 36px;
  font-weight: 400;
  opacity: 0.7;
  vertical-align: super;
  line-height: 1;
}

.hero-new__stat-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0;
}

.hero-new__stat-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 16px 0;
}

.hero-new__stat-sublabel {
  font-size: 14px;
  opacity: 0.6;
  margin: 0;
}

/* ── Tablet (≤1024px) ────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-new {
    padding: 60px 0;
  }

  .hero-new__heading {
    font-size: var(--atg-hero-new-heading-size, 44px);
  }

  .hero-new__stat-number {
    font-size: 56px;
  }

  .hero-new__stat-suffix {
    font-size: 28px;
  }
}

/* ── Mobile (≤767px) ─────────────────────────────────────── */
@media (max-width: 767px) {
  .hero-new {
    padding: 48px 0;
  }

  .hero-new__circles {
    display: none;
  }

  .hero-new__grid {
    grid-template-columns: 1fr;
  }

  .hero-new__heading {
    font-size: var(--atg-hero-new-heading-size, 36px);
  }

  .hero-new__stat-card {
    padding: 28px;
  }

  .hero-new__stat-number {
    font-size: 48px;
  }

  .hero-new__stat-suffix {
    font-size: 24px;
  }

  .hero-new__description {
    max-width: 100%;
  }
}
