/* ============================================================
   Wimberly Center — Shared Stylesheet
   Brand: Deep forest green + warm earth tones
   ============================================================ */

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

:root {
  --green:        #2d5a27;
  --green-dark:   #1e3d1a;
  --green-light:  #3d7a35;
  --sage:         #7a9e5c;
  --sage-light:   #c4dba8;
  --sage-pale:    #eef6e6;
  --earth:        #8b6914;
  --earth-light:  #b8892a;
  --earth-pale:   #f5edd8;
  --cream:        #faf7f0;
  --warm-white:   #fff;
  --text:         #2c2416;
  --text-mid:     #5a4e38;
  --gray-text:    #6b6256;
  --gray-light:   #ece8e0;
  --gray-mid:     #c4bdb0;
  --shadow:       0 3px 18px rgba(44,36,22,.1);
  --shadow-lg:    0 8px 40px rgba(44,36,22,.16);
  --radius:       12px;
  --radius-lg:    18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.25;
  color: var(--green-dark);
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-light); text-decoration: underline; }

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

/* ── TOP BAR ── */
.top-bar {
  background: var(--green);
  color: rgba(255,255,255,.9);
  font-size: 12.5px;
  font-weight: 500;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: .3px;
}
.top-bar a { color: rgba(255,255,255,.9); text-decoration: none; }
.top-bar a:hover { color: #fff; text-decoration: underline; }

/* ── HOUSING BANNER ── */
.housing-banner {
  background: var(--earth-pale);
  border-bottom: 1px solid #ddd5c0;
  text-align: center;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--earth);
  font-weight: 600;
}
.housing-banner a { color: var(--earth); font-weight: 700; text-decoration: underline; }
.housing-banner a:hover { color: var(--green); }

/* ── NAVIGATION ── */
#site-nav {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto;
  padding: 0 20px;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 62px;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; flex-shrink: 0;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.2px;
}
.nav-logo:hover { color: var(--sage-light); text-decoration: none; }
.nav-logo img { filter: brightness(0) invert(1); }
.nav-leaf { flex-shrink: 0; }
.nav-toggle {
  display: none;
  background: none; border: none;
  color: rgba(255,255,255,.85);
  font-size: 24px; cursor: pointer; padding: 4px;
  line-height: 1;
}
.nav-links {
  display: flex; align-items: center;
  gap: 2px; list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: 13.5px; font-weight: 500;
  padding: 7px 11px; border-radius: 6px;
  text-decoration: none;
  transition: all .18s;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,.12);
  text-decoration: none;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  text-decoration: none;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--earth); color: #fff; border-color: var(--earth); }
