/* ══════════════════════════════════════════════════════════
   BridgeInvest — PAGE STYLES (About / Services / Pricing)
   ══════════════════════════════════════════════════════════ */

/* ── Page hero (light bg variant) ── */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 5rem) 2.5rem 5rem;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  background: var(--navy);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(37,99,235,.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(37,99,235,.07) 0%, transparent 55%);
  pointer-events: none;
}
/* Subtle dot grid */
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.page-hero-inner {
  max-width: 1240px; margin: 0 auto; width: 100%;
  position: relative; z-index: 1;
}
.page-hero-eyebrow {
  font-family: var(--font-mono); font-size: .65rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: 1rem;
}
.page-hero-eyebrow::before {
  content: '';
  display: inline-block; width: 28px; height: 1px;
  background: var(--accent-2); opacity: .6; flex-shrink: 0;
}
.page-hero h1 {
  font-family: var(--font-disp);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400; line-height: 1.08; color: var(--text-inv);
}
.page-hero h1 em { font-style: italic; color: var(--accent-2); }
.page-hero-sub {
  margin-top: 1.5rem; max-width: 560px;
  font-size: 1rem; color: var(--text-inv-2); line-height: 1.8;
}

/* ── Page sections ── */
.page-section {
  padding: 7rem 2.5rem;
  border-bottom: 1px solid var(--rule);
  background: var(--white);
}
.page-section.alt { background: var(--off-white); }
.page-section-inner { max-width: 1240px; margin: 0 auto; }

.section-header { margin-bottom: 4rem; }
.section-header .section-label {
  font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
  display: flex; align-items: center; gap: .8rem;
}
.section-header .section-label::before {
  content: '';
  display: inline-block; width: 20px; height: 1px;
  background: var(--accent); flex-shrink: 0;
}
.section-header h2 {
  font-family: var(--font-disp);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 400; color: var(--text); line-height: 1.2;
}
.section-header h2 em { font-style: italic; color: var(--accent); }
.section-header p { color: var(--text-2); font-size: .95rem; line-height: 1.8; margin-top: 1rem; max-width: 620px; }
.section-header.center { text-align: center; }
.section-header.center .section-label { justify-content: center; }
.section-header.center .section-label::before { display: none; }
.section-header.center p { margin-left: auto; margin-right: auto; }

/* ── Grid cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  padding: 2.5rem 2.2rem;
  background: var(--white);
  border: 1px solid var(--rule-mid);
  border-radius: 12px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  opacity: 0; transform: translateY(20px);
  animation: cardReveal .6s var(--ease-out) var(--d,0s) forwards;
}
.page-section.alt .card { background: var(--white); }
.card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(37,99,235,.10);
  transform: translateY(-3px);
}
.card-icon { font-size: 1.6rem; margin-bottom: 1.4rem; color: var(--accent); }
.card h3 {
  font-family: var(--font-disp); font-size: 1.3rem;
  font-weight: 500; color: var(--text); margin-bottom: .7rem;
}
.card p { font-size: .88rem; color: var(--text-2); line-height: 1.75; }
.card-list { list-style: none; margin-top: 1.2rem; padding: 0; }
.card-list li {
  font-size: .82rem; color: var(--text-2);
  padding: .45rem 0 .45rem 1.2rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.card-list li::before {
  content: '';
  position: absolute; left: 0; top: .8rem;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); opacity: .5;
}
.card-list li:last-child { border-bottom: none; }

@keyframes cardReveal { to { opacity: 1; transform: translateY(0); } }

/* ── Mission block ── */
.mission-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start;
}
.mission-block p { color: var(--text-2); font-size: .95rem; line-height: 1.85; margin-bottom: 1.2rem; }

/* ── Timeline ── */
.timeline { margin-top: 1rem; }
.tl-item {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 2.5rem; padding: 2.5rem 0;
  border-bottom: 1px solid var(--rule);
  opacity: 0; transform: translateX(-16px);
  animation: tlReveal .6s var(--ease-out) var(--d,0s) forwards;
}
.tl-item:first-child { border-top: 1px solid var(--rule); }
@keyframes tlReveal { to { opacity: 1; transform: translateX(0); } }
.tl-year {
  font-family: var(--font-disp); font-size: 2.2rem;
  font-weight: 400; color: var(--accent);
  letter-spacing: -.02em; line-height: 1.1;
}
.tl-content h3 {
  font-family: var(--font-disp); font-size: 1.2rem;
  font-weight: 500; color: var(--text); margin-bottom: .5rem;
}
.tl-content p { font-size: .88rem; color: var(--text-2); line-height: 1.75; }

