@import url("reset.css");

@import url("https://fonts.googleapis.com/css?family=Inter:regular,500,600,700&display=swap");

/* ************COMMON************ */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

.logo {
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw + 0.65rem, 2.25rem);
}

body {
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 0.35vw + 0.92rem, 1.1rem);
  color: #303a4d;
  background-color: #F5F5F5;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Prevent oversized media from forcing horizontal scroll (Hostinger / mobile) */
img,
video,
canvas,
svg,
picture {
  max-width: 100%;
}

img,
video {
  height: auto;
}

[class*="__container"] {
  /* Width capped by .wrapper; flex/grid children use min-width:0 to avoid overflow */
  max-width: 100%;
  margin: 0 auto;
  padding: 0 min(0.938rem, 4vw);
  min-width: 0;
}

iframe {
  max-width: 100%;
}

/* ---------- Mobile-first: home & shared fluid layouts (no fixed px widths) ---------- */
.video-section__inner {
  width: 100%;
  max-width: 66.6667%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 min(1rem, 4vw);
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .video-section__inner {
    max-width: 100%;
  }
}

/* About page: nested video wrappers (fluid, no px widths) */
.video-section__outer {
  width: 100%;
  max-width: 91.6667%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 min(1rem, 4vw);
}

.video-section__embed {
  width: 100%;
  max-width: 66.6667%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  border-radius: min(1rem, 3vw);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  background: #000;
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .video-section__outer,
  .video-section__embed {
    max-width: 100%;
  }
}

.psychology-today-badge {
  width: 100%;
  max-width: 37.5%;
  height: auto;
  border-radius: min(0.5rem, 2vw);
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .psychology-today-badge {
    max-width: 100%;
  }
}

/* About page “Psychology Today + Schedule” row: markup uses .about-video-cta; rules at end of this file (cascade + cache). */

/* all-about-me: photo grid — fluid tiles, no fixed px heights */
.page__about .about__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.5rem 0;
}

.page__about .about__gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: min(0.5rem, 2vw);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page__about .about__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 2rem 0;
  }
}

@media (max-width: 30rem) {
  .page__about .about__gallery {
    gap: 0.5rem;
    margin: 1.5rem 0;
  }

  .page__about .about__gallery img {
    border-radius: min(0.375rem, 2vw);
  }
}

.page__practice .practice__content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: min(3rem, 5vw);
  width: 100%;
  padding-bottom: 1rem;
}

.page__practice .practice__text {
  flex: 1 1 min(100%, 50%);
  max-width: 50%;
  min-width: 0;
}

.page__practice .practice__image {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  flex: 1 1 min(100%, 41.6667%);
  max-width: 41.6667%;
  min-width: 0;
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page__practice .practice__text,
  .page__practice .practice__image {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

.cert-badge-img,
.qualifications__badge img,
.page__practice .practice__specialisation-badges img {
  max-width: min(42vmin, 50%);
  max-height: min(28vmin, 35vh);
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Home — “In a Nutshell”: laptop / MacBook — three equal columns so badges stay one row; images scale up to that width */
@media (min-width: 64.0625rem) and (max-width: 100rem) {
  .page.page--home .practice__specialisation-badges {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: stretch !important;
    align-items: stretch !important;
    gap: clamp(0.6rem, 1.25vw, 1.1rem) !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .page.page--home .practice__specialisation-badges > div {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: clamp(0.5rem, 1vw, 0.85rem) !important;
    box-sizing: border-box !important;
  }

  .page.page--home .practice__specialisation-badges .cert-badge-img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    /* As tall as we can while fitting three abreast; shrinks with viewport so the row never wraps */
    max-height: min(9rem, 24vw, 22vmin) !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}

.button {
  font-weight: 600;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #303a4d;
  background-color: #E0F7E0;
}

.button:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

/* Touch targets (iPhone friendly) */
.button,
.actions-header__button,
.menu__icon,
.icon-menu,
.menu__link,
.menu__submenu-link,
.item-pricing__button,
.footer__policy,
.footer__contact-item,
.connect-contact__item {
  min-height: 2.75em;
}

.title {
  font-size: clamp(1.65rem, 3.2vw + 0.85rem, 3.5rem);
  font-weight: 600;
  line-height: 1.12;
}

.wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100%;
  min-height: 100dvh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  flex: 1 1 auto;
}

/* Full-bleed: section & footer backgrounds span the viewport (wrapper stays 1200px for content) */
.wrapper main.page > section,
.wrapper main > section,
.wrapper > footer.footer {
  width: 100vw;
  max-width: none;
  position: relative;
  left: 50%;
  right: auto;
  margin-left: -50vw;
  margin-right: 0;
  box-sizing: border-box;
}

/* Mobile-first: main stacks sections; prevents horizontal scroll from flex children */
main.page,
main {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
}

.page {
  margin: 0;
  padding: 0;
  padding-top: 11.5rem;
  position: relative;
}

/* Home: tighter gap under fixed header (~6cm total isn’t possible without overlapping a ~10rem header—this is the strong safe reduction) */
.page.page--home {
  padding-top: 10.125rem;
}

.page.page--home .main-hero {
  padding-top: 2.5rem;
  padding-bottom: 60px;
}

/* Home: left-aligned section copy (overrides inline text-align: center on headings/intro where present) */
.page.page--home .video-section .video-section__inner h2.title,
.page.page--home .video-section .video-section__inner > p {
  text-align: left !important;
}

.page.page--home .practice__title.title {
  text-align: left !important;
}

.page.page--home .qualifications .qualifications__container {
  text-align: left;
}

.page.page--home .qualifications__title {
  text-align: left !important;
}

.page.page--home .qualifications__intro {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.page.page--home .outro_home .outro__container {
  align-items: flex-start;
  text-align: left;
}

.page.page--home .outro_home .outro__title,
.page.page--home .outro_home .outro__text {
  text-align: left;
  width: 100%;
}

@media (min-width: 48.0625rem) {
  .page.page--supervision {
    padding-top: 9.5rem;
  }
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--home {
    padding-top: 0;
  }

  .page.page--home .main-hero {
    padding: 7.5rem 20px 1.5rem 20px;
  }

  /* Home: “A Welcome from Deborah” — less air between heading, intro, and video */
  .page.page--home .video-section {
    padding-top: 1.25rem !important;
    padding-bottom: 2rem !important;
  }

  .page.page--home .video-section h2.title {
    margin-bottom: 0.5rem !important;
  }

  .page.page--home .video-section > div > p {
    margin-bottom: 0.875rem !important;
  }

  /* Home “In a Nutshell”: less space under heading (inline 40px is large on mobile) */
  .page.page--home .practice__title {
    order: 0 !important;
    margin-bottom: 0.75rem !important;
  }

  /* Home “In a Nutshell”: desktop inline margins use cm/large calcs — compress on mobile */
  .page.page--home .practice {
    padding: 2rem 1rem !important;
  }

  /* Flatten so title + top photo + copy + badges + other photos share one column flex */
  .page.page--home .practice__container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1.25rem !important;
    padding-bottom: 0.5rem !important;
  }

  .page.page--home .practice__content {
    display: contents !important;
  }

  .page.page--home .practice__text h3 {
    margin-top: 1rem !important;
    margin-bottom: 0.65rem !important;
  }

  .page.page--home .practice__text h3:first-child {
    margin-top: 0 !important;
  }

  .page.page--home .practice__text ul {
    margin-bottom: 1rem !important;
  }

  .page.page--home .practice__text ul ul {
    margin-top: 0.35rem !important;
    margin-bottom: 0 !important;
  }

  .page.page--home .practice__text li {
    margin-bottom: 0.45rem !important;
  }

  .page.page--home .practice__text ul ul li {
    margin-bottom: 0.3rem !important;
  }

  .page.page--home .practice__text p {
    margin-bottom: 0.75rem !important;
  }

  .page.page--home .practice__button {
    margin-top: 0.875rem !important;
  }

  /* In a Nutshell: title → top photo → copy → badges row → other photos */
  .page.page--home .practice__image {
    display: contents !important;
  }

  .page.page--home .practice__image > img:nth-of-type(1) {
    order: 1 !important;
    margin-top: 0 !important;
    width: 100%;
  }

  .page.page--home .practice__text {
    order: 2 !important;
    width: 100%;
  }

  .page.page--home .practice__specialisation-badges {
    order: 3 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: clamp(0.35rem, 2vw, 0.75rem) !important;
    margin-top: 0 !important;
    width: 100% !important;
  }

  .page.page--home .practice__specialisation-badges > div {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.5rem 0.35rem !important;
  }

  .page.page--home .practice__specialisation-badges .cert-badge-img {
    max-width: min(100%, 5.25rem) !important;
    max-height: 3.75rem !important;
  }

  .page.page--home .practice__image > img:nth-of-type(2) {
    order: 4 !important;
    margin-top: 1.25rem !important;
  }

  .page.page--home .practice__image > img:nth-of-type(3) {
    order: 5 !important;
    margin-top: 1.25rem !important;
  }
}

@media (max-width: 30rem) {
  .page.page--home {
    padding-top: 0;
  }

  .page.page--home .main-hero {
    padding-top: 6.5rem;
    padding-bottom: 1.25rem;
  }

  .page.page--home .video-section {
    padding-top: 1rem !important;
    padding-bottom: 1.75rem !important;
  }

  .page.page--home .video-section h2.title {
    margin-bottom: 0.4rem !important;
  }

  .page.page--home .video-section > div > p {
    margin-bottom: 0.75rem !important;
  }

  .page.page--home .practice__title {
    margin-bottom: 0.5rem !important;
  }

  .page.page--home .practice {
    padding: 1.5rem 0.75rem !important;
  }

  .page.page--home .practice__container {
    gap: 0.75rem !important;
  }

  .page.page--home .practice__text h3 {
    margin-top: 0.875rem !important;
    margin-bottom: 0.5rem !important;
  }

  .page.page--home .practice__text ul {
    margin-bottom: 0.65rem !important;
  }

  .page.page--home .practice__text li {
    margin-bottom: 0.3rem !important;
  }

  .page.page--home .practice__text p {
    margin-bottom: 0.5rem !important;
  }

  .page.page--home .practice__button {
    margin-top: 0.55rem !important;
  }

  .page.page--home .practice__specialisation-badges {
    margin-top: 0.75rem !important;
    gap: 0.35rem !important;
  }

  .page.page--home .practice__specialisation-badges > div {
    padding: 0.45rem 0.3rem !important;
  }

  .page.page--home .practice__specialisation-badges .cert-badge-img {
    max-width: min(100%, 4.75rem) !important;
    max-height: 3.5rem !important;
  }

  .page.page--home .practice__image > img:nth-of-type(1) {
    margin-top: 0 !important;
  }

  .page.page--home .practice__image > img:nth-of-type(2),
  .page.page--home .practice__image > img:nth-of-type(3) {
    margin-top: 1rem !important;
  }
}

/* Services page: mobile — trim gap under fixed header + tighten first (cards) section */
@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  /* No top padding on main (avoids body-colour strip); clearance lives on green section */
  .page.page--services {
    padding-top: 0;
  }

  .page.page--services > section.page__services.services:first-of-type {
    padding-top: 7.25rem;
  }

  .page.page--services .services__container {
    padding-top: 0.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .page.page--services .services__title {
    margin-bottom: 0.6rem !important;
  }

  .page.page--services .services__subtitle {
    margin-bottom: 0.35rem !important;
    line-height: 1.3;
  }

  .page.page--services .services__row--four .item-services {
    padding: 1.35rem;
  }

  .page.page--services .services__row--four .item-services__image {
    margin-bottom: 1rem;
  }

  .page.page--services .services__row--four .item-services__text {
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 30rem) {
  .page.page--services {
    padding-top: 0;
  }

  .page.page--services > section.page__services.services:first-of-type {
    padding-top: 6.25rem;
  }

  .page.page--services .services__container {
    padding-top: 0.4rem !important;
    padding-bottom: 2rem !important;
  }

  .page.page--services .services__title {
    margin-bottom: 0.5rem !important;
  }

  .page.page--services .services__subtitle {
    margin-bottom: 0.3rem !important;
  }

  .page.page--services .services__row--four .item-services {
    padding: 1.15rem;
  }

  .page.page--services .services__row--four .item-services__image {
    margin-bottom: 0.85rem;
  }

  .page.page--services .services__row--four .item-services__text {
    margin-bottom: 1rem;
  }
}

/* Services page: narrow viewports — left-aligned body copy (overrides global .item-services center) */
@media (max-width: 62rem) {
  .page.page--services .item-services {
    text-align: left;
    align-items: stretch;
  }

  .page.page--services .services__row--four .item-services__letter-links {
    text-align: left;
  }

  .page.page--services .services__row--four .item-services__text {
    max-width: none;
  }

  .page.page--services .services__row--four .item-services__actions {
    align-items: flex-start;
  }
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--services .services__title,
  .page.page--services .services__subtitle {
    text-align: left;
    text-wrap: balance;
  }

  .page.page--services .services__title.title {
    font-size: clamp(1.2rem, 4.2vw + 0.55rem, 1.65rem);
    line-height: 1.28;
  }

  .page.page--services .services__subtitle {
    font-size: clamp(1rem, 2.4vw + 0.45rem, 1.2rem);
    line-height: 1.38;
    font-weight: 500;
  }

  .page.page--services .services-page__column {
    text-align: left;
    align-items: stretch;
  }

  .page.page--services .services-page__item#child-youth .services-page__column {
    align-items: stretch;
  }

  .page.page--services .services-page__title {
    text-align: left;
  }

  .page.page--services .services-page__button {
    text-align: left;
  }

  .page.page--services .outro_home .outro__container > div:first-of-type {
    text-align: left !important;
  }
}

@media (max-width: 30rem) {
  .page.page--services .services__container {
    padding-left: clamp(1rem, 4vw, 1.35rem) !important;
    padding-right: clamp(1rem, 4vw, 1.35rem) !important;
    padding-top: 0.5rem !important;
  }

  /* Hero: clearer hierarchy + even line breaks (iPhone) */
  .page.page--services .services__title.title {
    font-size: clamp(1.12rem, 3.5vw + 0.48rem, 1.48rem);
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 0.55rem !important;
  }

  .page.page--services .services__subtitle {
    font-size: clamp(0.98rem, 2.35vw + 0.42rem, 1.14rem);
    line-height: 1.42;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-bottom: 1.05rem !important;
    color: rgba(48, 58, 77, 0.92);
  }

  .page.page--services .services__row--four {
    margin-top: 0.2rem;
  }
}

/* Supervision page: mobile — no body-colour strip under header; clearance on green hero */
@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--supervision {
    padding-top: 0;
  }

  .page.page--supervision > section.supervision-hero:first-of-type {
    padding: calc(7.625rem + env(safe-area-inset-top, 0px)) 1.25rem 1.75rem 1.25rem !important;
  }

  .page.page--supervision .supervision-hero__content {
    gap: 1.15rem;
  }

  .page.page--supervision .supervision-hero__image {
    margin-top: 0 !important;
  }
}

@media (max-width: 30rem) {
  .page.page--supervision {
    padding-top: 0;
  }

  .page.page--supervision > section.supervision-hero:first-of-type {
    padding: calc(7.375rem + env(safe-area-inset-top, 0px)) 1rem 1.5rem 1rem !important;
  }

  .page.page--supervision .supervision-hero__content {
    gap: 1rem;
  }

  .page.page--supervision .supervision-hero__image {
    margin-top: 0 !important;
  }
}

/* All About Your Practitioner: mobile — header clearance (hero layout follows generic .about-hero + overrides below) */
@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--all-about {
    padding-top: 0;
  }

  .page.page--all-about > section.about-hero:first-of-type {
    padding: calc(8.75rem + env(safe-area-inset-top, 0px)) 1.25rem 1.5rem 1.25rem !important;
  }
}

@media (max-width: 30rem) {
  .page.page--all-about {
    padding-top: 0;
  }

  .page.page--all-about > section.about-hero:first-of-type {
    padding: calc(8.5rem + env(safe-area-inset-top, 0px)) 1rem 1.25rem 1rem !important;
  }
}

/* Pricing: mobile — header gap; therapy photos in a row below copy (no overlap) */
@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--pricing {
    padding-top: 0;
  }

  .page.page--pricing > section.pricing-hero:first-of-type {
    padding: calc(8.75rem + env(safe-area-inset-top, 0px)) 1.25rem 2.25rem 1.25rem !important;
  }

  .page.page--pricing .pricing-hero__title {
    margin-top: 0 !important;
  }

  .page.page--pricing .pricing-hero__container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    column-gap: 0.5rem;
    row-gap: 0.75rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .page.page--pricing .pricing-hero__content {
    order: 1;
    flex: 1 1 100%;
    width: 100%;
    gap: 1.5rem;
  }

  .page.page--pricing .pricing-hero__container > .pricing-decor-wrap {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: min(31%, 7.25rem) !important;
    max-width: 7.1875em;
    flex: 0 1 auto;
    z-index: 1;
    order: 2;
    margin: 0;
    pointer-events: none;
  }

  .page.page--pricing .pricing-decor {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    transform: none !important;
    opacity: 1 !important;
    z-index: 1;
  }

  .page.page--pricing .pricing-decor-wrap .pricing-decor-caption {
    font-size: 0.68rem;
    white-space: normal;
    text-align: center;
    max-width: 100%;
    line-height: 1.25;
    margin-top: 0.35rem;
    padding: 0.25rem 0.35rem;
  }

  .page.page--pricing .pricing-hero__title,
  .page.page--pricing .pricing-hero__description,
  .page.page--pricing .pricing-hero__image {
    position: relative;
    z-index: 2;
  }
}

/* iPad (portrait) sizing: make the 3 decor images larger + better spaced */
@media (max-width: 48rem) and (min-width: 37.5rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--pricing .pricing-hero__container {
    column-gap: 1.25rem;
    row-gap: 1rem;
  }

  .page.page--pricing .pricing-hero__container > .pricing-decor-wrap {
    /* lift the iPhone cap so the 3 images don't look tiny on iPad */
    width: min(31%, 10rem) !important;
    max-width: 10.5rem !important;
  }

  .page.page--pricing .pricing-decor-wrap .pricing-decor-caption {
    font-size: 0.75rem;
    margin-top: 0.45rem;
  }
}

@media (max-width: 30rem) {
  .page.page--pricing {
    padding-top: 0;
  }

  .page.page--pricing > section.pricing-hero:first-of-type {
    padding: calc(8.5rem + env(safe-area-inset-top, 0px)) 1rem 2rem 1rem !important;
  }

  .page.page--pricing .pricing-hero__title {
    margin-top: 0 !important;
  }

  .page.page--pricing .pricing-hero__container > .pricing-decor-wrap {
    width: min(30%, 5.5rem) !important;
    max-width: 5.625em;
    margin-top: 0.9rem !important;
  }

  .page.page--pricing .pricing-decor-wrap .pricing-decor-caption {
    font-size: 0.62rem;
    padding: 0.2rem 0.3rem;
  }
}

/* FAQ page: mobile — no strip under header; sane top padding (was 18rem / 16rem) */
@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--faq {
    padding-top: 0;
  }

  .page.page--faq > section.faq-hero:first-of-type {
    padding: 7.25rem 1.25rem 2.5rem 1.25rem !important;
  }

  .page.page--faq .faq-hero__content {
    gap: 1.25rem;
  }

  .page.page--faq .faq-hero__title {
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 30rem) {
  .page.page--faq {
    padding-top: 0;
  }

  .page.page--faq > section.faq-hero:first-of-type {
    padding: 6.25rem 1rem 2.25rem 1rem !important;
  }

  .page.page--faq .faq-hero__content {
    gap: 1rem;
  }

  .page.page--faq .faq-hero__title {
    margin-bottom: 0.85rem !important;
  }
}

/* Contact page: mobile — green hero meets header (no body-colour strip) */
@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--contact {
    padding-top: 0;
  }

  .page.page--contact > section.contact-hero:first-of-type {
    padding: 7.25rem 1.25rem 2.5rem 1.25rem !important;
  }
}

@media (max-width: 30rem) {
  .page.page--contact {
    padding-top: 0;
  }

  .page.page--contact > section.contact-hero:first-of-type {
    padding: 6.25rem 1rem 2.25rem 1rem !important;
  }
}

/* iPhone landscape: viewport width is often > 48rem, so `main` keeps default padding-top and a strip appears under the fixed header before the hero. */
@media (orientation: landscape) and (max-height: 32rem) and (max-width: 64rem) {
  .page.page--supervision,
  .page.page--all-about,
  .page.page--pricing,
  .page.page--faq,
  .page.page--contact {
    padding-top: 0 !important;
  }

  /* Desktop header is min-height 8rem when width > 48rem — top + safe area (supervision: slightly tighter) */
  .page.page--supervision > section.supervision-hero:first-of-type {
    padding: calc(9.5rem + env(safe-area-inset-top, 0px)) 1.25rem 1.5rem 1.25rem !important;
  }

  .page.page--all-about > section.about-hero:first-of-type {
    padding: calc(10.75rem + env(safe-area-inset-top, 0px)) 1.25rem 1.35rem 1.25rem !important;
  }

  .page.page--pricing > section.pricing-hero:first-of-type {
    padding: calc(10.75rem + env(safe-area-inset-top, 0px)) 1.25rem 2rem 1.25rem !important;
  }

  .page.page--pricing .pricing-hero__title {
    margin-top: 0 !important;
  }

  .page.page--faq > section.faq-hero:first-of-type {
    padding: calc(10.75rem + env(safe-area-inset-top, 0px)) 1.25rem 2rem 1.25rem !important;
  }

  .page.page--contact > section.contact-hero:first-of-type {
    padding: calc(10.75rem + env(safe-area-inset-top, 0px)) 1.25rem 2rem 1.25rem !important;
  }
}