.btn-primary:hover { background: var(--earth-light); border-color: var(--earth-light); }
.btn-green { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: var(--green-light); border-color: var(--green-light); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-outline-dark { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline-dark:hover { background: var(--green); color: #fff; }
.btn-earth { background: var(--earth-pale); color: var(--earth); border-color: #d4b870; }
.btn-earth:hover { background: #ecdaa8; }
.btn-sm { padding: 7px 16px; font-size: 13px; }

/* ── HERO ── */
.hero {
  background: linear-gradient(160deg, #1a3316 0%, #2d5a27 45%, #3a7030 80%, #4a8a3a 100%);
  min-height: 520px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M40 0C20 10 0 30 0 40s20 30 40 40 40-20 40-40S60 10 40 0z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  max-width: 1140px; margin: 0 auto; padding: 72px 24px;
  position: relative; z-index: 1;
  max-width: 720px; margin: 0 auto; padding: 80px 32px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(196,219,168,.18);
  color: var(--sage-light);
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 20px;
  border: 1px solid rgba(196,219,168,.2);
}
.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 6vw, 52px);
  color: #fff; line-height: 1.15; margin-bottom: 18px;
  font-weight: 700;
}
.hero h1 span { color: var(--sage-light); }
.hero p { font-size: 17px; color: rgba(255,255,255,.82); line-height: 1.7; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 48px 24px 52px;
  text-align: center;
}
.page-header h1 { font-size: clamp(28px,5vw,42px); color: #fff; margin-bottom: 10px; }
.page-header p { font-size: 16px; color: rgba(255,255,255,.78); max-width: 560px; margin: 0 auto; }
.breadcrumb { font-size: 12.5px; color: rgba(255,255,255,.55); margin-bottom: 10px; }
.breadcrumb a { color: rgba(255,255,255,.7); }

/* ── STAT BAR ── */
.stat-bar {
  background: var(--green-dark);
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0;
}
.stat-item {
  padding: 24px 40px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
  flex: 1; min-width: 160px;
}
.stat-item:last-child { border-right: none; }
.stat-num { font-family: Georgia, serif; font-size: 32px; font-weight: 700; color: var(--sage-light); }
.stat-label { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 4px; font-weight: 500; letter-spacing: .3px; }

/* ── INFO STRIP ── */
.info-strip {
  background: var(--earth-pale);
  border: 1px solid #ddd5c0;
  border-radius: var(--radius);
  padding: 14px 20px;
  margin: 0 auto 0;
  font-size: 14px; color: var(--earth);
  font-weight: 600;
  max-width: 1140px;
  margin: 24px auto;
}
.info-strip.red { background: #fdecea; border-color: #f5c6c2; color: #c0392b; }

/* ── SECTIONS ── */
.section { padding: 64px 24px; }
.section-alt { background: var(--sage-pale); }
.section-dark {
  background: var(--green-dark);
  color: rgba(255,255,255,.85);
}
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--sage-light); }
.section-earth { background: var(--earth-pale); }

.container { max-width: 1140px; margin: 0 auto; }
.container-sm { max-width: 720px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 44px; }
.section-header h2 { font-size: clamp(24px,4vw,36px); margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--gray-text); max-width: 580px; margin: 0 auto; }
.eyebrow {
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--sage);
  margin-bottom: 8px;
}

/* ── CARDS ── */
.card-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 22px;
}
.card-grid-2 { grid-template-columns: repeat(2,1fr); }
.card-grid-4 { grid-template-columns: repeat(4,1fr); }

.card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 48px; height: 48px;
  background: var(--sage-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; color: var(--green-dark); }
.card p { font-size: 14px; color: var(--gray-text); line-height: 1.65; }
.card-link {
  display: inline-block; margin-top: 14px;
  font-size: 13.5px; font-weight: 700; color: var(--green);
  text-decoration: none;
}
.card-link:hover { color: var(--earth); text-decoration: underline; }

/* ── PROVIDER GRID ── */
.provider-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
}
.provider-card {
  background: var(--warm-white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.provider-card:hover { border-color: var(--sage); box-shadow: 0 3px 14px rgba(122,158,92,.15); }
.provider-icon { font-size: 28px; margin-bottom: 8px; }
.provider-name { font-size: 13px; font-weight: 700; color: var(--green-dark); }
.provider-desc { font-size: 11.5px; color: var(--gray-text); margin-top: 4px; }
.provider-logo-wrap {
  height: 80px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.provider-img { max-height: 72px; max-width: 100%; object-fit: contain; display: block; }
.provider-fallback {
  height: 72px; width: 100%;
  background: var(--sage-pale); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark); font-size: 18px; font-weight: 800; letter-spacing: 1px;
}
a.provider-card { text-decoration: none; color: inherit; display: block; }
a.provider-card:hover .provider-name { color: var(--green); }

/* ── FEATURE ROW ── */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-img { order: 1; }
.feature-text h2 { font-size: clamp(22px,3.5vw,32px); margin-bottom: 14px; }
.feature-text p { font-size: 15px; color: var(--gray-text); line-height: 1.75; margin-bottom: 12px; }
.feature-img {
  background: linear-gradient(145deg, var(--sage-pale), #d8eccc);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
  border: 1px solid var(--gray-light);
}

/* ── CHECK LIST ── */
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: 6px 0 6px 26px; position: relative;
  font-size: 14.5px; color: var(--gray-text);
  border-bottom: 1px solid var(--gray-light);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 6px;
  color: var(--sage); font-weight: 700; font-size: 13px;
}

/* ── NOTICE BOXES ── */
.notice {
  background: var(--sage-pale);
  border-left: 4px solid var(--sage);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--green-dark);
  line-height: 1.6;
}
.notice.amber {
  background: var(--earth-pale);
  border-color: var(--earth);
  color: var(--text);
}
.notice.red { background: #fdecea; border-color: #e74c3c; color: #c0392b; }

/* ── FORMS ── */
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--green-dark); margin-bottom: 6px;
}
input, select, textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 8px; font-size: 14px;
  font-family: inherit; color: var(--text);
  background: #fff; outline: none;
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); }
textarea { min-height: 110px; resize: vertical; }

