:root {
    --plum: #4b1647;
    --plum-dark: #2d0c2a;
    --gold: #d6b758;
    --cream: #f8f4ec;
    --cream-2: #f1ebe1;
    --ink: #291c28;
    --muted: #716872;
    --line: #e8e0d6;
    --white: #fff;
    --serif: 'Playfair Display', serif;
    --sans: 'DM Sans', sans-serif;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    background: #fff;
}
img {
    display: block;
    width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input {
    font: inherit;
}
.container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}
.section {
    padding: 92px 0;
}
h1,
h2,
h3,
p {
    margin-top: 0;
}
h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.08;
}
h2 {
    font-size: 42px;
    line-height: 1.14;
    margin-bottom: 8px;
}
h3 {
    font-size: 20px;
    line-height: 1.28;
}
.eyebrow {
    text-transform: uppercase;
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 999px;
    padding: 13px 23px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.25s;
}
.button:hover {
    transform: translateY(-2px);
}
.button-primary {
    background: var(--plum);
    color: #fff;
}
.button-outline {
    border: 1px solid var(--plum);
    color: var(--plum);
    background: #fff;
}

/* Philosophy / NOBLE */
.philosophy-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.philosophy-inner {
    position: relative;
    z-index: 1;
}
.philosophy-shape {
    position: absolute;
    z-index: 0;
    width: min(760px, 72vw);
    height: 360px;
    right: -120px;
    bottom: -105px;
    border-radius: 58% 42% 0 0/76% 58% 0 0;
    background: radial-gradient(
        ellipse at 78% 78%,
        rgba(75, 22, 71, 0.15) 0%,
        rgba(214, 183, 88, 0.11) 35%,
        rgba(248, 244, 236, 0.08) 62%,
        transparent 76%
    );
    transform: rotate(-5deg);
    pointer-events: none;
}
.philosophy-card {
    background: var(--cream);
    border-radius: 22px;
    padding: 24px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.philosophy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(45, 12, 42, 0.09);
}
.philosophy-summary {
    list-style: none;
    cursor: default;
}
.philosophy-summary::-webkit-details-marker {
    display: none;
}
.philosophy-summary h3 {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 8px;
}
.philosophy-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 24px;
    border-radius: 12px;
    background: #fff;
    font-family: var(--serif);
    font-size: 22px;
    color: var(--plum);
}
.philosophy-toggle {
    display: none;
}
.philosophy-content p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}
.section-heading {
    max-width: 670px;
}
.centered {
    text-align: center;
    margin: 0 auto 46px;
}
.centered p {
    color: var(--muted);
}
.principles {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.principle-card {
    background: var(--cream);
    border-radius: 26px;
    padding: 24px 20px;
    min-height: 210px;
}
.letter {
    display: grid;
    place-items: center;
    background: #fff;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-family: var(--serif);
    font-size: 25px;
    color: var(--plum);
    margin-bottom: 27px;
}
.principle-card h3 {
    margin-bottom: 10px;
}
.principle-card p,
.service-card p,
.doctor-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

/* Services */
.services {
    background: var(--cream);
}
.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 38px;
}
.section-title-row p {
    margin: 0;
    color: var(--muted);
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: #fff;
    border-radius: 25px;
    padding: 10px 10px 22px;
    box-shadow: 0 9px 24px rgba(45, 12, 42, 0.045);
}
.service-image {
    height: 260px;
    border-radius: 19px;
    overflow: hidden;
    position: relative;
}
.service-image img {
    height: 100%;
    object-fit: cover;
}
.service-image span {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: #fffc;
    border-radius: 50%;
    color: var(--gold);
}
.service-card h3,
.service-card > p,
.service-card > a {
    margin-left: 12px;
    margin-right: 12px;
}
.service-card h3 {
    margin-top: 20px;
    margin-bottom: 9px;
}
.service-card > a,
.doctor-card > a {
    font-size: 12px;
    font-weight: 600;
    color: var(--plum);
    text-transform: uppercase;
}

/* Doctors */
.doctor-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 68px;
}
.doctor-intro p {
    color: var(--muted);
    font-size: 14px;
}
.doctor-intro .button {
    margin-top: 16px;
}
.doctor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.doctor-card {
    background: var(--cream);
    padding: 14px 14px 22px;
    border-radius: 25px;
}
.doctor-photo {
    height: 330px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
.doctor-photo img {
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.doctor-photo span {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background: #fffe;
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 10px;
}
.doctor-card h3 {
    margin: 20px 0 8px;
}

/* Membership */
.membership {
    padding-top: 30px;
}
.membership-panel {
    min-height: 330px;
    border-radius: 28px;
    overflow: hidden;
    color: #fff;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: var(--plum);
}
.membership-copy {
    padding: 52px 56px;
    background: linear-gradient(135deg, #4b1647 60%, #6b2466);
}
.membership h2 {
    font-size: 40px;
    color: #ead27d;
}
.membership-copy .eyebrow {
    color: #d6a84f;
}
.membership-copy p {
    max-width: 410px;
    color: #eadfea;
}
.membership form {
    display: flex;
    max-width: 500px;
    margin-top: 26px;
}
.membership input {
    flex: 1;
    padding: 13px 16px;
    background: #ffffff13;
    border: 1px solid #ffffff40;
    border-radius: 8px 0 0 8px;
    color: #fff;
}
.membership input::placeholder {
    color: #c8b8c7;
}
.membership button {
    border: 0;
    background: var(--gold);
    padding: 0 22px;
    border-radius: 0 8px 8px 0;
    color: var(--plum-dark);
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}
.membership button:hover {
    background: #c8a740;
}
.membership-image-panel {
    position: relative;
    overflow: hidden;
}
.membership-image-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Locations */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}
.locations h2 {
    margin-top: 8px;
}
.locations > div > div > p {
    color: var(--muted);
}
.locations img {
    height: 330px;
    object-fit: cover;
    border-radius: 25px;
    margin-top: 28px;
}
.location-list {
    padding-top: 70px;
}
.location-list article {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    padding: 25px 0;
}
.location-list article > span {
    font-family: var(--serif);
    color: var(--gold);
    font-size: 22px;
}
.location-list h3 {
    margin-bottom: 5px;
}
.location-list p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 7px;
}
.location-list a {
    font-size: 11px;
    color: var(--plum);
    font-weight: 600;
}

/* Journey steps */
.journey {
    border-top: 1px solid var(--line);
}
.journey-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
}
.journey-steps:before {
    content: '';
    position: absolute;
    top: 35px;
    left: 16%;
    right: 16%;
    height: 1px;
    background: var(--line);
}
.journey-steps article {
    text-align: center;
    padding: 0 28px;
    position: relative;
}
.step-icon {
    width: 70px;
    height: 70px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 25px;
    color: var(--plum);
    font-size: 21px;
}
.journey-steps p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}
.step-icon-svg,
.step-title-number {
    display: none;
}

