/*
Theme Name: M-Care Kenya
Theme URI: https://mcarekenya.com
Author: M-Care Kenya
Author URI: https://mcarekenya.com
Description: Custom WordPress theme for M-Care Kenya — affordable housing, land ownership, and education for Kenyan families.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mcare-kenya
Tags: custom-theme, green, gold, housing, community, ngo
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --mcare-deep: #0F3A1A;
  --mcare-primary: #2E7D32;
  --mcare-leaf: #7CC244;
  --mcare-lime: #A4D65E;
  --mcare-gold: #E8A33D;
  --mcare-cream: #FAFAF5;
  --mcare-white: #FFFFFF;
  --mcare-ink: #0F1F0F;
  --mcare-gray: #5A6658;
  --mcare-gray-light: #E8EBE6;
  --mcare-border: #DDE3D8;
  --mcare-shadow: rgba(15, 58, 26, 0.08);
  --mcare-shadow-md: rgba(15, 58, 26, 0.12);
  --mcare-shadow-lg: rgba(15, 58, 26, 0.18);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-xxl: 80px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --container: 1200px;
  --container-narrow: 800px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.7;
  color: var(--mcare-ink);
  background-color: var(--mcare-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mcare-primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--mcare-deep); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--mcare-deep);
  margin-top: 0; margin-bottom: 0.5em;
  line-height: 1.2; font-weight: 700;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
p { margin-top: 0; margin-bottom: 1em; }

/* ============================================
   LAYOUT
   ============================================ */
.mcare-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.mcare-container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }
.mcare-section { padding: 80px 0; }
.mcare-section-sm { padding: 60px 0; }
.mcare-section-lg { padding: 120px 0; }
.mcare-section-dark { background-color: var(--mcare-deep); color: var(--mcare-cream); }
.mcare-section-dark h1, .mcare-section-dark h2, .mcare-section-dark h3 { color: var(--mcare-cream); }
.mcare-section-dark p { color: rgba(250, 250, 245, 0.85); }
.mcare-section-cream { background-color: var(--mcare-cream); }
.mcare-section-white { background-color: var(--mcare-white); }

/* ============================================
   SPLIT-SECTION (reusable across pages)
   Two-column layout that stacks on mobile
   ============================================ */
.mcare-split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.mcare-split-section.is-reversed .mcare-split-image {
  order: 2;
}

.mcare-split-section.is-reversed .mcare-split-content {
  order: 1;
}

.mcare-split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(15, 58, 26, 0.15);
}

.mcare-split-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.mcare-split-content {
  /* text column — no special styling needed */
}

.mcare-split-content p {
  font-size: 16px;
  color: var(--mcare-gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.mcare-split-content h4.mcare-subhead {
  font-family: var(--font-body);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--mcare-primary);
  margin-bottom: 16px;
  font-weight: 700;
}

.mcare-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.mcare-check-list li {
  padding: 8px 0 8px 32px;
  position: relative;
  color: var(--mcare-gray);
  font-size: 15px;
}

.mcare-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--mcare-primary);
  font-weight: 700;
}

.mcare-split-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================
   TOP BAR
   ============================================ */
.mcare-topbar { background-color: var(--mcare-deep); color: var(--mcare-cream); font-size: 13px; padding: 10px 0; }
.mcare-topbar .mcare-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.mcare-topbar-left, .mcare-topbar-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.mcare-topbar a { color: var(--mcare-cream); display: inline-flex; align-items: center; gap: 6px; }
.mcare-topbar a:hover { color: var(--mcare-gold); }
.mcare-topbar svg { width: 14px; height: 14px; }
.mcare-topbar-ussd { background-color: var(--mcare-gold); color: var(--mcare-deep) !important; padding: 4px 12px; border-radius: var(--radius-full); font-weight: 600; letter-spacing: 0.5px; }
.mcare-topbar-ussd:hover { background-color: var(--mcare-lime); color: var(--mcare-deep) !important; }

/* ============================================
   HEADER
   ============================================ */