/* ── GALLERY PLACEHOLDER ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-top: 8px;
}
.gallery-item {
  background: linear-gradient(135deg, var(--sage-pale), #d8eccc);
  border-radius: 10px;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  border: 1px solid var(--gray-light);
}

/* ── RECIPE CARDS ── */
.recipe-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
}
.recipe-img {
  height: 140px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.recipe-img.green-img { background: linear-gradient(135deg, #2d5a27, #4a8a3a); }
.recipe-img.earth-img { background: linear-gradient(135deg, #8b6914, #c4974a); }
.recipe-img.sage-img  { background: linear-gradient(135deg, #5a8a3a, #7aae5c); }
.recipe-body { padding: 18px; }
.recipe-tag { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--sage); }
.recipe-title { font-family: Georgia,serif; font-size: 17px; color: var(--green-dark); margin: 6px 0 8px; }
.recipe-desc { font-size: 13px; color: var(--gray-text); line-height: 1.6; }

/* ── EVENT CARDS ── */
.event-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-light);
  overflow: hidden;
  transition: box-shadow .2s;
}
.event-card:hover { box-shadow: var(--shadow-lg); }
.event-date-box {
  background: var(--green); color: #fff;
  text-align: center; padding: 14px;
}
.event-month { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .8; }
.event-day { font-family: Georgia,serif; font-size: 34px; font-weight: 700; line-height: 1; }
.event-body { padding: 16px; }
.event-title { font-weight: 700; font-size: 15px; color: var(--green-dark); margin-bottom: 6px; }
.event-meta { font-size: 12px; color: var(--gray-text); }
.event-badge {
  display: inline-block; background: var(--sage-pale); color: var(--green);
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-top: 8px;
}

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 10px; top: 0; bottom: 0;
  width: 2px; background: var(--gray-light);
}
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-dot {
  position: absolute; left: -26px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--sage); border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--sage);
}
.timeline-year { font-size: 11px; font-weight: 700; color: var(--earth); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.timeline-text { font-size: 14.5px; color: var(--gray-text); line-height: 1.65; }

/* ── FLOOR PLAN SVG ── */
.floor-plan-wrap {
  background: #fff;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

/* ── IMPACT STATS ── */
.impact-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.impact-box {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 24px; text-align: center;
}
.impact-num { font-family: Georgia,serif; font-size: 38px; font-weight: 700; color: var(--sage-light); }
.impact-label { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 6px; }

/* ── FOOTER ── */
#site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.75);
  padding: 56px 24px 0;
}
.footer-grid {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px; padding-bottom: 48px;
}
.footer-logo-row { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.footer-name { font-family: Georgia,serif; font-size: 19px; font-weight: 700; color: #fff; }
.footer-tagline { font-size: 13px; color: var(--sage-light); font-weight: 600; margin-bottom: 10px; font-style: italic; }
.footer-desc { font-size: 13px; line-height: 1.7; }
.footer-col h4 { font-family: Georgia,serif; font-size: 13.5px; font-weight: 700; color: var(--sage-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-col ul a { font-size: 13.5px; color: rgba(255,255,255,.68); transition: color .18s; }
.footer-col ul a:hover { color: #fff; text-decoration: none; }
.footer-col p { font-size: 13.5px; line-height: 1.7; }
.footer-col a { color: rgba(255,255,255,.75); }
.footer-col a:hover { color: #fff; }
.footer-wha-btn {
  display: inline-block; margin-top: 12px;
  background: var(--earth); color: #fff !important;
  padding: 9px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 700; text-decoration: none !important;
  transition: background .2s;
}
.footer-wha-btn:hover { background: var(--earth-light) !important; }
.footer-bottom {
  max-width: 1140px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,.4);
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--sage-light); }
.pgx-credit { color: var(--earth-light) !important; }

/* ── CHATBOT WIDGET ── */
#wc-bubble {
  position: fixed; bottom: 28px; right: 28px;
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  box-shadow: 0 4px 24px rgba(45,90,39,.45);
  cursor: pointer; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  border: none; padding: 0;
  animation: wc-pop .7s cubic-bezier(.34,1.56,.64,1) .4s both;
  transition: transform .2s, box-shadow .2s; outline: none;
}
#wc-bubble:hover { transform: scale(1.08); box-shadow: 0 8px 32px rgba(45,90,39,.55); }
#wc-bubble.open { background: linear-gradient(135deg, var(--green-dark), var(--green)); }
@keyframes wc-pop { 0%{transform:scale(0);opacity:0} 60%{transform:scale(1.15);opacity:1} 80%{transform:scale(.95)} 100%{transform:scale(1)} }
.wc-icon-chat, .wc-icon-close { position: absolute; transition: opacity .2s, transform .2s; }
.wc-icon-close { opacity: 0; transform: rotate(-90deg) scale(.7); }
#wc-bubble.open .wc-icon-chat { opacity: 0; transform: rotate(90deg) scale(.7); }
#wc-bubble.open .wc-icon-close { opacity: 1; transform: rotate(0deg) scale(1); }
#wc-notif-dot {
  position: absolute; top: 2px; right: 2px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--earth-light); border: 2px solid #fff;
  animation: wc-pulse 2s infinite; transition: opacity .3s;
}
#wc-bubble.open #wc-notif-dot { opacity: 0; }
@keyframes wc-pulse { 0%,100%{box-shadow:0 0 0 0 rgba(184,137,42,.55)} 50%{box-shadow:0 0 0 5px rgba(184,137,42,0)} }
#wc-tooltip {
  position: fixed; bottom: 104px; right: 28px;
  background: var(--green-dark); color: #fff;
  font-size: 13px; font-weight: 500;
  padding: 9px 14px; border-radius: 10px;
  white-space: nowrap; z-index: 99998;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  pointer-events: none; opacity: 0; transform: translateY(6px);
  transition: opacity .25s, transform .25s;
  font-family: system-ui, sans-serif;
}
#wc-tooltip.visible { opacity: 1; transform: translateY(0); }
#wc-tooltip::after {
  content: ''; position: absolute; bottom: -6px; right: 22px;
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-top: 6px solid var(--green-dark);
}
#wc-popup {
  position: fixed; bottom: 104px; right: 28px;
  width: 380px; height: 560px;
  border-radius: 18px; z-index: 99998;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  display: flex; flex-direction: column;
  overflow: hidden; background: #fff;
  opacity: 0; transform: translateY(24px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .28s ease, transform .28s cubic-bezier(.34,1.3,.64,1);
  pointer-events: none;
}
#wc-popup.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
#wc-header { background: linear-gradient(135deg, var(--green-dark), var(--green)); padding: 16px 18px 14px; flex-shrink: 0; }
#wc-header-top { display: flex; justify-content: space-between; align-items: flex-start; }
.wc-header-name { font-weight: 700; font-size: 15px; color: #fff; font-family: Georgia,serif; }
.wc-header-sub { font-size: 11px; color: rgba(255,255,255,.72); margin-top: 2px; }
#wc-header-close {
  background: rgba(255,255,255,.15); border: none; cursor: pointer;
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; transition: background .18s; flex-shrink: 0;
}
#wc-header-close:hover { background: rgba(255,255,255,.25); }
#wc-messages { flex: 1; overflow-y: auto; padding: 14px 14px 8px; background: var(--cream); scroll-behavior: smooth; }
.wc-msg { margin-bottom: 10px; display: flex; flex-direction: column; }
.wc-msg.user { align-items: flex-end; }
.wc-msg.bot  { align-items: flex-start; }
.wc-bbl {
  max-width: 83%; padding: 9px 13px; border-radius: 14px;
  font-size: 13px; line-height: 1.55;
}
.wc-msg.user .wc-bbl { background: linear-gradient(135deg, var(--green), var(--green-light)); color: #fff; border-radius: 14px 14px 4px 14px; }
.wc-msg.bot  .wc-bbl { background: #fff; color: var(--text); border: 1px solid var(--gray-light); border-radius: 14px 14px 14px 4px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.wc-typing { display: flex; gap: 4px; padding: 10px 14px; align-items: center; }
.wc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); animation: wc-dotpop 1.2s infinite; }
.wc-dot:nth-child(2){animation-delay:.2s} .wc-dot:nth-child(3){animation-delay:.4s}
@keyframes wc-dotpop{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-5px)}}
#wc-input-row {
  padding: 10px 12px; background: #fff;
  border-top: 1px solid var(--gray-light);
  display: flex; gap: 8px; align-items: flex-end; flex-shrink: 0;
}
#wc-input {
  flex: 1; padding: 9px 12px;
  border: 1.5px solid var(--gray-light);
  border-radius: 10px; font-size: 13px;
  font-family: inherit; resize: none; outline: none;
  line-height: 1.4; max-height: 90px; overflow-y: auto;
  transition: border-color .2s;
}
#wc-input:focus { border-color: var(--green); }
#wc-send {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border: none; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform .15s;
}
#wc-send:hover { transform: scale(1.08); }
#wc-send:disabled { opacity: .5; cursor: not-allowed; transform: none; }
#wc-footer {
  padding: 6px 12px; background: var(--cream);
  border-top: 1px solid var(--gray-light);
  text-align: center; font-size: 10.5px; color: var(--gray-text);
  flex-shrink: 0;
}
#wc-footer a { color: var(--earth); text-decoration: none; font-weight: 700; }

