:root {
  --color-accent-primary: #00A66A;
  --color-accent-primary-rgb: 0, 166, 106;
  --color-text-strong: #10212B;
  --color-bg-body: #F7F9FB;
  --color-bg-subtle: #E6F7F0;
  --color-accent-secondary: #4C8DFF;
  --color-bg-muted: #F4E8D8;
  --font-heading: "DM Sans", sans-serif;
  --font-body: "Nunito", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  background-color: var(--color-bg-body);
  color: var(--color-text-strong);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 24px;
  min-height: 80px;
}

.site-header .logo a {
  color: var(--color-text-strong);
  text-decoration: none;
  font-weight: 700;
}

.logo-image {
  display: block;
  height: 56px;
  width: auto;
}

.main-nav .menu-animation-fade .navigation-menu-content {
  transition: opacity 0.15s ease-out;
}

.main-nav .navigation-menu-content.sp-menu-right {
  left: auto;
  right: 0;
}

.main-nav .sp-dropdown-inner {
  position: relative;
}

.main-nav {
  display: flex;
  align-items: center;
  margin-left: 32px;
  flex: 1 1 auto;
  min-width: 0;
}

.navigation-menu {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.navigation-menu-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.navigation-menu-item {
  position: relative;
}

.main-nav .sp-megamenu-parent {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.main-nav .sp-menu-item>a {
  display: inline-block;
  padding: 20px 16px;
  text-decoration: none;
  color: var(--color-text-strong);
}

.main-nav .sp-menu-item>a:hover,
.main-nav .sp-menu-item.current-item>a {
  color: var(--color-accent-primary);
}

/* Keep CTA button text white even when its parent is marked as current */
.main-nav .nav-cta>a,
.main-nav .nav-cta.current-item>a {
  color: #ffffff;
}

.main-nav .nav-cta>a {
  background-color: var(--color-accent-primary);
  color: #ffffff;
  border-radius: 999px;
  padding: 12px 20px;
}

.main-nav .nav-cta>a:hover {
  background-color: #01925f;
}

/* Dropdown indicator (chevron) on top-level items with submenus */
.navigation-menu-trigger {
  border: none;
  background: transparent;
  font: inherit;
  color: var(--color-text-strong);
  padding: 16px 32px 16px 14px;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.navigation-menu-trigger::after {
  content: ">";
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-text-strong);
  opacity: 0.9;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.navigation-menu-item.sp-has-child.is-open>.navigation-menu-trigger::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Underline on hover for items with dropdown */
.navigation-menu-item.sp-has-child>.navigation-menu-trigger {
  position: relative;
}

.navigation-menu-item.sp-has-child::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 10px;
  height: 2px;
  background-color: var(--color-accent-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 150ms ease-out;
  pointer-events: none;
}

.navigation-menu-item.sp-has-child.is-open::before,
.navigation-menu-item.sp-has-child:focus-within::before {
  transform: scaleX(1);
}

/* Sub-item with nested menu: show "has more" indicator */
.navigation-menu-subitem.sp-has-child>a {
  padding-right: 20px;
}

.navigation-menu-subitem.sp-has-child>a::after {
  content: "›";
  position: absolute;
  right: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent-primary);
}

.navigation-menu-content {
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 260px;
  background-color: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
}

.navigation-menu-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation-menu-subitem+.navigation-menu-subitem {
  margin-top: 6px;
}

.navigation-menu-subitem>a {
  display: block;
  padding: 6px 0;
  text-decoration: none;
  color: var(--color-text-strong);
  font-size: 0.95rem;
  position: relative;
}

.navigation-menu-subitem>a:hover {
  color: var(--color-accent-primary);
}

.main-nav .sp-menu-item {
  position: relative;
}

/* Hide dropdowns by default */
.main-nav .sp-dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  z-index: 20;
}

/* Show top-level dropdown on click (or keyboard focus) */
.navigation-menu-item.sp-has-child.is-open>.navigation-menu-content,
.navigation-menu-item.sp-has-child:focus-within>.navigation-menu-content,
.navigation-menu-item.sp-has-child>.navigation-menu-trigger[aria-expanded="true"]+.navigation-menu-content {
  display: block;
}

/* Show nested sub-dropdowns on click */
.main-nav .sp-dropdown-items .sp-menu-item.sp-has-child.is-open>.sp-dropdown-sub {
  display: block;
  left: 100%;
  top: 0;
}

.sp-dropdown-main,
.sp-dropdown-sub {
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Hamburger toggle: hidden on desktop */
.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--color-text-strong);
  border-radius: 8px;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background-color: var(--color-bg-subtle);
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 2px;
}

.nav-toggle-icon {
  display: block;
  position: relative;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
  transition: background-color 0.2s ease;
}

.nav-toggle-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: -7px;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease;
}

.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile & tablet: hamburger + full-width nav panel */
@media (max-width: 1023px) {
  .site-header {
    padding: 0 16px;
    position: relative;
    gap: 12px;
  }

  .site-header .logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-header .logo a {
    display: inline-flex;
    align-items: center;
    min-width: 0;
  }

  .logo-image {
    max-width: min(220px, 60vw);
    max-height: 56px;
    height: auto;
  }

  .navigation-menu {
    position: static;
  }

  .main-nav {
    margin-left: auto;
    flex: 0 0 auto;
    min-width: auto;
    width: auto;
    justify-content: flex-end;
  }

  .main-nav.navigation-menu {
    flex: 0 0 auto;
  }

  .nav-toggle {
    display: flex;
    margin-left: 8px;
  }

  .main-nav .sp-megamenu-parent {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    overflow-x: hidden;
    border-top: 1px solid rgba(16, 33, 43, 0.08);
    z-index: 30;
    box-sizing: border-box;
  }

  .main-nav.nav-open .sp-megamenu-parent {
    display: flex;
  }

  .main-nav .navigation-menu-item {
    border-bottom: 1px solid rgba(16, 33, 43, 0.06);
  }

  .main-nav .navigation-menu-item:last-child {
    border-bottom: none;
  }

  .main-nav .sp-menu-item>a,
  .navigation-menu-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 44px 14px 20px;
    text-align: left;
    min-height: 44px;
    box-sizing: border-box;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .main-nav .navigation-menu-item.sp-has-child::before {
    display: none;
  }

  .navigation-menu-trigger::after {
    right: 20px;
  }

  .main-nav .sp-dropdown {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    background-color: var(--color-bg-subtle);
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 12px;
    border-radius: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .main-nav .navigation-menu-item.sp-has-child.is-open>.sp-dropdown,
  .main-nav .sp-dropdown-items .sp-menu-item.sp-has-child.is-open>.sp-dropdown-sub {
    display: block;
  }

  .main-nav .sp-dropdown-items .sp-menu-item.sp-has-child:hover>.sp-dropdown-sub {
    display: none;
  }

  .main-nav .navigation-menu-subitem>a {
    padding: 10px 24px 10px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .main-nav .nav-cta {
    padding: 12px 20px;
  }

  .main-nav .nav-cta>a {
    display: block;
    text-align: center;
    min-height: 44px;
    line-height: 44px;
    padding: 0 20px;
  }
}

main {
  flex: 1 0 auto;
}

/* Gallery */
.gallery-page {
  padding-top: 40px;
  padding-bottom: 64px;
  background-color: var(--color-bg-body);
}

.gallery-hero {
  margin-bottom: 40px;
}

.gallery-hero .gallery-title {
  margin: 0 0 12px;
  font-size: 1.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-strong);
}

.gallery-hero .gallery-intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 60ch;
  color: var(--color-text-strong);
}

.gallery-section {
  margin-bottom: 48px;
}

.gallery-section:last-child {
  margin-bottom: 0;
}

.gallery-section-title {
  margin: 0 0 24px;
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-strong);
}

.gallery-section-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-accent-primary);
  text-decoration: none;
}

.gallery-section-link:hover {
  text-decoration: underline;
}

.gallery-card {
  display: block;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(16, 33, 43, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.gallery-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.gallery-card__image-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-bg-subtle);
}

.gallery-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-card__image-wrap img {
  transform: scale(1.03);
}

.gallery-card__caption {
  padding: 12px 16px;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--color-text-strong);
}

.gallery-card__caption:empty {
  display: none;
}

.gallery-card--lightbox {
  cursor: pointer;
}

