/* ================================================================
   HERO — Inner page variant (about, solutions, contact)
   Static engineering notebook grid + frosted glass card
   ================================================================ */

/* ── Override base .hero::before overlay with static grid ── */
.hero--short::before {
  background:
    /* Major grid lines */
    linear-gradient(to right, rgba(200, 200, 210, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(200, 200, 210, 0.05) 1px, transparent 1px),
    /* Minor grid lines */
    linear-gradient(to right, rgba(200, 200, 210, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(200, 200, 210, 0.03) 1px, transparent 1px);
  background-size:
    120px 120px,
    120px 120px,
    24px 24px,
    24px 24px;
}

/* ── Hide background images and detection brackets ── */
.hero--short .hero__bg-image,
.hero--short .detection-bracket {
  display: none;
}

/* ── Frosted glass card ── */
.hero__card {
  background: rgba(17, 17, 24, 0.72);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(42, 44, 56, 0.5);
  border-radius: 16px;
  padding: 28px 36px 24px;
  max-width: 680px;
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* ── Tighten spacing inside card ── */
.hero__card .hero__label {
  margin-bottom: var(--space-3);
}
.hero__card .hero__title {
  margin-bottom: var(--space-3);
}
.hero__card .hero__subtitle {
  margin-bottom: 0;
}

/* ── Wide viewport: align card text with .container text below ── */
@media (min-width: 1280px) {
  .hero__card {
    margin-left: -36px;
  }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero__card {
    padding: 24px 20px 20px;
    max-width: 100%;
  }
}
