/* ── Hero ────────────────────────────────────────── */

/* -- Imaging Hero background ------------------- */

.home-imaging-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Background image */
.home-imaging-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-imaging-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark overlay so text stays readable */
.home-imaging-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(14, 21, 32, 0.92) 0%,
    rgba(14, 21, 32, 0.75) 50%,
    rgba(14, 21, 32, 0.4) 100%
  );
}

.home-imaging-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-48);
  align-items: center;
  flex: 1;
  padding: var(--space-48) 0;
}

.home-imaging-hero-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  max-width: 620px;
}

.home-imaging-hero-eyebrow {
  color: var(--color-brand-accent);
  margin-bottom: 0;
}

/*------------------------------------------------*/

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 68px);
  display: flex;
  flex-direction: column;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 80% 50% at 60% -10%,
      rgba(0, 81, 142, 0.22) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 40% at 0% 80%,
      rgba(0, 81, 142, 0.1) 0%,
      transparent 60%
    );
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-48);
  align-items: center;
  flex: 1;
  padding: var(--space-48) 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  max-width: 540px;
}

.hero-title {
  color: var(--color-text-primary);
}

.hero-title-accent {
  color: var(--color-brand-accent);
}

.hero-subtitle {
  color: var(--color-text-muted);
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-20);
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.trust-check {
  width: 16px;
  height: 16px;
  border-radius: var(--radius-pill);
  background: var(--color-brand-tint);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.trust-check::after {
  content: "✓";
  font-size: 9px;
  color: var(--color-brand-accent);
  position: absolute;
}

.trust-pill .type-caption {
  color: var(--color-text-muted);
}

/* Hero media */
.hero-media {
  position: relative;
  border-radius: var(--radius-12);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16/9;
  background: var(--color-bg-card);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scroll indicator */
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  padding-bottom: var(--space-32);
  color: var(--color-text-subtle);
  position: relative;
  z-index: 1;
}

.hero-scroll-arrow {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* Responsive */
@media (max-width: 1023px) {
  .home-imaging-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-media {
    display: block;
    width: 100%;
  }

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

/* ── Pillars ─────────────────────────────────────── */

.pillars .card-dark {
  position: relative;
  overflow: hidden;
}

/* Top accent line on each card */
.pillars .card-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--space-24);
  right: var(--space-24);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-brand),
    transparent
  );
  transition:
    left var(--transition-base),
    right var(--transition-base);
}

/* Accent line expands to full width on hover */
.pillars .card-dark:hover::before {
  left: 0;
  right: 0;
}

/* Feature list */
.pillar-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-16);
}

.pillar-feature {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.pillar-check {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-pill);
  background: var(--color-brand-tint);
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-check::after {
  content: "✓";
  font-size: 8px;
  color: var(--color-brand-accent);
  position: absolute;
}

.pillar-feature .type-caption {
  color: var(--color-text-muted);
}

/* Learn more CTA */
.pillar-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-brand-accent);
  transition: gap var(--transition-base);
}

.pillar-cta:hover {
  gap: var(--space-8);
}

.pillar-cta-arrow {
  transition: transform var(--transition-base);
}

.pillar-cta:hover .pillar-cta-arrow {
  transform: translateX(3px);
}

/* ── Testimonials ────────────────────────────────── */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-16);
}

/* Featured card spans both columns */
.testimonial-featured {
  grid-column: span 2;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

/* Opening quote mark */
.testimonial-quote-mark {
  font-family: Georgia, serif;
  font-size: 48px;
  line-height: 1;
  color: var(--color-brand);
  opacity: 0.2;
  margin-bottom: calc(var(--space-8) * -1);
}

/* Quote text */
.testimonial-quote {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-on-light);
  font-style: normal;
  flex: 1;
}

.testimonial-quote-featured {
  font-size: var(--text-lg);
  font-weight: 500;
}

/* Attribution row */
.testimonial-attr {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  padding-top: var(--space-16);
  border-top: 1px solid var(--color-border-light);
  margin-top: auto;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  flex-shrink: 0;
}

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

/* Name, role, institution */
.testimonial-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-on-light);
  line-height: 1.3;
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--color-text-on-light-muted);
  margin-top: var(--space-4);
  line-height: 1.4;
}

.testimonials .testimonial-institution {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-brand);
  margin-top: var(--space-4);
}

/* Responsive */
@media (max-width: 767px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-featured {
    grid-column: span 1;
  }
}

/* ── Insights preview ────────────────────────────── */
#latest-insights {
  align-items: stretch;
}

#latest-insights .insight-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#latest-insights .card-footer {
  margin-top: auto;
}

.insight-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-8) var(--radius-8) 0 0;
  margin: calc(var(--space-20) * -1) calc(var(--space-20) * -1) var(--space-20);
}

.insight-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insights-preview {
  border-top: 1px solid var(--color-border);
}

.insights-preview {
  border-top: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.insights-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 60% 80% at 0% 50%,
    rgba(0, 81, 142, 0.12) 0%,
    transparent 70%
  );
}

.insights-preview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-24);
  margin-bottom: var(--space-48);
}

.insights-preview-header .section-title {
  margin-bottom: 0;
}

.insight-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.insight-date {
  color: var(--color-text-subtle);
}

.insight-title {
  font-size: var(--text-base);
  line-height: 1.4;
}

.footer-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-6);
  text-decoration: none;
}
