/* ============================================================
   FAMILY LEGACY HEALTH & WELLNESS CENTER
   Brand Colors: Navy #1B2A4A | Gold #B8860B | White #FFFFFF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Lato:wght@300;400;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --navy: #1B2A4A;
  --navy-light: #243660;
  --gold: #B8860B;
  --gold-light: #D4A017;
  --gold-pale: #F5E6C0;
  --white: #FFFFFF;
  --off-white: #F9F7F2;
  --gray: #6B7280;
  --light-gray: #E8E4DC;
  --shadow: 0 4px 24px rgba(27,42,74,0.12);
  --shadow-lg: 0 12px 48px rgba(27,42,74,0.18);
  --radius: 4px;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #2D2D2D;
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; }

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

/* ---- TOPBAR ---- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 8px 0;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--gold-light); }
.topbar-left, .topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar i { margin-right: 5px; color: var(--gold-light); }

/* ---- HEADER / NAV ---- */
header {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(27,42,74,0.10);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo img { height: 70px; width: auto; }

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}
nav ul li a {
  color: var(--navy);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.5px;
  padding: 8px 13px;
  border-radius: var(--radius);
  text-transform: uppercase;
  transition: var(--transition);
  display: block;
}
nav ul li a:hover, nav ul li a.active {
  background: var(--navy);
  color: var(--white);
}
nav ul li.cta-nav a {
  background: var(--gold);
  color: var(--white);
  border-radius: var(--radius);
}
nav ul li.cta-nav a:hover { background: var(--gold-light); color: var(--white); }

/* Dropdown */
nav ul li { position: relative; }
nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  flex-direction: column;
  z-index: 200;
  gap: 0;
}
nav ul li:hover > ul { display: flex; }
nav ul li ul li a {
  padding: 10px 18px;
  font-size: 13px;
  border-radius: 0;
  border-bottom: 1px solid var(--light-gray);
  text-transform: none;
  letter-spacing: 0;
}
nav ul li ul li:last-child a { border-bottom: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #2E4070 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(184,134,11,0.18) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -50px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(184,134,11,0.10) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-tag {
  display: inline-block;
  background: rgba(184,134,11,0.25);
  border: 1px solid rgba(184,134,11,0.5);
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 22px;
}
.hero h1 span { color: var(--gold-light); }
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 560px;
  font-weight: 300;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Lato', sans-serif;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-light); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(184,134,11,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); color: var(--white); transform: translateY(-2px); }

