/* Shalom Family Mediation - design layer (loaded after styles.css)
   Palette from the logo: coral and blue bubbles, plum where they overlap. */
:root {
  --plum: #3d2238;
  --plum-soft: #5a3552;
  --coral-brand: #e2636d;
  --blue-brand: #4f87c0;
  --sage-brand: #5f7359;
  --mist: #f0f3f6;
  --shell: #fbf8f6;
  --ink: #2c2a2e;
  --ink-soft: #5b5860;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --display: var(--serif);
  --body: var(--sans);
  --about: var(--sans);
}

body { background: var(--shell); color: var(--ink); font-family: var(--sans); font-weight: 400; }
p { color: var(--ink-soft); }

/* Headings: calm serif, sentence case, no letterspaced caps */
h1, h2, h3,
.sec-title, .svc-text h2, .svc-cta-box h2, .block-title, .faq h1, .faq-item h2,
.about h1, .book h1, .pricing h1, .intake-head h1, .intake-done h2 {
  font-family: var(--serif);
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--plum);
}
.plan-name, .book-kicker, .svc-quote p, .svc-quote cite, .who-quote p, .who-quote cite,
.form-group > legend {
  text-transform: none;
  letter-spacing: 0;
}
.form-group > legend { font-family: var(--serif); font-weight: 500; color: var(--plum); font-size: 1.5rem; }

