/* ============================================================
   MY SENIOR CARE ADVISORS — Global Stylesheet
   Brand: Cream #E8E4D9 | Espresso #3D2B1F | Sage #7A9B6B
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

:root {
  --cream:       #E8E4D9;
  --cream-dark:  #D9D4C7;
  --cream-light: #F4F1EA;
  --espresso:    #3D2B1F;
  --espresso-mid:#5C4035;
  --espresso-light: #8B6B5E;
  --sage:        #7A9B6B;
  --sage-dark:   #5E7D52;
  --sage-light:  #A8C49A;
  --gold:        #C4953A;
  --white:       #FDFCF9;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 2px 8px rgba(61,43,31,0.08);
  --shadow-md:  0 8px 32px rgba(61,43,31,0.12);
  --shadow-lg:  0 20px 60px rgba(61,43,31,0.16);

  --transition: 0.25s ease;
  --max-width:  1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--espresso);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--espresso);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; }

p { font-size: 1rem; color: var(--espresso-mid); }

/* ── Layout Utilities ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--espresso);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--espresso-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-sage {
  background: var(--sage);
  color: var(--white);
}
.btn-sage:hover {
  background: var(--sage-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--espresso);
  border: 1.5px solid var(--espresso);
}
.btn-outline:hover {
  background: var(--espresso);
  color: var(--cream);
}
.btn-outline-cream {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(232,228,217,0.5);
}
.btn-outline-cream:hover {
  background: rgba(232,228,217,0.15);
}
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--espresso);
  box-shadow: 0 2px 20px rgba(61,43,31,0.3);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.03em;
  line-height: 1.1;
}
.brand-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--sage-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brand svg { display: block; }
.brand:hover { opacity: 0.88; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  color: rgba(232,228,217,0.8);
  font-size: 0.9rem;
  font-weight: 400;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--cream);
  background: rgba(232,228,217,0.1);
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--sage);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition);
  flex-shrink: 0;
}
.header-phone:hover { background: var(--sage-dark); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Hero ── */
.hero {
  background: var(--espresso);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(122,155,107,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(196,149,58,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--sage-light);
}
.hero h1 {
  color: var(--cream);
  margin-bottom: 20px;
  font-style: italic;
}
.hero h1 em { font-style: normal; color: var(--sage-light); }
.hero p {
  color: rgba(232,228,217,0.75);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero Search Card */
.hero-search-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.hero-search-card h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.hero-search-card .sub {
  font-size: 0.88rem;
  color: var(--espresso-light);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--espresso-light);
  margin-bottom: 6px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--espresso);
  background: var(--white);
  transition: border-color var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--sage);
}
.select-wrapper { position: relative; }
.select-wrapper::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--espresso-light);
  pointer-events: none;
  font-size: 0.85rem;
}
.hero-search-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.trust-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--espresso-light);
  margin-top: 14px;
}
.trust-note strong { color: var(--sage-dark); }

/* ── Stats Bar ── */
.stats-bar {
  background: var(--cream-dark);
  padding: 28px 0;
  border-bottom: 1px solid rgba(61,43,31,0.08);
}
.stats-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item .number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--espresso);
  display: block;
}
.stat-item .label {
  font-size: 0.82rem;
  color: var(--espresso-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Care Types Grid ── */
.care-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.care-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--cream-dark);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.care-card:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.care-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.care-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.care-card p { font-size: 0.88rem; line-height: 1.5; }
.care-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--sage-dark);
  margin-top: 12px;
}

/* ── Section Headers ── */
.section-header { margin-bottom: 48px; }
.section-header.text-center { text-align: center; }
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 12px;
  display: block;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p {
  font-size: 1.05rem;
  max-width: 560px;
}
.section-header.text-center p { margin: 0 auto; }