/* Lightbox */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(16, 33, 43, 0.9);
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox__inner {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.gallery-lightbox__inner img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.gallery-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease;
}

.gallery-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.gallery-lightbox__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Home page layout: container and section wrappers */
.page-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 640px) {
  .page-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.home-hero,
.home-intro,
.home-services,
.home-results,
.home-testimonials,
.home-contact-strip,
.home-hockey-honour {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (min-width: 640px) {

  .home-hero,
  .home-intro,
  .home-services,
  .home-results,
  .home-testimonials,
.home-contact-strip,
.home-hockey-honour {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

@media (min-width: 1024px) {

  .home-hero,
  .home-intro,
  .home-services,
  .home-results,
  .home-testimonials,
.home-contact-strip,
.home-hockey-honour {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

/* Page hero (inner pages, about, contact) */
.page-hero,
.page-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.cta-strip {
  padding-top: 52px;
  padding-bottom: 52px;
}

@media (min-width: 640px) {

  .page-hero,
  .page-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .cta-strip {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media (min-width: 1024px) {

  .page-hero,
  .page-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .cta-strip {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

.page-hero {
  background-color: var(--color-bg-body);
}

.page-hero__title {
  margin: 0 0 12px;
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-text-strong);
}

@media (min-width: 640px) {
  .page-hero__title {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .page-hero__title {
    font-size: 2.25rem;
  }
}

.page-hero__intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-strong);
  max-width: 60ch;
}

/* Page hero with optional side image */
.page-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-hero__content {
  flex: 1 1 auto;
}

.page-hero__image {
  flex: 1 1 auto;
  max-width: 520px;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--color-bg-subtle);
}

.page-hero__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .page-hero--with-image .page-hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .page-hero--with-image .page-hero__content {
    flex: 1 1 55%;
  }

  .page-hero--with-image .page-hero__image {
    flex: 1 1 45%;
    min-height: 260px;
  }
}

/* Content prose (readable width, spacing) */
.content-prose {
  max-width: 65ch;
}

.content-prose p {
  margin: 0 0 1em;
  font-size: 1rem;
  line-height: 1.6;
}

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

.content-prose h2 {
  margin: 1.5em 0 0.5em;
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-text-strong);
}

.content-prose h2:first-child {
  margin-top: 0;
}

.page-section {
  background-color: var(--color-bg-body);
}

.page-section--alt {
  background-color: var(--color-bg-subtle);
}

/* Reusable section with side image */
.section-with-image__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-with-image__content {
  flex: 1 1 auto;
}

.section-with-image__image {
  flex: 1 1 auto;
  max-width: 520px;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--color-bg-subtle);
}

.section-with-image__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .section-with-image__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }

  .section-with-image__content {
    flex: 1 1 55%;
  }

  .section-with-image__image {
    flex: 1 1 65%;
    min-height: 260px;
  }
}

/* About page */
.about-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(var(--color-accent-primary-rgb), 0.12), transparent 40%),
    linear-gradient(180deg, #fbfcfd 0%, #f4f7fa 100%);
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.22)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 45%);
  pointer-events: none;
}

.about-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.about-hero__content,
.about-hero__media {
  position: relative;
  z-index: 1;
}

.about-hero__title {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.about-hero__intro {
  max-width: 58ch;
  font-size: 1.0625rem;
  line-height: 1.85;
}

.about-hero__facts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.about-hero__fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 33, 43, 0.06);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(16, 33, 43, 0.05);
  backdrop-filter: blur(8px);
}

.about-hero__fact-value {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-strong);
}

.about-hero__fact-label {
  font-size: 0.9125rem;
  line-height: 1.6;
  color: rgba(16, 33, 43, 0.82);
}

.about-hero__image-frame {
  margin: 0;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 30px;
  box-shadow: 0 34px 80px rgba(16, 33, 43, 0.16);
}

.about-hero__image-frame img {
  width: 100%;
  display: block;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 20px;
}

.about-hero__caption {
  margin-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(16, 33, 43, 0.62);
}

.about-intro-band {
  padding-top: 0;
}

.about-intro-band__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px 24px;
  margin-top: -18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 33, 43, 0.06);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(16, 33, 43, 0.08);
  backdrop-filter: blur(12px);
}

.about-intro-band__content .about-section-title {
  max-width: 14ch;
  margin-bottom: 0;
}

.about-intro-band__text {
  margin: 0;
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(16, 33, 43, 0.9);
}

.about-section {
  position: relative;
}

.about-section .page-container {
  position: relative;
}

.about-profile {
  align-items: center;
  gap: 32px;
}

.about-profile__content {
  max-width: 680px;
}

.about-profile__image {
  /* align-self: stretch; */
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(var(--color-accent-primary-rgb), 0.16), rgba(76, 141, 255, 0.08)),
    #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  box-shadow: 0 28px 60px rgba(16, 33, 43, 0.12);
}

.about-profile__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  object-position: center top;
}

.about-eyebrow {
  margin: 0 0 12px;
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-primary);
}

.about-section-title {
  margin-bottom: 18px;
  max-width: 12ch;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.about-profile__content .about-section-title {
  margin-bottom: 8px;
}

.about-qualifications {
  margin: 0 0 18px;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(var(--color-text-strong-rgb), 0.72);
}

.about-lead {
  margin: 0 0 28px;
  max-width: 58ch;
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--color-text-strong);
}

.about-quote {
  position: relative;
  margin-top: 28px;
  padding: 24px 0 0;
}

.about-quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent-primary), rgba(var(--color-accent-primary-rgb), 0.08));
}

.about-quote__text {
  margin: 0;
  max-width: 36ch;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: var(--color-text-strong);
}

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}

.about-credential-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(16, 33, 43, 0.07);
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(16, 33, 43, 0.06);
}

.about-credential-kicker {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(16, 33, 43, 0.62);
}

.about-credential-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text-strong);
}

.about-credential-label {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-strong);
}

.about-availability {
  display: grid;
  gap: 24px;
}

.about-availability-section .about-section-header {
  margin-bottom: 28px;
}

.about-availability__group {
  padding: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(16, 33, 43, 0.07);
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(16, 33, 43, 0.05);
}

.about-availability__group-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-availability__icon,
.about-schedule-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--color-accent-primary);
  background: rgba(var(--color-accent-primary-rgb), 0.1);
  border-radius: 999px;
}

.about-availability__icon {
  width: 44px;
  height: 44px;
}

.about-availability__group-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--color-text-strong);
}

.about-schedule-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.about-schedule-card {
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(var(--color-accent-primary-rgb), 0.05), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(16, 33, 43, 0.07);
  border-radius: 16px;
}

.about-schedule-card__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--color-text-strong);
}

.about-schedule-card__icon {
  width: 40px;
  height: 40px;
}

.about-detail-list,
.about-clinic-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(16, 33, 43, 0.88);
}

.about-clinic-list {
  grid-template-columns: 1fr;
}

.about-detail-list li,
.about-clinic-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px 0;
  line-height: 1.7;
}

.about-detail-list li+li,
.about-clinic-list li+li {
  border-top: 1px solid rgba(16, 33, 43, 0.08);
}

.about-detail-list__icon,
.about-clinic-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 28px;
  color: var(--color-accent-primary);
}

.about-detail-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--color-text-strong);
  font-weight: 600;
}

.about-availability__intro {
  margin: 14px 0 16px;
  max-width: 58ch;
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(16, 33, 43, 0.88);
}

.about-section-header {
  max-width: 760px;
  margin-bottom: 36px;
}

.about-section-header--compact {
  margin-bottom: 32px;
}

.about-section-intro {
  margin: 0;
  max-width: 62ch;
  font-size: 1.0625rem;
  line-height: 1.85;
}

.about-value-card,
.about-approach-card {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(16, 33, 43, 0.07);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(16, 33, 43, 0.06);
  backdrop-filter: blur(6px);
}

.about-value-card {
  position: relative;
  overflow: hidden;
}

.about-value-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-accent-primary), rgba(76, 141, 255, 0.45));
}

.about-value-title {
  margin: 0 0 12px;
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-text-strong);
}

.about-card-kicker {
  margin: 0 0 14px;
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(16, 33, 43, 0.58);
}

.about-value-text {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.78;
  color: var(--color-text-strong);
}

