/* ══════════════════════════════════════════════
   ABOUTUS.CSS — exclusive styles for aboutus.html
   Depends on: base.css, nav.css, footer.css, animations.css
   ══════════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #060d1f 0%, #0b1a35 45%, #0f1245 100%);
  color: #fff;
  padding: 80px 0 72px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 55% 40%, rgba(35,97,217,.14), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy { max-width: 640px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  color: rgba(255,255,255,.8);
}
.hero h1        { color: #fff; margin-bottom: 20px; }
.h1-accent      { color: #60a5fa; }
.hero-sub       { font-size: 18px; color: rgba(255,255,255,.65); line-height: 1.65; margin-bottom: 36px; max-width: 560px; }
.hero-ctas      { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── HERO RADAR ── */
.hero-radar-side {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 50px;
  background-color: #0d246738;
  border-radius: 50%;
}
.radar-wrap {
  width: 300px;
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(96,165,250,.18);
}
.rr1 { width: 300px; height: 300px; border-color: rgba(96,165,250,.09); }
.rr2 { width: 214px; height: 214px; border-color: rgba(96,165,250,.18); }
.rr3 { width: 130px; height: 130px; border-color: rgba(96,165,250,.32); }

.radar-sweep {
  position: absolute;
  top: 0; left: 0;
  width: 300px; height: 300px;
  border-radius: 50%;
  animation: radarSpin 4s linear infinite;
  overflow: hidden;
}
.radar-orbit {
  position: absolute;
  border-radius: 50%;
}
.ro1 { width: 300px; height: 300px; animation: radarSpin 18s linear infinite; }
.ro2 { width: 214px; height: 214px; animation: radarSpinR 12s linear infinite; }
.ro3 { width: 130px; height: 130px; animation: radarSpin 7s linear infinite; }

@keyframes radarSpin  { from { transform: rotate(0deg); }   to { transform: rotate(360deg); } }
@keyframes radarSpinR { from { transform: rotate(0deg); }   to { transform: rotate(-360deg); } }

.radar-pip {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #2361D9;
  border: 2px solid #60a5fa;
}
.radar-pip-sm {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(96,165,250,.65);
}
.pip-top   { top: -5px;  left: 50%; transform: translateX(-50%); }
.pip-right { top: 50%;   right: -5px; transform: translateY(-50%); }

.radar-core {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(35,97,217,.35);
  border: 1.5px solid rgba(96,165,250,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
}
.radar-core-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #60a5fa;
  animation: radarCorePulse 2.8s ease-in-out infinite;
}
@keyframes radarCorePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}

.radar-labels {
  position: absolute;
  width: 300px; height: 300px;
  top: 0; left: 0;
  pointer-events: none;
}
.rl {
  position: absolute;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.4);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rl-top    { top: -20px;  left: 50%;   transform: translateX(-50%); }
.rl-right  { top: 50%;    right: -82px; transform: translateY(-50%); }
.rl-bottom { bottom: -20px; left: 50%; transform: translateX(-50%); }
.rl-left   { top: 50%;    left: -74px; transform: translateY(-50%); }


/* ── ORIGIN STORY ── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.story-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 16px;
}
.story-body { display: flex; flex-direction: column; gap: 18px; }
.story-body h2 { margin-bottom: 0; }
.story-body p  { font-size: 17px; line-height: 1.75; color: var(--g600); }
.story-pull {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  border-left: 4px solid var(--blue);
  padding-left: 20px;
}
.story-visual {
  background: linear-gradient(135deg, #eff6ff, #eef2ff);
  border: 1px solid var(--blue-bd);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.story-stat-big {
  text-align: center;
  padding: 24px;
  background: #fff;
  border-radius: var(--r3);
  box-shadow: var(--shxl);
}
.story-stat-big .val { font-size: 52px; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 6px; }
.story-stat-big .val span { color: var(--blue); }
.story-stat-big .lbl { font-size: 14px; color: var(--g500); line-height: 1.5; }
.story-stat-row { display: flex; flex-wrap: wrap; gap: 12px; }
.story-mini-stat {
  text-align: center;
  padding: 16px;
  background: #fff;
  border-radius: var(--r);
  border: 1px solid var(--blue-bd);
  flex: 1;
}
.story-mini-stat .v { font-size: 24px; font-weight: 800; color: var(--navy); }
.story-mini-stat .l { font-size: 12px; color: var(--g400); margin-top: 3px; }

/* ── MORTGAGE DNA ── */
.dna-section { overflow: hidden; }
.badge-dna {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(35,97,217,.2);
  color: #60a5fa;
  border: 1px solid rgba(35,97,217,.3);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}
