/* ==========================================================================
   SECTIONS — per-module visual layout, in document order
   Mobile-first: single column by default, expands at md (768px) / lg (1024px)
   ========================================================================== */

/* ---------------------------------------------------------------------
   Module 1 — Hero
   --------------------------------------------------------------------- */

.hero {
  padding-top: clamp(var(--space-7), 6vw, var(--space-9));
  background-color: var(--color-bg-surface-alt);
  background-image: url("../Img/1_BG-03.jpg");
  background-repeat: no-repeat;
  background-size: 200% 200%;
  background-position: 0% 50%;
  animation: hero-bg-drift 16s ease-in-out infinite alternate;
}

@keyframes hero-bg-drift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    animation: none;
    background-position: 50% 50%;
  }
}

.hero__grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero__copy {
  max-width: 56ch;
}

.hero h1 {
  margin-bottom: var(--space-3);
  color: #303030;
}

.hero__body {
  color: #606060;
}

.hero__ctas .btn--primary {
  background: #db5296;
}

.hero__ctas .btn--primary:hover {
  background: #ba4680;
}

.hero__subheadline {
  font-size: var(--text-md);
  font-weight: 600;
  /* Hardcoded (not var(--color-text-muted)) — this module keeps its exact
     original color even as the site-wide muted-text token is retuned. */
  color: #6b5d54;
  margin-bottom: var(--space-5);
}

.hero .microcopy {
  /* Same freeze as .hero__subheadline above — see comment there. */
  color: #6b5d54;
}

.hero__microcopy-break {
  display: none;
}

@media (max-width: 767px) {
  .hero__microcopy-break {
    display: inline;
  }
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.hero__media .placeholder-img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 767px) {
  .hero__grid {
    gap: var(--space-5);
  }

  .hero__copy {
    margin-inline: auto;
    text-align: center;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero .microcopy {
    margin-inline: auto;
  }
}

/* ---------------------------------------------------------------------
   Module 2 — What it can improve (concerns carousel)
   --------------------------------------------------------------------- */

.concerns {
  background: #db5296;
}

.concerns .section-heading {
  text-align: center;
  margin-inline: auto;
}

@media (max-width: 767px) {
  .concerns {
    padding-top: var(--space-6);
  }

  .concerns .section-heading {
    margin-bottom: var(--space-4);
  }
}

.concerns .section-heading h2 {
  color: var(--color-text-inverse);
}

.concerns .section-heading h2 .text-accent {
  color: var(--color-brand-soft);
}

.concerns .section-heading p {
  color: var(--color-text-inverse-muted);
}

.concerns .disclaimer,
.concerns .section-cta {
  text-align: center;
  margin-inline: auto;
}

.concerns .disclaimer {
  color: var(--color-text-inverse-muted);
}

.concerns .section-cta .btn {
  background: var(--color-brand-soft);
  color: var(--color-text-primary);
}

.concerns .section-cta .btn:hover {
  background: var(--color-text-inverse);
}

.concerns-carousel {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.concerns-carousel__track {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--space-2) 4px var(--space-3);
  scrollbar-width: none;
}

.concerns-carousel__track::-webkit-scrollbar {
  display: none;
}

.concerns-carousel__arrow {
  flex-shrink: 0;
}

.concern-card {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: var(--space-7) var(--space-5) var(--space-8);
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  text-align: center;
  overflow: hidden;
}

/* Same source photo on every card, mirrored/repositioned per card via nth-child
   so the gradient doesn't land identically twice in a row. */
.concern-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../Img/1_BG-01.jpg");
  background-size: cover;
}

.concern-card__media-wrap,
.concern-card__title {
  position: relative;
  z-index: 1;
}

.concern-card:nth-child(6n + 1)::before {
  background-position: top left;
}

.concern-card:nth-child(6n + 2)::before {
  background-position: top right;
  transform: scaleX(-1);
}

.concern-card:nth-child(6n + 3)::before {
  background-position: bottom left;
  transform: scaleY(-1);
}

.concern-card:nth-child(6n + 4)::before {
  background-position: bottom right;
  transform: scale(-1);
}

.concern-card:nth-child(6n + 5)::before {
  background-position: center;
  transform: scale(1.35);
}

.concern-card:nth-child(6n + 6)::before {
  background-position: center;
  transform: scaleX(-1) scale(1.15);
}

@media (min-width: 768px) {
  .concern-card {
    flex-basis: calc(50% - var(--space-3));
  }
}