.about-approach-card {
  position: relative;
  padding-top: 64px;
  background:
    linear-gradient(180deg, rgba(var(--color-accent-primary-rgb), 0.1), rgba(var(--color-accent-primary-rgb), 0.02)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
}

.about-approach-step {
  position: absolute;
  top: 24px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background-color: rgba(var(--color-accent-primary-rgb), 0.12);
  border: 1px solid rgba(var(--color-accent-primary-rgb), 0.1);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-accent-primary);
}

.about-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 36px;
}

@media (min-width: 640px) {
  .about-hero__facts {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .about-hero__fact {
    flex: 1 1 0;
    min-width: 12rem;
  }

  .about-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
}

@media (min-width: 1024px) {
  .about-hero__inner {
    gap: 56px;
    flex-direction: row;
    align-items: center;
  }

  .about-intro-band__inner {
    align-items: end;
    gap: 48px;
    padding: 34px 36px;
    margin-top: -36px;
    flex-direction: row;
  }

  .about-profile__image {
    max-width: 100%;
  }

  .about-profile {
    gap: 56px;
  }

  .about-credentials {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .about-credential-card {
    flex: 1 1 calc(33.333% - 12px);
    min-width: 14rem;
  }

  .about-schedule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-availability {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    align-items: start;
  }

  /* .about-values-grid and .about-approach-grid now use Bootstrap grid */
}

/* CTA strip (reusable on any page) */
.cta-strip {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d4a2f 0%, #155c3a 40%, #1a7a4a 100%);
  color: #fff;
}

/* Soft radial glow overlay */
.cta-strip__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(52, 211, 153, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(16, 185, 129, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.cta-strip__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

.cta-strip__content {
  flex: 1 1 auto;
}

.cta-strip__eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(134, 239, 172, 0.9);
}

.cta-strip__heading {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
}

.cta-strip__sub {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  max-width: 52ch;
}

.cta-strip__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 18px;
}

.cta-strip__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.18s;
}

a.cta-strip__contact-item:hover {
  color: #fff;
}

.cta-strip__contact-icon {
  display: inline-flex;
  align-items: center;
  color: rgba(134, 239, 172, 0.85);
}

.cta-strip__contact-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.1rem;
}

.cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.cta-strip__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  background: #fff;
  color: #0d4a2f;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.cta-strip__btn-primary:hover {
  background: #e6fff4;
  color: #0a3d26;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.cta-strip__btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-heading);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.cta-strip__btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.cta-strip__btn-whatsapp:hover {
  border-color: #25d366;
  color: #25d366;
  background: rgba(37, 211, 102, 0.1);
}

@media (min-width: 768px) {
  .cta-strip__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .cta-strip__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-width: 200px;
  }

  .cta-strip__btn-primary,
  .cta-strip__btn-ghost {
    text-align: center;
    justify-content: center;
  }
}

/* Related links (inner pages) */
.related-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-links li {
  margin-top: 8px;
}

.related-links li:first-child {
  margin-top: 0;
}

.related-links a {
  color: var(--color-accent-secondary);
  text-decoration: none;
  font-weight: 500;
}

.related-links a:hover {
  text-decoration: underline;
  color: var(--color-accent-primary);
}

/* Contact form */
.contact-form label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-text-strong);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(16, 33, 43, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-body);
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 0 2px rgba(0, 166, 106, 0.2);
}

.contact-form p {
  margin: 0 0 16px;
}

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

/* Buttons (legacy TrueSmile buttons; use Bootstrap .btn going forward) */
.ts-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  min-height: 44px;
  box-sizing: border-box;
  line-height: 1.25;
  border: 2px solid transparent;
}

.ts-btn-primary {
  border: 2px solid var(--color-bg-subtle);
  background-color: var(--color-accent-primary);
  color: #ffffff;
}

.ts-btn-primary:hover {
  background-color: #01925f;
}

.ts-btn-secondary {
  background-color: var(--color-bg-subtle);
  color: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
}

.ts-btn-secondary:hover {
  background-color: var(--color-bg-subtle);
}

.ts-btn:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 2px;
}

/* Hero */

.hero-title {
  margin: 0 0 16px;
  font-size: 1.85rem;
  line-height: 1.2;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-text-strong);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }
}

.hero-text {
  margin: 0 0 24px;
  font-size: 1.5rem;
  line-height: 1.6;
  max-width: 50ch;
  color: var(--color-text-strong);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Intro */
.home-intro {
  background-color: var(--color-bg-subtle);
}

.intro-inner {
  max-width: 65ch;
}

.intro-title {
  margin: 0 0 16px;
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
  font-family: var(--font-heading);
}

.intro-text {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Section title (shared) */
.section-title {
  margin: 0 0 32px;
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
  font-family: var(--font-heading);
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 1.75rem;
  }
}

/* Small section headings used inside content blocks */
.related-heading {
  margin: 32px 0 16px;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-text-strong);
}

/* Services grid and cards */
.home-services {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(0, 166, 106, 0.08), transparent 55%),
    radial-gradient(circle at bottom right, rgba(76, 141, 255, 0.08), transparent 55%);
}

.home-services::before {
  content: "";
  position: absolute;
  inset: 0;
  right: 20%;
  background-image: url("/media/home/enhance_6pwdtjs4bpt9rfaolp72.webp");
  background-size: cover;
  background-position: center right;
  opacity: 0.16;
  transform: translateX(8%);
  filter: saturate(1.05);
  pointer-events: none;
}

.home-services>.page-container {
  position: relative;
  z-index: 2;
}


.service-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(16, 33, 43, 0.06);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--color-accent-primary);
}

.service-card-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-text-strong);
}

.service-card-text {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  line-height: 1.5;
  flex: 1 0 auto;
  color: var(--color-text-strong);
}

.service-card-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-accent-primary);
}

.service-card:hover .service-card-link {
  text-decoration: underline;
}

.service-card:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 2px;
}


/* Testimonials */
.home-testimonials {
  background-color: var(--color-bg-muted);
}

.testimonial-card {
  padding: 24px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(16, 33, 43, 0.06);
}

.testimonial-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-bg-subtle);
  margin-bottom: 16px;
  overflow: hidden;
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-quote {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-name {
  margin: 0;
  font-size: 0.875rem;
  font-family: var(--font-heading);
  color: var(--color-text-strong);
  opacity: 0.85;
}

/* .testimonials-grid now uses Bootstrap grid */

/* Trusted customer reviews (static Google reviews) */
.home-customer-reviews {
  background: linear-gradient(180deg, var(--color-bg-muted) 0%, var(--color-bg-body) 100%);
}

.customer-reviews-header {
  text-align: center;
  margin-bottom: 32px;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.customer-reviews-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent-primary);
  background-color: rgba(var(--color-accent-primary-rgb), 0.12);
  border-radius: 999px;
}

.customer-reviews-header .section-title {
  margin-bottom: 12px;
}

.customer-reviews-subtitle {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-subtle);
}

.customer-reviews-widget {
  position: relative;
  padding: 24px 20px 20px;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.customer-reviews-scroller {
  max-height: 420px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent 0%, black 48px, black calc(100% - 48px), transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 48px, black calc(100% - 48px), transparent 100%);
}

.customer-reviews-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: customer-reviews-scroll 10s linear infinite;
}

.customer-reviews-track:hover {
  animation-play-state: paused;
}

@keyframes customer-reviews-scroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

.customer-reviews-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-right: 6px;
  flex-shrink: 0;
}

.customer-reviews-grid .review-card {
  flex: 1 1 100%;
}

.review-card {
  padding: 18px;
  border-radius: 14px;
  background-color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.review-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.review-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
  background: linear-gradient(135deg, #00a66a, #059669);
  flex-shrink: 0;
}

.review-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-strong);
}

.review-rating {
  font-size: 0.875rem;
  color: #f59e0b;
  letter-spacing: 0.02em;
}

.review-time {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  margin-left: auto;
}

.review-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-strong);
}