/* Footer */
.site-footer {
    background: #2d0c2a;
    padding: 56px 0 24px;
    color: #fff;
}
.footer-wrap {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 60px;
    align-items: start;
    padding-bottom: 44px;
    border-bottom: 1px solid #ffffff18;
}
.footer-brand-col .brand {
    display: inline-block;
    margin-bottom: 14px;
}
.footer-brand-col .brand img {
    filter: brightness(0) invert(1);
    width: 130px;
    height: 48px;
}
.footer-brand-col p {
    font-size: 13px;
    color: #b09db0;
    line-height: 1.65;
    margin: 0;
}
.footer-nav-cols {
    display: flex;
    gap: 60px;
}
.footer-nav-col h4 {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d6b758;
    margin-bottom: 16px;
}
.footer-nav-col a {
    display: block;
    font-size: 13px;
    color: #c4aec3;
    margin-bottom: 10px;
    transition: color 0.2s;
}
.footer-nav-col a:hover {
    color: #fff;
}
.footer-social-col h4 {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d6b758;
    margin-bottom: 16px;
}
.footer-socials {
    display: flex;
    gap: 10px;
}
.footer-socials a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid #ffffff28;
    border-radius: 50%;
    color: #c4aec3;
    font-size: 15px;
    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
}
.footer-socials a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #2d0c2a;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 22px;
}
.footer-bottom p {
    font-size: 12px;
    color: #7a647a;
    margin: 0;
}
.footer-bottom-links {
    display: flex;
    gap: 22px;
}
.footer-bottom-links a {
    font-size: 12px;
    color: #7a647a;
    transition: color 0.2s;
}
.footer-bottom-links a:hover {
    color: #fff;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
.footer-socials svg {
    width: 16px;
    height: 16px;
}
.footer-socials .social-custom-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}
.contact-channel .social-custom-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    object-fit: cover;
}
.contact-channel svg {
    width: 20px;
    height: 20px;
}
.footer-socials a[data-social-link] {
    color: var(--social-color);
}
.footer-socials a[data-social-link]:hover {
    border-color: var(--social-color);
    background: var(--social-color);
    color: #fff;
}
.contact-channel-icon {
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease;
}
.contact-channel:hover .contact-channel-icon {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 8px 18px
        color-mix(in srgb, var(--social-color) 28%, transparent);
}

/* Contact home section */
.contact-home {
    background: #fff;
}
.contact-home-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 8px 40px #2d0c2a08;
}
.contact-home-image-col {
    position: relative;
    min-height: 460px;
}
.contact-home-image-col img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.contact-home-info-col {
    padding: 56px 52px;
}
.contact-home-info-col h2 {
    margin: 10px 0 14px;
}
.contact-home-info-col > p {
    color: var(--muted);
    max-width: 400px;
    margin-bottom: 32px;
}
.contact-home-locations {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.contact-home-location-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.contact-home-location-item:last-child {
    border-bottom: 0;
}
.location-icon {
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}
.contact-home-location-item h3 {
    margin: 0 0 3px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
}
.contact-home-location-item p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

/* News home */
.news-home {
    background: var(--cream);
}
.news-home-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.news-home-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 200px 1fr;
    box-shadow: 0 4px 20px #2d0c2a06;
    transition:
        transform 0.35s,
        box-shadow 0.35s;
}
.news-home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px #2d0c2a10;
}
.news-home-card-image {
    position: relative;
}
.news-home-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-home-card-body {
    padding: 28px 28px 28px 24px;
    display: flex;
    flex-direction: column;
}
.news-date {
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}
.news-home-card-body h3 {
    font-size: 17px;
    line-height: 1.3;
    margin: 0 0 10px;
    font-family: var(--serif);
}
.news-home-card-body p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 18px;
    flex: 1;
}
.news-home-card-body a {
    font-size: 11px;
    font-weight: 600;
    color: var(--plum);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    align-self: flex-start;
}

/* Premium page system */
.page-main {
    min-height: 60vh;
}
.inner-hero,
.detail-hero,
.page-heading,
.contact-page {
    padding: 48px 0 90px;
}
.inner-hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
    background: var(--cream);
    border-radius: 34px;
    padding: 42px;
}
.inner-hero h1,
.page-heading h1,
.contact-copy h1 {
    font-size: clamp(44px, 5vw, 72px);
    letter-spacing: -0.04em;
    margin: 15px 0 24px;
}
.inner-hero h1 em,
.page-heading h1 em,
.contact-copy h1 em {
    font-weight: 500;
    color: var(--plum);
}
.inner-hero p,
.page-heading p,
.contact-copy > p {
    max-width: 560px;
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 28px;
}
.inner-hero img {
    height: 560px;
    object-fit: cover;
    border-radius: 26px;
}
.treatment-list {
    display: grid;
    gap: 28px;
}
.treatment-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    background: #fff;
    border-radius: 28px;
    padding: 14px;
}
.treatment-row:nth-child(even) img {
    order: 2;
}
.treatment-row img {
    height: 380px;
    object-fit: cover;
    border-radius: 20px;
}
.treatment-row > div {
    padding: 35px;
}
.treatment-row p {
    color: var(--muted);
    max-width: 420px;
    margin: 18px 0 28px;
}
.detail-hero-card {
    position: relative;
    min-height: 610px;
    border-radius: 34px;
    overflow: hidden;
}
.detail-hero-card:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #2d0c2ae8 0%,
        #2d0c2a8c 45%,
        transparent 80%
    );
}
.detail-hero-card > img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
}
.detail-hero-card > div {
    position: absolute;
    z-index: 2;
    left: 7%;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 560px;
}
.detail-hero-card h1 {
    font-size: clamp(48px, 6vw, 78px);
    margin: 15px 0;
}
.detail-hero-card p {
    font-size: 20px;
    max-width: 460px;
    margin-bottom: 30px;
}
.detail-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.detail-services article {
    background: var(--cream);
    padding: 35px;
    border-radius: 24px;
}
.detail-services article > span {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 24px;
}
.detail-services h3 {
    font-size: 23px;
    margin: 35px 0 12px;
}
.detail-services p {
    color: var(--muted);
    font-size: 13px;
}
.detail-services a,
.article-card a {
    color: var(--plum);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.page-heading {
    padding-bottom: 60px;
}
.page-heading .container {
    background: var(--cream);
    border-radius: 34px;
    padding: 75px;
}
.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.article-card {
    border: 1px solid var(--line);
    border-radius: 25px;
    overflow: hidden;
    transition:
        transform 0.35s,
        box-shadow 0.35s;
}
.article-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 60px #2d0c2a12;
}
.article-card img {
    height: 330px;
    object-fit: cover;
}
.article-card > div {
    padding: 28px;
}
.article-card h2 {
    font-size: 27px;
    margin: 10px 0;
}
.article-card p {
    color: var(--muted);
}
.contact-shell {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    background: var(--cream);
    border-radius: 34px;
    padding: 65px;
}
.contact-details {
    display: grid;
    gap: 14px;
    margin-top: 45px;
}
.contact-details a {
    display: flex;
    gap: 14px;
    align-items: center;
}
.contact-details span {
    display: flex;
    flex-direction: column;
    font-weight: 600;
}
.contact-details small {
    font-weight: 400;
    color: var(--muted);
}
.appointment-form {
    background: #fff;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 60px #2d0c2a0c;
}
.appointment-form h2 {
    margin-bottom: 25px;
}
.appointment-form label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    outline: none;
    transition: 0.2s;
    text-transform: none;
    letter-spacing: 0;
}
.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px #d6b75820;
}
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.reveal.in-view {
    opacity: 1;
    transform: none;
}
.principle-card,
.service-card,
.doctor-card {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}
.principle-card:hover,
.service-card:hover,
.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px #2d0c2a0d;
}