/* iPad 11" portrait (and similar): width > 48rem so mobile hero rules don't apply; default main padding-top shows a lavender strip under the fixed header */
@media (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--all-about,
  .page.page--supervision,
  .page.page--pricing,
  .page.page--faq,
  .page.page--contact {
    padding-top: 0 !important;
  }

  /* Letter pages (plain main): titles sat too high; privacy uses hero padding only (no double main offset) */
  main.page:not([class*="page--"]):has(> section.letter-page:first-child) {
    padding-top: calc(16.25rem + env(safe-area-inset-top, 0px)) !important;
  }

  main.page:not([class*="page--"]):has(> .privacy-policy-hero:first-child),
  main.page:not([class*="page--"]):has(> section.page__main.privacy-policy-hero:first-child) {
    padding-top: 0 !important;
  }

  .page.page--supervision > section.supervision-hero:first-of-type {
    padding: calc(17.25rem + env(safe-area-inset-top, 0px)) 1.5rem 1.75rem 1.5rem !important;
  }

  .page.page--all-about > section.about-hero:first-of-type {
    padding: calc(17.25rem + env(safe-area-inset-top, 0px)) 1.5rem 1.5rem 1.5rem !important;
  }

  .page.page--pricing > section.pricing-hero:first-of-type {
    padding: calc(17.25rem + env(safe-area-inset-top, 0px)) 1.5rem 2.25rem 1.5rem !important;
  }

  .page.page--pricing .pricing-hero__title {
    margin-top: 0 !important;
  }

  .page.page--faq > section.faq-hero:first-of-type {
    padding: calc(17.25rem + env(safe-area-inset-top, 0px)) 1.5rem 2.5rem 1.5rem !important;
  }

  .page.page--contact > section.contact-hero:first-of-type {
    padding: calc(17.25rem + env(safe-area-inset-top, 0px)) 1.5rem 2.5rem 1.5rem !important;
  }

  /* Plain `main.page` (e.g. privacy policy): hero sat under fixed header with only mobile padding */
  main.page:not([class*="page--"]) section.privacy-policy-hero:first-of-type {
    padding: calc(17.25rem + env(safe-area-inset-top, 0px)) 1.5rem 2.75rem 1.5rem !important;
  }

  /* Hero H1s: same optical weight (home used clamp ~2.8rem; others 3.5rem; all-about --one-line 2.75rem) */
  .page.page--home .main-hero__title,
  .page.page--all-about .about-hero__title,
  .supervision-hero__title,
  .privacy-policy-hero__title,
  .page.page--pricing .pricing-hero__title,
  .faq-hero__title,
  .page.page--contact .contact-hero__title {
    font-size: clamp(2.5rem, 1.85vw + 1.65rem, 3rem);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.02em;
    /* Extra optical clearance below the fixed header (ascenders / multi-line titles) */
    padding-top: 1rem;
  }

  /* Home hero: portrait tablet — title → photo → body (flatten text wrapper so image can sit under H1) */
  .page.page--home {
    padding-top: 15.25rem;
  }

  .page.page--home .main-hero {
    padding-top: clamp(1.5rem, 3vw, 2rem);
    padding-bottom: clamp(0.65rem, 1.75vw, 1rem);
    padding-left: clamp(1.25rem, 4vw, 2rem);
    padding-right: clamp(1.25rem, 4vw, 2rem);
  }

  .page.page--home .main-hero__container {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: clamp(0.5rem, 2vw, 0.75rem);
    padding-right: clamp(0.5rem, 2vw, 0.75rem);
    box-sizing: border-box;
  }

  .page.page--home .main-hero__content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(1.15rem, 2.75vw, 1.5rem);
    min-height: 0;
    padding-bottom: 0;
  }

  .page.page--home .main-hero__text {
    display: contents;
  }

  .page.page--home .main-hero__title {
    order: 0;
    width: 100%;
    max-width: min(42rem, 100%);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(0.65rem, 1.5vw, 0.9rem);
    text-align: left;
    text-wrap: balance;
    line-height: 1.14;
    letter-spacing: -0.03em;
  }

  .page.page--home .main-hero__description {
    order: 2;
    width: 100%;
    max-width: min(42rem, 100%) !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    font-size: clamp(1.08rem, 1.1vw + 0.95rem, 1.22rem);
    line-height: 1.68;
    text-align: left;
  }

  .page.page--home .main-hero__description p {
    max-width: 62ch;
  }

  .page.page--home .main-hero__description > p:first-of-type {
    margin-top: 0;
    margin-bottom: clamp(0.95rem, 2.25vw, 1.2rem);
  }

  .page.page--home .main-hero__description > p:nth-of-type(2) {
    margin-top: 0;
    margin-bottom: clamp(0.95rem, 2.25vw, 1.2rem);
    padding-top: 0;
    border-top: none;
  }

  .page.page--home .main-hero__description .main-hero__contact {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    max-width: none;
  }

  .page.page--home .main-hero__description .main-hero__contact .main-hero__phone-link {
    font-size: clamp(1.05rem, 1vw + 0.95rem, 1.15rem);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }

  .page.page--home .main-hero__address {
    order: 3;
    width: 100%;
    max-width: min(42rem, 62ch);
    margin-left: auto;
    margin-right: auto;
    margin-top: clamp(0.85rem, 2.25vw, 1.15rem) !important;
    padding-top: clamp(0.75rem, 1.75vw, 1rem);
    border-top: 1px solid rgba(48, 58, 77, 0.12);
  }

  .page.page--home .main-hero__address a {
    font-size: clamp(1rem, 0.9vw + 0.88rem, 1.12rem) !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 0.12em;
    color: #303a4d !important;
  }

  .page.page--home .main-hero__image {
    order: 1;
    float: none;
    width: 100%;
    max-width: min(32rem, 100%);
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    display: block;
    flex: none;
    min-width: 0;
    line-height: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #e0f7e0;
    aspect-ratio: 3 / 4;
    max-height: min(72vh, 34rem);
    box-shadow:
      0 4px 6px rgba(48, 58, 77, 0.06),
      0 12px 28px rgba(48, 58, 77, 0.09);
  }

  .page.page--home .main-hero__image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
    object-fit: cover;
    object-position: center 22%;
  }

  .page.page--home .video-section__inner {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 3vw, 1.75rem);
    padding-right: clamp(1rem, 3vw, 1.75rem);
  }

  /* “A Welcome from Deborah”: video sits just under the heading (tighter than inline margins) */
  .page.page--home .video-section {
    padding-top: clamp(1.25rem, 3vw, 2rem) !important;
    padding-bottom: clamp(1.75rem, 4vw, 2.5rem) !important;
  }

  .page.page--home .video-section h2.title {
    margin-bottom: 0.5rem !important;
  }

  .page.page--home .video-section .video-section__inner > p {
    margin-bottom: 0.65rem !important;
  }

  .page.page--home .video-section .video-wrapper {
    margin-top: 0.25rem;
  }

  /* “In a Nutshell”: same stacking as phone — title → top photo → copy (not photo after all copy) */
  .page.page--home .practice__container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(0.65rem, 1.5vw, 1rem);
  }

  .page.page--home .practice__title {
    order: 0;
    margin-bottom: 0.35rem !important;
  }

  .page.page--home .practice__content {
    display: contents;
  }

  .page.page--home .practice__image {
    display: contents;
  }

  .page.page--home .practice__image > img:nth-of-type(1) {
    order: 1;
    margin-top: 0 !important;
    width: 100%;
  }

  .page.page--home .practice__text {
    order: 2;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .page.page--home .practice__text ul {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .page.page--home .practice__text .practice__button {
    margin-left: 0;
    display: inline-block;
  }

  .page.page--home .practice__specialisation-badges {
    order: 3;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: min(40rem, 100%);
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    gap: clamp(0.35rem, 1.5vw, 0.65rem);
  }

  .page.page--home .practice__specialisation-badges > div {
    flex: 1 1 0;
    min-width: 0;
    max-width: 32%;
    padding: 0.4rem 0.45rem !important;
    box-sizing: border-box;
  }

  .page.page--home .practice__specialisation-badges .cert-badge-img {
    max-width: 100% !important;
    max-height: clamp(2rem, 5.5vw, 2.75rem) !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
  }

  .page.page--home .practice__image > img:nth-of-type(2) {
    order: 4;
    margin-top: clamp(1rem, 2.5vw, 1.5rem) !important;
  }

  .page.page--home .practice__image > img:nth-of-type(3) {
    order: 5;
    margin-top: clamp(1rem, 2.5vw, 1.5rem) !important;
  }
}







/* iPhone (480px): templates that only use `class="page"` had too much offset */
@media (max-width: 30rem) {
  main.page:not([class*="page--"]),
  main.page.page--about {
    padding-top: 7.25rem;
  }
}

/* ************HEADER************ */

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 50;
  background-color: #E6E6FA;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem min(1.5rem, 4vw);
  min-height: 8rem;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
  flex-wrap: nowrap;
  gap: min(2rem, 3vw);
}

.header__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.header__logo {
  font-size: clamp(1.05rem, 2.2vw + 0.55rem, 1.8rem);
  font-weight: 700;
  color: #303A4D;
  text-decoration: none;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.header__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.actions-header__contact {
  color: #303A4D;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.actions-header__contact:last-child {
  margin-bottom: 0.5rem;
}

.actions-header__contact:hover {
  opacity: 0.8;
}

.header__navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
  margin-left: auto;
  padding-top: 1rem;
}

.menu__body {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

.menu__list {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.menu__item {
  position: relative;
}

.menu__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #E6E6FA;
  min-width: min(12.5rem, 100vw - 2rem);
  padding: 0.5rem 0;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.menu__item:hover .menu__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu__submenu-item {
  padding: 0.5rem 1rem;
}

.menu__submenu-link {
  color: #303A4D;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
}

.menu__submenu-link:hover {
  opacity: 0.8;
}

.menu__link {
  font-weight: 600;
  position: relative;
  color: #303A4D;
  transition: opacity 0.3s ease;
}

.menu__link:hover {
  opacity: 0.8;
}

.actions-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.actions-header__button {
  margin-top: 0;
  font-weight: 600;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #fff;
  background-color: #303a4d;
  letter-spacing: 0.02em;
  font-size: 1rem;
  line-height: 110%;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.actions-header__button:hover {
  background-color: #ffffff;
  color: #303a4d;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.25);
}

.icon-menu {
  display: none;
}

/* ****************PAGES**************** */
.page__main {
  padding-bottom: 0;
}

/* *****************HOME**************** */

.main-hero {
  background: #E0F7E0;
  padding: 3rem 0 60px 0;
  min-height: auto;
}

.main-hero__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 min(1rem, 4vw);
}

.main-hero__content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  column-gap: 3rem;
  row-gap: 1.5rem;
  min-height: auto;
  padding-top: 0;
  padding-bottom: 1rem;
}

/* Image is first in DOM for float/wrap on tablet; reverse row so copy stays left, photo right on wide screens */
.page.page--home .main-hero__content {
  flex-direction: row-reverse;
}

.main-hero__text {
  flex: 1;
  max-width: 50%;
  margin-top: 0;
  min-width: 0;
}

.main-hero__title {
  font-size: clamp(1.75rem, 4vw + 0.75rem, 3.5rem);
  line-height: 1.15;
  color: #303A4D;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.main-hero__description {
  font-size: clamp(1rem, 1.1vw + 0.85rem, 1.25rem);
  line-height: 1.6;
  color: #303A4D;
  max-width: 65rem;
  margin-bottom: 2rem;
}

.main-hero__description p:not(:last-child) {
  margin-bottom: 2.5rem;
}

.main-hero__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  padding: 0.8rem 2rem;
}

.main-hero__button svg {
  width: 1.25em;
  height: 1.25em;
}

.main-hero__contact {
  margin-top: 0;
  margin-bottom: 2rem;
}

.main-hero__phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-size: inherit;
  font-weight: 600;
  color: #303A4D;
  text-decoration: underline;
  background: none;
  padding: 0;
  border-radius: 0;
}

.main-hero__phone-link:hover {
  opacity: 0.85;
}

.main-hero__phone-link svg {
  flex-shrink: 0;
  vertical-align: middle;
}

.main-hero__image {
  flex: 1;
  max-width: 41.66667%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 0;
  min-width: 0;
}

.main-hero__image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .main-hero {
    padding: 2rem 20px 4rem 20px;
    min-height: auto;
  }

  .main-hero__content {
    flex-direction: column;
    align-items: stretch;
    row-gap: 1.25rem;
    column-gap: 0;
    text-align: left;
    min-height: auto;
  }

  .page.page--home .main-hero__content {
    flex-direction: column;
  }

  /* Title → image → body (iPhone / narrow): flatten text wrapper so image can sit under title */
  .main-hero__text {
    display: contents;
  }

  .main-hero__title {
    order: 0;
    margin-bottom: 0.75rem;
  }

  .main-hero__description {
    order: 2;
    font-size: 1rem;
    line-height: 1.6;
  }

  .main-hero__address {
    order: 3;
  }

  .main-hero__image {
    order: 1;
    max-width: 100%;
    flex: none;
    margin-top: 0 !important;
    justify-content: center;
    width: 100%;
  }

  .main-hero__image img {
    max-height: min(62vmin, 74vh);
    object-fit: cover;
    width: 100%;
  }

  .main-hero__button {
    margin: 0;
    align-self: flex-start;
  }
}

@media (max-width: 30rem) {
  .main-hero {
    padding: 2rem 15px 3rem 15px;
  }

  .main-hero__content {
    row-gap: 1rem;
  }

  .main-hero__title {
    margin-bottom: 0.65rem;
  }

  .main-hero__description {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .main-hero__image img {
    max-height: min(56vmin, 66vh);
  }
  
  .main-hero__button {
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
  }
  
  .main-hero__button svg {
    width: 1.125em;
    height: 1.125em;
  }
}

@media (max-width: 37.499rem) {
  .page.page--home .main-hero__image {
    max-width: 100%;
  }

  .page.page--home .main-hero__image img {
    max-height: none;
    object-fit: contain;
  }
}

.main {
  position: relative;
  background: url("../images/Home/Deb_hero.webp") center -130% / cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  margin-top: 0;
  padding-top: 8rem;
  background-color: #f8f9fa;
}.main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.main__container {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  margin: 0;
  padding: 0 0.9375rem;
  padding-top: 25rem;
  padding-bottom: 3.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.main__caption {
  font-size: 1.5rem;
  line-height: 1.4;
  color: #FFFFFF;
  font-weight: 600;
  margin-bottom: 1rem;
  text-shadow: none;
}

.main__title {
  font-size: 2.5rem;
  line-height: 1.2;
  color: #FFFFFF;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-shadow: none;
}

.main__text {
  max-width: 65rem;
  margin-bottom: 2.5rem;
  font-size: 1.25rem;
  line-height: 1.5;
  color: #F5F5F5;
  font-weight: 600;
  padding: 0 1rem;
  text-shadow: none;
}

.main__text p {
  margin-bottom: 1.5rem;
}

.main__text p:last-child {
  margin-bottom: 0;
}

.main__button {
  margin-top: 0.5rem;
  font-weight: 600;
  display: inline-block;
  padding: 1.25rem 3rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #fff;
  background-color: #303a4d;
  letter-spacing: 0.02em;
  font-size: 1.375rem;
  line-height: 110%;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.main__button:hover {
  background-color: #ffffff;
  color: #303a4d;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.25);
}

.outro_home {
  position: relative;
  background: url("../images/Home/Deb_Brand_Photos-22_result.webp") 15% 25% / cover no-repeat;
  min-height: 31.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.outro_home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.outro_home .outro__container {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  margin: 0;
  padding: 0 1rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Quotes always finish visible (replaces scroll-only JS that left opacity at 0) */
.outro #outroContent {
  opacity: 1;
  animation: outroQuoteFade 1.1s ease-out forwards;
}

@keyframes outroQuoteFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .outro #outroContent {
    animation: none;
    opacity: 1;
  }
}

.outro_home .outro__title,
.outro_home .outro__text {
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  width: 100%;
}

.outro_home .outro__button {
  margin-left: 0;
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .outro_home {
    background-position: center 24%;
    /* Inline min-height:100vh on section makes the bg photo feel huge; cap height on tablets/phones */
    min-height: min(82vh, 40rem) !important;
    padding: 4rem 20px 4rem 20px !important;
  }
  
  .outro__container {
    padding: 0 20px !important;
    padding-top: 4rem !important;
  }
  
  .outro__title {
    font-size: 2rem !important;
    margin-bottom: 3rem !important;
    text-align: left !important;
    padding-left: 1rem !important;
  }
  
  .outro__container > div {
    padding: 30px 15px !important;
    margin-top: 3rem !important;
  }
  
  .outro__container p {
    font-size: 1.1rem !important;
    line-height: 1.5 !important;
  }
  
  .outro__container cite {
    font-size: 1rem !important;
  }
  
  .outro__button {
    font-size: 1rem !important;
    padding: 0.8rem 1.5rem !important;
    margin-top: 2rem !important;
  }

  .outro_home .outro__container {
    max-width: 100%;
    padding: 0 2rem;
  }

  .outro_home .outro__title {
    font-size: 2rem;
  }

  .outro_home .outro__text {
    font-size: 1rem;
  }
}

@media (max-width: 30rem) {
  .outro_home {
    /* Shorter section + slightly higher focal point = photo reads less oversized on iPhone */
    background-position: center 20%;
    background-size: cover;
    min-height: min(70vh, 26rem) !important;
    padding: 2.5rem 15px 2.75rem 15px !important;
  }
  
  .outro__container {
    padding: 0 15px !important;
    padding-top: 3rem !important;
  }
  
  .outro__title {
    font-size: 1.8rem !important;
    margin-bottom: 1rem !important;
  }
  
  .outro__container > div {
    padding: 25px 12px !important;
  }
  
  .outro__container p {
    font-size: 1rem !important;
  }
  
  .outro__container cite {
    font-size: 0.9rem !important;
  }
  
  .outro__button {
    font-size: 0.9rem !important;
    padding: 0.7rem 1.2rem !important;
  }

  .outro_home .outro__container {
    padding: 0 1rem;
  }

  .outro_home .outro__title {
    font-size: 1.75rem;
  }
}

/* iPad 11" and similar: portrait width is >48rem so phone rules don't apply, but inline 100vh still makes the outro huge */
@media (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .outro_home {
    min-height: min(70vh, 32rem) !important;
    padding: 3.5rem 2rem !important;
    background-position: center 26% !important;
  }
}

/* ************ABOUT HERO**************** */

.about-hero {
  background: #E0F7E0;
  padding: 3rem 0 30px 0;
  min-height: auto;
}

.about-hero__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-hero__content {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  min-height: auto;
  padding-top: 0;
  padding-bottom: 1rem;
}

.about-hero__text {
  flex: 1;
  max-width: 50%;
  margin-top: 0;
}

.about-hero__title {
  font-size: 3.5rem;
  line-height: 1.2;
  color: #303A4D;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-hero__title--one-line {
  font-size: 2.75rem;
}

.about-hero__description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #303A4D;
  max-width: 65rem;
}

.about-hero__description p:not(:last-child) {
  margin-bottom: 2.5rem;
}

.about-hero__image {
  flex: 1;
  max-width: 41.66667%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
}

/* All About Your Practitioner hero: align top of image with first sentence (below title) */
.about-hero:not(.about-hero--section) .about-hero__image {
  margin-top: calc(5.7rem + 1.5cm);
}

.about-hero__image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.about-hero__feature-image {
  margin: 0;
  margin-top: -2cm;
  max-width: 41.66667%;
  width: 100%;
}

.about-hero__feature-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 5px solid #4a6b4a;
  box-shadow: 0 0 0 2px #E0F7E0, 0 8px 32px rgba(0, 0, 0, 0.12);
}

.about-hero__feature-caption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #555;
  font-style: italic;
  text-align: center;
  line-height: 1.4;
}

/* all-about-me.html — image column stacks newspaper figure + certification badges */
.about-hero__image--all-about-stack {
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0;
}

/* All About Your Practitioner — hero badges (markup on all-about-me.html) */
.about-hero__badges--all-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  justify-items: center;
  align-items: center;
  width: 100%;
  margin-top: 2rem;
  box-sizing: border-box;
}