.customer-reviews-footer {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.customer-reviews-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-accent-primary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.customer-reviews-link:hover {
  background-color: rgba(var(--color-accent-primary-rgb), 0.1);
  text-decoration: none;
}

@media (min-width: 640px) {
  .customer-reviews-grid .review-card {
    flex-basis: calc(50% - 8px);
  }
}

@media (min-width: 1024px) {
  .customer-reviews-scroller {
    max-height: 380px;
  }

  .customer-reviews-grid {
    gap: 18px;
  }

  .customer-reviews-grid .review-card {
    flex-basis: calc(33.333% - 12px);
  }

  .customer-reviews-header {
    margin-bottom: 40px;
  }

  .customer-reviews-header .section-title {
    font-size: 1.75rem;
  }
}

/* Contact strip */
.home-contact-strip {
  background-color: var(--color-bg-body);
}

.contact-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}

.contact-strip-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-strip-label {
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-text-strong);
  opacity: 0.8;
}

.contact-strip-value {
  font-size: 1rem;
  color: var(--color-text-strong);
}

.contact-strip-value a {
  color: var(--color-accent-secondary);
  text-decoration: none;
}

.contact-strip-value a:hover {
  text-decoration: underline;
}

.contact-strip-map {
  min-height: 200px;
  background-color: var(--color-bg-subtle);
  border-radius: 12px;
  border: 1px dashed rgba(16, 33, 43, 0.15);
}

.contact-locations {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-locations>* {
  min-width: 0;
}

.contact-location-card {
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
  padding: 18px 18px 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.contact-location-title {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.contact-location-subtitle {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--color-text-subtle);
}

.contact-location-map {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.contact-location-map iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
}

.contact-location-map--video {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}

.contact-location-map--video iframe {
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

@media (min-width: 1024px) {
  .contact-location-map--video iframe {
    min-height: 460px;
  }
}

/* Homepage refresh */
.home-hero,
.home-intro,
.home-services,
.home-results,
.home-testimonials,
.home-contact-strip,
.home-hockey-honour,
.home-locations {
  padding-top: clamp(40px, 8vw, 104px);
  padding-bottom: clamp(40px, 8vw, 104px);
}

/* ── Hockey honour section ─────────────────────────────────────────────── */
.home-hockey-honour {
  background:
    linear-gradient(180deg, rgba(247, 249, 251, 0.92), rgba(247, 249, 251, 0.98));
}

.home-hockey-honour__image {
  position: relative;
  align-self: stretch;
}

.home-hockey-honour__image-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(16, 33, 43, 0.14);
}

/* Overlay: green tint on right edge + dark fade at bottom for badge readability */
.home-hockey-honour__image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, transparent 68%, rgba(0, 166, 106, 0.20) 84%, rgba(0, 166, 106, 0.52) 100%),
    linear-gradient(to top, rgba(16, 33, 43, 0.38) 0%, transparent 32%);
  border-radius: 26px;
  pointer-events: none;
  z-index: 1;
}

.home-hockey-honour__image-frame img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.home-hockey-honour__image-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 28px rgba(16, 33, 43, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-primary);
  z-index: 2;
}

.home-hockey-honour__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(var(--color-accent-primary-rgb), 0.85);
}

.home-hockey-honour__kicker svg {
  color: var(--color-accent-primary);
}

.home-hockey-honour__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--color-text-strong);
}

.home-hockey-honour__underline {
  display: block;
  width: 54px;
  height: 3px;
  border-radius: 999px;
  background: var(--color-accent-primary);
  margin: 14px 0 18px;
}

.home-hockey-honour-quote {
  margin: 0;
  position: relative;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: rgba(var(--color-accent-primary-rgb), 0.05);
  border: 1px solid rgba(var(--color-accent-primary-rgb), 0.12);
  box-shadow: 0 18px 44px rgba(16, 33, 43, 0.06);
}

.home-hockey-honour-quote__mark {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(var(--color-accent-primary-rgb), 0.75);
  margin-bottom: 10px;
}

.home-hockey-honour-quote p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.7;
  color: rgba(16, 33, 43, 0.78);
  text-wrap: pretty;
}

.home-hockey-honour__since {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: rgba(16, 33, 43, 0.82);
}

.home-hockey-honour__since-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--color-accent-primary-rgb), 0.08);
  border: 1px solid rgba(var(--color-accent-primary-rgb), 0.12);
  color: var(--color-accent-primary);
  flex: 0 0 auto;
}

.home-hockey-honour__since-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-hockey-honour__since-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(16, 33, 43, 0.55);
}

.home-hockey-honour__since-year {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  color: rgba(16, 33, 43, 0.82);
}

@media (min-width: 992px) {
  .home-hockey-honour__inner>.home-hockey-honour__content {
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5 + clamp(1rem, 2vw, 1.75rem));
  }
}

/* Beats .page-section padding in media queries; extra top air after CTA strip */
section.page-section.page-section--alt.home-locations {
  padding-top: clamp(56px, 12vw, 140px);
  padding-bottom: clamp(40px, 8vw, 104px);
}

.home-eyebrow {
  margin: 0 0 14px;
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-primary);
}

.home-section-header {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.home-section-header--left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.home-section-header .section-title,
.home-cta-content .section-title {
  margin-bottom: 16px;
}

.home-section-intro {
  margin: 0;
  max-width: 62ch;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--color-text-subtle);
}

.home-welcome .home-section-intro + .home-section-intro {
  margin-top: 16px;
}

.home-welcome-title {
  margin: 0;
}

.home-welcome-grid .home-section-intro {
  max-width: 70ch;
}

.home-hero {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  background:
    radial-gradient(circle at top left, rgba(var(--color-accent-primary-rgb), 0.14), transparent 42%),
    radial-gradient(circle at bottom right, rgba(76, 141, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #fbfcfd 0%, #f3f7fa 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.28)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 45%);
  pointer-events: none;
}

.home-hero .hero-inner {
  position: relative;
  gap: 40px;
}

.home-hero .row {
  display: flex;
  flex-direction: column;
}

.home-hero .hero-content,
.home-hero .hero-media {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.home-hero .hero-media {
  order: 1;
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

.home-hero .hero-content {
  order: 2;
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

.home-hero .hero-title {
  max-width: 11ch;
  margin: 0 0 20px;
  font-size: clamp(2.5rem, 5.8vw, 4.75rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--color-text-strong);
}

.home-hero .hero-text {
  margin: 0;
  max-width: 60ch;
  font-size: 1.0625rem;
  line-height: 1.9;
  color: rgba(16, 33, 43, 0.9);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 33, 43, 0.06);
  box-shadow: 0 14px 28px rgba(16, 33, 43, 0.06);
  font-size: 0.9125rem;
  font-weight: 600;
  color: var(--color-text-strong);
}

.home-hero .hero-ctas {
  gap: 14px;
}

/* Membership strip moved below hero to avoid overlapping hero badge. */
.home-memberships-strip {
  padding: 10px 0 26px;
}

.home-memberships-strip__inner {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(16, 33, 43, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(16, 33, 43, 0.08);
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  backdrop-filter: blur(10px);
}

.hero-memberships-label {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-primary);
  font-family: var(--font-heading);
  white-space: nowrap;
  padding-right: 16px;
  border-right: 1px solid rgba(16, 33, 43, 0.08);
}

.hero-memberships-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  min-width: 0;
}

.hero-memberships-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-strong);
  line-height: 1.35;
}

.hero-memberships-item + .hero-memberships-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent-primary);
  opacity: 0.8;
  margin-right: 10px;
  flex: 0 0 auto;
  transform: translateY(-1px);
}

@media (max-width: 576px) {
  .home-memberships-strip__inner {
    border-radius: 18px;
    padding: 14px 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero-memberships-label {
    padding-right: 0;
    border-right: none;
  }
}

.home-hero .hero-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  animation: heroSlideInRight 0.85s ease-out both;
  /* Room for credential card that hangs past the image frame */
  padding-bottom: clamp(28px, 6vw, 52px);
  padding-left: clamp(0px, 1.5vw, 16px);
}

.home-hero .hero-image {
  position: relative;
  overflow: visible;
  isolation: isolate;
  padding: 16px;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 34px 80px rgba(16, 33, 43, 0.15);
}

.home-hero .hero-image img,
.home-hero .hero-image .hero-image-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  /* Composite 1280×960 artwork: intrinsic sizing avoids cropping Platinum/Invisalign/nameplate */
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
}