/* ── Team cards ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.team-card {
  padding: 2.5rem; background: var(--white);
  border: 1px solid var(--rule-mid); border-radius: 12px;
  text-align: center;
  transition: border-color .3s, box-shadow .3s;
}
.team-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(37,99,235,.10);
}
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--accent-dim); border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: .85rem; color: var(--accent);
  margin: 0 auto 1.5rem;
}
.team-card h3 { font-family: var(--font-disp); font-size: 1.25rem; font-weight: 500; color: var(--text); }
.team-role { font-size: .7rem; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; margin: .35rem 0 .9rem; font-family: var(--font-mono); }
.team-bio { font-size: .83rem; color: var(--text-2); line-height: 1.7; }

/* ── Stats row ── */
.stats-row {
  display: flex; gap: 0; flex-wrap: wrap;
  border: 1px solid var(--rule-mid); border-radius: 12px;
  overflow: hidden; margin-top: 2rem;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(10,22,40,.05);
}
.stat-item {
  flex: 1; min-width: 180px; padding: 2.5rem 2rem;
  border-right: 1px solid var(--rule); text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-val {
  font-family: var(--font-disp); font-size: 2.6rem;
  font-weight: 500; color: var(--accent); display: block;
}
.stat-lbl { font-size: .68rem; color: var(--text-3); letter-spacing: .1em; text-transform: uppercase; margin-top: .4rem; font-family: var(--font-mono); }

/* ── Comparison table ── */
.comp-table {
  border: 1px solid var(--rule-mid); border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(10,22,40,.05);
}
.comp-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  border-bottom: 1px solid var(--rule);
  transition: background .2s;
}
.comp-row:last-child { border-bottom: none; }
.comp-row:not(.comp-head):hover { background: var(--off-white); }
.comp-head { background: var(--navy); }
.comp-cell {
  padding: 1.1rem 1.8rem; font-size: .85rem;
  color: var(--text-2); display: flex; align-items: center;
}
.comp-head .comp-cell {
  font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.comp-cell:not(:first-child) { justify-content: center; border-left: 1px solid var(--rule); }
.comp-head .comp-cell:not(:first-child) { border-left-color: rgba(255,255,255,.07); }
.comp-yes { color: var(--accent) !important; font-weight: 600; }
.comp-no { color: var(--text-3) !important; }

/* ── Pricing cards ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.price-card {
  padding: 2.8rem 2.2rem;
  background: var(--white);
  border: 1px solid var(--rule-mid);
  border-radius: 12px; position: relative;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  opacity: 0; transform: translateY(16px);
  animation: cardReveal .6s var(--ease-out) var(--d,0s) forwards;
}
.price-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(37,99,235,.12);
  transform: translateY(-4px);
}
.price-card.featured {
  border-color: var(--accent) !important;
  background: var(--navy) !important;
  box-shadow: 0 16px 48px rgba(37,99,235,.18);
}
.price-card.featured .price-tier,
.price-card.featured .price-amount,
.price-card.featured .price-desc,
.price-card.featured .price-list li { color: var(--text-inv) !important; }
.price-card.featured .price-list { border-color: rgba(255,255,255,.12) !important; }
.price-card.featured .price-list li { border-bottom-color: rgba(255,255,255,.08) !important; }
.price-card.featured .price-list .no { color: rgba(255,255,255,.3) !important; }
.price-card.featured .price-period { color: rgba(255,255,255,.5) !important; }

.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: .6rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--accent);
  padding: .3rem .9rem; border-radius: 20px;
  white-space: nowrap;
}
.price-tier {
  font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.2rem;
}
.price-card.featured .price-tier { color: var(--accent-2) !important; }
.price-amount {
  font-family: var(--font-disp); font-size: 3.5rem;
  font-weight: 400; color: var(--text); line-height: 1;
}
.price-period { font-size: .8rem; color: var(--text-3); margin-left: .2rem; }
.price-desc { font-size: .83rem; color: var(--text-2); margin: 1rem 0 2rem; line-height: 1.7; }
.price-list { list-style: none; padding: 0; margin-bottom: 2.5rem; }
.price-list li {
  font-size: .83rem; color: var(--text-2);
  padding: .6rem 0; border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; gap: .6rem;
}
.price-list li:last-child { border-bottom: none; }
.price-list .yes { color: var(--accent); font-size: .75rem; font-weight: 600; }
.price-list .no { color: var(--text-3); font-size: .75rem; }

/* ── FAQ ── */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.faq-item {
  padding: 2rem 2rem 2rem 2rem;
  background: var(--white); border: 1px solid var(--rule-mid);
  border-radius: 12px;
  transition: border-color .3s, box-shadow .3s;
  position: relative;
}
.faq-item::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0; background: var(--accent);
  border-radius: 3px 0 0 3px;
  transition: height .3s var(--ease-out);
}
.faq-item:hover { border-color: var(--accent); }
.faq-item:hover::before { height: 100%; }
.faq-item h3 {
  font-family: var(--font-disp); font-size: 1.1rem;
  font-weight: 500; color: var(--text); margin-bottom: .7rem;
}
.faq-item p { font-size: .85rem; color: var(--text-2); line-height: 1.75; }

/* ── CTA block ── */
.page-cta {
  text-align: center; padding: 8rem 2.5rem;
  background: var(--navy); position: relative; overflow: hidden;
}
.page-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(37,99,235,.15) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 20% 50%, rgba(37,99,235,.08) 0%, transparent 55%);
  pointer-events: none;
}
.page-cta > * { position: relative; z-index: 1; }
.page-cta h2 {
  font-family: var(--font-disp);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400; color: var(--text-inv); margin-bottom: 1rem;
}
.page-cta p { color: var(--text-inv-2); font-size: 1rem; max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.75; }
.page-cta-actions { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .mission-block { grid-template-columns: 1fr; gap: 2.5rem; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .tl-item { grid-template-columns: 80px 1fr; gap: 1.5rem; }
}
@media (max-width: 640px) {
  .page-hero { padding-bottom: 3rem; }
  .page-section { padding: 4rem 1.5rem; }
  .comp-row { grid-template-columns: 1fr; }
  .comp-cell:not(:first-child) { border-left: none; border-top: 1px solid var(--rule); }
  .stats-row { flex-direction: column; border-radius: 8px; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--rule); }
  .stat-item:last-child { border-bottom: none; }
}