.about-hero__badge-cell {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Third badge: centred full-width row on narrow layouts; desktop uses 3 equal columns (overridden below) */
.about-hero__badge-cell--span {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: min(12rem, 85%);
}

/* All About hero (desktop / MacBook): newspaper was ~42% of column; badges used 42vmin — rebalance */
@media (min-width: 48rem) {
  .page.page--all-about .about-hero__feature-image {
    max-width: 100%;
    width: 100%;
  }

  .page.page--all-about .about-hero__feature-image img {
    width: 100%;
    max-width: min(100%, 28rem);
    margin-left: auto;
    margin-right: auto;
  }

  /* One row, three equal columns — same card size and same logo box for every badge */
  .page.page--all-about .about-hero__badges--all-about {
    margin-top: clamp(1.25rem, 2.5vw, 2rem) !important;
    max-width: min(30rem, 100%);
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.65rem 0.75rem !important;
    align-items: stretch !important;
  }

  .page.page--all-about .about-hero__badges--all-about .about-hero__badge-cell--span {
    grid-column: auto;
    max-width: none;
    width: 100%;
    justify-self: stretch;
  }

  .page.page--all-about .about-hero__badges--all-about .about-hero__badge-cell {
    padding: 0.65rem 0.5rem !important;
    min-height: 6.5rem;
    align-items: center;
    justify-content: center;
  }

  .page.page--all-about .about-hero__badges--all-about .cert-badge-img {
    width: 100% !important;
    max-width: 7.5rem !important;
    height: 6rem !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center;
    display: block;
    margin: 0 auto;
  }
}

/* All About page: centre “Schedule a Consultation” above the outro */
.page.page--all-about .about__schedule-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.35rem;
}

.page.page--all-about .about__schedule-cta .about__button {
  margin-left: auto;
  margin-right: auto;
}

/* Hero when used as a section in the middle of the page (e.g. About page) */
.about-hero--section {
  padding: 3rem 0 3rem 0;
}
.about-hero--section .about-hero__text {
  margin-top: 0;
  /* Allow the interventions gallery to use more width on the About page */
  max-width: 100%;
}
.about-hero--section .about-hero__image {
  margin-top: 0;
}

/* About page — “How I Work: Approaches & Interventions” (section.about-interventions on about.html) */
section.about-interventions .about-hero__container {
  max-width: min(72rem, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
  box-sizing: border-box;
}

section.about-interventions .about-hero__text {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

section.about-interventions .about__title.title {
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* Two columns from tablet/small-laptop up (split-screen MacBook is often under 56rem wide) */
@media (min-width: 48rem) {
  section.about-interventions .about-hero__description {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
    max-width: none !important;
    width: 100%;
  }

  section.about-interventions .about-hero__description p:not(:last-child) {
    margin-bottom: 0;
  }
}

section.about-interventions .interventions-gallery {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

section.about-interventions .about__button.button {
  align-self: center;
  margin-top: 0.25rem;
}

/* How I Work: interventions photo gallery */
.interventions-gallery {
  display: grid;
  /* Aim for a 2-row gallery layout on desktop:
     with 9 images total, 5 columns yields 2 rows (one empty cell). */
  grid-template-columns: repeat(5, 1fr);
  column-gap: 1.25rem;
  row-gap: 2.5rem; /* extra space for captions between the two rows */
  margin-top: 2rem;
  margin-bottom: 2rem;
  max-width: 100%;
  width: 100%;
}
.interventions-gallery__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.interventions-gallery__caption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #303A4D;
  text-align: center;
  font-weight: 600;
  line-height: 1.2;
}
.interventions-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(48, 58, 77, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .interventions-gallery {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 0.75rem;
    row-gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .about-hero--section {
    padding: 2rem 20px 2rem 20px;
  }
  .about-hero {
    padding: 2rem 20px 3rem 20px;
    min-height: auto;
  }
  
  .about-hero__content {
    flex-direction: column;
    text-align: left;
    align-items: stretch;
    gap: 2rem;
    min-height: auto;
  }

  /* Title → image → body (two-column heroes with a side image only) */
  .about-hero:not(.about-hero--section) .about-hero__text {
    display: contents;
  }

  .about-hero:not(.about-hero--section) .about-hero__title {
    order: 0;
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .about-hero:not(.about-hero--section) .about-hero__description {
    order: 2;
  }

  .about-hero:not(.about-hero--section) .about-hero__image {
    order: 1;
    max-width: 100%;
    margin-top: 0 !important;
  }

  .about-hero--section .about-hero__text {
    max-width: 100%;
    margin-top: 0 !important;
  }

  section.about-interventions .about__title.title {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .about-hero__description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .about-hero__image img {
    max-height: min(58vmin, 72vh);
    object-fit: cover;
    width: 100%;
  }
  
  .about-hero__feature-image img {
    max-height: none;
    object-fit: fill;
  }
}

/* iPad 11" portrait: All About hero — mirror ≤48rem hero behaviour (same as iPad mini stack / order) */
@media (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--all-about .about-hero {
    min-height: auto;
  }

  .page.page--all-about .about-hero__content {
    flex-direction: column;
    text-align: left;
    align-items: stretch;
    gap: 2rem;
    min-height: auto;
  }

  .page.page--all-about .about-hero:not(.about-hero--section) .about-hero__text {
    display: contents;
  }

  .page.page--all-about .about-hero:not(.about-hero--section) .about-hero__title {
    order: 0;
  }

  .page.page--all-about .about-hero:not(.about-hero--section) .about-hero__description {
    order: 2;
  }

  .page.page--all-about .about-hero:not(.about-hero--section) .about-hero__image {
    order: 1;
    max-width: 100%;
    margin-top: 0 !important;
  }

  .page.page--all-about .about-hero__description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .page.page--all-about .about-hero__image img {
    max-height: min(58vmin, 72vh);
    object-fit: cover;
    width: 100%;
  }

  .page.page--all-about .about-hero__feature-image img {
    max-height: none;
    object-fit: fill;
  }
}

@media (max-width: 30rem) {
  .about-hero {
    padding: 2rem 15px 2rem 15px;
  }

  .about-hero:not(.about-hero--section) .about-hero__title {
    font-size: 1.8rem;
    margin-bottom: 0.65rem;
  }

  .about-hero__description {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .about-hero__image img {
    max-height: min(48vmin, 58vh);
  }
  
  .about-hero__feature-image img {
    max-height: none;
  }
}

/* All About Your Practitioner — hero: structured stack on small screens (after generic .about-hero mobile rules) */
@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--all-about > section.about-hero:first-of-type {
    padding-bottom: 2rem !important;
  }

  .page.page--all-about .about-hero__container {
    padding-left: clamp(0.875rem, 4vw, 1.25rem);
    padding-right: clamp(0.875rem, 4vw, 1.25rem);
  }

  .page.page--all-about .about-hero__content {
    gap: 1.5rem !important;
    align-items: stretch !important;
  }

  .page.page--all-about .about-hero__text {
    width: 100%;
    min-width: 0;
  }

  .page.page--all-about .about-hero__title {
    font-size: clamp(1.6rem, 4.8vw + 0.55rem, 2rem);
    line-height: 1.18;
    margin-bottom: 1rem !important;
    order: 0 !important;
  }

  .page.page--all-about .about-hero__description {
    font-size: 1rem;
    line-height: 1.65;
    order: 2 !important;
  }

  /* Flatten stack so newspaper + badges can reorder: badges sit last in the hero */
  .page.page--all-about .about-hero__image--all-about-stack {
    display: contents !important;
  }

  .page.page--all-about .about-hero__feature-image {
    order: 1 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-top: 0 !important;
  }

  .page.page--all-about .about-hero__feature-image img {
    object-fit: contain !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }

  .page.page--all-about .about-hero__feature-caption {
    text-align: left;
    margin-top: 0.5rem;
  }

  .page.page--all-about .about-hero__badges--all-about {
    order: 3 !important;
    width: 100%;
    margin-top: 0 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.65rem 0.5rem !important;
    justify-items: stretch;
    align-items: stretch;
  }

  .page.page--all-about .about-hero__badges--all-about .about-hero__badge-cell--span {
    grid-column: auto;
    max-width: 100%;
    justify-self: stretch;
  }

  .page.page--all-about .about-hero__badges--all-about .about-hero__badge-cell {
    padding: 0.55rem 0.4rem !important;
    min-height: auto;
  }

  .page.page--all-about .about-hero__badges--all-about .cert-badge-img {
    max-width: min(100%, 5.5rem) !important;
    max-height: 4.25rem !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

@media (max-width: 30rem) {
  .page.page--all-about .about-hero__content {
    gap: 1.25rem !important;
  }

  .page.page--all-about .about-hero__title {
    margin-bottom: 0.75rem !important;
  }

  .page.page--all-about .about-hero__description {
    font-size: 0.95rem;
    line-height: 1.58;
  }

  /* Three badges in one horizontal row on narrow phones */
  .page.page--all-about .about-hero__badges--all-about {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.45rem 0.35rem !important;
  }

  .page.page--all-about .about-hero__badges--all-about .about-hero__badge-cell--span {
    grid-column: auto;
    max-width: 100%;
  }

  .page.page--all-about .about-hero__badges--all-about .about-hero__badge-cell {
    padding: 0.45rem 0.3rem !important;
  }

  .page.page--all-about .about-hero__badges--all-about .cert-badge-img {
    max-width: min(100%, 4.5rem) !important;
    max-height: 3.75rem !important;
  }
}

/* ************ABOUT**************** */

.about__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.about__image {
  position: relative;
  width: 100%;
  max-width: 100%;
  /* Use aspect-ratio instead of a fixed height so it scales on iPads */
  aspect-ratio: 552 / 614;
}

.about__image--second {
  margin-top: 1rem;
  text-align: center;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.about__psychology-text {
  font-size: 1rem;
  color: #303A4D;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.about__image--second img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.about__image img {
  border-radius: 16px;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About page: padding from header to My Approach to Healing */
#my-approach .about__container {
  padding-top: 3rem;
}

/* About page: move hero image down 3cm (parallel to My Approach to Healing text) */
#my-approach .about__image {
  margin-top: 3cm;
}

/* About page: move just the writing up 2cm */
#my-approach .about__content {
  margin-top: -2cm;
}

/* About page hero (#my-approach): laptop / MacBook — image column was unconstrained and dominated the row */
@media (min-width: 48.0625rem) {
  /* About page (about.html): safe clearance under fixed header; see also .page.page--about */
  .page.page--about {
    padding-top: 11.25rem;
  }

  #my-approach .about__container {
    max-width: min(75rem, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
    padding-top: clamp(1.5rem, 2.5vw, 2.25rem);
    padding-bottom: 2rem;
    /* Base uses space-between — on wide MacBook that stretches a huge gap between columns */
    justify-content: flex-start;
    gap: 0.5rem;
    align-items: flex-start;
  }

  /* Kill desktop cm offset so the heading never sits under the fixed header */
  #my-approach .about__content {
    flex: 1 1 0;
    min-width: 0;
    max-width: min(46rem, 68%);
    margin-top: 0 !important;
  }

  /* Global .about__text { max-width: 30rem } left a wide empty band beside the image */
  #my-approach .about__text {
    max-width: none;
    width: 100%;
  }

  #my-approach .about__image {
    flex: 0 0 auto;
    min-width: 0;
    width: min(22rem, 32vw);
    max-width: min(22rem, 32vw);
    margin-top: 0 !important;
    align-self: flex-start;
  }

  #my-approach .about__image img {
    width: 100%;
    height: 100%;
    max-height: min(28rem, 70vh);
    object-fit: cover;
    object-position: center center;
  }
}

/* About page (#my-approach): iPad 11" portrait — same stack order as iPad mini (≤48rem) */
@media (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--about {
    padding-top: 16rem;
  }

  #my-approach .about__container {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 1rem !important;
    max-width: min(75rem, 100%);
    padding-top: 0.85rem !important;
    padding-bottom: 1.75rem !important;
  }

  #my-approach .about__content {
    display: contents !important;
    flex: none !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-top: 0 !important;
  }

  .page.page--about #my-approach .about__title {
    order: 0;
    margin-bottom: 0.75rem;
  }

  .page.page--about #my-approach .about__image {
    order: 1;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    margin-top: 0 !important;
  }

  .page.page--about #my-approach .about__text {
    order: 2;
    max-width: 100% !important;
  }

  #my-approach .about__image {
    aspect-ratio: auto !important;
    height: auto !important;
    overflow: visible;
  }

  .page.page--about #my-approach .about__image img,
  #my-approach .about__image img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center top !important;
  }

  #my-approach .about__text {
    margin-bottom: 0 !important;
  }
}

.about__title {
  margin-bottom: 1.5rem;
}

.about__text {
  max-width: 30rem;
  letter-spacing: 0.02em;
  line-height: 150%;
  margin-bottom: 2rem;
}

.about__text p:not(:last-child) {
  margin-bottom: 1.5rem;
}

.outro_about {
  background: url("../images/Home/Deb_Brand_Photos-22.jpg") center / cover no-repeat;
}

/* **************SERVICES**************** */

.services-hero {
  background: #E0F7E0;
  padding: 3rem 0 60px 0;
  min-height: auto;
}

.services-hero__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.services-hero__content {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  min-height: auto;
  padding-top: 0;
  padding-bottom: 1rem;
}

.services-hero__text {
  flex: 1;
  max-width: 50%;
  margin-top: 0;
}

.services-hero__title {
  font-size: 3.5rem;
  line-height: 1.2;
  color: #303A4D;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.services-hero__description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #303A4D;
  max-width: 65rem;
}

.services-hero__image {
  flex: 1;
  max-width: 41.66667%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 160px;
}

.services-hero__image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .services-hero {
    padding: 2rem 20px 3rem 20px;
    min-height: auto;
  }
  
  .services-hero__content {
    flex-direction: column;
    text-align: left;
    align-items: stretch;
    gap: 2rem;
    min-height: auto;
  }

  .services-hero__text {
    display: contents;
  }

  .services-hero__title {
    order: 0;
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .services-hero__description {
    order: 2;
    font-size: 1rem;
    line-height: 1.6;
  }

  .services-hero__image {
    order: 1;
    max-width: 100%;
    margin-top: 0 !important;
  }
  
  .services-hero__image img {
    max-height: min(58vmin, 72vh);
    object-fit: cover;
    width: 100%;
  }
}

/* iPad 11" portrait: generic .services-hero (if used) — don’t use the 2rem mobile band under the fixed header */
@media (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .services-hero {
    padding: calc(17.25rem + env(safe-area-inset-top, 0px)) 20px 3rem 20px !important;
  }
}

@media (max-width: 30rem) {
  .services-hero {
    padding: 2rem 15px 2rem 15px;
  }
  
  .services-hero__title {
    font-size: 1.8rem;
    margin-bottom: 0.65rem;
  }

  .services-hero__description {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .services-hero__image img {
    max-height: min(48vmin, 58vh);
  }
}

.main_services {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../images/Services/IMG_8966_result.webp") top center / cover no-repeat;
}

.services {
  background-color: #E0F7E0;
}

.services__container {
  padding-top: 3.5rem;
  padding-bottom: 8.75rem;
}

.services__title {
  text-align: center;
  margin-bottom: 5rem;
}

/* services.html only — hero headings (section uses .page.page--services) */
.page.page--services .services__container {
  /* Replaces former inline padding; avoids huge default .services__container top padding */
  padding-top: 0.75rem;
}

.page.page--services .services__title {
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

/* Subtitle is not a .title — avoids sharing the global .title scale with the h2 */
.page.page--services .services__subtitle {
  margin-top: 0;
  margin-bottom: clamp(0.65rem, 1.5vw, 1rem);
  color: #303a4d;
  font-weight: 600;
  text-align: center;
  font-size: clamp(1.35rem, 1.5vw + 0.75rem, 2rem);
  line-height: 1.3;
}

.services__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Services page: four cards (Adult, Child, Youth, Supervision) */
.services__row--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.services__row--four .item-services__image {
  max-width: 100%;
  width: 100%;
  /* Preserve original card image proportions while scaling */
  aspect-ratio: 360 / 340;
}

/* Services cards: Youth image source has extra whitespace, so it reads smaller.
   Apply a targeted visual crop so it matches the other three cards. */
.page.page--services .services__row--four .services__column:nth-child(3) .item-services__image {
  overflow: hidden;
}

.page.page--services .services__row--four .services__column:nth-child(3) .item-services__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.14);
  transform-origin: center;
}

.services__row--four .item-services__title {
  font-size: 1.25rem;
}

.services__row--four .item-services__text {
  font-size: 0.95rem;
  max-width: none;
}

.services__row--four .item-services__text--youth ul,
.services__row--four .item-services__text--child ul,
.services__row--four .item-services__text--adult ul,
.services__row--four .item-services__text--supervision ul {
  list-style-type: disc;
}

@media (max-width: 75rem) {
  .services__row--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  .services__row--four .item-services__image {
    /* 360 / 380 = 0.947 */
    aspect-ratio: 360 / 380;
  }
}

/* Services page: tablet portrait — balance card + detail image size (between full-width and the tighter pass) */
@media (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--services .services__row--four .item-services__image {
    width: 100%;
    max-width: min(19.5rem, 94%);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(0.75rem, 1.75vw, 1rem);
    /* Same as 2-col breakpoint: slightly shorter than 360/380 if we need to trim height later */
    aspect-ratio: 360 / 380;
  }

  .page.page--services .services__row--four .item-services__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 12px;
  }

  .page.page--services .services__row--four .services__column:nth-child(3) .item-services__image img {
    transform: scale(1.06);
    object-position: center 36%;
  }

  .page.page--services .services-page__column .services-page__img {
    max-width: min(26rem, 44vw) !important;
    flex: 0 1 auto !important;
  }

  .page.page--services .services-page__play-collage {
    max-width: min(34rem, 92%) !important;
  }

  /* Services detail blocks: title → image → text → CTA (same structure for Adult, Child & Youth, Clinical Supervision) */
  .page.page--services .services-page__container > .services-page__item:first-child .services-page__column,
  .page.page--services .services-page__item#child-youth .services-page__column,
  .page.page--services .services-page__item#clinical-supervision .services-page__column {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(1.35rem, 3.25vw, 1.85rem);
    width: 100%;
  }

  .page.page--services .services-page__container > .services-page__item:first-child .services-page__content,
  .page.page--services .services-page__item#child-youth .services-page__content,
  .page.page--services .services-page__item#clinical-supervision .services-page__content {
    display: contents;
  }

  .page.page--services .services-page__container > .services-page__item:first-child .services-page__title,
  .page.page--services .services-page__item#child-youth .services-page__title,
  .page.page--services .services-page__item#clinical-supervision .services-page__title {
    order: 0;
    width: 100%;
    margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
  }

  .page.page--services .services-page__container > .services-page__item:first-child .services-page__img,
  .page.page--services .services-page__item#child-youth .services-page__img,
  .page.page--services .services-page__item#clinical-supervision .services-page__img {
    order: 1;
    width: 100%;
    max-width: min(21rem, 70%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    flex: 0 0 auto !important;
    align-self: center;
  }

  .page.page--services .services-page__container > .services-page__item:first-child .services-page__text,
  .page.page--services .services-page__item#child-youth .services-page__text,
  .page.page--services .services-page__item#clinical-supervision .services-page__text {
    order: 2;
    width: 100%;
    max-width: none;
    margin-bottom: 0;
    line-height: 1.65;
  }

  .page.page--services .services-page__container > .services-page__item:first-child .services-page__button,
  .page.page--services .services-page__item#child-youth .services-page__button,
  .page.page--services .services-page__item#clinical-supervision .services-page__button {
    order: 3;
    align-self: flex-start;
    width: auto;
    max-width: 100%;
  }

  .page.page--services .services-page__item#clinical-supervision {
    margin-bottom: clamp(3rem, 7vw, 5rem);
    padding-bottom: clamp(2rem, 4vw, 3.25rem);
  }
}

.item-services {
  background-color: #E0F7E0;
  border-radius: 1.25rem;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease 0s;
}

.item-services:hover {
  background-color: #d0e7d0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Service cards: primary CTA + optional letter links */
.services__row--four .item-services__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  /* Keeps the "Book a Session" buttons aligned across cards
     even when some cards have extra letter links below. */
  min-height: 6.75rem;
}

.services__row--four .item-services__letter-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
  line-height: 1.35;
  text-align: center;
}

.services__row--four .item-services__letter-links a {
  color: #303a4d;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.services__row--four .item-services__letter-links a:hover {
  color: #1e2633;
}

/* Standalone “letter” pages linked from Services cards */
.letter-page {
  padding: 2.5rem 1rem 4rem;
  background-color: #f8f9fa;
}

.letter-page__container {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 2.5rem;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(48, 58, 77, 0.08);
}

.letter-page__breadcrumb {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.letter-page__breadcrumb a {
  color: #303a4d;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.letter-page__title {
  margin: 0 0 1.25rem;
  font-size: 1.75rem;
  line-height: 1.25;
  color: #303a4d;
}

.letter-page__body {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #303a4d;
}

.letter-page__body p {
  margin: 0 0 1rem;
}

.letter-page__body p:last-child {
  margin-bottom: 0;
}

.letter-page__body h2 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  line-height: 1.3;
  color: #303a4d;
}

