/* ============================================================
   Ottawa Valley Health Connect - Main Stylesheet
   ============================================================ */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');

/* --- Custom Properties --- */
:root {
  --blue-dark:    #1a4a72;
  --blue-mid:     #1e6091;
  --blue-light:   #2980b9;
  --blue-pale:    #d6eaf8;
  --grey-dark:    #2c3e50;
  --grey-mid:     #6c757d;
  --grey-light:   #f0f4f8;
  --white:        #ffffff;
  --text:         #2c3e50;
  --border:       #dde4ec;
  --shadow:       0 2px 12px rgba(30, 96, 145, 0.10);
  --radius:       8px;
  --transition:   0.25s ease;
  --max-width:    1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
               Ubuntu, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--blue-mid); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--blue-dark); }
ul { list-style: none; }

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem);   font-weight: 700; line-height: 1.3; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--blue-mid);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 56px; width: auto; }

.main-nav { flex: 1; }
.main-nav ul {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.main-nav a {
  display: block;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  color: var(--grey-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--blue-pale);
  color: var(--blue-dark);
  text-decoration: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.phone-link {
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.lang-toggle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--grey-mid);
  white-space: nowrap;
}
.lang-toggle a { color: var(--blue-mid); font-weight: 600; }
.lang-toggle .active { color: var(--grey-dark); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   COMMUNITY CONNECTOR BANNER
   ============================================================ */
.cc-banner {
  background: var(--blue-dark);
  color: var(--white);
  padding: 0.65rem 0;
  font-size: 0.9rem;
}
.cc-banner .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cc-banner p { margin: 0; font-weight: 500; flex: 1; }
.cc-banner a { flex-shrink: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform 0.15s;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none !important;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--blue-mid);
  color: var(--white) !important;
  border-color: var(--blue-mid);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white) !important; }

.btn-outline {
  background: transparent;
  color: var(--blue-mid);
  border-color: var(--blue-mid);
}
.btn-outline:hover { background: var(--blue-mid); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
}
.btn-white:hover { background: var(--blue-pale); border-color: var(--blue-pale); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

.btn-lg { padding: 0.8rem 1.8rem; font-size: 1rem; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 60%, var(--blue-light) 100%);
  color: var(--white);
  padding: 4rem 0 3rem;
  text-align: center;
}
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero p { font-size: 1.15rem; opacity: 0.92; max-width: 680px; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FEATURE CARDS SECTION (Home: 3 options)
   ============================================================ */
.feature-cards {
  background: var(--grey-light);
  padding: 3.5rem 0;
}
.feature-cards h2.section-title { text-align: center; margin-bottom: 0.5rem; }
.feature-cards .section-subtitle { text-align: center; color: var(--grey-mid); margin-bottom: 2.5rem; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: 0 8px 32px rgba(30,96,145,0.2); transform: translateY(-4px); }

.card-header {
  position: relative;
  overflow: hidden;
  background-color: var(--blue-dark);
  background-size: cover;
  background-position: center;
  padding: 2rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  min-height: 180px;
  justify-content: center;
}
.card-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26,74,114,0.83) 0%, rgba(30,96,145,0.68) 100%);
  z-index: 0;
}
.card-header .card-icon,
.card-header h3 { position: relative; z-index: 1; }

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
}

.card-header h3 {
  color: var(--white);
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1rem;
}
.card-body p { color: var(--grey-mid); font-size: 0.95rem; flex: 1; margin: 0; }
.card .btn { width: 100%; text-align: center; justify-content: center; }

/* ============================================================
   CAREDOVE EMBED SECTION
   ============================================================ */
.caredove-section {
  padding: 3rem 0;
  background: var(--white);
}
.caredove-section h2 { margin-bottom: 1.5rem; }

.caredove-embed-wrapper {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  min-height: 500px;
}
.caredove-embed-wrapper iframe {
  width: 100%;
  min-height: 950px;
  border: none;
  display: block;
}

/* ============================================================
   SUPPORT TYPES SECTION (used by falls-prevention & SALCs)
   ============================================================ */
.support-types {
  padding: 3.5rem 0;
  background: var(--grey-light);
}
.support-types h2 { text-align: center; margin-bottom: 0.5rem; }
.support-types .section-subtitle { text-align: center; color: var(--grey-mid); margin-bottom: 2rem; }