.mcare-header { background-color: var(--mcare-white); border-bottom: 1px solid var(--mcare-border); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px var(--mcare-shadow); }
.mcare-header .mcare-container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.mcare-logo { display: flex; align-items: center; gap: 12px; max-width: 340px; }
.mcare-logo img { max-height: 130px; width: auto; }

.mcare-nav { display: flex; align-items: center; gap: 32px; }
.mcare-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 28px; }
.mcare-nav li { position: relative; }
.mcare-nav a { font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--mcare-ink); padding: 8px 0; position: relative; }
.mcare-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--mcare-primary); transition: width 0.3s ease; }
.mcare-nav a:hover::after, .mcare-nav .current-menu-item a::after { width: 100%; }
.mcare-nav a:hover, .mcare-nav .current-menu-item a { color: var(--mcare-primary); }
.mcare-nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mcare-nav-toggle span { display: block; width: 24px; height: 2px; background-color: var(--mcare-deep); margin: 5px 0; transition: 0.3s; }

/* ============================================
   BUTTONS
   ============================================ */
.mcare-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: 15px; padding: 14px 28px; border-radius: var(--radius-md); border: 2px solid transparent; cursor: pointer; transition: all 0.25s ease; text-decoration: none; line-height: 1; }
.mcare-btn-primary { background-color: var(--mcare-primary); color: var(--mcare-white); border-color: var(--mcare-primary); }
.mcare-btn-primary:hover { background-color: var(--mcare-deep); border-color: var(--mcare-deep); color: var(--mcare-white); transform: translateY(-2px); box-shadow: 0 8px 20px var(--mcare-shadow-md); }
.mcare-btn-gold { background-color: var(--mcare-gold); color: var(--mcare-deep); border-color: var(--mcare-gold); }
.mcare-btn-gold:hover { background-color: var(--mcare-lime); border-color: var(--mcare-lime); color: var(--mcare-deep); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232, 163, 61, 0.35); }
.mcare-btn-outline { background-color: transparent; color: var(--mcare-primary); border-color: var(--mcare-primary); }
.mcare-btn-outline:hover { background-color: var(--mcare-primary); color: var(--mcare-white); }
.mcare-btn-white { background-color: var(--mcare-white); color: var(--mcare-deep); border-color: var(--mcare-white); }
.mcare-btn-white:hover { background-color: transparent; color: var(--mcare-white); border-color: var(--mcare-white); }
.mcare-btn-lg { padding: 18px 36px; font-size: 16px; }

/* ============================================
   HERO
   ============================================ */
.mcare-hero { position: relative; min-height: 640px; display: flex; align-items: center; background-size: cover; background-position: center; background-repeat: no-repeat; color: var(--mcare-white); overflow: hidden; }
.mcare-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15, 58, 26, 0.85) 0%, rgba(46, 125, 50, 0.65) 60%, rgba(124, 194, 68, 0.45) 100%); z-index: 1; }
.mcare-hero-inner { position: relative; z-index: 2; max-width: 720px; padding: 80px 0; }
.mcare-hero-tagline { display: inline-block; background-color: var(--mcare-gold); color: var(--mcare-deep); font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; padding: 6px 16px; border-radius: var(--radius-full); margin-bottom: 24px; }
.mcare-hero h1 { color: var(--mcare-white); font-size: clamp(2.75rem, 5.5vw, 4.5rem); line-height: 1.1; margin-bottom: 24px; font-weight: 700; }
.mcare-hero p.mcare-hero-subtitle { color: rgba(255, 255, 255, 0.92); font-size: 18px; line-height: 1.6; margin-bottom: 40px; max-width: 600px; }
.mcare-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================
   SECTION HEADERS
   ============================================ */
.mcare-section-header { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.mcare-section-header-left { text-align: left; margin-left: 0; }
.mcare-eyebrow { display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--mcare-primary); margin-bottom: 16px; }
.mcare-section-dark .mcare-eyebrow { color: var(--mcare-gold); }
.mcare-section-header h2 { margin-bottom: 16px; }
.mcare-section-header p { color: var(--mcare-gray); font-size: 17px; line-height: 1.7; margin: 0; }
.mcare-section-dark .mcare-section-header p { color: rgba(250, 250, 245, 0.8); }