/* Treatment landing page */
.treatment-hero-section {
    background: var(--cream);
    padding: 34px 0 44px;
}
.treatment-breadcrumb {
    display: flex;
    gap: 7px;
    align-items: center;
    margin-bottom: 26px;
    color: var(--plum);
    font-size: 11px;
}
.treatment-breadcrumb a {
    font-weight: 600;
}
.treatment-hero-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 64px;
    align-items: center;
}
.treatment-hero-copy {
    padding-left: 4px;
}
.treatment-hero-copy h1 {
    font-size: clamp(50px, 5.2vw, 76px);
    line-height: 0.93;
    letter-spacing: -0.045em;
    margin: 12px 0 25px;
}
.treatment-hero-copy h1 em {
    font-weight: 500;
    color: var(--plum);
}
.treatment-hero-copy > p {
    max-width: 520px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 28px;
}
.treatment-hero-actions {
    display: flex;
    align-items: center;
    gap: 11px;
}
.circle-link {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--plum);
}
.review-proof {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-left: 8px;
}
.review-proof > span {
    display: flex;
}
.review-proof i {
    width: 30px;
    height: 30px;
    margin-left: -7px;
    display: grid;
    place-items: center;
    border: 2px solid var(--cream);
    border-radius: 50%;
    background: var(--plum);
    color: #fff;
    font: 500 11px var(--serif);
}
.review-proof i:first-child {
    margin-left: 0;
    background: var(--gold);
    color: var(--plum);
}
.review-proof small {
    display: flex;
    flex-direction: column;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.25;
}
.review-proof b {
    color: var(--ink);
}
.treatment-hero-image {
    height: 570px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 22px 55px #2d0c2a12;
}
.treatment-hero-image img {
    height: 100%;
    object-fit: cover;
}
.treatment-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 32px;
    padding-top: 25px;
    border-top: 1px solid #e4dcd1;
}
.treatment-benefits article {
    display: flex;
    gap: 12px;
    align-items: center;
}
.treatment-benefits article > span {
    color: var(--plum);
    font-size: 18px;
}
.treatment-benefits p {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
}
.treatment-catalog {
    padding: 78px 0;
    background: #fff;
}
.treatment-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.treatment-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 25px #2d0c2a08;
    transition:
        transform 0.35s,
        box-shadow 0.35s;
}
.treatment-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 55px #2d0c2a12;
}
.treatment-card > img {
    height: 290px;
    object-fit: cover;
}
.treatment-card > div {
    padding: 23px;
}
.treatment-card h2 {
    font-size: 24px;
    margin-bottom: 12px;
}
.treatment-card p {
    min-height: 70px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}
.treatment-card a {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--plum);
    border-radius: 8px;
    color: var(--plum);
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: 0.25s;
}
.treatment-card a:hover {
    background: var(--plum);
    color: #fff;
}
.treatment-card a span {
    margin-left: 9px;
}
.treatment-journey {
    padding: 85px 0;
    background: #fff;
    border-top: 1px solid var(--line);
}
.treatment-steps {
    max-width: 1150px;
    margin: auto;
}

/* Form */
.form-status {
    margin: 18px 0 0;
    padding: 12px 14px;
    border-radius: 9px;
    background: #f1ebe1;
    color: var(--plum);
    font-size: 14px;
}
.form-status[hidden] {
    display: none;
}

