.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--light);
  color: var(--green);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 4.75rem;
  padding: 0.6rem var(--page-padding);
  background: rgba(236, 238, 238, 0.94);
  border-bottom: var(--border);
  border-radius: 0 0 var(--radius-small) var(--radius-small);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  width: max-content;
  color: var(--ink);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  width: 2.9rem;
  height: 2.9rem;
}

.menu-toggle {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.25rem 0;
  color: var(--ink);
  font-weight: 700;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-icon {
  display: grid;
  gap: 0.35rem;
  width: 1.5rem;
}

.menu-icon span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.site-nav {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  align-items: stretch;
  padding: 1rem 0 1.5rem;
}

.js .site-nav {
  display: none;
}

.js .site-nav.is-open {
  display: flex;
}

.site-nav a {
  padding: 0.85rem 0;
  font-weight: 650;
  text-decoration: none;
  border-bottom: var(--border);
}

.site-nav a:hover {
  color: rgba(0, 0, 0, 0.65);
}

.parent-brand-link {
  position: relative;
  margin-top: 0.75rem;
  padding-top: 1.25rem !important;
  font-weight: 700 !important;
}

.parent-brand-link::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.3);
  content: "";
}

.site-header .header-cta {
  display: none;
}

.button {
  display: inline-flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  max-width: 100%;
  min-height: 3.5rem;
  padding: 0.9rem 1.2rem;
  color: var(--light);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  background: var(--green);
  border: 2px solid var(--green);
  border-radius: var(--radius-pill);
  box-shadow: 0.38rem 0.38rem 0 var(--teal);
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover {
  color: var(--ink);
  background: var(--mint);
  box-shadow: 0.22rem 0.22rem 0 var(--green);
  transform: translate(0.16rem, 0.16rem);
}

.button-small {
  min-height: 2.75rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  box-shadow: none;
}

.button-light {
  color: var(--ink);
  background: var(--mint);
  border-color: var(--mint);
  box-shadow: 0.38rem 0.38rem 0 var(--teal);
}

.button-light:hover {
  color: var(--light);
  background: transparent;
  border-color: var(--light);
  box-shadow: 0.22rem 0.22rem 0 var(--teal);
}

.section-dark,
.section-blue,
.section-lavender,
.testimonials {
  position: relative;
  margin: clamp(0.5rem, 1.2vw, 1.25rem);
  padding: var(--section-space) var(--page-padding);
  border-radius: var(--radius-large);
}

.section-dark {
  color: var(--light);
  background: var(--green);
}

.section-blue {
  color: var(--ink);
  background: var(--mint);
}

.section-lavender {
  color: var(--ink);
  background: var(--light);
}

.section-heading {
  position: relative;
  width: 100%;
}

.strategy .section-heading h2,
.testimonials .section-heading h2 {
  width: 100%;
  max-width: none;
}

.problem .section-heading {
  align-self: center;
}

.approach-copy > .section-heading + p {
  max-width: 36rem;
  font-size: clamp(1.25rem, 1.55vw, 1.55rem);
  line-height: 1.5;
}

.approach-copy .section-heading {
  margin-bottom: 2.5rem;
}

.text-link {
  display: inline-flex;
  gap: 1.25rem;
  align-items: center;
  padding-bottom: 0.25rem;
  font-weight: 750;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}

.text-link span,
.button span,
.footer-booking span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.button:hover span,
.footer-booking:hover span {
  transform: translate(0.18rem, -0.18rem);
}

.process .section-heading {
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.testimonials .section-heading {
  margin-bottom: clamp(4rem, 10vw, 9rem);
}

.final-cta .button {
  margin-top: 1.5rem;
  text-align: left;
}

.site-footer {
  display: grid;
  gap: 2rem;
  align-items: end;
  padding: 3rem var(--page-padding);
  color: var(--light);
  background: var(--green);
  border-radius: var(--radius-large) var(--radius-large) 0 0;
}

.footer-brand {
  color: var(--light);
}

.footer-booking {
  display: flex;
  gap: 1rem;
  align-items: center;
  width: fit-content;
  font-weight: 700;
  text-underline-offset: 0.28rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.82rem;
}

.js.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 48rem) {
  .site-footer {
      grid-template-columns: 1fr auto auto;
      gap: 3rem;
    }
}

@media (min-width: 64rem) {
  .site-header {
      grid-template-columns: auto 1fr auto;
      gap: 1.25rem;
    }

  .menu-toggle {
      display: none;
    }

  .site-nav,
    .js .site-nav {
      grid-column: auto;
      display: flex;
      flex-direction: row;
      gap: clamp(0.4rem, 0.75vw, 0.8rem);
      justify-content: center;
      padding: 0;
    }

  .site-nav a {
      font-size: 0.72rem;
      padding: 0.45rem 0;
      border: 0;
      white-space: nowrap;
    }

  .parent-brand-link {
      margin-top: 0;
      margin-left: 0.25rem;
      padding-top: 0.45rem !important;
      padding-left: 0.85rem !important;
      border-left: 1px solid rgba(0, 0, 0, 0.35) !important;
    }

  .parent-brand-link::before {
      display: none;
    }

  .site-header .header-cta {
      display: inline-flex;
    }

  .process .section-heading {
      grid-column: 1;
      grid-row: 1;
      margin-bottom: clamp(3rem, 5vw, 5rem);
    }
}

@media (min-width: 80rem) {
  .site-header {
      gap: 2rem;
    }

  .site-nav,
    .js .site-nav {
      gap: clamp(0.6rem, 1vw, 1.15rem);
    }

  .site-nav a {
      font-size: 0.82rem;
    }
}

@media (min-width: 90rem) {
  .site-header,
    .hero,
    .section-dark,
    .section-blue,
    .section-lavender,
    .testimonials,
    .site-footer {
      padding-right: max(var(--page-padding), calc((100vw - 94rem) / 2));
      padding-left: max(var(--page-padding), calc((100vw - 94rem) / 2));
    }
}

@media (prefers-reduced-motion: reduce) {
  .js.reveal-ready [data-reveal] {
      opacity: 1;
      transform: none;
    }
}

/* Shared Marco Digital navigation and footer */
.site-header {
  top: 0.7rem;
  right: auto;
  left: 50%;
  width: min(calc(100% - 1rem), 94rem);
  min-height: 4.4rem;
  padding: 0.5rem clamp(0.8rem, 2vw, 1.4rem);
  background: rgba(236, 238, 238, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: var(--radius-pill);
  box-shadow: 0 0.8rem 2.5rem rgba(0, 0, 0, 0.12);
  transform: translate(-50%, var(--header-shift-y, 0));
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 240ms ease, border-radius 180ms ease;
}

.site-header.is-hidden {
  --header-shift-y: calc(-100% - 2rem);
  opacity: 0.98;
  pointer-events: none;
}

html:not(.js) .site-header {
  position: relative;
  top: auto;
  left: auto;
  width: calc(100% - 1rem);
  margin: 0.5rem auto;
  border-radius: 2rem;
  transform: none;
}

.site-header .brand img {
  width: 2.8rem;
  height: 2.8rem;
}

.site-nav a {
  position: relative;
}

.site-nav a[aria-current="page"] {
  color: var(--green);
}

.site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 0.16rem;
  background: var(--teal);
  border-radius: var(--radius-pill);
  content: "";
}

.site-nav .nav-contact {
  margin-top: 0.75rem;
  padding-inline: 1rem;
  color: var(--light);
  background: var(--green);
  border: 0;
  border-radius: var(--radius-pill);
}

.site-nav .nav-contact:hover {
  color: var(--ink);
  background: var(--mint);
}

.site-footer {
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
  margin: clamp(0.5rem, 1.2vw, 1.25rem) clamp(0.5rem, 1.2vw, 1.25rem) 0;
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.footer-primary,
.footer-navigation,
.footer-contact,
.footer-legal {
  display: flex;
  gap: 0.65rem 1.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-primary {
  align-items: center;
  justify-content: space-between;
}

.footer-navigation,
.footer-contact {
  flex-direction: column;
}

.footer-navigation a,
.footer-contact a,
.footer-legal a {
  text-underline-offset: 0.26rem;
}

.footer-legal a[aria-current="page"] {
  color: var(--mint);
  font-weight: 750;
}

.footer-legal {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(236, 238, 238, 0.35);
}

.footer-legal p {
  flex-basis: 100%;
}

@media (max-width: 63.99rem) {
  body.menu-open .site-header {
    border-radius: 2rem;
  }

  .site-nav a[aria-current="page"]::after {
    bottom: 0.5rem;
  }
}

@media (min-width: 64rem) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .site-nav,
  .js .site-nav {
    justify-content: flex-end;
  }

  .site-nav .nav-contact {
    margin-top: 0;
    margin-left: 0.2rem;
    padding: 0.6rem 1rem;
  }

  .site-nav a[aria-current="page"]::after {
    bottom: 0.05rem;
  }

  .site-footer {
    grid-template-columns: minmax(16rem, 1.4fr) 1fr 1fr;
  }

  .footer-legal {
    grid-column: 1 / -1;
  }
}


/* Final footer parity refinement: the approved Home footer is shared everywhere. */
.footer-primary {
  align-items: flex-start;
}

.footer-brand-contact,
.footer-navigation-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-contact {
  gap: 1rem;
}

.footer-brand-contact .footer-contact,
.footer-navigation-column {
  gap: 0.65rem;
}

.footer-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem clamp(1.5rem, 5vw, 4rem);
  width: 100%;
}

@media (min-width: 64rem) {
  .site-footer {
    grid-template-columns: minmax(23rem, 1.4fr) repeat(2, minmax(10rem, 1fr));
  }

  .footer-primary {
    grid-column: 1;
  }

  .footer-navigation {
    grid-column: 2 / -1;
  }
}

/* Final design pass: navigation scale, consistent question sections and durable reveals. */
.site-nav a {
  font-size: 1.05rem;
}

.shared-question-standard .shared-question-copy {
  display: flex;
  max-width: 40rem;
  align-self: center;
  flex-direction: column;
  justify-content: center;
}

.shared-question-standard .shared-question-copy h2 {
  max-width: 14ch;
  margin-bottom: clamp(1.15rem, 2.2vw, 1.65rem);
  font-size: clamp(3rem, 5vw, 3.75rem);
  line-height: 1;
}

.shared-question-standard .shared-question-copy p {
  max-width: 38rem;
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.4375rem);
  line-height: 1.5;
}

.shared-question-standard .shared-question-copy .shared-question-lead {
  margin-bottom: 0.45rem;
  font-weight: 750;
}

.shared-question-standard .shared-question-copy .page-button {
  width: fit-content;
  margin-top: clamp(1.2rem, 2.2vw, 1.75rem);
}

.shared-question-standard :is(.content-grid, .cas-contact-grid, .website-contact-grid) {
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.js.reveal-ready [data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 64rem) {
  .site-nav a {
    font-size: 0.8rem;
  }
}

@media (min-width: 80rem) {
  .site-nav a {
    font-size: 0.9rem;
  }
}



/* Final responsive footer correction: keep the two contact links together on phones. */
@media (max-width: 47.99rem) {
  .site-footer .footer-contact {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.65rem clamp(0.75rem, 3vw, 1.25rem);
    flex-wrap: wrap;
    text-align: center;
  }
}


@media (max-width: 47.99rem) {
  .site-footer .footer-primary,
  .site-footer .footer-brand-contact {
    width: 100%;
  }
}