/* ============================================
   CARDS
   ============================================ */
.mcare-grid { display: grid; gap: 32px; }
.mcare-grid-2 { grid-template-columns: repeat(2, 1fr); }
.mcare-grid-3 { grid-template-columns: repeat(3, 1fr); }
.mcare-grid-4 { grid-template-columns: repeat(4, 1fr); }
.mcare-card { background-color: var(--mcare-white); border: 1px solid var(--mcare-border); border-radius: var(--radius-lg); padding: 40px 32px; transition: all 0.3s ease; position: relative; overflow: hidden; }
.mcare-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--mcare-primary), var(--mcare-leaf)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.mcare-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px var(--mcare-shadow-md); border-color: var(--mcare-primary); }
.mcare-card:hover::before { transform: scaleX(1); }
.mcare-card-icon { width: 64px; height: 64px; border-radius: var(--radius-md); background-color: rgba(46, 125, 50, 0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: var(--mcare-primary); }
.mcare-card-icon svg { width: 32px; height: 32px; }
.mcare-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.mcare-card p { color: var(--mcare-gray); margin-bottom: 0; font-size: 15px; }

/* ============================================
   STEPS
   ============================================ */
.mcare-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.mcare-step { text-align: center; position: relative; }
.mcare-step-number { width: 72px; height: 72px; border-radius: 50%; background-color: var(--mcare-white); border: 3px solid var(--mcare-primary); color: var(--mcare-primary); font-family: var(--font-heading); font-weight: 700; font-size: 28px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; position: relative; z-index: 2; }
.mcare-step h3 { font-size: 1.25rem; margin-bottom: 12px; }
.mcare-step p { color: var(--mcare-gray); font-size: 14px; margin: 0; }

/* ============================================
   VALUES
   ============================================ */
.mcare-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.mcare-value { background-color: var(--mcare-white); border-left: 4px solid var(--mcare-gold); border-radius: var(--radius-md); padding: 28px 32px; box-shadow: 0 4px 12px var(--mcare-shadow); transition: transform 0.25s ease; }
.mcare-value:hover { transform: translateX(4px); }
.mcare-value h3 { font-size: 1.25rem; color: var(--mcare-deep); margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.mcare-value h3::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background-color: var(--mcare-gold); flex-shrink: 0; }
.mcare-value p { color: var(--mcare-gray); font-size: 15px; margin: 0; }

/* ============================================
   OBJECTIVES
   ============================================ */
.mcare-objectives { display: grid; gap: 24px; max-width: 900px; margin: 0 auto; }
.mcare-objective { display: flex; gap: 24px; align-items: flex-start; background-color: var(--mcare-white); border-radius: var(--radius-md); padding: 28px 32px; border: 1px solid var(--mcare-border); transition: all 0.25s ease; }
.mcare-objective:hover { border-color: var(--mcare-primary); box-shadow: 0 12px 28px var(--mcare-shadow-md); }
.mcare-objective-number { font-family: var(--font-heading); font-weight: 700; font-size: 2rem; color: var(--mcare-gold); line-height: 1; flex-shrink: 0; min-width: 60px; }
.mcare-objective-content h3 { font-size: 1.25rem; margin-bottom: 8px; }
.mcare-objective-content p { color: var(--mcare-gray); margin: 0; font-size: 15px; }

/* ============================================
   STATS
   ============================================ */
.mcare-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.mcare-stat-number { font-family: var(--font-heading); font-size: 3rem; font-weight: 700; color: var(--mcare-gold); line-height: 1; margin-bottom: 8px; }
.mcare-stat-label { font-family: var(--font-body); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: rgba(250, 250, 245, 0.75); }

/* ============================================
   CTA
   ============================================ */
.mcare-cta { background: linear-gradient(135deg, var(--mcare-primary), var(--mcare-deep)); color: var(--mcare-white); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.mcare-cta h2 { color: var(--mcare-white); margin-bottom: 16px; }
.mcare-cta p { color: rgba(255, 255, 255, 0.9); font-size: 18px; max-width: 600px; margin: 0 auto 32px; }
.mcare-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   CONTACT CARDS
   ============================================ */
.mcare-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.mcare-contact-card { background-color: var(--mcare-white); border: 1px solid var(--mcare-border); border-radius: var(--radius-lg); padding: 40px 32px; text-align: center; transition: all 0.3s ease; }
.mcare-contact-card:hover { border-color: var(--mcare-gold); transform: translateY(-4px); box-shadow: 0 16px 32px var(--mcare-shadow-md); }
.mcare-contact-icon { width: 64px; height: 64px; border-radius: 50%; background-color: rgba(232, 163, 61, 0.15); color: var(--mcare-gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.mcare-contact-icon svg { width: 28px; height: 28px; }
.mcare-contact-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.mcare-contact-card a { font-weight: 600; color: var(--mcare-primary); }
.mcare-contact-card a:hover { color: var(--mcare-gold); }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.mcare-whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; background-color: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45); z-index: 999; transition: all 0.3s ease; }
.mcare-whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6); }
.mcare-whatsapp-float svg { width: 32px; height: 32px; fill: var(--mcare-white); }