/* ── Process Steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--cream-dark);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 12px;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--espresso);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.process-step p { font-size: 0.88rem; }

/* ── Facility Cards ── */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.facility-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  transition: all var(--transition);
}
.facility-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.facility-card-img {
  height: 180px;
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.facility-card-img .placeholder-icon { font-size: 3rem; opacity: 0.3; }
.facility-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--sage);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.facility-badge.gold { background: var(--gold); }
.facility-card-body { padding: 20px; }
.facility-card-body h4 { font-size: 1.05rem; margin-bottom: 4px; }
.facility-type {
  font-size: 0.8rem;
  color: var(--sage-dark);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: block;
}
.facility-location {
  font-size: 0.85rem;
  color: var(--espresso-light);
  margin-bottom: 12px;
}
.facility-card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.facility-card-footer a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sage-dark);
}
.facility-card-footer a:hover { color: var(--espresso); }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--espresso);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 90% 50%, rgba(122,155,107,0.12) 0%, transparent 60%);
}
.cta-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.cta-banner h2 { color: var(--cream); max-width: 560px; }
.cta-banner p { color: rgba(232,228,217,0.7); margin-top: 10px; }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ── Lead Intake Form ── */
.intake-section {
  background: var(--cream-light);
  padding: 80px 0;
}
.intake-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--cream-dark);
}
.intake-form-wrap h2 { margin-bottom: 8px; }
.intake-form-wrap > p { margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--espresso);
  background: var(--white);
  resize: vertical;
  min-height: 100px;
  transition: border-color var(--transition);
}
.form-group textarea:focus { outline: none; border-color: var(--sage); }
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}
.form-success .checkmark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-success h3 { margin-bottom: 10px; }

/* ── Testimonials ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--cream-dark);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--cream-dark);
  position: absolute;
  top: 8px;
  left: 20px;
  line-height: 1;
}
.testimonial-card p {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 20px;
  padding-top: 28px;
}
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--espresso);
  flex-shrink: 0;
}
.author-info .name { font-size: 0.9rem; font-weight: 500; }
.author-info .role { font-size: 0.78rem; color: var(--espresso-light); }
.stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 4px; }

/* ── Directory Page ── */
.directory-hero {
  background: var(--espresso);
  padding: 60px 0 40px;
}
.directory-hero h1 { color: var(--cream); margin-bottom: 8px; }
.directory-hero p { color: rgba(232,228,217,0.7); margin-bottom: 28px; }
.search-bar {
  display: flex;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 8px 8px 8px 20px;
  box-shadow: var(--shadow-md);
  max-width: 680px;
}
.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--espresso);
}
.search-bar input:focus { outline: none; }
.search-bar select {
  border: none;
  border-left: 1px solid var(--cream-dark);
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--espresso);
  background: transparent;
  cursor: pointer;
}
.search-bar select:focus { outline: none; }
.search-bar .btn { flex-shrink: 0; padding: 12px 28px; }

.directory-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 40px 0 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: 24px;
}
.filter-sidebar { align-self: start; position: sticky; top: 90px; }
.filter-panel {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--cream-dark);
  overflow: hidden;
}
.filter-panel-header {
  padding: 16px 20px;
  background: var(--espresso);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.filter-section {
  padding: 20px;
  border-bottom: 1px solid var(--cream-dark);
}
.filter-section:last-child { border-bottom: none; }
.filter-section h5 {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--espresso-light);
  margin-bottom: 12px;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 0.9rem;
}
.filter-option input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--sage); }
.filter-option input[type="radio"] { width: 16px; height: 16px; accent-color: var(--sage); }

