/* Step One NA — Stylesheet */
/* Warm, inviting, hopeful. Recovery community. */

:root {
  --primary: #2C3E50;
  --primary-light: #34495E;
  --accent: #3498DB;
  --accent-warm: #E67E22;
  --warm: #F39C12;
  --bg: #FAFAFA;
  --bg-alt: #F0F4F8;
  --bg-warm: #FDF6EC;
  --text: #2C3E50;
  --text-light: #5D6D7E;
  --text-muted: #95A5A6;
  --white: #FFFFFF;
  --border: #E8E8E8;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1100px;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.3;
  color: var(--primary);
}

h1 { font-size: 2.8rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 600; }

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-warm); }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ─── Header / Nav ─── */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.nav-brand-icon {
  font-size: 1.6rem;
}

.nav-brand-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
}

.nav-brand-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* ─── Hero ─── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 2.8rem;
}

.hero-tagline {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 12px;
  font-weight: 300;
}

.hero-established {
  font-size: 0.95rem;
  opacity: 0.7;
  font-style: italic;
  margin-bottom: 32px;
}

.hero-cta {
  display: inline-block;
  background: var(--accent-warm);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.hero-cta:hover {
  background: var(--warm);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

/* ─── Welcome Section ─── */
.welcome {
  padding: 72px 24px;
  background: var(--bg-warm);
}

.welcome-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.welcome h2 { margin-bottom: 20px; }

.welcome p {
  max-width: 700px;
  margin: 0 auto 16px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.welcome-quote {
  margin-top: 28px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--primary);
  opacity: 0.8;
}

/* ─── Meeting Schedule ─── */
.schedule {
  padding: 72px 24px;
  background: var(--white);
}

.schedule-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.schedule h2 {
  text-align: center;
  margin-bottom: 12px;
}

.schedule-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.schedule-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.schedule-card-day {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.schedule-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.schedule-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--text);
}

.schedule-card li .time {
  font-weight: 600;
  min-width: 70px;
  color: var(--primary);
}

.schedule-card li .type {
  color: var(--text-light);
}

.schedule-note {
  text-align: center;
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* ─── Protocols ─── */
.protocols {
  padding: 72px 24px;
  background: var(--bg-alt);
}
.protocols-inner {
  max-width: 900px;
  margin: 0 auto;
}
.protocols-inner h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  color: var(--text);
}
.protocols-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.protocols-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.protocol-card {
  background: var(--bg);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.protocol-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.protocol-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}
.protocol-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text);
}
.protocol-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.protocols-note {
  margin-top: 32px;
  padding: 20px 24px;
  background: rgba(46, 134, 171, 0.1);
  border: 1px solid rgba(46, 134, 171, 0.3);
  border-radius: 10px;
  text-align: center;
}
.protocols-note p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}
.protocols-note strong {
  color: var(--accent);
}

/* ─── Info Cards ─── */
.info-cards {
  padding: 72px 24px;
  background: var(--bg-alt);
}

.info-cards-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.info-card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.info-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.info-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ─── About / History ─── */
.about {
  padding: 72px 24px;
  background: var(--white);
}

.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.about h2 {
  text-align: center;
  margin-bottom: 24px;
}

.about-content {
  max-width: 750px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.05rem;
}

.about-content p {
  margin-bottom: 16px;
}

/* ─── Contact & Directions ─── */
.contact {
  padding: 72px 24px;
  background: var(--bg-warm);
}

.contact-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact h2 {
  text-align: center;
  margin-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item-icon {
  font-size: 1.4rem;
  min-width: 32px;
  text-align: center;
  padding-top: 2px;
}

.contact-item-text h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item-text p,
.contact-item-text a {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}

.contact-map iframe {
  width: 100%;
  height: 320px;
  border: none;
}

/* Mobile action buttons inside contact section */
.mobile-cta-bar {
  display: none;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
}

.mobile-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
}

.mobile-cta-call {
  background: var(--accent);
  color: var(--white);
}