@media (min-width: 1024px) {
  .concern-card {
    flex-basis: calc(33.333% - var(--space-4));
  }
}

.concern-card__media-wrap {
  position: relative;
  width: 78%;
  aspect-ratio: 1;
  margin: 0 auto var(--space-5);
  border: 2px solid var(--color-brand-primary);
  border-radius: var(--radius-pill);
  background: var(--color-bg-surface-alt);
  overflow: hidden;
  cursor: pointer;
}

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

.concern-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 15%;
  background: var(--color-bg-surface-alt);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-standard);
}

.concern-card__overlay-text {
  font-size: var(--text-xs);
  line-height: var(--leading-snug);
  color: var(--color-text-muted);
}

.concern-card__overlay-cta {
  min-height: auto;
  padding: 0;
  font-size: var(--text-xs);
}

.concern-card__media-wrap:hover .concern-card__overlay,
.concern-card__media-wrap:focus-within .concern-card__overlay,
.concern-card__media-wrap[aria-expanded="true"] .concern-card__overlay {
  opacity: 1;
  pointer-events: auto;
}

.concern-card__title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
}

/* ---------------------------------------------------------------------
   Module 3 — Smooth, brighten, renew (skin layers)
   --------------------------------------------------------------------- */

.skin-layers {
  padding-block: clamp(var(--space-6), 5vw, var(--space-8));
  background-color: var(--color-bg-page);
  background-image: url("../Img/1_BG-01.jpg");
  background-size: cover;
  background-position: center;
}

.skin-layers .section-heading {
  text-align: center;
  margin-inline: auto;
  margin-bottom: var(--space-5);
}

.skin-layers .eyebrow {
  margin-bottom: var(--space-1);
}

.skin-layers__grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 1024px) {
  .skin-layers__grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

@media (max-width: 767px) {
  .skin-layers {
    padding-top: var(--space-5);
    padding-bottom: var(--space-6);
  }

  .skin-layers__grid {
    gap: var(--space-4);
  }
}

.skin-layers__media {
  position: relative;
  max-width: 360px;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .skin-layers__media {
    /* Capped (not "none") so the callout leader lines below have a
       predictable half-width to reach past when clearing the artwork. */
    max-width: 380px;
  }
}

.skin-layers__img {
  width: 100%;
  height: auto;
  display: block;
}

.skin-layers__marker {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 2px solid var(--color-brand-primary);
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 0.85);
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard);
}

.skin-layers__marker-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--color-brand-primary);
  transition: transform var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard);
}

.skin-layers__marker:hover {
  background: var(--color-bg-surface);
}

.skin-layers__marker[aria-pressed="true"] {
  background: var(--color-brand-primary);
  transform: translate(-50%, -50%) scale(1.2);
}

.skin-layers__marker[aria-pressed="true"] .skin-layers__marker-dot {
  background: var(--color-text-inverse);
  transform: scale(1.3);
}

.skin-layers__callout {
  position: absolute;
  right: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.skin-layers__callout-label {
  margin-right: var(--space-2);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  color: #3b3b3b;
  text-align: right;
  transition: color var(--duration-fast) var(--ease-standard);
}

.skin-layers__callout-line {
  flex-shrink: 0;
  width: 195px;
  height: 1px;
  background: #3b3b3b;
  transition: background-color var(--duration-fast) var(--ease-standard);
}

.skin-layers__callout.is-active .skin-layers__callout-label {
  color: var(--color-brand-primary);
}

.skin-layers__callout.is-active .skin-layers__callout-line {
  background: var(--color-brand-primary);
}

@media (max-width: 767px) {
  .skin-layers__content .section-cta {
    text-align: center;
  }

  .skin-layers__callout-line {
    width: 18px;
  }

  .skin-layers__callout-label {
    margin-right: var(--space-1);
    font-size: 10px;
    white-space: normal;
    max-width: 62px;
    background: rgb(255 255 255 / 0.8);
    padding: 2px 4px;
    border-radius: 3px;
  }
}

.skin-layers__tabs {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.skin-layers__tab {
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--color-text-muted);
  text-align: left;
  transition: background-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard);
}

.skin-layers__tab.is-active {
  background: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
  color: var(--color-text-inverse);
}

