/*
Theme Name: We Care Support Services
Theme URI: https://wecaresupportservices.org
Author: Cherry Loudon
Author URI: https://cherryloudon.com
Description: Custom WordPress theme for We Care Support Services — providing autism, intellectual disability, and aging services in the Philadelphia region. Warm, professional, person-centered design.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: wecare
*/

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

:root {
  --navy: #1a2e4a;
  --navy-dark: #0f1c2e;
  --teal: #2a8a7e;
  --teal-light: #3aada0;
  --teal-pale: #e6f5f3;
  --gold: #d4a44c;
  --gold-light: #f5e8cc;
  --warm-white: #faf8f5;
  --off-white: #f2efe9;
  --text-dark: #1a2e4a;
  --text-mid: #4a5568;
  --text-light: #718096;
  --border: rgba(42,138,126,0.15);
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 4px 24px rgba(26,46,74,0.09);
  --shadow-hover: 0 8px 36px rgba(26,46,74,0.15);
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background: var(--warm-white);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); }

/* TOP BAR */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  padding: 8px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: var(--gold); text-decoration: none; }
.topbar .topbar-right { display: flex; gap: 24px; align-items: center; }
.topbar .topbar-apply { background: var(--teal); color:#fff !important; padding:4px 14px; border-radius:4px; font-size:12px; }

/* NAV */
.site-nav {
  background: #fff;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(26,46,74,0.06);
  height: 76px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-icon {
  width: 48px; height: 48px;
  background: var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon svg { width: 28px; height: 28px; fill: #fff; }
.nav-logo-text { line-height: 1.2; }
.nav-logo-text strong { display: block; font-family: 'Playfair Display', serif; font-size: 18px; color: var(--navy); letter-spacing: -0.3px; }
.nav-logo-text span { font-size: 11px; color: var(--teal); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; }

/* .nav-links base styles live in the navigation section below */
.nav-cta {
  background: var(--teal); color: #fff !important; border-radius: 8px !important;
  padding: 10px 20px !important; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--teal-light) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 26px; color: var(--navy); }

/* BUTTONS */
.btn-primary {
  background: var(--teal); color: #fff;
  padding: 14px 32px; border-radius: 8px;
  font-size: 15px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); color:#fff; }
.btn-outline {
  background: transparent; color: #fff;
  padding: 14px 32px; border-radius: 8px;
  font-size: 15px; font-weight: 500;
  text-decoration: none; border: 1.5px solid rgba(255,255,255,0.3); cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.07); color:#fff; }
.btn-white {
  background: #fff; color: var(--teal);
  padding: 14px 32px; border-radius: 8px;
  font-size: 15px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: background 0.2s;
  display: inline-block;
}
.btn-white:hover { background: var(--gold-light); }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1f4060 100%);
  min-height: 88vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px;
  gap: 60px;
}
.hero-content { z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(212,164,76,0.15);
  color: var(--gold);
  border: 1px solid rgba(212,164,76,0.3);
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 58px);
  color: #fff; line-height: 1.15;
  margin-bottom: 24px;
}
.hero h1 em { color: var(--teal-light); font-style: normal; }
.hero p { color: rgba(255,255,255,0.75); font-size: 17px; line-height: 1.8; max-width: 480px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px; text-align: center;
}
.stat-card.wide { grid-column: 1 / -1; background: rgba(42,138,126,0.2); border-color: rgba(42,138,126,0.35); }
.stat-number { font-family: 'Playfair Display', serif; font-size: 44px; color: #fff; line-height: 1; }
.stat-label { color: rgba(255,255,255,0.65); font-size: 13px; margin-top: 6px; text-transform: uppercase; letter-spacing: 1px; }

/* PAGE HERO (interior) */
.page-hero {
  background: linear-gradient(130deg, var(--navy) 0%, #163552 100%);
  padding: 100px 80px 80px;
  text-align: center;
}
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(32px,4.5vw,52px); color: #fff; margin-bottom: 20px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 18px; max-width: 600px; margin: 0 auto 0; }

/* SECTIONS */
section { padding: 80px; }
.section-label { font-size: 12px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 42px); color: var(--navy); line-height: 1.2; margin-bottom: 20px; }
.section-sub { color: var(--text-mid); font-size: 17px; line-height: 1.8; max-width: 580px; }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* KEYWORD BAND */
.keyword-band { background: var(--navy); padding: 40px 80px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.keyword-pill { background: rgba(255,255,255,0.07); border: 1px solid rgba(42,138,126,0.3); color: rgba(255,255,255,0.8); padding: 8px 20px; border-radius: 100px; font-size: 13px; font-weight: 500; }
.keyword-pill.highlight { background: rgba(42,138,126,0.2); border-color: var(--teal); color: #fff; }

.divider-bar { height: 4px; background: linear-gradient(90deg, var(--teal) 0%, var(--gold) 50%, transparent 100%); }

/* SERVICES */
.services-section { background: var(--off-white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.service-card { background: #fff; border-radius: var(--radius-lg); padding: 36px 30px; border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.service-icon { width: 56px; height: 56px; background: var(--teal-pale); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-icon svg { width: 28px; height: 28px; stroke: var(--teal); fill: none; stroke-width: 1.8; }
.service-card.gold { border-color: var(--gold); background: linear-gradient(135deg, #fffdf5, #fff8e8); }
.service-card.gold .service-icon { background: var(--gold-light); }
.service-card.gold .service-icon svg { stroke: var(--gold); }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.service-card p { color: var(--text-mid); font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
.service-link { color: var(--teal); font-weight: 600; font-size: 13px; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; }
.service-card.gold .service-link { color: var(--gold); }

/* ABOUT SPLIT */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image-stack { position: relative; }
.about-img-main { width: 100%; aspect-ratio: 4/3; background: linear-gradient(145deg, var(--teal) 0%, var(--navy) 100%); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 80px; }
.about-img-badge { position: absolute; bottom: -20px; right: -20px; background: var(--gold); border-radius: var(--radius-lg); padding: 20px 24px; box-shadow: var(--shadow); }
.about-img-badge strong { display: block; font-size: 28px; font-family: 'Playfair Display', serif; color: #fff; }
.about-img-badge span { font-size: 12px; color: rgba(255,255,255,0.85); letter-spacing: 1px; text-transform: uppercase; }
.values-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-dot { width: 10px; height: 10px; background: var(--teal); border-radius: 50%; margin-top: 8px; flex-shrink: 0; }
.value-item h4 { font-weight: 600; margin-bottom: 4px; color: var(--navy); }
.value-item p { font-size: 14px; color: var(--text-mid); }

/* CTA BAND */
.cta-band { background: var(--teal); padding: 64px 80px; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-family: 'Playfair Display', serif; font-size: 34px; color: #fff; max-width: 500px; line-height: 1.3; }
.cta-band p { color: rgba(255,255,255,0.8); margin-top: 10px; font-size: 16px; }

/* TESTIMONIALS */
.testimonials { background: var(--off-white); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.testi-card { background: #fff; padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.testi-quote { font-size: 48px; color: var(--teal); line-height: 1; margin-bottom: 16px; font-family: Georgia, serif; }
.testi-card p { font-size: 15px; color: var(--text-mid); line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.testi-author strong { font-size: 14px; color: var(--navy); }
.testi-author span { display: block; font-size: 13px; color: var(--text-light); }

/* VISION/VALUES CARDS */
.vv-card { border-radius: var(--radius-lg); padding: 32px; margin-bottom: 20px; }
.vv-card.teal { background: var(--teal-pale); border-left: 4px solid var(--teal); }
.vv-card.gold { background: var(--gold-light); border-left: 4px solid var(--gold); }
.vv-card h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--navy); margin-bottom: 10px; }
.vv-card p { color: var(--text-mid); font-size: 15px; line-height: 1.7; }

/* CAREERS */
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.perk-card { text-align: center; padding: 36px 24px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: #fff; }
.perk-icon { font-size: 36px; margin-bottom: 16px; }
.perk-card h4 { font-family: 'Playfair Display', serif; font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.perk-card p { font-size: 13px; color: var(--text-mid); line-height: 1.65; }

.jobs-section { background: var(--off-white); }
.job-cards { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.job-card { background: #fff; border-radius: var(--radius-lg); padding: 28px 32px; border: 1px solid var(--border); display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; transition: box-shadow 0.2s; }
.job-card:hover { box-shadow: var(--shadow-hover); }
.job-card .job-body { flex: 1; min-width: 280px; }
.job-card h3 { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.job-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.job-tag { font-size: 12px; padding: 4px 12px; border-radius: 100px; font-weight: 600; }
.tag-type { background: var(--teal-pale); color: var(--teal); }
.tag-dept { background: var(--gold-light); color: #8a6415; }
.tag-loc { background: var(--off-white); color: var(--text-mid); border: 1px solid var(--border); font-weight: 500; }
.job-card p { color: var(--text-mid); font-size: 14px; line-height: 1.65; }
.btn-apply { background: var(--navy); color: #fff; padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; flex-shrink: 0; transition: background 0.2s; }
.btn-apply:hover { background: var(--teal); color:#fff; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info-block { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-icon-wrap { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 20px; }
.contact-item h4 { font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--text-mid); font-size: 15px; text-decoration: none; }

/* FORMS */
.wecare-form { background: #fff; padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.wecare-form h3 { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--navy); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; border-radius: 8px; border: 1.5px solid #dde3ea;
  font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--text-dark);
  outline: none; transition: border-color 0.2s; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-success { background: var(--teal-pale); border: 1px solid var(--teal); color: var(--navy); padding: 16px 20px; border-radius: 8px; margin-bottom: 24px; font-size: 14px; }

.apply-section { background: var(--teal-pale); }
.apply-box { background: #fff; border-radius: var(--radius-lg); padding: 48px; border: 1px solid var(--border); max-width: 700px; margin: 0 auto; }
.apply-box h2 { font-family: 'Playfair Display', serif; font-size: 30px; color: var(--navy); margin-bottom: 8px; }
.apply-box > p { color: var(--text-mid); margin-bottom: 32px; }

.featured-aging { background: linear-gradient(135deg,#fffdf5,#fff8e8); border:1.5px solid var(--gold); border-radius: var(--radius-lg); padding: 40px; display:flex; justify-content:space-between; align-items:center; gap:30px; flex-wrap:wrap; margin-top: 24px; }
.featured-aging .fa-body { flex:1; min-width:280px; }
.featured-aging h3 { font-family:'Playfair Display',serif; font-size:26px; color:var(--navy); margin:10px 0; }
.featured-aging p { color:var(--text-mid); font-size:15px; line-height:1.7; }

/* FOOTER */
.site-footer { background: var(--navy-dark); padding: 60px 80px 30px; color: rgba(255,255,255,0.65); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin: 16px 0 24px; max-width: 280px; }
.footer-brand .footer-logo { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand .footer-logo-icon { width:42px; height:42px; background:var(--teal); border-radius:50%; display:flex; align-items:center; justify-content:center; }
.footer-brand .footer-logo-icon svg { width:24px; height:24px; fill:#fff; }
.footer-brand .footer-logo strong { color:#fff; font-family:'Playfair Display',serif; font-size:17px; display:block; }
.footer-brand .footer-logo span { font-size:11px; color:var(--teal-light); letter-spacing:1.5px; text-transform:uppercase; }
.footer-social { display:flex; gap:10px; }
.footer-social a { background:rgba(255,255,255,0.08); padding:8px 14px; border-radius:6px; color:rgba(255,255,255,0.7); font-size:13px; text-decoration:none; }
.footer-col h5 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; gap: 20px; flex-wrap: wrap; }
.footer-seo-note { font-size: 12px; color: rgba(255,255,255,0.35); max-width: 500px; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding: 60px 40px; min-height: auto; }
  .about-split { grid-template-columns: 1fr; gap: 60px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .perks-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 60px 40px; }
  .page-hero, .keyword-band, .cta-band, .site-footer { padding-left: 40px; padding-right: 40px; }
  /* mobile nav handled in the navigation section below */
  .site-nav { padding: 0 20px; }
}
@media (max-width: 600px) {
  .services-grid, .perks-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .topbar { justify-content: center; text-align: center; }
  section { padding: 48px 20px; }
  .page-hero { padding: 70px 20px 50px; }
  .cta-band, .keyword-band, .site-footer { padding-left: 20px; padding-right: 20px; }
}

/* ═══════════════════════════════════════════════
   SERVICE DETAIL PAGES
═══════════════════════════════════════════════ */

/* Breadcrumbs */
.breadcrumbs { padding: 18px 80px; background: var(--off-white); border-bottom: 1px solid var(--border); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 8px; color: var(--text-light); }
.breadcrumbs a { color: var(--teal); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--text-mid); }

/* Service hero */
.service-hero {
  background: linear-gradient(130deg, var(--navy-dark) 0%, var(--navy) 55%, #1f4060 100%);
  padding: 80px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center;
}
.service-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(34px,4.6vw,52px); color: #fff; line-height: 1.15; margin-bottom: 20px; }
.service-hero .lede { color: rgba(255,255,255,0.78); font-size: 18px; line-height: 1.75; margin-bottom: 30px; }
.service-hero .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-facts { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-lg); padding: 30px; }
.hero-facts h3 { font-family: 'Playfair Display', serif; color: #fff; font-size: 18px; margin-bottom: 18px; }
.hero-facts ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.hero-facts li { color: rgba(255,255,255,0.78); font-size: 14px; padding-left: 24px; position: relative; line-height: 1.6; }
.hero-facts li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-light); font-weight: 700; }

/* Long-form content */
.svc-content { padding: 80px; display: grid; grid-template-columns: 1fr 320px; gap: 60px; align-items: start; }
.svc-body { max-width: 760px; }
.svc-body h2 { font-family: 'Playfair Display', serif; font-size: 30px; color: var(--navy); margin: 44px 0 16px; line-height: 1.25; }
.svc-body h2:first-child { margin-top: 0; }
.svc-body h3 { font-family: 'Playfair Display', serif; font-size: 21px; color: var(--navy); margin: 30px 0 10px; }
.svc-body p { color: var(--text-mid); font-size: 16.5px; line-height: 1.85; margin-bottom: 18px; }
.svc-body ul, .svc-body ol { margin: 0 0 20px 22px; color: var(--text-mid); font-size: 16.5px; line-height: 1.8; }
.svc-body li { margin-bottom: 9px; }
.svc-body strong { color: var(--navy); }
.svc-body a { color: var(--teal); font-weight: 500; }

.callout {
  background: var(--teal-pale); border-left: 4px solid var(--teal);
  border-radius: var(--radius); padding: 24px 28px; margin: 28px 0;
}
.callout p { margin: 0; font-size: 15.5px; }
.callout.gold { background: var(--gold-light); border-left-color: var(--gold); }

/* Numbered process steps */
.process-steps { display: flex; flex-direction: column; gap: 18px; margin: 28px 0; }
.process-step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%;
  background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 700;
}
.process-step h4 { font-weight: 600; color: var(--navy); margin-bottom: 5px; font-size: 17px; }
.process-step p { margin: 0; font-size: 15.5px; }

/* Feature checklist grid */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; margin: 24px 0 28px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; }
.check-item::before { content: "✓"; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.check-item span { font-size: 15.5px; color: var(--text-mid); line-height: 1.65; }

/* Sticky sidebar */
.svc-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.side-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.side-card.teal { background: var(--navy); border-color: var(--navy); }
.side-card.teal h3 { color: #fff; }
.side-card.teal p { color: rgba(255,255,255,0.72); }
.side-card h3 { font-family: 'Playfair Display', serif; font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.side-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-bottom: 18px; }
.side-card .btn-primary { width: 100%; text-align: center; padding: 12px 20px; font-size: 14px; }
.side-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.side-list a { color: var(--text-mid); font-size: 14px; text-decoration: none; display: block; padding: 8px 12px; border-radius: 6px; transition: all 0.15s; }
.side-list a:hover { background: var(--teal-pale); color: var(--teal); }

/* Who it's for cards */
.audience-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 28px 0; }
.audience-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.audience-card h4 { font-family: 'Playfair Display', serif; font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.audience-card p { font-size: 14px; margin: 0; line-height: 1.65; }

/* FAQ */
.faq-section { background: var(--off-white); padding: 80px; }
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item summary {
  padding: 20px 26px; cursor: pointer; font-weight: 600; color: var(--navy);
  font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--teal); font-size: 24px; font-weight: 400; flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-answer { padding: 20px 26px; }
.faq-answer p { margin: 0; color: var(--text-mid); font-size: 15.5px; line-height: 1.8; }

/* Related services */
.related-section { padding: 80px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 36px; }
.related-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; text-decoration: none; display: block; transition: transform 0.2s, box-shadow 0.2s;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.related-card h3 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.related-card p { font-size: 14px; color: var(--text-mid); line-height: 1.65; margin-bottom: 14px; }
.related-link { color: var(--teal); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* Coverage / area served */
.coverage { background: var(--navy); padding: 60px 80px; text-align: center; }
.coverage h2 { font-family: 'Playfair Display', serif; font-size: 28px; color: #fff; margin-bottom: 14px; }
.coverage p { color: rgba(255,255,255,0.7); max-width: 640px; margin: 0 auto 24px; font-size: 16px; }
.coverage-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.coverage-pills span {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(42,138,126,0.35);
  color: rgba(255,255,255,0.82); padding: 7px 18px; border-radius: 100px; font-size: 13px;
}

@media (max-width: 1024px) {
  .svc-content { grid-template-columns: 1fr; gap: 48px; }
  .svc-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .svc-sidebar .side-card { flex: 1; min-width: 260px; }
  .service-hero { grid-template-columns: 1fr; gap: 40px; }
  .audience-grid, .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .breadcrumbs { padding: 14px 20px; }
  .service-hero { padding: 60px 20px; }
  .svc-content, .faq-section, .related-section, .coverage { padding: 48px 20px; }
  .check-grid, .audience-grid, .related-grid { grid-template-columns: 1fr; }
  .svc-body h2 { font-size: 25px; }
}

/* ═══════════════════════════════════════════════
   PRIMARY NAVIGATION + SERVICES DROPDOWN
═══════════════════════════════════════════════ */

.site-nav { gap: 20px; }

.nav-links {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0; padding: 0;
  flex-wrap: nowrap;
}
.nav-links > li { position: relative; }
.nav-links a {
  text-decoration: none; color: var(--text-dark);
  font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  display: block; white-space: nowrap;
}
.nav-links a:hover { background: var(--teal-pale); color: var(--teal); }
.nav-links > li.current-menu-item > a,
.nav-links > li.current_page_item > a,
.nav-links > li.current-menu-ancestor > a { color: var(--teal); }

/* Parent item with dropdown */
.nav-links > li.menu-item-has-children > a { padding-right: 26px; }
.nav-links > li.menu-item-has-children > a::after {
  content: "\25BE";
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-size: 10px; color: var(--text-light); pointer-events: none;
}
.nav-links > li.menu-item-has-children:hover > a::after { color: var(--teal); }

/* The dropdown panel — targets BOTH WordPress .sub-menu and theme .dropdown-menu */
.nav-links .sub-menu,
.nav-links .dropdown-menu {
  display: block;
  position: absolute; top: calc(100% + 2px); left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 268px; padding: 8px;
  list-style: none; margin: 0;
  z-index: 300;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-links > li:hover > .sub-menu,
.nav-links > li:hover > .dropdown-menu,
.nav-links > li:focus-within > .sub-menu,
.nav-links > li:focus-within > .dropdown-menu,
.nav-links > li.submenu-open > .sub-menu,
.nav-links > li.submenu-open > .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
/* Hover bridge so the menu doesn't close in the 2px gap */
.nav-links > li.menu-item-has-children::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 8px;
}
.nav-links .sub-menu a,
.nav-links .dropdown-menu a {
  font-size: 13.5px; padding: 9px 12px; white-space: nowrap; font-weight: 500;
}
.nav-links .sub-menu li.current-menu-item > a,
.nav-links .dropdown-menu li.current-menu-item > a {
  background: var(--teal-pale); color: var(--teal);
}
.nav-links .sub-menu li:first-child > a,
.nav-links .dropdown-menu li:first-child > a {
  font-weight: 700; color: var(--navy);
  border-bottom: 1px solid var(--border);
  border-radius: 6px 6px 0 0; margin-bottom: 4px;
}

/* CTA button item */
.nav-links .nav-cta,
.nav-links li.nav-cta-item > a {
  background: var(--teal); color: #fff !important;
  border-radius: 8px; padding: 10px 18px; font-weight: 600;
  margin-left: 6px;
}
.nav-links .nav-cta:hover,
.nav-links li.nav-cta-item > a:hover { background: var(--teal-light); }
.nav-links li.nav-cta-item > a::after { content: none !important; }

/* Submenu toggle button — desktop hidden, mobile visible */
.submenu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--text-mid); font-size: 15px; padding: 8px 12px; line-height: 1;
}

/* Tablet: tighten spacing before wrapping */
@media (max-width: 1180px) {
  .site-nav { padding: 0 24px; }
  .nav-links a { font-size: 13.5px; padding: 8px 9px; }
  .nav-links > li.menu-item-has-children > a { padding-right: 22px; }
}

/* Mobile: accordion menu */
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .site-nav { padding: 0 20px; position: relative; }

  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #fff; border-top: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 12px; gap: 2px;
    max-height: calc(100vh - 76px); overflow-y: auto;
    z-index: 300;
  }
  .nav-links.open { display: flex; }

  .nav-links > li { position: relative; display: flex; flex-wrap: wrap; align-items: center; }
  .nav-links > li > a { flex: 1; padding: 12px; font-size: 15px; }
  .nav-links > li.menu-item-has-children > a { padding-right: 12px; }
  .nav-links > li.menu-item-has-children > a::after { content: none; }
  .nav-links > li.menu-item-has-children::after { content: none; }

  .submenu-toggle { display: block; font-size: 18px; padding: 12px 14px; }
  .submenu-toggle[aria-expanded="true"] { transform: rotate(180deg); }

  /* Submenus become inline accordions */
  .nav-links .sub-menu,
  .nav-links .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; width: 100%;
    box-shadow: none; border: none;
    border-left: 2px solid var(--teal-pale);
    border-radius: 0; margin: 0 0 6px 12px; padding: 0 0 0 8px;
    min-width: 0;
    transition: none;
  }
  .nav-links > li.submenu-open > .sub-menu,
  .nav-links > li.submenu-open > .dropdown-menu { display: block; }
  /* Neutralize desktop hover-open on touch */
  .nav-links > li:hover > .sub-menu,
  .nav-links > li:hover > .dropdown-menu,
  .nav-links > li:focus-within > .sub-menu,
  .nav-links > li:focus-within > .dropdown-menu { display: none; }
  .nav-links > li.submenu-open:hover > .sub-menu,
  .nav-links > li.submenu-open:hover > .dropdown-menu,
  .nav-links > li.submenu-open:focus-within > .sub-menu,
  .nav-links > li.submenu-open:focus-within > .dropdown-menu { display: block; }

  .nav-links .sub-menu a,
  .nav-links .dropdown-menu a { font-size: 14px; padding: 10px 12px; white-space: normal; }
  .nav-links .sub-menu li:first-child > a,
  .nav-links .dropdown-menu li:first-child > a { border-bottom: none; margin-bottom: 0; }

  .nav-links li.nav-cta-item { margin-top: 8px; }
  .nav-links li.nav-cta-item > a { text-align: center; margin-left: 0; padding: 13px 18px; }
}
