/* ============================================================
   KALEIDOSCOPE CONSOLIDATED STYLESHEET
   Shared styles for Kaleidoscope Community & Family Care Services
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Color palette */
  --cream: #FFF8F0;
  --cream-warm: #FFF3E6;
  --blush: #F4D6CC;
  --blush-deep: #E8A99A;
  --sage: #B8CFC4;
  --sage-deep: #8FB5A6;
  --sage-muted: #D4E4DC;
  --lavender: #D4C8E2;
  --lavender-deep: #A68DC2;
  --sky: #B8D4E8;
  --sky-deep: #7BAECC;
  --gold: #E8C97A;
  --gold-warm: #D4A843;
  --teal: #5BA5A5;
  --teal-deep: #3D8282;
  --coral: #E07A6A;
  --navy: #2C3347;
  --navy-soft: #3D465E;

  /* Text colors */
  --text-primary: #2C3347;
  --text-secondary: #5A6175;
  --text-light: #8891A5;
  --white: #FFFFFF;

  /* Shadows */
  --shadow-soft: 0 2px 20px rgba(44, 51, 71, 0.06);
  --shadow-medium: 0 4px 30px rgba(44, 51, 71, 0.1);
  --shadow-glow: 0 8px 40px rgba(91, 165, 165, 0.12);

  /* Border radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
}


/* ============================================================
   2. RESET & BASE TYPOGRAPHY
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
}


/* ============================================================
   3. NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 248, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 200, 226, 0.2);
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--lavender-deep), var(--teal), var(--coral));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.nav-logo::after {
  content: '\2726'; /* star symbol fallback */
  color: white;
  font-size: 18px;
}

/* When a real logo image is present, hide the fallback icon */
.nav-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.nav-logo:has(img)::after {
  display: none !important;
  content: none !important;
}

.nav-brand-text {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

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

.nav-links a.active {
  color: var(--teal-deep);
  font-weight: 600;
}

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}


/* ============================================================
   4. BUTTONS
   ============================================================ */

/* Ghost button (outline / secondary) */
.btn-ghost {
  padding: 10px 20px;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--sage-deep);
  background: transparent;
  color: var(--sage-deep);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: 'DM Sans', sans-serif;
}
.btn-ghost:hover {
  background: var(--sage-deep);
  color: white;
}

/* Primary button (teal gradient) */
.btn-primary {
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  border: none;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 2px 12px rgba(91, 165, 165, 0.3);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(91, 165, 165, 0.4);
}

/* Hero-size primary button */
.btn-hero {
  padding: 16px 32px;
  border-radius: var(--radius-xl);
  border: none;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 4px 24px rgba(91, 165, 165, 0.35);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(91, 165, 165, 0.45);
}

/* Hero ghost button */
.btn-hero-ghost {
  padding: 16px 28px;
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(44, 51, 71, 0.15);
  background: transparent;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.25s;
}
.btn-hero-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

/* Submit button (full-width form submit) */
.btn-submit {
  width: 100%;
  padding: 16px 32px;
  border-radius: var(--radius-xl);
  border: none;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(91, 165, 165, 0.3);
  margin-top: 8px;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(91, 165, 165, 0.4);
}


/* ============================================================
   5. PAGE HERO (approved gradient pattern from contact.html)
   ============================================================ */
.page-hero-wrapper {
  background: linear-gradient(135deg, var(--sage-muted) 0%, var(--lavender) 40%, var(--blush) 80%, var(--cream-warm) 100%);
  margin: 72px 24px 0;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.page-hero-wrapper::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px 72px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Homepage hero variant (two-column with routing panel) */
.hero-wrapper {
  background: linear-gradient(135deg, var(--sage-muted) 0%, var(--lavender) 40%, var(--blush) 80%, var(--cream-warm) 100%);
  margin: 72px 24px 0;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.hero-wrapper::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

/* Eyebrow label */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 16px;
}

.page-hero .eyebrow {
  color: var(--teal-deep);
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--teal-deep);
}

