/* =============================================
   BLAMBLES — INNER PAGE STYLES  (visual redesign)
   Shared by /services/ and /who-we-help/ pages
   ============================================= */

/* ── Force nav scrolled state ── */
.site-header {
  background: rgba(12,35,64,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: 0.75rem 0;
}

/* ══════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════ */
.breadcrumb {
  display: none;
}
.breadcrumb-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-mid);
}
.breadcrumb-inner a {
  color: var(--navy-light);
  font-weight: 500;
  transition: color var(--transition);
}
.breadcrumb-inner a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--text-light); }
.breadcrumb-current { color: var(--text-dark); font-weight: 600; }

/* ══════════════════════════════════════════
   INNER HERO  — image-capable
══════════════════════════════════════════ */
.inner-hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a3a5c 100%);
}

/* Background photo (injected by inner-pages.js) */
.inner-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1.03);
  animation: heroKenBurns 18s ease-in-out infinite alternate;
}
.inner-hero-bg.loaded { opacity: 1; }

@keyframes heroKenBurns {
  0%   { transform: scale(1.03) translateX(0); }
  100% { transform: scale(1.08) translateX(-1%); }
}

/* Dark overlay over the photo */
.inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(12,35,64,0.85) 0%,
    rgba(12,35,64,0.60) 50%,
    rgba(12,35,64,0.75) 100%
  );
  z-index: 1;
}

/* Gold bottom accent */
.inner-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  z-index: 2;
}

.inner-hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5.5rem 2rem 5rem;
  width: 100%;
}

.inner-hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(196,163,90,0.4);
  border-radius: 50px;
  background: rgba(196,163,90,0.08);
}

.inner-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 780px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.inner-hero h1 em { color: var(--gold-light); font-style: italic; }

.inner-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.inner-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Ghost button variant for dark hero */
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   QUICK FACTS STRIP  (injected by JS)
══════════════════════════════════════════ */
.quick-facts-strip {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 0;
}

.quick-fact {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 2.5rem;
  flex: 1;
  min-width: 200px;
  justify-content: center;
}

.quick-fact-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  min-width: 2.5rem;
}

.quick-fact-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  max-width: 140px;
}

.quick-fact-div {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   CONTENT SECTIONS
══════════════════════════════════════════ */
.content-section { padding: 5rem 0; }
.content-section:nth-child(even) { background: var(--off-white); }

.content-section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.content-section-header { margin-bottom: 2.75rem; }
.content-section-header .section-eyebrow { display: block; margin-bottom: 0.5rem; }
.content-section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.content-prose p {
  font-size: 1.03rem;
  color: var(--text-mid);
  line-height: 1.82;
  margin-bottom: 1.25rem;
  max-width: 800px;
}
.content-prose p:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════════
   FEATURES GRID  — visual cards
══════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196,163,90,0.35);
}
.feature-item:hover::before { transform: scaleX(1); }

.feature-item h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.feature-item p {
  font-size: 0.94rem;
  color: var(--text-mid);
  line-height: 1.68;
}

/* ══════════════════════════════════════════
   IS THIS RIGHT FOR YOU
══════════════════════════════════════════ */
.right-for-you-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}

.right-for-you-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.right-for-you-item:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(196,163,90,0.12);
}

.right-for-you-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--navy);
}

.right-for-you-text {
  font-size: 0.96rem;
  color: var(--text-dark);
  line-height: 1.6;
  padding-top: 0.1rem;
}

/* ══════════════════════════════════════════
   PROCESS STEPS
══════════════════════════════════════════ */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
  max-width: 720px;
}

.process-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding-bottom: 2.75rem;
  position: relative;
}

.process-step:last-child { padding-bottom: 0; }

/* Connecting line */
.process-step::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold) 0%, var(--border) 100%);
}
.process-step:last-child::before { display: none; }

.step-num {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--navy);
  border: 2.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  position: relative;
  z-index: 1;
  transition: background 0.2s, transform 0.2s;
}
.process-step:hover .step-num {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.08);
}

.step-body { padding-top: 0.6rem; }
.step-body h4 {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.step-body p {
  font-size: 0.96rem;
  color: var(--text-mid);
  line-height: 1.72;
}

/* ══════════════════════════════════════════
   BROKER VALUE SECTION  — split layout
══════════════════════════════════════════ */
.broker-value {
  background: var(--navy);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* decorative radial glow */
.broker-value::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(196,163,90,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.broker-value-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.broker-value-text .section-eyebrow { color: var(--gold); display: block; margin-bottom: 0.6rem; }
.broker-value-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.broker-value-text .divider-gold { margin-bottom: 1.5rem; }
.broker-value-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.82;
  margin-bottom: 1.1rem;
}
.broker-value-text p:last-child { margin-bottom: 0; }

.broker-value-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.broker-value-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
}
.broker-value-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(12,35,64,0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(196,163,90,0.4);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
}
.broker-value-badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--white);
}
.broker-value-badge span {
  font-size: 0.78rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}

