/* ================================================================
   SERVICE PERSONAL — STYLES
   Figma: node 1474:4968 (desktop) · 1700:2027 (mobile)
   Prefix: pp-  (personal-parent)
   Depends on: ../../style.css (design tokens + site utilities)
   ================================================================ */


/* ================================================================
   S1 — HERO BANNER
   ================================================================ */

/* Outer section: flush below navbar, 40px sides via site-band */
.pp-hero {
  padding-top:    20px;
  padding-bottom: 0;
}

/* Rounded dark card — background-image set via inline style */
.pp-hero__card {
  position: relative;
    width: 100%;
    min-height: 464px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-1, 0 0 12px rgba(0, 0, 0, 0.09));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 115px 20px 135px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Background layer container */
.pp-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Blurred teal → navy colour glow overlay */
.pp-hero__bg-gradient {
  position: absolute;
  inset: -48px;
  z-index: 0;
  background: var(--hero-gradient);
}

/* Content: centred above backgrounds */
.pp-hero__content {
  position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
    max-width: 778px;
    width: 100%;
    padding: 0 24px;
}

/* Green eyebrow pill */
.pp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--service-accent);
  border-radius: 99px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-overhead, 16px);
  font-weight: var(--fw-overhead, 500);
  line-height: var(--lh-overhead, 0.96);
  letter-spacing: var(--ls-overhead, 0.03em);
  color: var(--color-primary, #071d49);
  text-transform: uppercase;
}

/* H1 — white Playfair SemiBold 54px */
.pp-hero__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h1, 54px);
    font-weight: var(--fw-h1, 600);
    line-height: var(--lh-h1, 1.16);
    letter-spacing: var(--ls-h1, 0.02em);
  color: #fff;
  margin: 0;
}

/* Body — white Rubik Light 20px */
.pp-hero__body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-hero-body, 20px);
    font-weight: var(--fw-hero-body, 500);
    line-height: var(--lh-hero-body, 1.40);
    letter-spacing: var(--ls-hero-body, 0.2px);
  color: #fff;
  margin: 0;
  max-width: 650px;
}


/* ================================================================
   S2 — AREAS WE COVER
   ================================================================ */

/* Outer section: white background, 80px sides, 40px bottom.
   Negative top margin pulls the card up to overlap the hero. */
.pp-areas {
 padding: 0 80px var(--site-py-flush);
  margin-top: -80px;
  position: relative;
  z-index: 1;
}

/* Inner grey rounded card */
.pp-areas__card {
  background: var(--color-stroke, #e8edf6);
  border-radius: 32px;
  padding: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 1440px;
    margin: 0 auto;
}

/* Centred header block — eyebrow, heading, intro */
.pp-areas__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 778px;
  text-align: center;
}

/* Green eyebrow pill */
.pp-areas__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--service-accent);
  border-radius: 99px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-overhead, 16px);
    font-weight: var(--fw-overhead, 500);
    line-height: var(--lh-overhead, 0.96);
    letter-spacing: var(--ls-overhead, 0.03em);
  color: var(--color-text, #1e153d);
  text-transform: uppercase;
}

/* H2 — 44px Playfair SemiBold */
.pp-areas__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h2);
    font-weight: var(--fw-h2);
    line-height: var(--lh-h2);
    letter-spacing: var(--ls-h2);
  color: var(--color-text, #1e153d);
  margin: 0;
}

/* Intro body */
.pp-areas__intro {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body, 18px);
  font-weight: var(--fw-body-s);
  line-height: var(--lh-body-s);
  letter-spacing: var(--ls-body-s);
  color: var(--color-text, #1e153d);
  margin: 12px 0 0;
  max-width: 564px;
}

/* 3-column auto-fill grid of service cards */
.pp-areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.service-property .pp-areas__grid {
grid-template-columns: repeat(2, 1fr);
}

/* Each service card — clickable link */
.pp-areas__service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-2);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  justify-content: flex-start;
}

.pp-areas__service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

.pp-areas__service-card:hover .pp-areas__card-rule {
  transform: scaleX(1);
  opacity: 1;
}