.page-hero .lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}


/* ============================================================
   6. SECTION HEADERS (reusable pattern)
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 600px;
  margin: 0 auto 16px;
}

.section-header h2 em {
  font-style: italic;
  color: var(--lavender-deep);
}

.section-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}


/* ============================================================
   7. CARD PATTERNS
   ============================================================ */

/* Generic white card with hover lift */
.value-card,
.belief-card,
.prog-card,
.audience-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(212, 200, 226, 0.12);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.value-card:hover,
.belief-card:hover,
.prog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

/* Top color accent bar for cards */
.value-card::before,
.belief-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Card icon containers */
.value-icon,
.belief-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

/* Card typography */
.value-card h4,
.belief-card h4 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.value-card p,
.belief-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* Info cards (contact page pattern) */
.info-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(212, 200, 226, 0.1);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}
.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.info-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  font-family: 'DM Sans', sans-serif;
}
.info-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.info-card a {
  color: var(--teal-deep);
  text-decoration: none;
  font-weight: 500;
}
.info-card a:hover {
  text-decoration: underline;
}


/* ============================================================
   8. GRID LAYOUTS
   ============================================================ */

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

/* 2-column grid */
.programs-grid,
.programs-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

/* Contact 2-column grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* Flex column layout */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


/* ============================================================
   9. FORM STYLES
   ============================================================ */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(212, 200, 226, 0.1);
}

.contact-form-card h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 8px;
}

.contact-form-card .sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(44, 51, 71, 0.1);
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color 0.2s;
  outline: none;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6175' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Form success states */
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success h3 {
  font-family: 'Fraunces', serif;
  color: #3D8282;
  margin-bottom: 8px;
}
.form-success p {
  color: #5A6175;
}
.newsletter-success {
  color: #3D8282;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 0;
}


/* ============================================================
   10. CTA BANNER SECTION
   ============================================================ */
.cta-section {
  padding: 40px 40px 100px;
  max-width: 1100px;
  margin: 0 auto;
}

.cta-card {
  background: linear-gradient(135deg, var(--sage-muted) 0%, var(--lavender) 50%, var(--blush) 100%);
  border-radius: var(--radius-xl);
  padding: 72px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
}

.cta-card h2 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.cta-card p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.btn-cta-dark {
  padding: 18px 36px;
  border-radius: var(--radius-xl);
  border: none;
  background: var(--navy);
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(44, 51, 71, 0.25);
}
.btn-cta-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(44, 51, 71, 0.35);
}

.btn-cta-outline {
  padding: 18px 32px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--text-primary);
  background: transparent;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.25s;
}
.btn-cta-outline:hover {
  background: var(--text-primary);
  color: var(--white);
}


/* ============================================================
   11. SOCIAL LINKS
   ============================================================ */
.social-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(212, 200, 226, 0.1);
  box-shadow: var(--shadow-soft);
}
.social-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: 'DM Sans', sans-serif;
}
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social-btn {
  padding: 10px 18px;
  border-radius: var(--radius-xl);
  background: var(--cream);
  border: 1px solid rgba(44, 51, 71, 0.06);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.social-btn:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
  background: rgba(91, 165, 165, 0.04);
}


/* ============================================================
   12. PROGRAM LINK ARROW
   ============================================================ */
.prog-link,
.program-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-deep);
  text-decoration: none;
  transition: gap 0.2s;
}
.prog-link:hover,
.program-link:hover {
  gap: 10px;
}


/* ============================================================
   13. TAGS / CHIPS
   ============================================================ */
.program-tag,
.prog-tag {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: var(--radius-xl);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.feature-chip,
.detail-chip {
  padding: 6px 14px;
  border-radius: var(--radius-xl);
  background: var(--cream);
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  border: 1px solid rgba(44, 51, 71, 0.06);
}

.detail-chips,
.program-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}


/* ============================================================
   14. FAQ SECTION
   ============================================================ */