/* Logo */
.brand img {
    display: block;
    width: 145px;
    height: 54px;
    object-fit: contain;
    object-position: left center;
}
.footer-brand img {
    width: 175px;
    height: 76px;
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        width: min(100% - 40px, 760px);
    }
    .principles {
        grid-template-columns: repeat(2, 1fr);
    }
    .principle-card:last-child {
        grid-column: span 2;
    }
    .doctor-layout {
        grid-template-columns: 1fr;
    }
    .doctor-intro {
        max-width: 450px;
    }
    .membership-panel {
        grid-template-columns: 1fr;
    }
    .location-grid {
        gap: 35px;
    }
    .footer-wrap {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-social-col {
        grid-column: 1/-1;
    }
    .footer-nav-cols {
        gap: 40px;
    }
    .treatment-hero-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .treatment-hero-copy {
        padding: 0;
    }
    .treatment-hero-copy h1 {
        font-size: 58px;
    }
    .treatment-hero-image {
        height: 470px;
    }
    .treatment-card-grid {
        grid-template-columns: 1fr 1fr;
    }
    .treatment-card:last-child {
        grid-column: 1/-1;
        max-width: calc(50% - 12px);
        margin: auto;
    }
    .treatment-benefits {
        gap: 16px;
    }
    .treatment-card > img {
        height: 250px;
    }
    .inner-hero-grid,
    .treatment-row,
    .contact-shell {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .inner-hero img {
        height: 430px;
    }
    .treatment-row:nth-child(even) img {
        order: 0;
    }
    .detail-services {
        grid-template-columns: 1fr;
    }
    .article-grid {
        grid-template-columns: 1fr;
    }
    .contact-shell {
        padding: 40px;
    }
    .page-heading .container {
        padding: 50px;
    }
    .detail-hero-card {
        min-height: 560px;
    }
    .contact-home-card {
        grid-template-columns: 1fr;
    }
    .contact-home-image-col {
        min-height: 300px;
    }
    .contact-home-info-col {
        padding: 40px 38px;
    }
    .news-home-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 620px) {
    .container {
        width: calc(100% - 28px);
    }
    .section {
        padding: 68px 0;
    }
    h2 {
        font-size: 34px;
    }
    h3 {
        font-size: 19px;
    }
    .principles {
        grid-template-columns: 1fr;
    }
    .principle-card:last-child {
        grid-column: auto;
    }
    .principle-card {
        min-height: 0;
    }
    .section-title-row {
        align-items: start;
        gap: 20px;
    }
    .service-image {
        height: 250px;
    }
    .doctor-layout {
        gap: 35px;
    }
    .doctor-photo {
        height: 360px;
    }
    .membership-panel {
        border-radius: 22px;
    }
    .membership-copy {
        padding: 34px 24px;
    }
    .membership h2 {
        font-size: 34px;
    }
    .membership form {
        flex-direction: column;
        gap: 8px;
    }
    .membership input,
    .membership button {
        border-radius: 8px;
        padding: 13px;
    }
    .location-list {
        padding-top: 0;
    }
    .journey-steps:before {
        display: none;
    }
    .footer-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-nav-cols {
        flex-wrap: wrap;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
    .footer-bottom-links {
        justify-content: center;
    }
    .treatment-hero-section {
        padding: 22px 0 35px;
    }
    .treatment-breadcrumb {
        margin-bottom: 20px;
    }
    .treatment-hero-grid {
        gap: 26px;
    }
    .treatment-hero-copy h1 {
        font-size: 43px;
        line-height: 0.98;
        margin-bottom: 20px;
    }
    .treatment-hero-copy > p {
        font-size: 15px;
    }
    .treatment-hero-actions {
        flex-wrap: wrap;
    }
    .review-proof {
        width: 100%;
        margin: 5px 0 0;
    }
    .treatment-hero-image {
        height: 390px;
        border-radius: 22px;
    }
    .treatment-benefits {
        grid-template-columns: 1fr;
        margin-top: 26px;
        padding-top: 20px;
        gap: 14px;
    }
    .treatment-catalog {
        padding: 55px 0;
    }
    .treatment-card-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .treatment-card:last-child {
        grid-column: auto;
        max-width: none;
    }
    .treatment-card > img {
        height: 235px;
    }
    .treatment-card p {
        min-height: 0;
    }
    .treatment-journey {
        padding: 62px 0;
    }
    .inner-hero,
    .detail-hero,
    .page-heading,
    .contact-page {
        padding-top: 20px;
    }
    .inner-hero-grid {
        padding: 24px;
        border-radius: 24px;
    }
    .inner-hero h1,
    .page-heading h1,
    .contact-copy h1 {
        font-size: 39px;
    }
    .inner-hero img {
        height: 340px;
    }
    .treatment-row {
        gap: 10px;
        border-radius: 22px;
    }
    .treatment-row img {
        height: 260px;
    }
    .treatment-row > div {
        padding: 22px 14px 26px;
    }
    .detail-hero-card {
        min-height: 560px;
        border-radius: 24px;
    }
    .detail-hero-card:after {
        background: linear-gradient(0deg, #2d0c2af2 0%, #2d0c2a20 90%);
    }
    .detail-hero-card > div {
        left: 24px;
        right: 24px;
        top: auto;
        bottom: 38px;
        transform: none;
    }
    .detail-hero-card h1 {
        font-size: 43px;
    }
    .page-heading .container {
        padding: 38px 25px;
        border-radius: 24px;
    }
    .article-card img {
        height: 240px;
    }
    .contact-shell {
        padding: 28px 20px;
        border-radius: 24px;
    }
    .appointment-form {
        padding: 25px 18px;
    }
    .news-home-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .news-home-card-image {
        height: 200px;
        position: relative;
    }
    .news-home-card-image img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .news-home-card-body {
        padding: 20px;
    }
    .membership-image-panel {
        height: 220px;
    }
    .membership-copy {
        padding: 36px 26px;
    }
    .contact-home-card {
        border-radius: 20px;
    }
    .contact-home-info-col {
        padding: 32px 24px;
    }
    .brand img {
        width: 122px;
        height: 45px;
    }
}
@media (max-width: 620px) {
    .philosophy-section {
        padding-top: 64px;
        padding-bottom: 76px;
    }
    .philosophy-section .philosophy-inner > div:first-of-type {
        margin-bottom: 32px;
    }
    .philosophy-grid {
        display: grid;
        grid-template-columns: 1fr;
    }
    .philosophy-card {
        padding: 0;
        border: 1px solid rgba(75, 22, 71, 0.07);
        box-shadow: 0 7px 24px rgba(45, 12, 42, 0.045);
    }
    .philosophy-card:hover {
        transform: none;
        box-shadow: 0 7px 24px rgba(45, 12, 42, 0.045);
    }
    .philosophy-summary {
        display: grid;
        grid-template-columns: 44px 1fr 32px;
        gap: 14px;
        align-items: center;
        padding: 15px;
        cursor: pointer;
    }
    .philosophy-summary h3 {
        margin: 0;
        font-size: 17px;
    }
    .philosophy-letter {
        margin: 0;
    }
    .philosophy-toggle {
        display: block;
        position: relative;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(75, 22, 71, 0.07);
    }
    .philosophy-toggle:before,
    .philosophy-toggle:after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 12px;
        height: 1.5px;
        border-radius: 2px;
        background: var(--plum);
        transform: translate(-50%, -50%);
        transition: transform 0.25s ease;
    }
    .philosophy-toggle:after {
        transform: translate(-50%, -50%) rotate(90deg);
    }
    .philosophy-card[open] .philosophy-toggle:after {
        transform: translate(-50%, -50%) rotate(0);
    }
    .philosophy-content {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.3s ease;
    }
    .philosophy-content p {
        overflow: hidden;
        padding: 0 61px 0 73px;
    }
    .philosophy-card[open] .philosophy-content {
        grid-template-rows: 1fr;
    }
    .philosophy-card[open] .philosophy-content p {
        padding-bottom: 20px;
    }
    .philosophy-shape {
        width: 125vw;
        height: 380px;
        right: -45vw;
        bottom: -90px;
        border-radius: 62% 38% 0 0/70% 48% 0 0;
        background: radial-gradient(
            ellipse at 74% 75%,
            rgba(75, 22, 71, 0.18) 0%,
            rgba(214, 183, 88, 0.13) 38%,
            rgba(248, 244, 236, 0.1) 62%,
            transparent 78%
        );
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .button,
    .hero-slide {
        transition: none;
    }
}

/* -- News / Blog -- */
@media (max-width: 900px) {
    .news-featured-img {
        min-height: 260px !important;
    }
    .news-article-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}
@media (max-width: 620px) {
    .news-article-grid {
        grid-template-columns: 1fr !important;
    }
    .news-featured-img {
        min-height: 210px !important;
    }
}
/* -- Treatment Detail -- */
@media (max-width: 900px) {
    .treatment-detail-hero {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .treatment-detail-hero-img {
        height: 300px !important;
    }
}
@media (max-width: 620px) {
    .treatment-detail-hero-img {
        height: 220px !important;
        border-radius: 16px !important;
    }
    .treatment-service-grid {
        grid-template-columns: 1fr !important;
    }
}
/* -- Contact -- */
@media (max-width: 480px) {
    .contact-map {
        height: 220px !important;
    }
    .contact-info {
        padding: 18px 16px !important;
    }
}
/* -- Global mobile -- */
@media (max-width: 480px) {
    .section {
        padding: 52px 0;
    }
}

/* Home page: refined desktop footer and mobile layout */
.site-footer {
    position: relative;
    overflow: hidden;
    padding-top: 64px;
}
.site-footer > .container {
    position: relative;
    z-index: 1;
}
.footer-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    right: -230px;
    top: -270px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(214, 183, 88, 0.14),
        rgba(75, 22, 71, 0.09) 48%,
        transparent 72%
    );
    pointer-events: none;
}
.footer-brand-col .brand img {
    filter: none;
    width: 150px;
    height: 58px;
}
.footer-brand-col p {
    max-width: 250px;
    color: #bdaebc;
    line-height: 1.7;
}
.footer-book-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    padding: 10px 16px;
    border: 1px solid rgba(214, 183, 88, 0.45);
    border-radius: 999px;
    color: #ead27d;
    font-size: 12px;
    font-weight: 600;
    transition: 0.25s;
}
.footer-book-button:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--plum-dark);
    transform: translateY(-2px);
}
.footer-contact-link {
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.footer-contact-link span {
    display: block;
    margin-bottom: 2px;
    color: #806c7f;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.home-mobile-link {
    display: none;
}

@media (max-width: 767px) {
    #site-header {
        height: 68px;
    }
    .hero-copy-frame {
        padding-inline: 24px;
    }
    .hero-title {
        font-size: clamp(37px, 10.8vw, 48px);
        line-height: 1.02;
    }
    .hero-description {
        font-size: 14px;
        line-height: 1.55;
    }
    .hero-kicker {
        margin-bottom: 18px;
    }
    .hero-cta {
        width: 100%;
        max-width: 240px;
        padding-block: 12px;
    }
    #home > div:first-of-type {
        padding: 8px 8px 16px;
    }
    #hero-carousel {
        height: calc(100svh - 92px) !important;
        min-height: 570px !important;
        max-height: 760px !important;
        border-radius: 18px !important;
    }
    #hero-carousel .hero-slide > div:nth-child(2) {
        background: linear-gradient(
            100deg,
            rgba(45, 12, 42, 0.92) 0%,
            rgba(45, 12, 42, 0.64) 66%,
            rgba(45, 12, 42, 0.18) 100%
        ) !important;
    }
    #hero-carousel .hero-slide > div:nth-child(3) {
        background: linear-gradient(
            to top,
            rgba(45, 12, 42, 0.72) 0%,
            transparent 62%
        ) !important;
    }
    #hero-prev,
    #hero-next {
        display: none;
    }
    .dot-btn {
        height: 7px;
        width: 7px;
    }
    .dot-btn.active {
        width: 24px;
    }
    #hero-carousel > div:nth-last-of-type(3) {
        bottom: 20px;
    }
    #hero-carousel > div:nth-last-of-type(2) {
        right: 20px;
        bottom: 18px;
    }
    .home-section {
        padding-block: 64px !important;
    }
    .home-section > div,
    .home-membership > div,
    #philosophy .philosophy-inner {
        padding-inline: 20px !important;
    }
    .home-section h2 {
        font-size: 34px !important;
        line-height: 1.08 !important;
    }
    #services > div > div:first-child,
    #news > div > div:first-child {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 32px !important;
    }
    #services > div > div:first-child > div > p,
    #news > div > div:first-child > div > p {
        line-height: 1.55;
    }
    #services > div > div:first-child > a.hidden,
    #news > div > div:first-child > a.hidden {
        display: inline-flex !important;
        width: 100%;
        justify-content: space-between;
        padding: 12px 18px;
        margin-top: 2px;
    }
    #services article {
        border-radius: 20px;
        padding: 8px 8px 22px;
    }
    #services article > div:first-child {
        height: 225px;
        margin-bottom: 18px;
        border-radius: 15px;
    }
    #services article > div:last-child {
        padding-inline: 10px;
    }
    #services article h3 {
        font-size: 19px;
    }
    #doctors > div > div:first-child {
        gap: 0;
    }
    #doctors > div > div:first-child p {
        margin-bottom: 22px;
    }
    #doctors > div > div:nth-child(2) {
        margin-top: 32px !important;
    }
    #doctors article {
        border-radius: 20px;
        padding: 10px 10px 22px;
    }
    #doctors article > div:first-child {
        height: 330px;
        border-radius: 15px;
    }
    .home-membership {
        padding: 18px 0 24px !important;
    }
    .home-membership > div > div {
        border-radius: 22px !important;
    }
    .home-membership > div > div > div:first-child {
        padding: 34px 24px !important;
    }
    .home-membership h2 {
        font-size: 34px !important;
    }
    .home-membership form {
        flex-direction: column;
        gap: 9px;
    }
    .home-membership form input,
    .home-membership form button {
        width: 100%;
        border: 1px solid rgba(255, 255, 255, 0.22) !important;
        border-radius: 11px !important;
    }
    .home-membership form button {
        padding-block: 13px;
    }
    .home-membership > div > div > div:last-child {
        min-height: 220px !important;
    }
    #contact > div > div {
        border-radius: 22px !important;
    }
    #contact > div > div > div:first-child {
        min-height: 235px !important;
    }
    #contact > div > div > div:last-child {
        padding: 30px 24px !important;
    }
    #contact h2 {
        font-size: 34px !important;
    }
    #contact a {
        width: 100%;
        justify-content: center;
    }
    #news article {
        display: grid;
        grid-template-columns: 1fr;
        border-radius: 20px;
    }
    #news article > div:first-child {
        width: 100% !important;
        height: 210px;
    }
    #news article > div:nth-child(2) {
        padding: 22px !important;
    }
    #news article h3 {
        font-size: 18px;
        line-height: 1.35;
        margin-bottom: 10px;
    }
    #news article p {
        margin-bottom: 16px;
    }
    .site-footer {
        padding: 48px 0 22px;
    }
    .site-footer .container {
        width: calc(100% - 40px);
    }
    .footer-glow {
        width: 360px;
        height: 360px;
        right: -190px;
        top: -150px;
    }
    .footer-wrap {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-bottom: 32px;
    }
    .footer-brand-col {
        width: 100%;
        padding-bottom: 32px;
    }
    .footer-brand-col .brand {
        margin-bottom: 16px;
    }
    .footer-brand-col .brand img {
        width: 154px;
        height: 59px;
    }
    .footer-brand-col p {
        max-width: 310px;
        font-size: 13px;
    }
    .footer-book-button {
        width: 100%;
        justify-content: space-between;
        margin-top: 24px;
        padding: 12px 18px;
    }
    .footer-nav-cols {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr 1fr;
        gap: 30px 24px;
        padding: 30px 0;
        border-top: 1px solid #ffffff18;
    }
    .footer-nav-col:nth-child(3) {
        grid-column: 1/-1;
        padding-top: 26px;
        border-top: 1px solid #ffffff18;
    }
    .footer-nav-col h4,
    .footer-social-col h4 {
        margin-bottom: 16px;
    }
    .footer-nav-col a {
        margin-bottom: 12px;
        font-size: 13px;
    }
    .footer-contact-link {
        display: inline-block !important;
        width: calc(50% - 6px);
        vertical-align: top;
        padding-right: 10px;
    }
    .footer-contact-link + .footer-contact-link {
        padding-right: 0;
    }
    .footer-social-col {
        width: 100%;
        padding: 28px 0 4px;
        border-top: 1px solid #ffffff18;
    }
    .footer-socials {
        gap: 12px;
    }
    .footer-socials a {
        width: 42px;
        height: 42px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding-top: 24px;
        text-align: left;
    }
    .footer-bottom-links {
        order: -1;
        gap: 20px;
        flex-wrap: wrap;
    }
    .footer-bottom p,
    .footer-bottom-links a {
        font-size: 11px;
    }
}