/* Floating credential card: bottom-left, partly outside the image (reference layout). */
.home-hero .hero-experience-badge {
  position: absolute;
  z-index: 4;
  left: clamp(-6px, -1.2vw, -2px);
  bottom: clamp(-10px, -2vw, -4px);
  right: auto;
  top: auto;
  width: min(320px, calc(100% - 8px));
  max-width: calc(100% - 4px);
  margin: 0;
  padding: clamp(18px, 2.6vw, 24px) clamp(20px, 3vw, 26px);
  border-radius: 12px;
  border: 2px solid #ffffff;
  background-color: var(--color-accent-primary);
  color: #ffffff;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.1),
    0 14px 32px rgba(5, 45, 31, 0.26),
    0 28px 56px rgba(16, 33, 43, 0.14);
  font-family: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transform-origin: left bottom;
  animation: heroBadgeBulge 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

/* Hero entrance animation: text from left, image from right, badge pops out */
.home-hero .hero-content {
  animation: heroSlideInLeft 0.8s ease-out both;
}

@keyframes heroSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-42px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroSlideInRight {
  from {
    opacity: 0;
    transform: translateX(42px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroBadgeBulge {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }

  70% {
    opacity: 1;
    transform: scale(1.03);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {

  .home-hero .hero-content,
  .home-hero .hero-media,
  .home-hero .hero-experience-badge {
    animation: none;
  }
}

.home-hero .hero-experience-name {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.15;
  font-weight: 800;
  padding-bottom: 6px;
}


.home-hero .hero-experience-years {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.25;
  font-weight: 600;
}

.home-hero .hero-experience-subtext {
  margin: 0;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
}

.home-hero .hero-experience-divider {
  display: block;
  width: 100%;
  max-width: 16rem;
  height: 1px;
  margin: 12px auto 10px;
  background: rgba(255, 255, 255, 0.88);
}

.home-hero .hero-experience-credential {
  margin: 0;
  font-size: clamp(0.65rem, 1.15vw, 0.8125rem);
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  max-width: 22rem;
}

@media (min-width: 1024px) {
  .home-hero .row {
    flex-direction: row;
  }

  .home-hero .hero-content,
  .home-hero .hero-media {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .home-hero .hero-content {
    order: 1;
  }

  .home-hero .hero-media {
    order: 2;
  }
}

@media (max-width: 639px) {
  .home-hero .hero-experience-years {
    font-size: 24px;
  }
}

/* ── Invisalign Feature Section ─────────────────────────────────────────── */

.home-invisalign-feature {
  padding-top: clamp(40px, 8vw, 104px);
  padding-bottom: clamp(40px, 8vw, 104px);
  background: #ffffff;
  border-top: 1px solid rgba(16, 33, 43, 0.06);
}

.invisalign-platinum-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, #eef6f2 0%, #ddf0e8 100%);
  border: 1.5px solid rgba(0, 166, 106, 0.28);
  color: #0a7a4f;
}

.invisalign-platinum-badge::before {
  content: "✦";
  font-size: 0.55rem;
  color: #8a7a5e;
  flex-shrink: 0;
}

.invisalign-feature-title {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--color-text-strong);
  font-weight: 800;
  max-width: 18ch;
}

.invisalign-feature-intro {
  margin: 0 0 36px;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: rgba(16, 33, 43, 0.78);
  max-width: 52ch;
}

.invisalign-pricing {
  padding: 22px 22px 20px;
  border-radius: 16px;
  background: rgba(var(--color-accent-primary-rgb), 0.05);
  border: 1px solid rgba(var(--color-accent-primary-rgb), 0.14);
}

.invisalign-pricing-heading {
  margin: 0 0 14px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-primary);
  font-family: var(--font-heading);
}

.invisalign-pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.invisalign-pricing-card {
  padding: 16px 14px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(16, 33, 43, 0.08);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.invisalign-pricing-card--highlight {
  background: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
}

.invisalign-pricing-type {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(16, 33, 43, 0.5);
  font-family: var(--font-heading);
}

.invisalign-pricing-card--highlight .invisalign-pricing-type {
  color: rgba(255, 255, 255, 0.72);
}

.invisalign-pricing-range {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--color-text-strong);
  font-family: var(--font-heading);
  line-height: 1.2;
}

.invisalign-pricing-card--highlight .invisalign-pricing-range {
  color: #ffffff;
}

.invisalign-pricing-note {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
  margin-top: 2px;
}

/* Feature highlights — right column */
.invisalign-highlights {
  display: flex;
  flex-direction: column;
}

.invisalign-highlight {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(16, 33, 43, 0.07);
}

.invisalign-highlight:first-child {
  padding-top: 0;
}

.invisalign-highlight:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.invisalign-highlight-num {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-accent-primary);
  opacity: 0.65;
  padding-top: 4px;
  min-width: 22px;
}

.invisalign-highlight-body {
  min-width: 0;
}

.invisalign-highlight-title {
  margin: 0 0 7px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-strong);
  line-height: 1.3;
}

.invisalign-highlight-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.72;
  color: rgba(16, 33, 43, 0.7);
}

.invisalign-before-after {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.invisalign-before-after__card {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(16, 33, 43, 0.08);
  background: #ffffff;
}

.invisalign-before-after__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: rgba(16, 33, 43, 0.04);
}

.invisalign-before-after__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.invisalign-before-after__caption {
  padding: 10px 14px 12px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(16, 33, 43, 0.68);
}

@media (min-width: 992px) {
  .invisalign-before-after {
    margin-top: 34px;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.home-intro {
  background:
    linear-gradient(180deg, rgba(247, 249, 251, 0.92), rgba(247, 249, 251, 0.98));
}

.home-intro__inner {
  align-items: center;
  row-gap: 32px;
}

/* Extra gap between image and copy (padding, not margin — avoids breaking the 12-col row). */
@media (min-width: 992px) {
  .home-intro__inner>.intro-inner {
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5 + clamp(1rem, 2vw, 1.75rem));
  }
}

.intro-inner {
  max-width: 700px;
}

.home-intro .intro-title {
  max-width: 14ch;
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--color-text-strong);
}

.home-intro .intro-text {
  margin: 0;
  max-width: 58ch;
  font-size: 1.0625rem;
  line-height: 1.9;
  color: rgba(16, 33, 43, 0.9);
}

.intro-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.intro-highlight-item {
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 33, 43, 0.06);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(16, 33, 43, 0.06);
}

.intro-highlight-title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--color-text-strong);
}

.intro-highlight-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-subtle);
}

.intro-image {
  align-self: stretch;
  padding: 14px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(var(--color-accent-primary-rgb), 0.16), rgba(76, 141, 255, 0.08)),
    #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 28px 60px rgba(16, 33, 43, 0.12);
}

.intro-image img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .intro-image {
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    padding: 12px;
    border-radius: 26px;
  }

  .intro-image img {
    aspect-ratio: 16 / 10;
    max-height: min(44vh, 420px);
    object-position: center;
    border-radius: 16px;
  }
}

.home-services {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(var(--color-accent-primary-rgb), 0.08), transparent 48%),
    radial-gradient(circle at bottom right, rgba(76, 141, 255, 0.08), transparent 38%),
    linear-gradient(180deg, #fbfcfd 0%, #f7fafc 100%);
}

.home-services::before {
  content: "";
  position: absolute;
  inset: -20% 42% 34% -12%;
  background: radial-gradient(circle, rgba(var(--color-accent-primary-rgb), 0.12), transparent 60%);
  pointer-events: none;
}

.home-services>.page-container {
  position: relative;
  z-index: 2;
}

.home-services::before,
.home-services::after {
  z-index: 0;
}

/* .home-services .services-grid migrated to Bootstrap (row/col) */

.home-services .service-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(16, 33, 43, 0.06);
  box-shadow: 0 18px 42px rgba(16, 33, 43, 0.06);
}

.home-services .service-card:hover {
  border-color: rgba(var(--color-accent-primary-rgb), 0.28);
  box-shadow: 0 26px 54px rgba(16, 33, 43, 0.1);
}

.service-card-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(var(--color-accent-primary-rgb), 0.1);
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-primary);
}

