/* ════════════════════════════════════════
   INNER PAGE SHARED STYLES
   ════════════════════════════════════════ */

/* ── PAGE HERO ── matches reference screenshot exactly:
   grid bg, bottom border, text left centred, image right in white card */
.page-hero {
  background-image: url('../assets/header-section.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #e8ecf7;
  padding: 40px 120px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #c8d0e8;
  overflow: hidden;
}
.page-hero__inner {
  max-width: 1280px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
}
/* Left text — vertically centred, takes ~52% */
.page-hero__text {
  flex: 1 1 52%;
}
.page-hero__title {
  font-size: 36px;
  font-weight: 800;
  color: #0b1795;
  line-height: 1.2;
  margin-bottom: 16px;
}
.page-hero__title span { color: #0b1795; }
.page-hero__subtitle {
  font-size: 14px;
  color: #52525b;
  font-weight: 400;
  line-height: 1.7;
  max-width: 360px;
}
/* Right: white card wrapping the photo — matches reference exactly */
.page-hero__image {
  flex: 0 0 46%;
  align-self: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 4px 28px rgba(11,23,149,0.11), 0 1px 4px rgba(0,0,0,0.06);
}
.page-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

/* ── SECTION UTILITIES ── */
.section-label {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 14px;
  border: 1px solid #71717a; border-radius: 9999px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  color: #71717a; margin-bottom: 14px;
  width:fit-content;
}
.section-title {
  --min-font-size: 24; --max-font-size: 40; font-size: var(--interpolate);
  font-weight: 700; color: #111827; line-height: 1.3; margin-bottom: 10px;
}
.section-subtitle {
  --min-font-size: 14; --max-font-size: 17; font-size: var(--interpolate);
  color: #52525b; font-weight: 500; line-height: 1.6;
}

/* ── CTA STRIP — EXACTLY matches .home-cta on home page ── */
.cta-strip {
  position: relative; z-index: 3;
  background: #fff;
  padding: 21px 120px;
  border-top: 2px solid #0b1795;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-strip__inner {
  width: 100%; max-width: 1280px;
  display: flex; align-items: center;
  justify-content: space-between;
  padding-bottom: 1px;
}
.cta-strip__text {
  flex: 1; max-width: 646px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 7px; text-align: left;
}
.cta-strip__label {
  display: flex; justify-content: center;
  color: #64748b; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.32px;
  padding: 1px 11px 3px; border: 1px solid #cbd5e1; border-radius: 9999px;
  background: #fff; align-self: flex-start;
}
.cta-strip__title {
  margin-top: 1px; align-self: stretch;
  color: #0b1795; font-size: 28px; font-weight: 700; line-height: 1.2;
}
.cta-strip__desc { color: #475569; font-size: 14px; font-weight: 600; line-height: 1.625; }
.cta-strip__btn {
  box-shadow: 0 1px 2px -1px rgba(0,0,0,0.1), 0 1px 3px 0 rgba(0,0,0,0.1);
  margin-top: 1px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: #0b1795; font-size: 15px; font-weight: 700; line-height: 1.5;
  background: #fff; padding: 9px 31px 11px 28px;
  border: 2px solid #0b1795; border-radius: 10px;
  transition: filter 0.2s; white-space: nowrap; flex-shrink: 0;
}
.cta-strip__btn:hover { filter: brightness(0.93); }
.cta-strip__btn-icon { margin-top: 7px; width: 11px; height: 11px; flex-shrink: 0; }

/* Responsive */
@media (max-width: 1100px) {
  .page-hero { padding: 36px 48px; }
  .page-hero__title { font-size: 30px; }
  .cta-strip { padding: 21px 48px; }
}
@media (max-width: 768px) {
  .page-hero { padding: 32px 24px; }
  .page-hero__inner { flex-direction: column; gap: 24px; align-items: flex-start; }
  .page-hero__image { flex: none; width: 100%; }
  .page-hero__title { font-size: 26px; }
  .cta-strip { padding: 24px; }
  .cta-strip__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta-strip__title { font-size: 22px; }
}