@media (max-width: 390px) {
    .hero-copy-frame {
        padding-inline: 20px;
    }
    .hero-title {
        font-size: 36px;
    }
    .home-section > div,
    .home-membership > div,
    #philosophy .philosophy-inner {
        padding-inline: 16px !important;
    }
    .site-footer .container {
        width: calc(100% - 32px);
    }
    .footer-nav-cols {
        gap-inline: 18px;
    }
    .footer-contact-link {
        display: block !important;
        width: 100%;
        margin-bottom: 16px !important;
    }
}

/* NOBLE mobile accordion: soft state and micro-interactions */
@media (max-width: 620px) {
    .philosophy-card {
        position: relative;
        overflow: clip;
        background: rgba(248, 244, 236, 0.92);
        border-color: rgba(75, 22, 71, 0.08);
        box-shadow: 0 5px 18px rgba(45, 12, 42, 0.035);
        transition:
            background-color 0.42s ease,
            border-color 0.42s ease,
            box-shadow 0.42s ease,
            transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .philosophy-card:before {
        content: '';
        position: absolute;
        inset: 15px auto 15px 0;
        width: 3px;
        border-radius: 0 99px 99px 0;
        background: linear-gradient(180deg, var(--gold), var(--plum));
        opacity: 0;
        transform: scaleY(0.35);
        transform-origin: center;
        transition:
            opacity 0.38s ease,
            transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .philosophy-card[open] {
        background: linear-gradient(
            135deg,
            rgba(248, 244, 236, 0.98),
            rgba(255, 255, 255, 0.98)
        );
        border-color: rgba(75, 22, 71, 0.14);
        box-shadow: 0 14px 34px rgba(45, 12, 42, 0.075);
    }
    .philosophy-card[open]:before {
        opacity: 1;
        transform: scaleY(1);
    }
    .philosophy-summary {
        position: relative;
        z-index: 1;
        border-radius: 21px;
        transition: padding 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .philosophy-summary:focus-visible {
        outline: 2px solid rgba(214, 183, 88, 0.8);
        outline-offset: -4px;
    }
    .philosophy-summary h3 {
        transition:
            color 0.32s ease,
            transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .philosophy-card[open] .philosophy-summary h3 {
        color: var(--plum);
        transform: translateX(2px);
    }
    .philosophy-letter {
        border: 1px solid transparent;
        transition:
            color 0.38s ease,
            background-color 0.38s ease,
            border-color 0.38s ease,
            box-shadow 0.42s ease,
            transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .philosophy-card[open] .philosophy-letter {
        color: #fff;
        background: var(--plum);
        border-color: rgba(214, 183, 88, 0.45);
        box-shadow: 0 7px 17px rgba(75, 22, 71, 0.18);
        transform: scale(1.045);
    }
    .philosophy-toggle {
        transition:
            background-color 0.38s ease,
            box-shadow 0.38s ease,
            transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .philosophy-toggle:before,
    .philosophy-toggle:after {
        transition:
            background-color 0.32s ease,
            transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .philosophy-card[open] .philosophy-toggle {
        background: var(--plum);
        box-shadow: 0 7px 16px rgba(75, 22, 71, 0.16);
        transform: rotate(180deg);
    }
    .philosophy-card[open] .philosophy-toggle:before,
    .philosophy-card[open] .philosophy-toggle:after {
        background: #fff;
    }
    .philosophy-card[open] .philosophy-toggle:after {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    .philosophy-card[open] .philosophy-content {
        display: block;
        grid-template-rows: none;
        overflow: hidden;
        transition: none;
        will-change: height, opacity;
    }
    .philosophy-card[open] .philosophy-content p {
        overflow: visible;
        will-change: opacity, transform;
        transition: color 0.3s ease;
    }
    .philosophy-card[data-motion='closing'] {
        box-shadow: 0 7px 22px rgba(45, 12, 42, 0.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    .philosophy-card,
    .philosophy-card:before,
    .philosophy-summary,
    .philosophy-summary h3,
    .philosophy-letter,
    .philosophy-toggle,
    .philosophy-toggle:before,
    .philosophy-toggle:after {
        transition: none !important;
    }
}

/* Home page motion system — GPU-friendly and progressively enhanced */
@supports (content-visibility: auto) {
    #home #philosophy,
    #home #services,
    #home #doctors,
    #home .home-membership,
    #home #contact,
    #home #news {
        content-visibility: auto;
        contain-intrinsic-size: auto 760px;
    }
}
#home .reveal {
    transition-property: opacity, transform;
    transition-duration: 0.72s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
#home #services article,
#home #doctors article,
#home #news article {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid transparent;
    transition:
        transform 0.48s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.48s ease,
        border-color 0.38s ease;
}
#home #services article:before,
#home #doctors article:before,
#home #news article:before {
    content: '';
    position: absolute;
    z-index: 4;
    width: 150px;
    height: 150px;
    right: -82px;
    top: -88px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(214, 183, 88, 0.16),
        transparent 69%
    );
    opacity: 0;
    pointer-events: none;
    transform: scale(0.72);
    transition:
        opacity 0.42s ease,
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
#home #services article > div:first-child:after,
#home #doctors article > div:first-child:after,
#home #news article > div:first-child:after {
    content: '';
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.13),
        transparent 42%,
        rgba(75, 22, 71, 0.08)
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}
#home #services article img,
#home #doctors article img,
#home #news article img {
    transition: transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}
#home #services article h3,
#home #doctors article h3,
#home #news article h3 {
    transition:
        color 0.3s ease,
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
#home #services article a,
#home #doctors article a,
#home #news article a {
    transition:
        color 0.28s ease,
        letter-spacing 0.35s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
#home .home-membership > div > div,
#home #contact > div > div {
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.55s ease;
}
#home .home-membership > div > div > div:last-child img,
#home #contact > div > div > div:first-child img {
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
#home .home-membership > div > div > div:first-child {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
#home .home-membership > div > div > div:first-child:after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 260px;
    height: 260px;
    right: -155px;
    bottom: -160px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(214, 183, 88, 0.23),
        transparent 68%
    );
    opacity: 0.55;
    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.5s ease;
}
#home .hero-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
#home .hero-cta:before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -2px;
    background: linear-gradient(
        110deg,
        transparent 25%,
        rgba(255, 255, 255, 0.3) 48%,
        transparent 70%
    );
    transform: translateX(-125%);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
#home .eyebrow {
    position: relative;
}

