/* Premium homepage content sections */
.hero-copy h1 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.14;
}
.hero-detail-link { margin: -17px 0 24px; font-size: 12px; line-height: 1.6; }
.hero-detail-link a { color: var(--purple); font-weight: 800; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hero-cta-notes { display: grid; gap: 4px; margin-top: 15px; color: var(--text-muted); font-size: 10.5px; line-height: 1.5; }
.hero-cta-notes a { color: var(--purple); font-weight: 700; }

.services-summary { margin: 24px 0 27px; font-size: 13.5px; line-height: 1.65; }
.services-summary a, .faq-seo-link a { color: var(--purple); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.services-carousel-shell { min-width: 0; position: relative; }
.seo-services-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 4px 16px;
  margin: -4px;
}
.seo-services-grid::-webkit-scrollbar { display: none; }
.seo-services-grid .service-card {
  flex: 0 0 calc((100% - 24px) / 2);
  height: 455px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(89, 32, 155, .11);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, #fff 72%, #fcf9ff 100%);
  box-shadow: 0 15px 42px rgba(54, 28, 75, .075);
  scroll-snap-align: start;
}
.seo-services-grid .service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.seo-services-grid .service-card:hover { transform: translate3d(0, -8px, 0); box-shadow: 0 24px 55px rgba(54, 28, 75, .14); }
.seo-services-grid .service-card .icon {
  top: 18px;
  left: 18px;
  width: 46px;
  height: 46px;
  border: 4px solid rgba(255, 255, 255, .92);
  box-shadow: 0 8px 22px rgba(39, 19, 79, .2);
}
.seo-services-grid .service-copy { order: 2; min-height: 0; padding: 20px 23px 21px; display: flex; flex-direction: column; flex: 1; }
.seo-services-grid .service-copy h3 { font-size: 17px; line-height: 1.25; margin-bottom: 7px; }
.seo-services-grid .service-copy p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 11.5px; line-height: 1.52; margin-bottom: 5px; }
.service-assurance { display: block; margin: 6px 0 8px; color: var(--teal); font-size: 9px; font-weight: 800; line-height: 1.35; }
.service-topic-link { display: inline-block; margin: 0 0 7px; color: var(--text-muted); font-size: 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.service-topic-link:hover { color: var(--purple); }
.seo-services-grid .service-link { margin-top: auto; padding-top: 3px; font-size: 12.5px; }
.seo-services-grid .service-image {
  order: 1;
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  height: 225px;
  margin-top: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: linear-gradient(145deg, #f7f2fb, #f3eee7);
  border-bottom: 1px solid rgba(89, 32, 155, .08);
  transform: none;
}
.seo-services-grid .service-card:hover .service-image { transform: scale(1.015); }
.services-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin: 0 3px 14px;
}
.services-carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 44px;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid rgba(89, 32, 155, .16);
  border-radius: 999px;
  color: var(--purple);
  background: #fff;
  box-shadow: 0 8px 22px rgba(54, 28, 75, .08);
  cursor: pointer;
  transition: color .25s ease, background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.services-carousel-button:hover { color: #fff; background: var(--purple); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(89, 32, 155, .2); }
.services-carousel-button span { font-size: 20px; line-height: 1; }
.services-carousel-button .carousel-button-label { font-size: 11px; font-weight: 800; line-height: 1; }
.services-carousel-status { min-width: 54px; margin-right: 3px; color: var(--purple); font-size: 12px; font-weight: 800; text-align: center; }
.neighbourhood-grid a { color: inherit; font-weight: inherit; }
.neighbourhood-grid a:hover { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.faq-seo-link { margin: 24px 0 0; text-align: center; font-size: 13px; }
.final-cta-message-link { display: inline-block; margin-top: 8px; color: #fff; font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.local .local-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.18fr);
  gap: clamp(42px, 6vw, 78px);
  align-items: center;
}
.local .local-copy { padding-right: 0; }
.local .local-grid h2 { max-width: 560px; font-size: clamp(36px, 3.5vw, 50px); }
.local .local-grid .local-copy > p { max-width: 590px; font-size: 14px; line-height: 1.72; }
.local .local-copy .local-followup { margin-top: 14px; font-size: 12px; }
.local .areas { margin-top: 24px; gap: 7px 10px; }
.local .map-wrap { height: 440px; border-radius: 27px; box-shadow: 0 22px 52px rgba(54, 28, 75, 0.12); }
.local-context-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 600px;
  margin-top: 31px;
  padding: 21px 23px;
  background: linear-gradient(135deg, rgba(89, 32, 155, 0.055), rgba(9, 166, 173, 0.055));
  border: 1px solid rgba(89, 32, 155, 0.1);
  border-radius: 18px;
}
.local-context-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: #fff;
  background: var(--purple);
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(89, 32, 155, 0.18);
}
.local-context-icon svg { width: 19px; height: 19px; }
.local-proof-label { display: block; margin: 0 0 5px; color: var(--teal); font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.local .local-context-card p { margin: 0; color: var(--purple-dark); font-size: 12.5px; line-height: 1.62; }
.home-overview {
  position: relative;
  overflow: hidden;
  padding-top: 48px;
  padding-bottom: 78px;
  background:
    radial-gradient(circle at 8% 15%, rgba(89, 32, 155, 0.06), transparent 27%),
    linear-gradient(180deg, #fff 0%, #fffdfa 100%);
}

.home-overview::after {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  right: -145px;
  bottom: -165px;
  border: 1px solid rgba(89, 32, 155, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(89, 32, 155, 0.025), 0 0 0 68px rgba(9, 166, 173, 0.02);
  pointer-events: none;
}

.home-overview-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.home-overview-copy {
  max-width: 980px;
}

.home-overview-copy h2,
.care-standards-head h2,
.local-life-head h2 {
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.home-overview-copy > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.75;
  margin: 22px 0 18px;
  max-width: 960px;
}

.overview-text-link {
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 800;
}

.overview-text-link span:last-child { transition: transform 0.25s ease; }
.overview-text-link:hover span:last-child { transform: translateX(5px); }

.home-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.overview-card {
  min-height: 168px;
  padding: 24px 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(89, 32, 155, 0.1);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(54, 28, 75, 0.06);
  transition: transform 0.35s var(--ease-out-cubic), box-shadow 0.35s var(--ease-out-cubic), border-color 0.35s;
}

.overview-card:nth-child(2), .overview-card:nth-child(4) { transform: none; }
.overview-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(54, 28, 75, 0.11); border-color: rgba(89, 32, 155, 0.22); }
.overview-card:nth-child(2):hover, .overview-card:nth-child(4):hover { transform: translateY(-6px); }

.overview-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 19px;
  box-shadow: 0 9px 20px rgba(39, 19, 79, 0.13);
}
.overview-icon svg { width: 21px; height: 21px; }
.overview-card h3 { font-size: 17px; margin: 0 0 8px; }
.overview-card p { font-size: 13px; line-height: 1.6; margin: 0; }

.care-standards { position: relative; overflow: hidden; }
.care-standards-head {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 44px;
}
.care-standards-head h2 { margin-bottom: 0; max-width: 680px; }
.care-standards-head > p { font-size: 15px; line-height: 1.7; margin: 0 0 7px; }
.care-team-visual { margin: -14px 0 34px; overflow: hidden; border-radius: 24px; box-shadow: 0 16px 42px rgba(54, 28, 75, .09); }
.care-team-photo { width: 100%; height: 260px; object-fit: cover; object-position: center 42%; }

.standards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.standard-card {
  position: relative;
  overflow: hidden;
  padding: 29px 25px 30px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(54, 28, 75, 0.045);
  transition: transform 0.35s var(--ease-out-cubic), box-shadow 0.35s var(--ease-out-cubic);
}
.standard-card::after {
  content: "";
  position: absolute;
  height: 4px;
  left: 24px;
  right: 24px;
  bottom: 0;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.standard-card:nth-child(2)::after { background: linear-gradient(90deg, var(--teal), var(--blue)); }
.standard-card:nth-child(3)::after { background: linear-gradient(90deg, var(--lime), var(--teal)); }
.standard-card:nth-child(4)::after { background: linear-gradient(90deg, var(--orange), var(--pink)); }
.standard-card:hover { transform: translateY(-7px); box-shadow: 0 20px 46px rgba(54, 28, 75, 0.1); }
.standard-card:hover::after { transform: scaleX(1); }
.standard-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.standard-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  color: var(--purple);
  background: var(--purple-light);
  border-radius: 14px;
}
.standard-icon svg { width: 21px; height: 21px; }
.standard-number { color: rgba(39, 19, 79, 0.18); font-family: var(--serif); font-size: 25px; font-weight: 800; }
.standard-card h3 { font-size: 18px; margin-bottom: 10px; }
.standard-card p { font-size: 13.5px; line-height: 1.65; margin: 0; }
.trust-commitments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 25px; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: var(--border); }
.trust-commitments article { padding: 20px 18px; background: #fff; }
.trust-commitments strong { display: block; margin-bottom: 5px; color: var(--purple-dark); font-size: 12px; }
.trust-commitments span { display: block; color: var(--text-muted); font-size: 10.5px; line-height: 1.55; }
.trust-links { display: flex; flex-wrap: wrap; gap: 13px 28px; margin-top: 20px; }
.trust-links a { display: inline-flex; gap: 8px; align-items: center; color: var(--purple); font-size: 11.5px; font-weight: 800; }
.trust-links a span { transition: transform .25s ease; }
.trust-links a:hover span { transform: translateX(4px); }

.local-life { background: linear-gradient(180deg, #fffdfa 0%, #fff 100%); }
.local-life-head { max-width: 780px; margin: 0 auto 42px; text-align: center; }
.local-life-head > p:last-child { max-width: 670px; margin: 0 auto; font-size: 14px; line-height: 1.7; }
.local-life-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.life-card {
  min-height: 300px;
  position: relative;
  overflow: hidden;
  padding: 31px 29px;
  border-radius: 25px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 13px 34px rgba(54, 28, 75, 0.055);
  transition: transform 0.4s var(--ease-out-cubic), box-shadow 0.4s var(--ease-out-cubic);
}
.life-card::before {
  content: "";
  position: absolute;
  width: 155px;
  height: 155px;
  right: -72px;
  top: -72px;
  border-radius: 50%;
  background: rgba(89, 32, 155, 0.07);
}
.life-card--daycare::before { background: rgba(9, 166, 173, 0.09); }
.life-card--family::before { background: rgba(217, 45, 115, 0.08); }
.life-card:hover { transform: translateY(-8px); box-shadow: 0 24px 52px rgba(54, 28, 75, 0.11); }
.life-label {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--purple-light);
  color: var(--purple);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.life-card--daycare .life-label { background: rgba(9, 166, 173, 0.1); color: #087f85; }
.life-card--family .life-label { background: rgba(217, 45, 115, 0.09); color: var(--pink); }
.life-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 31px 0 23px;
  border-radius: 17px;
  color: #fff;
  background: var(--purple);
  box-shadow: 0 10px 24px rgba(89, 32, 155, 0.2);
}
.life-card--daycare .life-icon { background: var(--teal); box-shadow: 0 10px 24px rgba(9, 166, 173, 0.2); }
.life-card--family .life-icon { background: var(--pink); box-shadow: 0 10px 24px rgba(217, 45, 115, 0.2); }
.life-icon svg { width: 24px; height: 24px; }
.life-card h3 { font-size: 20px; margin-bottom: 10px; }
.life-card p { font-size: 13.5px; line-height: 1.65; margin: 0; }

.neighbourhoods {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(9, 166, 173, 0.08), transparent 30%),
    var(--soft);
}

.neighbourhoods::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -290px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(89, 32, 155, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(89, 32, 155, 0.025), 0 0 0 92px rgba(89, 32, 155, 0.018);
}

.neighbourhoods-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(48px, 7vw, 86px);
  align-items: center;
}

.neighbourhoods-intro h2 {
  font-size: clamp(32px, 3.1vw, 45px);
  line-height: 1.16;
  margin-bottom: 17px;
}

.neighbourhoods-intro > p:not(.eyebrow) {
  margin: 26px 0 28px;
  font-size: 15px;
  line-height: 1.75;
}

.neighbourhoods-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 17px;
}

.coverage-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.coverage-note span { color: var(--teal); font-size: 10px; }

.neighbourhood-panel {
  position: relative;
  overflow: hidden;
  padding: 31px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(89, 32, 155, 0.11);
  border-radius: 27px;
  box-shadow: 0 22px 55px rgba(54, 28, 75, 0.09);
}

.neighbourhood-panel::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -110px;
  bottom: -115px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(89, 32, 155, 0.08), rgba(9, 166, 173, 0.06));
  pointer-events: none;
}