.home-services .service-card-title {
  margin: 0 0 12px;
  font-size: 1.3rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.home-services .service-card-text {
  margin: 0 0 22px;
  font-size: 0.975rem;
  line-height: 1.75;
  color: var(--color-text-subtle);
  overflow-wrap: anywhere;
}

.home-services .service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.home-services .service-card-link::after {
  content: "\2192";
  transition: transform 0.2s ease;
}

.home-services .service-card:hover .service-card-link::after {
  transform: translateX(3px);
}

.service-links-wrap {
  position: relative;
  margin-top: 28px;
}

.service-links-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 4px;
  width: 72px;
  background: linear-gradient(to right, transparent, rgba(var(--color-bg-rgb, 255 255 255) / 0.96) 70%);
  pointer-events: none;
  border-radius: 0 999px 999px 0;
  transition: opacity 0.3s ease;
}

.service-links-wrap.is-scrolled-end::after {
  opacity: 0;
}

/* Arrow chevron */
.service-links-wrap::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background-color: #fff;
  border: 1px solid rgba(16, 33, 43, 0.12);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(16, 33, 43, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2310212b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.service-links-wrap.is-scrolled-end::before {
  opacity: 0;
}

@media (min-width: 768px) {

  .service-links-wrap::before,
  .service-links-wrap::after {
    display: none;
  }
}

.service-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.service-links::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .service-links {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.service-links-item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 33, 43, 0.08);
  box-shadow: 0 10px 24px rgba(16, 33, 43, 0.04);
  font-size: 0.9125rem;
  font-weight: 600;
  color: var(--color-text-strong);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.service-links-item:hover {
  border-color: rgba(var(--color-accent-primary-rgb), 0.24);
  box-shadow: 0 14px 28px rgba(16, 33, 43, 0.08);
  color: var(--color-accent-primary);
}

.home-results {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(var(--color-accent-primary-rgb), 0.18), transparent 45%),
    radial-gradient(circle at bottom right, rgba(76, 141, 255, 0.2), transparent 38%),
    linear-gradient(180deg, #04111b 0%, #081926 100%);
  color: #f8fafc;
}

.home-results::before {
  content: "";
  position: absolute;
  inset: clamp(24px, 6vw, 8%) clamp(12px, 4vw, 4%);
  border-radius: 34px;
  background:
    linear-gradient(120deg, rgba(148, 163, 184, 0.16), transparent 54%),
    radial-gradient(circle at top, rgba(56, 189, 248, 0.22), transparent 48%),
    radial-gradient(circle at bottom, rgba(34, 197, 94, 0.2), transparent 52%);
  opacity: 0.9;
  pointer-events: none;
}

.home-results>.page-container {
  position: relative;
  z-index: 1;
}

.home-results-header {
  max-width: 42rem;
  margin: 0 auto clamp(28px, 4vw, 44px);
  padding-top: clamp(12px, 3vw, 28px);
  text-align: center;
}

.home-results-eyebrow {
  color: rgba(167, 243, 208, 0.95);
}

.home-results-header .section-title {
  margin-bottom: 12px;
  color: #f8fafc;
}

.home-results-subtitle {
  margin: 0 auto;
  max-width: 58ch;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.93);
  text-wrap: pretty;
}

@media (min-width: 1024px) {
  .home-results-header {
    padding-top: clamp(28px, 4vw, 48px);
    margin-bottom: clamp(36px, 4.5vw, 52px);
  }
}

.home-results-grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-results-grid__item {
  display: block;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  min-width: 0;
}

.home-results-grid__item>.home-result-card {
  width: 100%;
}

.home-result-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 20px 50px rgba(2, 8, 23, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.25s ease;
}

.home-result-card:focus-within {
  outline: none;
  border-color: rgba(var(--color-accent-primary-rgb), 0.55);
  box-shadow:
    0 22px 56px rgba(2, 8, 23, 0.5),
    0 0 0 1px rgba(var(--color-accent-primary-rgb), 0.35);
}

@media (hover: hover) and (pointer: fine) {
  .home-result-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
    box-shadow:
      0 28px 64px rgba(2, 8, 23, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-result-card {
    transition: none;
  }

  .home-result-card:hover {
    transform: none;
  }
}

.home-result-media {
  position: relative;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.65);
}

.home-results-grid .home-result-media {
  flex-shrink: 0;
}

.home-result-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(2, 6, 23, 0) 45%,
      rgba(2, 6, 23, 0.38) 100%);
  pointer-events: none;
}

.home-result-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 28%;
}

/* Slow horizontal pan so wide strip photos reveal left–right (respect reduced motion below). */
@keyframes home-result-pan-x {
  from {
    object-position: 0% 28%;
  }

  to {
    object-position: 100% 28%;
  }
}

.home-result-media--pan img {
  animation: home-result-pan-x 18s ease-in-out infinite alternate;
}

.home-result-media--pan-b img {
  animation-duration: 20s;
  animation-delay: -6s;
}

.home-result-media--pan-c img {
  animation-duration: 22s;
  animation-delay: -12s;
}

.home-result-media--pan-d img {
  animation-duration: 24s;
  animation-delay: -4s;
}

@media (hover: hover) and (pointer: fine) {
  .home-result-card:hover .home-result-media--pan img {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-result-media--pan img {
    animation: none;
    object-position: center 28%;
  }
}

/* Equal square image frames in the four-up grid */
.home-results-grid .home-result-media {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.home-result-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.88);
}

.home-result-card figcaption {
  margin: 0;
  padding: 16px 18px 20px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(241, 245, 249, 0.94);
}

@media (min-width: 1024px) {
  .home-result-card figcaption {
    flex-shrink: 0;
  }
}

.home-testimonials {
  background:
    linear-gradient(180deg, #f4f7fa 0%, #ffffff 100%);
}

.testimonials-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: start;
  margin-bottom: 36px;
}

.reviews-summary-card {
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(16, 33, 43, 0.06);
  box-shadow: 0 18px 42px rgba(16, 33, 43, 0.08);
}

.reviews-summary-label {
  margin: 0 0 16px;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-primary);
}

.reviews-summary-list {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--color-text-strong);
}

.reviews-summary-list li {
  line-height: 1.7;
}

/* Testimonials grid now uses Bootstrap row/cols */

.home-testimonials .testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(16, 33, 43, 0.06);
  box-shadow: 0 18px 42px rgba(16, 33, 43, 0.08);
}

.home-testimonials .testimonial-photo {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  box-shadow: 0 12px 24px rgba(16, 33, 43, 0.08);
}

.home-testimonials .testimonial-quote {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.85;
  font-style: normal;
  color: var(--color-text-strong);
}

.home-testimonials .testimonial-name {
  margin: auto 0 4px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-text-strong);
  opacity: 1;
}

.testimonial-role {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-subtle);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
  background: linear-gradient(135deg, #00a66a, #059669);
  flex-shrink: 0;
}

.reviews-mini-grid {
  margin-top: 28px;
}

.review-mini-card {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 33, 43, 0.06);
  box-shadow: 0 14px 34px rgba(16, 33, 43, 0.05);
}

.review-mini-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-mini-header .review-name {
  margin: 0 0 2px;
}

.review-mini-header .review-time {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}

.review-mini-card .review-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-strong);
}

.home-cta {
  background-color: var(--color-bg-body);
}

.home-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(var(--color-accent-primary-rgb), 0.1), rgba(76, 141, 255, 0.06)),
    #ffffff;
  border: 1px solid rgba(16, 33, 43, 0.06);
  box-shadow: 0 26px 60px rgba(16, 33, 43, 0.1);
}

.home-cta-locations {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-cta-location {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 33, 43, 0.06);
}

.home-cta-location-name {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text-strong);
}

.home-cta-location-text {
  display: block;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-subtle);
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-locations {
  gap: 24px;
}

.contact-location-card {
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
  padding: 24px;
}

.contact-location-title {
  margin: 0 0 6px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.contact-location-subtitle {
  margin: 0 0 12px;
}

.contact-location-copy {
  margin: 0 0 18px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text-subtle);
}

.contact-location-actions {
  margin-bottom: 18px;
}

.contact-location-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-accent-primary);
  text-decoration: none;
}

.contact-location-link::after {
  content: "\2197";
}

.contact-location-link:hover {
  text-decoration: underline;
}

.contact-location-map {
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(16, 33, 43, 0.05);
}

.contact-location-map iframe {
  height: 320px;
}