@media (hover: hover) and (pointer: fine) {
    #home #services article:hover,
    #home #doctors article:hover,
    #home #news article:hover {
        border-color: rgba(75, 22, 71, 0.1);
        box-shadow: 0 24px 58px rgba(45, 12, 42, 0.115);
        transform: translateY(-9px);
    }
    #home #services article:hover:before,
    #home #doctors article:hover:before,
    #home #news article:hover:before {
        opacity: 1;
        transform: scale(1);
    }
    #home #services article:hover > div:first-child:after,
    #home #doctors article:hover > div:first-child:after,
    #home #news article:hover > div:first-child:after {
        opacity: 1;
    }
    #home #services article:hover img,
    #home #doctors article:hover img,
    #home #news article:hover img {
        transform: scale(1.055);
    }
    #home #services article:hover h3,
    #home #doctors article:hover h3,
    #home #news article:hover h3 {
        color: var(--plum);
        transform: translateX(2px);
    }
    #home #services article:hover a,
    #home #doctors article:hover a,
    #home #news article:hover a {
        letter-spacing: 0.08em;
        transform: translateX(3px);
    }
    #home .home-membership > div > div:hover,
    #home #contact > div > div:hover {
        box-shadow: 0 26px 65px rgba(45, 12, 42, 0.12);
        transform: translateY(-5px);
    }
    #home .home-membership > div > div:hover > div:last-child img,
    #home #contact > div > div:hover > div:first-child img {
        transform: scale(1.045);
    }
    #home .home-membership > div > div:hover > div:first-child:after {
        opacity: 0.9;
        transform: scale(1.18);
    }
    #home .hero-cta:hover:before {
        transform: translateX(125%);
    }
}