.skin-layers__tab-nm {
  margin-left: var(--space-2);
  font-family: var(--font-mono-tech);
  font-weight: 500;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.skin-layers__tab.is-active .skin-layers__tab-nm {
  color: rgb(255 255 255 / 0.75);
}

.skin-layers__panel {
  padding: 20px var(--space-5);
  margin-bottom: var(--space-6);
  background: #fff0f5;
  border: 1px solid #dbdbdb;
  border-radius: var(--radius-md);
}

.skin-layers__panel p {
  margin: 0;
  color: var(--color-text-muted);
  transition: opacity var(--duration-base) var(--ease-standard);
}

.skin-layers__panel.is-fading p {
  opacity: 0;
}

/* ---------------------------------------------------------------------
   Module 4 — Before / after
   --------------------------------------------------------------------- */

.before-after {
  background-color: var(--color-bg-surface-alt);
  background-image: url("../Img/1_BG-03.jpg");
  background-repeat: no-repeat;
  background-size: 200% 200%;
  background-position: 0% 50%;
  animation: before-after-bg-drift 16s ease-in-out infinite alternate;
}

@keyframes before-after-bg-drift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .before-after {
    animation: none;
    background-position: 50% 50%;
  }
}

.before-after .section-heading {
  max-width: none;
  text-align: center;
  margin-inline: auto;
}

.before-after .section-heading p {
  max-width: 56ch;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .before-after .section-heading h2 {
    white-space: nowrap;
  }
}

.before-after .disclaimer,
.before-after .section-cta {
  text-align: center;
  margin-inline: auto;
}

.before-after .disclaimer {
  max-width: 70ch;
  text-wrap: balance;
}

.disclaimer {
  margin-top: var(--space-5);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  max-width: 65ch;
}

/* ---------------------------------------------------------------------
   "What it can help improve" — no longer used on the landing page
   (superseded by the Module 2 concerns carousel). Kept because
   thank-you.html's "Before your consultation" module still uses it.
   --------------------------------------------------------------------- */

.improve {
  background: var(--color-bg-surface-alt);
}

.improve__grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 1024px) {
  .improve__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.improve__media .placeholder-img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ---------------------------------------------------------------------
   Module 5 — Areas treated + candidacy
   --------------------------------------------------------------------- */

.areas {
  padding-block: clamp(var(--space-6), 5vw, var(--space-8));
  background-color: var(--color-bg-inverse);
  background-image: url("../Img/1_BG-02.jpg");
  background-size: cover;
  background-position: center;
}

.areas .section-heading {
  max-width: none;
  margin-bottom: 0;
}

.areas .section-heading h2 {
  color: var(--color-text-inverse);
}

.areas .section-heading p {
  max-width: none;
  margin-bottom: 0;
  color: var(--color-text-inverse-muted);
}

.areas .section-cta {
  margin-top: 0;
}

.areas__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .areas__grid {
    flex-direction: row;
    align-items: stretch;
  }
}

.areas__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

@media (min-width: 768px) {
  .areas__media {
    flex: 0.9;
    aspect-ratio: auto;
  }
}

.areas__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.areas__col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .areas__col {
    flex: 1.1;
  }
}

.areas__hr {
  height: 1px;
  background: var(--color-border-inverse);
}

.areas__label {
  margin: 0 0 var(--space-3);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-inverse-muted);
}

.areas__note {
  margin: var(--space-3) 0 0;
  font-size: var(--text-xs);
  font-style: italic;
  color: var(--color-text-inverse-muted);
}

.areas__candidacy-text {
  margin: 0;
  color: var(--color-text-inverse-muted);
}

/* ---------------------------------------------------------------------
   Module 6 — What patients are saying
   --------------------------------------------------------------------- */

.reviews {
  padding-block: clamp(var(--space-6), 5vw, var(--space-8));
  background: var(--color-bg-surface);
}

.reviews .section-heading {
  max-width: none;
  text-align: center;
  margin-inline: auto;
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .reviews .section-heading h2 {
    white-space: nowrap;
  }
}

.reviews__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.reviews__stars {
  color: #f5a623;
  font-size: var(--text-md);
  letter-spacing: 2px;
}

.reviews__rating-text {
  font-weight: 600;
  color: var(--color-text-primary);
}

.reviews__why-label {
  margin: 0 0 var(--space-4);
  margin-inline: auto;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
}

.reviews__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-7);
}

@media (max-width: 767px) {
  .reviews__pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: stretch;
  }
}

.reviews__pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 12px;
  background: #fff0f5;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  color: #db5296;
  text-align: center;
  white-space: nowrap;
}