@media (min-width: 640px) {

  .intro-highlights,
  .reviews-mini-grid,
  .home-cta-locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
    column-gap: 28px;
  }

  .home-testimonials .testimonials-grid,
  .contact-locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .home-hero .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
  }

  .home-intro__inner {
    row-gap: 40px;
  }

  .home-intro .intro-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-services .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 36px;
    column-gap: 28px;
  }

  /* Layout now uses flexbox + Bootstrap grid */

  .testimonials-top {
    flex-direction: row;
    justify-content: space-between;
  }

  .testimonials-top>* {
    min-width: 0;
  }

  .testimonials-top .home-section-header {
    flex: 1 1 auto;
  }

  .testimonials-top .reviews-summary-card {
    flex: 0 0 min(360px, 40%);
  }

  .home-cta-inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .home-cta-inner>* {
    min-width: 0;
  }

  .home-cta-locations {
    flex: 1 1 260px;
  }

  .home-cta-actions {
    flex: 0 0 auto;
  }

  /* Locations band: inner top padding on the container so the mint band clears the
     CTA above (section padding alone was not reliably visible in this layout). */
  section.page-section.page-section--alt.home-locations {
    padding-top: 0;
    padding-bottom: clamp(64px, 8vw, 104px);
  }

  .home-locations>.page-container {
    padding-top: 4.5rem;
  }
}

/* Orthodontics department */
.department-overview {
  background:
    radial-gradient(circle at top right, rgba(var(--color-accent-primary-rgb), 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
}

/* Consultancy doctors grid */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

@media (min-width: 640px) {
  .doctor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .doctor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

.doctor-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(16, 33, 43, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(16, 33, 43, 0.06);
}

.doctor-card__photo {
  background-color: var(--color-bg-subtle);
  overflow: hidden;
  padding: 10px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor-card__photo img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}

@media (min-width: 1024px) {
  .doctor-card__photo {
    min-height: 300px;
  }

  .doctor-card__photo img {
    max-height: 380px;
  }
}

/* Consultancy page: doctor photos at 2/3 of default dimensions */
.consultancy-doctors .doctor-card__photo {
  min-height: 173px;
  padding: 7px;
}

.consultancy-doctors .doctor-card__photo img {
  max-height: 213px;
}

@media (min-width: 1024px) {
  .consultancy-doctors .doctor-card__photo {
    min-height: 200px;
  }

  .consultancy-doctors .doctor-card__photo img {
    max-height: 253px;
  }
}

.doctor-card__body {
  padding: 16px 16px 18px;
}

.doctor-card__name {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--color-text-strong);
}

.doctor-card__speciality {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(16, 33, 43, 0.72);
  font-weight: 600;
}

.doctor-card__degree {
  margin: 2px 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(16, 33, 43, 0.62);
  font-weight: 600;
}

.department-overview__inner {
  gap: 32px;
}

.department-overview__content {
  max-width: 680px;
}

.department-eyebrow {
  margin: 0 0 14px;
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(16, 33, 43, 0.62);
}

.department-overview__lead {
  margin: 0 0 20px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(16, 33, 43, 0.88);
  max-width: 62ch;
}

.department-overview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.department-overview__highlights:not(.row),
.department-related-grid:not(.row),
.department-option-list:not(.row) {
  gap: 16px;
}

.department-highlight-card,
.department-related-card {
  padding: 24px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(16, 33, 43, 0.08);
  box-shadow: 0 18px 42px rgba(16, 33, 43, 0.06);
}

.department-highlight-card__kicker,
.department-related-card__kicker {
  margin: 0 0 12px;
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-primary);
}

.department-highlight-card__title,
.department-related-card__title,
.department-option__title {
  margin: 0 0 10px;
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-text-strong);
}

.department-highlight-card__text,
.department-related-card__text,
.department-option__text {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.75;
  color: rgba(16, 33, 43, 0.84);
}

.department-section-header {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.department-section-header--left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.department-section-intro {
  margin: 0 auto;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(16, 33, 43, 0.78);
}

.department-section-intro--left {
  margin-left: 0;
}

.ortho-steps {
  background-color: var(--color-bg-subtle);
}

.ortho-step {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
  padding: 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(16, 33, 43, 0.08);
  box-shadow: 0 18px 42px rgba(16, 33, 43, 0.07);
}

.ortho-step:last-child {
  margin-bottom: 0;
}

.ortho-step__image {
  width: 100%;
  max-width: none;
  border-radius: 20px;
  overflow: hidden;
  background-color: var(--color-bg-subtle);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.ortho-step__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.ortho-step__content {
  max-width: none;
  text-align: left;
}

.ortho-step__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 0 0 14px;
  padding: 0 12px;
  border-radius: 999px;
  background-color: rgba(var(--color-accent-primary-rgb), 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-primary);
}

.ortho-step__title {
  margin: 0 0 14px;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-text-strong);
}

.ortho-step__text {
  margin: 0 0 0.9em;
  font-size: 0.99rem;
  line-height: 1.78;
  color: rgba(16, 33, 43, 0.86);
}

.ortho-step__text:last-child {
  margin-bottom: 0;
}

.ortho-step__content ul {
  margin: 0 0 0.9em;
  padding-left: 1.2em;
  color: rgba(16, 33, 43, 0.86);
}

.ortho-step__content li + li {
  margin-top: 0.35em;
}

.department-option {
  padding: 18px 20px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(var(--color-accent-primary-rgb), 0.08), rgba(var(--color-accent-primary-rgb), 0.03));
  border: 1px solid rgba(var(--color-accent-primary-rgb), 0.12);
}

.department-related-card {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.department-related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(16, 33, 43, 0.09);
  border-color: rgba(var(--color-accent-primary-rgb), 0.28);
}

.department-related-card:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 3px;
}

.department-related-card__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-accent-primary);
}

.department-related-card--with-media {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

/* Fixed height so both cards’ image areas match regardless of source aspect ratio */
.department-related-card__media {
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  background-color: var(--color-bg-subtle);
  height: 200px;
}

@media (min-width: 576px) {
  .department-related-card__media {
    height: 220px;
  }
}

@media (min-width: 992px) {
  .department-related-card__media {
    height: 248px;
  }
}

.department-related-card__media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center;
}

/*
  Braces asset is portrait (1024×1536); cert is landscape. Reframe the portrait
  in the shared fixed-height frame—shift focal point up to trim empty headroom.
*/
.department-related-card__media--braces img {
  object-position: center 22%;
}

.department-related-card--with-media .department-related-card__body {
  padding: 24px;
}

@media (min-width: 768px) {
  /* Department overview/related/option layouts are handled by Bootstrap grid */

  .ortho-step {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 30px;
  }

  .ortho-step--reverse {
    flex-direction: row-reverse;
  }

  .ortho-step__image {
    flex: 1 1 42%;
  }

  .ortho-step__content {
    flex: 1 1 58%;
  }
}

@media (min-width: 1024px) {
  /* Department overview/related/option layouts are handled by Bootstrap grid */

  .department-section-header {
    margin-bottom: 52px;
  }

  .department-overview__highlights {
    gap: 18px;
  }

  .ortho-step {
    gap: 48px;
    padding: 34px;
  }

  .ortho-step__title {
    font-size: 1.625rem;
  }
}

@media (min-width: 768px) {
  .contact-locations {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-locations>* {
    flex: 1 1 calc(50% - 12px);
  }
}

@media (min-width: 640px) {
  .contact-strip-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }

  .contact-strip-item {
    flex: 0 0 auto;
  }
}

/* Site footer — full layout & theme (single block) */
.site-footer {
  /* margin-top: clamp(40px, 5vw, 64px); */
  padding: clamp(40px, 5vw, 56px) clamp(20px, 4vw, 32px) clamp(24px, 3vw, 32px);
  background: linear-gradient(180deg, rgba(230, 247, 240, 0.45) 0%, #ffffff 42%);
  border-top: 1px solid rgba(16, 33, 43, 0.08);
  color: var(--color-text-strong);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 40px);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: clamp(24px, 3vw, 32px);
}

@media (min-width: 768px) {
  .site-footer__inner {
    gap: clamp(32px, 4vw, 48px);
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand {
  max-width: 36ch;
}

.footer-brand__logo-link {
  display: inline-block;
  line-height: 0;
  border-radius: 8px;
  margin-bottom: 14px;
  transition: opacity 0.2s ease;
}

.footer-brand__logo-link:hover {
  opacity: 0.92;
}

.footer-brand__logo-link:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 3px;
}

.footer-brand__logo {
  display: block;
  height: 73px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand__tagline {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(16, 33, 43, 0.72);
}

.footer-brand__social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--color-accent-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}

.footer-brand__social:hover {
  color: var(--color-accent-primary);
  filter: brightness(0.95);
}

.footer-brand__social svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.footer-section-title {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(16, 33, 43, 0.55);
}

.footer-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav__list a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-strong);
  text-decoration: none;
  padding: 2px 0;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.footer-nav__list a:hover {
  color: var(--color-accent-primary);
}

.footer-nav__list a:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 2px;
}

.footer-contact__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  color: var(--color-accent-primary);
}

.footer-contact__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.footer-contact__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(16, 33, 43, 0.5);
}

.footer-contact__body a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-strong);
  text-decoration: none;
  word-break: break-word;
  transition: color 0.2s ease;
}

.footer-contact__body a:hover {
  color: var(--color-accent-primary);
}

.footer-contact__body a:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 2px;
}

.footer-contact__value {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(16, 33, 43, 0.85);
}

.footer-contact__value+.footer-contact__value {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(16, 33, 43, 0.08);
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  background-color: var(--color-accent-primary);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.footer-cta:hover {
  background-color: #00905a;
  text-decoration: none;
}

.footer-cta:focus-visible {
  outline: 2px solid var(--color-text-strong);
  outline-offset: 2px;
}

.footer-cta:active {
  transform: translateY(1px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: clamp(16px, 2vw, 20px);
  border-top: 1px solid rgba(16, 33, 43, 0.08);
  text-align: center;
}

.footer-bottom__copy {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(16, 33, 43, 0.55);
}

.footer-bottom .footer-attribution {
  margin-top: 8px;
  font-size: 0.8125rem;
  opacity: 0.85;
}

.footer-bottom .footer-attribution a {
  color: var(--color-accent-secondary);
}

/* Home hero: floating badge on small screens (milder offset so it stays usable). */
@media (max-width: 767.98px) {
  .home-hero .hero-media {
    margin-bottom: 8px;
    padding-bottom: clamp(20px, 8vw, 40px);
    padding-left: 0;
  }

  .home-hero .hero-image {
    width: 100%;
    max-width: 34rem;
    padding: clamp(10px, 2.4vw, 16px);
    padding-bottom: 90px;
  }

  .home-hero .hero-experience-badge {
    left: clamp(4px, 1.5vw, 10px);
    bottom: clamp(2px, 1.5vw, 8px);
    width: min(300px, calc(100% - 12px));
    max-width: calc(100% - 8px);
    padding: clamp(16px, 3.5vw, 20px) clamp(16px, 3.5vw, 22px);
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .home-hero .hero-image {
    width: 100%;
    max-width: 30rem;
    padding: 12px;
  }

  .home-hero .hero-experience-badge {
    width: min(300px, calc(100% - 6px));
  }
}

@media (min-width: 768px) {
  .home-hero .hero-experience-badge {
    left: clamp(-150px, -15.8vw, -150px);
    bottom: clamp(-102px, -62.2vw, -55px);
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {

  .home-hero .hero-media,
  .home-hero .hero-image,
  .home-hero .hero-image .hero-image-img {
    transform: none;
  }

  .home-hero .hero-media,
  .home-hero .hero-experience-badge {
    animation: none;
  }
}

@media (max-width: 420px) {
  .home-hero .hero-media {
    align-items: stretch;
  }

  .home-hero .hero-image {
    padding: 10px;
    padding-bottom: 90px;
    border-radius: 24px;
    box-shadow: 0 24px 56px rgba(16, 33, 43, 0.18);
  }

  .home-hero .hero-image .hero-image-img {
    border-radius: 14px;
  }

  .home-hero .hero-experience-badge {
    padding: clamp(14px, 3vw, 18px) clamp(16px, 3.5vw, 20px);
    box-shadow:
      0 2px 4px rgba(5, 45, 31, 0.08),
      0 10px 24px rgba(5, 45, 31, 0.2),
      0 22px 44px rgba(16, 33, 43, 0.12);
  }

  .home-hero .hero-experience-name {
    font-size: 1.2rem;
    line-height: 1.05;
    padding-bottom: 3px;
  }

  .home-hero .hero-experience-years {
    font-size: 0.95rem;
  }

  .home-hero .hero-experience-divider {
    margin: 8px auto 6px;
  }

  .home-hero .hero-experience-credential {
    font-size: 0.61rem;
    line-height: 1.28;
    letter-spacing: 0.05em;
  }
}

/* ── Appointment / Contact card ─────────────────────────────────────────── */

.contact-page-section {
  padding-top: clamp(10px, 2vw, 24px);
  padding-bottom: clamp(32px, 6vw, 80px);
}

.page-hero--tight {
  padding-bottom: clamp(16px, 2.5vw, 28px);
}

.appt-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(16, 33, 43, 0.04),
    0 20px 60px rgba(16, 33, 43, 0.11);
  border: 1px solid rgba(16, 33, 43, 0.07);
  background: #ffffff;
}

/* Left info panel */
.appt-card__panel {
  background: linear-gradient(155deg, #e6f7f0 0%, #d0eee2 55%, #b8e8d2 100%);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.appt-card__badge {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(0, 166, 106, 0.14);
  border: 1px solid rgba(0, 166, 106, 0.25);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-primary);
  margin-bottom: 24px;
}

.appt-card__title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.18;
  color: var(--color-text-strong);
  margin: 0 0 16px;
}

.appt-card__desc {
  font-size: 0.94rem;
  line-height: 1.72;
  color: rgba(16, 33, 43, 0.70);
  margin: 0 0 28px;
}

.appt-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.appt-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-strong);
  line-height: 1.4;
}

.appt-card__features li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background-color: var(--color-accent-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.appt-card__info-strip {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.appt-card__info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-strong);
  text-decoration: none;
}

.appt-card__info-item:hover {
  color: var(--color-accent-primary);
}

.appt-card__info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 166, 106, 0.12);
  color: var(--color-accent-primary);
  flex-shrink: 0;
}

/* Right form panel */
.appt-card__form-panel {
  background: #ffffff;
  padding: 40px 36px;
  border-left: 1px solid rgba(16, 33, 43, 0.07);
}

.appt-card__form-title {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-text-strong);
  margin: 0 0 4px;
}

.appt-card__form-sub {
  font-size: 0.9rem;
  color: rgba(16, 33, 43, 0.56);
  margin: 0 0 28px;
}

/* Form controls */
.appt-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-text-strong);
}

.appt-required {
  color: #e53e3e;
  margin-left: 2px;
}

.appt-optional {
  font-weight: 400;
  color: rgba(16, 33, 43, 0.48);
  font-size: 0.8125rem;
}

.appt-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 2px;
}

.appt-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  color: var(--color-text-strong);
  cursor: pointer;
  user-select: none;
}

.appt-radio-input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--color-accent-primary);
  cursor: pointer;
}

.appt-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid rgba(16, 33, 43, 0.14);
  border-radius: 10px;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  color: var(--color-text-strong);
  background: #f9fbfc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  line-height: 1.5;
}

.appt-input::placeholder {
  color: rgba(16, 33, 43, 0.36);
}

.appt-input:focus {
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 0 3px rgba(0, 166, 106, 0.15);
  background: #ffffff;
  outline: none;
}

.appt-select {
  cursor: pointer;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2310212B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.appt-textarea {
  resize: vertical;
  min-height: 120px;
}

.appt-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(135deg, #00A66A 0%, #008855 100%);
  border: none;
  color: #ffffff;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
  margin-top: 4px;
}

.appt-submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.appt-submit:active {
  opacity: 1;
  transform: none;
}

.appt-submit-icon {
  flex-shrink: 0;
}

/* Mobile stacking: left panel bottom border instead of left-side border */
@media (max-width: 991.98px) {
  .appt-card__panel {
    padding: 32px 24px;
    min-height: auto;
  }

  .appt-card__form-panel {
    border-left: none;
    border-top: 1px solid rgba(16, 33, 43, 0.08);
    padding: 32px 24px;
  }

  .appt-card__info-strip {
    margin-top: 24px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (min-width: 992px) {

  .appt-card__panel,
  .appt-card__form-panel {
    padding: 52px 48px;
  }
}