/* Card title — H3 Playfair SemiBold 32px, centred */
.pp-areas__card-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h3);
  font-weight: var(--fw-h3);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);
  color: var(--color-text, #1e153d);
  text-align: center;
  margin: 0;
}

/* Teal decorative rule — slides in on hover */
.pp-areas__card-rule {
  width: 160px;
  height: 2px;
  background: var(--service-accent);
  border-radius: 2px;
  transform: scaleX(0);
  opacity: 0;
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Card description — 14px Rubik Light, centred */
.pp-areas__card-desc {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body-s);
  font-weight: var(--fw-body-s);
  line-height: var(--lh-body-s);
  letter-spacing: var(--ls-body-s);
  color: var(--color-text, #1e153d);
  text-align: center;
  margin: 0;
}


/* ================================================================
   S3 — YOU + US (INTRO SPLIT)
   Left: two-tone heading, body, CTA.
   Right: horizontal feature cards (icon + title + body).
   ================================================================ */

.pp-intro {
  background: #fff;
  padding-top: var(--site-py-flush);
    padding-bottom: var(--site-py);
}

/* Two-column layout inside site-container horizontal padding */
.pp-intro__card {
  max-width: 1440px;
  margin: 0 auto;
  padding-left:  var(--site-px, 118px);
  padding-right: var(--site-px, 118px);
  display: flex;
  gap: 48px;
  align-items: center;
}

/* Left column */
.pp-intro__left {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Header: eyebrow + heading */
.pp-intro__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Eyebrow pill — uses service accent colour */
.pp-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--service-accent, #b3cb92);
  border-radius: 99px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-overhead);
  font-weight: var(--fw-overhead);
  line-height: var(--lh-overhead);
  letter-spacing: var(--ls-overhead);
  color: var(--color-primary, #071d49);
  text-transform: uppercase;
  align-self: flex-start;
}

/* Two-tone H2 — teal part + dark part */
.pp-intro__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h2, 44px);
  font-weight: var(--fw-h2, 600);
  line-height: var(--lh-h2, 1.10);
  letter-spacing: var(--ls-h2, 0.03em);
  color: var(--color-text, #1e153d);
  margin: 0;
}

/* Body copy — wysiwyg output */
.pp-intro__body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body, 18px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--color-text, #1e153d);
}

.pp-intro__body p { margin: 0 0 1em; }
.pp-intro__body p:last-child { margin-bottom: 0; }

/* CTA — navy pill button */
.pp-intro__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--color-primary, #071d49);
  border-radius: 999px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-action);
  font-weight: var(--fw-action);
  line-height: var(--lh-action);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  align-self: flex-start;
  transition: opacity 0.2s ease;
}

.pp-intro__cta:hover { opacity: 0.85; }
.pp-intro__cta svg   { flex-shrink: 0; }

/* Right column: stacked feature cards */
.pp-intro__right {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Feature card — horizontal: icon + text */
.pp-intro__feature {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 32px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.10);
}

/* 64×64 icon wrapper */
.pp-intro__icon-wrap {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--service-accent, #b3cb92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pp-intro__icon {
  width: 36px;
  height: 36px;
  display: block;
}

/* Text block: title + body */
.pp-intro__feat-text {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Feature heading — Playfair SemiBold 22px */
.pp-intro__feat-heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h4);
  font-weight: var(--fw-h4);
  line-height: var(--lh-h4);
  letter-spacing: var(--ls-h4);
  color: var(--color-text, #1e153d);
  margin: 0;
}

/* Feature body — Rubik Light */
.pp-intro__feat-body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body-s, 14px);
  font-weight: var(--fw-body-s, 300);
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--color-text, #1e153d);
  margin: 0;
}


/* ================================================================
   S4 — WHO WE ARE / ABOUT
   Full-bleed grey section. Photo left, content right.
   ================================================================ */