/* ── Pricing Cards ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1.5px solid var(--cream-dark);
  text-align: center;
  transition: all var(--transition);
}
.pricing-card.featured {
  border-color: var(--sage);
  box-shadow: var(--shadow-md);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sage);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-card .tier-name {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--espresso-light);
  margin-bottom: 16px;
}
.pricing-card .price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--espresso);
  line-height: 1;
}
.pricing-card .price sup { font-size: 1.4rem; vertical-align: super; }
.pricing-card .period { font-size: 0.85rem; color: var(--espresso-light); margin: 6px 0 24px; }
.pricing-features { text-align: left; margin-bottom: 28px; }
.pricing-features li {
  font-size: 0.9rem;
  padding: 7px 0;
  border-bottom: 1px solid var(--cream);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--espresso-mid);
}
.pricing-features li::before { content: '✓'; color: var(--sage); font-weight: 600; flex-shrink: 0; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 28px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { color: var(--sage-dark); }
.contact-detail .label {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--espresso-light);
  margin-bottom: 4px;
}
.contact-detail .value { font-size: 1rem; font-weight: 500; }
.contact-detail .value a:hover { color: var(--sage-dark); }

/* ── Resources Page ── */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.resource-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  transition: all var(--transition);
}
.resource-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.resource-card-top { height: 8px; background: var(--sage); }
.resource-card-top.gold { background: var(--gold); }
.resource-card-top.espresso { background: var(--espresso); }
.resource-card-body { padding: 24px; }
.resource-tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 10px;
  display: block;
}
.resource-card-body h4 { font-size: 1.1rem; margin-bottom: 8px; line-height: 1.3; }
.resource-card-body p { font-size: 0.88rem; line-height: 1.5; }
.resource-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.resource-cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}
.resource-type {
  font-size: 0.75rem;
  background: var(--cream);
  color: var(--espresso-light);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── State Directory ── */
.states-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.state-link {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--espresso);
  transition: all var(--transition);
  text-decoration: none;
}
.state-link:hover { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.state-count { display: block; font-size: 0.7rem; color: var(--espresso-light); font-weight: 400; margin-top: 2px; }
.state-link:hover .state-count { color: rgba(232,228,217,0.7); }

/* ── About / Trust Section ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual {
  background: var(--espresso);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(122,155,107,0.2) 0%, transparent 60%);
}
.about-visual-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.about-visual-icon img { width: 80px; height: 80px; object-fit: cover; }
.about-visual blockquote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  color: var(--cream);
}
.about-visual cite {
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--sage-light);
  margin-top: 16px;
  position: relative;
  z-index: 1;
}
.promise-list { margin-top: 28px; }
.promise-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.promise-item:last-child { border-bottom: none; }
.promise-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.promise-item h5 { font-size: 0.95rem; margin-bottom: 3px; }
.promise-item p { font-size: 0.85rem; }

/* ── Footer ── */
.site-footer { background: var(--espresso); padding: 72px 0 0; color: var(--cream); }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
}
.footer-logo {
  margin-bottom: 16px;
}
.footer-logo svg {
  display: block;
  width: 100px;
  height: 100px;
}
.footer-tagline { color: rgba(232,228,217,0.7); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }
.footer-contact { font-size: 0.9rem; }
.footer-contact a { color: var(--sage-light); display: block; margin-bottom: 4px; }
.footer-contact a:hover { color: var(--cream); }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 16px;
}
.footer-col a { display: block; color: rgba(232,228,217,0.65); font-size: 0.88rem; margin-bottom: 8px; transition: color var(--transition); }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(232,228,217,0.1);
  padding: 20px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(232,228,217,0.45); }

/* ── Badges ── */
.badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 500; }
.badge-sage { background: rgba(122,155,107,0.15); color: var(--sage-dark); }
.badge-gold { background: rgba(196,149,58,0.15); color: var(--gold); }
.badge-espresso { background: rgba(61,43,31,0.1); color: var(--espresso); }

