/**
 * Hero block: gradient + SVG pattern, two columns, CTA with pulse utility.
 */

.hero {
  position: relative;
  padding-top: calc(4rem + var(--space-section));
  padding-bottom: var(--space-section);
  overflow: hidden;
  background: var(--hero-gradient);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
}

.hero__pattern svg {
  width: 100%;
  height: 100%;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

.hero__content {
  order: 2;
}

.hero__visual {
  order: 1;
  display: flex;
  justify-content: center;
}

.hero__title {
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  max-width: 36ch;
}

.hero__cta {
  display: inline-flex;
}

.hero__portrait {
  width: min(280px, 70vw);
  aspect-ratio: 1;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 3px solid var(--color-border-card);
  background-color: var(--color-bg-section-white);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .hero__content {
    order: 1;
  }

  .hero__visual {
    order: 2;
    justify-content: flex-end;
  }

  .hero__portrait {
    width: min(340px, 100%);
  }
}

@media (min-width: 1024px) {
  .hero__portrait {
    width: min(380px, 100%);
  }
}
