/* Shalom Family Mediation - site styles */
:root {
  --coral: #ee8e8a;
  --coral-deep: #e07f7b;
  --blue: #6592c2;
  --sage: #8b9f87;
  --sage-text: #77886f;
  --sage-dark: #6e7e6f;
  --pill: #63705f;
  --gray-band: #ebebeb;
  --text: #6f6f6f;
  --white: #ffffff;
  --display: "Montserrat", "Arial Black", sans-serif;
  --body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --about: "Barlow", "Lato", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--body);
  font-weight: 400;
  border: 0;
  cursor: pointer;
  transition: filter .2s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn-blue {
  background: var(--blue);
  color: var(--white);
  padding: .8em 2em;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
}
.btn-lg {
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  padding: .55em 1.9em;
  border-radius: 4px;
  background: rgba(101, 146, 194, .88);
}
.btn-pill {
  display: block;
  width: min(100%, 620px);
  margin: 3.5rem auto 0;
  background: var(--pill);
  color: var(--white);
  border-radius: 999px;
  padding: 1.1em 1.5em;
  text-align: center;
  font-weight: 700;
  letter-spacing: .12em;
  font-size: clamp(.9rem, 1.6vw, 1.05rem);
}
.btn-small {
  background: rgba(238, 142, 138, .9);
  color: var(--white);
  font-style: italic;
  border-radius: 999px;
  padding: .45em 1.4em;
  font-size: .95rem;
}
.btn-light {
  background: #e8e8e6;
  color: #555;
  border-radius: 999px;
  padding: .6em 1.6em;
  font-family: var(--about);
  font-size: 1.15rem;
}

/* Header */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #f0f0f0;
}
.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: .8rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo img { height: 64px; width: auto; }
.logo { text-decoration: none; flex-shrink: 0; }
.logo-fallback { display: none; }
.logo--text .logo-fallback {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  color: var(--coral);
  font-size: 1.05rem;
  line-height: 1.1;
  max-width: 9em;
}
.site-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.site-nav a {
  text-decoration: none;
  color: var(--sage-text);
  font-size: 1.15rem;
  font-weight: 300;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--coral-deep); }
.menu-toggle { display: none; }

/* Banner */
.hero {
  background:
    linear-gradient(180deg, rgba(247, 231, 208, .55) 0%, rgba(247, 231, 208, 0) 38%),
    url("../images/hero-mountains.jpg") center / cover no-repeat,
    linear-gradient(180deg, #efe2c9 0%, #a9b896 40%, #5f7a55 75%, #3f5a3a 100%);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 5rem) 1.25rem clamp(4rem, 10vw, 8rem);
}
.hero-brand {
  margin: 0 auto;
  text-align: center;
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--coral);
  font-size: clamp(1.5rem, 4.6vw, 4.2rem);
  letter-spacing: .14em;
  line-height: 1.1;
}
.hero-body {
  max-width: var(--wrap);
  margin: clamp(3rem, 9vw, 8rem) auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.hero-text { max-width: 640px; }
.hero h1 {
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.2vw, 4.5rem);
  line-height: 1.22;
  margin: 0 0 clamp(2rem, 5vw, 4rem);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .18);
}
.hero-path {
  width: clamp(140px, 22vw, 300px);
  color: #f1ebe5;
  flex-shrink: 0;
}

/* Section titles with side lines */
.section { padding: clamp(3.5rem, 7vw, 6rem) 1.25rem; }
.sec-title {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0 auto 3rem;
  max-width: var(--wrap);
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--sage-text);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.1;
  text-align: center;
}
.sec-title::before, .sec-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--sage-text);
  opacity: .7;
}

/* Who we are */
.who-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.who-quote { margin: 0; text-align: right; }
.who-quote p {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--coral);
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.35;
}
.who-quote cite {
  display: block;
  margin-top: 2.5rem;
  font-style: normal;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--coral);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
}
.who-text p {
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.75;
}

/* Services */
.services { padding-top: 0; }
.service-cards {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3.5vw, 3rem);
}
.service-card {
  position: relative;
  min-height: 360px;
  padding: 3.5rem 1.4rem 5rem;
  border-radius: 6px;
  color: var(--white);
  text-decoration: none;
  text-align: center;
  box-shadow: 0 6px 14px rgba(60, 60, 60, .16);
}
.service-card--blue { background: var(--blue); }
.service-card--coral { background: var(--coral); }
.service-card--sage { background: var(--sage); }
.service-card h3 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: clamp(1.3rem, 2.3vw, 1.9rem);
  line-height: 1.3;
}
.service-card p { margin: 0; font-size: 1.1rem; line-height: 1.5; }
.card-arrow {
  position: absolute;
  left: 50%;
  bottom: 2.6rem;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  background: var(--white);
  border-radius: 5px;
}
.card-arrow::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-top: 2.5px solid var(--blue);
  border-right: 2.5px solid var(--blue);
  transform: rotate(45deg);
}
.service-card:hover { filter: brightness(1.05); }