/* ---- SECTION HEADERS ---- */
.section-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--navy);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.8;
}
.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 16px 0 24px;
}
.text-center { text-align: center; }
.text-center .divider { margin-left: auto; margin-right: auto; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---- FEATURE STRIP ---- */
.feature-strip {
  background: var(--navy);
  padding: 48px 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.feature-item { text-align: center; color: var(--white); }
.feature-icon {
  width: 64px; height: 64px;
  background: rgba(184,134,11,0.2);
  border: 1px solid rgba(184,134,11,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 26px;
  color: var(--gold-light);
}
.feature-item h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 6px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.feature-item p { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ---- ABOUT / CONTENT SECTIONS ---- */
section.pad { padding: 80px 0; }
section.pad-sm { padding: 48px 0; }
.bg-off { background: var(--off-white); }
.bg-navy { background: var(--navy); }
.bg-gold-pale { background: var(--gold-pale); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ---- SERVICE CARDS ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 20px;
}
.service-card h3 { font-size: 20px; margin-bottom: 12px; }
.service-card p { font-size: 14.5px; color: var(--gray); line-height: 1.75; }

/* ---- SCENARIO CARDS (What You Need page) ---- */
.scenario-card {
  background: var(--white);
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 36px 36px 36px 40px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.scenario-card:hover { box-shadow: var(--shadow-lg); }
.scenario-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: var(--gold-pale);
  font-weight: 900;
  line-height: 1;
  float: left;
  margin-right: 20px;
  margin-top: -6px;
}
.scenario-card h3 { font-size: 22px; margin-bottom: 12px; color: var(--navy); }
.scenario-card p { font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 16px; }
.scenario-tag {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  margin-top: 8px;
}
.we-can-help-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 60px 32px;
  border-radius: var(--radius);
  margin: 48px 0;
}
.we-can-help-banner h2 {
  font-size: clamp(32px, 5vw, 52px);
  color: var(--gold-light);
  margin-bottom: 16px;
}
.we-can-help-banner p { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 28px; }

/* ---- TEAM CARDS ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.team-avatar {
  width: 90px; height: 90px;
  background: var(--gold-pale);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  color: var(--gold);
  border: 3px solid var(--gold);
}
.team-card h4 { font-size: 18px; margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.team-card p { font-size: 13.5px; color: var(--gray); }

/* ---- STATS ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 14px; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 1px; }

/* ---- FORMS ---- */
.form-section { padding: 80px 0; background: var(--off-white); }
.form-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  max-width: 780px;
  margin: 0 auto;
}
.form-box h2 { margin-bottom: 8px; }
.form-box .divider { margin-bottom: 32px; }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group label span { color: #C00; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  color: #2D2D2D;
  background: var(--white);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,134,11,0.15);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-success {
  display: none;
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  color: #2E7D32;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-top: 20px;
  font-weight: 700;
}
.form-error-msg {
  display: none;
  background: #FFEBEE;
  border: 1px solid #FFCDD2;
  color: #C62828;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-top: 20px;
  font-weight: 700;
}

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}
.contact-info { padding: 40px; background: var(--navy); border-radius: var(--radius); color: var(--white); }
.contact-info h3 { color: var(--gold-light); margin-bottom: 24px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(184,134,11,0.2);
  border: 1px solid rgba(184,134,11,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item-text { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.6; }
.contact-item-text strong { color: var(--white); display: block; margin-bottom: 2px; }
.map-placeholder {
  width: 100%;
  height: 280px;
  background: var(--light-gray);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--gray);
  border: 1px solid var(--light-gray);
  overflow: hidden;
}
.map-placeholder iframe { width: 100%; height: 100%; border: none; }

/* ---- PAGE HEADER ---- */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(184,134,11,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.page-header h1 { color: var(--white); font-size: clamp(30px, 4vw, 50px); margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 16px; }
.breadcrumb { color: rgba(255,255,255,0.6); font-size: 13px; margin-bottom: 14px; }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { margin: 0 8px; }

/* ---- ACCORDION ---- */
.accordion-item {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 18px 24px;
  text-align: left;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.accordion-header:hover { background: var(--off-white); }
.accordion-header.open { background: var(--navy); color: var(--white); }
.accordion-header .acc-icon { font-size: 20px; transition: transform 0.3s; }
.accordion-header.open .acc-icon { transform: rotate(45deg); }
.accordion-body {
  display: none;
  padding: 20px 24px;
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.8;
  border-top: 1px solid var(--light-gray);
}
.accordion-body.open { display: block; }

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  color: var(--gold-pale);
  line-height: 1;
  position: absolute;
  top: 10px; left: 20px;
}
.testimonial-card p {
  font-size: 14.5px;
  color: #444;
  line-height: 1.8;
  padding-top: 30px;
  font-style: italic;
}
.testimonial-author { margin-top: 16px; font-weight: 700; color: var(--navy); font-size: 14px; }
.testimonial-author span { color: var(--gold); font-weight: 400; font-size: 13px; }

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--gold);
  padding: 60px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(24px, 3vw, 38px); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.9); font-size: 16px; margin-bottom: 28px; }
.btn-white { background: var(--white); color: var(--gold); }
.btn-white:hover { background: var(--navy); color: var(--white); }

/* ---- FOOTER ---- */
footer {
  background: #101D33;
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-col h4 {
  color: var(--gold-light);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.footer-col p { font-size: 13.5px; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.75); font-size: 13.5px; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-logo img { height: 60px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
}
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.social-btn:hover { background: var(--gold); color: var(--white); }

/* ---- NOTICE/ALERT ---- */
.notice-bar {
  background: var(--gold-pale);
  border-bottom: 1px solid rgba(184,134,11,0.3);
  padding: 12px 0;
  text-align: center;
  font-size: 14px;
  color: var(--navy);
}
.notice-bar strong { color: var(--gold); }

/* ---- UTILITY ---- */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.list-check { list-style: none; }
.list-check li { padding: 6px 0; font-size: 15px; color: #444; }
.list-check li::before { content: '✓'; color: var(--gold); font-weight: 700; margin-right: 10px; }
.highlight-box {
  background: var(--gold-pale);
  border: 1px solid rgba(184,134,11,0.3);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.highlight-box p { font-size: 15px; color: var(--navy); }
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-gold { background: var(--gold-pale); color: var(--gold); }
.badge-navy { background: rgba(27,42,74,0.1); color: var(--navy); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: var(--shadow-lg); padding: 16px; gap: 4px; }
  nav ul.open { display: flex; }
  nav ul li ul { position: static; box-shadow: none; border-top: none; padding-left: 16px; display: none; }
  nav ul li:hover > ul { display: none; }
  .hamburger { display: flex; }
  header { position: relative; }
  .header-inner { position: relative; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .container { flex-direction: column; align-items: flex-start; }
  .hero { padding: 60px 0; }
  .form-box { padding: 28px 20px; }
  .scenario-num { float: none; display: block; margin-bottom: 8px; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn { text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- PRINT ---- */
@media print {
  header, footer, .topbar, .notice-bar, .cta-band { display: none; }
  body { font-size: 12pt; }
}