.faq-section {
  padding: 0 40px 80px;
  max-width: 800px;
  margin: 0 auto;
}
.faq-header {
  text-align: center;
  margin-bottom: 32px;
}
.faq-header h2 {
  font-size: 30px;
  font-weight: 400;
}
.faq-header h2 em {
  font-style: italic;
  color: var(--lavender-deep);
}
.faq-item {
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(44, 51, 71, 0.05);
  box-shadow: var(--shadow-soft);
  margin-bottom: 12px;
}
.faq-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
}
.faq-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}


/* ============================================================
   15. FOOTER
   ============================================================ */
footer {
  padding: 60px 40px 40px;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(44, 51, 71, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--teal-deep);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(44, 51, 71, 0.04);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-light);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(44, 51, 71, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  color: var(--text-light);
  transition: all 0.2s;
}
.footer-social a:hover {
  background: var(--teal);
  color: white;
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}


/* ============================================================
   16. ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.page-hero {
  animation: fadeUp 0.7s ease-out;
}


/* ============================================================
   17. HAMBURGER MENU & MOBILE NAV OVERLAY
   ============================================================ */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #2C3347;
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 2px;
}

/* Hamburger active state (X shape) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Dark overlay behind mobile menu */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 98;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}


/* ============================================================
   18. RESPONSIVE - TABLET (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  /* Grid collapses */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-strip { grid-template-columns: 1fr 1fr; }
  .beliefs-grid { grid-template-columns: 1fr 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .programs-cards { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }

  /* Homepage hero */
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .routing-panel { max-width: 480px; }

  /* About page */
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-photo-placeholder { max-width: 360px; }

  /* Framework / banner cards */
  .framework-banner { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Programs page */
  .program-full { grid-template-columns: 1fr; }
  .cert-banner { grid-template-columns: 1fr; text-align: center; }
  .cert-badge { margin: 0 auto; }
  .cert-tiers { justify-content: center; }
}


/* ============================================================
   19. RESPONSIVE - MOBILE (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Nav */
  nav { padding: 0 20px; }
  .nav-links { display: none; }

  /* Hamburger shows */
  .hamburger { display: block; }

  /* Mobile slide-out nav */
  .nav-links {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 72px;
    right: -300px;
    width: 280px;
    height: calc(100vh - 72px);
    background: rgba(255, 248, 240, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 32px 24px;
    gap: 8px;
    z-index: 99;
    transition: right 0.3s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
    border-left: 1px solid rgba(212, 200, 226, 0.2);
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(44, 51, 71, 0.06);
  }
  .nav-cta { display: none; }

  /* Hero sections */
  .page-hero-wrapper { margin: 72px 12px 0; }
  .page-hero { padding: 60px 20px 56px; }
  .page-hero h1 { font-size: 34px; }
  .hero-wrapper { margin: 72px 12px 0; }
  .hero { padding: 60px 20px 60px; }
  .hero h1 { font-size: 36px; }

  /* Grid collapses to single column */
  .values-strip { grid-template-columns: 1fr; }
  .beliefs-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Content sections */
  .contact-section { padding: 60px 20px; }
  .contact-form-card { padding: 28px 24px; }
  .mission-section { padding: 60px 20px; }
  .founder-section { padding: 60px 20px; }
  .programs-section { padding: 60px 20px; }
  .inclusivity-banner {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    text-align: center;
  }

  /* CTA section */
  .cta-card { padding: 48px 28px; }
  .cta-card h2 { font-size: 30px; }

  /* Framework / banners */
  .framework-banner { padding: 36px 24px; }
  .framework-banner h3 { font-size: 24px; }
  .cert-banner { padding: 36px 24px; }

  /* Programs page cards */
  .program-visual { padding: 36px 28px; }
  .program-details { padding: 36px 28px; }

  /* Homepage hero specifics */
  .trust-bar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  /* Pillars */
  .pillars-grid { grid-template-columns: 1fr; }
}