.letter-page__body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.letter-page__body li {
  margin-bottom: 0.5rem;
}

.letter-page__body li:last-child {
  margin-bottom: 0;
}

.letter-page__cta {
  margin: 2rem 0 0;
}

/* Child letter page: image beside text */
.letter-page__container--split {
  max-width: 56rem;
  padding-top: 0;
}

.letter-page__banner {
  margin: 0 0 1.25rem;
  padding: 1.25rem 1rem 0;
  text-align: center;
  border-radius: 1rem 1rem 0 0;
  background: linear-gradient(180deg, rgba(224, 247, 224, 0.45) 0%, #fff 100%);
  overflow: hidden;
}

.letter-page__banner img {
  display: block;
  width: 100%;
  max-width: calc(100% - 2cm); /* 2 cm narrower than full column */
  aspect-ratio: 21 / 9;
  height: auto;
  max-height: none;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0.75rem;
}

.letter-page__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
}

@media (min-width: 37.5rem) {
  .letter-page__gallery {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.letter-page__gallery-item {
  margin: 0;
  padding: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #f8f9fa;
  box-shadow: 0 4px 14px rgba(48, 58, 77, 0.08);
}

.letter-page__gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  object-fit: cover;
  max-height: 14rem;
}

.letter-page__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.letter-page__main {
  min-width: 0;
}

/* Right column: pop-it stacked above yoga (child letter) */
.letter-page__aside {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.letter-page__aside .letter-page__figure {
  margin: 0;
  padding: 0;
}

.letter-page__aside .letter-page__figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(48, 58, 77, 0.12);
}

.letter-page__aside .letter-page__figure--pop-offset {
  margin-top: 0.5cm;
}

/* Youth letter: first column image nudged down 1.5 cm from default pop-offset */
.letter-page--youth .letter-page__aside .letter-page__figure--pop-offset {
  margin-top: 2cm;
}

.letter-page__aside .letter-page__figure--yoga-offset {
  margin-top: 2cm;
}

.letter-page__aside .letter-page__figure--magic-boy-offset {
  margin-top: 2cm;
}

.letter-page__aside .letter-page__figure--aside-stack-4 {
  margin-top: 2cm;
}

/* Child letter: centred sensory photo before Contact */
.letter-page__accent-photo {
  grid-column: 1 / -1;
  margin: 1cm auto 0;
  padding: 0;
  width: 100%;
  max-width: 24rem; /* ~3/4 of previous 32rem */
}

.letter-page__accent-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 6px 24px rgba(48, 58, 77, 0.12);
}

/* Inline CTA inside letter body (e.g. youth “Check out the Youth Space”) */
.letter-page__body-cta {
  margin: 0 0 1rem;
}

.letter-page__closing {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(48, 58, 77, 0.08);
  font-style: italic;
  color: #3d4a5c;
}

.letter-page__figure {
  margin: 0;
  padding: 0;
}

.letter-page__figure img {
  display: block;
  width: 100%;
  max-width: 20rem;
  height: auto;
  margin: 0 auto;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(48, 58, 77, 0.12);
}

@media (min-width: 48rem) {
  .letter-page__layout {
    grid-template-columns: 1fr minmax(200px, 15rem);
    gap: 1.75rem;
    align-items: start;
  }

  .letter-page__cta--full {
    grid-column: 1 / -1;
  }

  .letter-page__aside {
    position: sticky;
    top: 1.25rem;
  }

  .letter-page__aside .letter-page__figure img {
    margin: 0;
    max-width: none;
  }

  .letter-page__layout > .letter-page__figure {
    position: sticky;
    top: 1.25rem;
  }

  .letter-page__layout > .letter-page__figure img {
    margin: 0;
    max-width: none;
  }

  .letter-page__layout > .letter-page__figure--collage {
    margin-top: -1cm;
  }
}

.item-services__image {
  margin-bottom: 2rem;
  width: 100%;
  max-width: 30%;
  aspect-ratio: 360 / 421;
}

.item-services__image img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.item-services__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.item-services__text {
  max-width: 21.5rem;
  line-height: 150%;
  margin-bottom: 2rem;
  flex-grow: 1;
  letter-spacing: 0.02em;
}

.item-services__button {
  background-color: inherit;
  border: 2px solid #303a4d;
  color: #303a4d;
}

.outro_services {
  background: url("../images/Services/pexels-pixabay-261055.jpg") center / cover no-repeat;
}

/* ************TESTIMONIAL**************** */

.testimonial__container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.testiomonial__caption {
  margin-bottom: 4rem;
  font-weight: 600;
  text-transform: uppercase;
}

.testimonial__title {
  margin-bottom: 4rem;
  font-size: 2rem;
  max-width: 40.75rem;
  line-height: 136%;
  font-weight: 500;
}

.item-testimonial__image {
  max-width: 4em;
  margin: 0 auto;
  margin-bottom: 1.063rem;
  height: 4em;
}

.item-testimonial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.item-testimonial__title {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.item-testimonial__caption {
  font-size: 0.938rem;
}

/* ****************OUTRO**************** */

.outro__container {
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 0.9375rem;
  padding-right: 0.9375rem;
}

.outro__title {
  margin-bottom: 1.25rem;
}

.outro__text {
  max-width: 33.625rem;
  line-height: 150%;
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.outro__button {
  padding: 1.25rem 3rem;
}

/* **************QUOTE POPUP**************** */

.quote-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.quote-popup.show {
  display: flex;
  opacity: 1;
}

.quote-popup__content {
  background: linear-gradient(135deg, #E0F7E0, #f8f9fa);
  padding: 3rem;
  border-radius: 20px;
  max-width: 41.66667%;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  transition: transform 1.2s ease-in-out;
}

.quote-popup.show .quote-popup__content {
  transform: scale(1);
}

.quote-popup__close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: #303A4D;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.3s ease;
}

.quote-popup__close:hover {
  color: #666;
}

.quote-popup__quote p {
  font-size: 1.5rem;
  font-style: italic;
  color: #303A4D;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.quote-popup__quote cite {
  font-size: 1.1rem;
  color: #666;
  font-weight: 600;
}

/* ****************FOOTER**************** */

.footer {
  line-height: 150%;
  padding: 1.5rem 0;
  background-color: #E6E6FA;
}

.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  position: relative;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer__acknowledgement {
  margin: 1rem 0;
  padding: 0.75rem;
  border-top: 1px solid rgba(48, 58, 77, 0.1);
  border-bottom: 1px solid rgba(48, 58, 77, 0.1);
}

.footer__acknowledgement p {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #303A4D;
  text-align: center;
  max-width: 66.66667%;
  margin: 0 auto;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.footer__policy {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
  color: #303A4D;
  text-decoration: none;
}

.footer__policy:hover {
  opacity: 0.8;
}

.footer__copyright {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
  color: #303A4D;
}

.footer__name {
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.2;
  color: #303A4D;
  margin-bottom: 0.25rem;
}

.footer__business {
  font-size: 0.9rem;
  line-height: 1.2;
  color: #303A4D;
  margin-bottom: 0.5rem;
}

.footer__contact-item {
  color: #303A4D;
  font-size: 0.9rem;
  line-height: 1.4;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.footer__contact-item:hover {
  color: #98FB98;
}

.footer__social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.footer__social-icon {
  width: 1.5em;
  height: 1.5em;
  transition: fill 0.3s ease;
}

.footer__social-icon:hover {
  fill: #98FB98;
}

/* Credential badges row in site footer — left-aligned on desktop to balance absolute images on the right */
.footer__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-self: flex-start;
  width: 100%;
  gap: 0.45rem 0.6rem;
  margin: 0;
  padding: 0;
  max-width: 100%;
  /* Reserve space so badges don’t sit under Psychology Today / AU images on wide screens */
  padding-right: min(280px, 38vw);
}

.footer__badge {
  background: #ffffff;
  border-radius: 10px;
  padding: 0.3rem 0.45rem;
  box-shadow: 0 2px 8px rgba(48, 58, 77, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(4.75rem, 12vw, 6.5rem);
  min-height: auto;
  box-sizing: border-box;
}

.footer__badge img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 2.85rem;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.footer__logo {
  font-size: 1.25rem;
  text-align: center;
  max-width: 23.33333%;
  line-height: 1.3;
  color: #303A4D;
  text-decoration: none;
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .footer__badge {
    width: clamp(4.25rem, 30vw, 5.75rem);
    min-height: auto;
    padding: 0.28rem 0.38rem;
  }

  .footer__badge img {
    height: auto;
    max-height: 2.65rem;
  }
}

/* iPad / tablet portrait (stacked footer): credential cards closer to PT + AU image scale */
@media (max-width: 48rem) and (min-width: 36rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .footer__badge {
    width: clamp(3.85rem, 20vw, 5.25rem);
    min-height: auto;
    padding: 0.26rem 0.36rem;
  }

  .footer__badge img {
    height: auto;
    max-height: 2.5rem;
  }
}

/* iPad / tablet between mobile stack and wide desktop grid */
@media (min-width: 48.001rem) and (max-width: 62.9375rem) {
  .footer__badge {
    width: clamp(3.75rem, 9.5vw, 5rem);
    min-height: auto;
    padding: 0.26rem 0.36rem;
  }

  .footer__badge img {
    height: auto;
    max-height: 2.55rem;
  }
}

/* Footer — laptop / MacBook: top band aligned — badges | your details | PT over AU (grid areas, no gap under centre). */
@media (min-width: 63rem) {
  .footer {
    padding: clamp(1.5rem, 2.2vw, 2rem) 0;
  }

  .footer__container {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(14rem, 1fr) minmax(9rem, 12.5rem);
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "badges contact pt"
      "badges contact au"
      "ack ack ack"
      "bottom bottom bottom";
    column-gap: clamp(1.25rem, 2.5vw, 2rem);
    row-gap: 0.45rem;
    align-items: start;
    max-width: min(75rem, 100%);
    margin-left: auto;
    margin-right: auto;
    padding: clamp(1rem, 1.8vw, 1.4rem) clamp(1.25rem, 3vw, 2.25rem);
    position: relative;
  }

  .footer__badges {
    grid-area: badges;
    align-self: start;
    align-items: center;
    width: auto;
    max-width: 10.5rem;
    padding-right: 0 !important;
    margin: 0;
    justify-content: flex-start;
    gap: 0.45rem 0.55rem;
  }

  .footer__badge {
    width: clamp(3.5rem, 6.5vw, 4.5rem);
    min-height: auto;
    padding: 0.24rem 0.32rem;
    border-radius: 8px;
  }

  .footer__badge img {
    height: auto;
    max-height: 2.45rem;
  }

  .footer__contact {
    grid-area: contact;
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    padding: 0;
    justify-self: center;
  }

  .footer__contact .footer__contact-item {
    justify-content: center;
  }

  .footer__contact .footer__social-icons {
    justify-content: center;
  }

  .footer__image:not(.footer__image--australian) {
    grid-area: pt;
    align-self: start;
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    max-width: 100% !important;
    width: 100%;
    margin: 0;
    justify-self: stretch;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .footer__image--australian {
    grid-area: au;
    align-self: start;
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    max-width: 100% !important;
    width: 100%;
    margin: 0;
    justify-self: stretch;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer__acknowledgement {
    grid-area: ack;
    margin: 0.65rem 0 0.35rem;
    padding: 0.75rem 0.5rem;
  }

  .footer__acknowledgement p {
    max-width: min(48rem, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .footer__bottom {
    grid-area: bottom;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    justify-content: space-between;
    column-gap: 1rem;
    width: 100%;
    margin-top: 0.35rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(48, 58, 77, 0.1);
    box-sizing: border-box;
  }

  .footer__bottom .footer__policy {
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0;
    padding: 0;
    color: #303a4d;
    flex: 0 1 auto;
    max-width: min(24rem, 44%);
    min-width: 0;
    text-align: left;
    text-decoration: none;
  }

  .footer__bottom .footer__copyright {
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0;
    padding: 0 0.5rem 0 0;
    color: #303a4d;
    flex: 1 1 0;
    min-width: 0;
    text-align: right;
    white-space: nowrap;
  }
}

/* ****************ABOUT PAGE**************** */
.main__text_pages {
  max-width: 37.5rem;
}

.main__container_pages {
  padding-top: 300px;
}

.main_pages {
  min-height: 42.25rem !important; /* 676px */
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .main_pages {
    min-height: auto !important;
    padding: 10rem 20px 3rem 20px !important;
  }
  
  .main__container_pages {
    padding-top: 0 !important;
    max-width: 100% !important;
    text-align: left;
  }
  
  .main_pages .main__title {
    font-size: 2rem !important;
    text-align: left;
    margin-bottom: 1.5rem;
  }
  
  .main__text_pages {
    max-width: 100%;
    font-size: 1rem;
    text-align: left;
    line-height: 1.6;
  }
}

@media (max-width: 30rem) {
  .main_pages {
    padding: 8rem 15px 2rem 15px !important;
  }
  
  .main_pages .main__title {
    font-size: 1.8rem !important;
    margin-bottom: 1rem;
  }
  
  .main__text_pages {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* ****************SERVICES PAGE**************** */
.services-page__container {
  padding-top: calc(140px - 3cm);
}

.services-page__item {
  margin-bottom: 132px;
}

.services-page__item:not(:last-child) {
  padding-bottom: 132px;
  margin-bottom: 132px;
  border-bottom: 1px solid rgba(48, 58, 77, 0.4);
}

.services-page__column {
  display: flex;
  align-items: center;
  gap: 97px;
}

/* Align the Child & Youth image with the section title */
.services-page__item#child-youth .services-page__column {
  align-items: flex-start;
}

.services-page__title {
  margin-bottom: 24px;
}

.services-page__text {
  margin-bottom: 56px;
  max-width: 30rem;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

/* Tighten spacing specifically for the Clinical Supervision card */
.services-page__item#clinical-supervision .services-page__text {
  margin-bottom: 28px;
}

/* Nudge the Child & Youth CTA button slightly right */
.services-page__item#child-youth .services-page__button {
  margin-left: 2.5cm;
}

.services-page__text p:not(:last-child) {
  margin-bottom: 20px;
}

.services-page__img {
  width: 100%;
  max-width: 100%;
  /* Replace fixed height with responsive aspect ratio */
  aspect-ratio: 552 / 614;
}

.services-page__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.services-page__play-collage {
  margin: calc(2.5rem) auto 0; /* moved down ~1cm */
  max-width: 45%;
  padding: 0 1rem;
  text-align: center;
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .services-page__play-collage {
    max-width: 100%;
  }
}

.services-page__play-collage img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(48, 58, 77, 0.1);
}

/* Services detail sections — laptop / MacBook: keep text + image in balance (full-width images were too dominant) */
@media (min-width: 48.0625rem) {
  .page.page--services .services-page__container {
    max-width: min(75rem, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
  }

  .page.page--services .services-page__column {
    gap: clamp(2rem, 4vw, 3.5rem);
    max-width: 100%;
  }

  .page.page--services .services-page__content {
    flex: 1 1 48%;
    min-width: 0;
    max-width: min(36rem, 52%);
  }

  .page.page--services .services-page__img {
    flex: 0 1 44%;
    min-width: 0;
    max-width: min(28rem, 44vw);
    width: 100%;
  }

  /* Clinical Supervision: keep the photo column narrower than Adult / Child–Youth */
  .page.page--services .services-page__item#clinical-supervision .services-page__img {
    flex: 0 1 36%;
    max-width: min(21rem, 32vw);
  }

  .page.page--services .services-page__img img {
    object-fit: cover;
  }

  .page.page--services .services-page__play-collage {
    max-width: min(38rem, 88%);
    margin-top: 2rem;
  }
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  /* Old calc(70px - 3cm) went negative on tablet — use a stable band */
  .services-page__container {
    padding-top: clamp(2.75rem, 5vw + 2.5rem, 6.5rem);
  }
  
  .services-page__column {
    flex-direction: column;
    gap: 2rem;
    text-align: left;
    align-items: stretch;
  }

  .services-page__item#child-youth .services-page__column {
    align-items: stretch;
  }
  
  .services-page__item {
    margin-bottom: 60px;
  }
  
  .services-page__item:not(:last-child) {
    padding-bottom: 60px;
    margin-bottom: 60px;
  }
  
  .services-page__title {
    font-size: 2rem;
  }
  
  .services-page__text {
    max-width: 100%;
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .services-page__item#clinical-supervision .services-page__text {
    margin-bottom: 1.25rem;
  }

  .page.page--services .services-page__container > .services-page__item:first-child .services-page__img,
  .services-page__item#child-youth .services-page__img,
  .services-page__item#clinical-supervision .services-page__img {
    max-width: min(20rem, 90%);
    margin-left: auto;
    margin-right: auto;
    align-self: center;
  }
  
  .services-page__img {
    max-width: 100%;
    height: auto;
  }

  .services-page__button {
    width: 100%;
    text-align: left;
  }

  .services-page__item#child-youth .services-page__button {
    margin-left: 0;
  }
}

/* Services detail: narrow phones — same title → image → text → CTA order as iPad portrait (≥48.0625rem block above) */
@media (max-width: 48rem) {
  .page.page--services .services-page__container > .services-page__item:first-child .services-page__column,
  .page.page--services .services-page__item#child-youth .services-page__column,
  .page.page--services .services-page__item#clinical-supervision .services-page__column {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(1.15rem, 4vw, 1.5rem);
    width: 100%;
  }

  .page.page--services .services-page__container > .services-page__item:first-child .services-page__content,
  .page.page--services .services-page__item#child-youth .services-page__content,
  .page.page--services .services-page__item#clinical-supervision .services-page__content {
    display: contents;
  }

  .page.page--services .services-page__container > .services-page__item:first-child .services-page__title,
  .page.page--services .services-page__item#child-youth .services-page__title,
  .page.page--services .services-page__item#clinical-supervision .services-page__title {
    order: 0;
    width: 100%;
    margin-bottom: clamp(0.45rem, 1.25vw, 0.65rem);
  }

  .page.page--services .services-page__container > .services-page__item:first-child .services-page__img,
  .page.page--services .services-page__item#child-youth .services-page__img,
  .page.page--services .services-page__item#clinical-supervision .services-page__img {
    order: 1;
    width: 100%;
    max-width: min(20rem, 88%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    flex: 0 0 auto !important;
    align-self: center;
  }

  .page.page--services .services-page__container > .services-page__item:first-child .services-page__text,
  .page.page--services .services-page__item#child-youth .services-page__text,
  .page.page--services .services-page__item#clinical-supervision .services-page__text {
    order: 2;
    width: 100%;
    max-width: none;
    margin-bottom: 0;
    line-height: 1.65;
  }

  .page.page--services .services-page__container > .services-page__item:first-child .services-page__button,
  .page.page--services .services-page__item#child-youth .services-page__button,
  .page.page--services .services-page__item#clinical-supervision .services-page__button {
    order: 3;
    align-self: flex-start;
    width: auto;
    max-width: 100%;
  }
}

/* iPad 11" portrait: first services detail block — extra band under hero (shared rule above also covers narrow phones) */
@media (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--services .services-page__container {
    padding-top: clamp(4rem, 5vw + 3.25rem, 8rem) !important;
  }
}

@media (max-width: 30rem) {
  .services-page__container {
    padding-top: max(1rem, calc(60px - 2cm));
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .services-page__title {
    font-size: 1.8rem;
  }
  
  .services-page__text {
    font-size: 0.95rem;
  }
  
  .services-page__item {
    margin-bottom: 40px;
  }
  
  .services-page__item:not(:last-child) {
    padding-bottom: 40px;
    margin-bottom: 40px;
  }
}

/* ****************CONTACT PAGE****************/

.contact-hero {
  background: #E0F7E0;
  padding: 3rem 0 60px 0;
  min-height: auto;
}

.contact-hero__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-hero__content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  column-gap: 3rem;
  row-gap: 1.5rem;
  min-height: auto;
  padding-top: 0;
  padding-bottom: 1rem;
}

.contact-hero__text {
  flex: 1;
  max-width: 50%;
  margin-top: 0;
  min-width: 0;
}

.contact-hero__title {
  font-size: 3.5rem;
  line-height: 1.2;
  color: #303A4D;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-hero__description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #303A4D;
  max-width: 65rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.contact-hero__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
}

.contact-hero__button svg {
  width: 1.5em;
  height: 1.5em;
}

.contact-hero__image {
  flex: 1;
  max-width: 41.66667%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 0;
  min-width: 0;
}

.contact-hero__image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .contact-hero {
    padding: 2rem 20px 3rem 20px;
    min-height: auto;
  }

  .contact-hero__content {
    flex-direction: column;
    align-items: stretch;
    row-gap: 1.25rem;
    column-gap: 0;
    text-align: left;
    min-height: auto;
  }

  .contact-hero__text {
    display: contents;
  }

  .contact-hero__title {
    order: 0;
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .contact-hero__description {
    order: 2;
    font-size: 1rem;
    line-height: 1.6;
  }

  .contact-hero__button {
    order: 3;
    margin: 0;
    align-self: flex-start;
  }

  .contact-hero__image {
    order: 1;
    max-width: 100%;
    flex: none;
    margin-top: 0 !important;
    justify-content: center;
    width: 100%;
  }

  .contact-hero__image img {
    max-height: min(58vmin, 72vh);
    object-fit: cover;
    width: 100%;
  }
}

