/* Loan Officer bio page (Todd Harrington / Christa Lopera) styles.
   Everything is scoped under .lo-page so nothing here can leak into
   the rest of the site (header/footer/other pages use their own CSS). */

.lo-page {
  --navy: #0B2545;
  --navy-mid: #1A3A6B;
  --gold: #C9974B;
  --gold-light: #E8B96A;
  --cream: #FAF7F2;
  --cream-border: #EAE5DC;
  --charcoal: #2C3240;
  --muted: #6B7280;
  --white: #FFFFFF;

  font-family: 'DM Sans', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.lo-page *, .lo-page *::before, .lo-page *::after {
  box-sizing: border-box;
}

.lo-page ul, .lo-page ol { margin: 0; padding: 0; list-style: none; }
.lo-page h1, .lo-page h2, .lo-page h3, .lo-page h4, .lo-page h5, .lo-page h6, .lo-page p { margin: 0; }

/* ─── BREADCRUMB ─── */
.lo-page .breadcrumb { background: var(--cream); border-bottom: 1px solid var(--cream-border); padding: 12px 0; margin-bottom: 0; }
.lo-page .breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.lo-page .breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.15s; }
.lo-page .breadcrumb a:hover { color: var(--navy); }
.lo-page .breadcrumb-sep { color: #C9AF8E; font-size: 16px; }
.lo-page .breadcrumb-current { color: var(--navy); font-weight: 500; }

/* ─── PROFILE HERO ─── */
.lo-page .profile-hero { background: var(--navy); padding: 60px 0 0; position: relative; overflow: hidden; }
.lo-page .profile-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 85% 40%, rgba(201,151,75,0.1) 0%, transparent 55%); pointer-events: none; }
.lo-page .profile-hero-inner { position: relative; z-index: 2; }

.lo-page .photo-col { display: flex; flex-direction: column; align-items: center; margin-bottom: 24px; }
.lo-page .photo-frame { width: 260px; height: 300px; border-radius: 16px 16px 0 0; overflow: hidden; border: 3px solid rgba(201,151,75,0.35); border-bottom: none; position: relative; }
.lo-page .photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.lo-page .photo-frame-placeholder { width: 260px; height: 300px; background: var(--navy-mid); border-radius: 16px 16px 0 0; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 64px; font-weight: 700; color: var(--gold-light); }

.lo-page .profile-info { padding-bottom: 40px; }
.lo-page .profile-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,151,75,0.15); border: 1px solid rgba(201,151,75,0.3); color: var(--gold-light); font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; padding: 5px 12px; border-radius: 4px; margin-bottom: 20px; }
.lo-page .profile-name { font-family: 'Playfair Display', serif; font-size: clamp(32px, 4.5vw, 54px); font-weight: 700; color: var(--white); line-height: 1.1; letter-spacing: -1px; margin-bottom: 8px; }
.lo-page .profile-title { font-size: 17px; font-weight: 400; color: rgba(255,255,255,0.65); margin-bottom: 24px; }
.lo-page .profile-title strong { color: var(--gold-light); font-weight: 600; }

.lo-page .cred-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.lo-page .cred-badge { display: flex; align-items: center; gap: 7px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: 6px; }
.lo-page .cred-badge svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.lo-page .cred-badge img { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }

.lo-page .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.lo-page .btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--navy); text-decoration: none; font-weight: 600; font-size: 14px; padding: 12px 24px; border-radius: 6px; transition: background 0.18s, transform 0.15s; white-space: nowrap; }
.lo-page .btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.lo-page .btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--white); text-decoration: none; font-weight: 500; font-size: 14px; padding: 12px 24px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.3); transition: background 0.18s; white-space: nowrap; }
.lo-page .btn-secondary:hover { background: rgba(255,255,255,0.08); }
.lo-page .btn-secondary svg, .lo-page .btn-primary svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.lo-page .hero-stat-strip { background: rgba(0,0,0,0.25); border-top: 1px solid rgba(255,255,255,0.08); margin-top: 40px; }
.lo-page .stat-strip-inner { display: flex; flex-wrap: wrap; }
.lo-page .stat-item { flex: 1; min-width: 33%; padding: 20px 12px; text-align: center; border-right: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); }
.lo-page .stat-num { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--gold-light); line-height: 1; display: block; }
.lo-page .stat-lbl { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 4px; display: block; }

