/* ============================================================
   FREEDOM LEGACY HOLDING GROUP — SHARED STYLESHEET
   Agent: Demetrice Etheridge | (404) 567-9560
   Colors sourced from flhgmanagementgroup.com
   ============================================================ */

:root {
  --red:        #BD0000;
  --red-dark:   #8B0000;
  --red-light:  #D42020;
  --black:      #000000;
  --near-black: #0F0000;
  --off-white:  #FEFCFC;
  --gray-100:   #F5F5F5;
  --gray-200:   #E8E8E8;
  --gray-400:   #9CA3AF;
  --gray-600:   #6B7280;
  --gray-800:   #1F2937;
  --gold:       #C9A84C;
  --gold-light: #E8C96A;
  --white:      #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--off-white); color: var(--gray-800); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- BUTTONS ---- */
.btn { display: inline-block; padding: 14px 28px; border-radius: 4px; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; cursor: pointer; border: none; transition: all 0.2s ease; text-align: center; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(189,0,0,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-outline-red { background: transparent; color: var(--red); border: 2px solid var(--red); }
.btn-outline-red:hover { background: var(--red); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,168,76,0.35); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ---- NAVIGATION ---- */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--black); border-bottom: 2px solid var(--red); transition: box-shadow 0.3s ease; }
#navbar.scrolled { box-shadow: 0 4px 20px rgba(189,0,0,0.3); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 12px; }
.nav-logo { display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; gap: 3px; }
.nav-logo .logo-name { font-size: 1.05rem; font-weight: 900; color: var(--white); letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; }
.nav-logo .logo-sub { font-size: 0.58rem; font-weight: 600; color: var(--gray-400); letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 8px; flex-shrink: 1; }
.nav-links a { color: var(--gray-200); font-size: 0.88rem; font-weight: 500; padding: 8px 12px; border-radius: 4px; white-space: nowrap; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-links a.active { color: var(--red-light); background: rgba(189,0,0,0.1); }
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.65rem; }
.dropdown-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; background: var(--near-black); border: 1px solid var(--red); border-radius: 4px; min-width: 220px; padding: 8px 0; z-index: 200; box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 18px; font-size: 0.87rem; color: var(--gray-200); transition: background 0.15s, color 0.15s; border-radius: 0; white-space: nowrap; }
.dropdown-menu a:hover { background: var(--red); color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav-cta .btn { white-space: nowrap; }
.nav-phone { color: var(--gold); font-size: 0.88rem; font-weight: 600; white-space: nowrap; }
.nav-phone:hover { color: var(--gold-light); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.mobile-nav { display: none; flex-direction: column; background: var(--near-black); border-top: 1px solid var(--red); padding: 16px 24px 24px; gap: 4px; }
.mobile-nav a { color: var(--gray-200); font-size: 0.95rem; font-weight: 500; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .mobile-phone { color: var(--gold); font-weight: 700; font-size: 1.05rem; margin-top: 8px; }
.mobile-nav .btn { margin-top: 12px; text-align: center; }

/* ---- SECTIONS ---- */
section { padding: 96px 0; }
.section-eyebrow { font-size: 0.78rem; font-weight: 700; color: var(--red); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; color: var(--black); line-height: 1.2; margin-bottom: 16px; }
.section-title .accent { color: var(--red); }
.section-subtitle { font-size: 1.05rem; color: var(--gray-600); max-width: 620px; line-height: 1.7; margin-bottom: 56px; }
.section-center { text-align: center; }
.section-center .section-subtitle { margin-left: auto; margin-right: auto; }
.divider { width: 48px; height: 3px; background: var(--red); margin: 20px 0 28px; border-radius: 2px; }
.divider-center { margin: 20px auto 28px; }
.section-dark { background: var(--near-black); color: var(--white); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-subtitle { color: rgba(255,255,255,0.65); }
.section-dark .section-eyebrow { color: var(--red-light); }
.section-red { background: var(--red); color: var(--white); }
.section-red .section-title { color: var(--white); }
.section-gray { background: var(--gray-100); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero { padding: 140px 0 80px; background: linear-gradient(135deg, var(--near-black) 0%, #1a0000 60%, #2d0000 100%); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 100% 50%, rgba(189,0,0,0.15) 0%, transparent 70%); }
.page-hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(189,0,0,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(189,0,0,0.04) 1px, transparent 1px); background-size: 60px 60px; }
.page-hero-inner { position: relative; z-index: 2; max-width: 700px; }
.page-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.35); color: var(--white); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 20px; }
.page-hero-badge::before { content: '●'; font-size: 0.5rem; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 20px; }
.page-hero h1 .accent { color: var(--red-light); }
.page-hero p { font-size: clamp(0.95rem, 1.8vw, 1.1rem); color: rgba(255,255,255,0.75); max-width: 580px; margin-bottom: 36px; line-height: 1.7; }
.page-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.page-hero-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); }
.page-hero-tag { font-size: 0.8rem; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 6px; }
.page-hero-tag::before { content: '✓'; color: var(--red-light); font-weight: 700; }

/* ---- FORMS ---- */
.form-card { background: var(--white); border-radius: 16px; padding: 48px 40px; box-shadow: 0 4px 32px rgba(0,0,0,0.08); border: 1px solid var(--gray-200); }
.form-card h3 { font-size: 1.4rem; font-weight: 800; color: var(--black); margin-bottom: 6px; }
.form-card .form-subtitle { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 32px; line-height: 1.5; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--gray-800); }
.form-group label .required { color: var(--red); }
.form-group input, .form-group select, .form-group textarea { padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: 6px; font-size: 0.92rem; font-family: 'Inter', sans-serif; color: var(--gray-800); background: var(--off-white); transition: border-color 0.2s, box-shadow 0.2s; width: 100%; outline: none; -webkit-appearance: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(189,0,0,0.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }
.form-consent { font-size: 0.78rem; color: var(--gray-600); line-height: 1.5; margin-bottom: 20px; }
.form-consent a { color: var(--red); text-decoration: underline; }
.form-submit { width: 100%; padding: 16px; background: var(--red); color: var(--white); border: none; border-radius: 6px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: background 0.2s, transform 0.1s; font-family: 'Inter', sans-serif; letter-spacing: 0.02em; }
.form-submit:hover { background: var(--red-light); }
.form-submit:active { transform: scale(0.99); }
.form-submit:disabled { opacity: 0.65; cursor: not-allowed; }
.form-privacy { text-align: center; font-size: 0.75rem; color: var(--gray-400); margin-top: 12px; }
.form-message { display: none; padding: 16px; border-radius: 6px; font-size: 0.9rem; font-weight: 500; margin-top: 16px; text-align: center; }
.form-message.success { background: rgba(22,163,74,0.1); border: 1px solid rgba(22,163,74,0.3); color: #15803d; }
.form-message.error { background: rgba(189,0,0,0.08); border: 1px solid rgba(189,0,0,0.3); color: var(--red-dark); }

/* ---- CTA BANNER ---- */
.cta-banner { background: var(--red); padding: 72px 0; }
.cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-banner-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 8px; }
.cta-banner-text p { color: rgba(255,255,255,0.8); font-size: 1rem; }
.cta-banner-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- FOOTER ---- */
#footer { background: var(--black); color: rgba(255,255,255,0.6); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .brand-name { font-size: 1rem; font-weight: 900; color: var(--white); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.footer-brand .brand-sub { font-size: 0.65rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 16px; }
.footer-brand p { font-size: 0.87rem; line-height: 1.7; margin-bottom: 20px; }
.footer-phone { font-size: 1.1rem; font-weight: 700; color: var(--gold); }
.footer-phone:hover { color: var(--gold-light); }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--white); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.87rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--red-light); }
.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer-legal { font-size: 0.76rem; line-height: 1.7; max-width: 640px; color: rgba(255,255,255,0.35); }
.footer-links { display: flex; gap: 16px; flex-shrink: 0; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-links a:hover { color: var(--red-light); }

/* ---- FLOATING CALL BUTTON ---- */
.float-call { display: none; position: fixed; bottom: 24px; right: 24px; z-index: 900; background: var(--red); color: var(--white); padding: 14px 20px; border-radius: 50px; font-weight: 700; font-size: 0.9rem; box-shadow: 0 6px 24px rgba(189,0,0,0.45); align-items: center; gap: 8px; transition: background 0.2s; }
.float-call:hover { background: var(--red-light); }

/* ---- FAQ ACCORDION ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px; overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 20px 24px; background: none; border: none; font-family: 'Inter', sans-serif; font-size: 0.97rem; font-weight: 600; color: var(--black); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: background 0.2s; }
.faq-question:hover { background: var(--gray-100); }
.faq-question::after { content: '+'; font-size: 1.3rem; font-weight: 400; color: var(--red); flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { display: none; padding: 0 24px 20px; font-size: 0.9rem; color: var(--gray-600); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 72px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-nav.open { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .float-call { display: flex; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding: 120px 0 60px; }
}
@media (max-width: 480px) {
  .page-hero-btns { flex-direction: column; }
  .page-hero-btns .btn { width: 100%; text-align: center; }
  .form-card { padding: 32px 24px; }
}