.mobile-cta-call:hover {
  background: #2980B9;
  color: var(--white);
}

.mobile-cta-dir {
  background: var(--accent-warm);
  color: var(--white);
}

.mobile-cta-dir:hover {
  background: var(--warm);
  color: var(--white);
}

/* ─── Newcomer Banner ─── */
.newcomer {
  padding: 56px 24px;
  background: linear-gradient(135deg, var(--accent) 0%, #2980B9 100%);
  color: var(--white);
  text-align: center;
}

.newcomer h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.newcomer p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  opacity: 0.95;
}

/* ─── Footer ─── */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 40px 24px;
  text-align: center;
}

.footer p {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer a {
  color: var(--white);
  opacity: 0.7;
}

.footer a:hover { opacity: 1; }

.footer-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
}

/* ─── Sticky Mobile CTAs ─── */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
  padding: 10px 16px;
  z-index: 9999;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  flex: 1;
  max-width: 140px;
  text-align: center;
}

.sticky-btn-icon {
  font-size: 1rem;
}

.sticky-btn-call {
  background: #27ae60;
  color: white;
}

.sticky-btn-call:hover {
  background: #219a52;
  color: white;
}

.sticky-btn-meetings {
  background: var(--accent);
  color: white;
}

.sticky-btn-meetings:hover {
  background: #2980B9;
  color: white;
}

.sticky-btn-dir {
  background: var(--accent-warm);
  color: white;
}

.sticky-btn-dir:hover {
  background: var(--warm);
  color: white;
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 16px;
  }
  .nav-toggle { display: block; }

  .hero { padding: 56px 24px; }
  .hero h1 { font-size: 2rem; }

  .schedule-grid { grid-template-columns: 1fr; }
  .info-cards-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .contact-map { min-height: 250px; }
  .contact-map iframe { height: 250px; }

  /* Show mobile CTAs */
  .mobile-cta-bar { display: flex; }
  .sticky-mobile-cta { display: flex; }

  /* Add bottom padding so sticky bar doesn't cover content */
  body { padding-bottom: 70px; }

  /* Push chat bubble up above sticky bar */
  #jw-chat-bubble { bottom: 80px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  .hero { padding: 44px 16px; }
  .hero-cta { padding: 12px 28px; font-size: 0.95rem; }
}