/* ─── MAIN LAYOUT (Bootstrap row/col handles the content/sidebar split) ─── */
.lo-page .page-body { padding-top: 56px; padding-bottom: 56px; }

.lo-page .section-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.lo-page .content-title { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 16px; }
.lo-page .content-body { font-size: 15px; color: var(--charcoal); line-height: 1.8; margin-bottom: 16px; }

.lo-page .bio-section { margin-bottom: 48px; }
.lo-page .bio-intro { font-size: 18px; font-style: italic; font-family: 'Playfair Display', serif; color: var(--navy); line-height: 1.65; margin-bottom: 24px; padding-left: 20px; border-left: 3px solid var(--gold); }

.lo-page .veteran-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(11,37,69,0.06); border: 1px solid rgba(11,37,69,0.12); border-radius: 8px; padding: 12px 18px; margin-bottom: 24px; }
.lo-page .veteran-badge svg { width: 20px; height: 20px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.lo-page .veteran-badge span { font-size: 13px; font-weight: 600; color: var(--navy); }

.lo-page .expertise-section { margin-bottom: 48px; }
.lo-page .expertise-item { display: flex; align-items: flex-start; gap: 12px; background: var(--cream); border: 1px solid var(--cream-border); border-radius: 10px; padding: 16px; height: 100%; }
.lo-page .expertise-icon { width: 36px; height: 36px; background: var(--navy); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lo-page .expertise-icon svg { width: 18px; height: 18px; stroke: var(--gold-light); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lo-page .expertise-icon img { width: 36px; height: 36px; object-fit: contain; }
.lo-page .expertise-item h4 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.lo-page .expertise-item p { font-size: 13px; color: var(--muted); line-height: 1.5; }

.lo-page .reviews-section { margin-bottom: 48px; }
.lo-page .review-card { background: var(--white); border: 1px solid var(--cream-border); border-radius: 12px; padding: 24px; margin-bottom: 16px; position: relative; }
.lo-page .review-card::before { content: '\201C'; font-family: 'Playfair Display', serif; font-size: 56px; line-height: 1; color: var(--gold); opacity: 0.2; position: absolute; top: 12px; left: 18px; }
.lo-page .review-stars { display: flex; gap: 2px; margin-bottom: 12px; }
.lo-page .review-stars svg { width: 14px; height: 14px; fill: var(--gold); }
.lo-page .review-text { font-size: 15px; color: var(--charcoal); line-height: 1.75; margin-bottom: 14px; font-style: italic; padding-left: 4px; }
.lo-page .review-author { display: flex; align-items: center; gap: 10px; }
.lo-page .review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--gold-light); font-family: 'Playfair Display', serif; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lo-page .review-author-name { font-size: 13px; font-weight: 600; color: var(--navy); }
.lo-page .review-author-source { font-size: 12px; color: var(--muted); }
.lo-page .review-source-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--muted); background: var(--cream); border: 1px solid var(--cream-border); padding: 3px 10px; border-radius: 4px; margin-left: auto; }

.lo-page .process-section { margin-bottom: 48px; }
.lo-page .process-steps { display: flex; flex-direction: column; gap: 0; margin-top: 20px; }
.lo-page .process-step { display: flex; gap: 20px; align-items: flex-start; position: relative; padding-bottom: 28px; }
.lo-page .process-step:last-child { padding-bottom: 0; }
.lo-page .process-step::before { content: ''; position: absolute; left: 17px; top: 38px; bottom: 0; width: 1px; background: var(--cream-border); }
.lo-page .process-step:last-child::before { display: none; }
.lo-page .step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--gold-light); font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lo-page .step-body h4 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.lo-page .step-body p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.lo-page .section-divider { border: none; border-top: 1px solid var(--cream-border); margin: 40px 0; }