@media (max-width: 767px) {
    #home #services article,
    #home #doctors article,
    #home #news article,
    #home .home-membership > div > div,
    #home #contact > div > div {
        transition-duration: 0.3s;
    }
    #home #services article:before,
    #home #doctors article:before,
    #home #news article:before {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    #home .reveal,
    #home #services article,
    #home #doctors article,
    #home #news article,
    #home #services article img,
    #home #doctors article img,
    #home #news article img,
    #home .home-membership > div > div,
    #home #contact > div > div,
    #home .home-membership img,
    #home #contact img,
    #home .hero-cta:before {
        transition: none !important;
        animation: none !important;
    }
}

/* Reusable light footer theme */
#site-header .site-logo-image {
    filter: brightness(0) saturate(100%) invert(20%) sepia(18%) saturate(2550%)
        hue-rotate(249deg) brightness(93%) contrast(88%);
}
body.footer-light .site-footer {
    border-top: 1px solid #eee5db;
    background: #fff;
    color: var(--plum);
}
body.footer-light .footer-glow {
    background: radial-gradient(
        circle,
        rgba(214, 183, 88, 0.14),
        rgba(248, 244, 236, 0.2) 48%,
        transparent 72%
    );
}
body.footer-light .footer-book-button {
    display: none;
}
body.footer-light .footer-brand-col p {
    color: rgba(75, 22, 71, 0.7);
}
body.footer-light .footer-wrap {
    border-bottom-color: #ebe2d8;
}
body.footer-light .footer-nav-col h4,
body.footer-light .footer-social-col h4 {
    color: var(--plum);
}
body.footer-light .footer-nav-col a {
    color: rgba(75, 22, 71, 0.82);
}
body.footer-light .footer-nav-col a:hover {
    color: var(--plum-dark);
}
body.footer-light .footer-contact-link {
    color: var(--plum);
}
body.footer-light .footer-contact-link span {
    color: #b18e35;
}
body.footer-light .footer-socials a {
    border-color: #e7ddd3;
    background: var(--cream);
    color: var(--plum);
}
body.footer-light .footer-socials a:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--plum-dark);
}
body.footer-light .footer-bottom p,
body.footer-light .footer-bottom-links a {
    color: rgba(75, 22, 71, 0.68);
}
body.footer-light .footer-bottom-links a:hover {
    color: var(--plum-dark);
}
body.footer-light .footer-brand-col .brand img {
    filter: brightness(0) saturate(100%) invert(20%) sepia(18%) saturate(2550%)
        hue-rotate(249deg) brightness(93%) contrast(88%);
}
@media (max-width: 767px) {
    body.footer-light .footer-nav-cols,
    body.footer-light .footer-nav-col:nth-child(3),
    body.footer-light .footer-social-col {
        border-color: #ebe2d8;
    }
}