/* ============================================
   FOOTER
   ============================================ */
.mcare-footer { background-color: var(--mcare-deep); color: rgba(250, 250, 245, 0.8); padding: 80px 0 0; }
.mcare-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid rgba(250, 250, 245, 0.15); }
.mcare-footer h3 { color: var(--mcare-cream); font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; margin-bottom: 20px; }
.mcare-footer-logo { max-width: 240px; margin-bottom: 20px; opacity: 0.95; }
.mcare-footer p { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.mcare-footer ul { list-style: none; padding: 0; margin: 0; }
.mcare-footer li { margin-bottom: 12px; }
.mcare-footer a { color: rgba(250, 250, 245, 0.8); font-size: 14px; transition: color 0.2s ease; }
.mcare-footer a:hover { color: var(--mcare-gold); }
.mcare-footer-bottom { padding: 24px 0; text-align: center; font-size: 13px; color: rgba(250, 250, 245, 0.6); }
.mcare-footer-bottom a { color: var(--mcare-gold); }
.mcare-footer-bottom a:hover { color: var(--mcare-lime); }

/* ============================================
   UTILITIES
   ============================================ */
.mcare-text-center { text-align: center; }
.mcare-text-gold { color: var(--mcare-gold); }
.mcare-text-primary { color: var(--mcare-primary); }
.mcare-text-white { color: var(--mcare-white); }
.mcare-mb-0 { margin-bottom: 0; }
.mcare-mb-md { margin-bottom: var(--space-md); }
.mcare-mb-lg { margin-bottom: var(--space-lg); }
.mcare-mb-xl { margin-bottom: var(--space-xl); }
.mcare-mt-xl { margin-top: var(--space-xl); }

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
  .mcare-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .mcare-steps { grid-template-columns: repeat(2, 1fr); }
  .mcare-stats { grid-template-columns: repeat(2, 1fr); }
  .mcare-footer-grid { grid-template-columns: 1fr 1fr; }
  .mcare-contact-grid { grid-template-columns: 1fr 1fr; }
  .mcare-split-section { gap: 40px; }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
  .mcare-section { padding: 60px 0; }
  .mcare-grid-2, .mcare-grid-3, .mcare-grid-4 { grid-template-columns: 1fr; }
  .mcare-steps { grid-template-columns: 1fr; gap: 48px; }
  .mcare-stats { grid-template-columns: 1fr 1fr; }
  .mcare-contact-grid { grid-template-columns: 1fr; }
  .mcare-footer-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Top bar stacks */
  .mcare-topbar-left, .mcare-topbar-right { justify-content: center; width: 100%; }
  .mcare-topbar .mcare-container { justify-content: center; text-align: center; }

  /* Mobile nav */
  .mcare-nav-toggle { display: block; }
  .mcare-nav { position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh; background-color: var(--mcare-white); flex-direction: column; align-items: flex-start; padding: 80px 32px 32px; box-shadow: -8px 0 32px var(--mcare-shadow-lg); transition: right 0.3s ease; gap: 24px; }
  .mcare-nav.is-open { right: 0; }
  .mcare-nav ul { flex-direction: column; gap: 8px; width: 100%; }
  .mcare-nav a { display: block; padding: 12px 0; font-size: 17px; }
  .mcare-nav .mcare-btn { width: 100%; }

  /* Hero */
  .mcare-hero { min-height: 520px; }
  .mcare-hero-inner { padding: 60px 0; }
  .mcare-hero-actions { flex-direction: column; }
  .mcare-hero-actions .mcare-btn { width: 100%; }

  /* Objectives stack */
  .mcare-objective { flex-direction: column; gap: 12px; }

  /* ⬇️ KEY FIX: SPLIT SECTIONS STACK WITH FULL-WIDTH IMAGES */
  .mcare-split-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Reversed sections — image goes first on mobile anyway for consistency */
  .mcare-split-section.is-reversed .mcare-split-image { order: 0; }
  .mcare-split-section.is-reversed .mcare-split-content { order: 0; }

  .mcare-split-image {
    max-width: 100%;
  }

  .mcare-split-image img {
    aspect-ratio: 16 / 10;
    width: 100%;
    height: auto;
  }

  .mcare-split-buttons {
    flex-direction: column;
  }

  .mcare-split-buttons .mcare-btn {
    width: 100%;
  }

  /* Mobile logo smaller */
  .mcare-header .mcare-container { padding-top: 6px; padding-bottom: 6px; }
  .mcare-logo img { max-height: 55px; }
  .mcare-logo { max-width: 180px; }

  /* WhatsApp float smaller */
  .mcare-whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .mcare-whatsapp-float svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
  .mcare-stats { grid-template-columns: 1fr; }
  .mcare-card { padding: 32px 24px; }
  .mcare-section-header { margin-bottom: 40px; }
  .mcare-logo img { max-height: 48px; }
}