.support-group { margin-bottom: 2rem; }
.support-group h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-mid);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--blue-pale);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.support-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}
.support-item:hover { box-shadow: 0 4px 16px rgba(30,96,145,0.15); }
.support-item-icon { font-size: 1.5rem; color: var(--blue-mid); }
.support-item h4 { font-size: 0.95rem; }
.support-item p { font-size: 0.85rem; color: var(--grey-mid); }

/* --- Two-panel layout (home & find-services pages) --- */
.support-panels {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: start;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(30, 96, 145, 0.10);
  border: 1px solid var(--border);
  margin-top: 2rem;
  overflow: hidden;
}

.support-panel { padding: 2rem; }
.support-panel:first-child { padding-right: 2.5rem; }
.support-panel:last-child  { padding-left:  2.5rem; }

.support-panels-divider {
  background: var(--border);
  align-self: stretch;
}

.support-panel-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--blue-pale);
}

.support-panel-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-mid);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.support-panel-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  border: none;
  padding: 0;
}

.support-list { list-style: none; padding: 0; margin: 0; }

.support-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}
.support-list-item:last-child { border-bottom: none; padding-bottom: 0; }

.sli-icon {
  width: 38px;
  height: 38px;
  background: var(--blue-pale);
  color: var(--blue-mid);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.sli-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 0.15rem;
}
.sli-body strong { font-size: 0.95rem; color: var(--text); font-weight: 600; display: block; }
.sli-body span   { font-size: 0.85rem; color: var(--grey-mid); line-height: 1.45; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 3.5rem 0;
  background: var(--white);
}
.how-it-works h2 { text-align: center; margin-bottom: 2.5rem; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2rem;
  position: relative;
}

.step {
  text-align: center;
  padding: 1.5rem 1rem;
}
.step-number {
  width: 56px;
  height: 56px;
  background: var(--blue-mid);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--grey-mid); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section {
  padding: 3.5rem 0;
  background: var(--grey-light);
}
.faq-section h2 { margin-bottom: 2rem; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--blue-pale); }
.faq-question[aria-expanded="true"] { background: var(--blue-pale); color: var(--blue-dark); }

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer.open {
  max-height: 600px;
  padding: 1rem 1.5rem 1.25rem;
}
.faq-answer p, .faq-answer li { font-size: 0.95rem; color: var(--grey-dark); }
.faq-answer ul { list-style: disc; padding-left: 1.2rem; }
.faq-answer li { margin-bottom: 0.35rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 3.5rem 0;
  background: var(--blue-dark);
  color: var(--white);
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { opacity: 0.9; max-width: 600px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  color: var(--white);
  padding: 3rem 0 2.5rem;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { opacity: 0.9; font-size: 1.1rem; max-width: 700px; }
.page-hero-actions { margin-top: 1.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   GENERAL CONTENT SECTIONS
   ============================================================ */
.content-section { padding: 3rem 0; }
.content-section.alt-bg { background: var(--grey-light); }

.section-title { margin-bottom: 0.5rem; }
.section-subtitle { color: var(--grey-mid); margin-bottom: 2rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.two-col.reversed > *:first-child { order: 2; }
.two-col.reversed > *:last-child  { order: 1; }

.text-col h2, .text-col h3 { margin-bottom: 0.75rem; }
.text-col p { margin-bottom: 1rem; color: var(--grey-dark); }
.text-col ul { padding-left: 1.2rem; list-style: disc; }
.text-col li { margin-bottom: 0.4rem; color: var(--grey-dark); font-size: 0.95rem; }

/* ============================================================
   STATS / CALLOUT BLOCK
   ============================================================ */
.stat-block {
  background: var(--blue-pale);
  border-left: 5px solid var(--blue-mid);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--blue-dark); }
.stat-block p { margin: 0.25rem 0 0; color: var(--grey-mid); font-size: 0.9rem; }
.stat-source { font-size: 0.8rem !important; font-style: italic; }

/* ============================================================
   PARTNERS GRID
   ============================================================ */
.partners-section { padding: 3.5rem 0; background: var(--grey-light); }
.partners-section h2 { text-align: center; margin-bottom: 2rem; }
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 3.5rem;
  justify-content: center;
  align-items: center;
}
.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-item a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-item img {
  height: 130px;
  width: auto;
  max-width: 300px;
  filter: grayscale(100%);
  opacity: 0.72;
  transition: filter var(--transition), opacity var(--transition);
}
.partner-item a:hover img { filter: grayscale(0%); opacity: 1; }

/* ============================================================
   COVERAGE MAP SECTION
   ============================================================ */
.coverage-section { padding: 3rem 0; }
.coverage-section h2 { margin-bottom: 1rem; }
.coverage-section img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 1.5rem auto;
}

/* ============================================================
   CONTACT FORM / INFO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 0.75rem; color: var(--grey-dark); }
.contact-info a:not(.btn) { color: var(--blue-mid); }

.contact-form-box {
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-form-box h3 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(30,96,145,0.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ============================================================
   PRIVACY / ACCESSIBILITY CONTENT
   ============================================================ */
.prose-section {
  padding: 3rem 0;
  max-width: 820px;
  margin: 0 auto;
}
.prose-section h2 { margin-bottom: 0.5rem; }
.prose-section .updated { color: var(--grey-mid); font-size: 0.85rem; margin-bottom: 2rem; }
.prose-section h3 { margin: 2rem 0 0.75rem; color: var(--blue-dark); }
.prose-section p { margin-bottom: 1rem; color: var(--grey-dark); line-height: 1.7; }
.prose-section a:not(.btn) { color: var(--blue-mid); }
.prose-section a:not(.btn):hover { color: var(--blue-dark); }

.badge-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin: 1.5rem 0; }
.badge-placeholder {
  background: var(--blue-pale);
  color: var(--blue-dark);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--blue-mid);
}

