h1,
h2,
h3 {
  font-family: 'Josefin Sans', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 0;
}

/* Make primary headings lighter (~30% lighter) */
h1 {
  font-weight: 200;
}

p {
  margin-top: 0;
}

main section {
  padding: 4.5rem 0;
}

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 600px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(140deg, rgba(127, 167, 160, 0.17), rgba(143, 175, 140, 0.12)),
    radial-gradient(circle at 10% 15%, rgba(111, 143, 133, 0.15), transparent 44%),
    var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../salt&sage_logo_transparent.PNG');
  background-repeat: no-repeat;
  background-position: center 46%;
  background-size: min(150vw, 780px);
  opacity: 0.23;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  color: var(--sage-dark);
  max-width: 14ch;
  margin-inline: auto;
}

.hero p {
  max-width: 60ch;
  margin: 1rem auto 0;
  color: var(--text-light);
  font-size: 1.1rem;
}

.button-row {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  font-weight: 400;
  line-height: 1;
}

.btn-primary {
  color: var(--white);
  background: var(--sage-primary);
}

.btn-primary:hover {
  background: var(--sage-dark);
  color: var(--white);
}

.btn-secondary {
  color: var(--sage-dark);
  border-color: rgba(79, 107, 99, 0.35);
  background: rgba(255, 255, 255, 0.75);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(79, 107, 99, 0.65);
  color: var(--sage-dark);
}

.intro {
  text-align: center;
}

.logo-chip {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: transparent;
  background-image: url('../images/wavy_line_transparent.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin: 0 auto 1.2rem;
}

.intro h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--sage-primary);
  max-width: 28ch;
  margin-inline: auto;
}

.intro p {
  max-width: 70ch;
  margin: 1rem auto 0;
  color: var(--text-light);
}

.section-tint {
  background: linear-gradient(to bottom, var(--cream), var(--light-grey));
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.card {
  background: #ffffffcc;
  border: 1px solid rgba(79, 107, 99, 0.15);
  border-radius: 18px;
  padding: 1.5rem;
}

.card h3 {
  color: var(--sage-dark);
  margin-bottom: 0.45rem;
}

.card p {
  color: var(--text-light);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.photo-block {
  min-height: 520px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(79, 107, 99, 0.42), rgba(127, 167, 160, 0.42)),
    url('../Therapist.jpg') center/cover no-repeat;
}

/* Homepage-specific photo (override) */
.photo-block.index-photo {
  background-image: linear-gradient(145deg, rgba(79, 107, 99, 0.42), rgba(127, 167, 160, 0.42)), url('../images/marquee_woods.png');
  background-position: center;
  background-size: cover;
}

.panel-soft {
  background: rgba(143, 175, 140, 0.22);
}

.icon-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}

.icon-item {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  padding: 1.2rem;
}

.icon-item strong {
  color: var(--sage-dark);
}

.testimonials .card {
  font-style: italic;
}

.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.2rem;
}

.map-placeholder {
  min-height: 300px;
  border-radius: 18px;
  border: 1px solid rgba(79, 107, 99, 0.15);
  background:
    linear-gradient(160deg, rgba(127, 167, 160, 0.2), rgba(244, 243, 241, 0.9));
  display: grid;
  place-items: center;
  color: var(--sage-dark);
  font-weight: 600;
}

.cta-banner {
  text-align: center;
  background: linear-gradient(to right, rgba(143, 175, 140, 0.28), rgba(127, 167, 160, 0.21));
  border-top: 1px solid rgba(79, 107, 99, 0.12);
  border-bottom: 1px solid rgba(79, 107, 99, 0.12);
}

.cta-banner h2 {
  color: var(--sage-dark);
}

.page-hero {
  padding: 5.2rem 0 3rem;
  background: linear-gradient(145deg, rgba(143, 175, 140, 0.25), rgba(127, 167, 160, 0.1));
}

.page-hero h1 {
  color: var(--sage-dark);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.7rem;
}

.callout {
  background: rgba(127, 167, 160, 0.15);
  border: 1px solid rgba(79, 107, 99, 0.2);
  border-radius: 16px;
  padding: 1.15rem;
}

.map-embed iframe {
  width: 100%;
  border: 0;
  border-radius: 16px;
}

.section-title {
  margin-bottom: 1.3rem;
  color: var(--sage-primary);
}

@media (max-width: 768px) {
  main section {
    padding: 3.2rem 0;
  }

  .hero {
    min-height: 520px;
  }

  .hero::before {
    background-size: 78vw;
    background-position: center 42%;
  }

  .cards,
  .two-col,
  .icon-list,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .button-row {
    justify-content: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .cards,
  .icon-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-grid {
    grid-template-columns: 1fr;
  }
}

/* Reduce weight for secondary headings to appear ~30% lighter */
h2,
h3 {
  font-weight: 200;
}