.reviews__pill-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: #db5296;
}

@media (max-width: 767px) {
  .reviews__pill {
    padding: 6px 8px;
    font-size: 9.5px;
    white-space: normal;
    line-height: 1.2;
  }

  .reviews__pill-icon {
    width: 11px;
    height: 11px;
  }
}

.reviews__track {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--space-2) 4px var(--space-3);
  margin: 0 0 var(--space-6);
  scrollbar-width: none;
}

.reviews__track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 85%;
  scroll-snap-align: start;
  padding: var(--space-5);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .review-card {
    flex-basis: calc(50% - var(--space-3));
  }
}

@media (min-width: 1024px) {
  .review-card {
    flex-basis: calc(33.333% - var(--space-4));
  }
}

.review-card__stars {
  display: block;
  margin-bottom: var(--space-3);
  color: #f5a623;
  font-size: var(--text-sm);
  letter-spacing: 2px;
}

.review-card__quote {
  margin: 0 0 var(--space-4);
  color: var(--color-text-muted);
}

.review-card__name {
  margin: 0;
  font-weight: 700;
  color: var(--color-text-primary);
}

.reviews .section-cta {
  text-align: center;
  margin-inline: auto;
}

/* ---------------------------------------------------------------------
   Module 7 — FAQ
   --------------------------------------------------------------------- */

.faq {
  background-color: var(--color-bg-surface);
  background-image: url("../Img/1_BG-18.jpg");
  background-size: cover;
  background-position: center;
}

.faq__header {
  max-width: 900px;
  margin: 0 auto var(--space-7);
  text-align: center;
}

@media (min-width: 700px) {
  .faq__subtitle {
    white-space: nowrap;
  }
}

@media (min-width: 900px) {
  .faq h2 {
    white-space: nowrap;
  }
}

.faq h2 {
  margin-bottom: var(--space-3);
}

.faq__title-accent {
  color: var(--color-brand-primary);
}

.faq__subtitle {
  margin-block: 0;
  margin-inline: auto;
  color: var(--color-text-muted);
}

.faq__card {
  max-width: 880px;
  margin: 0 auto;
}

.faq__card .accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq__card .accordion__item {
  padding-inline: var(--space-5);
  background: #fff0f5;
  border: 1px solid rgb(255 255 255 / 0.5);
  border-radius: 16px;
  overflow: hidden;
}

.faq__card .accordion__trigger {
  color: #db5296;
}

.faq__card .accordion__chevron {
  color: #db5296;
}

.faq__card .accordion__trigger[aria-expanded="true"] .accordion__chevron {
  transform: rotate(45deg);
  color: #db5296;
}

/* ---------------------------------------------------------------------
   Module 8 — Form section
   --------------------------------------------------------------------- */

.consult-form-section {
  background: var(--color-brand-primary);
}

.consult-form-section__grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
  max-width: 1120px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .consult-form-section__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

.consult-form-section__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: left;
}

.consult-form-section__copy p {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .consult-form-section__copy {
    text-align: center;
  }

  .consult-form-section__copy p {
    margin-inline: auto;
  }
}

.consult-form-section__copy h2,
.consult-form-section__copy p {
  color: var(--color-text-inverse);
}

.consult-form-section__copy .bonus-line {
  margin: 0;
  font-family: var(--font-display);
  font-size: calc(var(--text-md) + 5pt);
  font-weight: 700;
  color: var(--color-text-inverse);
}

.consult-form {
  width: 100%;
}

.consult-form .form-field label,
.consult-form .form-field legend {
  color: rgb(255 255 255 / 0.9);
}

.consult-form .form-field input,
.consult-form .form-field textarea,
.consult-form .multiselect__trigger {
  background: rgb(255 255 255 / 0.85);
}

/* The default brick-red error tone barely reads against the hot-pink glass
   form — swap to a bright gold (matching the star-rating accent used
   elsewhere on the site) so validation messages actually pop here. */
.consult-form .form-field__error {
  color: #ffcc33;
  font-weight: 700;
}

.consult-form .form-field input.is-invalid {
  border-color: #ffcc33;
}

.consult-form .checkbox-option input.is-invalid {
  outline-color: #ffcc33;
}

/* The submit button was the same hot pink as the section background —
   nearly invisible. Reuse the same soft-pink-on-pink pattern already
   established for the Module 2 CTA on a matching background. */