/* Homepage mobile card carousels */
.home-slider-controls {
    display: none;
}
@media (max-width: 767px) {
    .home-card-slider {
        display: flex !important;
        grid-template-columns: none !important;
        align-items: stretch;
        gap: 16px !important;
        margin-inline: 0;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        padding: 3px 2px 18px;
        scroll-padding-inline: 2px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .home-card-slider::-webkit-scrollbar {
        display: none;
    }
    .home-card-slider > .home-slider-card,
    .home-card-slider > article {
        flex: 0 0 calc(100% - 4px);
        min-width: 0;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
    .home-slider-controls {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) auto 44px;
        align-items: center;
        gap: 12px;
        margin-top: 2px;
    }
    .home-slider-arrow {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid rgba(75, 22, 71, 0.16);
        border-radius: 50%;
        background: #fff;
        color: var(--plum);
        cursor: pointer;
        transition:
            color 0.25s ease,
            background-color 0.25s ease,
            border-color 0.25s ease,
            opacity 0.25s ease,
            transform 0.25s ease;
    }
    .home-slider-arrow:active {
        background: var(--plum);
        border-color: var(--plum);
        color: #fff;
        transform: scale(0.95);
    }
    .home-slider-arrow:disabled {
        opacity: 0.32;
        cursor: default;
        transform: none;
    }
    .home-slider-position {
        display: grid;
        gap: 9px;
        min-width: 0;
    }
    .home-slider-dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        flex-wrap: wrap;
    }
    .home-slider-dot {
        width: 7px;
        height: 7px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: #d6ccd4;
        cursor: pointer;
        transition:
            width 0.38s cubic-bezier(0.22, 1, 0.36, 1),
            background-color 0.3s ease,
            transform 0.3s ease;
    }
    .home-slider-dot.is-current {
        width: 25px;
        background: var(--plum);
    }
    .home-slider-progress {
        position: relative;
        display: block;
        width: min(150px, 100%);
        height: 2px;
        margin-inline: auto;
        overflow: hidden;
        border-radius: 99px;
        background: rgba(75, 22, 71, 0.1);
    }
    .home-slider-progress i {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, var(--gold), var(--plum));
        transform: scaleX(0);
        transform-origin: left center;
    }
    .home-slider-count {
        min-width: 39px;
        color: #776c76;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-align: center;
    }
}
@media (max-width: 390px) {
    .home-slider-controls {
        grid-template-columns: 40px minmax(0, 1fr) auto 40px;
        gap: 9px;
    }
    .home-slider-arrow {
        width: 40px;
        height: 40px;
    }
    .home-slider-count {
        min-width: 36px;
        font-size: 9px;
    }
}
@media (max-width: 620px) {
    .treatment-steps {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 34px;
    }
    .treatment-steps:before {
        display: none;
    }
    .treatment-steps article {
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 18px;
        min-height: 128px;
        padding: 0 0 30px;
        text-align: left;
    }
    .treatment-steps article:not(:last-child):after {
        content: '';
        position: absolute;
        left: 28px;
        top: 58px;
        bottom: 0;
        width: 1px;
        background: linear-gradient(180deg, var(--gold), var(--line));
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.85s 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .treatment-steps article.in-view:not(:last-child):after {
        transform: scaleY(1);
    }
    .treatment-steps .step-icon {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 58px;
        height: 58px;
        margin: 0;
        background: linear-gradient(145deg, #fff, var(--cream));
        border-color: #decfae;
        font-size: 18px;
        position: relative;
        z-index: 1;
        box-shadow: 0 8px 24px rgba(75, 22, 71, 0.07);
        transform: scale(0.72) rotate(-12deg);
        transition:
            transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.5s ease,
            border-color 0.5s ease;
    }
    .treatment-steps article.in-view .step-icon {
        transform: scale(1) rotate(0);
        border-color: rgba(75, 22, 71, 0.28);
        box-shadow:
            0 13px 30px rgba(75, 22, 71, 0.13),
            0 0 0 7px rgba(214, 183, 88, 0.08);
    }
    .treatment-steps .step-number {
        display: none;
    }
    .treatment-steps .step-icon-svg {
        display: block;
        width: 25px;
        height: 25px;
        color: var(--plum);
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .treatment-steps .step-icon-svg path {
        stroke-dasharray: 55;
        stroke-dashoffset: 55;
        transition: stroke-dashoffset 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .treatment-steps article.in-view .step-icon-svg path {
        stroke-dashoffset: 0;
    }
    .treatment-steps .step-title-number {
        display: inline;
        color: var(--plum);
    }
    .treatment-steps h3 {
        grid-column: 2;
        grid-row: 1;
        margin: 5px 0 7px;
        font-size: 19px;
        line-height: 1.25;
    }
    .treatment-steps p {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        max-width: 280px;
        font-size: 13px;
        line-height: 1.7;
    }
    .treatment-steps h3,
    .treatment-steps p {
        opacity: 0;
        transform: translateX(16px);
        transition:
            opacity 0.58s ease,
            transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .treatment-steps article.in-view h3 {
        opacity: 1;
        transform: none;
        transition-delay: 0.12s;
    }
    .treatment-steps article.in-view p {
        opacity: 1;
        transform: none;
        transition-delay: 0.23s;
    }
    .treatment-steps article:last-child {
        min-height: 0;
        padding-bottom: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-slider-progress i,
    .home-slider-dot,
    .home-slider-arrow,
    .treatment-steps article:after,
    .treatment-steps .step-icon,
    .treatment-steps .step-icon-svg path,
    .treatment-steps h3,
    .treatment-steps p {
        transition: none !important;
        animation: none !important;
    }
    .treatment-steps article:after {
        transform: none !important;
    }
    .treatment-steps .step-icon,
    .treatment-steps h3,
    .treatment-steps p {
        opacity: 1 !important;
        transform: none !important;
    }
    .treatment-steps .step-icon-svg path {
        stroke-dashoffset: 0 !important;
    }
}

/* Header layout fallback: keeps responsive navigation available before Tailwind CDN is ready. */
#site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    height: 72px;
}
#site-header .site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 32px;
    padding-inline: 24px;
}
#site-header .site-desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}
#site-header .site-header-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
#site-header .site-menu-toggle {
    display: none;
    flex-shrink: 0;
}
#mobile-drawer {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
}
#mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
}
@media (max-width: 1023px) {
    #site-header .site-header-inner {
        gap: 20px;
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    #site-header .site-desktop-nav,
    #site-header .site-header-actions {
        display: none !important;
    }
    #site-header .site-menu-toggle {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}
@media (max-width: 380px) {
    #site-header .site-header-inner {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
}

/* Marketplace icons remain visible while their admin URLs are being configured. */
.footer-socials .footer-social-disabled {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #ffffff20;
    border-radius: 50%;
    color: #9e899d;
    opacity: 0.55;
    cursor: not-allowed;
}
body.footer-light .footer-socials .footer-social-disabled {
    border-color: #e7ddd3;
    background: var(--cream);
    color: var(--plum);
    opacity: 0.42;
}
@media (max-width: 767px) {
    .footer-socials .footer-social-disabled {
        width: 42px;
        height: 42px;
    }
}

/* Global WhatsApp quick contact */
.whatsapp-float {
    position: fixed;
    right: max(24px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 80;
    display: block;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    isolation: isolate;
    transition: transform 0.22s ease;
}
.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.03);
}
.whatsapp-float:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.3);
    outline-offset: 4px;
}
.whatsapp-float-icon {
    position: relative;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.94);
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow:
        0 12px 28px rgba(22, 112, 57, 0.3),
        0 3px 9px rgba(45, 12, 42, 0.12);
    transition:
        background-color 0.22s ease,
        box-shadow 0.22s ease;
}
.whatsapp-float:hover .whatsapp-float-icon {
    background: #20bd5a;
    box-shadow:
        0 16px 34px rgba(22, 112, 57, 0.36),
        0 4px 11px rgba(45, 12, 42, 0.13);
}
.whatsapp-float-icon::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -5px;
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 50%;
}
.whatsapp-float-icon svg {
    width: 29px;
    height: 29px;
}
@media (max-width: 767px) {
    .whatsapp-float {
        right: max(17px, env(safe-area-inset-right));
        bottom: max(17px, env(safe-area-inset-bottom));
        width: 56px;
        height: 56px;
    }
    .whatsapp-float-icon {
        width: 56px;
        height: 56px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float,
    .whatsapp-float-icon {
        transition: none !important;
    }
}