/* Header */
.site-header { background: rgba(251, 248, 246, .94); backdrop-filter: blur(8px); border-bottom: 1px solid #eadfe1; }
.header-inner { max-width: 1200px; gap: 2.5rem; }
.logo img { height: 58px; }
.site-nav a { font-family: var(--sans); font-weight: 500; font-size: 1.02rem; color: var(--plum-soft); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--coral-brand); }
.nav-cta {
  margin-left: auto;
  white-space: nowrap;
  padding: .6rem 1.15rem;
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: background .2s ease;
}
.nav-cta:hover { background: var(--coral-brand); }

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--coral-brand); color: #fff; }
.btn-primary:hover { background: #c9505a; }
.btn-secondary { border: 1.5px solid var(--plum); color: var(--plum); }
.btn-secondary:hover { background: var(--plum); color: #fff; }
.btn-on-dark { background: #fff; color: var(--plum); }
.btn-on-dark:hover { background: var(--coral-brand); color: #fff; }
.btn-text {
  display: inline-block;
  margin-top: .5rem;
  color: var(--coral-brand);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(226, 99, 109, .3);
  padding-bottom: 2px;
}
.btn-text:hover { border-bottom-color: var(--coral-brand); }
.btn-blue { border-radius: 999px; }

/* Shared home layout */
.h-wrap { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.h-center { text-align: center; }
.h-title { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.1; margin: 0 0 1.5rem; }
section[class^="h-"] { padding: clamp(4rem, 8vw, 6.5rem) 0; }

/* Hero */
.h-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3rem, 6vw, 5rem) !important;
  padding-bottom: 0 !important;
  background:
    radial-gradient(1200px 500px at 85% 10%, rgba(79, 135, 192, .10), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(226, 99, 109, .10), transparent 60%),
    var(--shell);
}
.h-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 3rem;
}
.h-hero h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.h-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; max-width: 34em; margin: 0 0 2.25rem; }
.h-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.h-hero-art { text-align: center; }
.bubbles { width: 100%; max-width: 520px; overflow: visible; }
.bubbles { isolation: isolate; }
.bubble { mix-blend-mode: multiply; }
.bubble-coral path { fill: var(--coral-brand); }
.bubble-blue path { fill: var(--blue-brand); }
.bubble-coral { animation: drift-right 1.6s cubic-bezier(.2, .7, .2, 1) both; }
.bubble-blue { animation: drift-left 1.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes drift-right { from { transform: translateX(-70px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes drift-left { from { transform: translateX(70px); opacity: 0; } to { transform: none; opacity: 1; } }
.h-art-caption {
  margin: .25rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--plum-soft);
  animation: fade-in 1s ease 1.3s both;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.h-trust {
  list-style: none;
  max-width: 1140px;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 3rem;
  border-top: 1px solid #eadfe1;
}
.h-trust li { display: flex; align-items: center; gap: .6rem; color: var(--plum-soft); font-weight: 500; }
.h-trust svg { width: 24px; height: 24px; color: var(--coral-brand); flex-shrink: 0; }

/* Who we are */
.h-who { background: #fff; }
.h-who-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.h-quote { margin: 0; position: relative; padding-top: 3.5rem; }
.h-quote::before {
  content: "\201C";
  position: absolute;
  top: -1.5rem;
  left: -.4rem;
  font-family: var(--serif);
  font-size: 9rem;
  line-height: 1;
  color: var(--coral-brand);
  opacity: .35;
}
.h-who-grid .h-quote p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  line-height: 1.3;
  color: var(--plum);
}
.h-quote cite { display: block; margin-top: 1.25rem; font-style: normal; font-weight: 600; color: var(--coral-brand); }
.h-who-grid p { font-size: 1.1rem; line-height: 1.8; margin: 0 0 1.25rem; }

/* Services */
.h-services { background: var(--mist); }
.h-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin: 2.5rem 0 3rem; }
.h-svc {
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem 2rem;
  background: #fff;
  border-radius: 18px;
  text-decoration: none;
  border: 1px solid #e3e8ee;
  transition: transform .25s ease, box-shadow .25s ease;
}
.h-svc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(61, 34, 56, .10); }
.h-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 1.5rem; }
.h-icon svg { width: 34px; height: 34px; }
.h-svc--blue .h-icon { background: rgba(79, 135, 192, .12); color: var(--blue-brand); }
.h-svc--coral .h-icon { background: rgba(226, 99, 109, .12); color: var(--coral-brand); }
.h-svc--sage .h-icon { background: rgba(95, 115, 89, .14); color: var(--sage-brand); }
.h-svc h3 { margin: 0 0 .75rem; font-size: 1.6rem; }
.h-svc p { margin: 0 0 1.5rem; line-height: 1.65; }
.h-more { margin-top: auto; font-weight: 600; color: var(--plum); }
.h-svc:hover .h-more { color: var(--coral-brand); }

/* Why mediation works: plum band */
.h-why { background: var(--plum); }
.h-why .h-title { color: #fff; }
.h-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 2.5rem; }
.h-why-item {
  padding: 1.5rem 1.75rem;
  text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, .18);
}
.h-why-item:first-child { border-left: 0; }
.h-stat { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; color: #fff; }
.h-stat-sub { display: block; margin: .4rem 0 1rem; color: #f3a9ae; font-weight: 600; }
.h-why-item p { margin: 0; color: rgba(255, 255, 255, .78); line-height: 1.6; }
.h-why-item:hover p { color: #fff; }

/* Testimonials */
.h-testimonials { background: var(--shell); }
.h-testimonials .carousel { margin-top: 2.5rem; max-width: 1100px; }
.h-testimonials .quote-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem 1.75rem 1.5rem;
  box-shadow: none;
  border: 1px solid #ece3e5;
  position: relative;
}
.h-testimonials .quote-card::before {
  content: "\201C";
  display: block;
  font-family: var(--serif);
  font-size: 4rem;
  line-height: .6;
  color: var(--coral-brand);
  margin-bottom: .75rem;
}
.h-testimonials .quote-card blockquote {
  border: 0;
  padding: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink);
}
.h-testimonials .quote-card figcaption { font-family: var(--sans); font-weight: 600; color: var(--plum); font-size: 1rem; }
.carousel-btn { color: var(--plum); }

/* Founder */
.h-founder { background: #fff; }
.h-founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.h-founder-photo { width: 100%; border-radius: 22px; aspect-ratio: 5 / 4; object-fit: cover; object-position: 70% center; }
.h-founder-name { margin: -.75rem 0 1.25rem; font-weight: 600; color: var(--coral-brand); }
.h-founder-grid p:not(.h-founder-name) { font-size: 1.08rem; line-height: 1.8; }

/* Videos */
.h-videos { background: var(--mist); }
.h-videos .video-frame { max-width: 880px; margin: 2rem auto 1.25rem; border-radius: 18px; overflow: hidden; background: #d9e1e8; }

/* Closing call to action */
.h-cta {
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(226, 99, 109, .35), transparent 70%),
    radial-gradient(700px 300px at 85% 100%, rgba(79, 135, 192, .35), transparent 70%),
    var(--plum);
  text-align: center;
}
.h-cta-inner { max-width: 760px; }
.h-cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 1rem; }
.h-cta p { color: rgba(255, 255, 255, .82); font-size: 1.15rem; margin: 0 0 2rem; }

/* Footer: plum, ties every page together */
.site-footer { background: var(--plum); color: rgba(255, 255, 255, .8); border-top: 0; }
.site-footer .footer-inner { font-family: var(--sans); font-size: 1.05rem; }
.site-footer .footer-name { font-family: var(--serif); color: #fff; font-weight: 500; font-size: 1.6rem; }
.site-footer p, .site-footer strong { color: rgba(255, 255, 255, .8); }
.site-footer .footer-inner a, .site-footer .footer-nav a { color: #fff; }
.site-footer .footer-inner a:hover { color: #f3a9ae; }
.site-footer .footer-nav a[aria-current="page"] { color: #f3a9ae; }
.site-footer .social a { color: #fff; }
.site-footer .copyright { color: rgba(255, 255, 255, .55); }

/* Inner pages: align with the new look */
.faq h1, .about h1, .book h1, .pricing h1 { color: var(--plum); }
.faq-item h2 { color: var(--plum); }
.faq-item:target h2 { color: var(--coral-brand); }
.faq-item p, .about-text p { color: var(--ink-soft); }
.svc-quote p { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--plum); font-size: clamp(1.6rem, 3vw, 2.4rem); }
.svc-quote cite { font-family: var(--sans); font-weight: 600; color: var(--coral-brand); font-size: 1.1rem; }
.svc-text h2 { color: var(--plum); font-size: clamp(1.6rem, 2.4vw, 2rem); }
.svc-text p { color: var(--ink-soft); font-weight: 400; }
.svc-img { background: linear-gradient(135deg, var(--plum-soft), var(--blue-brand)); }
#divorce-mediation .svc-img { background: linear-gradient(135deg, var(--coral-brand), var(--plum-soft)); }
#divorce-coaching .svc-img { background: linear-gradient(135deg, var(--sage-brand), var(--plum-soft)); }
.svc-img--empty .svc-img-label { font-family: var(--serif); font-style: italic; }
.svc-cta-box h2 { color: var(--plum); }
.plan-name { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.plan-price { font-family: var(--serif); color: var(--plum); }
.book-kicker { font-family: var(--serif); font-weight: 500; color: var(--plum); font-size: 1.4rem; }
.book-price { font-family: var(--serif); color: var(--plum); }
.btn-coral { border-radius: 999px; background: var(--coral-brand); }
.intake-head h1 { color: var(--plum); }

/* Responsive */
@media (max-width: 960px) {
  .nav-cta { margin-left: 0; }
  .h-hero-inner, .h-who-grid, .h-founder-grid { grid-template-columns: 1fr; }
  .h-hero-art { order: -1; max-width: 360px; margin: 0 auto; }
  .h-svc-grid { grid-template-columns: 1fr; }
  .h-why-grid { grid-template-columns: 1fr 1fr; }
  .h-why-item:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
  .h-why-grid { grid-template-columns: 1fr; }
  .h-why-item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
  .h-why-item:first-child { border-top: 0; }
  .h-trust { justify-content: flex-start; }
  .nav-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bubble-coral, .bubble-blue, .h-art-caption { animation: none; }
  .h-svc { transition: none; }
}
@media (max-width: 960px) {
  .menu-toggle { border-color: var(--plum); color: var(--plum); border-radius: 999px; font-weight: 600; padding: .5em 1.2em; }
  .site-nav a { padding: .35rem 0; }
}
.chat-btn { background: var(--plum); border-radius: 999px; }
.chat-btn:hover { filter: none; background: var(--coral-brand); }
