/* 65Plus Health Assist — Professional senior-friendly theme */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap");

:root {
  --navy: #0c2340;
  --navy-mid: #153a63;
  --gold: #d97706;
  --gold-light: #f59e0b;
  --cream: #f8fafc;
  --text: #1e293b;
  --text-muted: #475569;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(12, 35, 64, 0.08);
}

html {
  font-size: 19px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: #fff;
}

h1, h2, h3, .sh, .logo-name, .step h3, .benefit-title, .card-title {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
}

/* ── Utility bar ── */
.util-bar {
  background: var(--navy) !important;
  padding: 10px 20px !important;
}

.util-phone {
  background: var(--gold) !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  font-size: 0.9rem !important;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.util-item {
  font-size: 0.88rem !important;
}

/* ── Navigation ── */
.site-nav {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
}

.nav-inner {
  height: 72px !important;
}

.logo-name {
  font-size: 1.15rem !important;
  color: var(--navy) !important;
}

.logo-sub {
  font-size: 0.75rem !important;
  color: var(--gold) !important;
  font-weight: 600 !important;
}

.nav-cta {
  background: var(--gold) !important;
  padding: 12px 20px !important;
  border-radius: 10px !important;
  font-size: 0.95rem !important;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.nav-quote {
  padding: 10px 16px !important;
  border-radius: 8px !important;
  font-size: 0.9rem !important;
}

/* ── Hero (homepage — light, warm, readable) ── */
.hero-home,
section.hero.hero-home {
  background: linear-gradient(160deg, #faf8f5 0%, #f3f7fb 45%, #eef4fa 100%) !important;
  min-height: 540px !important;
}

.hero-home::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #e8a54b, var(--gold));
}

.hero-home h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem) !important;
  color: var(--navy) !important;
  line-height: 1.25 !important;
  max-width: 520px;
}

.hero-home h1 em {
  color: var(--gold) !important;
  font-style: normal;
}

.hero-home .hero-sub {
  font-size: 1.12rem !important;
  color: #3d4f63 !important;
  line-height: 1.75 !important;
  max-width: 480px;
}

.hero-home .hero-tag {
  background: #fff !important;
  border: 1px solid #d4e4f4 !important;
  color: var(--navy) !important;
  font-size: 0.8rem !important;
  padding: 8px 14px !important;
}

.hero-home .hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 40px 32px 0;
  height: auto !important;
  min-height: 480px;
}

.hero-home .hero-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(12, 35, 64, 0.15);
  border: 4px solid #fff;
}

.hero-home .hero-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-home .hero-card {
  bottom: 24px !important;
  left: 24px !important;
  right: auto !important;
  border-radius: 14px !important;
  padding: 16px 20px !important;
  min-width: 200px;
}

.hero-home .hero-stats {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
  gap: 20px !important;
  margin-top: 24px;
  display: inline-flex;
}

.hero-home .hero-stat-n {
  color: var(--navy) !important;
  font-size: 1.4rem !important;
}

.hero-home .hero-stat-l {
  font-size: 0.78rem !important;
  color: #64748b !important;
}

/* Legacy hero fallback (city pages etc.) */
.hero:not(.hero-home) {
  background: linear-gradient(135deg, #eef4fc 0%, #f8fafc 50%, #fff 100%) !important;
}

.hero-tag {
  background: #fff !important;
  border: 2px solid #dbeafe !important;
  font-size: 0.85rem !important;
  padding: 8px 14px !important;
}

.btn-primary {
  background: var(--navy) !important;
  padding: 16px 28px !important;
  border-radius: 10px !important;
  font-size: 1.05rem !important;
  min-height: 52px;
  box-shadow: 0 4px 16px rgba(12, 35, 64, 0.25) !important;
}

.btn-outline {
  padding: 15px 24px !important;
  border-radius: 10px !important;
  font-size: 1.05rem !important;
  min-height: 52px;
  border-width: 2px !important;
  border-color: var(--navy) !important;
}

.hero-card {
  border-radius: 14px !important;
  padding: 18px 22px !important;
  box-shadow: var(--shadow) !important;
}

.hero-photo {
  border-radius: 0 0 0 24px;
}

/* ── Service strip ── */
.service-strip {
  background: var(--navy) !important;
}

.scard {
  border-radius: var(--radius) !important;
  padding: 22px 20px !important;
  box-shadow: var(--shadow);
}

.scard-text strong {
  font-size: 1rem !important;
}

.scard-text span {
  font-size: 0.88rem !important;
}

/* ── Sections ── */
.sh {
  font-size: 1.75rem !important;
  color: var(--navy) !important;
}

.ss {
  font-size: 1.05rem !important;
  color: var(--text-muted) !important;
}

.section-label {
  color: var(--gold) !important;
  font-size: 0.85rem !important;
}

.benefit-card {
  border-radius: var(--radius) !important;
  padding: 26px 22px !important;
  box-shadow: var(--shadow);
  border-top-width: 4px !important;
  border-top-color: var(--gold) !important;
  transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(12, 35, 64, 0.12);
}

.benefit-title {
  font-size: 1.1rem !important;
}

.benefit-desc {
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
}

.step-circle {
  width: 60px !important;
  height: 60px !important;
  font-size: 1.4rem !important;
  background: var(--gold) !important;
}

.step h3 {
  font-size: 1.1rem !important;
}

.step p {
  font-size: 0.95rem !important;
}

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%) !important;
  padding: 64px 24px !important;
}

