/* ============================================
   LifeScope Wealth — Main Stylesheet
   Brand: Navy #152a45 | Gold #c5ad6b
   ============================================ */

:root {
  --navy: #152a45;
  --navy-light: #1e3a5c;
  --navy-dark: #0e1d30;
  --gold: #c5ad6b;
  --gold-light: #e8dfc8;
  --gold-hover: #b89d5a;
  --cream: #faf9f6;
  --white: #ffffff;
  --text: #2d3748;
  --text-light: #5a6b7e;
  --border: #e8ecf1;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text); line-height: 1.6; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-hover); }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--navy); line-height: 1.3; }
h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: 0.5rem; }
p { margin-bottom: 0.75rem; font-size: 1rem; }

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 44px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--gold); }
.section--navy p { color: rgba(255,255,255,0.85); }

/* Header / Navigation */
.header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-height); background: var(--white); border-bottom: 1px solid var(--border); z-index: 1000; transition: box-shadow 0.3s; }
.header--scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 50px; width: auto; }
.logo-text { font-family: var(--font-serif); font-size: 1.3rem; color: var(--navy); font-weight: 700; }
.logo-text span { display: block; font-size: 0.7rem; font-family: var(--font-sans); font-weight: 400; color: var(--text-light); letter-spacing: 1px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 20px; }
.nav a { font-size: 0.88rem; color: var(--text); font-weight: 500; transition: color 0.3s; }
.nav-right { gap: 10px !important; }
.nav-right a.btn { padding: 10px 20px; font-size: 0.85rem; }
.nav a:hover { color: var(--gold); }
.nav .dropdown { position: relative; }
.nav .dropdown-menu { display: none; position: absolute; top: 100%; left: -16px; background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 12px 0; min-width: 240px; box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.nav .dropdown:hover .dropdown-menu { display: block; }
.nav .dropdown-menu a { display: block; padding: 8px 20px; font-size: 0.85rem; }
.nav .dropdown-menu a:hover { background: var(--cream); }

.btn { display: inline-block; padding: 12px 28px; border-radius: 6px; font-weight: 600; font-size: 0.9rem; transition: all 0.3s; cursor: pointer; border: none; text-align: center; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-hover); color: var(--navy); transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-light); color: var(--white); }
.btn--outline { background: transparent; border: 2px solid var(--gold); color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--navy); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--cream); color: var(--navy); }
.btn--large { padding: 16px 36px; font-size: 1rem; }

.nav-cta { margin-left: 8px; }

/* Mobile contact (visible only on mobile) */
.mobile-contact { display: none; }

/* Mobile menu */
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: all 0.3s; }

/* Hero Section */
.hero { padding: 120px 0 60px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: var(--white); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: linear-gradient(to bottom, transparent, rgba(21,42,69,0.3)); }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.2rem); max-width: 700px; }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 600px; margin-bottom: 1.5rem; line-height: 1.6; }
.hero .btn { margin-right: 12px; margin-bottom: 12px; }
.hero-phone { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 1rem; }
.hero-phone a { color: var(--gold-light); }
.hero-services a:hover { color: var(--gold) !important; padding-left: 6px !important; }

/* Trust Bar */
.trust-bar { background: var(--cream); padding: 20px 0; border-bottom: 1px solid var(--border); }
.trust-bar .container { display: flex; justify-content: center; align-items: center; gap: 32px; flex-wrap: wrap; }
.trust-bar span { font-size: 0.85rem; color: var(--navy); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }

/* Service Cards */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; margin-top: 2rem; }
.service-card { display: block; background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 24px 24px; transition: all 0.3s; cursor: pointer; text-decoration: none; }
.service-card:hover { border-color: var(--gold); box-shadow: 0 8px 30px rgba(197,173,107,0.12); transform: translateY(-3px); }
.service-card h3 { color: var(--navy); margin-bottom: 0.5rem; }
.service-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 1rem; }
.service-card .card-link { font-size: 0.85rem; font-weight: 600; color: var(--gold); }
.service-card:hover .card-link { color: var(--gold-hover); }

/* Features / Why Choose Us */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 1.5rem; }
.feature { text-align: center; padding: 24px; }
.feature-icon { width: 56px; height: 56px; background: rgba(197,173,107,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature p { font-size: 0.9rem; color: rgba(255,255,255,0.75); }

/* About/Bio Section */
.about-flex { display: flex; gap: 48px; align-items: center; }
.about-image { flex: 0 0 280px; }
.about-image .placeholder-img { width: 280px; height: 340px; background: var(--cream); border: 2px dashed var(--gold-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--text-light); font-size: 0.85rem; }
.about-content { flex: 1; }

/* CTA Section */
.cta-section { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); padding: 40px 0; text-align: center; color: var(--white); }
.cta-section h2 { color: var(--gold); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-phone { color: rgba(255,255,255,0.7); margin-top: 1rem; font-size: 0.9rem; }
.cta-phone a { color: var(--gold-light); }

/* Page Header (for inner pages) */
.page-header { padding: 110px 0 32px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: var(--white); }
.page-header h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-header p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; }
.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.breadcrumb a { color: var(--gold-light); }

/* Content Pages */
.content-section { padding: 32px 0; }
.content-section h2 { margin-top: 2rem; margin-bottom: 0.75rem; }
.content-section h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; color: var(--navy); font-size: 1.2rem; }
.content-section ul, .content-section ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.content-section li { margin-bottom: 0.5rem; }
.content-max { max-width: 780px; }