@media (max-width: 30rem) {
  .contact-hero {
    padding: 7rem 15px 2rem 15px;
  }

  .contact-hero__content {
    row-gap: 1rem;
  }

  .contact-hero__title {
    font-size: 1.8rem;
    margin-bottom: 0.65rem;
  }

  .contact-hero__description {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .contact-hero__image img {
    max-height: min(48vmin, 58vh);
  }
  
  .contact-hero__button {
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
  }
  
  .contact-hero__button svg {
    width: 1.25em;
    height: 1.25em;
  }
}

.main_contact {
  position: relative;
  background: url("../images/Home/Deb_hero.webp") center -130% / cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  padding-top: 8rem;
  background-color: #f8f9fa;
}

.main_contact .main__container_pages {
  text-align: left;
  padding-top: 400px;
  max-width: 40rem;
  margin: 0;
  padding-left: 20px;
  position: absolute;
  left: 0;
}

.main_contact .outro__title {
  text-align: left !important;
}

/* Contact page — details + location (two balanced columns) */
.page.page--contact .page__contact.contact {
  background: #f4f5f8;
  border-top: 1px solid rgba(48, 58, 77, 0.08);
}

.page.page--contact .contact__container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: min(72rem, 100%);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2rem);
  box-sizing: border-box;
}

.page.page--contact .contact__contacts,
.page.page--contact .contact__info {
  flex: 1 1 0;
  min-width: 0;
}

.page.page--contact .contact__contacts {
  background: #fff;
  border-radius: 16px;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid rgba(48, 58, 77, 0.08);
  box-shadow: 0 2px 20px rgba(48, 58, 77, 0.05);
}

.page.page--contact .contact__info {
  background: #fff;
  border-radius: 16px;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid rgba(48, 58, 77, 0.08);
  box-shadow: 0 2px 20px rgba(48, 58, 77, 0.05);
}

.page.page--contact .contact__title {
  margin: 0 0 clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.2;
  font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2rem);
  color: #303a4d;
}

.page.page--contact .contact__text {
  max-width: none;
  width: 100%;
  font-size: 1rem;
  line-height: 1.65;
  color: #303a4d;
}

.page.page--contact .contact__text p:not(:last-child) {
  margin-bottom: 1rem;
}

.page.page--contact .connect-contact {
  row-gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(48, 58, 77, 0.12);
}

.page.page--contact .contact__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.25rem;
  gap: 0.75rem;
}

@media (min-width: 48.01rem) {
  .page.page--contact .contact__links {
    justify-content: flex-start;
  }
}

.page.page--contact .contact__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: rgba(48, 58, 77, 0.06);
  transition: background 0.2s ease, transform 0.2s ease;
}

.page.page--contact .contact__link:hover,
.page.page--contact .contact__link:focus-visible {
  background: rgba(48, 58, 77, 0.12);
  transform: translateY(-1px);
}

.page.page--contact .contact__link:focus-visible {
  outline: 2px solid #303a4d;
  outline-offset: 2px;
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--contact .contact__container {
    flex-direction: column;
    gap: 2rem;
    padding-top: clamp(2rem, 4vw, 2.5rem);
    padding-bottom: clamp(2.5rem, 6vw, 3.5rem);
    padding-left: clamp(1rem, 4vw, 1.25rem);
    padding-right: clamp(1rem, 4vw, 1.25rem);
  }

  .page.page--contact .contact__title {
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    text-align: left;
  }

  .page.page--contact .contact__info .contact__title {
    text-align: left;
  }

  .page.page--contact .contact__text {
    text-align: left;
  }

  .page.page--contact .connect-contact {
    align-items: stretch;
  }
}

@media (max-width: 30rem) {
  .page.page--contact .contact__container {
    padding-bottom: 2.5rem;
  }

  .page.page--contact .contact__title {
    margin-bottom: 1rem;
  }
}

.connect-contact {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.connect-contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3em;
  height: 3em;
  background-color: #f5f5f5;
  border-radius: 50%;
  flex-shrink: 0;
}

.connect-contact__icon svg {
  width: 1.5em;
  height: 1.5em;
}

.connect-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

.connect-contact__item:hover {
  opacity: 0.8;
}

.connect-contact__type {
  margin-bottom: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  color: rgba(48, 58, 77, 0.75);
}

.connect-contact__label {
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.25rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
  word-break: break-word;
}

/* Google Maps / embeds — never use 100vw (causes horizontal overflow on narrow screens) */
.map iframe,
.page__map iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: clamp(36vmin, 50vmin, 65vmin);
  filter: none;
}

/* **************REVIEWS PAGE**************** */
.reviews__container {
  padding-top: 160px;
  padding-bottom: 160px;
}

.reviews__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
}

.reviews__column {
  border: 1px solid #e1e4eb;
  border-radius: 8px;
}

.reviews__item {
  padding-top: 48px;
  padding-bottom: 56px;
  padding-right: 32px;
  padding-left: 32px;
}

.item-reviews {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-reviews__img {
  max-width: 2.875em;
  height: 2.25em;
  margin: 0 auto;
  margin-bottom: 46px;
}

.item-reviews__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-reviews__text {
  margin-bottom: 40px;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 150%;
}

.item-reviews__author {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.item-reviews__geo {
  font-size: 14px;
  letter-spacing: 0.002em;
}

/* ******************PRICING PAGE******************** */

.pricing-hero {
  background: linear-gradient(135deg, #E0F7E0 0%, #f8f9fa 100%);
  padding: calc(150px - 1.5cm) 0 80px 0;
  min-height: auto;
}

.pricing-hero__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 0;
}

.pricing-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
  grid-template-areas:
    "title image"
    "desc  image";
  column-gap: clamp(2rem, 4vw, 4rem);
  row-gap: 1.5rem;
  align-items: start;
  min-height: auto;
  position: relative;
  z-index: 2;
}

.pricing-hero__title {
  grid-area: title;
  font-size: 3.5rem;
  line-height: 1.2;
  color: #303A4D;
  font-weight: 700;
  margin: -0.75rem 0 0 0;
  min-width: 0;
}

.pricing-hero__description {
  grid-area: desc;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #303A4D;
  min-width: 0;
}

.pricing-hero__description p {
  margin: 0;
}

.pricing-hero__image {
  grid-area: image;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
}

.pricing-hero__image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
  object-fit: cover;
  object-position: center center;
}

/* Decorative images around the pricing hero/cards (non-interactive) */
.pricing-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* Small labels under each decorative therapy image */
.pricing-decor-caption {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  font-size: 0.9rem;
  color: #303A4D;
  background: rgba(248, 249, 250, 0.65);
  padding: 0.35rem 0.6rem;
  border-radius: 0.75rem;
  box-shadow: 0 2px 10px rgba(48, 58, 77, 0.08);
  backdrop-filter: blur(2px);
  text-align: center;
  white-space: nowrap;
}

.pricing-decor-wrap {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* When wrapped, keep the caption directly underneath the image */
.pricing-decor-wrap .pricing-decor {
  position: static;
  display: block;
}

.pricing-decor-wrap .pricing-decor-caption {
  position: relative;
  top: auto;
  left: auto;
  display: block;
  margin-top: 0.5rem;
}

.pricing-decor-wrap--hero-1 {
  top: 84%;
  left: 2.25rem;
  width: 11.66667%;
}

.pricing-decor-wrap--hero-2 {
  top: 84%;
  left: 11.25rem;
  width: 11.66667%;
}

.pricing-decor-wrap--hero-3 {
  top: 84%;
  left: 20.5rem;
  width: 11.66667%;
}

.pricing-decor-caption--hero-1 {
  top: auto;
  left: auto;
}

.pricing-decor-caption--hero-2 {
  top: auto;
  left: auto;
}

.pricing-decor-caption--hero-3 {
  top: auto;
  left: auto;
}

.pricing-decor--hero-1 {
  top: 84%;
  left: 2.25rem;
  right: auto;
  width: 11.66667%;
  transform: rotate(-4deg);
  opacity: 0.9;
}

.pricing-decor--hero-2 {
  top: 84%;
  left: 11.25rem;
  right: auto;
  width: 11.66667%;
  transform: rotate(0deg);
  opacity: 0.88;
}

.pricing-decor--cards-1 {
  top: 82%;
  left: -5.25rem;
  width: 13.33333%;
  transform: rotate(-6deg);
  opacity: 0.95;
}

.pricing-decor--hero-3 {
  top: 84%;
  left: 20.5rem;
  right: auto;
  width: 11.66667%;
  transform: rotate(4deg);
  opacity: 0.86;
}

.pricing-decor--cards-2 {
  top: 88%;
  left: calc(-5rem + 3cm);
  width: 12.5%;
  transform: rotate(-10deg);
  opacity: 0.95;
}

.pricing-decor--cards-3 {
  top: 86%;
  right: -6.75rem;
  width: 17.5%;
  transform: rotate(12deg);
  opacity: 0.9;
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .pricing-decor {
    display: none;
  }
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .pricing-hero {
    padding: calc(8.5rem - 1.5cm) 1.5rem 3rem 1.5rem;
  }

  .pricing-hero__content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "image"
      "desc";
    row-gap: 1.25rem;
    column-gap: 0;
    text-align: left;
    align-items: stretch;
  }

  .pricing-hero__title {
    font-size: 2.5rem;
    margin: -0.5rem 0 0 0;
    text-align: left;
  }

  .pricing-hero__description {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .pricing-hero__image {
    width: 100%;
    max-width: min(26rem, 92vw);
    margin: 0 auto;
    justify-self: center;
  }

  .pricing-hero__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: min(46vh, 22rem);
    object-fit: cover;
    object-position: center center;
  }
}

/* iPad 11" portrait: generic .pricing-hero — override calc(8.5rem - 1.5cm) which is too tight vs fixed header */
@media (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .pricing-hero {
    padding: calc(17.25rem + env(safe-area-inset-top, 0px)) 1.5rem 3rem 1.5rem !important;
  }
}

@media (max-width: 30rem) {
  .pricing-hero {
    padding: calc(7.5rem - 1.5cm) 1rem 2.5rem 1rem;
  }

  .pricing-hero__content {
    row-gap: 1rem;
  }

  .pricing-hero__title {
    font-size: 2rem;
    margin: -0.35rem 0 0 0;
  }

  .pricing-hero__description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .pricing-hero__image {
    max-width: min(24rem, 94vw);
  }

  .pricing-hero__image img {
    max-height: min(40vh, 20rem);
  }
}

.main_pricing {
  background: url("../images/Services/Deb_Brand_Photos-93_result.webp") top center / contain no-repeat;
}

/* ******************PRIVACY POLICY PAGE******************** */

.privacy-policy-hero {
  background: linear-gradient(135deg, #E0F7E0 0%, #f8f9fa 100%);
  padding: 2rem 0 3rem 0;
  min-height: auto;
}

.privacy-policy-hero__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

.privacy-policy-hero__content {
  display: flex;
  align-items: center;
  gap: 4rem;
  min-height: auto;
}

.privacy-policy-hero__text {
  flex: 1;
  max-width: 54.16667%;
}

.privacy-policy-hero__title {
  font-size: 3.5rem;
  line-height: 1.2;
  color: #303A4D;
  font-weight: 700;
  margin-bottom: 2rem;
}

.privacy-policy-hero__description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #303A4D;
}

.privacy-policy-hero__description p {
  margin: 0;
}