.cta-band h2 {
  font-size: 2rem !important;
}

.btn-gold {
  background: var(--gold) !important;
  padding: 16px 32px !important;
  border-radius: 10px !important;
  font-size: 1.1rem !important;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35) !important;
}

.btn-white {
  padding: 16px 28px !important;
  border-radius: 10px !important;
  font-size: 1.05rem !important;
  min-height: 52px;
}

/* ── FAQ ── */
.faq-item {
  border-radius: var(--radius) !important;
  padding: 20px 22px !important;
  border-left-width: 4px !important;
  border-left-color: var(--gold) !important;
}

.faq-item h3 {
  font-size: 1.05rem !important;
}

.faq-item p {
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
}

/* ── City / state pills ── */
.city-pills a,
.state-pills a {
  font-size: 0.9rem !important;
  padding: 8px 16px !important;
  border-radius: 24px !important;
  min-height: 40px;
  display: inline-flex !important;
  align-items: center;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy) !important;
}

.footer-phone a {
  color: var(--gold-light) !important;
  font-size: 1.2rem !important;
}

/* ── City / inner pages ── */
.hero-page {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%) !important;
  padding: 40px 20px !important;
}

.hero-page h1 {
  font-size: clamp(1.5rem, 4vw, 2.1rem) !important;
  line-height: 1.25 !important;
}

.hero-page p {
  font-size: 1.05rem !important;
}

.btn,
.phone-big,
.call-big,
.submit-btn {
  background: var(--gold) !important;
  padding: 14px 26px !important;
  border-radius: 10px !important;
  font-size: 1.05rem !important;
  min-height: 52px !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.article h2 {
  font-size: 1.25rem !important;
  color: var(--navy) !important;
}

.article p,
.article li {
  font-size: 1rem !important;
  line-height: 1.75 !important;
}

.breadcrumb {
  font-size: 0.9rem !important;
  padding: 14px 16px !important;
}

.trust-bar {
  background: linear-gradient(90deg, #eef4fc, #f0f9ff, #eef4fc) !important;
  border-bottom: 2px solid #dbeafe;
  padding: 14px 20px !important;
}

.trust-bar-item {
  color: var(--navy) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
}

/* Trust reassurance strip on homepage */
.hero-note {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px !important;
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
}

.hero-stat-n {
  color: var(--gold) !important;
}

.site-logo-wrap:hover .logo-name {
  color: var(--gold) !important;
}

.cta-inline {
  border-radius: var(--radius) !important;
  border-left-color: var(--gold) !important;
  padding: 22px !important;
}

/* ── Free quote page ── */
.nav {
  background: var(--navy) !important;
  padding: 16px 20px !important;
}

.nav-phone {
  background: var(--gold) !important;
  padding: 12px 20px !important;
  border-radius: 10px !important;
  font-size: 1rem !important;
}

.nav-logo {
  font-size: 1.15rem !important;
}

.free-quote .hero,
body.page-quote > .hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%) !important;
}

body.page-quote > .hero h1,
body.page-quote > .hero p {
  color: #fff !important;
}

.card {
  border-radius: 16px !important;
  padding: 32px 28px !important;
  box-shadow: var(--shadow) !important;
  border: 1px solid #e2e8f0;
}

.card-title {
  font-size: 1.35rem !important;
}

.card-sub {
  font-size: 0.95rem !important;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  html {
    font-size: 18px;
  }

  .nav-inner {
    height: auto !important;
    min-height: 64px;
    padding: 12px 0 !important;
    flex-wrap: wrap;
  }

  .nav-links {
    display: none !important;
  }

  .hero-home .hero-right {
    padding: 0 20px 24px !important;
    min-height: auto !important;
  }

  .hero-home .hero-photo-wrap {
    max-width: 100%;
  }

  .hero-home .hero-photo {
    height: 260px;
  }

  .hero-home .hero-card {
    left: 16px !important;
    bottom: 16px !important;
  }

  .hero-home .hero-stats {
    flex-direction: column;
    width: 100%;
    gap: 12px !important;
  }

  .hero-left {
    padding: 36px 20px !important;
  }

  .hero-right {
    height: 220px !important;
  }

  .service-strip-inner {
    grid-template-columns: 1fr !important;
    gap: 12px;
    padding: 16px 0;
  }

  .scard {
    margin: 0 !important;
  }

  .benefits-grid {
    grid-template-columns: 1fr !important;
  }

  .steps {
    grid-template-columns: 1fr !important;
  }

  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}
