/* ============================================
   Freedom Adult Care — Shared Stylesheet
   freedomadultcare.com
   ============================================ */

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

:root {
  --navy:       #1a1f6e;
  --blue:       #2D3FC8;
  --blue-light: #EBF4FF;
  --blue-mid:   #dbeafe;
  --gold:       #f5b700;
  --white:      #ffffff;
  --text:       #1a1a2e;
  --muted:      #4b5563;
  --green:      #22c55e;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(26,31,110,0.10);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }

/* ── Top Bar ── */
.topbar {
  background: var(--navy); color: var(--white);
  padding: 10px 20px; font-size: 14px;
  display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap;
}
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.social-links { display: flex; gap: 14px; }
.social-links a { color: var(--white); font-size: 14px; font-weight: 700; transition: opacity .2s; }
.social-links a:hover { opacity: .75; }

/* ── Header ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-text strong { color: var(--navy); font-size: 18px; font-weight: 800; display: block; }
.logo-text span { color: var(--blue); font-size: 12px; font-weight: 600; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s; }
nav a:hover, nav a.active { color: var(--blue); }
.nav-cta {
  background: var(--blue); color: var(--white) !important;
  padding: 10px 22px; border-radius: 8px; font-weight: 700 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--navy) !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 34px; border-radius: 10px; font-size: 16px; font-weight: 700;
  text-decoration: none; cursor: pointer; border: none;
  transition: all .2s; font-family: inherit;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--navy); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45,63,200,.3); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--blue-light); }
.btn-lg { padding: 18px 44px; font-size: 18px; }

/* ── Layout ── */
section { padding: 72px 24px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--blue); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 42px); font-weight: 800;
  color: var(--navy); line-height: 1.2; margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--muted); max-width: 620px; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--blue-light); padding: 64px 24px 56px; text-align: center;
  border-bottom: 1px solid var(--blue-mid);
}
.page-hero .breadcrumb {
  font-size: 13px; color: var(--muted); margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: var(--blue); text-decoration: none; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px); font-weight: 900;
  color: var(--navy); line-height: 1.15; margin-bottom: 16px;
}
.page-hero h1 em { color: var(--blue); font-style: normal; }
.page-hero p { font-size: 18px; color: var(--muted); max-width: 580px; margin: 0 auto; }

/* ── Cards ── */
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
}
.card-blue { background: var(--blue-light); box-shadow: none; }

/* ── Qualify cards ── */
.qualifies-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.qualify-card { background: var(--white); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); }
.qualify-card h3 { font-size: 20px; font-weight: 800; color: var(--blue); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--blue-light); }
.qualify-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.qualify-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.qualify-list li::before { content: '✅'; flex-shrink: 0; margin-top: 1px; }

/* ── Steps ── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.step-card { background: var(--white); border-radius: var(--radius); padding: 36px 28px; box-shadow: var(--shadow); text-align: center; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 22px; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.step-card h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.step-card p { font-size: 15px; color: var(--muted); }

/* ── Why cards ── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.why-card { background: var(--blue-light); border-radius: var(--radius); padding: 36px 28px; text-align: center; transition: box-shadow .2s; }
.why-card:hover { box-shadow: var(--shadow); }
.why-icon { font-size: 40px; margin-bottom: 16px; }
.why-card h3 { font-size: 17px; font-weight: 800; color: var(--blue); margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── Awards ── */
.awards-strip { background: var(--navy); padding: 32px 24px; }
.awards-inner { max-width: 1100px; margin: 0 auto; display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; align-items: center; }
.award-item { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 13px; font-weight: 600; }
.award-icon { font-size: 24px; flex-shrink: 0; }

/* ── FAQ Accordion ── */
.faq-group { margin-top: 48px; }
.faq-group-title { font-size: 20px; font-weight: 800; color: var(--blue); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--blue-light); }
.faq-item { border: 1px solid #e5e7eb; border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.faq-question { width: 100%; background: none; border: none; padding: 20px 24px; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 16px; font-weight: 700; color: var(--navy); transition: background .2s; font-family: inherit; }
.faq-question:hover { background: var(--blue-light); }
.faq-question.open { background: var(--blue-light); color: var(--blue); }
.faq-chevron { font-size: 18px; transition: transform .3s; flex-shrink: 0; color: var(--blue); }
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { display: none; padding: 16px 24px 20px; font-size: 15px; color: var(--muted); line-height: 1.75; border-top: 1px solid var(--blue-light); }
.faq-answer.open { display: block; }

/* ── CTA Banner ── */
.cta-banner { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); padding: 72px 24px; text-align: center; color: var(--white); }
.cta-banner h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 900; margin-bottom: 16px; }
.cta-banner p { font-size: 18px; margin-bottom: 36px; opacity: .9; }
.cta-phone { font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: var(--gold); text-decoration: none; display: block; margin: 20px 0; transition: opacity .2s; }
.cta-phone:hover { opacity: .85; }

/* ── Call Strip ── */
.call-strip { background: var(--blue); padding: 28px 24px; text-align: center; }
.call-strip p { color: var(--white); font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.call-strip a.btn-white { font-size: 18px; font-weight: 800; }

/* ── Two-col content ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.visual-box { background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-mid) 100%); border-radius: 20px; min-height: 300px; display: flex; align-items: center; justify-content: center; }
.stat-display { text-align: center; padding: 40px; }
.stat-display .big-num { font-size: 80px; font-weight: 900; color: var(--navy); line-height: 1; }
.stat-display p { font-size: 18px; font-weight: 700; color: var(--blue); margin-top: 8px; }

/* ── Footer ── */
footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 48px 24px 24px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 16px; color: rgba(255,255,255,.6); }
.footer-logo strong { font-size: 20px; font-weight: 800; color: var(--white); display: block; }
.footer-logo span { font-size: 13px; color: var(--gold); font-weight: 600; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--white); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.6); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 13px; font-weight: 700; text-decoration: none; transition: background .2s; }
.footer-social a:hover { background: var(--blue); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.4); }
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ── Prose content (Privacy Policy etc.) ── */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin: 36px 0 12px; }
.prose h3 { font-size: 17px; font-weight: 700; color: var(--blue); margin: 24px 0 8px; }
.prose p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.prose ul { margin: 12px 0 16px 20px; }
.prose ul li { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 6px; }
.prose a { color: var(--blue); }
.prose a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .qualifies-grid, .two-col, .footer-top { grid-template-columns: 1fr; }
  .steps-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .visual-box { min-height: 180px; }
}
@media (max-width: 640px) {
  nav { display: none; }
  nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 80px; left: 0; right: 0;
    background: var(--white); padding: 20px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1); gap: 20px; z-index: 99;
  }
  header { position: relative; }
  .hamburger { display: flex; }
  .steps-grid, .why-grid { grid-template-columns: 1fr; }
  .topbar { flex-direction: column; gap: 8px; }
}