/* ─── JW Chat Widget ─── */
#jw-chat-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  border-radius: 40px;
  background: linear-gradient(135deg, var(--primary), #1a5276);
  border: none;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(26,82,118,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 18px 28px;
}
#jw-chat-bubble:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(26,82,118,0.6);
}
#jw-chat-bubble .pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  border: 2px solid var(--primary);
  animation: jw-pulse 2s ease-out infinite;
}
.jw-bubble-content {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.jw-bubble-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.jw-bubble-label {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
  text-align: left;
}
@keyframes jw-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

#jw-chat-window {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 400px;
  max-width: calc(100vw - 48px);
  height: 560px;
  max-height: calc(100vh - 140px);
  background: #fff;
  border-radius: 16px;
  z-index: 10001;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
#jw-chat-window.open {
  display: flex;
  animation: jw-slideUp 0.3s ease-out;
}
@keyframes jw-slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.jw-header {
  background: linear-gradient(135deg, var(--primary), #1a5276);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.jw-header-info { display: flex; align-items: center; gap: 12px; }
.jw-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: white;
  font-family: 'Inter', sans-serif;
}
.jw-header-text h3 { color: white; font-size: 15px; font-weight: 600; line-height: 1.2; margin: 0; }
.jw-header-text span { color: rgba(255,255,255,0.8); font-size: 11px; }
.jw-close {
  background: rgba(255,255,255,0.2); border: none; color: white;
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.jw-close:hover { background: rgba(255,255,255,0.3); }

.jw-crisis {
  background: linear-gradient(135deg, #b71c1c, #c62828);
  color: white; text-align: center;
  padding: 7px 12px; font-size: 11px; font-weight: 600; flex-shrink: 0;
}
.jw-crisis a { color: #ffd54f; text-decoration: underline; }

/* Crisis inline message inside chat */
.jw-crisis-inline {
  background: #fff3e0;
  border: 2px solid #ff9800;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #e65100;
  text-align: center;
}
.jw-crisis-inline strong {
  color: #b71c1c;
}
.jw-crisis-inline a {
  color: #1565c0;
  text-decoration: underline;
  font-weight: 700;
}
.jw-crisis-inline a:hover {
  color: #0d47a1;
}

.jw-messages {
  flex: 1; overflow-y: auto; padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  scroll-behavior: smooth; background: #f8f9fa;
}
.jw-messages::-webkit-scrollbar { width: 5px; }
.jw-messages::-webkit-scrollbar-track { background: transparent; }
.jw-messages::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

.jw-msg {
  max-width: 85%; padding: 11px 14px; border-radius: 14px;
  font-size: 13.5px; line-height: 1.5; word-wrap: break-word;
  font-family: 'Inter', sans-serif;
}
.jw-bot { align-self: flex-start; background: #e8eef3; color: #1a1a2e; border-bottom-left-radius: 4px; }
.jw-user { align-self: flex-end; background: linear-gradient(135deg, var(--primary), #1a5276); color: white; border-bottom-right-radius: 4px; }
.jw-disclaimer {
  align-self: center; max-width: 95%; padding: 7px 10px;
  background: #fff3e0; border: 1px solid #ffe0b2; border-radius: 8px;
  font-size: 10.5px; color: #e65100; text-align: center; line-height: 1.4;
  font-family: 'Inter', sans-serif;
}

.jw-typing { padding: 14px 18px; }
.jw-dots { display: flex; gap: 4px; }
.jw-dots span { width: 7px; height: 7px; border-radius: 50%; background: #999; animation: jw-bounce 1.4s infinite ease-in-out; }
.jw-dots span:nth-child(2) { animation-delay: 0.2s; }
.jw-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes jw-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-7px); }
}

.jw-quick-actions {
  display: flex; flex-wrap: wrap; gap: 5px;
  padding: 6px 14px 0; background: #f8f9fa; flex-shrink: 0;
}
.jw-quick-btn {
  background: white; border: 1px solid #ddd; color: #1a1a2e;
  padding: 5px 10px; border-radius: 16px; font-size: 11px;
  cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif;
}
.jw-quick-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }

.jw-input-area {
  padding: 10px 14px; border-top: 1px solid #e0e0e0;
  display: flex; gap: 8px; flex-shrink: 0; background: #fff;
}
#jw-chat-input {
  flex: 1; background: #f0f2f5; border: 1px solid #ddd;
  border-radius: 20px; padding: 9px 14px; color: #1a1a2e;
  font-size: 13.5px; font-family: 'Inter', sans-serif;
  outline: none; transition: border-color 0.2s;
}
#jw-chat-input::placeholder { color: #999; }
#jw-chat-input:focus { border-color: var(--primary); }
#jw-chat-send {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #1a5276);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, opacity 0.2s; flex-shrink: 0;
}
#jw-chat-send:hover { transform: scale(1.05); }
#jw-chat-send:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ─── Sub-Page Hero ─── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 64px 24px;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.page-hero-sub {
  font-size: 1.15rem;
  opacity: 0.9;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

.newcomer-hero {
  background: linear-gradient(135deg, var(--accent) 0%, #2980B9 100%);
}

/* ─── Nav Active State ─── */
.nav-links a.nav-active {
  color: var(--accent-warm);
  font-weight: 600;
}

/* ─── Standalone Page Sections ─── */
.standalone-schedule {
  padding: 72px 24px;
  background: var(--white);
}

.standalone-about {
  padding: 72px 24px;
  background: var(--white);
}

.standalone-about .about-content {
  max-width: 750px;
  margin: 0 auto;
}

.standalone-about h2 {
  margin-bottom: 16px;
  margin-top: 40px;
  font-size: 1.6rem;
}

.standalone-about h2:first-child {
  margin-top: 0;
}

.standalone-about p {
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.about-list {
  margin: 16px 0 24px 24px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.about-list li {
  margin-bottom: 12px;
  line-height: 1.6;
}

.about-list li strong {
  color: var(--primary);
}

/* ─── Schedule Details Cards ─── */
.schedule-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.schedule-detail-card {
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--border);
}

.schedule-detail-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.schedule-detail-card p {
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.5;
}

/* ─── CTA Section ─── */
.cta-section {
  padding: 48px 24px;
  background: var(--bg-alt);
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.cta-section a {
  color: var(--accent);
  font-weight: 600;
}

.cta-section a:hover {
  color: var(--accent-warm);
}

/* ─── Directions Section ─── */
.directions-section {
  padding: 72px 24px;
  background: var(--white);
}

.directions-section h2 {
  text-align: center;
  margin-bottom: 32px;
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.directions-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
}

.directions-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.directions-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.directions-card a {
  color: var(--accent);
}

/* Phone + Directions links in contact */
.phone-link {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: var(--accent) !important;
}

.directions-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

.directions-link:hover {
  color: var(--accent-warm);
}

.contact-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ─── Crisis Banner ─── */
.crisis-banner {
  padding: 48px 24px;
  background: linear-gradient(135deg, #b71c1c 0%, #c62828 100%);
  color: white;
  text-align: center;
}
.crisis-banner h2 {
  color: white;
  margin-bottom: 24px;
  font-size: 1.6rem;
}
.crisis-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.crisis-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius);
  text-decoration: none;
  color: white;
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.3);
}
.crisis-card:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
  color: white;
}
.crisis-number {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}
.crisis-label {
  font-weight: 600;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 6px;
}
.crisis-desc {
  font-size: 0.85rem;
  opacity: 0.85;
  display: block;
}
.crisis-911 { border-color: rgba(255,255,255,0.4); }
.crisis-988 { border-color: rgba(255, 215, 0, 0.5); }
.crisis-helpline { border-color: rgba(100,200,255,0.4); }

/* ─── Resource Sections ─── */
.resource-section {
  padding: 72px 24px;
  background: var(--white);
}
.resource-section-alt {
  background: var(--bg-alt);
}
.resource-section h2 {
  text-align: center;
  margin-bottom: 12px;
}
.resource-intro {
  text-align: center;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}
.resource-intro em {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.resource-note {
  text-align: center;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}
.resource-note a {
  color: var(--accent);
}

/* ─── Steps Grid ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.step-card {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.step-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.step-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
}
.step-card p em {
  color: var(--text-muted);
}

/* ─── Literature Grid ─── */
.literature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.literature-card {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 24px;
  border: 1px solid var(--border);
}
.literature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.literature-card p {
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ─── Resource Link Cards ─── */
.resource-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.resource-link-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}
.resource-link-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: var(--text);
}
.resource-link-icon {
  font-size: 1.6rem;
  min-width: 36px;
  text-align: center;
}
.resource-link-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--primary);
}
.resource-link-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ─── FAQ Grid ─── */
.faq-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}

/* ─── Mobile for Sub-pages + Crisis ─── */
@media (max-width: 768px) {
  .crisis-cards { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .literature-grid { grid-template-columns: 1fr; }
  .resource-links-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 48px 24px; }
  .page-hero h1 { font-size: 1.8rem; }
  .schedule-details { grid-template-columns: 1fr; }
  .directions-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .crisis-number { font-size: 1.6rem; }
  .page-hero { padding: 36px 16px; }
  .page-hero h1 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  #jw-chat-window { bottom: 0; right: 0; width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  #jw-chat-bubble { bottom: 16px; right: 16px; padding: 14px 22px; }
  .jw-bubble-icon { width: 34px; height: 34px; }
  .jw-bubble-label { font-size: 16px; }
}