/* ─── SIDEBAR ─── */
.lo-page .sidebar { display: flex; flex-direction: column; gap: 20px; }
.lo-page .sidebar-card { background: var(--white); border: 1px solid var(--cream-border); border-radius: 14px; overflow: hidden; }
.lo-page .sidebar-card-header { background: var(--navy); padding: 16px 20px; }
.lo-page .sidebar-card-header h3 { font-size: 14px; font-weight: 600; color: var(--white); }
.lo-page .sidebar-card-body { padding: 20px; }

.lo-page .contact-actions { display: flex; flex-direction: column; gap: 10px; }
.lo-page .contact-btn { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14px; transition: background 0.18s, transform 0.15s; }
.lo-page .contact-btn:hover { transform: translateY(-1px); }
.lo-page .contact-btn-primary { background: var(--gold); color: var(--navy); }
.lo-page .contact-btn-primary:hover { background: var(--gold-light); }
.lo-page .contact-btn-navy { background: var(--navy); color: var(--white); }
.lo-page .contact-btn-navy:hover { background: var(--navy-mid); }
.lo-page .contact-btn-outline { background: var(--cream); color: var(--navy); border: 1px solid var(--cream-border); }
.lo-page .contact-btn-outline:hover { background: #F0EBE0; }
.lo-page .contact-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.lo-page .cred-list { display: flex; flex-direction: column; gap: 12px; }
.lo-page .cred-item { display: flex; align-items: flex-start; gap: 12px; }
.lo-page .cred-check { width: 22px; height: 22px; border-radius: 50%; background: rgba(11,37,69,0.07); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.lo-page .cred-check svg { width: 12px; height: 12px; stroke: var(--navy); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lo-page .cred-item-text { font-size: 13px; color: var(--charcoal); line-height: 1.4; }
.lo-page .cred-item-text strong { font-weight: 600; color: var(--navy); display: block; }

.lo-page .rating-display { text-align: center; padding: 8px 0 16px; }
.lo-page .rating-number { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 700; color: var(--navy); line-height: 1; }
.lo-page .rating-stars { display: flex; justify-content: center; gap: 4px; margin: 8px 0 10px; }
.lo-page .rating-stars svg { width: 18px; height: 18px; fill: var(--gold); }
.lo-page .rating-note { font-size: 12px; color: var(--muted); }
.lo-page .rating-platforms { border-top: 1px solid var(--cream-border); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.lo-page .rating-platform { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.lo-page .platform-name { color: var(--charcoal); font-weight: 500; }
.lo-page .platform-stars { display: flex; gap: 2px; }
.lo-page .platform-stars svg { width: 11px; height: 11px; fill: var(--gold); }

.lo-page .areas-list { display: flex; flex-wrap: wrap; gap: 7px; }
.lo-page .area-tag { font-size: 12px; font-weight: 500; color: var(--navy-mid); background: rgba(11,37,69,0.07); padding: 4px 10px; border-radius: 4px; }

/* ─── BOTTOM CTA ─── */
.lo-page .bottom-cta { background: var(--navy); padding: 56px 0; position: relative; overflow: hidden; }
.lo-page .bottom-cta::before { content: ''; position: absolute; top: -60px; right: -60px; width: 280px; height: 280px; border: 1px solid rgba(201,151,75,0.1); border-radius: 50%; pointer-events: none; }
.lo-page .cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.lo-page .cta-text .section-label { color: var(--gold-light); }
.lo-page .cta-text h2 { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; color: var(--white); margin: 8px 0 12px; line-height: 1.2; }
.lo-page .cta-text p { font-size: 16px; color: rgba(255,255,255,0.6); max-width: 480px; }
.lo-page .cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

@media (max-width: 767px) {
  .lo-page .profile-name { font-size: 32px; }
  .lo-page .stat-item { min-width: 50%; }
  .lo-page .cta-inner { flex-direction: column; align-items: flex-start; }
}
