/* Dominionheirs Solutions LLC - .com Site Styles */
/* Based on dominionheirssolutions.net design */

:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --gold: #c5a059;
  --gold-light: #d4af37;
  --white: #ffffff;
  --light-gray: #f8fafc;
  --gray: #64748b;
  --dark-gray: #334155;
  --border: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--white);
  color: #1e293b;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  z-index: 100;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #1a1a1a;
}

.nav-logo-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: #1e293b !important;
  color: var(--gold) !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1920&q=80') center/cover no-repeat;
  padding: 6rem 2rem 4rem;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero h1 .gold-text {
  color: var(--gold);
}

.hero p {
  font-size: 1.15rem;
  color: var(--light-gray);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  padding: 0.85rem 2.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  border: 2px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-outline-gold {
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--gold);
  transition: all 0.2s;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-size: 0.95rem;
}

.hero-feature-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feature-check::after {
  content: '✓';
  color: var(--gold);
  font-size: 0.75rem;
}

/* ===== SECTION TITLE ===== */
.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 3rem;
}

/* ===== CREDIT REPAIR SECTION ===== */
.credit-section {
  padding: 6rem 0;
  background: var(--white);
}

.credit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.credit-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.credit-content .section-heading {
  color: var(--gold);
  font-size: 1.1rem;
  text-transform: none;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.credit-content p {
  font-size: 1.05rem;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.credit-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.credit-benefit {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--dark-gray);
}

.credit-benefit-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.credit-benefit-check::after {
  content: '✓';
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
}

.credit-card {
  background: var(--navy);
  border-radius: 1rem;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.credit-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.1), transparent);
  border-radius: 50%;
}

.credit-card h3 {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.credit-card p {
  color: var(--light-gray);
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* ===== BUSINESS FUNDING SECTION ===== */
.funding-section {
  padding: 6rem 0;
  background: var(--light-gray);
}

.funding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.funding-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.funding-content .section-heading {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.funding-content p {
  font-size: 1.05rem;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.funding-types {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.funding-type {
  background: var(--white);
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.funding-type:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.funding-disclaimer {
  font-size: 0.8rem !important;
  color: var(--gray) !important;
  font-style: italic;
}

.funding-card {
  background: var(--navy);
  border-radius: 1rem;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.funding-card::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -30%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.1), transparent);
  border-radius: 50%;
}

.funding-card h3 {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.funding-card p {
  color: var(--light-gray);
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* ===== WHY US SECTION ===== */
.why-section {
  padding: 6rem 0;
  background: var(--white);
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.why-card {
  text-align: center;
}

.why-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.why-card p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== STEPS SECTION ===== */
.steps-section {
  padding: 6rem 0;
  background: var(--navy);
  text-align: center;
}

.steps-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.steps-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
}

.step-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.footer {
  background: #0a0f1e;
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact p,
.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: block;
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-disclaimer {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 2rem 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* ===== CHAT BUBBLE ===== */
.chat-bubble {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.4);
  transition: transform 0.2s;
}

.chat-bubble:hover {
  transform: scale(1.1);
}

.chat-bubble svg {
  width: 28px;
  height: 28px;
  fill: var(--navy);
}

/* ===== SUB-PAGE HERO ===== */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95)), url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1920&q=80') center/cover no-repeat;
  padding: 8rem 2rem 3rem;
}

.page-hero h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--gold);
}

/* ===== CONTENT CARD ===== */
.content-card {
  max-width: 900px;
  margin: -3rem auto 0;
  background: var(--white);
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 10;
}

.content-card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.content-card h3 {
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
  color: var(--navy);
}

.content-card p {
  font-size: 1rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.content-card .benefit-list {
  list-style: none;
  margin: 1.5rem 0;
}

.content-card .benefit-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--dark-gray);
}

.content-card .benefit-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.content-card .funding-types-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.content-card .funding-types-list li {
  background: var(--light-gray);
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  list-style: none;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--navy);
  border: 1px solid var(--border);
}

.content-card .disclaimer {
  font-size: 0.85rem;
  color: var(--gray);
  font-style: italic;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.cta-section {
  text-align: center;
  margin-top: 2.5rem;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.legal-content .last-updated {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  color: var(--navy);
}

.legal-content p {
  font-size: 1rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content a {
  color: var(--gold);
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-features {
    grid-template-columns: 1fr;
  }
  .credit-grid,
  .funding-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .content-card .funding-types-list {
    grid-template-columns: 1fr 1fr;
  }
  .credit-benefits {
    grid-template-columns: 1fr;
  }
  .funding-types {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn-gold, .btn-outline-gold {
    width: 100%;
    text-align: center;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .content-card .funding-types-list {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