.neighbourhood-panel-head {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 23px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.neighbourhood-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), #7d38b8);
  box-shadow: 0 10px 24px rgba(89, 32, 155, 0.21);
}

.neighbourhood-pin svg { width: 22px; height: 22px; }
.neighbourhood-panel-head strong { display: block; color: var(--purple-dark); font-size: 16px; }
.neighbourhood-panel-head small { display: block; margin-top: 2px; color: var(--text-muted); font-size: 11.5px; }

.neighbourhood-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.neighbourhood-grid li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--purple-dark);
  background: #faf8fc;
  border: 1px solid rgba(89, 32, 155, 0.07);
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 700;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.neighbourhood-grid li:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(89, 32, 155, 0.2);
}

.neighbourhood-grid li span { color: var(--teal); font-size: 12px; }
.nearby-areas { position: relative; z-index: 1; margin: 21px 0 0; color: var(--text-muted); font-size: 11.5px; }
.nearby-areas strong { color: var(--purple-dark); }

@media (max-width: 1100px) {
  .header-cta-wrap { display: none; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 15px 24px;
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .3s var(--ease-out-cubic), transform .3s var(--ease-out-cubic);
  }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .site-nav ul { display: block; }
  .site-nav a, .site-header.is-scrolled .site-nav a { padding: 11px 0; }
  .site-nav a::after, .site-header.is-scrolled .site-nav a::after { bottom: 4px; left: 0; transform: scaleX(0); transform-origin: left; }
  .site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
}

@media (max-width: 1024px) {
  .local .local-grid { grid-template-columns: minmax(0, 1fr); }
  .local .map-wrap { grid-column: 1; height: 390px; }
  .home-overview-shell { grid-template-columns: 1fr; }
  .home-overview-copy { max-width: 720px; }
  .home-overview-grid { grid-template-columns: 1fr 1fr; }
  .standards-grid { grid-template-columns: 1fr 1fr; }
  .trust-commitments { grid-template-columns: 1fr 1fr; }
  .care-standards-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .neighbourhoods-shell { grid-template-columns: 1fr; }
  .services .section-intro { display: block; }
  .services .section-intro .button { margin: 0; }
}