/* ============================================================
   LAND ACKNOWLEDGEMENT
   ============================================================ */
.land-acknowledgement {
  background: var(--grey-light);
  border-left: 4px solid var(--blue-light);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}
.land-acknowledgement p { font-size: 0.9rem; color: var(--grey-dark); margin: 0; font-style: italic; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--grey-dark);
  color: rgba(255,255,255,0.8);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
  text-align: center;
}
.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.footer-logos img { filter: brightness(10); opacity: 0.92; height: 70px; width: auto; }
.footer-logo-divider {
  width: 1px;
  height: 64px;
  background: rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.footer-links a { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 600; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); text-decoration: none; }
.footer-links span { color: rgba(255,255,255,0.35); font-weight: 400; }
.footer-copy { font-size: 0.78rem; opacity: 0.5; }
.footer-note {
  font-size: 0.7rem;
  opacity: 0.35;
  margin-top: 0.75rem;
  line-height: 1.5;
}
.footer-note a { color: rgba(255,255,255,0.55); text-decoration: underline; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.skip-to-main {
  position: absolute;
  top: -50px;
  left: 1rem;
  background: var(--blue-mid);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-to-main:focus {
  top: 0;
  outline: 3px solid var(--white);
  outline-offset: 2px;
}
.btn:focus-visible {
  outline: 3px solid var(--blue-dark);
  outline-offset: 2px;
}
.main-nav a:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: 2px;
  border-radius: 2px;
}
.faq-question:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: -2px;
}
.hamburger:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col.reversed > *:first-child { order: unset; }
  .two-col.reversed > *:last-child  { order: unset; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .support-panels {
    grid-template-columns: 1fr;
  }
  .support-panels-divider { height: 1px; align-self: auto; }
  .support-panel:first-child { padding-right: 2rem; padding-bottom: 0; }
  .support-panel:last-child  { padding-left:  2rem; padding-top: 0; }
  .main-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 2px solid var(--blue-mid);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 999; padding: 1rem; }
  .main-nav.open ul { flex-direction: column; gap: 0; }
  .main-nav.open a { padding: 0.75rem 1rem; border-radius: 0;
    border-bottom: 1px solid var(--border); }

  .site-header .container { position: relative; flex-wrap: wrap; }
  .hamburger { display: flex; margin-left: auto; }
  .header-right { width: 100%; justify-content: space-between; padding-top: 0.25rem; }

  .cc-banner .container { flex-direction: column; align-items: flex-start; }
  .footer-logos { gap: 1.25rem; }
}

@media (max-width: 480px) {
  .hero { padding: 2.5rem 0 2rem; }
  .caredove-embed-wrapper iframe { min-height: 600px; }
  .steps-grid { grid-template-columns: 1fr; }
}