.consult-form .btn--primary {
  background: var(--color-brand-soft);
  color: var(--color-text-primary);
}

.consult-form .btn--primary:hover {
  background: var(--color-text-inverse);
}

/* The dropdown panel itself sits on an opaque white surface, not the pink
   glass background — its option labels need the standard dark palette
   color, not the translucent white used for labels on the glass form. */
.consult-form .form-field .multiselect__option {
  color: var(--color-text-primary);
}

.consult-form .checkbox-option {
  color: rgb(255 255 255 / 0.9);
}

.consult-form .microcopy {
  color: rgb(255 255 255 / 0.8);
}

/* ---------------------------------------------------------------------
   Module 9 — Final CTA
   --------------------------------------------------------------------- */

.final-cta {
  background-color: var(--color-bg-inverse);
  background-image: url("../Img/1_BG-02.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-text-inverse);
}

.final-cta h2 {
  color: #db5296;
}

.final-cta__heading-white {
  color: var(--color-text-inverse);
}

.final-cta p {
  color: var(--color-text-inverse-muted);
}

.final-cta .btn--primary {
  background: #db5296;
  color: var(--color-text-inverse);
}

.final-cta .btn--primary:hover {
  background: var(--color-brand-primary-hover);
}

.final-cta .btn--outline {
  color: #f9c7d6;
  border-color: #f9c7d6;
}

.final-cta .btn--outline:hover {
  background: #f9c7d6;
  color: #3b3b3b;
}

.final-cta__inner {
  max-width: 920px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: var(--space-4);
}

.final-cta__inner > p,
.final-cta__inner > .contact-block {
  max-width: 620px;
}

.final-cta__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-block: var(--space-3);
}

.contact-block {
  margin-top: var(--space-6);
  font-style: normal;
  color: var(--color-text-inverse-muted);
  line-height: var(--leading-relaxed);
}

.contact-block a {
  color: var(--color-brand-soft);
  font-weight: 700;
}

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */

.site-footer {
  padding-block: var(--space-7) var(--space-5);
  padding-bottom: calc(var(--space-5) + 72px); /* clear the mobile sticky bar */
  background: #f9c7d6;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

@media (min-width: 1024px) {
  .site-footer {
    padding-bottom: var(--space-5);
  }
}

.site-footer__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgb(0 0 0 / 0.1);
}

@media (min-width: 768px) {
  .site-footer__grid {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-5);
  }
}

.site-footer__logo {
  display: inline-block;
}

.site-footer__logo img {
  display: block;
}

.site-footer__tagline {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
}

.site-footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.site-footer__social-link {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-brand-primary);
  color: var(--color-brand-primary);
  transition: background-color var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard);
}

.site-footer__social-link svg {
  width: 15px;
  height: 15px;
}

.site-footer__social-link:hover {
  background: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
  color: var(--color-text-inverse);
}

.site-footer__contact-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

@media (max-width: 767px) {
  .site-footer__brand {
    text-align: center;
  }

  .site-footer__social {
    justify-content: center;
  }

  .site-footer__contact-col {
    align-items: center;
    text-align: center;
  }

  .site-footer__contact {
    justify-items: center;
  }
}

.site-footer__location-heading {
  margin: 0 0 var(--space-1);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--color-text-primary);
}

.site-footer__contact {
  display: grid;
  gap: var(--space-1);
  font-style: normal;
  line-height: var(--leading-normal);
}

.site-footer__contact p {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin: 0;
}

.site-footer__contact-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--color-brand-primary);
}

.site-footer__contact a {
  color: inherit;
}

.site-footer__contact a:hover {
  color: var(--color-brand-primary);
}

.site-footer__legal {
  margin-top: var(--space-5);
  margin-bottom: 0;
  margin-inline: auto;
  max-width: none;
  color: var(--color-text-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: center;
}

.site-footer__legal-sub {
  margin-top: var(--space-1);
  margin-bottom: 0;
  margin-inline: auto;
  max-width: none;
  color: var(--color-text-muted);
  opacity: 0.7;
  font-size: var(--text-xs);
  text-align: center;
}

.site-footer__legal-link {
  color: inherit;
  text-decoration: underline;
}

.site-footer__legal-link:hover {
  color: var(--color-brand-primary);
}

@media (min-width: 480px) {
  .site-footer__legal,
  .site-footer__legal-sub {
    white-space: nowrap;
  }
}