/* Testimonials */
.testimonials { padding-top: 2rem; }
.carousel {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.carousel-track {
  flex: 1;
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.quote-card {
  flex: 0 0 calc((100% - 4rem) / 3);
  scroll-snap-align: start;
  margin: 0;
}
.quote-card blockquote {
  margin: 0 0 1rem;
  padding-right: 1rem;
  border-right: 6px solid #5ea8f0;
  border-radius: 2px;
  color: #222;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.4;
}
.quote-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  color: #222;
  font-weight: 700;
  font-size: 1.15rem;
}
.stars { color: #f2c94c; letter-spacing: .1em; white-space: nowrap; }
.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: #777;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
}

/* More information */
.more-band { background: var(--gray-band); padding: 2rem 1.25rem; }
.more-band .sec-title { margin-bottom: 0; }
.info-cards {
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.info-card {
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(60, 60, 60, .14);
  color: var(--white);
}
.info-card--blue { background: #4a77a8; }
.info-card--coral { background: #c45f5a; }
.info-card--sage { background: #687b62; }
.info-card--slate { background: #55665a; }
.info-photo {
  aspect-ratio: 4 / 3;
  background-color: #a9b896;
  background-size: cover;
  background-position: center;
}
.info-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.4rem 1.8rem;
}
.info-card h3 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.35;
}
.info-card p {
  margin: 0 0 1.75rem;
  font-weight: 400;
  font-size: 1.08rem;
  line-height: 1.55;
}
.info-card .btn-small {
  margin-top: auto;
  align-self: flex-start;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .85);
  color: var(--white);
  font-style: normal;
  font-weight: 700;
}
.info-card .btn-small:hover { background: rgba(255, 255, 255, .15); }

/* Coral and sage blocks */
.block-inner { max-width: 1000px; margin: 0 auto; }
.block-title {
  margin: 0;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid rgba(255, 255, 255, .7);
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  line-height: 1.15;
  max-width: 20em;
}
.block-sub {
  margin: 1.25rem 0 2rem;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--white);
  font-size: 1rem;
}
.videos { background: #ea8380; padding: clamp(3.5rem, 7vw, 6rem) 1.25rem; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.video-slot, .video-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: rgba(255, 255, 255, .25);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 400;
}

.founder {
  background: var(--sage-dark);
  color: #f2f2f0;
  padding: clamp(3.5rem, 7vw, 6rem) 1.25rem 0;
  font-family: var(--about);
}
.founder-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  align-items: end;
}
.founder-grid > div { padding-bottom: clamp(3rem, 6vw, 5rem); }
.founder p:not(.block-sub) {
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1.9;
  letter-spacing: .01em;
  margin: 0 0 1.5rem;
}
.founder p.founder-cta {
  margin-top: 3rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  font-weight: 300;
}
.founder-photo { width: 100%; max-width: 380px; justify-self: end; }

/* Footer */
.site-footer { padding: clamp(3.5rem, 7vw, 6rem) 1.25rem 2rem; color: var(--sage-text); }
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  font-family: var(--about);
  font-size: 1.3rem;
}
.footer-inner p { margin: 0 0 .6rem; }
.footer-name { font-weight: 500; font-size: 1.55rem; margin-bottom: 2.5rem !important; }
.footer-inner a { color: #8a8a8a; text-decoration: none; }
.footer-inner a:hover { color: var(--coral-deep); }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; font-family: var(--body); font-weight: 700; }
.footer-nav a { color: var(--sage-text); }
.footer-nav a[aria-current="page"] { color: #c9c6b3; }
.copyright { text-align: center; margin: 3rem 0 0; font-size: .9rem; color: #999; }

/* Tablet */
@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; gap: 1rem; }
  .menu-toggle {
    display: block;
    margin-left: auto;
    background: none;
    border: 1px solid var(--sage-text);
    color: var(--sage-text);
    border-radius: 4px;
    padding: .45em 1em;
    font: inherit;
    cursor: pointer;
  }
  .site-nav { display: none; width: 100%; flex-direction: column; padding: .5rem 0 1rem; }
  .site-nav.is-open { display: flex; }
  .service-cards { grid-template-columns: 1fr; max-width: 460px; }
  .service-card { min-height: 0; }
  .info-cards { grid-template-columns: repeat(2, 1fr); }
  .quote-card { flex-basis: calc((100% - 2rem) / 2); }
}