/* single-column fallback (old broker-value pages without visual) */
.broker-value-inner.broker-value-inner--single {
  grid-template-columns: 1fr;
  max-width: 800px;
}

/* ══════════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 820px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:has(.open) {
  border-color: rgba(196,163,90,0.4);
  box-shadow: 0 4px 20px rgba(196,163,90,0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.985rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.15s;
}
.faq-question:hover { background: var(--off-white); }
.faq-question.open { background: var(--off-white); }

.faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--gold-dark);
  transition: transform 0.22s ease, background 0.15s, border-color 0.15s;
}
.faq-question.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.4rem;
  font-size: 0.975rem;
  color: var(--text-mid);
  line-height: 1.8;
  border-top: 1px solid var(--border);
}
.faq-answer.open { display: block; }

/* ══════════════════════════════════════════
   CONTACT / TALLY SECTION
══════════════════════════════════════════ */
.page-contact {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.page-contact::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196,163,90,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.page-contact-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.page-contact .section-eyebrow {
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.page-contact h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.85rem;
}
.page-contact p {
  font-size: 1.04rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 2.75rem;
}

.tally-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  overflow: hidden;
  text-align: left;
}

/* ══════════════════════════════════════════
   RELATED LINKS BAR
══════════════════════════════════════════ */
.related-links {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.related-links-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.related-links h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--navy);
  font-weight: 700;
  margin-right: 0.5rem;
  flex-shrink: 0;
}
.related-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.related-pill {
  display: inline-block;
  padding: 0.38rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: var(--transition);
  background: var(--white);
}
.related-pill:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ══════════════════════════════════════════
   SERVICE CARD LINKS (within who-we-help)
══════════════════════════════════════════ */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.service-card-link {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: var(--shadow-sm);
}
.service-card-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.service-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.service-card-link h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.service-card-link p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.card-arrow {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 0.75rem;
}

/* ══════════════════════════════════════════
   HUB PAGES
══════════════════════════════════════════ */
.hub-intro {
  background: var(--off-white);
  padding: 3.5rem 0 4rem;
}
.hub-intro-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.hub-intro p {
  font-size: 1.08rem;
  color: var(--text-mid);
  line-height: 1.82;
  max-width: 780px;
}

.hub-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.hub-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: var(--shadow-sm);
}
.hub-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196,163,90,0.5);
}

.hub-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1.25rem;
}
.hub-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.hub-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.68;
  flex: 1;
}
.hub-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--gold-dark);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 960px) {
  .broker-value-inner {
    grid-template-columns: 1fr;
  }
  .broker-value-visual { display: none; }
}

@media (max-width: 768px) {
  .inner-hero { min-height: 56vh; }
  .inner-hero-content { padding: 4rem 1.5rem 4rem; }
  .inner-hero h1 { font-size: 2rem; }
  .inner-hero-sub { font-size: 0.98rem; }
  .inner-hero-actions { flex-direction: column; align-items: flex-start; }

  .quick-facts-strip { flex-direction: column; }
  .quick-fact { padding: 1rem 1.5rem; justify-content: flex-start; }
  .quick-fact-div { width: 80%; height: 1px; margin: 0 auto; }

  .content-section { padding: 3.5rem 0; }
  .features-grid { grid-template-columns: 1fr; }
  .hub-cards-grid { grid-template-columns: 1fr; }
  .service-cards-grid { grid-template-columns: 1fr; }
  .right-for-you-list { grid-template-columns: 1fr; }
  .process-step { gap: 1.25rem; }

  .faq-question { font-size: 0.92rem; padding: 1rem 1.25rem; }
  .faq-answer { padding: 0 1.25rem 1.25rem; }

  .broker-value { padding: 3.5rem 0; }
  .broker-value-inner { gap: 2rem; }

  .page-contact { padding: 4rem 0; }

  .related-links-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

@media (max-width: 480px) {
  .breadcrumb-inner { font-size: 0.73rem; }
  .quick-fact-num { font-size: 1.5rem; }
  .quick-fact-text { font-size: 0.82rem; }
}