.privacy-policy-hero__image {
  flex: 1;
  max-width: 41.66667%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.privacy-policy-hero__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .privacy-policy-hero {
    padding: 2rem 1.5rem 3rem 1.5rem;
  }
  
  .privacy-policy-hero__content {
    flex-direction: column;
    text-align: left;
    align-items: stretch;
    gap: 2.5rem;
  }
  
  .privacy-policy-hero__text {
    display: contents;
  }

  .privacy-policy-hero__title {
    order: 0;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }

  .privacy-policy-hero__description {
    order: 2;
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .privacy-policy-hero__image {
    order: 1;
    max-width: 100%;
    width: 100%;
    margin: 0;
    align-self: stretch;
  }
  
  .privacy-policy-hero__image img {
    width: 100%;
  }
}

@media (max-width: 30rem) {
  .privacy-policy-hero {
    padding: 2rem 1rem 2.5rem 1rem;
  }
  
  .privacy-policy-hero__title {
    font-size: 2rem;
    margin-bottom: 0.65rem;
  }

  .privacy-policy-hero__description {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* ******************EXPECTATIONS SECTION******************** */

.expectations {
  background-color: #E0F7E0;
  padding: 5rem 0;
}

.expectations__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

.expectations__title {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #303A4D;
}

.expectations__intro {
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #303A4D;
  max-width: 66.66667%;
  margin: 0 auto 3rem;
}

.expectations__videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.expectations__video-item {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expectations__video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.expectations__video-wrapper {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.expectations__video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  background-color: #000;
}

.expectations__video-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #303A4D;
  margin-bottom: 0.75rem;
}

.expectations__video-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .expectations {
    padding: 4rem 1.5rem;
  }
  
  .expectations__videos {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .expectations__intro {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 30rem) {
  .expectations {
    padding: 3rem 1rem;
  }
  
  .expectations__video-item {
    padding: 1rem;
  }
  
  .expectations__video-title {
    font-size: 1.1rem;
  }
  
  .expectations__video-description {
    font-size: 0.95rem;
  }
}

.pricing {
  background-color: #F5F5F5;
  padding: 1rem 0 2rem 0;
}

.pricing__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 0;
}

.pricing__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 0.75rem;
  align-items: stretch;
  min-height: 31.25rem; /* 500px */
  position: relative;
  z-index: 2;
}

.pricing__column {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing__column:hover {
  transform: translateY(-5px);
  background-color: #E6E6FA;
  opacity: 0.9;
}

.pricing__item {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 28.125rem; /* 450px */
}

.item-pricing__info {
  text-align: center;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e1e4eb;
  min-height: 8.75rem; /* 140px */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-pricing__label {
  font-size: 1.5rem;
  font-weight: 600;
  color: #303A4D;
  margin-bottom: 1rem;
}

.item-pricing__cost {
  font-size: 3rem;
  font-weight: 700;
  color: #303A4D;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.item-pricing__period {
  font-size: 1rem;
  color: #666;
}

.item-pricing__list {
  display: grid;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.item-pricing__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.item-pricing__item::before {
  content: "✓";
  color: #4A90E2;
  font-weight: bold;
}

.item-pricing__button {
  display: inline-block;
  text-align: center;
  padding: 1rem 2rem;
  background-color: #E0F7E0;
  color: #303a4d;
  text-decoration: none;
  border-radius: 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.item-pricing__button:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.outro_pricing {
  background: url("../images/Services/Deb_Brand_Photos-47.jpg") center / cover no-repeat;
}

/* Desktop-only stagger so the pricing cards feel less uniform */
@media (min-width: 62.0rem) {
  .pricing__row {
    align-items: flex-start;
  }

  .pricing__column:nth-child(1) {
    margin-top: 0;
  }

  .pricing__column:nth-child(2) {
    margin-top: 0;
  }

  .pricing__column:nth-child(3) {
    margin-top: 0;
  }

  .pricing__column:nth-child(4) {
    margin-top: 0;
  }
}

@media (max-width: 62.0rem) {
  .pricing__row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .pricing__row {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .pricing {
    padding: 4rem 0;
  }

  /* pricing.html — cards section: default 4rem top is too airy on phones */
  .page.page--pricing > section.page__pricing.pricing {
    padding: 1.25rem 0 2.25rem 0;
  }

  .item-pricing__label {
    font-size: 1.25rem;
  }

  .item-pricing__cost {
    font-size: 2.5rem;
  }
}

@media (max-width: 30rem) {
  .page.page--pricing > section.page__pricing.pricing {
    padding: 0.85rem 0 2rem 0;
  }

  .page.page--pricing > section.page__pricing.pricing .pricing__container {
    padding-top: clamp(0.35rem, 2vw, 0.65rem) !important;
  }
}

/* **************REVIEWS PAGE**************** */
.reviews__container {
  padding-top: 160px;
  padding-bottom: 160px;
}

.reviews__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
}

.reviews__column {
  border: 1px solid #e1e4eb;
  border-radius: 8px;
}

.reviews__item {
  padding-top: 48px;
  padding-bottom: 56px;
  padding-right: 32px;
  padding-left: 32px;
}

.item-reviews {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-reviews__img {
  max-width: 2.875em;
  height: 2.25em;
  margin: 0 auto;
  margin-bottom: 46px;
}

.item-reviews__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-reviews__text {
  margin-bottom: 40px;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 150%;
}

.item-reviews__author {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.item-reviews__geo {
  font-size: 14px;
  letter-spacing: 0.002em;
}

/* ******************PRICING PAGE******************** */
.pricing__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pricing__caption {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 4%;
}

.pricing__title {
  font-weight: 600;
  font-size: 72px;
  margin-bottom: 24px;
}

.pricing__text {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 88px;
}

.pricing__row {
  display: flex;
  align-items: start;
  gap: 24px;
}

.pricing__column {
  border: 2px solid #e1e4eb;
  border-radius: 8px;
}

.pricing__item {
  padding: 40px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.item-pricing__info {
  padding-bottom: 32px;
  border-bottom: 1px solid #e1e4eb;
  margin-bottom: 32px;
}

.item-pricing__label {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1%;
  margin-bottom: 16px;
}

.item-pricing__cost {
  font-size: 72px;
  font-weight: 600;
  margin-bottom: 16px;
}

.item-pricing__list {
  flex: 1 1 auto;
  margin-bottom: 64px;
}

.item-pricing__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-pricing__item::before {
  content: "";
  background: url("../img/pricing/check.svg") 0 0 no-repeat;
  width: 1em;
  height: 1.125em;
}

.item-pricing__item:not(:last-child) {
  margin-bottom: 12px;
}

.item-pricing__button {
  display: inline-block;
  font-size: 22px;
  letter-spacing: 2%;
  font-weight: 600;
  color: #fff;
  padding: 20px 82px;
  background-color: #303A4D;
  border-radius: 64px;
  text-shadow: none;
  margin-top: auto;
}

.item-pricing__button:hover {
  background-color: #1f2734;
  color: #fff;
}

/* Pricing page cards (pricing.html): later duplicate rules set .pricing__container to 140px top/bottom
   padding and .pricing__row to flex + 24px gap, so four cards sat in one cramped row with huge vertical air. */
.page.page--pricing > section.page__pricing.pricing .pricing__container {
  padding-top: clamp(0.85rem, 2.2vw, 1.75rem) !important;
  padding-bottom: clamp(1.5rem, 2.8vw, 2.5rem) !important;
  padding-left: clamp(1rem, 3vw, 2rem) !important;
  padding-right: clamp(1rem, 3vw, 2rem) !important;
  display: block !important;
  max-width: min(72rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

.page.page--pricing > section.page__pricing.pricing .pricing__row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(1.25rem, 2.2vw, 2rem) !important;
  align-items: stretch !important;
  min-height: 0 !important;
}

@media (min-width: 62rem) {
  .page.page--pricing > section.page__pricing.pricing .pricing__row {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: clamp(1.5rem, 2.5vw, 2.75rem) !important;
    row-gap: clamp(1.35rem, 2vw, 2rem) !important;
  }

  .page.page--pricing > section.page__pricing.pricing .pricing__item {
    min-height: auto !important;
  }
}

@media (max-width: 47.998rem) {
  .page.page--pricing > section.page__pricing.pricing .pricing__row {
    grid-template-columns: 1fr !important;
  }
}

/* Pricing page: later template rules set .item-pricing__cost to 72px and buttons to 22px + 82px padding —
   in four columns prices look huge and “Book Now” wraps badly. */
.page.page--pricing > section.page__pricing.pricing .pricing__column {
  min-width: 0;
}

.page.page--pricing > section.page__pricing.pricing .item-pricing__cost {
  font-size: clamp(1.45rem, 1.1vw + 1rem, 1.85rem) !important;
  line-height: 1.12 !important;
  margin-bottom: 0.35rem !important;
  font-weight: 700 !important;
}

.page.page--pricing > section.page__pricing.pricing .item-pricing__label {
  font-size: clamp(0.95rem, 0.6vw + 0.82rem, 1.15rem) !important;
  margin-bottom: 0.45rem !important;
  line-height: 1.25 !important;
}

.page.page--pricing > section.page__pricing.pricing .item-pricing__period {
  font-size: clamp(0.8rem, 0.35vw + 0.72rem, 0.9rem) !important;
}

.page.page--pricing > section.page__pricing.pricing .item-pricing__button {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin-top: auto !important;
  padding: 0.5rem 0.75rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.02em !important;
  color: #303a4d !important;
  background-color: #e0f7e0 !important;
  border-radius: 2rem !important;
  text-align: center !important;
  text-shadow: none !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

.page.page--pricing > section.page__pricing.pricing .item-pricing__button:hover {
  background-color: #d4f0d4 !important;
  color: #303a4d !important;
  opacity: 1 !important;
  transform: translateY(-1px) !important;
}

.team {
  background-color: #e1e4eb;
}

.team__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.team__title {
  text-align: center;
  margin-bottom: 96px;
  max-width: 40.25%;
}

.team__row {
  display: grid;
  column-gap: 24px;
  row-gap: 96px;
  grid-template-columns: repeat(3, 1fr);
}

.team__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-team__img {
  width: 100%;
  max-width: 30%;
  aspect-ratio: 360 / 363;
  margin-bottom: 40px;
}

.item-team__img img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.item-team__name {
  max-width: 15.5%;
  font-size: 32px;
  font-weight: 600;
  line-height: 120%;
  text-align: center;
  margin-bottom: 12px;
}

.item-team__role {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  letter-spacing: 2%;
}

.item-team__role span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-team__role span::after {
  content: "";
  background: url("../img/team/icons/star.svg") 0 0 no-repeat;
  width: 0.75em;
  height: 0.75em;
}

.item-team__text {
  font-size: 16px;
  text-align: center;
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 27.33333%;
  margin-bottom: 20px;
}

.item-team__icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* *************FAQ PAGE************** */
.faqs__container {
  padding-top: 140px;
  padding-bottom: 140px;
}

.faqs__title {
  text-align: center;
  margin-bottom: 80px;
}

.spollers-faq__item {
  width: 100%;
}

.spollers-faq__item:not(:last-child) {
  margin-bottom: 24px;
}

.spollers-faq__button {
  display: inline-block;
  border: 2px solid #e1e4eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 8px;
}

.spollers-faq__button span {
  padding-left: 40px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-weight: 600;
}

.spollers-faq__button img {
  padding-right: 34.5px;
}

.spollers-faq__text {
  max-height: 0;
  overflow: hidden;
  width: 100%;
  display: block;
}

.spollers-faq__item.active .spollers-faq__text {
  max-height: min(90vh, 92vw);
  max-height: calc(62.5em + 1.0em);
}

.spollers-faq__item.active .spollers-faq__button {
  border-bottom: none;
  border-radius: 8px 8px 0px 0px;
}

.spollers-faq__item.active .spollers-faq__button span {
  padding-bottom: 32px;
}

.spollers-faq__item.active .spollers-faq__button img {
  transform: translate(-34px, 0px) rotate(180deg);
}

.spollers-faq__inner {
  padding-top: 20px;
  padding-left: 40px;
  border: 2px solid #e1e4eb;
  border-radius: 0px 0px 8px 8px;
  line-height: 150%;
  padding-bottom: 20px;
  border-top: none;
  padding-right: 100px;
}

/* ****************TEAM PAGE**************** */
.director__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  align-items: center;
  gap: 96px;
}

.director__title {
  margin-bottom: 16px;
}

.director__role {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 40px;
}

.director__text {
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 40%;
}

.director__text p:not(:last-child) {
  margin-bottom: 20px;
}

.director__img {
  max-width: 46%;
  width: 100%;
  aspect-ratio: 552 / 614;
}

.director__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ****************GALLERY**************** */
.gallery__container {
  padding-bottom: 140px;
  padding-top: 140px;
}

.gallery__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
  margin-bottom: 96px;
  justify-items: center;
}

.gallery__item {
  max-width: 30%;
  width: 100%;
  aspect-ratio: 360 / 407;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.gallery__paggination {
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  gap: 42px;
}

.gallery__paggination button:first-child {
  transform: translate(0px, 5px);
}

.gallery__paggination button:last-child {
  transform: rotate(-180deg) translate(0px, 5px);
}

.gallery_active {
  color: #fff;
  padding: 10px 15px;
  background-color: #303a4d;
  border-radius: 100px;
  display: inline-block;
}

/* ****************RESOURCES**************** */
.resources__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
  justify-items: center;
}

.resources__img {
  width: 100%;
  max-width: 100%;
  /* Replace fixed height with responsive aspect ratio */
  aspect-ratio: 360 / 330;
  margin-bottom: 32px;
}

.resources__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.resources__title {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 12px;
}

.resources__text {
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 20.25%;
  margin-bottom: 32px;
}

.resources__button {
  background-color: #fff;
  color: #303a4d;
  font-weight: 600;
  letter-spacing: 2%;
  border: 2px solid #303a4d;
  border-radius: 64px;
}

/* ****************ADAPTIVE**************** */

@media (max-width: 62.0rem) {
  .services__row {
    grid-template-columns: 1fr;
    gap: 6rem;
    justify-items: center;
  }

  /* Services page top cards: 6rem row gap is far too loose on narrow screens */
  .page__services.services .services__row--four {
    gap: 1.35rem;
  }

  .item-services {
    text-align: center;
    align-items: center;
  }

  .page__main {
    padding-bottom: 80px;
  }

  .header__contact {
    display: none;
  }
  
  .header__navigation {
    margin-left: 0;
    padding-top: 0;
  }

  .header__left {
    padding-top: 0;
  }
}

@media (min-width: 47.999rem) {
  .menu__list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 62.1875rem) {
  .item-pricing__button {
    font-size: 19px;
  }
}

@media (max-width: 62.6875rem) {
  .resources__container {
    padding-top: 70px;
    padding-bottom: 70px;
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__paggination {
    gap: 27px;
  }

  .gallery__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .team__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .director__container {
    flex-direction: column;
    padding-top: 70px;
    padding-bottom: 70px;
    gap: 10px;
    text-align: center;
  }

  .item-pricing {
    padding: 20px;
    padding-bottom: 30px;
  }

  .pricing__title {
    font-size: 39px;
  }

  .pricing__text {
    margin-bottom: 25px;
  }

  .item-pricing__button {
    padding: 16px 42px;
  }

  .footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
  }

  .footer__policy,
  .footer__copyright {
    justify-self: center;
    text-align: center;
    margin: 0.5rem 0;
  }

  .footer__logo {
    margin-bottom: 1rem;
  }

  .services-page__column {
    gap: 30px;
    font-size: 15px;
  }

  .services-page__title {
    font-size: 29px;
  }

  .reviews__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
    column-gap: 10px;
  }

  .reviews__item {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    display: inline-block;
  }

  .item-reviews__text {
    font-size: 16px;
  }

  .item-reviews__author {
    font-size: 16px;
  }
}

@media (max-width: 47.999rem) {
  .spollers-faq__item.active .spollers-faq__button img {
    transform: translate(-10px, -10px) rotate(180deg);
  }

  .spollers-faq__button span {
    padding-top: 15px;
    padding-left: 10px;
    padding-bottom: 15px;
    font-weight: 600;
    font-size: 14px;
  }

  .spollers-faq__button img {
    padding-right: 10px;
  }

  .spollers-faq__inner {
    font-size: 16px;
    padding-left: 10px;
    line-height: 130%;
  }

  .pricing__container {
    text-align: center;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .page.page--pricing .pricing__container {
    text-align: left;
  }

  .pricing__row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .page.page--pricing .pricing__row {
    align-items: stretch;
  }

  .item-pricing__button {
    font-size: 17px;
    padding: 15px 32px;
  }

  .reviews__container {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .icon-menu {
    display: block;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 1.875rem;
    flex: 0 0 1.875rem;
    width: 1.875rem;
    height: 1.125rem;
    cursor: pointer;
    z-index: 5;
  }

  .icon-menu span,
  .icon-menu::before,
  .icon-menu::after {
    content: "";
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    right: 0;
    position: absolute;
    width: 100%;
    height: 0.125rem;
    background-color: #000;
  }

  .icon-menu::before {
    top: 0;
  }

  .icon-menu::after {
    bottom: 0;
  }

  .contact__container {
    flex-direction: column;
    padding-top: 2.5rem;
    gap: 50px;
    padding-bottom: 80px;
  }

  .icon-menu span {
    top: calc(50% - 0.0625rem);
  }

  .menu-open .icon-menu span {
    width: 0;
  }

  .menu-open .icon-menu::before {
    top: calc(50% - 0.0625rem);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .menu-open .icon-menu::after {
    bottom: calc(50% - 0.0625rem);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .menu__body {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    padding: 7rem 0.938rem 1.875rem 0.938rem;
    overflow: auto;
    flex-direction: column;
    row-gap: 0;
  }

  .menu__body::before {
    content: "";
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    min-height: 5.75rem;
    background-color: #fff;
    border-bottom: 1px solid #000;
    z-index: 2;
  }

  .menu-open .menu__body {
    left: 0;
  }

  .menu-open .menu__body::before {
    left: 0;
  }

  .menu__item {
    text-align: center;
  }

  .menu__item:not(:last-child) {
    margin-bottom: 0;
  }

  .menu__link {
    font-size: 1.1rem;
    line-height: 1.2;
  }

  .actions-header__button {
    padding: 0.75rem;
  }

  .main__container {
    padding-top: 12.5rem;
  }

  .main__container_pages {
    padding-top: 290px;
  }

  .main__title {
    font-size: 3rem;
  }

  .title {
    font-size: 2rem;
  }

  .about__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    text-align: left;
  }

  .about__container {
    flex-direction: column;
    padding-top: 4rem;
    padding-bottom: 4rem;
    gap: 2rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .about__image {
    max-width: 100%;
    height: auto;
  }
  
  .about__image img {
    max-height: min(58vmin, 72vh);
    object-fit: cover;
    /* Prevent About hero image from cropping the top on iPhone/iPad */
    object-position: center top;
    width: 100%;
  }
  
  .about__title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .about__text {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.6;
  }

  /* about.html #my-approach: title → hero image → paragraphs (not image after all copy) */
  .page.page--about #my-approach .about__content {
    display: contents;
  }

  .page.page--about #my-approach .about__title {
    order: 0;
    margin-bottom: 0.75rem;
  }

  .page.page--about #my-approach .about__image {
    order: 1;
    width: 100%;
    max-width: 100%;
  }

  .page.page--about #my-approach .about__text {
    order: 2;
  }

  /* Most about CTAs: full-width on phones — not Schedule / Psychology Today rows */
  .about__button:not(.about-video-cta__button) {
    width: 100%;
    text-align: left;
    max-width: 100%;
  }

  .about-video-cta .about__button.button,
  .about-video-cta .about-video-cta__button,
  .about__schedule-cta .about__button {
    width: auto !important;
    max-width: min(100%, 22rem) !important;
    text-align: center !important;
    display: inline-block !important;
  }
  
  .about__gallery {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.8rem !important;
  }
}

@media (max-width: 30rem) {
  .about__container {
    padding-top: 2rem;
    padding-bottom: 2rem;
    gap: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .about__gallery {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
    margin: 1.5rem 0 !important;
  }
  
  .about__image {
    max-width: 100%;
    height: auto;
  }
  
  .about__image img {
    max-height: min(48vmin, 58vh);
    /* Keep top of subject visible on the narrowest screens */
    object-position: center top;
  }
  
  .about__title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .about__text {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .about__text p:not(:last-child) {
    margin-bottom: 1rem;
  }
  
  .about__button {
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
  }

  #my-approach .about__container {
    padding-top: 0.35rem !important;
    padding-bottom: 1.35rem !important;
    gap: 0.75rem !important;
  }
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .services__container {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .testimonial__title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .testiomonial__caption {
    margin-bottom: 2rem;
  }

  .outro__container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .logo {
    font-size: 1rem;
  }

  .services-page__column {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    text-align: left;
    font-size: 20px;
    gap: 4rem;
  }

  .main__title {
    font-size: 3rem;
  }
  
  .main__text {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  /* About #my-approach: desktop cm offsets are huge on small screens; tighten space around hero image */
  #my-approach .about__image {
    margin-top: 0 !important;
    aspect-ratio: auto !important;
    height: auto !important;
    overflow: visible;
  }

  /* iPhone & narrow tablets: show full hero photo (avoid object-fit: cover crop) */
  .page.page--about #my-approach .about__image img,
  #my-approach .about__image img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center top !important;
  }

  #my-approach .about__content {
    margin-top: 0 !important;
  }

  #my-approach .about__container {
    padding-top: 0.5rem !important;
    padding-bottom: 1.75rem !important;
    gap: 1rem !important;
  }

  #my-approach .about__text {
    margin-bottom: 0 !important;
  }
}

/* About #my-approach: iPad 11" portrait — hero image was full-width + uncapped (reads oversized vs copy) */
@media (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--about #my-approach .about__image {
    width: 100% !important;
    max-width: min(28rem, 82vw) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page.page--about #my-approach .about__image img {
    max-height: min(40vh, 22rem) !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}

@media (max-width: 61.936rem) {
  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }

  .footer__policy,
  .footer__logo,
  .footer__copyright {
    justify-self: center;
    text-align: center;
  }

  .footer__logo {
    font-size: 1.5rem;
    max-width: 26.66667%;
  }

  .footer__policy,
  .footer__copyright {
    font-size: 0.85rem;
  }
}

@media (max-width: 33.125rem) {
  .reviews__row {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .actions-header__contact {
    display: none;
  }

  .footer__contact {
    margin: 0.5rem 0;
  }

  .footer__container {
    padding: 1.5rem 1rem;
    gap: 1rem;
  }

  .footer__logo {
    font-size: 1.1rem;
    max-width: 20%;
  }

  .footer__name {
    font-size: 1rem;
  }

  .footer__contact-item {
    font-size: 0.85rem;
  }
}

/* Base link styles */
a {
  color: #303A4D;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* Header specific styles */
.header a {
  color: #303A4D;
}

.header a:hover {
  color: #303A4D;
  opacity: 0.8;
}

/* Remove all color transitions */
.actions-header__contact,
.menu__link,
.footer__policy,
.footer__contact-item,
.connect-contact__item {
  transition: opacity 0.3s ease;
}

/* Remove all color changes on hover */
.actions-header__contact:hover,
.menu__link:hover,
.footer__policy:hover,
.footer__contact-item:hover,
.connect-contact__item:hover {
  color: #303A4D;
  opacity: 0.8;
}

/* Button styles */
.button {
  font-weight: 600;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s;
  color: #303a4d;
  background-color: #E0F7E0;
}

.button:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

/* Remove the general link hover effect */
a:hover:not(.button):not(.actions-header__button) {
  color: #303A4D;
  opacity: 0.8;
}

/* Keep button background colors but update hover */
.actions-header__button {
  background-color: #E0F7E0;
  color: #303a4d;
}

.actions-header__button:hover {
  background-color: #E0F7E0;
  color: #303a4d;
  opacity: 0.8;
  transform: translateY(-2px);
}

/* ****************PRIVACY POLICY PAGE**************** */
.privacy__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 0.938rem;
}

.privacy__section {
  margin-bottom: 3rem;
}

.privacy__section:last-child {
  margin-bottom: 0;
}

.privacy__title {
  margin-bottom: 2rem;
  color: #303A4D;
}

.privacy__content {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.privacy__content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #303A4D;
  margin-bottom: 1rem;
}

.privacy__content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.privacy__content ul {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.privacy__content ul:last-child {
  margin-bottom: 0;
}

.privacy__content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.privacy__content li:last-child {
  margin-bottom: 0;
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .privacy__container {
    padding: 1.5rem 0.938rem;
  }

  .privacy__section {
    margin-bottom: 2rem;
  }

  .privacy__content {
    padding: 1.5rem;
  }

  .privacy__title {
    margin-bottom: 1.5rem;
  }

  .privacy__content h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 47.999rem) {
  .header__navigation {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .menu__body {
    flex-direction: column;
    gap: 0;
  }
  
  .menu__list {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    row-gap: 0;
  }
  
  .menu__submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 1rem;
    margin-top: 0.06rem;
    min-width: 0;
    width: 100%;
  }
  
  .menu__submenu-item {
    padding: 0.1rem 0;
  }
}

@media (max-width: 48rem) and (min-width: 30.0625rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .main {
    background-position: center 80%;
    background-size: cover;
    padding-bottom: 60px !important;
    height: auto;
    min-height: 120vh;
  }
  
  .main__container {
    padding-top: 35rem !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
  
  .main__text {
    padding: 0 !important;
  }
  
  .main__text p {
    font-size: 1rem;
    padding: 15px !important;
    margin-bottom: 15px !important;
  }
  
  .main__text strong {
    font-size: 1.15em !important;
    display: block !important;
    margin-bottom: 0.5rem !important;
  }
  
  .main__button {
    font-size: 0.9em !important;
    padding: 0.7rem 1.5rem !important;
    margin-top: 1rem !important;
  }
  
  .main__button svg {
    width: 1.125em !important;
    height: 1.125em !important;
  }
}

@media (max-width: 30rem) {
  .main {
    background-position: center 5%;
    background-size: cover;
    padding-bottom: 40px !important;
    min-height: 100vh;
    padding-top: 0 !important;
  }
  
  .main__container {
    padding-top: 5rem !important;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .main__text p {
    font-size: 0.9rem;
    padding: 12px !important;
    margin-bottom: 12px !important;
  }
  
  .main__text strong {
    font-size: 1.1em !important;
  }
  
  .main__button {
    font-size: 0.8em !important;
    padding: 0.6rem 1.2rem !important;
  }
  
  .main__button svg {
    width: 1em !important;
    height: 1em !important;
  }
}

.footer__image {
  position: absolute;
  top: 1rem;
  right: 1rem;
  max-width: 20.83333%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Same horizontal band as Psychology Today so the AU badge sits centred underneath */
.footer__image--australian {
  top: calc(1rem + 4.75rem + 0.5rem);
  right: 1rem;
  left: auto;
  max-width: 20.83333%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__image--australian img {
  mix-blend-mode: multiply;
  filter: brightness(1.1) contrast(1.1);
  max-height: 4rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.footer__image img {
  width: auto;
  max-width: 100%;
  max-height: 4.75rem;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* ************SUPERVISION PAGE************ */

.supervision-hero {
  background: #E0F7E0;
  padding: 80px 0 60px 0;
  min-height: auto;
}

.page.page--supervision > section.supervision-hero:first-of-type {
  padding-top: 3.25rem;
  padding-bottom: 3.75rem;
}

.supervision-hero__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.supervision-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 41.66667%);
  grid-template-areas:
    "title image"
    "desc  image";
  column-gap: 3rem;
  row-gap: 1.5rem;
  align-items: start;
  min-height: auto;
  padding-top: 0;
  padding-bottom: 1rem;
}

.supervision-hero__title {
  grid-area: title;
  font-size: 3.5rem;
  line-height: 1.2;
  color: #303A4D;
  font-weight: 700;
  margin: 0;
}

.supervision-hero__description {
  grid-area: desc;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #303A4D;
  max-width: 65rem;
  min-width: 0;
}

.supervision-hero__description p {
  margin-bottom: 1rem;
}

.supervision-hero__description ul {
  list-style: none;
  padding-left: 0;
}

.supervision-hero__description li {
  margin-bottom: 1rem;
}

.supervision-hero__image {
  grid-area: image;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 5.5rem;
  min-width: 0;
}

.supervision-hero__image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .supervision-hero {
    padding: 3.25rem 20px 3rem 20px;
    min-height: auto;
  }

  .supervision-hero__content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "image"
      "desc";
    row-gap: 1.25rem;
    column-gap: 0;
    text-align: left;
    min-height: auto;
  }

  .supervision-hero__image {
    margin-top: 0 !important;
  }

  .supervision-hero__title {
    font-size: 2rem;
  }

  .supervision-hero__description {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
  }

  .supervision-hero__description ul {
    margin-left: 0;
  }

  .supervision-hero__image img {
    max-height: min(58vmin, 72vh);
    object-fit: cover;
    width: 100%;
  }
}

@media (max-width: 30rem) {
  .supervision-hero {
    padding: 60px 15px 2rem 15px;
  }

  .supervision-hero__content {
    row-gap: 1rem;
  }

  .supervision-hero__title {
    font-size: 1.8rem;
  }

  .supervision-hero__description {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .supervision-hero__description li {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }

  .supervision-hero__image img {
    max-height: min(48vmin, 58vh);
  }
}

.supervision__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 4rem 0.938rem;
}

.supervision__hero {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.supervision__content {
  flex: 1;
}

.supervision__title {
  margin-bottom: 1.5rem;
  color: #303A4D;
}

.supervision__text p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #303A4D;
}

.supervision__image {
  flex: 1;
  max-width: 41.66667%;
}

.supervision__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.supervision__image img.supervision__image--rotated {
  transform: rotate(90deg) scale(0.86);
  transform-origin: center;
}

/* Supervision Features Section */
.supervision-features__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 4rem 0.938rem;
  background-color: #F8F9FA;
}

.supervision-features__title {
  text-align: center;
  margin-bottom: 3rem;
  color: #303A4D;
}

.supervision-features__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.supervision-features__item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.supervision-features__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.supervision-features__subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #303A4D;
}

.supervision-features__text p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #303A4D;
}

.supervision-features__text ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.supervision-features__text li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
  color: #303A4D;
}

/* Supervision Benefits Section */
.supervision-benefits__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 4rem 0.938rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.supervision-benefits__content {
  flex: 1;
}

.supervision-benefits__title {
  margin-bottom: 1.5rem;
  color: #303A4D;
}

.supervision-benefits__text p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #303A4D;
}

.supervision-benefits__text ul {
  margin: 1.5rem 0;
  padding-left: 0;
  list-style: none;
}

.supervision-benefits__text ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: #303A4D;
}

.supervision-benefits__text ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.375em;
  height: 0.375em;
  border-radius: 50%;
  background-color: #5a9e5a;
}

.supervision-benefits__text li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: #303A4D;
}

.supervision-benefits__image {
  flex: 1;
  max-width: 41.66667%;
}

.supervision-benefits__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Soften and slightly reduce the circle-of-capacity image */
.supervision-benefits__image img.supervision-benefits__image--soft {
  width: 88%;
  margin: 0 auto;
  display: block;
  opacity: 0.65;
}

/* Supervision page — "What to Expect": wider image column + full cell width on laptop / MacBook */
@media (min-width: 64rem) {
  .page.page--supervision .supervision-benefits__container {
    gap: clamp(1.75rem, 2.5vw, 2.75rem);
  }

  .page.page--supervision .supervision-benefits__content {
    flex: 1 1 36%;
    max-width: 38%;
    min-width: 0;
  }

  .page.page--supervision .supervision-benefits__image {
    flex: 1 1 64%;
    max-width: 66%;
    min-width: 0;
  }

  .page.page--supervision .supervision-benefits__image img.supervision-benefits__image--soft {
    width: 100%;
    max-width: min(52rem, 100%);
  }
}

@media (min-width: 80rem) {
  .page.page--supervision .supervision-benefits__image img.supervision-benefits__image--soft {
    max-width: min(56rem, 100%);
  }
}

/* Supervision Process Section */
.supervision-process__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 4rem 0.938rem;
  background-color: #F8F9FA;
}

