/* Agile Visa shared HEI-style hero, used on the one-off pages
   (about, methodology, enterprise, consulting, public-academy).
   Course pages get the same look from seo-template.html inline CSS;
   keep these two synced if the design language changes. */

.av-hei-hero {
  position: relative;
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(15,30,61,0.10);
  padding: 28px 0 44px;
}
.av-hei-hero__wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  column-gap: 56px;
  row-gap: 24px;          /* tighter so the 5-tile stat band peeks above the fold on load */
  align-items: center;
}
.av-hei-hero__wrap > .av-hei-stat-band { grid-column: 1 / -1; }
.av-hei-hero__art {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #163a5c 0%, #2168A0 60%, #2f8fd8 130%);
  color: #ffffff;
  padding: 32px 28px;
  box-shadow: 0 30px 60px rgba(15,30,61,0.18);
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.av-ai-builder { color: #2168A0; }
/* Floating AI-tool name chips on the hero photo (text only, no logos) */
.av-hero-ai-chip {
  position: absolute;
  z-index: 3;
  background: rgba(255,255,255,0.96);
  color: #163a5c;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.2px;
  padding: 6px 11px;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(15,30,61,0.18);
  white-space: nowrap;
  animation: avChipFloat 4.2s ease-in-out infinite;
}
.av-hero-ai-chip--1 { top: 14px; right: 14px; animation-delay: 0s; }
.av-hero-ai-chip--2 { top: 38%; left: 14px; animation-delay: 0.9s; }
.av-hero-ai-chip--3 { bottom: 84px; right: 14px; animation-delay: 1.8s; }
.av-hero-ai-chip--4 { top: 14px; left: 14px; animation-delay: 2.7s; }
@keyframes avChipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .av-hero-ai-chip { animation: none; } }
@media (max-width: 640px) { .av-hero-ai-chip { font-size: 0.64rem; padding: 5px 9px; } }
.av-hei-hero__photo {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px rgba(15,30,61,0.18);
  aspect-ratio: 4 / 3;
  background: #163a5c;
}
.av-hei-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.av-hei-hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(33,104,160,0.10) 0%, rgba(33,104,160,0) 50%);
  pointer-events: none;
}
.av-hei-hero__photo-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255,255,255,0.96);
  color: #163a5c;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 30px;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(15,30,61,0.18);
}
.av-hei-hero__art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18), transparent 55%),
              radial-gradient(circle at 20% 90%, rgba(255,255,255,0.10), transparent 60%);
  pointer-events: none;
}
.av-hei-art__badge {
  position: relative;
  align-self: flex-start;
  background: rgba(255,255,255,0.18);
  border-radius: 30px;
  padding: 5px 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.av-hei-art__quote {
  position: relative;
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  line-height: 1.35;
  margin: 22px 0 0;
  font-weight: 700;
}
.av-hei-art__cite {
  position: relative;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.78);
  margin-top: 18px;
  letter-spacing: 0.3px;
}
.av-hei-art__signals {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.av-hei-art__signal {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
}
.av-hei-art__signal strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}
@media (max-width: 960px) {
  .av-hei-hero__wrap { grid-template-columns: 1fr; gap: 30px; }
  .av-hei-hero__art { min-height: auto; }
}
.av-hei-eyebrow {
  display: inline-block;
  background: rgba(33,104,160,0.10);
  color: #2168A0;
  border: 1px solid rgba(33,104,160,0.25);
  border-radius: 30px;
  padding: 6px 16px;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.av-hei-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: #163a5c;
  margin: 0 0 12px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.av-hei-lead {
  font-size: 1.04rem;
  max-width: 740px;
  margin: 0 0 18px;
  color: #42566b;
  line-height: 1.5;
}
.av-hei-trustline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  flex-wrap: wrap;
}
.av-hei-stars { color: #c2790a; font-size: 1rem; letter-spacing: 2px; }
.av-hei-trust-text { color: #42566b; font-size: 0.92rem; font-weight: 600; }
.av-hei-cta-row {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.av-hei-cta-primary, .av-hei-cta-secondary {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  border: 2px solid #2168A0;
  line-height: 1.2;
  min-width: 220px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.av-hei-cta-primary { background: #2168A0; color: #ffffff; }
.av-hei-cta-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(33,104,160,0.25); }
.av-hei-cta-secondary { background: #ffffff; color: #2168A0; }
.av-hei-cta-secondary:hover { background: rgba(33,104,160,0.06); transform: translateY(-1px); }
.av-hei-cta-line1 { font-weight: 800; font-size: 1rem; letter-spacing: 0.5px; }
.av-hei-cta-line2 { font-weight: 500; font-size: 0.78rem; opacity: 0.9; margin-top: 2px; }
.av-hei-stat-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid rgba(15,30,61,0.10);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(15,30,61,0.06);
}
.av-hei-stat {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 11px;
  background: #f5f8fc;
  border: 1px solid rgba(15,30,61,0.06);
  min-width: 0;
}
.av-hei-stat-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(33,104,160,0.10);
  border-radius: 8px;
}
.av-hei-stat-val { font-size: 0.84rem; }
.av-hei-stat-sub { font-size: 0.7rem; margin-top: 2px; }
.av-hei-stat-val {
  display: block;
  color: #163a5c;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.25;
}
.av-hei-stat-sub {
  display: block;
  color: #42566b;
  font-size: 0.76rem;
  margin-top: 3px;
  line-height: 1.4;
}
@media (max-width: 1100px) {
  .av-hei-stat-band { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .av-hei-hero { padding: 90px 0 48px; }
  .av-hei-stat-band { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .av-hei-cta-primary, .av-hei-cta-secondary { min-width: 100%; }
}