/* ============================================
   WORDPRESS CORE
   ============================================ */
.alignleft { float: left; margin: 0 24px 24px 0; }
.alignright { float: right; margin: 0 0 24px 24px; }
.aligncenter { display: block; margin: 24px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--mcare-gray); text-align: center; padding: 8px 0; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
.mcare-page-hero { background-color: var(--mcare-deep); color: var(--mcare-cream); padding: 100px 0 60px; text-align: center; }
.mcare-page-hero h1 { color: var(--mcare-cream); margin-bottom: 12px; }
.mcare-page-hero p { color: rgba(250, 250, 245, 0.8); font-size: 17px; max-width: 640px; margin: 0 auto; }

/* ============================================
   LEGAL PAGES
   ============================================ */
.mcare-legal-content h2 { font-size: 1.75rem; margin-top: 48px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #DDE3D8; color: #0F3A1A; }
.mcare-legal-content h2:first-child { margin-top: 0; }
.mcare-legal-content h3 { font-size: 1.25rem; margin-top: 32px; margin-bottom: 12px; color: #0F3A1A; }
.mcare-legal-content p { color: #5A6658; font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.mcare-legal-content ul, .mcare-legal-content ol { margin: 16px 0 24px; padding-left: 24px; color: #5A6658; font-size: 16px; line-height: 1.8; }
.mcare-legal-content li { margin-bottom: 8px; }
.mcare-legal-content a { color: #2E7D32; text-decoration: underline; }
.mcare-legal-content a:hover { color: #0F3A1A; }
.mcare-legal-content strong { color: #0F3A1A; }
.mcare-legal-content blockquote { border-left: 4px solid #E8A33D; padding: 8px 0 8px 24px; margin: 24px 0; color: #5A6658; font-style: italic; }

/* ============================================
   CONTACT FORM 7
   ============================================ */
.mcare-page-form-content, .mcare-cf7-form, .wpcf7 { font-family: var(--font-body); }
.wpcf7-form p { margin-bottom: 20px; }
.wpcf7-form label { display: block; font-family: var(--font-body); font-weight: 600; font-size: 14px; color: #0F3A1A; margin-bottom: 8px; letter-spacing: 0.2px; }

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: #0F3A1A;
  background-color: #FAFAF5;
  border: 1px solid #DDE3D8;
  border-radius: 8px;
  transition: all 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form input[type="date"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  outline: none;
 