.pp-about {
  background: var(--color-stroke, #e8edf6);
}

/* Full-width flex row — no max-width constraint */
.pp-about__inner {
  display: flex;
  align-items: stretch;
  min-height: 480px;
  padding: var(--site-py) 0;
}

/* Photo column: left half, full height */
.pp-about__photo-col {
  flex: 0.5;
    min-width: 0;
    position: relative;
    border-radius: 0 32px 32px 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.pp-about__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content column: right half, left-padded */
.pp-about__content {
  flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    padding: 0 var(--site-px);
    max-width: 840px;
}

/* Header: eyebrow + heading */
.pp-about__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Eyebrow pill — uses service accent colour */
.pp-about__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--service-accent, #b3cb92);
  border-radius: 99px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-overhead);
  font-weight: var(--fw-overhead);
  line-height: var(--lh-overhead);
  letter-spacing: var(--ls-overhead);
  color: var(--color-primary, #071d49);
  text-transform: uppercase;
  align-self: flex-start;
}

/* H2 — Playfair, uses design tokens */
.pp-about__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h2, 44px);
  font-weight: var(--fw-h2, 600);
  line-height: var(--lh-h2, 1.10);
  letter-spacing: var(--ls-h2, 0.03em);
  color: var(--color-text, #1e153d);
  margin: 0;
}

/* Body — wysiwyg output */
.pp-about__body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body, 18px);
  font-weight: var(--fw-body, 300);
  line-height: var(--lh-body, 1.40);
  letter-spacing: var(--ls-body, 0.01em);
  color: var(--color-text, #1e153d);
}

.pp-about__body p { margin: 0 0 1em; }
.pp-about__body p:last-child { margin-bottom: 0; }

/* CTA — navy pill button */
.pp-about__cta, .pp-william__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--color-primary, #071d49);
  border-radius: 999px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-action);
  font-weight: var(--fw-action);
  line-height: var(--lh-action);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  align-self: flex-start;
  transition: opacity 0.2s ease;
  justify-content: center;
}

.pp-about__cta:hover, .pp-william__button:hover { opacity: 0.85; }
.pp-about__cta svg   { flex-shrink: 0; }


/* ================================================================
   S5 — WILLIAM MID-PAGE CTA
   Mirrors sc-william on service-child with pp- prefix.
   Content is left-aligned; photo bleeds in from the right.
   ================================================================ */

/* Vertical padding from site-section, horizontal from site-band */
.pp-william { padding-bottom: var(--site-py-flush); }

/* Centred rounded card — max 1280px */
.pp-william__card {
  position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: #fff;
    box-shadow: var(--shadow-2);
    padding: 120px 80px;
}

/* Background layer: photo + overlay */
.pp-william__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pp-william__bg-img {
  object-fit: cover;
  object-position: 20% 20%;
  width: 100%;
  height: 100%;
}

/* Show correct image per viewport */
.pp-william__bg-img.desktop-only  { display: block; }
.pp-william__bg-img.tab-mob-only  { display: none; }

/* Gradient: blue tint left, fades right revealing photo */
.pp-william__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(153, 193, 220, 0.70) 9%, rgba(153, 193, 220, 0) 99%), linear-gradient(90deg, rgba(255, 255, 255, 0.83) 12.5%, rgba(255, 255, 255, 0) 64%);
}

/* Content: sits above background, left-aligned */
.pp-william__content {
  position: relative;
    z-index: 1;
    max-width: 1204px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.pp-william__buttons {
    display: flex;
    gap: 8px;
}

.pp-william__text .gradient-outline-pill.dark-text {
    background: #ffffff8c;
}

/* Text block: heading + body + button, max-width constrained */
.pp-william__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 628px;
}