.supervision-process__title {
  text-align: center;
  margin-bottom: 3rem;
  color: #303A4D;
}

.supervision-process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.supervision-process__step {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.supervision-process__step:hover {
  transform: translateY(-5px);
}

.supervision-process__number {
  width: 3.75em;
  height: 3.75em;
  background: #E0F7E0;
  color: #303A4D;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.supervision-process__content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #303A4D;
}

.supervision-process__content p {
  line-height: 1.6;
  color: #303A4D;
}

/* Main supervision page background */
.main_supervision {
  background: linear-gradient(135deg, #E0F7E0 0%, #F0F8F0 100%);
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

/* Responsive Design for Supervision Page */
@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .supervision__hero {
    flex-direction: column;
    gap: 2rem;
    text-align: left;
    align-items: stretch;
  }
  
  .supervision__image {
    max-width: 100%;
  }
  
  .supervision-benefits__container {
    flex-direction: column;
    gap: 2rem;
    text-align: left;
    align-items: stretch;
  }
  
  .supervision-benefits__image {
    max-width: 100%;
  }

  .supervision-features__title,
  .supervision-process__title {
    text-align: left;
  }

  .supervision-process__step {
    text-align: left;
  }

  .supervision-process__number {
    margin-left: 0;
    margin-right: auto;
  }
  
  .supervision-features__row {
    grid-template-columns: 1fr;
  }
  
  .supervision-process__steps {
    grid-template-columns: 1fr;
  }
  
  .supervision__container,
  .supervision-features__container,
  .supervision-benefits__container,
  .supervision-process__container {
    padding: 2rem 0.938rem;
  }

  /* Supervision page only: inline-centred outro (matches mobile body copy alignment) */
  .page.page--supervision h2.outro__title {
    text-align: left !important;
  }

  .page.page--supervision .outro__container > div[style*="text-align"] {
    text-align: left !important;
  }

  .page.page--supervision .supervision-benefits__image img.supervision-benefits__image--soft {
    margin-left: 0;
    margin-right: auto;
  }
}

/* Mobile Responsiveness for Practice Section */
@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .practice {
    padding: 4rem 20px 4rem 20px !important;
  }
  
  .practice__container {
    padding: 0 1rem !important;
    max-width: 100% !important;
  }
  
  .practice__title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .practice__content {
    flex-direction: column !important;
    gap: 2rem !important;
    align-items: center !important;
  }
  
  .practice__text {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-align: left;
  }
  
  .practice__text h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .practice__text ul {
    padding-left: 1rem;
  }
  
  .practice__text li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
  }
  
  .practice__image {
    max-width: 100% !important;
    margin-top: 0 !important;
    order: -1;
  }
  
  .practice__image img {
    max-height: min(58vmin, 72vh);
    object-fit: cover;
    width: 100%;
  }
  
  .practice__button {
    width: 100%;
    text-align: center;
    margin-top: 1.5rem !important;
    max-width: 100%;
  }

  /* Home “In a Nutshell”: not full-bleed — compact label-sized button, centred in the section */
  .page.page--home .practice__button {
    width: fit-content !important;
    max-width: min(20rem, 92%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    padding: 0.65rem 1.25rem !important;
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 30rem) {
  .practice {
    padding: 3rem 15px 3rem 15px !important;
  }
  
  .practice__container {
    padding: 0 0.5rem !important;
  }
  
  .practice__title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .practice__content {
    gap: 1.5rem !important;
  }
  
  .practice__text {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .practice__text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }
  
  .practice__text ul {
    padding-left: 0.8rem;
  }
  
  .practice__text li {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }
  
  .practice__image img {
    max-height: min(48vmin, 58vh);
  }
  
  .practice__button {
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
  }
}

/* Home “In a Nutshell”: both photos — base mobile uses cover + max-height (tops cropped; second image worst). */
@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--home .practice__image img {
    max-height: none;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }
}

/* Mobile Responsiveness for Supervision Hero Section */
@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .main_supervision {
    padding: 120px 0 40px 0 !important;
  }
  
  .main__container_pages {
    max-width: 100% !important;
    width: 95% !important;
    padding: 0 15px !important;
  }
  
  .main__title {
    font-size: 2rem !important;
    margin-bottom: 20px !important;
  }
  
  .main__text_pages {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }
  
  .main__text_pages p {
    margin-bottom: 15px !important;
    font-size: 0.95rem !important;
  }
  
  .main__text_pages div {
    margin-left: 10px !important;
  }
}

@media (max-width: 30rem) {
  .main_supervision {
    padding: 100px 0 30px 0 !important;
  }
  
  .main__container_pages {
    width: 98% !important;
    padding: 0 10px !important;
  }
  
  .main__title {
    font-size: 1.8rem !important;
    margin-bottom: 15px !important;
  }
  
  .main__text_pages {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  
  .main__text_pages p {
    margin-bottom: 12px !important;
    font-size: 0.9rem !important;
  }
  
  .main__text_pages div {
    margin-left: 5px !important;
  }
}

@media (max-width: 30rem) {
  .supervision-features__item,
  .supervision-process__step {
    padding: 1.5rem;
  }
  
  .supervision-process__number {
    width: 3.125em;
    height: 3.125em;
  }
}

/* Mobile Header and Navigation */
@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .header__container {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem 0.7rem;
    min-height: auto;
  }

  .header__left {
    text-align: left;
    min-width: 0;
    flex: 1 1 auto;
  }

  .header__logo {
    /* Site-wide mobile header title — single source (overrides any legacy logo padding) */
    font-size: clamp(0.95rem, 1.9vw + 0.72rem, 1.42rem);
    line-height: 1.22;
    letter-spacing: -0.012em;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: manual;
    min-width: 0;
    max-width: 100%;
    display: block;
    padding-left: 0;
    padding-right: 0;
    min-height: 0;
    background: none;
  }

  .header__contact {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .actions-header__contact {
    font-size: 0.9rem;
  }

  .header__navigation {
    flex-shrink: 0;
    margin-left: 0;
    padding-top: 0;
  }

  .menu__list {
    flex-direction: column;
    gap: 0;
    row-gap: 0;
  }

  .menu__link {
    padding: 0.14rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 1.7rem;
    font-size: 1.05rem;
    line-height: 1.18;
    text-align: center;
  }

  .actions-header__button {
    margin-top: 0.2rem;
    text-align: center;
    white-space: normal;
    line-height: 1.25;
    max-width: 100%;
  }

  /* Prevent header phone number/email from forcing a horizontal scroll */
  .actions-header__contact {
    white-space: normal;
    word-break: break-word;
  }
}

@media (max-width: 30rem) {
  .header__container {
    gap: 0.45rem;
    padding: 0.6rem 0.5rem;
  }

  .header__logo {
    /* iPhone — site-wide (all pages use the same header block) */
    font-size: clamp(0.86rem, 2.75vw + 0.58rem, 1.22rem);
    line-height: 1.2;
    letter-spacing: -0.012em;
    padding-left: 0;
  }

  .actions-header__contact {
    font-size: 0.8rem;
  }
  
  .menu__link {
    font-size: 0.88rem;
    padding: 0.06rem 0.75rem;
    min-height: 1.5rem;
    line-height: 1.15;
  }

  .menu__body {
    /* Pull menu links upward on iPhone to avoid big empty space */
    padding: 5.35rem 0.938rem 1.5rem 0.938rem;
  }

  .menu__body::before {
    min-height: 4.25rem;
  }

  .menu__list {
    gap: 0;
    row-gap: 0;
  }

  .menu__submenu {
    margin-top: 0.05rem;
    padding-top: 0.08rem;
  }

  .menu__submenu-item {
    padding: 0.06rem 0;
  }

  .menu__submenu-link {
    font-size: 0.82rem;
    line-height: 1.2;
  }
  
  .actions-header__button {
    font-size: 0.9rem;
    padding: 0.55rem 1.1rem;
    margin-top: 0.15rem;
  }
}

/* Mobile Footer — explicit stack order, centred rhythm (fixes flag image jumping to top) */
@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .footer {
    padding: 0;
  }

  .footer__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.35rem;
    padding: 1.75rem 1.25rem 2.25rem;
    max-width: 100%;
  }

  .footer__contact {
    order: 1;
    align-items: center;
    width: 100%;
    max-width: 22rem;
    margin: 0 auto;
  }

  .footer__contact-item {
    justify-content: center;
    text-align: center;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .footer__social-icons {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .footer__badges {
    order: 2;
    align-self: center;
    justify-content: center;
    width: 100%;
    max-width: min(100%, 22rem);
    padding-right: 0 !important;
    padding-left: 0;
    margin: 0 auto;
  }

  .footer__acknowledgement {
    order: 3;
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    margin: 0 auto;
    padding: 0.85rem 0;
    border-top-width: thin;
    border-bottom-width: thin;
  }

  /* Base rule uses max-width: 66.67% on p — too narrow on phones */
  .footer__acknowledgement p {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .footer__bottom {
    order: 4;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    max-width: 24rem;
    margin: 0 auto;
    text-align: center;
  }

  .footer__policy,
  .footer__copyright {
    max-width: 100%;
    line-height: 1.35;
  }

  .footer__image {
    order: 5;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    max-width: 16.66667%;
    margin: 0.35rem auto 0;
    align-self: center;
  }

  .footer__image--australian {
    order: 6;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    max-width: 9.5rem;
    width: 100%;
    margin: 0.25rem auto 0;
    align-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer__image--australian img {
    max-height: 3.75rem;
  }
}

@media (max-width: 30rem) {
  .footer__container {
    gap: 1.15rem;
    /* Slightly tighter side padding so acknowledgement can use more viewport width */
    padding: 1.5rem 0.75rem 2rem;
  }

  .footer__name,
  .footer__business {
    font-size: 0.9rem;
  }

  .footer__contact-item {
    font-size: 0.8rem;
  }

  .footer__acknowledgement p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .footer__copyright {
    font-size: 0.8rem;
  }

  .footer__image {
    max-width: 15%;
  }

  .footer__image--australian {
    max-width: 8.75rem;
  }

  .footer__image--australian img {
    max-height: 3.5rem;
  }
}

/* Mobile Pricing Section Fixes */
@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .pricing__row {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .pricing__column {
    width: 100%;
    max-width: 100%;
  }
  
  .pricing__item {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .item-pricing {
    width: 100%;
    max-width: 100%;
    padding: 2rem 1.5rem;
  }
  
  .item-pricing__cost {
    font-size: 2.5rem !important;
    text-align: center;
  }
  
  .item-pricing__label {
    text-align: center;
    font-size: 1.2rem;
  }
  
  .item-pricing__period {
    text-align: center;
    font-size: 0.9rem;
  }
  
  .item-pricing__list {
    text-align: left;
    margin: 1.5rem 0;
  }
  
  .item-pricing__item {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
  }
  
  .item-pricing__button {
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
  }
}

@media (max-width: 30rem) {
  .pricing__row {
    gap: 1rem;
  }
  
  .item-pricing {
    padding: 1.5rem 1rem;
  }
  
  .item-pricing__cost {
    font-size: 2rem !important;
  }
  
  .item-pricing__label {
    font-size: 1.1rem;
  }
  
  .item-pricing__period {
    font-size: 0.8rem;
  }
  
  .item-pricing__item {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }
}

/* Mobile Contact Page Hero Section */
@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .main_contact {
    padding: 0 !important;
    height: auto;
    min-height: 120vh;
    background-position: center 70%;
    background-size: cover;
  }
  
  .main_contact .outro__container {
    padding-top: 0 !important;
  }
  
  .main_contact .outro__container > div {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    max-width: 100% !important;
    padding: 32rem 20px 3rem 20px !important;
  }
  
  .main_contact .main__title {
    font-size: 2rem !important;
    margin-bottom: 25px !important;
    text-align: center !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
  }
  
  .main_contact p {
    font-size: 1rem !important;
    text-align: center !important;
    padding: 15px !important;
    line-height: 1.5 !important;
  }
  
  .main_contact .main__phone-icon {
    text-align: center !important;
    margin-top: 1.5rem !important;
  }
  
  .main_contact .main__phone-icon a {
    font-size: 0.9rem !important;
    padding: 0.8rem 1.5rem !important;
  }
  
  .main_contact .main__phone-icon svg {
    width: 1.25em !important;
    height: 1.25em !important;
  }
}

@media (max-width: 30rem) {
  .main_contact {
    background-position: center 70%;
    min-height: 120vh;
  }
  
  .main_contact .outro__container > div {
    padding: 30rem 15px 2rem 15px !important;
  }
  
  .main_contact .main__title {
    font-size: 1.8rem !important;
    margin-bottom: 20px !important;
  }
  
  .main_contact p {
    font-size: 0.9rem !important;
    padding: 12px !important;
  }
  
  .main_contact .main__phone-icon a {
    font-size: 0.85rem !important;
    padding: 0.7rem 1.2rem !important;
  }
  
  .main_contact .main__phone-icon svg {
    width: 1.125em !important;
    height: 1.125em !important;
  }
}

.item-pricing__note {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #303A4D;
  font-weight: 500;
}

/* Supervision card: tighten gap between note and first bullet */
.item-pricing__info--supervision {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 30rem) {
  .expectations {
    padding: 3rem 1rem;
  }
  
  .expectations__video-item {
    padding: 1rem;
  }
  
  .expectations__video-title {
    font-size: 1.1rem;
  }
  
  .expectations__video-description {
    font-size: 0.95rem;
  }
}

.qualifications {
  background-color: #f5f5f5;
  padding: 4.5rem 0;
}

.qualifications__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.qualifications__title {
  margin-bottom: 1.5rem;
  color: #303A4D;
}

.qualifications__intro {
  max-width: 60%;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #303A4D;
}

.qualifications__badges {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
}

.qualifications__badge {
  background: #ffffff;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qualifications__badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.qualifications__badge img {
  max-width: 7.5em;
  max-height: 5em;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 64rem) {
  .qualifications__badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .qualifications {
    padding: 4rem 0;
  }

  .qualifications__container {
    text-align: left;
    padding-left: clamp(1rem, 4vw, 1.75rem);
    padding-right: clamp(1rem, 4vw, 1.75rem);
  }

  .qualifications__title {
    text-align: center;
    margin-bottom: 1.25rem;
  }

  .qualifications__intro {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.65;
  }

  /* Three badges in one horizontal row (not stacked) */
  .qualifications__badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.5rem, 2vw, 1rem);
    width: 100%;
    align-items: stretch;
  }

  .qualifications__badge {
    padding: clamp(0.45rem, 1.5vw, 0.75rem);
    min-width: 0;
  }
}

@media (max-width: 30rem) {
  .qualifications {
    padding: 3.5rem 0;
  }

  .qualifications__container {
    padding-left: clamp(0.875rem, 3.5vw, 1.25rem);
    padding-right: clamp(0.875rem, 3.5vw, 1.25rem);
  }

  .qualifications__intro {
    font-size: 1rem;
    line-height: 1.62;
  }

  .qualifications__badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.35rem, 1.25vw, 0.65rem);
  }

  .qualifications__badge {
    padding: 0.45rem 0.35rem;
    border-radius: 12px;
  }

  .qualifications__badge img {
    max-width: 100%;
    max-height: clamp(2.75em, 12vw, 4.25em);
  }
}

.faq-hero {
  background: linear-gradient(135deg, #E0F7E0 0%, #f8f9fa 100%);
  padding: 2cm 0 70px 0;
  min-height: auto;
}

.faq-hero__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

.faq-hero__content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.faq-hero__text {
  flex: 1;
  max-width: 54.16667%;
}

.faq-hero__title {
  font-size: 3.5rem;
  line-height: 1.2;
  color: #303A4D;
  font-weight: 700;
  margin-bottom: 2rem;
}

.faq-hero__description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #303A4D;
}

.faq-hero__description p {
  margin: 0;
}

.faq-hero__image {
  flex: 0 0 auto;
  max-width: 26.66667%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.faq-hero__image img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .faq-hero {
    padding: 7.5rem 1.5rem 3.5rem 1.5rem;
  }

  .faq-hero__content {
    flex-direction: column;
    text-align: left;
    align-items: stretch;
    gap: 1.5rem;
  }

  .faq-hero__text {
    display: contents;
  }

  .faq-hero__title {
    order: 0;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }

  .faq-hero__image {
    order: 1;
    max-width: 100%;
    width: 100%;
    align-self: stretch;
  }

  .faq-hero__description {
    order: 2;
    font-size: 1.05rem;
  }
}

@media (max-width: 30rem) {
  .faq-hero {
    padding: 7rem 1rem 3rem 1rem;
  }

  .faq-hero__title {
    font-size: 2rem;
  }
}

/* FAQ page — hero on phones: generic rules use 16–20% image width (unusable). Full-width stack + readable type. */
@media (max-width: 37.499rem) {
  .page.page--faq > section.faq-hero:first-of-type {
    padding-top: 6.5rem !important;
    padding-bottom: 2rem !important;
    padding-left: clamp(0.875rem, 4vw, 1.15rem) !important;
    padding-right: clamp(0.875rem, 4vw, 1.15rem) !important;
  }

  .page.page--faq .faq-hero__container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }

  .page.page--faq .faq-hero__content {
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    gap: 1.25rem !important;
    text-align: left;
  }

  .page.page--faq .faq-hero__text {
    max-width: 100% !important;
    width: 100%;
  }

  .page.page--faq .faq-hero__title {
    font-size: clamp(1.5rem, 4.5vw + 0.55rem, 1.9rem) !important;
    line-height: 1.18 !important;
    margin-bottom: 0.75rem !important;
  }

  .page.page--faq .faq-hero__description {
    font-size: 0.98rem !important;
    line-height: 1.62 !important;
  }

  .page.page--faq .faq-hero__image {
    width: 100% !important;
    max-width: min(22rem, 100%) !important;
    flex: 0 0 auto !important;
    align-self: center !important;
    margin: 0 auto !important;
  }

  .page.page--faq .faq-hero__image img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center top !important;
    display: block !important;
  }
}

@media (min-width: 37.5rem) and (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--faq .faq-hero__image {
    max-width: min(24rem, 88vw) !important;
    width: 100% !important;
  }

  .page.page--faq .faq-hero__image img {
    object-fit: contain !important;
    object-position: center top !important;
  }
}

.faq {
  background-color: #ffffff;
  padding: 4.5rem 0;
}

.faq__container {
  max-width: 91.66667%;
  margin: 0 auto;
  padding: 0 2rem;
}

.faq__intro {
  text-align: center;
  margin-bottom: 3rem;
}

.faq__title {
  color: #303A4D;
  margin-bottom: 1rem;
}

.faq__subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #303A4D;
  max-width: 60%;
  margin: 0 auto;
}

.faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.faq__item {
  background: #f7f9fb;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.faq__item[open] {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding-bottom: 0.15rem;
}

