/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */

/* ── Home Hero ── */

.hero {
  background: var(--color-white);
  min-height: calc(100vh - var(--nav-height));
  padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem) clamp(4rem, 8vw, 5rem);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: var(--max-width);
  margin-inline: auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Decorative circles — brand motif on white */
.hero__circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero__circle--1 {
  width: clamp(300px, 45vw, 600px);
  height: clamp(300px, 45vw, 600px);
  background: var(--color-primary);
  opacity: 0.06;
  top: -20%;
  right: -10%;
}

.hero__circle--2 {
  width: clamp(140px, 20vw, 280px);
  height: clamp(140px, 20vw, 280px);
  background: var(--color-pearl-aqua);
  opacity: 0.12;
  bottom: -8%;
  right: 22%;
}

.hero__circle--3 {
  width: 100px;
  height: 100px;
  background: var(--color-cta);
  opacity: 0.1;
  top: 22%;
  right: 16%;
}

.hero__circle--4 {
  width: 40px;
  height: 40px;
  background: var(--color-satin-gold);
  opacity: 0.18;
  top: 42%;
  right: 32%;
}

/* Left content */
.hero__content {
  animation: fade-up 0.6s ease both;
}

.hero h1 {
  color: var(--color-ink);
}

.hero h1 em {
  color: var(--color-primary);
}

.hero h1 .accent {
  color: var(--color-cta);
}

.hero__statement {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: var(--font-weight-light);
  font-style: italic;
  color: var(--color-text-body);
  border-left: 3px solid var(--color-primary);
  padding-left: 1.1rem;
  margin: 1.4rem 0 1.2rem;
  line-height: var(--line-height-relaxed);
  max-width: 560px;
}

.hero__subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: var(--font-weight-regular);
  max-width: 500px;
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-xl);
}

/* Right — stat cards on white background */
.hero__cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  animation: fade-up 0.6s ease 0.15s both;
}

.hero-card {
  background: var(--color-surface);
  border: 2px solid var(--color-rule-strong);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.hero-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(40, 83, 224, 0.3);
}

.hero-card__label {
  font-size: 0.6875rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.hero-card__value {
  font-size: 1.5rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-ink);
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-card__sub {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: var(--font-weight-regular);
  margin-top: 0.25rem;
}

.hero-card__bar {
  height: 4px;
  background: var(--color-rule);
  border-radius: 2px;
  margin-top: 0.8rem;
  overflow: hidden;
}

.hero-card__fill {
  height: 100%;
  border-radius: 2px;
  background: var(--color-primary);
  transition: width 1s ease 0.5s;
}

/* ── Hero Background Image ── */

.hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  z-index: 0;
  overflow: hidden;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-white) 10%, rgba(255, 255, 255, 0.85) 40%, rgba(255, 255, 255, 0.4) 100%);
}

/* ── Responsive ── */

@media (max-width: 860px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__cards {
    display: none;
  }

  .hero__bg {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
  }
}

/* ═══════════════════════════════════════════════
   INNER PAGE HERO
   ═══════════════════════════════════════════════ */

/* ── Inner Page Hero ── */
.hero-page {
  position: relative;
  min-height: 44vh;
  display: flex;
  align-items: center;
  padding: clamp(6rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.hero-page--primary {
  background: var(--color-palatinate-blue);
  color: var(--color-white);
}

.hero-page--deep {
  background: var(--color-egyptian-blue);
  color: var(--color-white);
}

.hero-page--ink {
  background: var(--color-ink);
  color: var(--color-white);
}

.hero-page__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}

.hero-page__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-page h1 em {
  color: var(--color-carrot-orange);
  font-style: normal;
}

.hero-page--deep h1,
.hero-page--ink h1,
.hero-page--primary h1 {
  color: var(--color-white);
}

.hero-page__statement {
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 640px;
}

.hero-page__subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 640px;
}

.hero-page--deep .hero-page__subtitle,
.hero-page--ink .hero-page__subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.hero-page__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
