/* Hero — Scale Your Business (scoped to .hero-scale-section) */

.hero-scale-section {
  --hero-bg: #f5f5f5;
  --hero-text: #1d1d1d;
  --hero-muted: #7e7e7e;
  --hero-primary: #ff7221;
  --hero-primary-border: rgba(255, 115, 57, 0.1);
  --hero-primary-glow: #ffb082;
  --hero-secondary-bg: #ebebeb;
  --hero-secondary-border: #fcfafa;
  --hero-card-border: #efefef;
  --hero-glow-orange: #ff9a79;
  --hero-glow-yellow: #fff5a9;
  --hero-content-bg: #ffffff;
  --hero-max-width: 1350px;
  --hero-gutter: clamp(20px, 3.125vw, 45px);

  box-sizing: border-box;
  background-color: var(--hero-bg);
  color: var(--hero-text);
  font-family: "Creato Display", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero-scale-section *,
.hero-scale-section *::before,
.hero-scale-section *::after {
  box-sizing: border-box;
}

.hero-scale-section__inner {
  width: 100%;
  max-width: calc(var(--hero-max-width) + var(--hero-gutter) * 2);
  margin: 0 auto;
  padding: 80px var(--hero-gutter) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Portrait */
.hero-scale-section__portrait {
  display: block;
  width: 140px;
  height: 160px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

/* Headline */
.hero-scale-section__headline {
  margin: 30px 0 0;
  max-width: 826px;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--hero-text);
}

/* Subtitle */
.hero-scale-section__subtitle {
  margin: 20px 0 0;
  max-width: 546px;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--hero-text);
}

/* CTAs */
.hero-scale-section__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.hero-scale-section__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 5px;
  border-radius: 10px;
  border: 3px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-scale-section__btn:hover {
  transform: translateY(-1px);
}

.hero-scale-section__btn:focus-visible {
  outline: 2px solid var(--hero-primary);
  outline-offset: 2px;
}

.hero-scale-section__btn--primary {
  min-width: 142px;
  padding-right: 18px;
  background-color: var(--hero-primary);
  border-color: var(--hero-primary-border);
  color: #ffffff;
}

.hero-scale-section__btn--primary::before {
  content: "";
  position: absolute;
  left: 13px;
  bottom: -8px;
  width: 117px;
  height: 32px;
  border-radius: 30px;
  background: var(--hero-primary-glow);
  filter: blur(9.5px);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.hero-scale-section__btn--primary > * {
  position: relative;
  z-index: 1;
}

.hero-scale-section__btn--secondary {
  min-width: 116px;
  padding-left: 12px;
  background-color: var(--hero-secondary-bg);
  border-color: var(--hero-secondary-border);
  color: var(--hero-muted);
}

.hero-scale-section__btn-avatar {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-scale-section__btn-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Stats */
.hero-scale-section__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  max-width: var(--hero-max-width);
  margin-top: 60px;
}

.hero-scale-section__stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 123px;
  padding: 24px 16px;
  border-radius: 10px;
  border: 1px solid var(--hero-card-border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(37px);
  -webkit-backdrop-filter: blur(37px);
  overflow: hidden;
}

.hero-scale-section__stat::before,
.hero-scale-section__stat::after {
  content: "";
  position: absolute;
  border-radius: 1000px;
  filter: blur(30px);
  opacity: 0.6;
  pointer-events: none;
}

.hero-scale-section__stat::before {
  width: 171px;
  height: 51px;
  background: var(--hero-glow-orange);
  top: -40px;
  left: 10%;
}

.hero-scale-section__stat::after {
  width: 210px;
  height: 51px;
  background: var(--hero-glow-yellow);
  top: -40px;
  right: 5%;
}

.hero-scale-section__stat:nth-child(2)::before {
  left: auto;
  right: 20%;
  top: auto;
  bottom: -30px;
}

.hero-scale-section__stat:nth-child(2)::after {
  right: auto;
  left: -10%;
}

.hero-scale-section__stat:nth-child(3)::before {
  left: 15%;
}

.hero-scale-section__stat:nth-child(3)::after {
  right: -15%;
  top: auto;
  bottom: -50px;
}

.hero-scale-section__stat:nth-child(4)::before {
  left: auto;
  right: -5%;
  top: auto;
  bottom: -50px;
}

.hero-scale-section__stat:nth-child(4)::after {
  left: -5%;
  right: auto;
}

.hero-scale-section__stat-value {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--hero-text);
}

.hero-scale-section__stat-label {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--hero-text);
}

/* Content placeholder */
.hero-scale-section__content-block {
  width: 100%;
  max-width: var(--hero-max-width);
  min-height: 619px;
  margin-top: 10px;
  margin-bottom: 0;
  border-radius: 10px;
  background-color: var(--hero-content-bg);
}

/* Tablet: 2-column stats */
@media (max-width: 1023px) {
  .hero-scale-section__inner {
    padding-top: 64px;
  }

  .hero-scale-section__stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 48px;
  }

  .hero-scale-section__content-block {
    min-height: 420px;
  }
}

/* Mobile */
@media (max-width: 639px) {
  .hero-scale-section__inner {
    padding-top: 48px;
  }

  .hero-scale-section__portrait {
    width: 120px;
    height: 138px;
    border-radius: 16px;
  }

  .hero-scale-section__headline {
    margin-top: 24px;
    letter-spacing: -0.015em;
  }

  .hero-scale-section__subtitle {
    margin-top: 16px;
  }

  .hero-scale-section__actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin-top: 24px;
    gap: 12px;
  }

  .hero-scale-section__btn {
    width: 100%;
    justify-content: center;
  }

  .hero-scale-section__btn--primary {
    padding-left: 8px;
  }

  .hero-scale-section__stats {
    grid-template-columns: 1fr;
    margin-top: 40px;
    gap: 12px;
  }

  .hero-scale-section__stat {
    min-height: 110px;
  }

  .hero-scale-section__content-block {
    min-height: 280px;
    margin-top: 12px;
  }
}
