/* ─────────────────────────────────────────────────────────────
   Joanna Summers — Referrals
   Page-specific layout only. The shared chrome (BACP banner, brand
   header, primary nav, footer) and the base reset live in style.css.
   ───────────────────────────────────────────────────────────── */

@media (width <= 700px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
}

/* stylelint-disable-next-line no-descending-specificity */

/* WHAT TO EXPECT */
.expect-section {
  background: var(--white);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.expect-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 6vw, 6rem);
}

.expect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.expect-card {
  padding: 2rem;
  background: var(--cream);
  border-top: 2px solid var(--sand);
}

.expect-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--slate);
  margin-bottom: 0.8rem;
}

.expect-card p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--mid);
}

/* REFERRAL PARTNERS */
.partners-section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 6vw, 6rem);
  max-width: 1100px;
  margin: 0 auto;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.partner-item {
  padding: 1.5rem;
  border-left: 2px solid var(--sand);
  background: rgb(215 190 157 / 6%);
}

.partner-item h3 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.partner-item p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--mid);
}

/* CONTACT BLOCK */
.contact-section {
  background: var(--accent);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem);
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem 6rem;
  align-items: start;
}

@media (width <= 700px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

.contact-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--cream);
}

/* stylelint-disable-next-line no-descending-specificity */
.contact-title em {
  font-style: italic;
  color: var(--sand);
}

.contact-label {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgb(215 190 157 / 30%);
  max-width: 60px;
}

.contact-details p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgb(249 247 244 / 92%);
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-item-label {
  flex-shrink: 0;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  min-width: 80px;
  padding-top: 0.15rem;
}

.contact-item-value {
  min-width: 0;
  font-size: 0.95rem;
  color: rgb(249 247 244 / 92%);
  overflow-wrap: anywhere;
}

.contact-item-value a {
  color: var(--cream);
  text-decoration: none;
}

/* Entrance reveal — CSS-only. The site CSP blocks inline JS, so content
   must never depend on a script to become visible. */

/* This page's .contact-section is a green block (the homepage's is white),
   so focus rings inside it need the pale variant. */
.contact-section a:focus-visible {
  outline-color: var(--cream);
}

/* Standalone link on its own line — pad to clear the 24px tap minimum. */
.contact-item-value a {
  display: inline-block;
  padding-block: 0.15rem;
}