/* ── Page Hero (inner pages) ── */
.page-hero { background: var(--espresso); padding: 64px 0; text-align: center; }
.page-hero h1 { color: var(--cream); margin-bottom: 12px; }
.page-hero p { color: rgba(232,228,217,0.7); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }
.breadcrumb {
  font-size: 0.82rem;
  color: rgba(232,228,217,0.5);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.breadcrumb a { color: var(--sage-light); }
.breadcrumb span { color: rgba(232,228,217,0.35); }

/* ── Alert ── */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; margin-bottom: 16px; }
.alert-success { background: rgba(122,155,107,0.12); color: var(--sage-dark); border: 1px solid rgba(122,155,107,0.25); }
.alert-error { background: rgba(200,60,60,0.08); color: #922; border: 1px solid rgba(200,60,60,0.2); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .care-types-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-search-card { max-width: 520px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .facility-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .states-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .directory-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 56px 0; }
  .main-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--espresso);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 16px; }
  .menu-toggle { display: flex; }
  .header-phone { display: none; }
  /* Mobile More dropdown — full width inline */
  .nav-more { width: 100%; }
  .nav-more-btn { width: 100%; padding: 12px 16px; justify-content: space-between; border-radius: var(--radius-sm); }
  .nav-more-dropdown {
    position: static !important;
    width: 100% !important;
    min-width: unset !important;
    box-shadow: none !important;
    border: 1px solid rgba(232,228,217,0.15) !important;
    border-radius: var(--radius-sm) !important;
    background: rgba(232,228,217,0.05) !important;
    padding: 12px !important;
    margin-top: 4px;
  }
  .nav-more-dropdown.open {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px;
  }
  .nav-dropdown-section { padding: 0 8px !important; border-right: none !important; border-bottom: 1px solid rgba(232,228,217,0.1); padding-bottom: 12px !important; }
  .nav-dropdown-section:last-child { border-bottom: none; }
  .nav-dropdown-label { color: var(--sage-light) !important; border-bottom-color: rgba(232,228,217,0.15) !important; }
  .nav-dropdown-section a { color: rgba(232,228,217,0.8) !important; }
  .nav-dropdown-section a:hover { color: var(--sage-light) !important; }
  .care-types-grid { grid-template-columns: 1fr; }
  .facility-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .states-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .intake-form-wrap { padding: 28px 20px; }
  .resource-grid { grid-template-columns: 1fr; }
  .stats-bar-inner { gap: 32px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .states-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-links { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
}


/* ── More Dropdown Navigation ── */
.site-header,
.header-inner {
  overflow: visible !important;
}
.main-nav {
  overflow: visible !important;
}
.nav-more {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-more-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(232,228,217,0.8);
  font-size: 0.9rem;
  font-weight: 400;
  font-family: var(--font-body);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}
.nav-more-btn:hover,
.nav-more-btn[aria-expanded="true"] {
  color: var(--cream);
  background: rgba(232,228,217,0.1);
}
.nav-more-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.nav-more-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.nav-more-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(61,43,31,0.18), 0 2px 8px rgba(61,43,31,0.08);
  border: 1px solid #ddd8cc;
  width: 560px;
  padding: 22px 24px;
  z-index: 9999;
}
.nav-more-dropdown.open {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}
.nav-dropdown-section {
  padding: 0 18px;
  border-right: 1px solid #e8e4d9;
}
.nav-dropdown-section:first-child { padding-left: 0; }
.nav-dropdown-section:last-child {
  border-right: none;
  padding-right: 0;
}
.nav-dropdown-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8a7060;
  margin: 0 0 10px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8e4d9;
  white-space: nowrap;
}
.nav-dropdown-section a {
  display: block;
  font-size: 0.85rem;
  color: #3D2B1F;
  padding: 5px 0;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-dropdown-section a:hover {
  color: #5a7a4a;
}

/* ── Blog post content styles ── */
.blog-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--espresso);
  margin: 32px 0 14px;
  padding-top: 8px;
  border-top: 1px solid var(--cream-dark);
}
.blog-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--espresso);
  margin: 24px 0 10px;
}
.blog-content p { margin-bottom: 16px; }
.blog-content a { color: var(--sage-dark); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.blog-content ul, .blog-content ol { margin: 0 0 16px 20px; line-height: 1.8; }
.blog-content li { margin-bottom: 6px; }
