:root {
  --navy: #243a42;
  --navy-mid: #344b54;
  --blue: #318fa0;
  --teal: #03778e;
  --teal-dark: #047085;
  --teal-light: #65abb9;
  --mint: #7fd5bf;
  --mint-soft: #b1dfda;
  --teal-faint: #eef8f6;
  --cream: #fbf8f3;
  --cream-dark: #efe7dc;
  --warm-white: #ffffff;
  --text: #2f3b42;
  --muted: #6a7980;
  --muted-light: #9aa9ae;
  --border-radius: 12px;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--teal); }

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

/* NAV */
.cimc-nav {
  background: var(--warm-white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}

.cimc-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cimc-logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.4rem;
  color: var(--navy);
  text-decoration: none;
}

.cimc-nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cimc-nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.cimc-nav-links a:hover { color: var(--teal); }

.cimc-nav-cta {
  background: var(--teal);
  color: white;
  padding: 9px 22px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.cimc-nav-cta:hover { background: var(--teal-dark); }

.cimc-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
  padding: 4px 8px;
}

/* HERO */
.cimc-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  padding: 80px 24px 72px;
  text-align: center;
  color: white;
}

.cimc-hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 3rem;
  max-width: 720px;
  margin: 0 auto 20px;
  line-height: 1.2;
  font-weight: 400;
}

.cimc-hero .subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: white;
  color: var(--teal-dark);
  padding: 14px 32px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 12px 30px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}

/* FINDER CARD */
.finder-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 32px;
  max-width: 720px;
  margin: -48px auto 0;
  position: relative;
  z-index: 10;
}

.finder-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin: 0 0 18px;
  font-weight: 400;
}

.finder-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.finder-form label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

.finder-form input,
.finder-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e5e7;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color 0.2s;
}

.finder-form input:focus,
.finder-form select:focus {
  border-color: var(--teal);
}

.finder-cta {
  background: var(--teal);
  color: white;
  padding: 13px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.finder-cta:hover { background: var(--teal-dark); }

.finder-disclaimer {
  margin-top: 18px;
  font-size: 0.75rem;
  color: var(--muted-light);
  line-height: 1.5;
}

/* SECTIONS */
.section {
  padding: 72px 24px;
}

.section-tight { padding: 56px 24px; }

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
  display: block;
}

.section h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  color: var(--navy);
  margin: 0 0 12px;
  font-weight: 400;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 36px;
  line-height: 1.7;
}

/* GRIDS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* CARE CARDS */
.care-card {
  background: white;
  border: 1px solid #e8eef0;
  border-radius: var(--border-radius);
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.care-card:hover {
  border-color: var(--teal-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.care-card-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-faint);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.care-card-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  margin: 0 0 6px;
}

.care-card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* DECISION CARDS */
.decision-card {
  background: var(--teal-faint);
  border: 1px solid var(--mint-soft);
  border-radius: var(--border-radius);
  padding: 24px;
  display: block;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.decision-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.decision-card-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin: 0 0 8px;
  font-weight: 400;
  line-height: 1.4;
}

.decision-card-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 500;
}

/* HOW IT WORKS */
.how-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.how-step-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.5rem;
  color: var(--mint);
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
}

.how-step-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  margin: 0 0 6px;
}

.how-step-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* TRUST QUOTE */
.trust-quote {
  background: var(--navy);
  padding: 64px 24px;
  text-align: center;
}

.trust-quote-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.6rem;
  color: white;
  max-width: 700px;
  margin: 0 auto 16px;
  line-height: 1.5;
  font-style: italic;
  font-weight: 400;
}

.trust-quote-attr {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

/* LOCATION CARDS */
.location-card {
  background: white;
  border: 1px solid #e8eef0;
  border-radius: var(--border-radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.2s;
}

.location-card:hover {
  border-color: var(--teal);
  background: var(--teal-faint);
}

.location-name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.location-arrow {
  color: var(--teal-light);
  font-size: 1.1rem;
}

/* FINAL CTA */
.final-cta {
  background: linear-gradient(135deg, var(--teal-dark), var(--navy));
  padding: 72px 24px;
  text-align: center;
  color: white;
}

.final-cta h2 {
  color: white;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.2rem;
  max-width: 640px;
  margin: 0 auto 16px;
  font-weight: 400;
  line-height: 1.25;
}

.final-cta .subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* FAQ */
.faq-list { margin-top: 24px; }

.faq-item {
  border-bottom: 1px solid #e8eef0;
  padding: 20px 0;
}

.faq-question {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  margin: 0 0 8px;
}

.faq-answer {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* BREADCRUMB */
.breadcrumb {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 0;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--teal); }

.breadcrumb-sep {
  color: var(--muted-light);
}

/* INFO CARDS (situational, bullet style) */
.info-card {
  background: var(--teal-faint);
  border: 1px solid var(--mint-soft);
  border-radius: var(--border-radius);
  padding: 22px;
}

.info-card-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  margin: 0 0 8px;
}

.info-card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.bullet-card {
  background: white;
  border: 1px solid #e8eef0;
  border-radius: var(--border-radius);
  padding: 20px;
}

.bullet-card-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  margin: 0 0 6px;
}

.bullet-card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* FOOTER */
.cimc-footer {
  background: var(--navy);
  padding: 40px 24px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

.cimc-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.cimc-footer-brand { flex: 1; min-width: 220px; }

.cimc-footer-logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.cimc-footer-tag {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.cimc-footer-nav { display: flex; gap: 28px; }

.cimc-footer-nav a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.cimc-footer-nav a:hover { color: white; }

.cimc-footer-disclaimer {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  max-width: 900px;
  line-height: 1.6;
  margin: 24px auto 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

.cimc-footer-sister {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  line-height: 1.6;
}

.cimc-footer-sister a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
}

.cimc-footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 12px;
}

/* CTA FORM (for category pages) */
.cta-form-card {
  background: var(--teal-faint);
  border: 1px solid var(--mint-soft);
  border-radius: var(--border-radius);
  padding: 36px;
  max-width: 720px;
  margin: 0 auto;
}

.cta-form-card h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin: 0 0 8px;
  font-weight: 400;
}

.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.cta-form .full { grid-column: 1 / -1; }

.cta-form label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

.cta-form input,
.cta-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e5e7;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: white;
  outline: none;
}

.cta-form input:focus,
.cta-form select:focus {
  border-color: var(--teal);
}

/* MOBILE */
@media (max-width: 768px) {
  .cimc-nav-links { display: none; }
  .cimc-hamburger { display: block; }
  .cimc-nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    gap: 16px;
    align-items: flex-start;
  }
  .cimc-hero h1 { font-size: 2rem; }
  .cimc-hero { padding: 56px 20px 56px; }
  .finder-card { padding: 24px; }
  .finder-form { grid-template-columns: 1fr; }
  .section { padding: 56px 20px; }
  .section h2 { font-size: 1.6rem; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .how-step { flex-direction: column; gap: 8px; }
  .cimc-footer-inner { flex-direction: column; }
  .cta-form { grid-template-columns: 1fr; }
  .final-cta h2 { font-size: 1.6rem; }
  .trust-quote-text { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .cimc-hero h1 { font-size: 1.7rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
}