@media (max-width: 760px) {
  .hero-copy h1 { font-size: clamp(33px, 9vw, 42px); }
  .seo-services-grid { grid-template-columns: 1fr; }
  .seo-services-grid .service-card { flex-basis: 100%; }
  .local .map-wrap { height: 320px; }
  .seo-services-grid .service-card { display: flex; height: 430px; min-height: 0; }
  .seo-services-grid .service-copy { padding: 23px 22px 25px; }
  .seo-services-grid .service-image { width: 100%; height: 215px; aspect-ratio: auto; }
  .services-carousel-controls { justify-content: center; }
  .home-overview-grid, .standards-grid, .local-life-grid { grid-template-columns: 1fr; }
  .trust-commitments { grid-template-columns: 1fr; }
  .overview-card:nth-child(2), .overview-card:nth-child(4),
  .overview-card:nth-child(2):hover, .overview-card:nth-child(4):hover { transform: none; }
  .overview-card { min-height: auto; }
  .care-standards-head, .local-life-head { margin-bottom: 30px; }
  .life-card { min-height: auto; }
  .neighbourhood-grid { grid-template-columns: 1fr 1fr; }
  .final-cta .button-row { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .services-carousel-button { padding-inline: 14px; }
  .neighbourhood-panel { padding: 24px 19px; }
  .neighbourhood-grid { grid-template-columns: 1fr; }
  .neighbourhoods-actions .button { width: 100%; }
}

/* Service detail: no decorative blobs behind the "Who is this for?" card */
.split-visual--plain::before,
.split-visual--plain::after { display: none; }

/* Whole service card is clickable (stretched link) */
.resource-card-action::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.resource-card-action:focus-visible { outline: none; }
.resource-card:has(.resource-card-action:focus-visible) { outline: 3px solid var(--purple); outline-offset: 2px; }

/* Blog listing and long-form article */
.blog-list-heading { max-width: 720px; margin-bottom: 40px; }
.blog-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease-out-cubic), box-shadow .35s var(--ease-out-cubic); }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.blog-card-link { display: block; height: 100%; }
.blog-card-link:focus-visible { outline: 3px solid var(--purple); outline-offset: -3px; border-radius: 26px; }
.blog-card-media { height: 210px; overflow: hidden; position: relative; background: var(--purple-light); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .55s var(--ease-out-cubic); }
.blog-card:hover .blog-card-media img { transform: scale(1.045); }
.blog-card-content { padding: 22px 24px 24px; }
.blog-card-content time { color: var(--purple); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.blog-card-content h2 { margin: 9px 0 9px; font-size: 22px; line-height: 1.25; }
.blog-card-content p { margin-bottom: 17px; font-size: 14px; line-height: 1.6; }
.blog-card-cta { display: inline-flex; gap: 9px; color: var(--purple); font-weight: 800; }
.blog-card:hover .blog-card-cta span { transform: translateX(5px); }
.blog-card-cta span { transition: transform .25s ease; }
.blog-empty-state { grid-column: 1 / -1; padding: 34px; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 22px; }

/* Contact Form 7 integration */
.consult-form-wrap .wpcf7-form { display: flex; flex-direction: column; gap: 18px; }
.consult-form-wrap .wpcf7-form .form-row { margin: 0; }
.consult-form-wrap .wpcf7-form .form-group { margin: 0; }
.consult-form-wrap .wpcf7-form .wpcf7-form-control-wrap { display: block; }
.consult-form-wrap .wpcf7-form input:not([type="submit"]):not([type="checkbox"]),
.consult-form-wrap .wpcf7-form select,
.consult-form-wrap .wpcf7-form textarea { width: 100%; font-family: inherit; }
.consult-form-wrap .wpcf7-form textarea { min-height: 120px; resize: vertical; }
.consult-form-wrap .wpcf7-form .wpcf7-submit { width: 100%; border: 0; }
.consult-form-wrap .wpcf7-spinner { display: block; margin: 10px auto 0; }
.consult-form-wrap .wpcf7-not-valid-tip { margin-top: 5px; font-size: 12px; }
.consult-form-wrap .wpcf7-response-output { margin: 4px 0 0 !important; padding: 12px 15px !important; border-radius: 12px; font-size: 13px; }
.cf7-setup-note { padding: 22px; border: 1px dashed rgba(89,32,155,.3); border-radius: 16px; background: var(--purple-light); }
.cf7-setup-note strong { color: var(--purple-dark); }
.cf7-setup-note p { margin: 6px 0 0; font-size: 14px; }

/* Contact page: contact information above, consultation form below */
.contact-split-grid { grid-template-columns: 1fr; gap: 54px; max-width: 1120px; }
.contact-info-col { width: 100%; }
.contact-info-col > .lede { max-width: 780px; }
.contact-card-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-info-card { height: 100%; }
.contact-info-col .reassurance-box { max-width: 100%; }
.contact-form-col { width: 100%; }
.contact-form-col .consult-form-wrap { max-width: 920px; margin-inline: auto; }

@media (max-width: 900px) {
  .contact-card-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .contact-split-grid { gap: 36px; }
  .contact-card-list { grid-template-columns: 1fr; }
}

.blog-article-hero { position: relative; overflow: hidden; padding-bottom: 86px; background: radial-gradient(circle at 88% 18%, rgba(9,166,173,.15), transparent 27%), radial-gradient(circle at 8% 90%, rgba(184,220,34,.18), transparent 23%), linear-gradient(145deg, #fffaf5, #eee3fa); }
.blog-article-hero::after { content: ""; position: absolute; right: -80px; bottom: -130px; width: 330px; height: 330px; border: 55px solid rgba(89,32,155,.06); border-radius: 50%; pointer-events: none; }
.blog-article-header { max-width: 900px; }
.blog-article-header .breadcrumbs { margin-bottom: 45px; }
.blog-article-header h1 { max-width: 880px; font-size: clamp(42px, 5.6vw, 70px); text-wrap: balance; }
.blog-article-deck { max-width: 760px; font-size: clamp(18px, 2vw, 22px); line-height: 1.6; }
.blog-article-meta { display: flex; gap: 12px; align-items: center; color: var(--text-muted); font-size: 14px; font-weight: 700; }
.blog-article-body { padding-top: 0; }
.blog-reading-shell { max-width: 1120px; }
.blog-reading-layout { display: grid; grid-template-columns: minmax(0, 760px) 230px; gap: 54px; align-items: start; justify-content: center; }
.blog-article-body .rich-content { min-width: 0; padding: 38px 44px; background: #fff; border: 1px solid rgba(89,32,155,.1); border-radius: 26px; box-shadow: 0 16px 50px rgba(54,28,75,.07); }
.blog-featured-image { margin: -48px auto 52px; position: relative; max-width: 960px; }
.blog-featured-image img { width: 100%; height: 460px; object-fit: cover; object-position: center 34%; border-radius: 30px; box-shadow: 0 22px 55px rgba(54,28,75,.16); }
.blog-toc { grid-column: 2; position: sticky; top: 112px; padding: 22px; background: var(--purple-dark); color: #fff; border-radius: 22px; box-shadow: 0 16px 38px rgba(39,19,79,.18); }
.blog-reading-layout .rich-content { grid-column: 1; grid-row: 1; }
.blog-toc-label { display: block; margin-bottom: 13px; color: #cdb6e8; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.blog-toc nav { display: grid; gap: 3px; }
.blog-toc nav a { padding: 8px 10px; border-radius: 9px; color: rgba(255,255,255,.83); font-size: 13px; font-weight: 650; line-height: 1.35; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.blog-toc nav a:hover { color: #fff; background: rgba(255,255,255,.1); transform: translateX(3px); }
.blog-toc-back { display: block; margin-top: 16px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.14); color: #c8e653; font-size: 13px; font-weight: 800; }
.rich-content > p { font-size: 17px; line-height: 1.85; margin-bottom: 22px; }
.rich-content > h2 { margin: 58px 0 20px; font-size: clamp(29px, 3.5vw, 40px); scroll-margin-top: 110px; }
.rich-content > h3 { margin: 38px 0 14px; font-size: 24px; }
.rich-content > ul, .rich-content > ol { margin: 0 0 28px; padding-left: 26px; }
.rich-content > ul li, .rich-content > ol li { margin: 10px 0; padding-left: 6px; color: var(--text-muted); line-height: 1.7; }
.rich-content a { color: var(--purple); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wp-block-table { margin: 30px 0 36px; overflow-x: auto; border-radius: 18px; box-shadow: 0 10px 30px rgba(54,28,75,.07); }
.wp-block-table table { width: 100%; min-width: 660px; border-collapse: collapse; background: #fff; }
.wp-block-table th { background: var(--purple-dark); color: #fff; text-align: left; }
.wp-block-table th, .wp-block-table td { padding: 16px 18px; border: 1px solid var(--border); vertical-align: top; }
.wp-block-table td { color: var(--text-muted); }
.medical-disclaimer { margin-top: 46px; padding: 22px 24px; border-left: 4px solid var(--teal); border-radius: 0 16px 16px 0; background: rgba(9,166,173,.08); font-size: 14px !important; }

@media (max-width: 900px) { .blog-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .blog-reading-layout { grid-template-columns: 1fr; gap: 24px; } .blog-toc { grid-column: 1; grid-row: 1; position: static; } .blog-reading-layout .rich-content { grid-column: 1; grid-row: 2; } .blog-toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .blog-card-grid { grid-template-columns: 1fr; } .blog-card-media { height: 180px; } .blog-article-hero { padding-bottom: 58px; } .blog-featured-image { margin-top: -30px; margin-bottom: 30px; } .blog-featured-image img { height: 320px; border-radius: 22px; } .blog-article-body .rich-content { padding: 26px 20px; border-radius: 20px; } .blog-toc nav { grid-template-columns: 1fr; } .rich-content > p { font-size: 16px; } }

/* Services dropdown in the primary navigation */
.site-nav .has-submenu { position: relative; }
.site-nav .submenu-toggle { display: none; }
.site-nav .submenu {
  position: absolute; top: 100%; left: -18px; z-index: 60;
  min-width: 290px; margin: 0; padding: 10px;
  list-style: none; display: block;
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 18px 40px rgba(39, 19, 79, 0.14);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.site-nav .submenu a { padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.site-nav .submenu a::after { display: none; }
.site-nav .submenu a:hover, .site-nav .submenu a:focus-visible { background: var(--purple-light); color: var(--purple); }
.site-nav .has-submenu > a .caret { display: inline-block; margin-left: 6px; font-size: 10px; transition: transform .2s ease; }
.site-nav .has-submenu:hover > a .caret, .site-nav .has-submenu:focus-within > a .caret { transform: rotate(180deg); }
@media (min-width: 981px) {
  .site-nav .has-submenu:hover > .submenu,
  .site-nav .has-submenu:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 980px) {
  .site-nav .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; padding: 0 0 6px 14px; }
  .site-nav .submenu a { white-space: normal; padding: 8px 0; font-weight: 500; }
  .site-nav .has-submenu > a .caret { display: none; }
}

/* Services catalog card detail */
.resource-card-detail { margin: 12px 0 0; font-size: 14px; line-height: 1.65; color: var(--text-muted); }
.resource-card-points { margin: 14px 0 4px; padding: 0; list-style: none; display: grid; gap: 8px; }
.resource-card-points li { position: relative; padding-left: 24px; font-size: 13.5px; font-weight: 600; color: var(--purple-dark); }
.resource-card-points li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--card-accent, var(--purple)); }

/* Services dropdown: refined spacing (higher specificity beats header/scroll states) */
.site-header .site-nav .submenu {
  display: flex; flex-direction: column; gap: 2px;
  left: 50%; margin-left: 0; min-width: 300px; padding: 10px;
  border-radius: 18px; border: 1px solid rgba(89, 32, 155, 0.10);
  box-shadow: 0 22px 48px rgba(39, 19, 79, 0.16);
  transform: translate(-50%, 8px);
}
.site-header .site-nav .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.site-header .site-nav .submenu li { margin: 0; padding: 0; }
.site-header .site-nav .submenu a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 11px;
  font-size: 14px; font-weight: 600; line-height: 1.3; white-space: nowrap;
  color: var(--purple-dark);
  transition: background-color .18s ease, color .18s ease, padding-left .18s ease;
}
.site-header .site-nav .submenu a::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple); opacity: .35; transition: opacity .18s ease, transform .18s ease;
}
.site-header .site-nav .submenu a:hover,
.site-header .site-nav .submenu a:focus-visible { background: var(--purple-light); color: var(--purple); padding-left: 18px; }
.site-header .site-nav .submenu a:hover::before,
.site-header .site-nav .submenu a:focus-visible::before { opacity: 1; transform: scale(1.25); }
@media (min-width: 981px) {
  .site-header .site-nav .has-submenu:hover > .submenu,
  .site-header .site-nav .has-submenu:focus-within > .submenu { transform: translate(-50%, 0); }
}
@media (max-width: 980px) {
  .site-header .site-nav .submenu { position: static; transform: none; min-width: 0; padding: 0 0 6px 12px; border: 0; box-shadow: none; gap: 0; }
  .site-header .site-nav .submenu::before { display: none; }
  .site-header .site-nav .submenu a { padding: 9px 0; white-space: normal; font-weight: 500; }
  .site-header .site-nav .submenu a:hover { padding-left: 0; background: transparent; }
}

/* Service detail: long-form sections */
.service-fit-grid, .service-funding-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.service-body p, .service-funding-grid p { font-size: 16px; line-height: 1.75; color: var(--text-muted); margin: 0 0 16px; }
.service-body a, .service-funding-grid p a { color: var(--purple); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.service-fit-card, .related-services { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 30px 28px; box-shadow: 0 12px 35px rgba(54, 28, 75, 0.06); }
.service-fit-card h3, .related-services h3 { margin: 0 0 10px; font-size: 21px; color: var(--purple-dark); }
.service-fit-card p { margin: 0 0 12px; color: var(--text-muted); font-size: 15px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.55; color: var(--text-dark); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--purple-light); color: var(--purple); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.goal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; margin-top: 36px; }
.goal-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px 22px; border-top: 4px solid var(--purple); box-shadow: 0 8px 24px rgba(54, 28, 75, 0.04); }
.goal-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--purple-dark); }
.goal-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }
.virtual-service-content #trust .goal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.virtual-service-content #trust .goal-card { height: auto; }
.virtual-service-content #trust .goal-card:nth-child(4) { grid-column: 1 / -1; }
.virtual-service-content #trust .goal-card:nth-child(4) .article-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.virtual-service-content #session-setup .session-list { grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: stretch; }
.virtual-service-content #session-setup .session-list li { grid-column: span 2; height: 100%; }
.virtual-service-content #session-setup .session-list li:nth-child(n+4) { grid-column: span 3; }
.virtual-service-content #session-setup > .container > h3 { margin: 34px 0 16px; }
@media (max-width: 900px) {
  .virtual-service-content #trust .goal-grid { grid-template-columns: 1fr; }
  .virtual-service-content #trust .goal-card:nth-child(4) { grid-column: auto; }
  .virtual-service-content #trust .goal-card:nth-child(4) .article-points { grid-template-columns: 1fr; }
  .virtual-service-content #session-setup .session-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .virtual-service-content #session-setup .session-list li,
  .virtual-service-content #session-setup .session-list li:nth-child(n+4) { grid-column: span 1; }
  .virtual-service-content #session-setup .session-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .virtual-service-content #session-setup .session-list { grid-template-columns: 1fr; }
  .virtual-service-content #session-setup .session-list li:last-child:nth-child(odd) { grid-column: auto; }
}
.session-list { list-style: none; counter-reset: sess; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.session-list li { counter-increment: sess; padding: 22px 20px; background: #fff; border: 1px solid var(--border); border-radius: 18px; }
.session-list li::before { content: counter(sess); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 800; font-size: 15px; }
.session-list h3 { margin: 0 0 6px; font-size: 17px; color: var(--purple-dark); }
.session-list p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }
.related-services ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.related-services li { padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.related-services li:last-child { border-bottom: 0; padding-bottom: 0; }
.related-services a { font-weight: 800; color: var(--purple); text-decoration: none; }
.related-services a:hover { text-decoration: underline; }
.related-services small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--text-muted); }
@media (max-width: 900px) { .service-fit-grid, .service-funding-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Google Business Profile card (replaces embedded map) */
.gbp-card { position: relative; display: grid; width: 100%; height: 100%; min-height: 320px; overflow: hidden; border-radius: inherit; background: var(--purple-light); }
.gbp-media, .gbp-map, .gbp-media picture, .gbp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gbp-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(39, 19, 79, 0.10), rgba(39, 19, 79, 0.45)); }
.gbp-panel { position: relative; z-index: 2; align-self: center; justify-self: center; width: min(88%, 380px); padding: 28px 26px; text-align: center; background: rgba(255, 255, 255, 0.97); border-radius: 22px; box-shadow: 0 20px 48px rgba(39, 19, 79, 0.22); }
.gbp-pin { display: grid; place-items: center; width: 48px; height: 48px; margin: -52px auto 12px; border-radius: 50%; background: var(--purple); color: #fff; font-size: 22px; box-shadow: 0 8px 20px rgba(89, 32, 155, 0.35); }
.gbp-eyebrow { margin: 0 0 4px; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--purple); }
.gbp-panel h3 { margin: 0 0 8px; font-size: 22px; color: var(--purple-dark); }
.gbp-text { margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.gbp-actions { display: grid; gap: 12px; justify-items: center; }
.gbp-link { font-size: 13.5px; font-weight: 700; color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.gbp-wrap { max-width: 980px; height: 400px; margin: 0 auto; border-radius: 28px; overflow: hidden; box-shadow: 0 15px 40px rgba(54, 28, 75, 0.10); }
.gbp-card--wide .gbp-panel { width: min(90%, 460px); }
@media (max-width: 640px) {
  .gbp-wrap { height: auto; min-height: 340px; border-radius: 22px; }
  .gbp-card { min-height: 340px; }
  .gbp-panel { width: calc(100% - 32px); padding: 24px 18px; margin: 40px 0 16px; }
  .gbp-actions .button { width: 100%; justify-content: center; }
  .local .map-wrap { height: auto; min-height: 340px; }
}

/* Service detail: in-depth guide */
.service-article-head { max-width: 860px; margin: 0 auto 36px; text-align: center; }
.service-article-head .scribble { margin-inline: auto; }
.service-article-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 48px; align-items: start; max-width: 1080px; margin: 0 auto; }
.article-toc { position: sticky; top: 110px; padding: 22px 20px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 8px 24px rgba(54, 28, 75, 0.05); }
.article-toc strong { display: block; margin-bottom: 10px; font-size: 14px; color: var(--purple-dark); }
.article-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.article-toc a { font-size: 13.5px; line-height: 1.4; color: var(--text-muted); text-decoration: none; }
.article-toc a:hover { color: var(--purple); text-decoration: underline; }
.article-body { max-width: 740px; }
.article-section { padding-bottom: 8px; scroll-margin-top: 110px; }
.article-section h3 { margin: 34px 0 12px; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; color: var(--purple-dark); }
.article-section:first-child h3 { margin-top: 0; }
.article-section h4 { margin: 22px 0 6px; font-size: 18px; color: var(--purple-dark); }
.article-section p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.8; color: var(--text-dark); }
.article-section ul { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 8px; }
.article-section li { font-size: 16px; line-height: 1.7; color: var(--text-dark); }
.article-section li::marker { color: var(--purple); }
.article-section a { color: var(--purple); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.article-cta { margin-top: 36px; padding: 26px 28px; border-radius: 20px; background: var(--purple-light); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.article-cta p { margin: 0; font-size: 16px; line-height: 1.6; max-width: 460px; }
@media (max-width: 900px) {
  .service-article-layout { grid-template-columns: 1fr; gap: 24px; }
  .article-toc { position: static; }
  .article-section p { font-size: 16px; }
}

/* Service details: refined card design (overrides earlier guide styles) */
.service-article { background: linear-gradient(180deg, #faf7ff 0%, #fff 100%); }
.article-toc { padding: 24px 22px; border-radius: 22px; border: 1px solid rgba(89, 32, 155, 0.12); box-shadow: 0 14px 34px rgba(54, 28, 75, 0.07); }
.article-toc strong { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); }
.article-toc ol { list-style: none; padding: 0; margin: 14px 0 18px; counter-reset: toc; gap: 2px; }
.article-toc li { counter-increment: toc; }
.article-toc li a { display: flex; gap: 10px; align-items: baseline; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--purple-dark); transition: background-color .18s ease, color .18s ease; }
.article-toc li a::before { content: counter(toc, decimal-leading-zero); font-size: 11px; font-weight: 800; color: var(--purple); opacity: .7; }
.article-toc li a:hover { background: var(--purple-light); color: var(--purple); text-decoration: none; }
.toc-cta { display: block; padding: 12px 14px; border-radius: 12px; background: var(--purple); color: #fff !important; font-size: 13.5px; font-weight: 700; text-align: center; text-decoration: none; }
.toc-cta:hover { background: var(--purple-dark); }
.article-body { display: grid; gap: 22px; max-width: 760px; }
.article-section { margin: 0; padding: 30px 32px; background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 10px 30px rgba(54, 28, 75, 0.05); }
.article-section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.article-section .article-section-head h3 { margin: 0; font-size: clamp(21px, 2.2vw, 26px); }
.article-num { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--purple); color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.article-points { list-style: none; padding: 0; margin: 4px 0 6px; display: grid; gap: 10px; }
.article-points li { position: relative; padding: 12px 14px 12px 44px; background: #faf7ff; border-radius: 12px; font-size: 15.5px; line-height: 1.6; }
.article-points li::before { content: "✓"; position: absolute; left: 14px; top: 12px; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--purple); color: #fff; font-size: 12px; font-weight: 800; }
.article-subgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.article-sub { padding: 18px 18px 8px; border-radius: 16px; background: #faf7ff; border-left: 4px solid var(--purple); }
.article-sub h4 { margin: 0 0 6px; font-size: 16.5px; color: var(--purple-dark); }
.article-sub p { font-size: 15px; line-height: 1.65; margin: 0 0 12px; }
.article-section p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .article-section { padding: 22px 20px; border-radius: 20px; }
  .article-subgrid { grid-template-columns: 1fr; }
  .article-toc { padding: 18px; }
}

/* ============ Virtual autism therapy page ============ */
.vs-hero-actions { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 28px; align-items: flex-start; }
.vs-cta-pair { display: grid; gap: 8px; max-width: 290px; }
.vs-cta-pair .button { width: 100%; justify-content: center; text-align: center; }
.vs-cta-pair small { font-size: 12.5px; line-height: 1.45; color: var(--text-muted); }
.vs-badges { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.vs-badges li { padding: 8px 14px 8px 32px; position: relative; border-radius: 999px; background: #fff; border: 1px solid rgba(89,32,155,.16); font-size: 13px; font-weight: 700; color: var(--purple-dark); box-shadow: 0 6px 16px rgba(54,28,75,.06); }
.vs-badges li::before { content: "✓"; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--green); color: var(--purple-dark); font-size: 10px; font-weight: 900; }
.vs-float { left: auto; right: 20px; }

.vs-section { position: relative; overflow: hidden; }
.vs-section .service-article-head { margin-bottom: 44px; }
.vs-section .service-article-head h2 { margin: 0; }
.vs-kicker { display: inline-grid; place-items: center; min-width: 44px; height: 30px; padding: 0 12px; margin-bottom: 14px; border-radius: 999px; background: var(--purple-light); color: var(--purple); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.vs-note { max-width: 780px; margin: 28px auto 0; text-align: center; font-size: 16px; line-height: 1.7; color: var(--text-muted); }
/* In-text links: blue, in the hero paragraph and every section */
.vs-section a:not(.button),
.service-hero-copy .page-hero-subtitle a { color: #0b5fd9; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; background: rgba(11, 95, 217, .08); border-radius: 4px; padding: 0 3px; transition: background-color .2s ease, color .2s ease; }
.vs-section a:not(.button):hover, .vs-section a:not(.button):focus-visible,
.service-hero-copy .page-hero-subtitle a:hover, .service-hero-copy .page-hero-subtitle a:focus-visible { color: #fff; background: #0b5fd9; text-decoration-color: transparent; }

.vs-photo { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 22px 50px rgba(54,28,75,.16); background: var(--purple-light); }
.vs-photo-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vs-photo--banner { aspect-ratio: 3 / 1; margin-bottom: 36px; }
.vs-photo--banner .vs-photo-img { object-fit: contain; }

.vs-intro { max-width: 860px; margin: 0 auto; padding: 34px 38px; border-radius: 26px; background: #fff; border: 1px solid var(--border); border-left: 6px solid var(--purple); box-shadow: 0 14px 36px rgba(54,28,75,.07); }
.vs-lede { margin: 0; font-size: 18px; line-height: 1.8; color: var(--text-dark); }
.vs-highlights, .vs-skill-grid, .vs-steps, .vs-chips { list-style: none; padding: 0; margin: 0; }
.vs-highlights { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 30px; }
.vs-highlights li, .vs-skill-grid li { display: grid; gap: 8px; align-content: start; padding: 24px 22px; background: #fff; border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 10px 28px rgba(54,28,75,.05); transition: transform .25s ease, box-shadow .25s ease; }
.vs-highlights li:hover, .vs-skill-grid li:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(54,28,75,.12); }
.vs-highlights strong, .vs-skill-grid strong { font-size: 17px; color: var(--purple-dark); }
.vs-highlights li > span:last-child, .vs-skill-grid li > span:last-child { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }
.vs-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(135deg, var(--purple), #8a4bd1); color: #fff; box-shadow: 0 8px 18px rgba(89,32,155,.28); }
.vs-icon svg { width: 24px; height: 24px; }

.vs-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.vs-split--top { align-items: start; }
.vs-split-copy > p { margin: 0 0 16px; }
.vs-split-copy .vs-lede { font-size: 17.5px; }
.vs-split > .vs-photo { aspect-ratio: 4 / 3; }
.vs-cta--inline { margin-top: 26px; background: var(--purple-light); }
.vs-fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; margin-top: 44px; }
.vs-fit-card { padding: 28px 28px 24px; border-radius: 24px; background: #fff; border: 1px solid var(--border); border-top: 5px solid var(--green); box-shadow: 0 12px 32px rgba(54,28,75,.06); }
.vs-fit-card.is-careful { border-top-color: var(--orange); }
.vs-fit-card h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 20px; color: var(--purple-dark); }
.vs-fit-mark { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--purple-dark); font-size: 16px; font-weight: 900; }
.is-careful .vs-fit-mark { background: var(--orange); color: #fff; }
.vs-fit-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vs-fit-card li { position: relative; padding-left: 24px; font-size: 15.5px; line-height: 1.6; color: var(--text-dark); }
.vs-fit-card li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.is-careful li::before { background: var(--orange); }

.vs-format-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.vs-format-card { position: relative; padding: 30px 28px 28px 28px; background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 12px 32px rgba(54,28,75,.06); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.vs-format-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(54,28,75,.13); }
.vs-format-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--purple-light); opacity: .7; }
.vs-num { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 14px; background: var(--purple); color: #fff; font-size: 20px; font-weight: 800; }
.vs-format-card h3 { position: relative; z-index: 1; margin: 0 0 10px; font-size: 20px; line-height: 1.3; color: var(--purple-dark); }
.vs-format-card p { position: relative; z-index: 1; margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--text-muted); }
.vs-cta { margin-top: 40px; }

.vs-timeline { list-style: none; margin: 0; padding: 0 0 0 4px; counter-reset: vst; display: grid; gap: 0; }
.vs-timeline li { position: relative; display: grid; gap: 4px; padding: 0 0 26px 62px; counter-increment: vst; }
.vs-timeline li:last-child { padding-bottom: 0; }
.vs-timeline li::before { content: counter(vst); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 800; z-index: 1; box-shadow: 0 0 0 6px var(--purple-light); }
.vs-timeline li::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: repeating-linear-gradient(to bottom, rgba(89,32,155,.35) 0 6px, transparent 6px 12px); }
.vs-timeline li:last-child::after { display: none; }
.vs-timeline strong { padding-top: 9px; font-size: 18px; color: var(--purple-dark); }
.vs-timeline span { font-size: 15.5px; line-height: 1.65; color: var(--text-muted); }
.vs-setup-side { display: grid; gap: 22px; }
.vs-setup-side .vs-photo { aspect-ratio: 16 / 10; }
.vs-checklist { padding: 26px 26px 22px; border-radius: 24px; background: #fff; border: 1px solid var(--border); box-shadow: 0 12px 32px rgba(54,28,75,.06); }
.vs-checklist h3 { margin: 0 0 14px; font-size: 19px; color: var(--purple-dark); }
.vs-checklist ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.vs-checklist li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.55; }
.vs-checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: var(--purple-dark); font-size: 11px; font-weight: 900; }
.vs-checklist p { margin: 0; padding-top: 14px; border-top: 1px dashed var(--border); font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }

.vs-table-wrap { max-width: 980px; margin: 0 auto; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 16px 40px rgba(54,28,75,.09); background: #fff; }
.vs-compare { width: 100%; border-collapse: collapse; }
.vs-compare th, .vs-compare td { padding: 18px 22px; text-align: left; font-size: 15.5px; line-height: 1.55; vertical-align: top; border-bottom: 1px solid var(--border); }
.vs-compare thead th { background: linear-gradient(135deg, var(--purple), #7a36bf); color: #fff; font-size: 16px; border-bottom: 0; }
.vs-compare thead th:first-child { width: 17%; }
.vs-compare tbody th { background: var(--purple-light); color: var(--purple-dark); font-weight: 800; width: 17%; }
.vs-compare tbody tr:nth-child(even) td { background: #faf7ff; }
.vs-compare tbody tr:last-child > * { border-bottom: 0; }
.vs-compare td:nth-child(2) { font-weight: 600; color: var(--purple-dark); }

.vs-skill-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.vs-steps { counter-reset: vsstep; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.vs-steps li { counter-increment: vsstep; position: relative; display: grid; gap: 8px; align-content: start; padding: 64px 24px 24px; background: #fff; border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 10px 28px rgba(54,28,75,.05); }
.vs-steps li::before { content: counter(vsstep); position: absolute; left: 24px; top: 18px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--purple); color: #fff; font-weight: 800; }
.vs-steps li::after { content: ""; position: absolute; left: 74px; right: 24px; top: 36px; height: 2px; background: repeating-linear-gradient(to right, rgba(89,32,155,.3) 0 6px, transparent 6px 12px); }
.vs-steps strong { font-size: 18px; color: var(--purple-dark); }
.vs-steps li > span { font-size: 15px; line-height: 1.65; color: var(--text-muted); }

.vs-section--dark { background: linear-gradient(135deg, var(--purple-dark) 0%, #4a1a8a 60%, #5d23a6 100%); color: #fff; }
.vs-section--dark::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 56px solid rgba(255,255,255,.05); pointer-events: none; }
.vs-section--dark .vs-kicker { background: rgba(255,255,255,.14); color: #fff; }
.vs-section--dark h2, .vs-section--dark p { color: #fff; }
.vs-section--dark a:not(.button) { color: #9ccbff; background: rgba(255, 255, 255, .1); }
.vs-section--dark a:not(.button):hover, .vs-section--dark a:not(.button):focus-visible { color: #fff; background: #0b5fd9; }
.vs-funding, .vs-book { max-width: 820px; margin: 0 auto; text-align: center; }
.vs-funding p, .vs-book p { margin: 0 0 18px; font-size: 18px; line-height: 1.8; color: rgba(255,255,255,.92); }
.vs-funding-cta { display: grid; justify-items: center; gap: 12px; margin-top: 28px; }
.vs-funding-cta small { font-size: 14px; color: rgba(255,255,255,.8); }
.vs-section--dark .button--primary { background: var(--yellow); color: var(--purple-dark); }
.vs-section--dark .button--primary:hover { background: #fff; }

.vs-trust-stack { display: grid; gap: 18px; }
.vs-trust-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; margin-top: 26px; align-items: start; }
.vs-trust-card { height: auto; }
.vs-trust-card p { font-size: 15.5px; line-height: 1.7; }
.vs-trust-row .article-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .vs-trust-row { grid-template-columns: 1fr; } .vs-trust-row .article-points { grid-template-columns: 1fr; } }
.vs-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto 34px; }
.vs-chips li { padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid rgba(89,32,155,.2); font-size: 14.5px; font-weight: 700; color: var(--purple-dark); box-shadow: 0 6px 14px rgba(54,28,75,.05); }
.vs-chips li:last-child { background: var(--purple); border-color: var(--purple); color: #fff; }
.vs-local-copy { max-width: 860px; margin: 0 auto; padding: 30px 34px; border-radius: 24px; background: #fff; border: 1px solid var(--border); box-shadow: 0 12px 32px rgba(54,28,75,.06); }
.vs-local-copy p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.8; }
.vs-local-copy p:last-child { margin-bottom: 0; }

.vs-faq { column-count: 1; max-width: 880px; margin: 0 auto; display: grid; gap: 14px; }
.vs-faq .faq-item { border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(54,28,75,.04); margin: 0; transition: box-shadow .2s ease, border-color .2s ease; }
.vs-faq .faq-item + .faq-item { margin-top: 0; }
.vs-faq .faq-item:hover { background: #fff; border-color: rgba(89,32,155,.35); box-shadow: 0 12px 28px rgba(54,28,75,.09); }
.vs-faq .faq-item button { padding: 20px 22px; font-size: 16.5px; }
.vs-faq .faq-answer p { margin: 0; padding: 0 22px 20px; font-size: 15.5px; line-height: 1.75; color: var(--text-muted); }

@media (max-width: 1000px) {
  .vs-highlights { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .vs-skill-grid, .vs-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .vs-split { grid-template-columns: 1fr; gap: 30px; }
  .vs-split > .vs-photo { order: -1; width: 100%; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 700px) {
  .vs-hero-actions { flex-direction: column; gap: 16px; }
  .vs-cta-pair { max-width: none; width: 100%; }
  .vs-float { right: 12px; left: auto; bottom: -16px; }
  .vs-section .service-article-head { margin-bottom: 30px; }
  .vs-intro { padding: 24px 22px; border-radius: 22px; }
  .vs-lede, .vs-funding p, .vs-book p { font-size: 16.5px; }
  .vs-highlights, .vs-skill-grid, .vs-steps, .vs-fit-grid, .vs-format-grid { grid-template-columns: 1fr; }
  .vs-photo { border-radius: 22px; }
  /* phones: 2:1 window centred on the therapist and the laptop so both stay fully visible */
  .vs-photo--banner { aspect-ratio: 2 / 1; margin-bottom: 26px; }
  .vs-photo--banner .vs-photo-img { object-fit: cover; object-position: 58% 50%; }
  .vs-fit-card, .vs-format-card { padding: 24px 20px; }
  .vs-timeline li { padding-left: 56px; }
  .vs-local-copy { padding: 22px 20px; }
  .vs-cta--inline, .vs-cta { padding: 22px 20px; }
  .vs-cta .button { width: 100%; justify-content: center; }
  .vs-faq .faq-item button { padding: 16px 16px; font-size: 15.5px; }
  .vs-faq .faq-answer p { padding: 0 16px 16px; }
  /* comparison table becomes stacked cards */
  .vs-compare, .vs-compare tbody, .vs-compare tr, .vs-compare th, .vs-compare td { display: block; width: 100% !important; }
  .vs-compare thead { display: none; }
  .vs-compare tbody tr { border-bottom: 1px solid var(--border); }
  .vs-compare tbody th { padding: 12px 18px; }
  .vs-compare td { padding: 12px 18px; border-bottom: 0; background: #fff !important; }
  .vs-compare td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); }
}

/* Services page: split hero with photo, cards start straight after it */
.services-hero { padding: 40px 0 64px; background: radial-gradient(circle at 92% 12%, rgba(167, 206, 25, .14), transparent 30%), radial-gradient(circle at 4% 100%, rgba(89, 32, 155, .08), transparent 34%), #FBF9FD; }
.services-hero .service-hero-grid { margin-top: 6px; gap: 56px; }
.services-hero .page-hero-title { font-size: clamp(32px, 3.6vw, 46px); max-width: none; }
.services-hero .page-hero-subtitle { max-width: 560px; }
.services-hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; }
.services-hero .service-hero-img { height: 420px; }
.services-list-section { padding: 56px 0 84px; scroll-margin-top: 90px; }
@media (max-width: 1024px) {
  .services-hero { padding: 32px 0 48px; }
  .services-hero .service-hero-img { height: 340px; }
}
@media (max-width: 700px) {
  .services-hero { padding: 26px 0 40px; }
  .services-hero .service-hero-grid { gap: 30px; }
  .services-hero .service-hero-img { height: 260px; }
  .services-hero-actions .button { width: 100%; justify-content: center; }
  .services-list-section { padding: 36px 0 56px; }
}

/* Footer: same text size as the rest of the site (16px body text) */
.site-footer .footer-brand p { font-size: 16px; line-height: 1.7; max-width: 330px; }
.site-footer .footer-col h2 { font-size: 20px; margin: 4px 0 14px; }
.site-footer .footer-col li,
.site-footer .footer-col a { font-size: 16px; line-height: 1.9; }
.site-footer .contact-list li { align-items: flex-start; }
.site-footer .footer-bottom { align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.site-footer .footer-bottom p,
.site-footer .footer-bottom a,
.site-footer .footer-bottom span { font-size: 15px; }
@media (max-width: 640px) {
  .site-footer .footer-col h2 { font-size: 19px; }
  .site-footer .footer-col a { overflow-wrap: anywhere; }
}
.site-footer .contact-list li,
.site-footer .contact-list a { overflow-wrap: anywhere; min-width: 0; }

/* Home services carousel: readable text, one button, whole card clickable */
.seo-services-grid .service-card { height: auto; min-height: 560px; --card-accent: var(--purple); cursor: pointer; }
.seo-services-grid .service-card::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--card-accent); z-index: 3; }
.seo-services-grid .service-copy { position: static; padding: 22px 26px 26px; }
.seo-services-grid .service-copy h3 { font-size: 21px; line-height: 1.25; margin-bottom: 9px; }
.seo-services-grid .service-copy h3 a { color: var(--purple-dark); }
.seo-services-grid .service-copy p { font-size: 15px; line-height: 1.6; margin-bottom: 10px; -webkit-line-clamp: 4; }
.seo-services-grid .resource-card-points { margin: 6px 0 14px; gap: 7px; }
.seo-services-grid .resource-card-points li { font-size: 14px; line-height: 1.45; }
.seo-services-grid .service-assurance { margin: auto 0 14px; padding: 7px 12px; width: fit-content; border-radius: 999px; background: rgba(9, 166, 173, .1); font-size: 12px; letter-spacing: .01em; }
.seo-services-grid .service-cta { font-size: 16px; padding-bottom: 4px; }
.seo-services-grid .service-cta::after { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; }
.seo-services-grid .service-cta:focus-visible { outline: none; }
.seo-services-grid .service-cta:focus-visible::after { outline: 3px solid var(--card-accent); outline-offset: -3px; border-radius: 24px; }
.seo-services-grid .service-card:hover .service-cta .action-arrow { transform: translateX(6px); }
.seo-services-grid .service-card.card-teal { --card-accent: var(--teal); }
.seo-services-grid .service-card.card-lime { --card-accent: #7da10c; }
@media (max-width: 760px) {
  .seo-services-grid .service-card { min-height: 0; height: auto; }
  .seo-services-grid .service-copy { padding: 20px 20px 24px; }
  .seo-services-grid .service-copy h3 { font-size: 20px; }
}

/* Services carousel: round arrow buttons centred on the card edges, counter underneath */
.services-carousel-shell { display: flex; flex-direction: column; }
.services-carousel-controls { order: 2; position: static; display: flex; justify-content: center; align-items: center; height: 44px; margin: 0; gap: 0; }
.services-carousel-status { margin: 0; min-width: 0; padding: 6px 16px; border-radius: 999px; background: var(--purple-light); font-size: 13px; letter-spacing: .04em; }
.services-carousel-button {
  position: absolute;
  z-index: 8;
  top: calc((100% - 44px) / 2 - 24px); /* vertical middle of the cards (44px = counter row below) */
  width: 48px;
  height: 48px;
  padding: 0;
  gap: 0;
  border: 1px solid rgba(89, 32, 155, .14);
  border-radius: 50%;
  color: var(--purple);
  background: #fff;
  box-shadow: 0 10px 28px rgba(39, 19, 79, .2);
}
.services-carousel-button[data-carousel-prev] { left: -28px; }
.services-carousel-button[data-carousel-next] { right: -28px; }
.services-carousel-button .carousel-button-label { display: none; }
.services-carousel-button span { font-size: 22px; line-height: 1; }
.services-carousel-button:hover,
.services-carousel-button:focus-visible { color: #fff; background: var(--purple); border-color: var(--purple); transform: scale(1.08); box-shadow: 0 14px 30px rgba(89, 32, 155, .35); outline: none; }
.services-carousel-button:active { transform: scale(.96); }
@media (max-width: 1100px) {
  .services-carousel-button { width: 42px; height: 42px; top: calc((100% - 44px) / 2 - 21px); }
  .services-carousel-button[data-carousel-prev] { left: -20px; }
  .services-carousel-button[data-carousel-next] { right: -20px; }
}
@media (max-width: 760px) {
  /* phones: arrows sit on the photo, vertically centred on it */
  .services-carousel-button { top: 88px; width: 44px; height: 44px; }
  .services-carousel-button[data-carousel-prev] { left: 10px; }
  .services-carousel-button[data-carousel-next] { right: 10px; }
  .services-carousel-controls { justify-content: center; }
}
/* the 27% + 73% columns plus the gap were wider than the container; let the carousel take what is left */
.services-grid { grid-template-columns: minmax(0, 27%) minmax(0, 1fr); }
@media (max-width: 980px) { .services-grid { grid-template-columns: minmax(0, 1fr); } }

/* Privacy Policy and Terms and Conditions */
.legal-hero { padding-bottom: 40px; background: radial-gradient(circle at 92% 10%, rgba(167, 206, 25, .12), transparent 30%), #FBF9FD; }
.legal-hero .page-hero-title { font-size: clamp(30px, 3.4vw, 44px); max-width: 900px; }
.legal-updated { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(89, 32, 155, .14); color: var(--purple-dark); font-size: 14px; font-weight: 700; box-shadow: 0 6px 16px rgba(54, 28, 75, .06); }
.legal-page { padding: 52px 0 76px; background: linear-gradient(180deg, #faf7ff 0%, #fff 55%); }
.legal-page .article-body { max-width: 820px; }
.legal-page .article-section-head h2 { margin: 0; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.25; color: var(--purple-dark); }
.legal-page .article-section h3 { margin: 20px 0 10px; font-size: 18px; color: var(--purple-dark); }
.legal-page .article-section p,
.legal-page .article-points li { font-size: 16px; line-height: 1.75; }
.legal-page .article-section a { color: #0b5fd9; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-page .article-section a:hover { color: var(--purple); }
.legal-summary { padding: 28px 30px; border-radius: 24px; background: linear-gradient(135deg, var(--purple-dark) 0%, #4a1a8a 70%, #5d23a6 100%); color: #fff; box-shadow: 0 18px 44px rgba(54, 28, 75, .22); }
.legal-summary h2 { margin: 0 0 14px; font-size: 22px; color: #fff; }
.legal-summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.legal-summary li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .95); }
.legal-summary li::before { content: "✓"; position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); color: var(--purple-dark); font-size: 12px; font-weight: 900; }
.legal-related { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; border-radius: 22px; background: var(--purple-light); }
.legal-related strong { color: var(--purple-dark); font-size: 17px; }
.legal-related p { margin: 2px 0 0; font-size: 15px; color: var(--text-muted); }
@media (max-width: 900px) {
  .legal-page { padding: 34px 0 56px; }
  .legal-summary { padding: 22px 20px; border-radius: 20px; }
  .legal-related { padding: 20px; }
  .legal-related .button { width: 100%; justify-content: center; }
}