/* Who This Is For box */
.who-box { background: var(--cream); border-left: 4px solid var(--gold); padding: 24px 28px; border-radius: 0 8px 8px 0; margin: 2rem 0; }
.who-box h3 { margin-top: 0; }
.who-box ul { list-style: none; padding: 0; }
.who-box li { padding: 6px 0 6px 24px; position: relative; }
.who-box li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* Credentials grid */
.cred-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 1.5rem 0; }
.cred-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--cream); border-radius: 8px; font-size: 0.9rem; font-weight: 500; color: var(--navy); }
.cred-item::before { content: '★'; color: var(--gold); font-size: 1.1rem; }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 1.5rem; }
.value-card { padding: 20px; border-radius: 10px; border: 1px solid var(--border); }
.value-card h3 { color: var(--gold); font-size: 1.1rem; margin-bottom: 0.5rem; }

/* Process Steps */
.steps { counter-reset: step; margin: 2rem 0; }
.step { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.step::before { counter-increment: step; content: counter(step); flex: 0 0 48px; height: 48px; background: var(--navy); color: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; }
.step-content h3 { margin-top: 0; font-size: 1.1rem; }
.step-content p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0; }

/* Contact Form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-item { display: flex; gap: 12px; margin-bottom: 1.5rem; }
.contact-item strong { display: block; color: var(--navy); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.contact-item p { margin: 0; color: var(--text-light); }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.95rem; font-family: var(--font-sans); transition: border-color 0.3s; background: var(--white); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group { margin-bottom: 1.25rem; }
.contact-form textarea { min-height: 140px; resize: vertical; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
.blog-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all 0.3s; }
.blog-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-2px); }
.blog-card-img { height: 200px; background: var(--cream); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 0.85rem; }
.blog-card-body { padding: 24px; }
.blog-card-body .date { font-size: 0.8rem; color: var(--text-light); margin-bottom: 0.5rem; }
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.blog-card-body p { font-size: 0.9rem; color: var(--text-light); }

/* Footer */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 32px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 24px; }
.footer h4 { color: var(--gold); font-family: var(--font-serif); font-size: 1rem; margin-bottom: 1rem; }
.footer p { font-size: 0.85rem; line-height: 1.8; }
.footer a { color: rgba(255,255,255,0.7); font-size: 0.85rem; display: block; padding: 3px 0; }
.footer a:hover { color: var(--gold); }
.footer-grid > div:first-child p a { display: inline; padding: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.footer-bottom p { margin-bottom: 0.5rem; }
.footer-bottom a { display: inline; padding: 0; }

/* Placeholder images */
.placeholder-img { background: var(--cream); border: 2px dashed var(--gold-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--text-light); font-size: 0.85rem; min-height: 200px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  .nav { display: none; }
  .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .nav--open { display: flex; flex-direction: column; position: absolute; top: var(--header-height); left: 0; right: 0; background: var(--white); padding: 24px; border-bottom: 1px solid var(--border); box-shadow: 0 8px 30px rgba(0,0,0,0.1); gap: 16px; }
  .nav--open .dropdown-menu { display: block; position: static; box-shadow: none; border: none; padding: 8px 0 8px 16px; }
  .nav--open .nav-cta-mobile { display: block; margin-top: 8px; }

  .hero { padding: 110px 0 50px; }
  .hero h1 { font-size: 1.8rem; }

  .about-flex { flex-direction: column; gap: 24px; }
  .about-image { flex: none; }
  .about-image .placeholder-img { width: 200px; height: 240px; margin: 0 auto; }

  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar .container { gap: 16px; }
  .trust-bar span { font-size: 0.75rem; }
  .step { gap: 16px; }
  .cred-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .page-header { padding: 100px 0 28px; }
  .section { padding: 36px 0; }
  .nav--open .nav-right { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; margin-left: 0 !important; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
  .nav--open .nav-right .btn { width: 100%; text-align: center; }

  /* Show phone number in header on mobile (outside nav) */
  .mobile-contact { display: inline-block; font-size: 0.8rem; color: var(--navy); font-weight: 600; white-space: nowrap; margin-right: 8px; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero { padding: 100px 0 40px; }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 0.95rem; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 20px; }
  .contact-grid { gap: 32px; }
  .step { flex-direction: column; gap: 12px; }
  .step::before { flex: none; width: 40px; height: 40px; font-size: 1rem; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  .btn--large { padding: 14px 28px; font-size: 0.9rem; }
  .cta-section { padding: 32px 0; }
  .cta-section p { font-size: 0.95rem; }
  .blog-card-img { height: 160px; }
}

/* Blog article styles */
.blog-card-content { padding: 20px 24px 24px; }
.blog-card-content h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--navy); }
.blog-card-content p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0.75rem; }
.blog-date { font-size: 0.8rem; color: var(--text-light); display: block; margin-bottom: 0.5rem; }

/* Calculator page styles */
.calc-category { margin-bottom: 2.5rem; }
.calc-category h2 { font-size: 1.4rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--gold-light); }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

/* Icon boxes for service cards */
.icon-box { width: 52px; height: 52px; background: var(--navy); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.icon-box svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 2; }

/* Utility classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }