/* Cornwall Dental Arts — 方案三：浅绿色清新风 */
:root, html[data-theme-color="skin-cornwall"] {
    --primary: #3F7FA8;
    --primarydark: #2E6587;
    --primary-rgb: 63, 127, 168;

    --primarylight: #E8F2E4;
    --body-color: #5A6470;
    --body-bg: #F3F8F1;
    --heading-color: #24384A;
    --secondary: #24384A;
    --secondarydark: #1A2D3D;
    --secondary-rgb: 36, 56, 74;
    --light: #F3F8F1;

    --sand: #D9B98A;
    --sand-dark: #C2A06A;

    --btn-radius: 12px;
    --accordion-shadow: 2px 2px 0 rgba(94, 158, 77, 0.12);

    --service-card-gradient: linear-gradient(90deg, rgba(63, 127, 168, 0.88) 0%, rgba(36, 56, 74, 0.68) 100%);
    --icon-bx-gradient: 180deg, #FFFFFF 0%, #E8F2E4 100%;
    --shadow-20: 0px 20px 40px rgba(63, 127, 168, 0.08);

    --banner-2-gradient: to right, #F3F8F1 0%, rgba(243, 248, 241, 0) 50%, #F3F8F1 100%;
    --sub-title-gradient: 45deg, rgba(94, 158, 77, 0.18), transparent;
    --content-bx-3-gradient: 45deg, rgba(94, 158, 77, 0.12), transparent 80%;
    --bg3-gradient: 45deg, rgba(243, 248, 241, 1) 50%, transparent;
}

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

.text-sand { color: var(--sand-dark); }
.bg-sand { background-color: var(--sand); }
.star-rating, .rating-stars { color: var(--sand); }

/* Header — flat white bar like mockup (no tab masks) */
.main-bar .container::before {
    display: none !important;
}

.header-nav-bar {
    background: transparent;
    min-height: 4.5rem;
}

/* Desktop: logo left · menu truly centered · CTA right */
@media (min-width: 992px) {
    .header-nav-bar {
        display: grid;
        grid-template-columns: minmax(9rem, auto) 1fr minmax(9rem, auto);
        align-items: center;
        column-gap: 1.25rem;
    }

    .site-header .header-logo {
        margin-inline-end: 0;
        justify-self: start;
    }

    .site-header .header-nav {
        justify-content: center;
        justify-self: center;
        width: 100%;
        max-width: 100%;
    }

    .site-header .header-nav .navbar-nav {
        justify-content: center;
        margin-inline: auto;
        gap: 0.15rem;
    }

    .site-header .extra-nav {
        margin-inline-start: 0;
        justify-self: end;
    }
}

/* Space logo/nav bar below the dark topbar */
.site-header .main-bar-wraper {
    margin-top: 0.85rem;
}

.site-header .main-bar {
    background: transparent !important;
}

.header-nav .navbar-nav > li > a {
    color: #24384A !important;
}

.header-nav .navbar-nav > li > a:hover,
.header-nav .navbar-nav > li > a:focus {
    color: #5E9E4D !important;
}

/* Standard dropdown cue: subtler and clearer than the former plus sign. */
.header-nav .nav-link-has-submenu::after {
    content: "";
    display: none;
}

@media (min-width: 1024px) {
    .header-nav .nav-link-has-submenu::after {
        display: inline-block;
        width: 0.42rem;
        height: 0.42rem;
        margin-left: 0.5rem;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        vertical-align: 0.18rem;
        transform: rotate(45deg);
    }
}

.header-nav .navbar-nav > li > a.is-active span {
    box-shadow: inset 0 -2px 0 #5E9E4D;
}

.site-header .header-topbar {
    background-color: #24384A;
    color: #F3F8F1;
    padding: 0.45rem 0;
}

.header-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header-topbar-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-topbar-list a,
.header-topbar-hours {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #F3F8F1 !important;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.3;
    text-decoration: none;
}

.header-topbar-list i {
    color: #F3F8F1 !important;
    font-size: 0.8125rem;
}

.header-topbar-list a:hover {
    color: #FFFFFF !important;
}

.header-topbar-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.28rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    color: #fff !important;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}

.header-topbar-badge:hover,
.header-topbar-badge:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.site-header .header-topbar a,
.site-header .header-topbar li,
.site-header .header-topbar i {
    color: #F3F8F1 !important;
}

.site-header .header-topbar a:hover {
    color: #FFFFFF !important;
}

.header-cta-btn {
    border-radius: 999px !important;
    padding: 0.55rem 1.1rem !important;
    font-size: 0.9rem !important;
    box-shadow: none !important;
}

/* —— Mobile top bar (York Street style) —— */
.mobile-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem 0.65rem;
    padding: 0.55rem 0.75rem;
    background: #24384A;
    color: #F3F8F1;
}

@media (min-width: 992px) {
    .mobile-topbar {
        display: none !important;
    }
}

.mobile-topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #F3F8F1 !important;
    font-size: 0.6875rem;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    min-width: 0;
}

.mobile-topbar-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-topbar-link i {
    flex-shrink: 0;
    font-size: 0.75rem;
}

.mobile-topbar-phone {
    flex-shrink: 0;
}

.mobile-topbar-badge {
    flex-shrink: 0;
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.28rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    color: #fff !important;
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}

.mobile-topbar-badge:hover,
.mobile-topbar-badge:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
}

/* —— Sticky bottom nav (Call / Book / Directions) —— */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 991px) {
  .site-header .main-bar-wraper {
    margin-top: 0;
  }

  /* Mobile bar: logo left · hamburger right (no floating Book) */
  .header-nav-bar {
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 0.65rem;
    min-height: 3.75rem;
    padding-inline: 0.75rem;
    background: #fff;
  }

  .site-header .header-logo {
    width: auto;
    max-width: 9.5rem;
    height: 2.75rem;
    grid-column: 1;
    justify-self: start;
  }

  .site-header .header-logo img {
    max-height: 2.75rem;
    width: auto;
    max-width: 100%;
  }

  .site-header .header-extra-nav,
  .site-header .extra-nav {
    display: none !important;
  }

  .site-header .xmenu-toggler {
    grid-column: 2;
    justify-self: end;
    order: unset !important;
    float: none;
    margin: 0 !important;
    width: 2.75rem;
    height: 2.75rem;
    background-color: transparent;
    border-color: rgba(36, 56, 74, 0.18);
  }

  .site-header .xmenu-toggler span {
    background-color: #24384A;
  }

  .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    z-index: 1000;
    left: 0;
    right: 0;
    bottom: 0;
    background: #24384A;
    box-shadow: 0 -6px 20px rgba(36, 56, 74, 0.18);
    padding: 0.35rem 0 calc(0.35rem + env(safe-area-inset-bottom, 0px));
  }

  .mobile-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.45rem 0.35rem;
    color: #fff !important;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
  }

  .mobile-bottom-nav-item i {
    font-size: 1.15rem;
    line-height: 1;
  }

  .mobile-bottom-nav-item:hover,
  .mobile-bottom-nav-item:focus-visible {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06);
  }

  /* Keep page content clear of sticky bottom nav */
  body {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 575px) {
  .site-header .header-logo {
    max-width: 7.5rem;
  }

  .mobile-topbar {
    gap: 0.35rem 0.5rem;
    padding: 0.5rem 0.65rem;
  }

  .mobile-topbar-link {
    font-size: 0.6rem;
  }

  .mobile-topbar-link span {
    max-width: 7.5rem;
  }

  .mobile-topbar-badge {
    font-size: 0.5rem;
    padding: 0.25rem 0.45rem;
  }
}

.site-header.is-fixed .header-nav-bar,
.site-header.is-fixed .main-bar {
    background: transparent !important;
}

.site-header.is-fixed .main-bar-wraper {
    box-shadow: none;
}

.page-content a.text-primary:hover,
.page-content a.hover\:text-primary:hover {
    color: #5E9E4D !important;
}

.gradient-primary {
    background: linear-gradient(135deg, #3F7FA8 0%, #2E6587 55%, #24384A 100%);
}

@media (min-width: 1024px) and (max-width: 1535px) {
  .header-nav > ul > li > a { padding-inline: 8px; font-size: 15px; }
}

/* Footer — all text and icons white */
footer,
footer p,
footer li,
footer h2,
footer a,
footer i {
    color: #FFFFFF !important;
}

footer .link-hover::after {
    background-color: #FFFFFF;
}

.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-bottom-copy {
    justify-self: start;
}

.footer-bottom-powered {
    justify-self: center;
    text-align: center;
    white-space: nowrap;
}

.footer-bottom-social {
    justify-self: end;
    margin: 0;
    list-style: none;
    padding: 0;
}

@media (max-width: 991px) {
    .footer-bottom-bar {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-bottom-copy,
    .footer-bottom-powered,
    .footer-bottom-social {
        justify-self: center;
    }

    .footer-bottom-powered {
        white-space: normal;
    }
}

/* ========== Home hero — closer match to soft medical mockup ========== */
.home-hero {
    position: relative;
    background: linear-gradient(180deg, #eef4f7 0%, #f5f8fa 42%, #fbfcfd 100%);
}

.home-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.home-hero-orb--left {
    width: 20rem;
    height: 20rem;
    top: 22%;
    left: -8%;
    background: radial-gradient(circle, rgba(63, 127, 168, 0.06) 0%, transparent 68%);
}

.home-hero-orb--right {
    width: 34rem;
    height: 34rem;
    top: 4%;
    right: -8%;
    background: radial-gradient(circle, rgba(63, 127, 168, 0.14) 0%, rgba(238, 244, 247, 0.25) 42%, transparent 70%);
}

.home-hero-inner {
    padding-top: 8.25rem;
    padding-bottom: 5.5rem;
}

.home-hero-copy {
    position: relative;
    z-index: 3;
}

.home-hero-title {
    color: #24384A;
    font-size: clamp(1.5rem, 2.6vw, 2.625rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
}

.home-hero-accent {
    display: block;
    width: 2.75rem;
    height: 3px;
    border-radius: 99px;
    background: #5E9E4D;
    margin: 0 0 1.125rem;
}

.home-hero-lead {
    color: #5A6470;
    font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
    line-height: 1.65;
    margin: 0 0 1.75rem;
    max-width: 28rem;
}

.home-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
}

.home-hero-ctas .btn {
    margin: 0;
    border-radius: 999px;
}

.home-hero-ctas .btn.btn-lg {
    padding: 0.72rem 1.2rem;
    font-size: 0.9375rem;
    line-height: 1.3;
}

.home-hero-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #24384A;
    font-size: 0.875rem;
    font-weight: 500;
}

.home-hero-note strong {
    font-weight: 700;
}

.home-hero-photo {
    position: relative;
    z-index: 2;
}

.home-hero-photo-wrap {
    position: relative;
    width: 100%;
    max-width: 40rem;
    margin: 1.25rem auto 0;
}

.home-hero-photo-wrap::before {
    content: none;
}

.home-hero-photo-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
}

.home-hero-photo-video {
    aspect-ratio: 16 / 9;
    background: #e8eef2;
    border-radius: 1.25rem;
}

.home-hero-wave {
    transform: translateY(1px);
    height: 7.5rem;
    pointer-events: none;
    overflow: visible;
    left: -4px;
    width: calc(100% + 8px);
}

@media (min-width: 576px) {
    .home-hero-inner {
        padding-top: 8.75rem;
    }
}

@media (max-width: 991px) {
    .home-hero-inner {
        padding-top: 6.75rem;
        padding-bottom: 4rem;
    }

    .home-hero-photo-wrap {
        max-width: 28rem;
        margin-top: 0.5rem;
    }

    .home-hero-wave {
        height: 4rem;
    }

    .home-hero-orb--right {
        width: 18rem;
        height: 18rem;
    }
}

@media (min-width: 992px) {
    .home-hero-inner {
        padding-top: 9.25rem;
        padding-bottom: 5.5rem;
        min-height: 32rem;
    }

    .home-hero .row {
        align-items: center;
        flex-wrap: nowrap;
    }

    .home-hero-copy {
        width: 42%;
        flex: 0 0 42%;
        max-width: 42%;
        padding-right: 0.5rem;
        padding-bottom: 1.25rem;
    }

    .home-hero-photo {
        width: 58%;
        flex: 0 0 58%;
        max-width: 58%;
    }

    .home-hero-ctas {
        flex-wrap: nowrap;
    }

    .home-hero-photo-wrap {
        max-width: none;
        width: 110%;
        margin: 0 -4% -1.5rem auto;
    }

    .home-hero-wave {
        height: 8rem;
    }
}

@media (min-width: 1200px) {
    .home-hero-photo-wrap {
        width: 114%;
        margin-right: -5%;
    }

    .home-hero-inner {
        padding-top: 9.75rem;
        padding-bottom: 6rem;
        min-height: 34rem;
    }
}

/* About / welcome — feathered dentists photo (no blue card) */
.home-about-photo {
    position: relative;
    z-index: 1;
}

.home-about-photo-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Homepage services — photo-first, no icon cards */
.home-services-head {
    max-width: 38rem;
    margin-bottom: 2.25rem;
}

.home-services-title {
    color: var(--heading-color);
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.75rem;
}

.home-services-lead {
    color: var(--body-color);
    font-size: clamp(0.9375rem, 1.4vw, 1.125rem);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

.home-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem 1.5rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.home-service {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.home-service-media {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin-bottom: 1rem;
    background: #E8EEF2;
}

.home-service-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.home-service:hover .home-service-media img,
.home-service:focus-visible .home-service-media img {
    transform: scale(1.04);
}

.home-service-body {
    padding-inline: 0.1rem;
}

.home-service-name {
    color: var(--heading-color);
    font-size: 1.1875rem;
    font-weight: 650;
    line-height: 1.3;
    margin: 0 0 0.4rem;
}

.home-service-text {
    color: var(--body-color);
    font-size: 0.9375rem;
    line-height: 1.55;
    margin: 0 0 0.75rem;
}

.home-service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
}

.home-service-link i {
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.home-service:hover .home-service-link,
.home-service:focus-visible .home-service-link {
    color: var(--primarydark);
}

.home-service:hover .home-service-link i,
.home-service:focus-visible .home-service-link i {
    transform: translateX(3px);
}

.home-services-foot {
    display: flex;
    justify-content: flex-start;
}

.home-services-all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--heading-color);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(36, 56, 74, 0.25);
    padding-bottom: 0.15rem;
}

.home-services-all:hover,
.home-services-all:focus-visible {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.home-services-all i {
    font-size: 0.9rem;
}

@media (min-width: 640px) {
    .home-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .home-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem 1.75rem;
    }

    .home-services-head {
        margin-bottom: 2.75rem;
    }

    .home-service-name {
        font-size: 1.25rem;
    }
}

/* Soft wave dividers between homepage sections */
.section-wave {
    display: block;
    /* Bleed past left/right to kill vertical 1px hairlines at viewport edges */
    width: calc(100% + 8px);
    height: 5rem;
    line-height: 0;
    position: absolute;
    top: 0;
    left: -4px;
    right: auto;
    /* Stronger overlap into the previous section — seals horizontal seams */
    transform: translateY(-58%);
    z-index: 4;
    pointer-events: none;
    overflow: visible;
}

.section-wave-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    /* Soft AA against background instead of crisp edge artifacts */
    shape-rendering: geometricPrecision;
}

/* Between sections when the next block has overflow clipping */
.section-wave--standalone {
    position: relative;
    top: auto;
    left: -4px;
    right: auto;
    transform: none;
    margin-top: -2.6rem;
    margin-bottom: -2.55rem;
}

@media (max-width: 767px) {
    .section-wave {
        height: 3.75rem;
        transform: translateY(-56%);
    }

    .section-wave--standalone {
        margin-top: -1.9rem;
        margin-bottom: -1.85rem;
    }
}

/* Professional affiliations — compact trust bar on the homepage */
.home-affiliates {
    padding: 2.75rem 0 3rem;
    background: #FFFFFF;
    border-block: 1px solid rgba(36, 56, 74, 0.08);
}

.home-affiliates-heading {
    margin: 0 0 1.75rem;
    color: #5E9E4D;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.home-affiliates-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 1.5rem clamp(1.5rem, 3vw, 3.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-affiliates-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.5rem;
    padding: 0.35rem;
    border-radius: 0.75rem;
    transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.home-affiliates-link img {
    display: block;
    width: 100%;
    max-height: 4.25rem;
    object-fit: contain;
}

.home-affiliates-link:hover,
.home-affiliates-link:focus-visible {
    opacity: 0.82;
    transform: translateY(-2px);
}

.home-affiliates-link:focus-visible {
    outline: 2px solid #5E9E4D;
    outline-offset: 4px;
}

@media (max-width: 767px) {
    .home-affiliates {
        padding: 2.25rem 0;
    }

    .home-affiliates-heading {
        margin-bottom: 1.25rem;
        text-align: center;
    }

    .home-affiliates-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .home-affiliates-link {
        min-height: 3.75rem;
    }

    .home-affiliates-link img {
        max-height: 3.5rem;
    }
}

/* Homepage / shared CTA band — soft wash under absolute wave (not clipped) */
.cta-band {
    position: relative;
    isolation: isolate;
}

.cta-band-wash {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: var(--primary);
    opacity: 0.1;
}

.cta-band > .section-wave {
    z-index: 3;
}

.cta-band > .container {
    z-index: 2;
}

.cta-band-row {
    padding-block: 2.5rem 3rem;
    row-gap: 1.75rem;
}

.cta-band-map {
    position: relative;
    width: 100%;
    max-width: 34rem;
    margin-inline: auto;
    /* Apple-like soft continuous radius — match standalone soft photos */
    border-radius: clamp(1.75rem, 4.5vw, 3rem) / clamp(1.4rem, 3.8vw, 2.5rem);
    overflow: hidden;
    isolation: isolate;
    aspect-ratio: 4 / 3;
    box-shadow: 0 12px 36px rgba(36, 56, 74, 0.1);
    background: rgba(255, 255, 255, 0.55);
}

.cta-band-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: inherit;
}

@media (min-width: 992px) {
    .cta-band-row {
        padding-block: 3rem 3.5rem;
    }

    .cta-band-map {
        margin-inline: auto 0;
        max-width: none;
    }

    .cta-band-copy {
        padding-inline-end: 1.5rem;
    }
}

@media (max-width: 991px) {
    .cta-band-map {
        max-width: 28rem;
        aspect-ratio: 16 / 10;
    }
}

/* Host sections that start with an absolute SectionWave */
.section-wave-host {
    position: relative;
    overflow: visible;
    margin-top: -1px;
}

/* Patient essentials — conversion band between hero and pillars */
.patient-essentials {
    background: #ffffff;
    padding: 2.5rem 0 2.75rem;
}

.patient-essentials-header {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 1.75rem;
}

.patient-essentials-eyebrow {
    display: inline-block;
    margin: 0 0 0.625rem;
    padding: 0.3125rem 0.875rem;
    border-radius: 999px;
    background: linear-gradient(45deg, rgba(94, 158, 77, 0.14), transparent 80%);
    color: var(--primarydark);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.patient-essentials-title {
    color: var(--heading-color);
    font-size: clamp(1.375rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.patient-essentials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
}

.patient-essentials-item {
    margin: 0;
}

.patient-essentials-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 1.5rem 1.375rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(63, 127, 168, 0.12);
    border-radius: 1.125rem;
    box-shadow: 0 6px 20px rgba(36, 56, 74, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.patient-essentials-card:hover {
    transform: translateY(-2px);
    border-color: rgba(63, 127, 168, 0.22);
    box-shadow: 0 10px 28px rgba(36, 56, 74, 0.08);
}

.patient-essentials-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    border-radius: 0.875rem;
    background: rgba(63, 127, 168, 0.1);
    color: var(--primary);
    font-size: 1.25rem;
}

.patient-essentials-card-title {
    color: var(--heading-color);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 0.5rem;
}

.patient-essentials-card-text {
    color: var(--body-color);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
    flex: 1;
}

.patient-essentials-btn {
    margin-top: auto;
    font-weight: 500 !important;
    padding-left: 1.75rem !important;
    padding-right: 1.75rem !important;
    border-radius: 999px !important;
}

.patient-essentials-book {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
    padding-top: 0.25rem;
    text-align: center;
}

.patient-essentials-book-text {
    color: var(--body-color);
    font-size: 0.9375rem;
    margin: 0;
}

@media (min-width: 768px) {
    .patient-essentials {
        padding: 2.75rem 0 3rem;
    }

    .patient-essentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .patient-essentials-book {
        flex-direction: row;
        justify-content: center;
        gap: 1.25rem;
    }
}

/* Five Pillars — brand values grid */
.five-pillars {
    background: linear-gradient(180deg, #EEF3EB 0%, #F3F8F1 100%);
    padding: 2.25rem 0 2.5rem;
    position: relative;
    overflow: visible;
    /* Pull under the wave so no 1px body-bg flash at the join */
    margin-top: -1px;
}

.five-pillars-header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 1.75rem;
}

.five-pillars-title {
    color: var(--heading-color);
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.625rem;
}

.five-pillars-subtitle {
    color: var(--body-color);
    font-size: clamp(0.875rem, 1.5vw, 1.0625rem);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

.five-pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.875rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.five-pillars-item {
    margin: 0;
}

.five-pillars-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 1.25rem 1rem 1.375rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(63, 127, 168, 0.12);
    border-radius: 1rem;
    box-shadow: 0 4px 14px rgba(36, 56, 74, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.five-pillars-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.75rem;
    border-radius: 0.75rem;
    background: rgba(63, 127, 168, 0.1);
    color: var(--primary);
    font-size: 1.375rem;
}

.five-pillars-card-title {
    color: var(--heading-color);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 0.375rem;
}

.five-pillars-card-desc {
    color: var(--body-color);
    font-size: 0.8125rem;
    line-height: 1.45;
    margin: 0;
    max-width: 14rem;
}

@media (min-width: 480px) {
    .five-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .five-pillars {
        padding: 2.5rem 0 2.75rem;
    }

    .five-pillars-header {
        margin-bottom: 2rem;
    }

    .five-pillars-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1rem;
    }

    .five-pillars-item {
        grid-column: span 2;
    }

    .five-pillars-item:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .five-pillars-item:nth-child(5) {
        grid-column: 4 / span 2;
    }

    .five-pillars-card {
        padding: 1.375rem 1rem 1.5rem;
    }
}

@media (min-width: 992px) {
    .five-pillars-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }

    .five-pillars-item,
    .five-pillars-item:nth-child(4),
    .five-pillars-item:nth-child(5) {
        grid-column: auto;
    }

    .five-pillars-card:hover {
        transform: translateY(-3px);
        border-color: rgba(63, 127, 168, 0.22);
        box-shadow: 0 10px 24px rgba(36, 56, 74, 0.08);
    }
}

/* ========== Inner-page banners — match soft medical home hero ========== */
.page-hero {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(180deg, #eef4f7 0%, #f5f8fa 42%, #fbfcfd 100%);
}

.page-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.page-hero-orb--left {
    width: 18rem;
    height: 18rem;
    top: 18%;
    left: -7%;
    background: radial-gradient(circle, rgba(63, 127, 168, 0.06) 0%, transparent 68%);
}

.page-hero-orb--right {
    width: 28rem;
    height: 28rem;
    top: 0;
    right: -8%;
    background: radial-gradient(circle, rgba(63, 127, 168, 0.12) 0%, rgba(238, 244, 247, 0.22) 42%, transparent 70%);
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    padding-top: 8.5rem;
    padding-bottom: 5rem;
}

.page-hero-inner--simple {
    padding-top: 8.25rem;
    padding-bottom: 4.5rem;
    min-height: 16rem;
    display: flex;
    align-items: center;
}

.page-hero-copy {
    position: relative;
    z-index: 2;
}

.page-hero-title {
    color: #24384A;
    font-size: clamp(1.5rem, 2.4vw, 2.375rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
}

.page-hero-accent {
    display: block;
    width: 2.75rem;
    height: 3px;
    border-radius: 99px;
    background: #5E9E4D;
    margin: 0 0 1rem;
}

.page-hero-crumbs {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.65rem;
    margin: 0;
    padding: 0.5rem 1rem;
    list-style: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 4px 18px rgba(36, 56, 74, 0.06);
}

.page-hero-crumbs li {
    display: inline-flex;
    align-items: center;
    color: #24384A;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: capitalize;
}

.page-hero-crumbs li:not(:first-child)::before {
    content: "/";
    margin-right: 0.65rem;
    color: rgba(36, 56, 74, 0.35);
    font-weight: 400;
}

.page-hero-crumbs a {
    color: var(--primary);
    text-decoration: none;
}

.page-hero-crumbs a:hover {
    color: var(--primarydark);
}

.page-hero-intro {
    color: #5A6470;
    font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
    line-height: 1.65;
    margin: 1.15rem 0 0;
    max-width: 32rem;
}

.page-hero-photo-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 34rem;
    margin: 1.5rem auto 0;
    /* Soft feather must not be hard-clipped — no overflow:hidden */
    overflow: visible;
    isolation: isolate;
}

.page-hero-photo-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
    border-radius: 1.25rem;
}

.page-hero-photo-wrap .content-image-placeholder {
    width: 100%;
    border-radius: 1rem;
}

.page-hero-wave {
    position: absolute;
    left: -4px;
    right: auto;
    bottom: 0;
    width: calc(100% + 8px);
    height: 5.5rem;
    z-index: 3;
    pointer-events: none;
    transform: translateY(1px);
    overflow: visible;
}

@media (max-width: 991px) {
    .page-hero-inner {
        padding-top: 7.25rem;
        padding-bottom: 4rem;
    }

    .page-hero-inner--simple {
        min-height: 14rem;
        padding-top: 7rem;
        padding-bottom: 3.75rem;
    }

    .page-hero-copy.max-lg\:text-center .page-hero-accent,
    .page-hero-copy.text-center .page-hero-accent {
        margin-inline: auto;
    }

    .page-hero-photo-wrap {
        max-width: 26rem;
    }

    .page-hero-wave {
        height: 3.75rem;
    }

    .page-hero-orb--right {
        width: 16rem;
        height: 16rem;
    }
}

@media (min-width: 992px) {
    .page-hero-inner {
        padding-top: 9.75rem;
        padding-bottom: 5.5rem;
    }

    .page-hero-inner--simple {
        min-height: 17rem;
        padding-top: 9.5rem;
        padding-bottom: 5rem;
    }

    .page-hero-photo-wrap {
        max-width: 38rem;
        margin: 0 0 0 auto;
    }

    .page-hero-wave {
        height: 6.5rem;
    }
}

/* Google Reviews section */
.google-reviews {
    background: linear-gradient(180deg, #E8F0E4 0%, #F3F8F1 55%, #F3F8F1 100%);
    padding: 2.75rem 0 3rem;
    position: relative;
    overflow: visible;
    margin-top: -1px;
}

.google-reviews-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 1.5rem;
}

.google-reviews-title {
    color: var(--heading-color);
    font-size: clamp(1.625rem, 2.8vw, 2.375rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.625rem;
}

.google-reviews-subtitle {
    color: var(--body-color);
    font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
    line-height: 1.65;
    margin: 0;
}

.google-reviews-trust {
    text-align: center;
    margin: 0 auto 1.75rem;
    max-width: 28rem;
}

.google-reviews-trust-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    color: #E8B020;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.google-reviews-trust-heading {
    color: var(--heading-color);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.375rem;
}

.google-reviews-trust-note {
    color: var(--body-color);
    font-size: 0.875rem;
    margin: 0 0 0.875rem;
}

.google-reviews-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.google-reviews-chip {
    display: inline-block;
    padding: 0.3125rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(63, 127, 168, 0.15);
    color: var(--primarydark);
    font-size: 0.75rem;
    font-weight: 600;
}

.google-reviews-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.google-reviews-swiper {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.google-reviews-nav {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(63, 127, 168, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primarydark);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.google-reviews-nav:hover {
    background: #fff;
    border-color: rgba(63, 127, 168, 0.35);
    transform: translateY(-1px);
}

.google-reviews-nav:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.google-review-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 15.5rem;
    padding: 1.25rem 1.25rem 1.125rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(63, 127, 168, 0.12);
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(36, 56, 74, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.google-review-card:hover {
    transform: translateY(-2px);
    border-color: rgba(63, 127, 168, 0.22);
    box-shadow: 0 10px 28px rgba(36, 56, 74, 0.09);
}

.google-review-card-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}

.google-review-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: rgba(63, 127, 168, 0.12);
    color: var(--primarydark);
    font-size: 0.9375rem;
    font-weight: 600;
    flex-shrink: 0;
}

.google-review-meta {
    min-width: 0;
}

.google-review-stars {
    display: flex;
    gap: 0.125rem;
    color: #E8B020;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.google-review-source {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--body-color);
    font-size: 0.75rem;
    font-weight: 500;
}

.google-review-source .fa-google {
    color: var(--primary);
}

.google-review-quote {
    margin: 0;
    flex: 1;
}

.google-review-text {
    color: var(--body-color);
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.google-review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 0.875rem;
    border-top: 1px solid rgba(63, 127, 168, 0.1);
}

.google-review-name {
    color: var(--heading-color);
    font-size: 0.9375rem;
    font-weight: 600;
    font-style: normal;
}

.google-review-more {
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
}

.google-review-more:hover {
    text-decoration: underline;
}

.google-reviews-cta {
    text-align: center;
}

@media (max-width: 767px) {
    .google-reviews {
        padding: 2.25rem 0 2.5rem;
    }

    .google-reviews-nav {
        display: none;
    }

    .google-reviews-carousel {
        gap: 0;
    }
}

@media (min-width: 992px) {
    .google-reviews {
        padding: 3rem 0 3.25rem;
    }
}

/* About page — modular photo-rich layout */
.about-page {
    background: #F3F8F1;
}

.about-values {
    background: #ffffff;
    padding: 1.75rem 0 2rem;
    position: relative;
    margin-top: -1px;
}

.about-values-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-values-item {
    display: inline-block;
    padding: 0.4375rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(63, 127, 168, 0.14);
    color: var(--primarydark);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(36, 56, 74, 0.04);
}

.about-section {
    padding: 2.75rem 0;
    position: relative;
}

.about-section.section-wave-host {
    background: #F3F8F1;
    padding-top: 3.25rem;
}

.about-section--alt {
    background: linear-gradient(180deg, #EEF3EB 0%, #F3F8F1 100%);
}

.about-section--gallery {
    padding-bottom: 2.5rem;
}

.about-section--reasons {
    background: #fff;
    padding: 3rem 0;
}

.about-eyebrow {
    display: inline-block;
    margin: 0 0 0.625rem;
    padding: 0.3125rem 0.875rem;
    border-radius: 999px;
    background: linear-gradient(45deg, rgba(94, 158, 77, 0.14), transparent 80%);
    color: var(--primarydark);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.about-heading {
    color: var(--heading-color);
    font-size: clamp(1.5rem, 2.6vw, 2.125rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 1.125rem;
}

.about-heading--center {
    text-align: center;
}

.about-text {
    color: var(--body-color);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1.25rem;
}

.about-text--center {
    text-align: center;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

.about-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.about-split-content {
    min-width: 0;
}

.about-split-media {
    margin: 0;
}

.about-card {
    padding: 1.375rem 1.25rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(63, 127, 168, 0.12);
    border-radius: 1.125rem;
    box-shadow: 0 6px 20px rgba(36, 56, 74, 0.05);
}

.about-beliefs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.about-beliefs-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--body-color);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.about-beliefs-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.125rem;
    color: var(--primary);
    font-size: 1rem;
}

.about-link-btn {
    margin-top: 0.25rem;
    font-weight: 500 !important;
    padding-left: 1.75rem !important;
    padding-right: 1.75rem !important;
    border-radius: 999px !important;
}

.about-gallery-header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 1.75rem;
}

.about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-gallery-item {
    margin: 0;
}

.about-gallery-card {
    margin: 0;
    height: 100%;
}

.about-gallery-thumb {
    aspect-ratio: 3 / 2;
}

.about-gallery-caption {
    margin: 0.5rem 0 0;
    color: var(--primarydark);
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
}

.about-reasons-header {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 1.75rem;
}

.about-reasons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.875rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-reasons-item {
    margin: 0;
}

.about-reasons-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.375rem 1.25rem 1.25rem;
    background: #F3F8F1;
    border: 1px solid rgba(63, 127, 168, 0.12);
    border-radius: 1rem;
    box-shadow: 0 4px 14px rgba(36, 56, 74, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.about-reasons-card:hover {
    transform: translateY(-2px);
    border-color: rgba(63, 127, 168, 0.22);
    box-shadow: 0 10px 24px rgba(36, 56, 74, 0.08);
}

.about-reasons-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.75rem;
    border-radius: 0.875rem;
    background: rgba(63, 127, 168, 0.1);
    color: var(--primary);
    font-size: 1.25rem;
}

.about-reasons-num {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: rgba(63, 127, 168, 0.12);
    color: var(--primarydark);
    font-size: 0.75rem;
    font-weight: 700;
}

.about-reasons-title {
    color: var(--heading-color);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 0.5rem;
    padding-right: 2rem;
}

.about-reasons-text {
    color: var(--body-color);
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0 0 0.875rem;
    flex: 1;
}

.about-reasons-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
}

.about-reasons-link:hover {
    text-decoration: underline;
}

.about-tech-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.about-tech-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--body-color);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.about-tech-item i {
    flex-shrink: 0;
    color: var(--primary);
    font-size: 0.875rem;
    width: 1.125rem;
    text-align: center;
}

.about-cta {
    padding: 0 0 3.5rem;
    background: #F3F8F1;
}

.about-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, var(--primarydark) 0%, var(--primary) 100%);
    box-shadow: 0 16px 40px rgba(36, 56, 74, 0.18);
}

.about-cta-title {
    color: #fff;
    font-size: clamp(1.375rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.625rem;
}

.about-cta-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
    max-width: 36rem;
}

.about-cta-text a {
    color: #fff;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.about-cta-text a:hover,
.about-cta-text a:focus-visible {
    color: rgba(255, 255, 255, 0.88);
}

.about-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .about-section {
        padding: 3.25rem 0;
    }

    .about-values-list {
        gap: 0.625rem;
    }

    .about-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .about-reasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .about-cta-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 2.25rem 2rem;
        gap: 2rem;
    }

    .about-cta-actions {
        flex-shrink: 0;
    }
}

@media (min-width: 992px) {
    .about-split {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .about-split--reverse .about-split-media {
        order: -1;
    }

    .about-photo-frame {
        aspect-ratio: 4 / 3;
    }

    .about-reasons-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-reasons-item:last-child {
        grid-column: 2;
    }

    .about-cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* Designed content pages — shared layout system */
.content-page {
    background: #F3F8F1;
}

.content-lead {
    background: #ffffff;
    /* Bottom padding clears the wave that the next section overlaps upward */
    padding: 2rem 0 3.75rem;
    position: relative;
    margin-top: -1px;
}

.content-lead-inner {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.content-section {
    padding: 2.75rem 0;
    background: #fff;
}

.content-section--alt {
    background: linear-gradient(180deg, #EEF3EB 0%, #F3F8F1 100%);
}

.content-section--faq {
    background: #fff;
}

/* The section carrying the top wave must match the wave fill (#F3F8F1) */
.content-section.section-wave-host:not(.content-section--alt),
.content-faq-host.section-wave-host .content-section--faq {
    background: #F3F8F1;
}

.content-section-header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 1.75rem;
}

.content-eyebrow {
    display: inline-block;
    margin: 0 0 0.625rem;
    padding: 0.3125rem 0.875rem;
    border-radius: 999px;
    background: linear-gradient(45deg, rgba(94, 158, 77, 0.14), transparent 80%);
    color: var(--primarydark);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.content-heading {
    color: var(--heading-color);
    font-size: clamp(1.5rem, 2.6vw, 2.125rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 1.125rem;
}

.content-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.content-split-content {
    min-width: 0;
    padding: 1rem 1.25rem;
}

.content-split-media {
    margin: 0;
}

/*
 * Standalone section / banner photos use homepage soft PNGs
 * (`*-soft.png`: ~14% Apple radius + ~3% 4-edge feather baked in).
 * IMPORTANT: object-fit must be contain — cover would crop the soft edges off.
 */
.content-photo-frame,
.about-photo-frame,
.about-gallery-thumb,
.smile-gallery-photo-frame {
    overflow: visible;
    isolation: isolate;
    border: none;
    box-shadow: none;
}

.content-photo-frame {
    overflow: hidden;
    border-radius: 1.25rem;
}

.page-hero-photo-img,
.content-photo,
.about-photo,
.about-gallery-thumb .about-photo,
.about-gallery-thumb .content-photo,
.about-gallery-thumb img,
.smile-gallery-photo-frame .content-photo,
.smile-gallery-photo-frame .smile-gallery-img,
.smile-gallery-photo-frame img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
}

.content-photo-frame .content-photo,
.content-photo-frame img {
    border-radius: inherit;
}

/* Office-tour sources use mixed aspect ratios; keep every gallery row aligned. */
.about-gallery-thumb .about-photo,
.about-gallery-thumb .content-photo,
.about-gallery-thumb img {
    height: 100%;
    object-fit: cover;
}

.content-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 12rem;
    background: linear-gradient(135deg, rgba(63, 127, 168, 0.08) 0%, rgba(94, 158, 77, 0.06) 100%);
    border: 2px dashed rgba(63, 127, 168, 0.25);
    border-radius: inherit;
}

.content-image-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    color: var(--primarydark);
}

.content-image-placeholder-inner i {
    font-size: 1.75rem;
    opacity: 0.5;
}

.content-image-placeholder-text {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.45;
    max-width: 16rem;
}

.content-image-placeholder-size {
    font-size: 0.75rem;
    opacity: 0.65;
}

.content-prose {
    color: var(--body-color);
    font-size: 1rem;
    line-height: 1.7;
}

.content-prose--lead {
    font-size: 1.0625rem;
}

.content-prose--center {
    text-align: center;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

.content-prose--compact {
    font-size: 0.9375rem;
}

.content-prose--cta,
.content-prose--cta p,
.content-prose--cta li,
.content-prose--cta strong,
.content-prose--cta em {
    color: rgba(255, 255, 255, 0.95);
}

.content-prose--cta h3,
.content-prose--cta h4 {
    color: #fff;
}

/* Keep after generic .content-prose a so blue-band links stay readable */
.content-prose.content-prose--cta a {
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.7);
    text-underline-offset: 3px;
}

.content-prose.content-prose--cta a:hover,
.content-prose.content-prose--cta a:focus-visible {
    color: #ffffff !important;
    text-decoration-color: #ffffff;
}

.content-prose p {
    margin: 0 0 1rem;
}

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

.content-prose h3,
.content-prose h4 {
    color: var(--heading-color);
    font-weight: 600;
    margin: 1.25rem 0 0.625rem;
}

.content-prose ul,
.content-prose ol {
    margin: 0 0 1rem 1.25rem;
    padding: 0;
}

.content-prose li {
    margin-bottom: 0.375rem;
}

.content-prose a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.content-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1rem;
    font-size: 0.9375rem;
}

.content-prose th,
.content-prose td {
    border: 1px solid rgba(63, 127, 168, 0.15);
    padding: 0.625rem 0.875rem;
    text-align: start;
}

.content-prose th {
    background: rgba(255, 255, 255, 0.8);
    color: var(--heading-color);
    font-weight: 600;
}

.content-prose em {
    font-size: 0.9375rem;
    opacity: 0.9;
}

/* FAQ accordion */
.content-accordion {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.content-accordion-item {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(63, 127, 168, 0.12);
    border-radius: 1rem;
    box-shadow: 0 4px 14px rgba(36, 56, 74, 0.04);
    overflow: hidden;
}

.content-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 1.25rem;
    cursor: pointer;
    list-style: none;
    color: var(--heading-color);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.content-accordion-trigger::-webkit-details-marker {
    display: none;
}

.content-accordion-question {
    flex: 1;
    text-align: start;
}

.content-accordion-icon {
    flex-shrink: 0;
    color: var(--primary);
    font-size: 0.875rem;
    transition: transform 0.22s ease;
}

.content-accordion-item[open] .content-accordion-icon {
    transform: rotate(180deg);
}

.content-accordion-panel {
    padding: 0 1.25rem 1.125rem;
    border-top: 1px solid rgba(63, 127, 168, 0.08);
}

.content-accordion-panel .content-prose {
    padding-top: 1rem;
    font-size: 0.9375rem;
}

/* Link grid (services index) */
.content-link-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.875rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.content-link-card {
    display: block;
    position: relative;
    height: 100%;
    padding: 1.25rem 1.125rem 1.125rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(63, 127, 168, 0.12);
    border-radius: 1rem;
    box-shadow: 0 4px 14px rgba(36, 56, 74, 0.04);
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.content-link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(63, 127, 168, 0.22);
    box-shadow: 0 10px 24px rgba(36, 56, 74, 0.08);
}

.content-link-title {
    color: var(--heading-color);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.375rem;
    padding-right: 1.5rem;
}

.content-link-desc {
    color: var(--body-color);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.content-link-arrow {
    position: absolute;
    top: 1.25rem;
    right: 1.125rem;
    color: var(--primary);
    font-size: 0.875rem;
}

/* Feature cards */
.content-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.content-features-grid--wide {
    max-width: 52rem;
    margin: 1.25rem auto 0;
    gap: 0.9rem;
}

.content-features-card {
    height: 100%;
    padding: 1.125rem 1rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(63, 127, 168, 0.12);
    border-radius: 0.875rem;
    box-shadow: 0 2px 10px rgba(36, 56, 74, 0.04);
}

.content-features-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.625rem;
    border-radius: 0.75rem;
    background: rgba(63, 127, 168, 0.1);
    color: var(--primary);
    font-size: 1.125rem;
}

.content-features-icon .fa-solid {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    line-height: 1;
}

.content-features-title {
    color: var(--heading-color);
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.content-features-text {
    color: var(--body-color);
    font-size: 0.8125rem;
    line-height: 1.5;
    margin: 0;
}

/* Numbered steps — vertical process timeline */
.content-numbered-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 40rem;
    display: flex;
    flex-direction: column;
}

.content-numbered-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0 0 1.5rem;
}

.content-numbered-step:last-child {
    padding-bottom: 0;
}

.content-numbered-step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 2rem;
    left: 0.875rem;
    bottom: 0;
    width: 2px;
    background: rgba(63, 127, 168, 0.18);
    transform: translateX(-50%);
}

.content-numbered-num {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: rgba(63, 127, 168, 0.14);
    color: var(--primarydark);
    font-size: 0.8125rem;
    font-weight: 700;
}

.content-numbered-body {
    min-width: 0;
    padding-top: 0.1rem;
}

.content-numbered-title {
    color: var(--heading-color);
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 0 0 0.375rem;
}

/* Team profiles — one person per row: photo left, bio right */
.content-profiles-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 56rem;
}

.content-profiles-item {
    margin: 0;
    padding: 2.25rem 0;
    border-bottom: 1px solid rgba(63, 127, 168, 0.14);
}

.content-profiles-item:first-child {
    padding-top: 0.25rem;
}

.content-profiles-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.content-profile-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.35rem;
    align-items: start;
}

.content-profile-photo {
    width: 100%;
    max-width: 15rem;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 1.1rem;
    background: rgba(63, 127, 168, 0.08);
}

.content-profile-photo .content-photo,
.content-profile-photo .content-image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.content-profile-body {
    padding: 0.15rem 0 0;
    min-width: 0;
    max-width: 38rem;
}

.content-profile-name {
    color: var(--heading-color);
    font-size: 1.3rem;
    font-weight: 650;
    margin: 0 0 0.85rem;
    letter-spacing: -0.01em;
}

.content-profile-body .content-prose,
.content-profile-body .content-prose p {
    font-size: 1rem;
    line-height: 1.7;
}

.content-profile-body .content-prose p {
    margin: 0 0 0.9rem;
}

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

@media (min-width: 640px) {
    .content-profiles-item {
        padding: 2.5rem 0;
    }

    .content-profile-row {
        grid-template-columns: 13.5rem minmax(0, 1fr);
        gap: 2.25rem;
        align-items: start;
    }

    .content-profile-photo {
        max-width: none;
    }
}

@media (min-width: 992px) {
    .content-profiles-list {
        max-width: 60rem;
    }

    .content-profiles-item {
        padding: 3rem 0;
    }

    .content-profile-row {
        grid-template-columns: 16rem minmax(0, 1fr);
        gap: 2.75rem;
    }

    .content-profile-name {
        font-size: 1.45rem;
        margin-bottom: 1rem;
    }

    .content-profile-body {
        padding-top: 0.35rem;
    }
}

/* CTA banner */
.content-cta {
    padding: 0 0 3.5rem;
    background: #F3F8F1;
}

.content-cta-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, var(--primarydark) 0%, var(--primary) 100%);
    box-shadow: 0 16px 40px rgba(36, 56, 74, 0.18);
}

.content-cta-title {
    color: #fff;
    font-size: clamp(1.375rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.625rem;
}

.content-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.content-cta-actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
}

.content-cta-actions .btn-cta-icon {
    /* Avoid negative end margin clipping tablet/pill buttons */
    margin-inline-end: -0.35rem;
}

.content-cta-map {
    margin-inline: 0;
    width: 100%;
    max-width: none;
}

/* Don't inherit the narrower homepage CTA-band map constraints */
.content-cta-map.cta-band-map {
    max-width: none;
    margin-inline: 0;
    aspect-ratio: 16 / 10;
}

.content-cta--simple {
    padding: 2rem 0 2.5rem;
}

.content-cta-simple-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 2.25rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, var(--primarydark) 0%, var(--primary) 100%);
    box-shadow: 0 16px 40px rgba(36, 56, 74, 0.16);
}

.content-cta-simple-inner .content-eyebrow {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0.35rem;
}

.content-cta-simple-inner .content-cta-title {
    margin-bottom: 0.5rem;
}

.content-cta-simple-copy {
    max-width: 38rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.content-cta-simple-inner .btn {
    flex: 0 0 auto;
}

/* Form sections (contact / appointment) */
.content-form-section {
    background: linear-gradient(180deg, #ffffff 0%, #F3F8F1 32%, #F3F8F1 100%);
    padding: 2.75rem 0 2.5rem;
    position: relative;
    margin-top: -1px;
}

/* The appointment form is tall; leave room for the complete cross-origin form
   and a clear hand-off to the content below. */
.appointment-form-section {
    padding-bottom: 2.5rem;
}

.appointment-form-section + .content-page .content-section:first-child {
    padding-top: 2.5rem;
}

.content-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

.content-form-note {
    color: var(--body-color);
    font-size: 0.9375rem;
    margin: 0 0 1.25rem;
}

/* Gravity Forms lives on the forms subdomain and is presented as a clean embed. */
.gravity-form-embed {
    width: 100%;
    overflow: hidden;
    background: transparent;
}

.gravity-form-embed iframe {
    display: block;
    width: 100%;
    height: 760px;
    border: 0;
    overflow: hidden;
}

/* The appointment form has more fields than the contact form. Keep the full
   cross-origin form visible without introducing a nested scrollbar. */
.appointment-form-embed iframe {
    height: 1120px;
}

.content-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.content-form-submit {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.content-form-submit .btn {
    justify-content: center;
}

.content-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.content-form-field label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 500;
    color: var(--heading-color);
    font-size: 0.9375rem;
}

.content-form-field input,
.content-form-field select,
.content-form-field textarea {
    width: 100%;
    padding: 0.9375rem 1rem;
    border: 2px solid rgba(94, 98, 108, 0.2);
    border-radius: 0.875rem;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.2s ease;
}

.content-form-field input:focus,
.content-form-field select:focus,
.content-form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.content-info-card {
    padding: 1.5rem 1.375rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(63, 127, 168, 0.12);
    border-radius: 1.125rem;
    box-shadow: 0 6px 20px rgba(36, 56, 74, 0.05);
}

.content-info-card-title {
    color: var(--heading-color);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.content-info-card-subtitle {
    color: var(--heading-color);
    font-size: 1rem;
    font-weight: 600;
    margin: 1.25rem 0 0.625rem;
}

.content-info-card-text {
    color: var(--body-color);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

.content-info-link {
    color: var(--primary);
    font-weight: 600;
}

.content-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.content-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    color: var(--body-color);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.content-info-list i {
    color: var(--primary);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.content-hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.content-hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.4375rem 0;
    border-bottom: 1px solid rgba(63, 127, 168, 0.1);
    font-size: 0.875rem;
    color: var(--body-color);
}

.content-info-btn {
    margin-top: 1.25rem;
    width: 100%;
    text-align: center;
    border-radius: 999px !important;
}

.content-map-section {
    line-height: 0;
}

/* Service sidebar layout */
.content-page-with-sidebar {
    background: #F3F8F1;
    padding: 2.5rem 0 2rem;
    position: relative;
}

.content-page-with-sidebar.section-wave-host {
    padding-top: 3rem;
}

.content-page-sidebar-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.content-page-main .content-page {
    background: transparent;
}

/* Nested section containers already sit inside page .container */
.content-page-main .container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

.content-page-main .content-section {
    padding-left: 0;
    padding-right: 0;
    border-radius: 1.25rem;
}

.content-page-main .content-section--alt {
    margin-inline: 0;
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem;
}

.content-page-sidebar {
    position: sticky;
    top: 6rem;
}

/* Service page sidebar — photo + related nav + CTA showcase */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-sidebar-photo {
    margin: 0;
    overflow: hidden;
    border-radius: 1.25rem;
}

.service-sidebar-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: inherit;
}

.service-sidebar-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(63, 127, 168, 0.12);
    border-radius: 1.25rem;
    padding: 1.25rem 1.25rem 1.375rem;
    box-shadow: 0 8px 24px rgba(36, 56, 74, 0.05);
}

.service-sidebar-card--soft {
    background: rgba(243, 248, 241, 0.85);
    box-shadow: none;
}

.service-sidebar-eyebrow {
    margin: 0 0 0.35rem;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.service-sidebar-heading {
    margin: 0 0 0.875rem;
    color: var(--heading-color);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
}

.service-sidebar-heading a {
    color: inherit;
    text-decoration: none;
}

.service-sidebar-heading a:hover {
    color: var(--primary);
}

.service-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.service-sidebar-link {
    display: block;
    padding: 0.55rem 0.75rem;
    border-radius: 0.75rem;
    color: var(--body-color);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.service-sidebar-link:hover {
    background: rgba(63, 127, 168, 0.08);
    color: var(--primarydark);
}

.service-sidebar-link.is-active {
    background: rgba(63, 127, 168, 0.14);
    color: var(--primarydark);
    font-weight: 650;
}

.service-sidebar-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-sidebar-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(63, 127, 168, 0.16);
    color: var(--primarydark);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.service-sidebar-chip:hover,
.service-sidebar-chip--all {
    border-color: rgba(63, 127, 168, 0.35);
    background: rgba(63, 127, 168, 0.08);
}

.service-sidebar-cta {
    background: linear-gradient(165deg, #ffffff 0%, #eef5f1 100%);
}

.service-sidebar-cta-text {
    margin: -0.35rem 0 1rem;
    color: var(--body-color);
    font-size: 0.875rem;
    line-height: 1.55;
}

.service-sidebar-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    text-decoration: none;
    color: var(--heading-color);
}

.service-sidebar-phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.85rem;
    background: rgba(63, 127, 168, 0.12);
    color: var(--primary);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.service-sidebar-phone-label {
    display: block;
    color: var(--body-color);
    font-size: 0.8125rem;
    font-weight: 500;
}

.service-sidebar-phone strong {
    display: block;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--primarydark);
}

.service-sidebar-hours {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 1rem;
    color: var(--body-color);
    font-size: 0.8125rem;
}

.service-sidebar-hours i {
    color: var(--primary);
}

.service-sidebar-btn {
    justify-content: center;
}

/* Full-bleed intro under service banner (before two-column body) */
.service-lead {
    background: #ffffff;
    padding: 2.5rem 0 2.25rem;
    position: relative;
    margin-top: -1px;
}

.service-lead .content-lead-inner {
    max-width: 46rem;
    margin: 0 auto;
    text-align: left;
}

@media (min-width: 992px) {
    .service-lead .content-lead-inner {
        text-align: center;
    }
}

@media (min-width: 768px) {
    .content-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-features-grid--three {
        grid-template-columns: repeat(3, 1fr);
    }

    .content-link-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-form-field--full {
        grid-column: 1 / -1;
    }

    .content-form-row {
        grid-template-columns: 1.2fr 0.8fr;
    }

    /* Tablet: CTA + map stay stacked; buttons full-width to avoid clipping */
    .content-cta-inner {
        padding: 2rem 1.75rem;
        overflow: visible;
    }

    .content-cta-actions {
        flex-direction: column;
    }

    .content-cta-actions .btn {
        width: 100%;
        flex: none;
    }
}

@media (max-width: 767px) {
    .gravity-form-embed iframe {
        height: 820px;
    }

    .appointment-form-embed iframe {
        height: 1240px;
    }

    .content-cta-simple-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }

    .content-cta-simple-inner .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 992px) {
    .content-cta-layout {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 1.75rem;
        align-items: stretch;
    }

    .content-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 2.25rem 2rem;
        height: 100%;
    }

    .content-cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
        flex-shrink: 0;
        width: auto;
        max-width: 100%;
    }

    .content-cta-actions .btn {
        flex: 0 1 auto;
        width: auto;
        min-width: 0;
    }

    .content-cta-map.cta-band-map {
        height: 100%;
        aspect-ratio: auto;
        min-height: 17.5rem;
    }

    .content-cta-map iframe {
        min-height: 17.5rem;
    }

    .content-split {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .content-split--reverse .content-split-media {
        order: -1;
    }

    .content-link-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .content-page-sidebar-row {
        grid-template-columns: 1fr 20rem;
    }
}

@media (min-width: 1200px) {
    .content-link-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Blog index & post pages */
.blog-featured {
    background: #ffffff;
    padding: 2.75rem 0 2.25rem;
    position: relative;
    margin-top: -1px;
}

.blog-featured-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(63, 127, 168, 0.12);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(36, 56, 74, 0.08);
}

.blog-featured-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-featured-img,
.blog-card-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-featured-body {
    padding: 0 1.375rem 1.5rem;
}

.blog-featured-title {
    font-size: clamp(1.375rem, 2.4vw, 1.875rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.75rem;
}

.blog-featured-title a {
    color: var(--heading-color);
    text-decoration: none;
}

.blog-featured-title a:hover {
    color: var(--primary);
}

.blog-featured-desc {
    color: var(--body-color);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0 0 1rem;
}

.blog-featured-btn {
    display: inline-flex;
    width: fit-content;
    margin-top: 0.25rem;
    padding: 0.5rem 1.125rem;
    font-size: 0.875rem;
    line-height: 1.25;
    border-radius: 999px !important;
}

.blog-category-section {
    padding: 2.5rem 0;
    background: #F3F8F1;
    position: relative;
}

.blog-category-section.section-wave-host {
    padding-top: 3rem;
}

.blog-category-section--alt {
    background: linear-gradient(180deg, #EEF3EB 0%, #F3F8F1 100%);
}

.blog-category-header {
    max-width: 40rem;
    margin: 0 0 1.75rem;
}

.blog-category-desc {
    color: var(--body-color);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(63, 127, 168, 0.12);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(36, 56, 74, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(36, 56, 74, 0.08);
}

.blog-card:hover .blog-card-img {
    transform: scale(1.04);
}

.blog-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.125rem 1.125rem 1.25rem;
}

.blog-card-title {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 0.5rem;
}

.blog-card-title a {
    color: var(--heading-color);
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-desc {
    color: var(--body-color);
    font-size: 0.8125rem;
    line-height: 1.55;
    margin: 0 0 0.75rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem 0.75rem;
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primarydark);
}

.blog-card-meta time {
    font-weight: 600;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
}

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

.blog-index-cta {
    padding: 2.5rem 0 3.5rem;
    background: #F3F8F1;
}

.blog-index-cta-inner {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(63, 127, 168, 0.12);
    border-radius: 1.25rem;
    box-shadow: 0 8px 24px rgba(36, 56, 74, 0.06);
}

.blog-index-cta-title {
    color: var(--heading-color);
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    font-weight: 700;
    margin: 0 0 0.625rem;
}

.blog-index-cta-text {
    color: var(--body-color);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0 0 1.25rem;
}

.blog-index-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

/* Blog post article */
.blog-post-section {
    background: linear-gradient(180deg, #ffffff 0%, #F3F8F1 28%, #F3F8F1 100%);
    padding: 2.75rem 0 3.5rem;
    position: relative;
    margin-top: -1px;
}

.blog-post-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.blog-post-main {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(63, 127, 168, 0.1);
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem 2rem;
    box-shadow: 0 6px 20px rgba(36, 56, 74, 0.05);
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0 0 1.25rem;
    border-bottom: 1px solid rgba(63, 127, 168, 0.1);
    font-size: 0.8125rem;
    color: var(--body-color);
}

.blog-post-meta li {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.blog-post-meta i {
    color: var(--primary);
    font-size: 0.75rem;
}

.blog-post-meta time {
    font-weight: 500;
    color: var(--heading-color);
}

.blog-sidebar-card {
    padding: 1.375rem 1.25rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(63, 127, 168, 0.12);
    border-radius: 1.125rem;
    box-shadow: 0 4px 14px rgba(36, 56, 74, 0.05);
    margin-bottom: 1.25rem;
}

.blog-sidebar-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--heading-color);
    margin: 0 0 1rem;
}

.blog-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.blog-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
}

.blog-sidebar-thumb {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.75rem;
    object-fit: cover;
    flex-shrink: 0;
}

.blog-sidebar-link-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.blog-sidebar-date {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
}

.blog-sidebar-link-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--heading-color);
}

.blog-sidebar-link:hover .blog-sidebar-link-title {
    color: var(--primary);
}

.blog-sidebar-services {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-sidebar-services li {
    border-bottom: 1px solid rgba(63, 127, 168, 0.1);
}

.blog-sidebar-services a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--body-color);
    text-decoration: none;
}

.blog-sidebar-services a:hover {
    color: var(--primary);
}

@media (min-width: 768px) {
    .blog-featured-card {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .blog-featured-media {
        aspect-ratio: auto;
        min-height: 100%;
    }

    .blog-featured-body {
        padding: 1.75rem 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-index-cta-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .blog-post-row {
        grid-template-columns: 1fr 20rem;
    }

    .blog-post-sidebar {
        position: sticky;
        top: 6rem;
    }
}

/* High-contrast CTA buttons on navy/blue gradient banners */
.btn-cta-primary {
    border-color: #fff !important;
    background-color: #fff !important;
    color: var(--heading-color) !important;
    font-weight: 600 !important;
}

.btn-cta-primary:hover,
.btn-cta-primary:focus {
    border-color: rgba(255, 255, 255, 0.92) !important;
    background-color: rgba(255, 255, 255, 0.92) !important;
    color: var(--primarydark) !important;
}

.btn-cta-outline {
    border-color: rgba(255, 255, 255, 0.9) !important;
    background-color: transparent !important;
    color: #fff !important;
    font-weight: 600 !important;
}

.btn-cta-outline:hover,
.btn-cta-outline:focus {
    border-color: #fff !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}

.btn-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    min-width: 2.75rem;
    height: 2.75rem;
    margin: -0.6875rem -1.125rem -0.6875rem 0.75rem;
    border-radius: 0.75rem;
    background-color: rgba(36, 56, 74, 0.08);
    color: var(--heading-color);
}

.btn-cta-outline .btn-cta-icon {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Placeholder images — hero, split sections, blog cards */
.page-hero-photo-wrap .content-image-placeholder,
.about-photo-frame .content-image-placeholder,
.content-photo-frame .content-image-placeholder {
    height: 100%;
    min-height: 100%;
    border-radius: inherit;
}

.page-hero-photo-wrap .content-image-placeholder {
    min-height: 14rem;
}

@media (min-width: 992px) {
    .page-hero-photo-wrap .content-image-placeholder {
        min-height: 18rem;
    }
}

.about-gallery-thumb .content-image-placeholder {
    height: 100%;
    min-height: 100%;
    border-radius: inherit;
}

.blog-featured-media .content-image-placeholder,
.blog-card-media .content-image-placeholder {
    height: 100%;
    min-height: 100%;
}

.blog-sidebar-thumb-wrap {
    flex-shrink: 0;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
}

.blog-sidebar-thumb-wrap .content-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 100%;
    border-radius: inherit;
}

.blog-sidebar-thumb-wrap .content-image-placeholder-inner {
    padding: 0.375rem;
    gap: 0.125rem;
}

.blog-sidebar-thumb-wrap .content-image-placeholder-inner i {
    font-size: 0.875rem;
}

.blog-sidebar-thumb-wrap .content-image-placeholder-text,
.blog-sidebar-thumb-wrap .content-image-placeholder-size {
    display: none;
}

@media (min-width: 768px) {
    .about-cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* ── Smile Gallery ───────────────────────────────────────── */
.smile-gallery-page {
    background: #F3F8F1;
}

.smile-gallery-lead {
    background: #ffffff;
    padding: 2.75rem 0 1.75rem;
    position: relative;
    margin-top: -1px;
}

.smile-gallery-showcase {
    position: relative;
    padding: 1.5rem 0 2.75rem;
}

.smile-gallery-showcase.section-wave-host {
    padding-top: 3rem;
}

.smile-gallery-lead-inner {
    max-width: 44rem;
    margin: 0 auto;
    text-align: center;
}

.smile-gallery-eyebrow {
    display: inline-block;
    margin: 0 0 0.75rem;
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    background: rgba(63, 127, 168, 0.1);
    color: var(--primarydark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.smile-gallery-intro {
    margin: 0;
}

.smile-gallery-heading {
    color: var(--heading-color);
    font-size: clamp(1.5rem, 2.6vw, 2.125rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.625rem;
}

.smile-gallery-heading--center {
    text-align: center;
}

.smile-gallery-text {
    color: var(--body-color);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
}

.smile-gallery-showcase-header {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 1.5rem;
}

.smile-gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.smile-gallery-filter {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(63, 127, 168, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--heading-color);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.smile-gallery-filter:hover {
    border-color: rgba(63, 127, 168, 0.35);
    background: #fff;
}

.smile-gallery-filter.is-active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(63, 127, 168, 0.25);
}

.smile-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.smile-gallery-item {
    margin: 0;
}

.smile-gallery-item[hidden] {
    display: none;
}

.smile-gallery-card {
    overflow: hidden;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid rgba(63, 127, 168, 0.12);
    box-shadow: 0 8px 24px rgba(36, 56, 74, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.smile-gallery-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(36, 56, 74, 0.1);
}

.smile-gallery-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(63, 127, 168, 0.08);
    background: linear-gradient(180deg, rgba(243, 248, 241, 0.9) 0%, #fff 100%);
}

.smile-gallery-badge {
    color: var(--heading-color);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
}

.smile-gallery-service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
}

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

.smile-gallery-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    text-align: left;
}

.smile-gallery-half {
    position: relative;
    min-width: 0;
}

.smile-gallery-label {
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
    z-index: 2;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    background: rgba(36, 56, 74, 0.82);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.smile-gallery-label--after {
    background: rgba(63, 127, 168, 0.92);
}

.smile-gallery-photo {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgba(63, 127, 168, 0.04);
}

.smile-gallery-half--before .smile-gallery-photo {
    border-radius: 0 0 0 0;
}

.smile-gallery-half--after .smile-gallery-photo {
    border-radius: 0 0 1.25rem 0;
}

.smile-gallery-img,
.smile-gallery-photo .content-image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Portrait “after” shots: keep the smile in frame */
.smile-gallery-half--after .smile-gallery-img {
    object-position: center 18%;
}

.smile-gallery-photo .content-image-placeholder {
    min-height: 100%;
    border-radius: 0;
}

.smile-gallery-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    background: linear-gradient(180deg, #EEF3EB 0%, #fff 100%);
    color: var(--primary);
    font-size: 0.75rem;
}

.smile-gallery-disclaimer {
    margin: 1.5rem 0 0;
    text-align: center;
    color: var(--body-color);
    font-size: 0.75rem;
    line-height: 1.55;
    opacity: 0.85;
}

.smile-gallery-services {
    padding: 2.5rem 0;
    background: linear-gradient(180deg, #EEF3EB 0%, #F3F8F1 100%);
}

.smile-gallery-services-header {
    max-width: 36rem;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.smile-gallery-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.smile-gallery-services-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(63, 127, 168, 0.12);
    color: var(--heading-color);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(36, 56, 74, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.smile-gallery-services-card:hover {
    transform: translateY(-2px);
    border-color: rgba(63, 127, 168, 0.22);
    box-shadow: 0 10px 24px rgba(36, 56, 74, 0.08);
}

.smile-gallery-services-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 0.75rem;
    background: rgba(63, 127, 168, 0.1);
    color: var(--primary);
    font-size: 1.0625rem;
}

.smile-gallery-services-label {
    flex: 1;
    font-size: 0.9375rem;
    font-weight: 600;
}

.smile-gallery-services-arrow {
    color: var(--primary);
    font-size: 0.8125rem;
}

.smile-gallery-consult {
    padding: 2.75rem 0;
}

.smile-gallery-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.smile-gallery-split-content {
    max-width: 34rem;
}

.smile-gallery-steps {
    list-style: none;
    margin: 1.25rem 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.smile-gallery-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--body-color);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.smile-gallery-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(63, 127, 168, 0.12);
    color: var(--primarydark);
    font-size: 0.75rem;
    font-weight: 700;
}

.smile-gallery-btn {
    font-weight: 500 !important;
    padding-left: 1.75rem !important;
    padding-right: 1.75rem !important;
    border-radius: 999px !important;
}

.smile-gallery-photo-frame .content-image-placeholder {
    height: 100%;
    min-height: 100%;
}

.smile-gallery-split-media {
    margin: 0;
}

.smile-gallery-cta {
    padding: 0 0 3.5rem;
}

.smile-gallery-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, var(--primarydark) 0%, var(--primary) 100%);
    box-shadow: 0 16px 40px rgba(36, 56, 74, 0.18);
}

.smile-gallery-cta-title {
    color: #fff;
    font-size: clamp(1.375rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.625rem;
}

.smile-gallery-cta-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
    max-width: 36rem;
}

.smile-gallery-cta-text a {
    color: #fff;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.smile-gallery-cta-text a:hover,
.smile-gallery-cta-text a:focus-visible {
    color: rgba(255, 255, 255, 0.88);
}

.smile-gallery-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Lightbox */
.smile-gallery-lightbox {
    width: min(56rem, calc(100vw - 2rem));
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 1.25rem;
    background: transparent;
    overflow: visible;
}

.smile-gallery-lightbox::backdrop {
    background: rgba(36, 56, 74, 0.72);
    backdrop-filter: blur(4px);
}

.smile-gallery-lightbox-inner {
    position: relative;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 24px 48px rgba(36, 56, 74, 0.22);
}

.smile-gallery-lightbox-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: rgba(36, 56, 74, 0.08);
    color: var(--heading-color);
    cursor: pointer;
    transition: background 0.2s ease;
}

.smile-gallery-lightbox-close:hover {
    background: rgba(36, 56, 74, 0.14);
}

.smile-gallery-lightbox-title {
    margin: 0 2.5rem 1rem 0;
    color: var(--heading-color);
    font-size: 1.0625rem;
    font-weight: 600;
}

.smile-gallery-lightbox-compare {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.smile-gallery-lightbox-half {
    position: relative;
}

.smile-gallery-lightbox-photo {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 0.875rem;
    border: 1px solid rgba(63, 127, 168, 0.1);
}

.smile-gallery-lightbox-photo .content-image-placeholder {
    height: 100%;
    min-height: 100%;
}

@media (min-width: 768px) {
    .smile-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .smile-gallery-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .smile-gallery-cta-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 2.25rem 2rem;
    }

    .smile-gallery-cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
        flex-shrink: 0;
    }

    .smile-gallery-lightbox-compare {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
}

@media (min-width: 992px) {
    .smile-gallery-split {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .smile-gallery-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    }
}

/* —— Pinhole before/after + video —— */
.pinhole-showcase-host .pinhole-results,
.pinhole-showcase-host .pinhole-video {
    max-width: 52rem;
    margin: 0 auto;
}

.pinhole-results-header,
.pinhole-video-header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2rem;
}

.pinhole-results-lead,
.pinhole-video-lead,
.pinhole-results-intro,
.pinhole-video-intro {
    margin: 0.75rem 0 0;
    color: var(--body-color, #44515c);
    line-height: 1.65;
}

.pinhole-results-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pinhole-results-item {
    margin: 0;
}

.pinhole-case {
    background: #fff;
    border: 1px solid rgba(63, 127, 168, 0.12);
    border-radius: 1.15rem;
    padding: 1.35rem 1.25rem 1.5rem;
}

.pinhole-case-head {
    margin-bottom: 1.1rem;
}

.pinhole-case-title {
    margin: 0 0 0.4rem;
    color: var(--heading-color);
    font-size: 1.15rem;
    font-weight: 650;
}

.pinhole-case-desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--body-color, #44515c);
}

.pinhole-case-compare {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.pinhole-case-half {
    margin: 0;
}

.pinhole-case-photo {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 0.85rem;
    background: rgba(63, 127, 168, 0.06);
}

.pinhole-case-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.pinhole-case-label {
    display: inline-block;
    margin-top: 0.55rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(55, 65, 75, 0.88);
}

.pinhole-case-label--after {
    background: rgba(63, 127, 168, 0.92);
}

.pinhole-results-note {
    margin: 1.75rem 0 0;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(68, 81, 92, 0.85);
}

.pinhole-video {
    margin-top: 0.5rem;
}

.pinhole-video-frame {
    position: relative;
    width: 100%;
    max-width: 44rem;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 1.1rem;
    background: #0f1720;
    box-shadow: 0 12px 36px rgba(15, 40, 60, 0.12);
}

.pinhole-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 640px) {
    .pinhole-case {
        padding: 1.6rem 1.5rem 1.75rem;
    }

    .pinhole-case-compare {
        grid-template-columns: 1fr 1fr;
        gap: 1.15rem;
    }

    .pinhole-results-grid {
        gap: 2.75rem;
    }
}

@media (min-width: 992px) {
    .pinhole-showcase-host .pinhole-results,
    .pinhole-showcase-host .pinhole-video {
        max-width: 100%;
    }

    .pinhole-case-title {
        font-size: 1.25rem;
    }
}

/* —— Service page → Smile Gallery teaser —— */
.service-gallery-teaser {
    padding: 0 0 2.25rem;
}

.service-gallery-teaser-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
    padding: 1.15rem;
    border-radius: 1.15rem;
    background: linear-gradient(135deg, #EEF3EB 0%, #F3F8F1 55%, #E8F1F7 100%);
    border: 1px solid rgba(63, 127, 168, 0.14);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-gallery-teaser-card:hover {
    transform: translateY(-2px);
    border-color: rgba(63, 127, 168, 0.28);
    box-shadow: 0 14px 34px rgba(15, 40, 60, 0.1);
}

.service-gallery-teaser-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.service-gallery-teaser-half {
    min-width: 0;
}

.service-gallery-teaser-label {
    display: inline-block;
    margin-bottom: 0.35rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(55, 65, 75, 0.88);
}

.service-gallery-teaser-label--after {
    background: rgba(63, 127, 168, 0.92);
}

.service-gallery-teaser-photo {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 0.75rem;
    background: rgba(63, 127, 168, 0.08);
}

.service-gallery-teaser-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.service-gallery-teaser-body {
    min-width: 0;
    padding: 0.15rem 0.35rem 0.35rem;
}

.service-gallery-teaser-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(63, 127, 168, 0.95);
}

.service-gallery-teaser-title {
    margin: 0 0 0.5rem;
    color: var(--heading-color);
    font-size: 1.2rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.service-gallery-teaser-text {
    margin: 0 0 0.9rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--body-color, #44515c);
}

.service-gallery-teaser-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.95rem;
    font-weight: 650;
    color: #2f6f96;
}

.service-gallery-teaser-card:hover .service-gallery-teaser-cta {
    color: #1f5575;
}

.service-gallery-teaser-cta i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.service-gallery-teaser-card:hover .service-gallery-teaser-cta i {
    transform: translateX(3px);
}

@media (min-width: 768px) {
    .service-gallery-teaser-card {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        gap: 1.5rem;
        padding: 1.35rem 1.5rem;
    }

    .service-gallery-teaser-title {
        font-size: 1.35rem;
    }
}

/* Inside service sidebar column, keep teaser full width of main */
.content-page-main .service-gallery-teaser .container {
    padding-inline: 0;
    max-width: none;
}

/* —— Staff spotlight (e.g. Shelley) —— */
.staff-spotlight {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
    max-width: 48rem;
    margin: 0 auto;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid rgba(63, 127, 168, 0.12);
}

.staff-spotlight-photo {
    width: 100%;
    max-width: 14rem;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 1.1rem;
    background: rgba(63, 127, 168, 0.08);
    margin: 0 auto;
}

.staff-spotlight-img,
.staff-spotlight-photo .content-image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.staff-spotlight-name {
    margin: 0 0 0.35rem;
    color: var(--heading-color);
    font-size: 1.45rem;
    font-weight: 650;
}

.staff-spotlight-role {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(63, 127, 168, 0.95);
}

.staff-spotlight-quote {
    margin: 1.15rem 0 0;
    padding: 0.9rem 1rem;
    border-left: 3px solid rgba(63, 127, 168, 0.45);
    background: rgba(243, 248, 241, 0.9);
    border-radius: 0 0.75rem 0.75rem 0;
}

.staff-spotlight-quote p {
    margin: 0;
    font-style: italic;
    line-height: 1.55;
    color: var(--body-color, #44515c);
}

@media (min-width: 720px) {
    .staff-spotlight {
        grid-template-columns: 12.5rem minmax(0, 1fr);
        gap: 2rem;
        padding: 1.75rem 2rem;
    }

    .staff-spotlight-photo {
        max-width: none;
        margin: 0;
    }
}

/* —— Testimonial —— */
.testimonial-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: stretch;
    max-width: 40rem;
    margin: 0 auto;
}

.testimonial-layout--with-photo {
    max-width: 52rem;
}

.testimonial-photo {
    margin: 0;
    overflow: hidden;
    border-radius: 1.15rem;
    background: rgba(63, 127, 168, 0.08);
}

.testimonial-photo-img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 28rem;
    object-fit: cover;
    object-position: center top;
}

.testimonial-card {
    max-width: none;
    margin: 0;
    padding: 1.75rem 1.5rem;
    border-radius: 1.15rem;
    background: linear-gradient(160deg, #EEF3EB 0%, #F7FAF6 100%);
    border: 1px solid rgba(63, 127, 168, 0.12);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .testimonial-layout--with-photo {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 1.5rem;
        align-items: stretch;
    }

    .testimonial-photo-img {
        max-height: none;
        min-height: 100%;
    }
}

.testimonial-quote {
    margin: 0;
}

.testimonial-quote p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--heading-color);
    font-style: italic;
}

.testimonial-attr {
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 650;
    color: rgba(63, 127, 168, 0.95);
}

/* —— Content tables (comparison) —— */
.content-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.95rem;
    overflow: hidden;
    border-radius: 0.75rem;
    border: 1px solid rgba(63, 127, 168, 0.14);
}

.content-prose thead th {
    background: rgba(63, 127, 168, 0.1);
    color: var(--heading-color);
    font-weight: 650;
    text-align: left;
    padding: 0.75rem 0.9rem;
}

.content-prose tbody td {
    padding: 0.7rem 0.9rem;
    border-top: 1px solid rgba(63, 127, 168, 0.1);
    vertical-align: top;
    line-height: 1.45;
}

.content-prose tbody tr:nth-child(even) td {
    background: rgba(243, 248, 241, 0.55);
}

.content-prose .content-disclaimer,
.content-prose p.content-disclaimer {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    background: rgba(63, 127, 168, 0.06);
    border: 1px solid rgba(63, 127, 168, 0.12);
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--body-color, #44515c);
}

/* Global heading treatment — keep titles consistent across template and Markdown pages. */
.page-content :is(h1, h2, h3, h4) {
    text-transform: capitalize;
    text-wrap: balance;
}

/* Markdown content must not fall back to browser-default h2 margins. */
.content-prose h2 {
    color: var(--heading-color);
    font-size: clamp(1.5rem, 2.6vw, 2.125rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 2rem 0 0.9375rem;
}

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

.dz-post-text h2,
.dz-post-text h3,
.dz-post-text h4 {
    text-wrap: balance;
}

@media (max-width: 767px) {
    .content-prose h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-top: 1.75rem;
    }

    .dz-post-text h2 {
        font-size: 1.5rem;
    }
}