.faq__item summary {
  font-size: 1.15rem;
  font-weight: 600;
  color: #303A4D;
  cursor: pointer;
  outline: none;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  float: right;
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item p {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #4f5b6b;
}

.faq__item ul {
  margin-top: 1rem;
  padding-left: 1.25rem;
  text-align: left;
}

.faq__item ul li {
  font-size: 1rem;
  line-height: 1.7;
  color: #4f5b6b;
  margin-bottom: 0.4rem;
}

@media (max-width: 62.0rem) {
  .faq__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .faq__intro {
    text-align: left;
  }

  .faq__subtitle {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
}

@media (max-width: 30rem) {
  .faq {
    padding: 3.5rem 1rem;
  }

  .faq__item {
    padding: 1.25rem 1.5rem;
  }

  .faq__item summary {
    font-size: 1.05rem;
  }
}

/* FAQ page — intro + accordion (after hero): match hero type scale, de-squeeze cards on small screens */
@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--faq .faq {
    padding-top: clamp(2.25rem, 5vw, 3.25rem);
    padding-bottom: clamp(3rem, 7vw, 4rem);
  }

  .page.page--faq .faq__container {
    max-width: min(40rem, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(0.875rem, 4vw, 1.35rem);
    padding-right: clamp(0.875rem, 4vw, 1.35rem);
  }

  .page.page--faq .faq__intro {
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
  }

  /* Align with .faq-hero__title scale on this page (h2 slightly below h1, same family feel) */
  .page.page--faq .faq__title.title {
    font-size: clamp(1.42rem, 3.8vw + 0.55rem, 1.82rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.7rem;
    color: #303a4d;
  }

  .page.page--faq .faq__subtitle {
    font-size: clamp(0.97rem, 1.8vw + 0.45rem, 1.06rem);
    line-height: 1.65;
    max-width: 100%;
  }

  .page.page--faq .faq__grid {
    gap: 1.35rem;
  }

  .page.page--faq .faq__item {
    padding: 1.4rem 1.25rem 1.35rem;
    border-radius: 14px;
    border: 1px solid rgba(48, 58, 77, 0.08);
    box-shadow: 0 4px 22px rgba(48, 58, 77, 0.07);
  }

  .page.page--faq .faq__item[open] {
    padding-bottom: 1rem;
  }

  .page.page--faq .faq__item summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 1.06rem;
    line-height: 1.38;
    padding-right: 0;
  }

  .page.page--faq .faq__item summary::after {
    float: none;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.12em;
  }

  .page.page--faq .faq__item p,
  .page.page--faq .faq__item li {
    line-height: 1.68;
  }
}

@media (max-width: 30rem) {
  .page.page--faq .faq {
    padding: 2.35rem 0 3rem;
  }

  .page.page--faq .faq__container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .page.page--faq .faq__title.title {
    font-size: clamp(1.38rem, 3.6vw + 0.5rem, 1.68rem);
  }

  .page.page--faq .faq__grid {
    gap: 1.15rem;
  }

  .page.page--faq .faq__item {
    padding: 1.15rem 1rem 1.25rem;
  }

  .page.page--faq .faq__item summary {
    font-size: 1rem;
    gap: 0.65rem;
  }

  .page.page--faq .faq__item p,
  .page.page--faq .faq__item li {
    font-size: 0.96rem;
  }
}

/* Video poster overlay – play button and softer look before play */
.video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(48, 58, 77, 0.18);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
}
.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
.video-poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.5) 100%);
  cursor: pointer;
  transition: opacity 0.3s ease, background 0.3s ease;
}
.video-poster-overlay.is-hidden {
  pointer-events: none;
  opacity: 0;
}
.video-poster-overlay:hover {
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.45) 100%);
}
.video-play-icon {
  width: 5em;
  height: 5em;
  border-radius: 50%;
  background: rgba(224, 247, 224, 0.95);
  color: #303a4d;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.video-poster-overlay:hover .video-play-icon {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
}
.video-play-icon svg {
  width: 2.25em;
  height: 2.25em;
  margin-left: 4px;
}

/* Pricing hero decor: force a clean non-overlapping layout on iPad/tablet */
@media (max-width: 64rem) and (min-width: 30.0625rem) {
  .page.page--pricing .pricing-hero__container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: flex-start !important;
    column-gap: 0.75rem !important;
    row-gap: 1rem !important;
  }

  .page.page--pricing .pricing-hero__content {
    order: 1 !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    position: relative !important;
    z-index: 3 !important;
  }

  .page.page--pricing .pricing-decor-wrap {
    order: 2 !important;
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    z-index: 1 !important;
    width: clamp(8rem, 30vw, 14rem) !important;
    max-width: none !important;
    margin: 0 !important;
    pointer-events: none !important;
  }

  .page.page--pricing .pricing-decor-wrap--hero-1,
  .page.page--pricing .pricing-decor-wrap--hero-2,
  .page.page--pricing .pricing-decor-wrap--hero-3 {
    /* Override base absolute positioning + % widths */
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: clamp(8rem, 30vw, 14rem) !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .page.page--pricing .pricing-decor--hero-1,
  .page.page--pricing .pricing-decor--hero-2,
  .page.page--pricing .pricing-decor--hero-3 {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .page.page--pricing .pricing-decor-caption--hero-1,
  .page.page--pricing .pricing-decor-caption--hero-2,
  .page.page--pricing .pricing-decor-caption--hero-3 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 0 !important;
  }

  .page.page--pricing .pricing-decor {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    opacity: 1 !important;
    z-index: 1 !important;
  }

  .page.page--pricing .pricing-decor-wrap .pricing-decor-caption {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    display: block !important;
    margin-top: 0.35rem !important;
    font-size: 0.75rem !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    text-align: center !important;
    max-width: 100% !important;
    padding: 0.25rem 0.35rem !important;
  }
}

/* Pricing hero decor on desktop/laptop: large, clear 3-image row */
@media (min-width: 64.0625rem) {
  .page.page--pricing .pricing-hero__container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    column-gap: 1.25rem !important;
    row-gap: 1rem !important;
  }

  .page.page--pricing .pricing-hero__content {
    order: 1 !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    position: relative !important;
    z-index: 3 !important;
    margin-bottom: 1.5rem !important;
  }

  .page.page--pricing .pricing-decor-wrap--hero-1,
  .page.page--pricing .pricing-decor-wrap--hero-2,
  .page.page--pricing .pricing-decor-wrap--hero-3 {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    order: 2 !important;
    flex: 0 0 auto !important;
    width: clamp(10rem, 16vw, 14rem) !important;
    max-width: none !important;
    margin: 0 !important;
    z-index: 1 !important;
  }

  .page.page--pricing .pricing-decor--hero-1,
  .page.page--pricing .pricing-decor--hero-2,
  .page.page--pricing .pricing-decor--hero-3 {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .page.page--pricing .pricing-decor-caption--hero-1,
  .page.page--pricing .pricing-decor-caption--hero-2,
  .page.page--pricing .pricing-decor-caption--hero-3 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    display: block !important;
    margin-top: 0.45rem !important;
    font-size: 0.85rem !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    text-align: center !important;
    max-width: 100% !important;
  }
}

/* Pricing hero decor: show + layout for <= 48rem (fix "disappeared" on narrow desktop/iPad simulations) */
@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--pricing .pricing-hero__container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: flex-start !important;
    column-gap: 0.75rem !important;
    row-gap: 0.85rem !important;
  }

  /* Keep hero copy + photo above decor */
  .page.page--pricing .pricing-hero__title,
  .page.page--pricing .pricing-hero__description,
  .page.page--pricing .pricing-hero__image {
    position: relative !important;
    z-index: 3 !important;
  }

  .page.page--pricing .pricing-decor-wrap--hero-1,
  .page.page--pricing .pricing-decor-wrap--hero-2,
  .page.page--pricing .pricing-decor-wrap--hero-3 {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    order: 2 !important;
    width: clamp(8rem, 34vw, 14rem) !important;
    max-width: none !important;
    margin: 0 !important;
    z-index: 1 !important;
  }

  .page.page--pricing .pricing-decor--hero-1,
  .page.page--pricing .pricing-decor--hero-2,
  .page.page--pricing .pricing-decor--hero-3 {
    display: block !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
    z-index: 0 !important;
  }

  .page.page--pricing .pricing-decor-caption--hero-1,
  .page.page--pricing .pricing-decor-caption--hero-2,
  .page.page--pricing .pricing-decor-caption--hero-3 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 0 !important;
    display: block !important;
    margin-top: 0.4rem !important;
    font-size: 0.75rem !important;
    line-height: 1.25 !important;
    padding: 0.25rem 0.35rem !important;
    white-space: normal !important;
    text-align: center !important;
    max-width: 100% !important;
  }
}


/* ===== Clean tablet/iPad rules (replaces conflicting older overrides) ===== */

/* Narrow tablet / iPad mini portrait (≤48rem wide): extra air under fixed header.
   (A later rule used to reset hero padding to 9.75rem here — that override was removed so these values actually apply.) */
@media (min-width: 37.5rem) and (max-width: 48rem) and (orientation: portrait) {
  .page.page--home,
  .page.page--services,
  .page.page--faq,
  .page.page--all-about,
  .page.page--pricing,
  .page.page--contact,
  .page.page--supervision {
    padding-top: 0 !important;
  }

  .page.page--home > section.page__main.main-hero {
    margin-top: 0 !important;
    padding: calc(21rem + env(safe-area-inset-top, 0px)) 1.25rem 1.75rem 1.25rem !important;
  }

  .page.page--services > section.page__main.services-hero:first-of-type,
  .page.page--services > section.services-hero:first-of-type {
    margin-top: 0 !important;
    padding-top: calc(21rem + env(safe-area-inset-top, 0px)) !important;
  }

  /* services.html: first green section is text-led (no hero image); needs extra clearance so H2 isn’t lost under the fixed header on older iPad mini */
  .page.page--services > section.page__services.services:first-of-type {
    margin-top: 0 !important;
    padding-top: calc(24.5rem + env(safe-area-inset-top, 0px)) !important;
    overflow: visible !important;
  }

  .page.page--services > section.page__services.services:first-of-type .services__container {
    position: relative;
    z-index: 2;
    overflow: visible !important;
  }

  .page.page--services > section.page__services.services:first-of-type .services__title.title {
    color: #303a4d !important;
    font-weight: 700 !important;
    font-size: clamp(1.4rem, 2.75vw + 0.55rem, 1.9rem) !important;
    line-height: 1.22 !important;
    padding-top: 0.35rem !important;
    margin-top: 0 !important;
    position: relative;
    z-index: 2;
    text-wrap: wrap;
  }

  .page.page--services > section.page__services.services:first-of-type .services__subtitle {
    color: #303a4d !important;
    position: relative;
    z-index: 2;
    text-wrap: wrap;
  }

  /* About page + other plain `page` mains */
  main.page:not([class*="page--"]),
  main.page.page--about {
    padding-top: calc(21rem + env(safe-area-inset-top, 0px)) !important;
  }

  .page.page--supervision > section.supervision-hero:first-of-type {
    padding: calc(18rem + env(safe-area-inset-top, 0px)) 1.25rem 1.75rem 1.25rem !important;
  }

  .page.page--all-about > section.about-hero:first-of-type {
    padding: calc(19rem + env(safe-area-inset-top, 0px)) 1.25rem 1.5rem 1.25rem !important;
  }

  .page.page--pricing > section.pricing-hero:first-of-type {
    padding: calc(19rem + env(safe-area-inset-top, 0px)) 1.25rem 2.25rem 1.25rem !important;
  }

  .page.page--contact > section.contact-hero:first-of-type {
    padding: calc(18.5rem + env(safe-area-inset-top, 0px)) 1.25rem 2.5rem 1.25rem !important;
  }

  main.page:not([class*="page--"]) section.privacy-policy-hero:first-of-type {
    padding: calc(18rem + env(safe-area-inset-top, 0px)) 1.5rem 2.75rem 1.5rem !important;
  }

  main.page:not([class*="page--"]):has(> section.letter-page:first-child) {
    padding-top: calc(21rem + env(safe-area-inset-top, 0px)) !important;
  }

  .page.page--faq > section.faq-hero:first-of-type {
    padding: calc(21.5rem + env(safe-area-inset-top, 0px)) 1.25rem 2.25rem 1.25rem !important;
  }

  .page.page--faq .faq-hero__content {
    gap: 0.75rem !important;
    align-items: center !important;
  }

  .page.page--faq .faq-hero__text {
    max-width: 100% !important;
  }

  .page.page--faq .faq-hero__image {
    width: 76% !important;
    max-width: 76% !important;
    flex: 0 0 auto !important;
    margin: 0 auto !important;
  }

  .page.page--faq .faq-hero__image img {
    width: 100% !important;
    max-width: none !important;
    display: block !important;
  }
}

/* iPad Mini landscape and similar */
@media (min-width: 37.5rem) and (max-width: 64rem) and (orientation: landscape) {
  .page.page--home,
  .page.page--services {
    padding-top: 0 !important;
  }

  .page.page--home > section.page__main.main-hero {
    margin-top: 0 !important;
    padding: 12rem 1.5rem 1.5rem 1.5rem !important;
  }

  .page.page--services > section.page__services.services:first-of-type,
  .page.page--services > section.page__main.services-hero:first-of-type,
  .page.page--services > section.services-hero:first-of-type {
    margin-top: 0 !important;
    padding-top: 12rem !important;
  }

  .page.page--faq > section.faq-hero:first-of-type {
    padding: 10rem 1.5rem 2rem 1.5rem !important;
  }

  .page.page--faq .faq-hero__content {
    gap: 1rem !important;
    align-items: center !important;
  }

  .page.page--faq .faq-hero__image {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 auto !important;
    margin: 0 auto !important;
  }

  .page.page--faq .faq-hero__image img {
    width: 100% !important;
    max-width: none !important;
    display: block !important;
  }
}

/* Larger iPad portrait/tablet portrait */
@media (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  .page.page--home,
  .page.page--services {
    padding-top: 0 !important;
  }

  .page.page--home > section.page__main.main-hero {
    margin-top: 0 !important;
    padding: 19.25rem 1.5rem 1.75rem 1.5rem !important;
  }

  .page.page--services > section.page__services.services:first-of-type,
  .page.page--services > section.page__main.services-hero:first-of-type,
  .page.page--services > section.services-hero:first-of-type {
    margin-top: 0 !important;
    padding-top: 19.25rem !important;
  }

  .page.page--faq > section.faq-hero:first-of-type {
    padding: 17.25rem 1.5rem 2.75rem 1.5rem !important;
  }

  .page.page--faq .faq-hero__content {
    gap: 0.9rem !important;
    align-items: center !important;
  }

  .page.page--faq .faq-hero__image {
    width: 64% !important;
    max-width: 64% !important;
    flex: 0 0 auto !important;
    margin: 0 auto !important;
  }

  .page.page--faq .faq-hero__image img {
    width: 100% !important;
    max-width: none !important;
    display: block !important;
  }
}

/* Home hero: small tablet — side-by-side flex */
@media (min-width: 37.5rem) and (max-width: 48rem) {
  .page.page--home .main-hero__content {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    column-gap: clamp(1.25rem, 3.5vw, 2rem) !important;
    row-gap: clamp(0.85rem, 2vw, 1.25rem) !important;
    text-align: left !important;
  }

  .page.page--home .main-hero__text {
    flex: 1 1 50% !important;
    min-width: 0 !important;
    max-width: 50% !important;
  }

  .page.page--home .main-hero__image {
    flex: 0 1 42% !important;
    max-width: 42% !important;
    width: auto !important;
    margin: 0 !important;
    order: 0 !important;
  }

  .page.page--home .main-hero__image img {
    width: 100% !important;
    max-width: 100% !important;
    max-height: min(52vh, 26rem) !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}

/* Home hero: desktop / large-tablet landscape — side-by-side (exclude 48–64rem portrait: that uses stacked layout in the iPad 11" block above) */
@media (min-width: 48.0625rem) and ((min-width: 64.0625rem) or (orientation: landscape)) {
  .page.page--home .main-hero__content {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    column-gap: clamp(1.5rem, 3vw, 2.75rem) !important;
    row-gap: 1.5rem !important;
  }

  .page.page--home .main-hero__text {
    flex: 1 1 50% !important;
    max-width: 50% !important;
    min-width: 0 !important;
  }

  .page.page--home .main-hero__image {
    flex: 1 1 41.66667% !important;
    max-width: 41.66667% !important;
    justify-content: center !important;
  }

  .page.page--home .main-hero__image img {
    object-fit: contain !important;
    object-position: center center !important;
  }
}

/* iPad Mini portrait: stack — title, image, then body copy */
@media (min-width: 37.5rem) and (max-width: 48rem) and (orientation: portrait) {
  .page.page--home .main-hero__content {
    flex-direction: column !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 1rem !important;
    text-align: left !important;
  }

  .page.page--home .main-hero__image {
    order: 1 !important;
    width: min(66vw, 22rem) !important;
    max-width: min(66vw, 22rem) !important;
    flex: 0 0 auto !important;
    align-self: center !important;
    margin: 0 auto 1rem !important;
    position: static !important;
    left: auto !important;
    transform: none !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    background: #e0f7e0 !important;
    aspect-ratio: 3 / 4 !important;
    max-height: min(70vh, 30rem) !important;
  }

  .page.page--home .main-hero__image img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center 22% !important;
    border-radius: 0 !important;
    display: block !important;
  }

  .page.page--home .main-hero__text {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
  }

  .page.page--home .main-hero__button {
    align-self: flex-start !important;
    margin: 0 !important;
  }

  /* Don’t let CTA / “Schedule” / .button stretch edge-to-edge in this portrait width */
  .page.page--home .main-hero__address {
    align-self: flex-start !important;
  }

  .page.page--home .main-hero__address a {
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .page.page--home .main-hero a.button,
  .page.page--home .main-hero .button {
    width: auto !important;
    max-width: min(100%, 22rem) !important;
    align-self: flex-start !important;
    box-sizing: border-box;
  }

  #my-approach .about__container {
    gap: 0.9rem !important;
  }

  #my-approach .about__image {
    margin-top: 0 !important;
    aspect-ratio: auto !important;
    height: auto !important;
  }

  #my-approach .about__image img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center top !important;
  }
}

/* Pricing: iPad Mini portrait — decor-1 asset reads smaller than 2/3 at equal column width */
@media (min-width: 37.5rem) and (max-width: 48rem) and (orientation: portrait) {
  .page.page--pricing .pricing-decor-wrap--hero-1 {
    width: clamp(9.5rem, 36vw, 14.5rem) !important;
    max-width: none !important;
  }

  .page.page--pricing .pricing-decor--hero-1 {
    transform: scale(1.07) !important;
    transform-origin: center center !important;
  }
}

/* Contact: iPad Mini portrait — “Location & Accessibility” was ~45% width + centred (reads too narrow) */
@media (min-width: 37.5rem) and (max-width: 48rem) and (orientation: portrait) {
  .page.page--contact .contact__info {
    width: 100% !important;
    max-width: 100% !important;
    align-self: stretch !important;
  }

  .page.page--contact .contact__info .contact__title {
    text-align: left !important;
  }

  .page.page--contact .contact__info .contact__text {
    max-width: 100% !important;
    width: 100% !important;
    text-align: left !important;
  }
}

/* ========== About page: Psychology Today + Schedule (under video) ==========
   Parent .about__container uses space-between — single column sat left; centre the block. */
.about--video-cta .about__container {
  justify-content: center !important;
}

.about--video-cta .about__content--psych-cta {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}

/* Desktop: one centred row (badge + button as a group). Mobile: stacked. */
.about-video-cta {
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(56rem, 100%);
  margin-left: auto;
  margin-right: auto;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  box-sizing: border-box;
}

.about-video-cta__psych {
  text-align: center;
  margin: 0;
  width: 100%;
}

.about-video-cta__psych .about__psychology-text {
  margin-bottom: 0.5rem;
}

.about-video-cta .psychology-today-badge {
  width: auto !important;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 48rem) {
  .about-video-cta {
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: clamp(1.75rem, 4vw, 2.75rem);
    row-gap: 1rem;
    padding: 0.25rem 0;
  }

  .about-video-cta__psych {
    width: auto;
    flex: 0 1 min(20rem, 38vw);
    max-width: min(22rem, 42vw);
  }

  .about-video-cta .psychology-today-badge {
    max-width: min(12.5rem, 34vw) !important;
  }

  .about-video-cta .about-video-cta__button,
  .about-video-cta .about__button.button {
    flex: 0 0 auto;
    width: auto !important;
    max-width: min(100%, 22rem) !important;
    align-self: center;
    text-align: center;
  }
}

@media (max-width: 47.998rem) {
  .about-video-cta {
    padding: 0.5rem 0 0.25rem;
  }

  .about-video-cta__psych {
    max-width: 22rem;
  }

  .about-video-cta .psychology-today-badge {
    max-width: min(13rem, 72vw) !important;
  }
}

/* ========== Header business title: last in file — same on every page (beats legacy + duplicate CSS) ========== */
@media (max-width: 48rem), (min-width: 48.0625rem) and (max-width: 64rem) and (orientation: portrait) {
  header.header .header__left > a.header__logo,
  .header .header__logo {
    font-size: clamp(0.95rem, 1.9vw + 0.72rem, 1.42rem) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.012em !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    min-height: 0 !important;
    background: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: manual !important;
  }
}

@media (max-width: 30rem) {
  header.header .header__left > a.header__logo,
  .header .header__logo {
    font-size: clamp(0.86rem, 2.75vw + 0.58rem, 1.22rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.012em !important;
  }
}