/* H2 — Playfair SemiBold 44px */
.pp-william__heading {
  font-family: var(--font-heading);
    font-size: var(--fs-h2, 44px);
    font-weight: var(--fw-h2, 600);
    line-height: var(--lh-h2, 1.10);
    letter-spacing: var(--ls-h2, 0.03em);
    color: var(--color-text, #1e153d);
    margin: 0;
}

/* Body — Rubik Light 14px */
.pp-william__body {
  font-family: var(--font-body);
    font-size: var(--fs-body, 14px);
    font-weight: var(--fw-body, 300);
    line-height: var(--lh-body, 1.40);
    letter-spacing: var(--ls-body, 0.01em);
    color: var(--color-text, #1e153d);
    margin: 0;
}


/* ================================================================
   S6 — GOOGLE REVIEWS
   Wrapper only — shortcode provides its own styles.
   ================================================================ */

.pp-reviews { padding-bottom: var(--site-py);
    padding-top: var(--site-py-flush); }

  .pp-reviews .display_v5b .main .reviewStars svg, .pp-reviews .display_v5b .left .top .stars svg {
   fill: var(--service-accent);
  }

/* ================================================================
   S7 — GET IN TOUCH CTA BANNER
   Identical to sc-cta / sp-cta, prefixed pp-cta.
   ================================================================ */

.pp-cta { background: var(--color-stroke, #e8edf6); }

/* Inner dark rounded card */
.pp-cta__card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.10);
}

/* Background layers */
.pp-cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Solid dark base */
.pp-cta__bg-dark {
  position: absolute;
  inset: 0;
  background: #060f20;
  opacity: 0.89;
}

/* Blurred teal → navy gradient overlay */
.pp-cta__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    129deg,
    var(--color-teal, #4fbebe) 24%,
    var(--color-primary, #071d49) 70%,
    var(--color-text, #1e153d) 94%
  );
  opacity: 0.35;
  filter: blur(37px);
}

/* Centred content stack */
.pp-cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
  width: 100%;
}

/* Teal eyebrow pill */
.pp-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--color-teal, #4fbebe);
  border-radius: 99px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-overhead, 16px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: var(--color-text, #1e153d);
  text-transform: uppercase;
}

/* Text group: heading + body */
.pp-cta__text-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  max-width: 808px;
}

/* White heading — Playfair SemiBold 40px */
.pp-cta__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
  color: #fff;
  margin: 0;
}

/* White body — Rubik Light 14px */
.pp-cta__body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body-s);
  font-weight: var(--fw-body-s);
  line-height: var(--lh-body-s);
  letter-spacing: var(--ls-body-s);
  color: #fff;
  margin: 0;
  max-width: 628px;
}