.dna-items   { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.dna-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 16px 18px;
  transition: border-color .2s, opacity 0.6s ease, transform 0.6s ease;
}
.dna-item:hover { border-color: rgba(255,255,255,.15); }
.dna-ico {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: rgba(35,97,217,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dna-body strong { display: block; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.dna-body span   { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.5; }
.dna-quote {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r3);
  padding: 32px;
  position: relative;
}
.dna-quote::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 24px;
  font-size: 80px;
  color: rgba(35,97,217,.35);
  line-height: 1;
  font-family: Georgia, serif;
}
.dna-quote p    { font-size: 18px; color: rgba(255,255,255,.75); line-height: 1.7; font-style: italic; margin-bottom: 20px; margin-top: 12px; }
.dna-quote-auth strong { font-size: 14px; color: #fff; display: block; }
.dna-quote-auth span   { font-size: 13px; color: rgba(255,255,255,.4); }

/* DNA */
.dna-quote-top {
  margin-bottom: 28px;
  border-color: rgba(35,97,217,.3);
}
.dna-quote-top p {
  font-size: 18px;
}
.dna-items-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 0;
}

/* ── VALUES ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: var(--r3);
  padding: 32px 28px;
  border-top: 4px solid transparent;
  transition: box-shadow .2s, transform .2s, opacity 0.6s ease;
}
.value-card:hover { box-shadow: var(--shxl); transform: translateY(-3px); }
.value-card.v-blue   { border-top-color: var(--blue); }
.value-card.v-purple { border-top-color: var(--purple); }
.value-card.v-green  { border-top-color: var(--green); }
.value-card.v-orange { border-top-color: var(--orange); }
.value-card.v-amber  { border-top-color: var(--amber); }
.value-card.v-navy   { border-top-color: var(--navy); }
.value-ico  { margin-bottom: 16px; display: flex; }
.value-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.value-card p  { font-size: 14px; color: var(--g500); line-height: 1.65; }

/* ── TEAM ── */
.team-section {
  background: linear-gradient(135deg, #060d1f 0%, #0b1a35 45%, #0f1245 100%);
  position: relative;
  overflow: hidden;
}
.team-inner { position: relative; z-index: 1; }
.team-section .sec-head h2 { color: #fff; }
.team-section .sec-head p  { color: rgba(255,255,255,.55); }
.team-section .sec-head .badge { background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.15); }
.team-section .sec-head .badge .mi { color: rgba(255,255,255,.7); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.team-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r3);
  overflow: hidden;
  transition: border-color .2s, transform .2s, opacity 0.6s ease;
}
.team-card:hover { border-color: rgba(255,255,255,.2); transform: translateY(-3px); }
.team-avatar {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-body { padding: 24px 22px; }
.team-name { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.team-role { font-size: 13px; font-weight: 600; color: #60a5fa; margin-bottom: 12px; }
.team-body .team-bio { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.65; margin-bottom: 16px; }
.team-links { display: flex; gap: 8px; }
.team-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.55);
  font-size: 13px;
  font-weight: 700;
  transition: all .2s;
  text-decoration: none;
}
.team-link:hover { background: var(--blue); color: #fff; }

/* ── TIMELINE ── */
.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.timeline-items::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--purple));
}
.tl-item { display: flex; gap: 32px; padding-bottom: 40px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot-wrap { flex-shrink: 0; width: 56px; display: flex; justify-content: center; }
.tl-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--blue);
  background: #fff;
  margin-top: 4px;
  z-index: 1;
  position: relative;
  flex-shrink: 0;
}
.tl-dot.filled { background: var(--blue); }
.tl-year       { font-size: 11px; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.tl-item-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.tl-item-desc  { font-size: 14px; color: var(--g500); line-height: 1.65; }
.tl-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--blue-lt);
  color: var(--blue);
  border: 1px solid var(--blue-bd);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  margin-top: 8px;
}

/* ── STATS BAND ── */
.stats-band { background: var(--blue); color: #fff; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.stat-item {
  padding: 40px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat-item:last-child { border-right: none; }
.stat-val { font-size: 42px; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.stat-lbl { font-size: 13px; color: rgba(255,255,255,.7); }

/* ── JOIN US ── */
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.join-card {
  border: 1.5px solid var(--g200);
  border-radius: var(--r3);
  padding: 32px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s, opacity 0.6s ease, transform 0.6s ease;
}
.join-card:hover { border-color: var(--blue-bd); box-shadow: var(--shxl); }
.join-dept  { font-size: 11px; font-weight: 700; color: var(--g400); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.join-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.join-card p  { font-size: 14px; color: var(--g500); line-height: 1.6; margin-bottom: 20px; }
.join-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.join-tag  { font-size: 11px; font-weight: 600; background: var(--g100); color: var(--g600); padding: 4px 10px; border-radius: 100px; }
.join-footer { text-align: center; margin-top: 32px; }
.join-footer p { font-size: 15px; color: var(--g500); margin-bottom: 16px; }

/* ── CTA ── */
.cta-sec {
  background: linear-gradient(135deg, var(--navy), #1e3a8a, #1a1040);
  color: #fff;
  text-align: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-sec::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35,97,217,.15), transparent 65%);
  pointer-events: none;
}
.cta-sec h2       { color: #fff; font-size: clamp(32px,5vw,52px); margin-bottom: 8px; position: relative; }
.cta-sec .cta-sub { color: #60a5fa; font-size: clamp(24px,3.5vw,38px); font-weight: 700; margin-bottom: 16px; position: relative; }
.cta-sec .cta-tagline { color: rgba(255,255,255,.5); font-size: 16px; margin-bottom: 40px; font-style: italic; position: relative; }
.cta-btn-wrap { position: relative; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-grid   { grid-template-columns: 1fr; }
  .hero-radar-side { display: none; }
  .story-grid  { grid-template-columns: 1fr; }
  .dna-items-row { grid-template-columns: 1fr; }
  .team-grid   { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid  { grid-template-columns: repeat(3, 1fr); }
  .join-grid   { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .team-grid   { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}