/* Phone */
@media (max-width: 640px) {
  .hero-body { flex-direction: column; align-items: flex-start; }
  .hero-path { align-self: flex-end; width: 120px; }
  .who-grid { grid-template-columns: 1fr; }
  .who-quote { text-align: left; }
  .info-cards { grid-template-columns: 1fr; }
  .quote-card { flex-basis: 100%; }
  .video-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { justify-self: center; max-width: 280px; }
  .sec-title { gap: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Intake form (start.html) */
.intake { max-width: 760px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem; }
.intake-head h1, .intake-done h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 900;
  color: var(--sage-text);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
}
.intake-head p { font-size: 1.15rem; margin: 0 0 2.5rem; }
.intake-form { color: #4f4f4f; }
.form-group {
  border: 0;
  margin: 0 0 2.5rem;
  padding: 0;
}
.form-group > legend {
  font-family: var(--display);
  font-weight: 800;
  color: var(--coral-deep);
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  padding: 0;
}
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.1rem; flex: 1; }
.field--short { flex: 0 1 9rem; }
.field-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.field label, .choice > legend { font-weight: 700; font-size: 1rem; color: #4f4f4f; }
.field input, .field select {
  font: inherit;
  font-weight: 400;
  font-size: 1.05rem;
  padding: .7em .8em;
  border: 1px solid #c9cfc6;
  border-radius: 4px;
  background: var(--white);
  color: #333;
  min-width: 0;
}
.field input:focus, .field select:focus { border-color: var(--blue); outline: 2px solid rgba(101, 146, 194, .35); }
.choice { border: 0; margin: 0 0 1.5rem; padding: 0; }
.choice > legend { margin-bottom: .6rem; padding: 0; }
.choice label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 1.25rem .5rem 0;
  font-weight: 400;
  font-size: 1.05rem;
  cursor: pointer;
}
.choice input { width: 1.15rem; height: 1.15rem; accent-color: var(--blue); }
.choice[hidden], .children[hidden] { display: none; }
.children { padding: 1.25rem; background: #f4f6f3; border-radius: 6px; }
.child-row { display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.child-label { font-weight: 700; color: var(--sage-text); padding-bottom: 1.85rem; min-width: 4.5rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #b23b36; font-weight: 700; margin: 0 0 1rem; }
.btn-submit { font-size: 1.1rem; padding: .9em 2.4em; }
.btn-submit:disabled { opacity: .7; cursor: wait; }
.form-note { font-size: .95rem; margin-top: 1rem; }
.intake-done { text-align: center; }
.intake-done p { font-size: 1.15rem; }
.intake-done .btn-pill { margin-top: 2rem; }
.field-row > .field:not(.field--short) { flex: 2 1 12rem; }
.field-row > .field--short { flex: 1 1 6.5rem; }
.children > .field--short { max-width: 10rem; }

/* Let's Chat (WhatsApp) */
.chat-btn {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.4rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 400;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(40, 60, 90, .25);
}
.chat-btn svg { width: 1.5rem; height: 1.5rem; }
.chat-btn:hover { filter: brightness(1.08); }
@media (max-width: 640px) {
  .chat-btn { padding: .75rem; border-radius: 999px; }
  .chat-btn span { display: none; }
}

/* FAQ page */
.faq { max-width: 1100px; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) 1.25rem; }
.faq h1 {
  margin: 0 0 clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  font-family: var(--about);
  font-weight: 500;
  color: var(--blue);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 6vw, 6rem);
}
.faq-item { scroll-margin-top: 110px; }
.faq-item h2 {
  margin: 0 0 1.25rem;
  font-family: var(--about);
  font-weight: 500;
  color: var(--blue);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  line-height: 1.25;
}
.faq-item p { margin: 0; font-size: 1.12rem; line-height: 1.95; color: #5d5050; }
.faq-item:target h2 { color: var(--coral-deep); }
.faq-cta { margin-top: clamp(3.5rem, 7vw, 5rem); text-align: center; }
.faq-cta p { font-size: 1.25rem; margin: 0; }
.faq-cta .btn-pill { margin-top: 1.25rem; }
@media (max-width: 760px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* Video player and social links */
.video-frame { aspect-ratio: 16 / 9; background: rgba(0, 0, 0, .15); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-more {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}
.social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social a { color: #222; display: inline-flex; }
.social a:hover { color: var(--coral-deep); }
.social svg { width: 30px; height: 30px; }
.founder-photo {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .12);
}