/* Action row: two buttons */
.pp-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* "Book An Appointment" light pill */
.pp-cta__btn-appt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--color-stroke, #e8edf6);
  border-radius: 999px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-action);
  font-weight: var(--fw-action);
  line-height: var(--lh-action);
  color: var(--color-text, #1e153d);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.pp-cta__btn-appt:hover { opacity: 0.8; }
.pp-cta__btn-appt svg  { flex-shrink: 0; }

/* "Ask William" — teal glowing border pill */
.pp-cta__btn-william {
  position: relative;
  width: 161px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.pp-cta__william-glow {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid var(--color-teal, #4fbebe);
  opacity: 0.3;
  box-shadow:
    -6px 0 15px var(--color-teal, #4fbebe),
     6px 0 15px #4d4eb9;
}

.pp-cta__william-border {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid var(--color-teal, #4fbebe);
}

/* Transparent inner so dark card shows through */
.pp-cta__william-inner {
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-action);
  font-weight: var(--fw-action);
  color: #fff;
  white-space: nowrap;
}

.pp-cta__william-icon {
  flex-shrink: 0;
  width: 18px;
  height: 16px;
}


/* ================================================================
   MEDIA QUERIES
   ================================================================ */


/* ── Laptop ≤ 1366px ─────────────────────────────────────────── */

@media (max-width: 1366px) {

  /* S2 Areas */

  /* S3 Intro */

  /* S4 About */

  .pp-about__photo-col{
    flex: 1;
}

  /* S5 William */
  .pp-william__card    { padding: var(--site-py) var(--site-px); }


  /* S7 CTA */
  .pp-cta__card    { padding: var(--site-py); }

}


/* ── Tablet ≤ 1024px ─────────────────────────────────────────── */

@media (max-width: 1024px) {

  /* S1 Hero */
  .pp-hero { padding-top: 0px; }
  .pp-hero__card { min-height: 380px; border-radius: 0;
        padding: var(--site-py) var(--site-px) 80px; }

  /* S2 Areas: flush edge-to-edge, inner card loses border-radius */
  .pp-areas { padding: 0;
        margin-top: -30px; }
  .pp-areas__card {
   border-radius: 32px 32px 0 0;
        padding: var(--site-py) var(--site-px);
  }
  .pp-areas__grid { grid-template-columns: repeat(2, 1fr); }


  /* S3 Intro: stack vertically */
  .pp-intro { padding-top: var(--site-py); }
  .pp-intro__card { flex-direction: column; }

  /* S4 About: stack vertically, photo on top */

  .pp-about{
    background: #fff;
  }

  .pp-about__inner {
    flex-direction: column;
    min-height: unset;
   padding: 0;
  }
  .pp-about__photo-col {
    min-height: 360px;
    border-radius: 0 50px 0 0;
    position: relative;
    flex: none;
    width: 100%;
  }
  .pp-about__photo {
    position: absolute;
    inset: 0;
  }
  .pp-about__content { padding: var(--site-py) var(--site-px);
        max-width: 100%; background: var(--color-stroke);}

  /* S5 William */
  .pp-william {
    padding: 0 0 var(--site-py-flush);
}

.pp-william__content, .pp-william__text{
  align-items: center;
}
  .pp-william__card {
    border-radius: 0;
    box-shadow: none;
  }

  .pp-william__heading { text-align: center;}

  /* S7 CTA */
  .pp-cta__card {
    border-radius: 0;
  }
  section.pp-cta.site-band.site-section {
    padding: 0;
}
}




/* ── Mobile ≤ 767px ──────────────────────────────────────────── */

@media (max-width: 767px) {

  /* S1 Hero */
  .pp-hero { padding-top: 0; }
  .pp-hero__card { min-height: 0; border-radius: 0; }


  /* S2 Areas */
  .pp-areas__grid { grid-template-columns: 1fr; }

  .pp-areas__service-card { min-height: unset; }

  /* Show teal rule on all mobile cards by default */
  .pp-areas__card-rule {
    transform: scaleX(1);
    opacity: 1;
  }

  /* S3 Intro */
 
  .pp-intro__card {
    padding-left:  var(--site-px, 20px);
    padding-right: var(--site-px, 20px);
  }

  .pp-intro__cta { align-self: stretch; justify-content: center; }
  .pp-intro__feature { padding: 24px; border-radius: 16px; gap: 12px; align-items: flex-start; }
  .pp-intro__icon-wrap { width: 30px; height: 30px; }
  .pp-intro__icon { width: 18px;
        height: 18px; }
  .pp-intro__feat-text { gap: 8px; }

  /* S4 About */
  .pp-about__photo-col { min-height: 280px; border-radius: 0 50px 0 0; }
  .pp-about__content {
    gap: 20px;
  }
  .pp-about__cta { align-self: stretch; justify-content: center; }

  /* S5 William */

  .pp-william__bg-img.desktop-only { display: none; }
  .pp-william__bg-img.tab-mob-only { display: block; }
  .pp-william__bg-overlay {
    background:
      linear-gradient(rgba(153, 193, 220, 0.26), rgba(153, 193, 220, 0.26)),
      linear-gradient(180.5deg, rgba(255, 255, 255, 0.83) 45%, rgba(255, 255, 255, 0) 117.5%);
  }
  .pp-william__buttons {
    flex-direction: column;
}

a.pp-william__button {
    align-self: stretch;
}
  .pp-william__text { max-width: none; align-items: center; text-align: center; }

  .pp-william__body { max-width: none; }
  .pp-cta__text-group { gap: 16px; }
  .pp-cta__actions {
    flex-direction: column;
    width: 70%;
    gap: 12px;
  }
  .pp-cta__btn-appt {
    width: 100%;
    justify-content: center;
  }
  .pp-cta__btn-william { width: 100%; }

  .pp-cta__actions .gradient-outline-pill.white-text {
    width: 100%;
}
  .pp-cta__actions button.ask-william-btn {
    width: 100%;
}
  .pp-cta__william-inner { justify-content: center; }
}

/* ── Small mobile ≤ 499px ────────────────────────────────────── */

@media (max-width: 499px) {
  .service-property .pp-areas__grid {
    grid-template-columns: 1fr;
  }
}