/* ── SCROLL ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed; bottom: 28px; left: 28px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--green-dark); color: #fff; border: none;
  cursor: pointer; z-index: 9998;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 14px rgba(0,0,0,.22);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
  pointer-events: none;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
#back-to-top:hover { background: var(--green); }

/* ── NAV HOUSING HIGHLIGHT ── */
.nav-housing { background: rgba(184,137,42,.2) !important; color: #f0d07a !important; }
.nav-housing:hover, .nav-housing.active { background: rgba(184,137,42,.35) !important; color: #fff !important; }

@media (max-width: 960px) {
  .provider-grid { grid-template-columns: repeat(2,1fr); }
  .card-grid-4 { grid-template-columns: repeat(2,1fr); }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 62px; left: 0; right: 0;
    background: var(--green-dark); padding: 10px 20px 16px;
    gap: 2px; box-shadow: 0 8px 20px rgba(0,0,0,.2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 9px 12px; font-size: 15px; }
  #site-nav { position: sticky; }
  .card-grid, .card-grid-2, .card-grid-4, .provider-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-text, .feature-row.reverse .feature-img { order: unset; }
  .feature-img { aspect-ratio: unset; padding: 32px; min-height: 120px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat-bar { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .impact-grid { grid-template-columns: 1fr; }
  #wc-popup { width: 100%; height: 88vh; bottom: 0; right: 0; border-radius: 18px 18px 0 0; transform-origin: bottom center; }
  #wc-tooltip { right: 18px; bottom: 102px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; text-align: center; }
}
