/* MyMortgageOwl Loan Officer Co-Branding Styles */
:root {
  --lo-primary: #2D6A4F;
  --lo-dark: #0F2417;
  --lo-light: #F0FAF2;
  --lo-border: #D4E8DA;
  --lo-accent: #6EE49A;
  --lo-text: #1A4731;
}

/* Preview Mode Banner */
.lo-preview-banner {
  background: #FFF3CD;
  color: #664D03;
  border-bottom: 2px solid #FFECB5;
  padding: 10px 16px;
  text-align: center;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* LO Header */
.lo-header {
  background: #fff;
  border-bottom: 1.5px solid var(--lo-border);
  padding: 16px 20px;
  box-shadow: 0 4px 16px rgba(15, 36, 23, 0.05);
}
.lo-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.lo-profile-col {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lo-avatar-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  background: #E8F0EC;
  border: 2px solid var(--lo-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lo-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lo-avatar-placeholder {
  width: 32px;
  height: 32px;
  color: #7A9A8A;
}
.lo-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lo-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.lo-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--lo-dark);
}
.lo-brokerage {
  font-size: 0.92rem;
  color: #4A6358;
  font-weight: 600;
}
.lo-nmls-row {
  font-size: 0.8rem;
  color: #557265;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.lo-verify-link {
  color: var(--lo-primary);
  text-decoration: underline;
  font-weight: 600;
}
.lo-service-line {
  font-size: 0.8rem;
  color: #6C8277;
}

.lo-action-col {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lo-call-btn {
  background: var(--lo-primary);
  color: #fff !important;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.2);
}
.lo-call-btn:hover {
  background: #1D4D37;
  transform: translateY(-1px);
}

/* Trust Badge */
.lo-trust-badge {
  background: #fff;
  border: 1.5px solid var(--lo-border);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 18px 0;
  box-shadow: 0 4px 12px rgba(26, 71, 49, 0.04);
}
.lo-trust-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--lo-dark);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.lo-trust-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lo-trust-bullets li {
  font-size: 0.9rem;
  color: #2F4F3F;
  line-height: 1.45;
  position: relative;
  padding-left: 22px;
}
.lo-trust-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2D6A4F;
  font-weight: 900;
}
.lo-how-toggle {
  font-size: 0.85rem;
  color: var(--lo-primary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-weight: 700;
  text-decoration: underline;
  text-align: left;
}
.lo-how-box {
  background: var(--lo-light);
  border: 1px dashed var(--lo-border);
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #1A4731;
}

/* "What Happens on Other Sites" Comparison Box */
.lo-compare-box {
  background: #FAF8F5;
  border: 1.5px solid #E6D8C8;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 24px 0;
}
.lo-compare-title {
  font-weight: 800;
  color: #6C4214;
  font-size: 1.05rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lo-compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lo-compare-list li {
  font-size: 0.92rem;
  line-height: 1.45;
  color: #4A3A2A;
  padding-left: 24px;
  position: relative;
}
.lo-compare-list li.bad::before {
  content: "⚠️";
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}
.lo-compare-list li.good {
  color: #1A4731;
  font-weight: 700;
}
.lo-compare-list li.good::before {
  content: "🛡️";
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}

/* Sticky / Floating Talk to LO Bar */
.lo-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0F2417;
  color: #fff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 998;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
  border-top: 2px solid var(--lo-accent);
}
.lo-sticky-content {
  display: flex;
  flex-direction: column;
}
.lo-sticky-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}
.lo-sticky-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
}
.lo-sticky-cta {
  background: var(--lo-accent);
  color: #0F2417 !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 8px 18px;
  border-radius: 8px;
  white-space: nowrap;
}

/* Reviews Box */
.lo-review-row {
  margin: 14px 0;
  font-size: 0.92rem;
}
.lo-review-link {
  color: var(--lo-primary);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lo-review-link:hover {
  text-decoration: underline;
}

/* LO FAQ Section */
.lo-faq-section {
  margin: 32px 0;
  background: #fff;
  border: 1.5px solid var(--lo-border);
  border-radius: 14px;
  padding: 24px;
}
.lo-faq-title {
  font-size: 1.3rem;
  color: var(--lo-dark);
  font-weight: 800;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--lo-border);
  padding-bottom: 8px;
}
.lo-faq-item {
  margin-bottom: 14px;
}
.lo-faq-q {
  font-weight: 800;
  font-size: 0.98rem;
  color: #1A4731;
  margin-bottom: 4px;
}
.lo-faq-a {
  font-size: 0.9rem;
  color: #4A6358;
  line-height: 1.5;
}

/* LO Compliance Footer */
.lo-footer {
  background: #0B1A11;
  color: rgba(255,255,255,0.85);
  padding: 36px 20px 80px;
  font-size: 0.82rem;
  line-height: 1.6;
  border-top: 3px solid var(--lo-primary);
}
.lo-footer-inner {
  max-width: 900px;
  margin: 0 auto;
}
.lo-footer-ehl {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 12px;
}
.lo-footer-ehl svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.lo-footer-disclaimer {
  color: rgba(255,255,255,0.72);
  margin-bottom: 14px;
}
.lo-footer-meta {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
}
.lo-footer-meta a {
  color: var(--lo-accent);
  text-decoration: underline;
}

@media (max-width: 680px) {
  .lo-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .lo-action-col {
    width: 100%;
  }
  .lo-call-btn {
    width: 100%;
    justify-content: center;
  }
}
