* {
    box-sizing: border-box;
}

:root {
    --maroon: #8c1c27;
    --maroon-dark: #661017;
    --rose: #fbf6f5;
    --green-dark: #354621;
    --green-mid: #2e4d3b;
    --green-light: #eef2ee;
    --sage: #f3f6f3;
    --gold: #dca842;
    --gold-dark: #b88628;
    --ink: #1a201c;
    --muted: #59655e;
    --paper: #ffffff;
    --white: #ffffff;
    --line: rgba(53, 70, 33, 0.1);
    --shadow: 0 16px 48px rgba(53, 70, 33, 0.06);
    --shadow-premium: 0 24px 72px rgba(140, 28, 39, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* Common Section Layouts */
.section {
    width: 100%;
    max-width: 100%;
    /* padding: 96px clamp(24px, 6vw, 80px); */
    margin: 0 auto;
}

.mobile-nav-header-d3 {
    display: none;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", Georgia, serif;
    color: #8c1c27;
    margin: 0;
}

h2 {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    line-height: 1.15;
    font-weight: 700;
}

/* Button UI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.26s ease;
}

.btn-icon {
    margin-right: 8px;
}

.btn.primary {
    color: var(--white);
    background: var(--maroon);
    box-shadow: 0 8px 20px rgba(140, 28, 39, 0.2);
}

.btn.primary:hover {
    background: var(--maroon-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(140, 28, 39, 0.28);
}

.btn.secondary {
    color: var(--maroon);
    background: var(--white);
    border-color: rgba(140, 28, 39, 0.3);
}

.btn.secondary:hover {
    background: var(--rose);
    transform: translateY(-2px);
}

/* Section kicker */
.section-kicker {
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--green-dark);
    margin-bottom: 12px;
    text-align: center;
}

/* Section divider with lines */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 40px;
}

.section-divider::before,
.section-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--line);
}

.section-divider::before {
    margin-right: 32px;
}

.section-divider::after {
    margin-left: 32px;
}

.section-divider h2 {
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #8c1c27;
}

/* Navigation & Header */
@media (min-width: 1101px) {
    body {
        margin-top: 38px;
    }
}

.header-top-bar-d3 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 38px;
    background-color: #8c1c27;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 clamp(16px, 4vw, 64px);
}

.header-top-bar-container-d3 {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-top-bar-right-d3 {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #ffffff;
    font-size: 0.85rem;
}

.top-bar-phone-d3 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-weight: 700;
    transition: color 0.2s ease;
    text-decoration: none;
}

.top-bar-phone-d3 svg {
    flex-shrink: 0;
    fill: currentColor;
}

.top-bar-phone-d3:hover {
    color: var(--gold, #c5a880);
}

.top-bar-divider-d3 {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
}

.top-bar-follow-d3 {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.top-bar-socials-d3 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-socials-d3 a {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.14);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-bar-socials-d3 a:hover {
    background-color: var(--gold, #dca842);
    color: #1a201c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.site-header {
    position: fixed;
    top: 38px;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 120px;
    padding: 16px clamp(16px, 4vw, 64px);
    background: rgba(255, 230, 232, 0.92);
    border-bottom: 1px solid rgba(53, 70, 33, 0.08);
    backdrop-filter: blur(12px);
    transition: min-height 0.3s ease, box-shadow 0.3s ease, top 0.3s ease;
}

@media (max-width: 1100px) {
    .header-top-bar-d3 {
        display: none;
    }

    .site-header {
        top: 0 !important;
    }
}

.site-header.is-scrolled {
    min-height: 120px;
    box-shadow: var(--shadow);
    padding: 16px clamp(16px, 4vw, 64px);
}

.brand img {
    height: 85px;
    width: auto;
    transition: height 0.3s ease;
}

.site-header.is-scrolled .brand img {
    height: 85px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.2vw, 32px);
}

.site-nav a {
    position: relative;
    font-size: 1.1rem;
    font-weight: 700;
    color: #8c1c27;
    padding: 10px 0;
    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: var(--green-dark);
}

.site-nav a::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--green-dark);
    transform: scaleX(0);
    transition: transform 0.24s ease;
}

.site-nav a:hover::after {
    transform: scaleX(1);
}

.header-actions-d3 {
    display: flex;
    align-items: center;
    gap: 24px;
}

.call-expert-d3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--maroon);
    font-size: 1.05rem;
    transition: color 0.2s ease;
}

.call-expert-d3:hover {
    color: var(--maroon-dark);
}

.call-icon-d3-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--rose);
    color: var(--maroon);
    border-radius: 50%;
}

.d3-btn-maroon-nav {
    background: #8c1c27 !important;
    color: var(--white) !important;
    padding: 10px 20px !important;
    min-height: 44px !important;
    font-size: 0.9rem !important;
    box-shadow: none !important;
}

.d3-btn-maroon-nav:hover {
    background: var(--green-mid) !important;
    transform: translateY(-2px) !important;
}

.header-socials-d3 {
    display: flex;
    align-items: center;
    gap: 9px;
}

.header-socials-d3 a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(140, 28, 39, 0.22);
    border-radius: 50%;
    background: var(--rose);
    color: var(--maroon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header-socials-d3 a:hover,
.header-socials-d3 a:focus-visible {
    border-color: var(--maroon);
    background: var(--maroon);
    color: var(--white);
    outline: none;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--maroon);
    transition: all 0.25s ease;
}

/* 1. Hero Section D3 */
.hero-d3 {
    padding-top: 150px;
    padding-bottom: 72px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%),
        url('../images/hero-doctor.webp') no-repeat center right / cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-d3-container {
    display: block;
    width: 100%;
    max-width: 100%;
    padding-left: clamp(24px, 6vw, 80px);
    padding-right: clamp(24px, 6vw, 80px);
    margin: 0 auto;
}

.hero-d3-content {
    max-width: 55%;
}

.hero-d3-title {
    font-size: clamp(2.4rem, 4.8vw, 4.4rem);
    line-height: 1.08;
    color: var(--green-dark);
    font-weight: 700;
    margin: 0;
}

.hero-d3-title .highlight {
    color: var(--maroon);
}

.hero-title-line-d3 {
    display: block;
    opacity: 0;
    transform: translateY(42px);
    filter: blur(6px);
    animation: heroTextRiseD3 0.85s cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

.hero-title-line-d3:nth-child(1) {
    animation-delay: 0.15s;
}

.hero-title-line-d3:nth-child(2) {
    animation-delay: 0.38s;
}

.hero-title-line-d3:nth-child(3) {
    animation-delay: 0.61s;
}

.hero-d3-subtext {
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    color: var(--muted);
    margin: 24px 0 36px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUpD3 0.75s ease 0.95s forwards;
}

.hero-d3-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUpD3 0.75s ease 1.15s forwards;
}

@keyframes heroTextRiseD3 {
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes heroFadeUpD3 {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Homepage hero: three-slide iris reveal */
.hero-slider-d3 {
    position: relative;
    display: block;
    min-height: max(720px, 80vh);
    padding: 0;
    background: #fff3f4;
    overflow: hidden;
}

.hero-slide-d3 {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 100%;
    padding: 150px 0 72px;
    background: #fff3f4;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

.hero-slide-d3.active {
    z-index: 2;
    visibility: visible;
    pointer-events: auto;
}

.hero-slide-d3.leaving {
    z-index: 1;
    visibility: visible;
    pointer-events: none;
}

.hero-slide-media-d3 {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: var(--hero-slide-image);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    clip-path: circle(0 at 74% 50%);
    transform: scale(1);
    transition:
        clip-path 1.15s cubic-bezier(0.22, 0.75, 0.18, 1),
        transform 6.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide-d3.active .hero-slide-media-d3 {
    clip-path: circle(150% at 74% 50%);
    transform: scale(1.08);
}

.hero-slide-d3.active:hover .hero-slide-media-d3 {
    transform: scale(1.14);
    transition: transform 2.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide-d3 .hero-d3-container {
    position: relative;
    z-index: 4;
    width: 100%;
}

.hero-slide-d3 .hero-d3-content {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 48px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    max-width: 620px;
    margin: 0 auto;
}

.hero-slide-d3.active .hero-d3-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide-d3.leaving .hero-d3-content {
    opacity: 0;
    transform: translateY(-35px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Desktop Split Layout overrides (min-width: 992px) */
@media (min-width: 992px) {
    .hero-slide-d3 {
        background: #fff3f4 !important;
    }

    .hero-slide-d3::after {
        display: none !important;
    }

    .hero-slide-d3::before {
        display: none !important;
    }

    .hero-slide-media-d3 {
        position: absolute !important;
        top: -40px !important;
        bottom: -40px !important;
        right: -20% !important;
        left: 48% !important;
        width: auto !important;
        height: auto !important;
        z-index: 1;
        background-image: none !important;
        /* Hide direct background on skewed parent */
        transform: skewX(-14deg) !important;
        transform-origin: center;
        overflow: hidden;
        /* border-left: 7px solid var(--green-dark, #354621) !important; */
        /* box-shadow: -15px 0 0 -8px var(--maroon, #8c1c27) !important; */
        clip-path: none !important;
    }

    .hero-slide-media-d3::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        background-image: var(--hero-slide-image) !important;
        background-position: var(--hero-slide-position, center center) !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        transform: skewX(14deg) scale(1.22) translate(var(--hero-slide-shift-x, 0px), var(--hero-slide-shift-y, 0px)) !important;
        /* Un-skew + scale to cover corners */
        transform-origin: center;
        transition: transform 6.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
        z-index: 1;
        display: block !important;
    }

    .hero-slide-d3.active .hero-slide-media-d3::after {
        transform: skewX(14deg) scale(1.30) translate(var(--hero-slide-shift-x, 0px), var(--hero-slide-shift-y, 0px)) !important;
    }

    .hero-slide-d3.active:hover .hero-slide-media-d3::after {
        transform: skewX(14deg) scale(1.36) translate(var(--hero-slide-shift-x, 0px), var(--hero-slide-shift-y, 0px)) !important;
        transition: transform 2.2s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }

    .hero-slide-d3.active .hero-slide-media-d3 {
        clip-path: none !important;
    }

    .hero-slide-d3 .hero-d3-container {
        max-width: 1300px;
        margin: 0 auto;
        padding: 0 40px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 100%;
        z-index: 4;
    }

    .hero-slide-d3 .hero-d3-content {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        max-width: 520px;
        margin: 0;
        transform: translateX(-35px);
        transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .hero-slide-d3.active .hero-d3-content {
        transform: translateX(0);
        transition-delay: 0.12s;
    }

    .hero-slide-d3.leaving .hero-d3-content {
        opacity: 0;
        transform: translateX(35px);
        transition-delay: 0s;
    }
}

.hero-slide-kicker-d3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--maroon);
    font-size: 0.76rem;
    line-height: 1;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero-slide-kicker-d3::before {
    content: "";
    width: 32px;
    height: 2px;
    background: currentColor;
}

.hero-slide-byline-d14 {
    margin: 18px 0 -8px;
    color: var(--green-dark);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    font-weight: 800;
    line-height: 1.5;
}

.hero-slide-d3 .hero-title-line-d3,
.hero-slide-d3 .hero-d3-subtext,
.hero-slide-d3 .hero-d3-actions {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
}

.hero-slide-d3.active .hero-title-line-d3 {
    animation: heroSlideLineInD3 0.7s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-slide-d3.active .hero-title-line-d3:nth-child(1) {
    animation-delay: 0.08s;
}

.hero-slide-d3.active .hero-title-line-d3:nth-child(2) {
    animation-delay: 0.16s;
}

.hero-slide-d3.active .hero-title-line-d3:nth-child(3) {
    animation-delay: 0.24s;
}

.hero-slide-d3.active .hero-slide-kicker-d3,
.hero-slide-d3.active .hero-d3-subtext,
.hero-slide-d3.active .hero-d3-actions {
    animation: heroSlideContentInD3 0.65s ease both;
}

.hero-slide-d3.active .hero-slide-kicker-d3 {
    animation-delay: 0s;
}

.hero-slide-d3.active .hero-d3-subtext {
    animation-delay: 0.3s;
}

.hero-slide-d3.active .hero-d3-actions {
    animation-delay: 0.4s;
}

.hero-slider-nav-d3 {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-slider-dot-d3 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    min-width: 0;
    height: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: width 0.35s ease;
}

.hero-slider-dot-d3 i {
    position: relative;
    display: block;
    width: 30px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(53, 70, 33, 0.3);
    transition: width 0.35s ease;
}

.hero-slider-dot-d3 i::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--maroon);
    transform: scaleX(0);
    transform-origin: left;
}

.hero-slider-dot-d3.active {
    width: 68px;
    min-width: 0;
}

.hero-slider-dot-d3.active i {
    width: 60px;
}

.hero-slider-dot-d3.active i::after {
    animation: heroSlideProgressD3 6s linear forwards;
}

.hero-slider-d3.is-paused .hero-slider-dot-d3.active i::after {
    animation-play-state: paused;
}

@keyframes heroSlideContentInD3 {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

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

@keyframes heroSlideLineInD3 {
    from {
        opacity: 0;
        transform: translateY(34px);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes heroSlideProgressD3 {
    to {
        transform: scaleX(1);
    }
}

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

    body.scroll-reveal-ready .about-collage-main-d3,
    body.scroll-reveal-ready .about-collage-secondary-d3,
    body.scroll-reveal-ready .about-collage-experience-d3 {
        opacity: 1;
        transform: none;
        animation: none !important;
    }

    .hero-title-line-d3,
    .hero-d3-subtext,
    .hero-d3-actions {
        opacity: 1;
        transform: none;
        filter: none;
        animation: none;
    }

    .hero-slide-media-d3,
    .hero-slide-d3.active .hero-d3-content,
    .hero-slide-d3.active .hero-title-line-d3,
    .hero-slider-dot-d3.active i::after {
        transition: none;
        animation: none;
    }
}

/* Shared animated inner-page hero */
.pattern-page-hero-d11 {
    position: relative;
    min-height: 520px;
    display: grid;
    align-items: center;
    /* padding: 50px clamp(24px, 5vw, 80px) 50px; */
    overflow: hidden;
    background:
        radial-gradient(circle at 17% 24%, rgba(255, 255, 255, 0.96) 0 9%, transparent 34%),
        linear-gradient(118deg, #fff8f8 0%, #fffdfd 47%, #fde8eb 100%);
}

.pattern-page-hero-d11::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(132deg, transparent 0 62%, rgba(255, 176, 190, 0.14) 62% 72%, transparent 72%),
        radial-gradient(circle at -1% 8%, rgba(247, 133, 153, 0.32) 0 22px, transparent 23px);
}

.pattern-page-hero-shell-d11 {
    padding-top: 110px;
    position: relative;
    z-index: 2;
    width: min(1480px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(500px, 0.9fr);
    align-items: center;
    gap: clamp(28px, 4vw, 70px);
}

@media (max-width: 1100px) {
    .pattern-page-hero-shell-d11 {
        padding-top: 0 !important;
    }
}


.pattern-page-hero-copy-d11 {
    width: min(100%, 730px);
    padding-left: clamp(0px, 2vw, 28px);
}

.pattern-page-hero-copy-d11 h1 {
    max-width: 730px;
    margin: 20px 0 0;
    color: var(--maroon);
    font-family: "Inter", sans-serif;
    font-size: clamp(3rem, 4.65vw, 5.2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0;
}

.pattern-page-hero-copy-d11 h1 em {
    color: var(--green-dark);
    font-family: inherit;
    font-style: normal;
    font-weight: inherit;
}

.pattern-page-hero-copy-d11 p {
    max-width: 620px;
    margin: 26px 0 0;
    color: #4d554e;
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    font-weight: 500;
    line-height: 1.75;
}

.pattern-page-hero-visual-d11 {
    position: relative;
    width: min(570px, 40vw);
    aspect-ratio: 1;
    justify-self: end;
    /* margin-right: clamp(-180px, -9vw, -70px); */
}

.pattern-page-hero-visual-d11 .treatments-hero-image-d10 img {
    object-position: 62% center;
}

.contact-pattern-hero-d11 .treatments-hero-image-d10 img {
    object-position: 66% center;
}

.testimonial-pattern-hero-d11 .pattern-page-hero-visual-d11,
.treatment-pattern-hero-d11 .pattern-page-hero-visual-d11,
.treatment-detail-hero-d12 .pattern-page-hero-visual-d11,
.contact-pattern-hero-d11 .pattern-page-hero-visual-d11 {
    width: min(430px, 36vw);
    margin-right: clamp(20px, 4vw, 80px);
}


/* Treatments page */
.treatments-page-d10 {
    background: #ffffff;
}

.treatments-eyebrow-d10 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--green-dark);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.treatments-eyebrow-d10::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--maroon);
}

.treatments-hero-image-d10 {
    position: absolute;
    z-index: 2;
    inset: 8%;
    overflow: hidden;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 26px 70px rgba(140, 28, 39, 0.12);
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.65s ease;
}

.treatments-hero-image-d10::after {
    display: none;
}

.treatments-hero-image-d10 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 59% center;
    transform: scale(1.02);
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    animation: treatmentImageZoomD10 7s ease-in-out infinite alternate;
}

.treatments-hero-ring-d10 {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.treatments-hero-ring-outer-d10 {
    inset: 0;
    border: clamp(20px, 2.5vw, 42px) solid rgba(255, 111, 137, 0.35);
    animation: treatmentRingPulseD10 5.5s ease-in-out infinite;
}

.treatments-hero-ring-inner-d10 {
    inset: 4.5%;
    border: clamp(8px, 1vw, 17px) solid rgba(255, 255, 255, 0.95);
    box-shadow: inset 0 0 0 clamp(7px, 0.8vw, 14px) rgba(255, 153, 171, 0.58);
    animation: treatmentRingFloatD10 6.5s ease-in-out infinite alternate;
}

.treatment-hero-wave-d10 {
    position: absolute;
    z-index: 1;
    left: -10%;
    bottom: -29%;
    width: 82%;
    height: 48%;
    border-radius: 50%;
    pointer-events: none;
    transform: rotate(6deg);
}

.treatment-hero-wave-one-d10 {
    background: rgba(255, 125, 149, 0.24);
    animation: treatmentWaveOneD10 9s ease-in-out infinite alternate;
}

.treatment-hero-wave-two-d10 {
    left: 4%;
    bottom: -34%;
    width: 67%;
    background: rgba(255, 188, 199, 0.36);
    transform: rotate(-3deg);
    animation: treatmentWaveTwoD10 11s ease-in-out infinite alternate;
}

.treatment-hero-wave-three-d10 {
    left: -18%;
    bottom: -38%;
    width: 54%;
    border: 2px solid rgba(255, 104, 133, 0.42);
    background:
        repeating-linear-gradient(5deg, transparent 0 7px, rgba(255, 104, 133, 0.33) 8px 9px);
    transform: rotate(13deg);
    animation: treatmentWaveThreeD10 10s ease-in-out infinite alternate;
}

.treatment-hero-stripes-d10 {
    position: absolute;
    z-index: 1;
    left: -18px;
    top: -54px;
    width: 270px;
    height: 170px;
    border-radius: 50%;
    background: repeating-linear-gradient(151deg, transparent 0 6px, rgba(255, 111, 137, 0.55) 7px 9px);
    transform: rotate(-18deg);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0 58%, transparent 60%);
    mask-image: radial-gradient(ellipse at center, #000 0 58%, transparent 60%);
    animation: treatmentStripesD10 8s ease-in-out infinite alternate;
}

.treatment-hero-dots-d10 {
    position: absolute;
    z-index: 1;
    width: 125px;
    height: 76px;
    opacity: 0.75;
    background-image: radial-gradient(circle, #f17d92 0 3px, transparent 3.5px);
    background-size: 28px 28px;
    pointer-events: none;
    animation: treatmentDotsD10 4.5s ease-in-out infinite alternate;
}

.treatment-hero-dots-top-d10 {
    top: 37px;
    left: 48%;
}

.treatment-hero-dots-bottom-d10 {
    left: 25px;
    bottom: 35px;
    animation-delay: -2.2s;
}

@keyframes treatmentRingPulseD10 {

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

    50% {
        transform: scale(1.025);
        opacity: 1;
    }
}

@keyframes treatmentRingFloatD10 {
    from {
        transform: rotate(-1.5deg) scale(0.99);
    }

    to {
        transform: rotate(1.5deg) scale(1.015);
    }
}

@keyframes treatmentWaveOneD10 {
    from {
        transform: translate3d(-2%, 8px, 0) rotate(5deg) scaleX(1);
    }

    to {
        transform: translate3d(4%, -10px, 0) rotate(8deg) scaleX(1.06);
    }
}

@keyframes treatmentWaveTwoD10 {
    from {
        transform: translate3d(3%, 5px, 0) rotate(-4deg) scaleX(1);
    }

    to {
        transform: translate3d(-4%, -12px, 0) rotate(-1deg) scaleX(1.08);
    }
}

@keyframes treatmentWaveThreeD10 {
    from {
        transform: translate3d(-2%, 4px, 0) rotate(12deg);
    }

    to {
        transform: translate3d(5%, -8px, 0) rotate(15deg);
    }
}

@keyframes treatmentStripesD10 {
    from {
        transform: translate3d(-5px, -3px, 0) rotate(-18deg);
    }

    to {
        transform: translate3d(12px, 8px, 0) rotate(-14deg);
    }
}

@keyframes treatmentDotsD10 {
    from {
        opacity: 0.48;
        translate: 0 0;
    }

    to {
        opacity: 0.9;
        translate: 0 -9px;
    }
}

@keyframes treatmentImageZoomD10 {
    from {
        transform: scale(1.02);
    }

    to {
        transform: scale(1.12);
    }
}

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

    .treatments-hero-ring-d10,
    .treatment-hero-wave-d10,
    .treatment-hero-stripes-d10,
    .treatment-hero-dots-d10 {
        animation: none !important;
    }

    .treatments-hero-image-d10,
    .treatments-hero-image-d10 img {
        animation: none !important;
        transition: none;
    }
}

.treatment-category-band-d10 {
    position: relative;
    z-index: 4;
    padding: 0 clamp(24px, 6vw, 92px);
    background: linear-gradient(180deg, #f7f1ee 0 50%, #ffffff 50% 100%);
}

.treatment-category-shell-d10 {
    width: min(1380px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(140, 28, 39, 0.1);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(53, 70, 33, 0.1);
}

.treatment-category-shell-d10 a {
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
    border-right: 1px solid rgba(53, 70, 33, 0.1);
    transition: color 0.3s ease, background 0.3s ease;
}

.treatment-category-shell-d10 a:last-child {
    border-right: 0;
}

.treatment-category-shell-d10 a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: var(--maroon);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.treatment-category-shell-d10 a:hover {
    background: #fbf7f5;
}

.treatment-category-shell-d10 a:hover::after {
    transform: scaleX(1);
}

.treatment-category-shell-d10 span {
    color: rgba(140, 28, 39, 0.54);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.treatment-category-shell-d10 strong {
    margin-top: 5px;
    color: var(--maroon);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.2rem, 1.7vw, 1.55rem);
}

.treatment-category-shell-d10 small {
    margin-top: 5px;
    color: #727a73;
    font-size: 0.72rem;
}

.treatment-intro-d10 {
    padding: 118px clamp(24px, 6vw, 92px) 100px;
}

.treatment-intro-shell-d10 {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.78fr;
    align-items: end;
    gap: clamp(45px, 8vw, 120px);
}

.treatment-intro-d10 h2 {
    max-width: 720px;
    margin-top: 14px;
    font-size: clamp(2.5rem, 4.7vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.treatment-intro-d10 p {
    margin: 0;
    padding-left: 28px;
    border-left: 3px solid var(--gold);
    color: #5f6961;
    font-size: 1rem;
    line-height: 1.85;
}

.treatment-detail-d10 {
    padding: 110px clamp(24px, 6vw, 92px);
    scroll-margin-top: 115px;
}

.treatment-detail-alt-d10 {
    background: linear-gradient(135deg, #f8f3f0, #f2f6f1);
}

.treatment-detail-shell-d10 {
    width: min(1380px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(440px, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(55px, 7vw, 110px);
}

.treatment-detail-alt-d10 .treatment-detail-image-d10 {
    order: 2;
}

.treatment-detail-image-d10 {
    position: relative;
    height: clamp(340px, 34vw, 460px);
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(53, 70, 33, 0.15);
}

.treatment-detail-image-d10::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(36, 51, 31, 0.56));
}

.treatment-detail-image-d10 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.treatment-detail-image-d10:hover img {
    transform: scale(1.045);
}

.treatment-image-label-d10 {
    position: absolute;
    z-index: 2;
    left: 30px;
    right: 30px;
    bottom: 28px;
    color: #ffffff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 700;
}

.treatment-number-d10 {
    display: inline-flex;
    padding: 8px 13px;
    color: var(--maroon);
    border: 1px solid rgba(140, 28, 39, 0.2);
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.68);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.treatment-detail-content-d10>h2 {
    max-width: 760px;
    margin-top: 20px;
    font-size: clamp(2.35rem, 4.1vw, 4.25rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.treatment-detail-content-d10>p {
    max-width: 790px;
    margin: 22px 0 0;
    color: #626c64;
    font-size: 0.98rem;
    line-height: 1.82;
}

.treatment-card-grid-d10 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-top: 34px;
}

.treatment-service-card-d10 {
    position: relative;
    min-height: 192px;
    display: flex;
    flex-direction: column;
    padding: 25px 24px 23px;
    overflow: hidden;
    scroll-margin-top: 130px;
    border: 1px solid rgba(53, 70, 33, 0.11);
    border-radius: 16px;
    background: linear-gradient(135deg, #f8f3f0, #f2f6f1);
    box-shadow: 0 12px 32px rgba(53, 70, 33, 0.055);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.treatment-service-card-d10::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--maroon);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.35s ease;
}

.treatment-service-card-d10:hover,
.treatment-service-card-d10:target {
    transform: translateY(-5px);
    border-color: rgba(140, 28, 39, 0.28);
    box-shadow: 0 20px 40px rgba(53, 70, 33, 0.11);
}

.treatment-service-card-d10:hover::before,
.treatment-service-card-d10:target::before {
    transform: scaleY(1);
}

.treatment-service-card-d10>span {
    color: rgba(140, 28, 39, 0.62);
    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.treatment-service-card-d10 h3 {
    margin-top: 8px;
    color: var(--green-dark);
    font-size: clamp(1.05rem, 1.45vw, 1.25rem);
    line-height: 1.28;
}

.treatment-service-card-d10 p {
    margin: 10px 0 0;
    color: #69726b;
    font-size: 0.79rem;
    line-height: 1.65;
}

.treatment-more-btn-d10 {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--maroon);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    transition: color 0.25s ease, gap 0.25s ease;
}

.treatment-more-btn-d10 span {
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.25s ease;
}

.treatment-more-btn-d10:hover,
.treatment-more-btn-d10:focus-visible {
    color: var(--green-dark);
    gap: 11px;
}

.treatment-more-btn-d10:hover span,
.treatment-more-btn-d10:focus-visible span {
    transform: translateX(3px);
}

.treatments-cta-d10 {
    padding: 40px clamp(24px, 6vw, 92px) 110px;
    background: #ffffff;
}

.treatments-cta-shell-d10 {
    position: relative;
    width: min(1380px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 50px;
    padding: clamp(42px, 6vw, 78px);
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.12), transparent 22%),
        linear-gradient(125deg, #354621, #24351f);
    box-shadow: 0 26px 64px rgba(53, 70, 33, 0.2);
}

.treatments-cta-shell-d10::after {
    content: "";
    position: absolute;
    right: -85px;
    bottom: -145px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.025), 0 0 0 90px rgba(255, 255, 255, 0.018);
}

.treatments-cta-shell-d10>* {
    position: relative;
    z-index: 2;
}

.treatments-cta-d10 .treatments-eyebrow-d10 {
    color: #e3c98e;
}

.treatments-cta-d10 .treatments-eyebrow-d10::before {
    background: #e3c98e;
}

.treatments-cta-d10 h2 {
    max-width: 780px;
    margin-top: 14px;
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 3.85rem);
    line-height: 1.08;
}

.treatments-cta-d10 p {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
}

.treatments-cta-actions-d10 {
    min-width: 210px;
    display: grid;
    gap: 15px;
    text-align: center;
}

.treatments-cta-actions-d10>a:last-child {
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 750;
}

.d3-btn-maroon {
    background: var(--maroon) !important;
}

.d3-btn-outline {
    border-color: var(--green-dark) !important;
    color: var(--green-dark) !important;
}

.d3-btn-outline:hover {
    background: var(--sage) !important;
}

.slider-arrow-btn-d3:hover,
.slider-arrow-btn-d3:focus-visible {
    background: var(--white) !important;
    color: var(--green-dark) !important;
    transform: none !important;
}

.hero-d3-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-d3-image-wrapper {
    position: relative;
    width: min(100%, 420px);
    aspect-ratio: 0.92;
    border-radius: 50% 50% 12px 12px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 6px solid var(--white);
}

.hero-d3-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-us-content-d3 p:last-child {
    margin-bottom: 0;
}

.about-us-more-content-d3 {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease, margin-bottom 0.4s ease;
}

.about-us-more-content-d3.expanded {
    max-height: 1200px;
    opacity: 1;
    margin-bottom: 20px;
}

.read-more-btn-d3 {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    /* min-width: 250px; */
    min-height: 56px;
    padding: 12px 28px;
    margin-top: 10px;
    border: 0;
    border-radius: 8px 28px 8px 28px;
    background: var(--maroon);
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 1.28rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px rgba(140, 28, 39, 0.2);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.read-more-btn-d3:hover {
    background: var(--maroon-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(140, 28, 39, 0.28);
}

.read-more-arrow-d3 {
    font-size: 1.65rem;
    line-height: 0.8;
    font-weight: 700;
    transition: transform 0.25s ease;
}

.read-more-btn-d3:hover .read-more-arrow-d3 {
    transform: translateX(4px);
}

.about-us-d3 {
    background: var(--white);
    padding-top: 90px;
    padding-bottom: 90px;
}

.about-us-container-d3 {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: clamp(32px, 6vw, 80px);
    width: 100%;
    max-width: 100%;
    padding-left: clamp(24px, 6vw, 80px);
    padding-right: clamp(24px, 6vw, 80px);
    margin: 0 auto;
    align-items: center;
}

@media (min-width: 1101px) {
    #about-clinic .about-us-container-d3 {
        grid-template-columns: 1.25fr 1fr;
        align-items: start;
    }
}

.about-us-visual-d3 {
    display: flex;
    justify-content: center;
}

.about-collage-d3 {
    position: relative;
    width: 100%;
    max-width: 500px;
    min-height: 500px;
}

.about-collage-main-d3,
.about-collage-secondary-d3 {
    position: absolute;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 48px rgba(35, 53, 20, 0.15);
}

.about-collage-main-d3 {
    left: 7%;
    top: 0;
    width: 82%;
    height: 430px;
}

.about-collage-secondary-d3 {
    right: 0;
    bottom: 0;
    z-index: 3;
    width: 56%;
    height: 220px;
    border: 8px solid #ffffff;
}

.about-collage-main-d3 img,
.about-collage-secondary-d3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-collage-main-d3 img {
    object-position: center 22%;
}

.about-collage-d3>div:hover img {
    transform: scale(1.05);
}

body.scroll-reveal-ready .about-collage-main-d3,
body.scroll-reveal-ready .about-collage-secondary-d3,
body.scroll-reveal-ready .about-collage-experience-d3 {
    opacity: 0;
}

body.scroll-reveal-ready .about-collage-main-d3 {
    transform: translateX(-42px) scale(0.94);
}

body.scroll-reveal-ready .about-collage-secondary-d3 {
    transform: translateX(42px) scale(0.82);
}

body.scroll-reveal-ready .about-us-visual-d3.is-visible .about-collage-main-d3 {
    animation:
        aboutCollageMainInD3 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s forwards,
        aboutCollageFloatD3 5s ease-in-out 1.2s infinite;
}

body.scroll-reveal-ready .about-us-visual-d3.is-visible .about-collage-secondary-d3 {
    animation:
        aboutCollageSmallInD3 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.42s forwards,
        aboutCollageFloatD3 4.5s ease-in-out 1.35s infinite;
}

.about-collage-experience-d3 {
    position: absolute;
    left: -20px;
    top: 40px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border: 1px dashed rgba(46, 77, 59, 0.24);
    border-radius: 50%;
    background: #ffffff;
    color: var(--green-dark);
    text-align: center;
    box-shadow: 0 18px 38px rgba(35, 53, 20, 0.13);
    transform: translateX(-34px) scale(0.82);
}

.about-collage-experience-d3::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px dashed rgba(46, 77, 59, 0.18);
    border-radius: 50%;
}

.about-collage-experience-d3 strong {
    position: relative;
    z-index: 1;
    color: var(--green-mid);
    font-family: "Inter", sans-serif;
    font-size: 38px;
    line-height: 1;
    font-weight: 800;
}

.about-collage-experience-d3 span {
    position: relative;
    z-index: 1;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
}

body.scroll-reveal-ready .about-us-visual-d3.is-visible .about-collage-experience-d3 {
    animation: aboutCollageSmallInD3 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.65s forwards;
}

@keyframes aboutCollageMainInD3 {
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes aboutCollageSmallInD3 {
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes aboutCollageFloatD3 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes aboutCollageFloatReverseD3 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

.about-collage-d3::before {
    content: "";
    position: absolute;
    left: 2%;
    top: 24px;
    width: 88%;
    height: 88%;
    border-radius: 10px;
    background: #f0f2ed;
    z-index: -1;
}

.about-us-content-d3 {
    display: flex;
    flex-direction: column;
}

.about-us-content-d3 h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    color: #8c1c27;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.15;

}

.about-us-content-d3 p {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.68;
    margin-bottom: 20px;
}

.about-us-content-d3 p:last-child {
    margin-bottom: 0;
}

/* Metrics strip D3 */
.metrics-strip-d3 {
    background: #fae5e5;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 42px 0;
}

.metrics-d3-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
    gap: 0;
    align-items: center;
}

.metric-d3-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.metric-d3-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--rose);
    color: var(--maroon);
    border-radius: 50%;
    flex-shrink: 0;
}

.metric-d3-item:nth-child(even) .metric-d3-icon {
    background: var(--green-light);
    color: var(--green-mid);
}

.metric-d3-item strong {
    display: block;
    font-size: clamp(2.25rem, 4vw, 4rem);
    line-height: 1;
    font-weight: 800;
    color: #8c1c27;
}

.metric-d3-item span {
    display: block;
    margin-top: 10px;
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    font-weight: 600;
    color: var(--muted);
}

/* 2. Specialties D3 */
.specialties-d3 {
    /* padding-top: 82px; */
    padding-bottom: 72px;
    background:
        radial-gradient(circle at 8% 12%, rgba(140, 28, 39, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(140, 28, 39, 0.04) 0%, rgba(140, 28, 39, 0.09) 100%);
}

.specialties-d3 .section-divider h2 {
    color: #8c1c27;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.intro-kicker-d3 {
    text-align: center;
    max-width: 760px;
    margin: -10px auto 40px;
    font-size: 1.06rem;
    color: var(--muted);
    line-height: 1.6;
}

.specialties-grid-d3 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
    overflow: visible;
    border: 0;
}

.specialty-feature-d3 {
    position: relative;
    display: grid;
    grid-template-columns: minmax(180px, 0.88fr) minmax(0, 1.12fr);
    min-height: 330px;
    overflow: hidden;
    border: 1px solid rgba(140, 28, 39, 0.1);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(53, 70, 33, 0.11);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialty-feature-d3:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(53, 70, 33, 0.16);
}

.specialty-image-d3 {
    position: relative;
    min-height: 330px;
    overflow: hidden;
}

.specialty-image-d3::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(21, 31, 15, 0.34) 100%);
}

.specialty-image-d3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.specialty-feature-d3:hover .specialty-image-d3 img {
    transform: scale(1.06);
}

.specialty-image-d3>span {
    position: absolute;
    left: 20px;
    bottom: 16px;
    z-index: 2;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 42px;
    line-height: 1;
    font-weight: 800;
    opacity: 0.92;
}

.specialty-copy-d3 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 3vw, 48px);
    background: rgba(140, 28, 39, 0.07);
}

.specialty-copy-d3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 64px;
    transform: translateY(-50%);
    background: var(--green-mid);
}

.specialty-feature-d3.red-theme .specialty-copy-d3::before {
    background: var(--maroon);
}

.specialty-label-d3 {
    display: block;
    margin-bottom: 12px;
    color: var(--green-mid);
    font-size: 0.75rem;
    line-height: 1.35;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.specialty-feature-d3.red-theme .specialty-label-d3 {
    color: var(--maroon);
}

.specialty-feature-d3 h3 {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.15rem, 1.55vw, 1.55rem);
    line-height: 1.1;
    font-weight: 850;
    color: #8c1c27;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.specialty-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    text-align: left;
    font-size: clamp(0.92rem, 1vw, 1.05rem);
    color: #38452e;
    width: 100%;
}

.specialty-bullet-list li {
    position: relative;
    padding-left: 24px;
    line-height: 1.5;
}

.specialty-bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 9px;
    height: 9px;
    border: 2px solid var(--green-mid);
    border-radius: 50%;
}

.specialty-feature-d3.red-theme .specialty-bullet-list li::before {
    border-color: var(--maroon);
}

/* 3. Why Choose Us D3 */
.why-choose-d3 {
    padding-top: 80px;
    padding-bottom: 80px;
    background: linear-gradient(180deg, #f5f7f8 0%, #f5f7f8 76%, #ffffff 76%);
}

.why-choose-row-d3 {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(48px, 7vw, 110px);
    width: min(100%, 1320px);
    margin: 0 auto;
    align-items: start;
    text-align: left;
}

.why-choose-image-d3 {
    position: relative;
    width: 100%;
    max-width: 380px;
    height: auto;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
}

.why-choose-image-d3>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    transition: transform 0.7s ease;
}

.why-choose-image-d3:hover>img {
    transform: scale(1.04);
}

.why-choose-video-d3 {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: #000000;
}

.why-choose-play-d3 {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    background: var(--green-mid);
    color: #ffffff;
    transition: background 0.25s ease;
}

.why-choose-play-d3:hover {
    background: var(--maroon);
}

.why-choose-content-d3 {
    position: relative;
    padding-top: 4px;
    padding-bottom: 104px;
}

/* Why Choose section: opposing scroll entrance */
body.scroll-reveal-ready .why-choose-row-d3.reveal {
    opacity: 1;
    transform: none;
}

body.scroll-reveal-ready .why-choose-row-d3 .why-choose-image-d3,
body.scroll-reveal-ready .why-choose-row-d3 .why-choose-content-d3 {
    opacity: 0;
    transition:
        opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

body.scroll-reveal-ready .why-choose-row-d3 .why-choose-image-d3 {
    transform: translateX(-90px);
}

body.scroll-reveal-ready .why-choose-row-d3 .why-choose-content-d3 {
    transform: translateX(90px);
}

body.scroll-reveal-ready .why-choose-row-d3.is-visible .why-choose-image-d3,
body.scroll-reveal-ready .why-choose-row-d3.is-visible .why-choose-content-d3 {
    opacity: 1;
    transform: translateX(0);
    will-change: auto;
}

body.scroll-reveal-ready .why-choose-row-d3.is-visible .why-choose-content-d3 {
    transition-delay: 0.12s;
}

.why-choose-content-d3 h2 {
    max-width: 600px;
    margin-bottom: 30px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 3.2vw, 3.4rem);
    line-height: 1.08;
    font-weight: 700;
    color: #8c1c27;
    text-transform: none;
}

.why-choose-content-d3 h2 span {
    color: var(--green-mid);
}

.why-choose-tabs-d3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 26px;
}

.why-choose-tabs-d3 button {
    min-height: 50px;
    display: grid;
    place-items: center;
    padding: 0 12px;
    border-top: 3px solid var(--green-mid);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    background: transparent;
    color: #323642;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 750;
    text-align: center;
    cursor: pointer;
}

.why-choose-tabs-d3 button.active {
    border-radius: 5px;
    border-top-color: transparent;
    background: #8c1c27;
    color: #ffffff;
}

.why-choose-tabs-d3 button:focus-visible {
    outline: 3px solid rgba(46, 77, 59, 0.3);
    outline-offset: 2px;
}

.why-choose-panel-d3 {
    display: none;
}

.why-choose-panel-d3.active {
    display: block;
}

.why-choose-panel-d3>p {
    max-width: 610px;
    margin: 0 0 26px;
    color: #6d7180;
    font-size: 1rem;
    line-height: 1.75;
}

.why-choose-details-d3 {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 26px;
    align-items: center;
}

.why-choose-round-image-d3 {
    width: 126px;
    height: 126px;
    overflow: hidden;
    border-radius: 50%;
}

.why-choose-round-image-d3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% center;
}

.why-choose-details-d3 ul {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.why-choose-details-d3 li {
    position: relative;
    padding-left: 28px;
    color: #646978;
    font-size: 0.96rem;
    line-height: 1.4;
}

.why-choose-details-d3 li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    border: 1.5px solid var(--green-mid);
    border-radius: 50%;
    color: var(--green-mid);
    font-size: 10px;
    font-weight: 900;
}

.why-choose-stat-d3 {
    position: absolute;
    left: 0;
    bottom: -36px;
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 360px;
    min-height: 116px;
    padding: 24px 32px;
    background: #8c1c27;
    color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(35, 37, 44, 0.16);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-stat-d3:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(35, 37, 44, 0.24);
}

body.preloader-active-d9 {
    overflow: hidden;
}

.site-preloader-d9 {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 44%, rgba(140, 28, 39, 0.11), transparent 30%),
        linear-gradient(145deg, #ffffff 0%, #f8f3f1 100%);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.site-preloader-d9.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-preloader-inner-d9 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 210px;
    height: 210px;
}

.site-preloader-d9 img {
    position: relative;
    z-index: 2;
    width: 145px;
    height: 145px;
    object-fit: contain;
    animation: preloaderPulseD9 1.65s ease-in-out infinite;
}

.site-preloader-ring-d9 {
    position: absolute;
    inset: 4px;
    border: 3px solid rgba(140, 28, 39, 0.12);
    border-top-color: #8c1c27;
    border-right-color: #8c1c27;
    border-radius: 50%;
    animation: preloaderSpinD9 1.1s linear infinite;
}

.site-preloader-text-d9 {
    position: absolute;
    top: calc(100% + 14px);
    color: #8c1c27;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

@keyframes preloaderSpinD9 {
    to {
        transform: rotate(360deg);
    }
}

@keyframes preloaderPulseD9 {

    0%,
    100% {
        transform: scale(0.92);
        opacity: 0.82;
    }

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

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

    .site-preloader-ring-d9,
    .site-preloader-d9 img {
        animation: none;
    }
}

.why-stat-icon-d3 {
    color: #ffffff;
}

.why-choose-stat-d3 strong {
    display: inline-block;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
    font-weight: 500;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.why-choose-stat-d3:hover strong {
    transform: scale(1.15) rotate(-2deg);
}

.why-choose-stat-d3 span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
}

/* 4. Infrastructure D3
.infrastructure-d3 {
    background: var(--rose);
    padding: 82px 0;
}

.infrastructure-container-d3 {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(24px, 5vw, 64px);
    width: 100%;
    max-width: 100%;
    padding-left: clamp(24px, 6vw, 80px);
    padding-right: clamp(24px, 6vw, 80px);
    margin: 0 auto;
    align-items: center;
}

.infrastructure-content-d3 h2 {
    margin-bottom: 28px;
}

.infra-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 18px;
}

.infra-bullet-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--green-dark);
} */

.checkmark-d3 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--green-mid);
    font-weight: bold;
}

.infrastructure-visual-d3 {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 4px solid var(--white);
}

.infrastructure-visual-d3 img {
    display: block;
    width: 100%;
    height: auto;
}

/* 5. Journey & Vision Section D3 */
.journey-vision-section-d3 {
    /* background: #ffffff; */
    padding: 0;
}

.journey-vision-container-d3 {
    width: min(calc(100% - 128px), 1772px);
    max-width: 1772px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* My Journey Card */
.journey-card-d3 {
    background: transparent;
    border: none;
    border-radius: 0;
    min-height: auto;
    padding: 0;
    box-shadow: none;
}

.vision-mission-card-d3 {
    background: #faf8f5;
    border: 1px solid #eadacb;
    border-radius: 16px;
    padding: 40px 32px;
}

.journey-card-title-d3 {
    text-align: center;
    color: var(--maroon-dark);
    font-family: "Inter", sans-serif;
    font-size: 20px;
    line-height: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 0;
}

.journey-timeline-container-d3 {
    position: relative;
    width: min(calc(100% - 52px), 1720px);
    max-width: 1720px;
    margin-left: 14px;
    margin-right: auto;
}

.journey-steps-d3 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: relative;
    z-index: 2;
}

.journey-step-d3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
    position: relative;
}

/* Connecting line from this step to the next step */
.journey-step-d3:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 59px;
    left: calc(50% + 86px);
    width: calc(100% - 172px);
    height: 6px;
    background:
        radial-gradient(circle at left center, var(--maroon-dark) 0 3px, transparent 3.5px),
        radial-gradient(circle at right center, var(--maroon-dark) 0 3px, transparent 3.5px),
        linear-gradient(#5c5a58, #5c5a58) center / 100% 1px no-repeat;
    z-index: 0;
}

/* Small custom dot in the middle of the connecting line */
.journey-step-d3:not(:last-child)::before {
    content: '';
    display: none;
    position: absolute;
    top: 59px;
    right: -3px;
    width: 6px;
    height: 6px;
    border: 0;
    border-radius: 50%;
    background: var(--maroon-dark);
    z-index: 1;
}

.journey-icon-d3 {
    width: 124px;
    height: 124px;
    background: #8c1c27;
    border: 1px solid #8c1c27;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-icon-d3 svg {
    width: 62px;
    height: 62px;
    color: #ffffff;
    stroke: #ffffff;
}

.journey-icon-d3 svg path,
.journey-icon-d3 svg circle,
.journey-icon-d3 svg rect {
    stroke: #ffffff;
}

.journey-icon-d3 svg [fill="currentColor"] {
    fill: #ffffff;
}

.journey-icon-d3:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(122, 32, 33, 0.08);
}

.journey-content-d3 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.journey-year-d3 {
    font-size: 28px;
    line-height: 32px;
    font-weight: 800;
    color: #8c1c27;
    margin-bottom: 4px;
    font-family: "Inter", sans-serif;
}

.journey-title-d3 {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    color: #151515;
    margin-bottom: 2px;
    min-height: 0;
}

.journey-desc-d3 {
    font-size: 16px;
    font-weight: 500;
    color: #151515;
    margin: 0;
    line-height: 20px;
}



/* 6. Expertise & Services (Redesigned dual-panel) */
.services-grid-section-d3 {
    background: var(--sage);
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.treatments-section-grid-d3 {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
    gap: 32px;
    width: 100%;
    /* max-width: 1500px; */
    padding-left: 0;
    padding-right: 0;
    /* margin: 0 auto; */
    align-items: stretch;
}

.expertise-box-d3 {
    background: var(--white);
    border: none;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(53, 70, 33, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.services-box-d3 {
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 24px clamp(46px, 6vw, 88px);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.panel-title-d3 {
    color: var(--maroon);
    font-size: 1.4rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

/* Wheel Diagram styling */
.wheel-diagram-container-d3 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    max-width: 100%;
    margin: auto auto;
    aspect-ratio: 1;
    transform: scale(1);
}

.wheel-svg-d3 {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.wheel-seg-d3 {
    transition: filter 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.wheel-seg-d3:hover {
    filter: brightness(1.1);
}

.wheel-text-d3 {
    pointer-events: none;
    font-weight: bold;
    user-select: none;
}

/* Golden laurels flanking the wheel */
.laurel-wreath-d3 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 140px;
    opacity: 0.85;
    pointer-events: none;
}

.laurel-left-d3 {
    left: -80px;
}

.laurel-right-d3 {
    right: -80px;
}

/* Services Slider */
.services-cards-grid-d3 {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    /* Prevent scrollbar clipping box-shadow */
}

/* Hide scrollbar for cleaner look, controlled by JS buttons */
.services-cards-grid-d3::-webkit-scrollbar {
    display: none;
}

.services-cards-grid-d3 {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.service-card-rect-d3 {
    flex: 0 0 calc(33.333% - 11px);
    scroll-snap-align: start;
    background: var(--white);
    border: none;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(53, 70, 33, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-rect-d3:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.service-card-image-d3 {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #f3f6f3;
    position: relative;
}

/* Vector Gradients representing Clinical eye conditions */
.eye-transplant-bg {
    background: radial-gradient(circle at center, #5dade2 10%, #2e4d3b 70%, #111 100%);
}

.eye-surface-bg {
    background: radial-gradient(circle at center, #a569bd 15%, #354621 75%, #050505 100%);
}

.eye-cataract-bg {
    background: radial-gradient(circle at center, #f4d03f 12%, #5dade2 30%, #1a201c 80%, #000 100%);
}

.eye-refractive-bg {
    background: radial-gradient(circle at center, #ffffff 5%, #58d68d 40%, #1a201c 80%, #000 100%);
}

.eye-keratoconus-bg {
    background: conic-gradient(from 45deg, #111, #5d6d7e, #2e4d3b, #111);
}

.eye-dryeye-bg {
    background: radial-gradient(circle at center, #ec7063 15%, #a93226 50%, #1a201c 85%, #000 100%);
}

.card-play-overlay-d3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.service-card-body-d3 {
    padding: 20px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    min-height: 64px;
}

.service-card-title-d3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1.3;
    margin: 0;
}

.service-card-desc-d3 {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 4px;
    display: block;
}

.read-more-card-btn-d3 {
    display: inline-block;
    color: var(--maroon);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 12px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.read-more-card-btn-d3:hover {
    color: var(--maroon-dark);
}

.read-more-card-btn-d3 span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.read-more-card-btn-d3:hover span {
    transform: translateX(4px);
}

/* Lower Highlights Row */
.services-highlights-d3 {
    background: #fcfbfa;
    border: none;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.highlight-item-d3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.highlight-icon-d3 {
    color: var(--maroon);
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-text-d3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1.25;
}

/* 7. Research & Achievements D3 */
.research-achievements-d3 {
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.research-grid-d3 {
    display: grid;
    grid-template-columns: 1.05fr 0.9fr 1.05fr;
    gap: 48px;
}

.research-col-d3 {
    display: flex;
    flex-direction: column;
}

.column-heading-d3 {
    font-family: "Inter", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--green-dark);
    border-bottom: 2px solid var(--maroon);
    padding-bottom: 8px;
    margin-bottom: 24px;
}

.sub-block-d3 {
    margin-bottom: 28px;
}

.sub-block-d3 h5 {
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--maroon);
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.bullet-list-d3 {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.bullet-list-d3 li {
    position: relative;
    padding-left: 18px;
    font-size: 0.94rem;
    color: var(--muted);
    line-height: 1.5;
}

.bullet-list-d3 li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--maroon);
    font-weight: bold;
}

.bullet-list-d3 li strong {
    color: var(--ink);
}

.bullet-list-d3 li span {
    display: block;
    font-style: italic;
    margin-top: 2px;
}

/* Col 2 Publications */
.pub-citation-d3 {
    font-size: 0.94rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 18px;
}

.pub-citation-d3 strong {
    color: var(--ink);
}

.journal-image-wrapper-d3 {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    margin: 10px 0;
    max-width: 210px;
}

/* Col 3 Achievements */
.achievement-item-d3 {
    display: flex;
    align-items: start;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px dashed var(--line);
}

.achievement-icon-wrapper-d3 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}

.text-gold {
    background: #fdf6e2;
    color: var(--gold-dark);
}

.text-green {
    background: var(--green-light);
    color: var(--green-mid);
}

.achievement-item-d3 h5 {
    font-family: "Inter", sans-serif;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--green-dark);
    margin-bottom: 2px;
}

.achievement-item-d3 p {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0;
}

/* 8. Patient Stories */
.patient-stories-d3 {
    background: var(--rose);
}

.patient-stories-grid-d3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.story-card-d3 {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
}

.video-thumbnail-wrapper-d3 {
    position: relative;
    width: 100%;
    aspect-ratio: 1.45;
    background: #000;
}

.video-thumbnail-abstract {
    width: 100%;
    height: 100%;
    opacity: 0.76;
}

.p1-bg {
    background: linear-gradient(135deg, #2c3e50, #bdc3c7);
}

.p2-bg {
    background: linear-gradient(135deg, #16a085, #f1c40f);
}

.p3-bg {
    background: linear-gradient(135deg, #2980b9, #2c3e50);
}

.play-btn-d3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--maroon);
    color: var(--white);
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(140, 28, 39, 0.4);
    transition: transform 0.24s ease, background 0.24s ease;
}

.play-btn-d3:hover {
    background: var(--maroon-dark);
    transform: translate(-50%, -50%) scale(1.1);
}

.story-content-d3 {
    padding: 24px;
}

.story-content-d3 p {
    font-size: 0.94rem;
    color: var(--muted);
    font-style: italic;
    margin: 0 0 12px;
    line-height: 1.5;
}

.story-content-d3 cite {
    display: block;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    color: var(--green-dark);
    font-style: normal;
    font-size: 0.88rem;
}

/* Handwritten sticky note */
.sticky-note-card-d3 {
    background: #f4effa;
    /* light lavender post-it */
    padding: 28px;
    border-radius: 4px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05), inset 0 0 30px rgba(0, 0, 0, 0.02);
    border-left: 5px solid #c39bd3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transform: rotate(1.5deg);
}

.sticky-note-card-d3::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 16px 16px 0;
    border-color: transparent transparent rgba(0, 0, 0, 0.06) transparent;
}

.cursive-text {
    font-family: "Caveat", cursive;
    font-size: 1.35rem;
    line-height: 1.4;
    color: #3d2b4f;
    margin: 0 0 16px;
}

.cursive-signature {
    font-family: "Caveat", cursive;
    font-size: 1.3rem;
    color: var(--maroon);
    text-align: right;
    margin: 0;
}

/* 9. Before & After Gallery */
.before-after-d3 {
    background: var(--white);
}

.before-after-grid-d3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ba-card-d3 {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.ba-images-container-d3 {
    display: flex;
    width: 100%;
    height: 400px;
}

.ba-image-half-d3 {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
}

.ba-label-tag-d3 {
    position: absolute;
    bottom: 10px;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    font-size: 0.74rem;
    font-weight: 800;
    border-radius: 4px;
}

.left-side {
    border-right: 2px solid var(--white);
}

.left-side .ba-label-tag-d3 {
    left: 10px;
}

.right-side .ba-label-tag-d3 {
    right: 10px;
}

/* Clinical eyeball drawings */
.cornea-before-bg {
    background: radial-gradient(circle at 60% 50%, #ffffff 5%, #cbd6e2 40%, #5dade2 45%, #ffffff 48%, #1b3a4b 75%, #000 100%);
    filter: blur(0.5px);
}

.cornea-after-bg {
    background: radial-gradient(circle at 50% 50%, #ffffff 5%, #5dade2 35%, #1b3a4b 75%, #000 100%);
}

.cataract-before-bg {
    background: radial-gradient(circle at 50% 50%, #ffffff 5%, #f4d03f 30%, #5499c7 45%, #1b3a4b 75%, #000 100%);
}

.cataract-after-bg {
    background: radial-gradient(circle at 50% 50%, #ffffff 5%, #5dade2 35%, #1b3a4b 75%, #000 100%);
}

.lasik-before-bg {
    background: radial-gradient(circle at 50% 50%, #ffffff 5%, #5dade2 35%, #1b3a4b 75%, #000 100%);
    border: 3px solid rgba(0, 0, 0, 0.1);
}

.lasik-after-bg {
    background: radial-gradient(circle at 50% 50%, #ffffff 5%, #58d68d 35%, #1b3a4b 75%, #000 100%);
}

.keratoconus-before-bg {
    background: conic-gradient(from 45deg, #111, #85929e, #2e4d3b, #111);
}

.keratoconus-after-bg {
    background: radial-gradient(circle at 50% 50%, #ffffff 5%, #2e4d3b 35%, #1b3a4b 75%, #000 100%);
}

.ba-info-bar-d3 {
    padding: 18px;
    text-align: center;
    border-top: 1px solid var(--line);
}

.ba-info-bar-d3 h5 {
    font-family: "Inter", sans-serif;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--green-dark);
}

/* 10. FAQ & Appointment Booking */
.faq-booking-section-d3 {
    background: var(--sage);
    padding: 104px clamp(24px, 6vw, 80px);
}

.faq-booking-container-d3 {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(32px, 6vw, 82px);
    align-items: start;
}


/* Accordion */
.accordion-d3 {
    display: grid;
    gap: 12px;
}

.accordion-item-d3 {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(53, 70, 33, 0.02);
}

.accordion-trigger-d3 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: transparent;
    border: 0;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--green-dark);
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.accordion-trigger-d3:hover {
    color: var(--maroon);
}

.accordion-icon-d3 {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.accordion-icon-d3::before,
.accordion-icon-d3::after {
    content: "";
    position: absolute;
    background: var(--green-dark);
    transition: transform 0.28s ease;
}

.accordion-icon-d3::before {
    top: 6px;
    left: 0;
    width: 14px;
    height: 2px;
}

.accordion-icon-d3::after {
    top: 0;
    left: 6px;
    width: 2px;
    height: 14px;
}

.accordion-item-d3.active .accordion-icon-d3::after {
    transform: rotate(90deg);
    opacity: 0;
}

.accordion-item-d3.active .accordion-trigger-d3 {
    color: var(--maroon);
    border-bottom: 1px solid var(--line);
}

.accordion-panel-d3 {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-panel-d3 p {
    padding: 20px 24px;
    margin: 0;
    font-size: 0.94rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Booking Card Form */
.booking-card-d3 {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--line);
}

.booking-header-d3 {
    background: var(--maroon);
    padding: 24px;
    text-align: center;
}

.booking-header-d3 h3 {
    font-family: "Inter", sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.08em;
}

.booking-body-d3 {
    background: var(--white);
    padding: 32px;
    display: grid;
    gap: 16px;
}

.form-group-d3 input,
.form-group-d3 select,
.form-group-d3 textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid rgba(53, 70, 33, 0.15);
    border-radius: 6px;
    font-family: "Inter", sans-serif;
    font-size: 0.94rem;
    background: var(--white);
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group-d3 input:focus,
.form-group-d3 textarea:focus {
    border-color: var(--maroon);
}

.form-group-d3 textarea {
    resize: none;
}

.booking-submit-btn-d3 {
    background: var(--green-dark) !important;
    color: var(--white) !important;
    width: 100%;
    min-height: 52px;
    font-size: 1rem !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

.booking-submit-btn-d3:hover {
    background: var(--green-mid) !important;
    transform: translateY(-2px);
}

/* Pre-footer consultation banner */
.pre-footer-banner-d6 {
    position: relative;
    min-height: clamp(330px, 31vw, 500px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(237, 244, 229, 0.98) 0%, rgba(255, 255, 255, 0.94) 42%, rgba(245, 221, 221, 0.34) 72%, rgba(140, 28, 39, 0.12) 100%),
        url('../images/banner.webp') center right / cover no-repeat;
}

.pre-footer-banner-content-d6 {
    width: min(62%, 1120px);
    padding: clamp(42px, 6vw, 96px);
}

.pre-footer-banner-content-d6 h3 {
    margin: 0 0 22px;
    color: #8c1c27;
    font-family: "Inter", sans-serif;
    font-size: clamp(22px, 2.3vw, 40px);
    line-height: 1.18;
    font-weight: 800;
}

.pre-footer-banner-content-d6 h5 {
    margin: 0 0 42px;
    color: var(--green-dark);
    font-family: "Inter", sans-serif;
    font-size: clamp(42px, 5vw, 80px);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.pre-footer-banner-content-d6 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--maroon);
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.15;
    font-weight: 850;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 16px 34px rgba(46, 77, 59, 0.2);
    transition: transform 0.25s ease, background 0.25s ease;
}



/* Footer Top Bar */
.footer-top-bar {
    background: var(--maroon-dark);
    color: var(--white);
    padding: 24px clamp(24px, 6vw, 80px);
}

.footer-top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    flex-wrap: nowrap;
    gap: 20px;
}

.footer-top-text {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.4;
    flex-shrink: 0;
}

.footer-top-info {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
    flex-shrink: 1;
    min-width: 0;
}

.top-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.top-info-item span {
    white-space: nowrap;
}

.top-divider {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.d3-btn-footer-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #3c5443;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.d3-btn-footer-top:hover {
    background: var(--green-dark);
    border-color: var(--white);
}




/* Footer D3 */
.d3-footer {
    background: var(--green-dark);
    color: rgba(255, 255, 255, 0.78);
    padding: 0 0 32px;
}

.d3-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.3fr;
    gap: 40px;
    width: 100%;
    max-width: 100%;
    padding-top: 64px;
    padding-left: clamp(24px, 6vw, 80px);
    padding-right: clamp(24px, 6vw, 80px);
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .d3-footer-grid {
        grid-template-columns: 1.2fr 1fr 1.3fr;
    }

    .footer-border-left {
        position: relative;
    }

    .footer-border-left::before {
        content: '';
        position: absolute;
        left: -20px;
        top: 0;
        bottom: 0;
        width: 1px;
        background: rgba(255, 255, 255, 0.15);
    }
}

.d3-footer-logo img {
    height: 58px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-slogan-d3 {
    font-size: 0.94rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}

.footer-brand-title-d3 {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.72);
    font-family: "Inter", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: normal;
}

.footer-socials-d3 {
    display: flex;
    gap: 10px;
}

.footer-socials-d3 a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    transition: all 0.24s ease;
}

.footer-socials-d3 a:hover {
    background: var(--white);
    color: var(--green-dark);
    border-color: var(--white);
    transform: translateY(-2px);
}

.d3-footer h2 {
    font-family: "Inter", sans-serif;
    font-size: 0.94rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: 0.08em;
}

.footer-links-col-d3 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col-d3 a {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links-col-d3 a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-info-col-d3 {
    display: flex;
    flex-direction: column;
}

.footer-map-col-d3 {
    min-width: 0;
}

.footer-map-frame-d3 {
    position: relative;
    width: min(100%, 320px);
    height: 190px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.footer-map-frame-d3 iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-map-link-d3 {
    display: inline-flex;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

.footer-map-link-d3:hover {
    color: var(--gold);
}

.map-thumbnail-btn {
    position: absolute;
    bottom: 8px;
    left: 10px;
    width: 52px;
    height: 52px;
    border: 2px solid #ffffff;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 10;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.map-thumbnail-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.map-thumbnail-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.info-addr-d3 {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    margin-bottom: 16px;
}

.info-link-d3 {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 8px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.info-link-d3:hover {
    color: var(--gold);
}

.footer-hours-col-d3 p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 16px;
    line-height: 1.5;
}

.muted-tag-d3 {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

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

.footer-address-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.5;
}

.footer-address-list svg {
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact-item-d3 {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 22px;
}

.footer-contact-item-d3 .contact-icon-d3 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(18, 208, 107, 0.12);
    border-radius: 10px;
    color: #12d06b;
    flex-shrink: 0;
}

.footer-contact-item-d3 .contact-text-d3 {
    display: flex;
    flex-direction: column;
}

.footer-contact-item-d3 .contact-text-d3 h3 {
    margin: 0 0 6px;
    font-family: "Inter", sans-serif;
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.03em;
}

.footer-contact-item-d3 .contact-text-d3 p,
.footer-contact-item-d3 .contact-text-d3 a {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.22s ease;
}

.footer-contact-item-d3 .contact-text-d3 a:hover {
    color: var(--gold);
}


.d3-footer-bottom {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding-left: clamp(24px, 6vw, 80px);
    padding-right: clamp(24px, 6vw, 80px);
    margin-left: auto;
    margin-right: auto;
}

.d3-footer-bottom span {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Scroll Animation classes */
/* --- DOCTOR PROFILE SECTION --- */
.doctor-profile-d3 {
    background-color: var(--sage);
}

.doctor-profile-container-d3 {
    background: var(--white);
    border-radius: 12px;
    padding: 48px;
    box-shadow: var(--shadow);
    width: 100%;
    margin: 0 auto;
}

.dp-content-d3 h2 {
    margin-bottom: 16px;
    text-align: center;
}

.dp-intro {
    text-align: center;
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto 32px;
}

.dp-tab-headers {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--line);
    margin-bottom: 24px;
}

.dp-tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
}

.dp-tab-btn.active,
.dp-tab-btn:hover {
    color: var(--maroon);
    border-bottom-color: var(--maroon);
}

.dp-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.dp-tab-content.active {
    display: block;
}

.dp-list,
.dp-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dp-list li,
.dp-timeline li {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.dp-list li:last-child,
.dp-timeline li:last-child {
    border-bottom: none;
}

.dp-list li strong,
.dp-timeline li strong {
    color: var(--green-dark);
}

/* --- INFRASTRUCTURE SECTION --- */
.infrastructure-d3 {
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    /* padding: 0; */
    overflow: hidden;
}

.infrastructure-container-d3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.infrastructure-content-d3 {
    padding: 96px 8%;
}

.infrastructure-content-d3 h2 {
    color: var(--white);
    margin-bottom: 32px;
}

.infrastructure-wheel-d3 {
    width: min(100%, 560px);
    aspect-ratio: 1;
    margin: 0 auto;
}

.infrastructure-wheel-d3 svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.infra-wheel-segment-d3 {
    transition: filter 0.3s ease, transform 0.3s ease;
    transform-origin: center;
}

.infra-wheel-segment-d3:hover {
    filter: brightness(1.12);
}

.infra-wheel-green-d3 {
    fill: #557645;
}

.infra-wheel-maroon-d3 {
    fill: var(--maroon);
}

.infra-wheel-text-d3 {
    fill: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    pointer-events: none;
}

.infra-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.infra-bullet-list li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
}

.checkmark-d3 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--gold);
    color: var(--green-dark);
    border-radius: 50%;
    margin-right: 16px;
    font-weight: bold;
    font-size: 0.9rem;
}

.infrastructure-gallery-d3 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 12px;
}

@media (min-width: 885px) {
    .infrastructure-gallery-d3 {
        flex-direction: row;
    }
}

.infrastructure-gallery-img-d3 {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 4px solid var(--white);
}

.infrastructure-gallery-img-d3 img {
    display: block;
    width: 100%;
    height: clamp(200px, 20vw, 300px);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.infrastructure-gallery-img-d3:hover img {
    transform: scale(1.05);
}


/* --- SERVICES CIRCULAR GRID --- */
.services-grid-section-d3 {
    background: var(--sage);
    text-align: center;
}

.services-circular-grid-d3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 64px;
    padding: 0 4%;
}

.service-circle-card-d3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.circle-image-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border: 6px solid var(--white);
    background-color: var(--green-light);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-circle-card-d3:hover .circle-image-wrapper {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}

.circle-image-abstract {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Abstract backgrounds for services */
.eye-transplant-bg {
    background-image: url('../images/corneal-surgery.webp');
}

.eye-surface-bg {
    background-image: url('../images/amniotic-membrane-transplantation.webp');
}

.eye-cataract-bg {
    background-image: url('../images/complicated.webp');
}

.eye-refractive-bg {
    background-image: url('../images/lasik-ICL.webp');
}

.eye-keratoconus-bg {
    background-image: url('../images/keratoconus-crosslinking.webp');
}

.eye-dryeye-bg {
    background-image: url('../images/severe-dryness.webp');
}

.service-circle-card-d3 h5 {
    font-size: 1.3rem;
    color: var(--green-dark);
    margin-bottom: 8px;
}

.service-desc-pill {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--maroon);
    background: rgba(140, 28, 39, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

/* --- RESEARCH, PUBLICATIONS, ACHIEVEMENTS --- */
.research-achievements-d3 {
    background: var(--white);
}

.research-grid-d3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
}

.column-heading-d3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--green-dark);
    font-weight: 700;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--maroon);
    padding-bottom: 12px;
    display: inline-block;
}

.sub-block-d3 {
    margin-bottom: 32px;
}

.sub-block-d3 h5 {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--maroon);
    margin-bottom: 16px;
}

.bullet-list-d3 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bullet-list-d3 li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: var(--muted);
}

.bullet-list-d3 li::before {
    content: "•";
    color: var(--maroon);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -4px;
}

.bullet-list-d3 li strong {
    color: var(--ink);
}

.pub-citation-d3 {
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 24px;
}

.journal-image-wrapper-d3 {
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    padding: 8px;
    background: var(--white);
    display: inline-block;
}

.achievement-item-d3 {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.achievement-icon-wrapper-d3 {
    flex-shrink: 0;
    margin-right: 16px;
}

.text-gold {
    color: var(--gold-dark);
}

.text-green {
    color: var(--green-dark);
}

.achievement-item-d3 h5 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: var(--ink);
    margin-bottom: 4px;
}

.achievement-item-d3 p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
}

/* --- PATIENT STORIES --- */
.patient-stories-d3 {
    background: var(--sage);
    text-align: center;
}

.patient-stories-grid-d3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.story-card-d3 {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: left;
}

.video-thumbnail-wrapper-d3 {
    position: relative;
    height: 180px;
}

.video-thumbnail-abstract {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.p1-bg {
    background-image: url('../images/about-2.webp');
}

.p2-bg {
    background-image: url('../images/about-3.webp');
}

.p3-bg {
    background-image: url('../images/about.webp');
}

.play-btn-d3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.play-btn-d3:hover {
    background: var(--maroon);
    border-color: var(--maroon);
    transform: translate(-50%, -50%) scale(1.1);
}

.story-content-d3 {
    padding: 24px;
}

.story-content-d3 p {
    font-size: 0.95rem;
    color: var(--ink);
    font-style: italic;
    margin-bottom: 16px;
}

.story-content-d3 cite {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
    font-style: normal;
}

/* Homepage patient quote cards */
.patient-quotes-section-d3 {
    position: relative;
    overflow: hidden;
    /* padding-top: 82px; */
    padding-bottom: 88px;
    background: #ffffff;
    isolation: isolate;
}

.patient-quotes-section-d3::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -72px;
    bottom: 42px;
    width: 430px;
    height: 330px;
    opacity: 0.55;
    background-image: radial-gradient(circle, rgba(133, 137, 146, 0.2) 0 3px, transparent 3.5px);
    background-size: 18px 18px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 72%);
    mask-image: radial-gradient(ellipse at center, #000 10%, transparent 72%);
}

.patient-quotes-section-d3::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -70px;
    right: -80px;
    width: 500px;
    height: 390px;
    opacity: 0.42;
    background:
        linear-gradient(28deg, transparent 49.7%, #e5e7ea 50%, transparent 50.3%),
        linear-gradient(62deg, transparent 49.7%, #e5e7ea 50%, transparent 50.3%),
        linear-gradient(104deg, transparent 49.7%, #e5e7ea 50%, transparent 50.3%),
        linear-gradient(136deg, transparent 49.7%, #e5e7ea 50%, transparent 50.3%);
}

.patient-quotes-section-d3 .section-divider {
    margin-bottom: 46px;
}

.patient-quotes-grid-d3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px;
    max-width: 1460px;
    margin: 0 auto;
}

.patient-quote-card-d3 {
    position: relative;
    min-width: 0;
    text-align: center;
    transition: transform 0.35s ease;
}

.patient-quote-panel-d3 {
    position: relative;
    height: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 66px 48px 38px;
    overflow: hidden;
    background: #f4f5f7;
    border-radius: 5px 5px 50% 50% / 5px 5px 52px 52px;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.patient-quote-panel-d3::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-bottom: 8px solid var(--green-mid);
    border-radius: 5px 5px 50% 50% / 5px 5px 52px 52px;
    pointer-events: none;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.patient-quote-card-d3:hover .patient-quote-panel-d3,
.patient-quote-card-d3:focus-within .patient-quote-panel-d3 {
    background: #ffffff;
    box-shadow: 0 9px 28px rgba(35, 42, 48, 0.08);
}

.patient-quote-card-d3:hover .patient-quote-panel-d3::after,
.patient-quote-card-d3:focus-within .patient-quote-panel-d3::after {
    transform: scaleX(1);
}

.patient-quote-card-d3:hover,
.patient-quote-card-d3:focus-within {
    transform: translateY(-7px);
}

.patient-quote-mark-d3 {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.patient-quote-mark-d3 svg {
    width: 44px;
    height: 44px;
    display: block;
    transition: transform 0.3s ease;
}

.patient-quote-card-d3:hover .patient-quote-mark-d3 svg,
.patient-quote-card-d3:focus-within .patient-quote-mark-d3 svg {
    transform: scale(1.15);
}

.patient-quote-panel-d3 p {
    position: relative;
    z-index: 1;
    max-width: 350px;
    margin: 14px auto 0;
    color: #858992;
    font-size: clamp(0.92rem, 1.15vw, 1.08rem);
    font-style: normal;
    font-weight: 600;
    line-height: 1.95;
}

.review-rating-row-d3 {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 5;
    padding-bottom: 5px;
}

.review-rating-row-d3 .stars-d3 {
    display: flex;
    gap: 4px;
}

.review-rating-row-d3 .stars-d3 svg {
    width: 22px;
    height: 22px;
    display: block;
}


.patient-avatar-d3 {
    position: relative;
    z-index: 2;
    width: 96px;
    height: 96px;
    display: block;
    margin: -58px auto 0;
    overflow: hidden;
    border: 11px solid #ffffff;
    border-radius: 50%;
    background: #ffffff;
}

.patient-avatar-d3 img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.patient-quote-author-d3 {
    padding-top: 13px;
}

.patient-quote-author-d3 h3 {
    margin: 0 0 5px;
    color: var(--green-mid);
    font-family: "Inter", sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
}

.patient-quote-author-d3 span {
    color: #858992;
    font-size: 0.92rem;
    font-weight: 600;
}

.written-testimonials-slider-wrapper-d3 {
    position: relative;
    width: 100%;
    max-width: 1460px;
    margin: 0 auto;
}

.written-testimonials-slider-track-d3 {
    display: flex;
    grid-template-columns: none;
    max-width: none;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.written-testimonials-slider-track-d3::-webkit-scrollbar {
    display: none;
}

.written-testimonials-slider-track-d3 .patient-quote-card-d3 {
    flex: 0 0 calc((100% - 56px) / 3);
    scroll-snap-align: start;
}

.written-testimonials-arrow-d3 {
    position: absolute;
    top: 42%;
    z-index: 10;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-50%);
}

.written-testimonials-prev-d3 {
    left: -22px;
}

.written-testimonials-next-d3 {
    right: -22px;
}

@media (max-width: 991px) {
    .patient-quotes-grid-d3 {
        grid-template-columns: 1fr;
        max-width: 520px;
        gap: 52px;
    }

    .patient-quote-panel-d3 {
        height: 410px;
    }

    .written-testimonials-slider-wrapper-d3 {
        max-width: 520px;
    }

    .written-testimonials-slider-track-d3 {
        max-width: none;
        gap: 20px;
    }

    .written-testimonials-slider-track-d3 .patient-quote-card-d3 {
        flex-basis: 100%;
    }
}

@media (max-width: 575px) {
    .patient-quotes-section-d3 {
        padding-top: 64px;
        padding-bottom: 70px;
    }

    .patient-quote-panel-d3 {
        height: 365px;
        padding: 50px 28px 82px;
    }

    .patient-quote-panel-d3 p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .written-testimonials-slider-wrapper-d3 {
        width: calc(100% - 30px);
    }

    .written-testimonials-prev-d3 {
        left: -18px;
    }

    .written-testimonials-next-d3 {
        right: -18px;
    }
}

.sticky-note-card-d3 {
    background: #f4f0fa;
    padding: 32px 24px;
    border-radius: 4px;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.08);
    transform: rotate(2deg);
    position: relative;
}

.sticky-note-card-d3::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
}

.cursive-text {
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    color: #2b3990;
    line-height: 1.5;
    margin-bottom: 16px;
}

.cursive-signature {
    font-family: 'Caveat', cursive;
    font-size: 1.3rem;
    color: #2b3990;
    text-align: right;
}

/* --- BEFORE & AFTER --- */
.before-after-d3 {
    background: var(--white);
    text-align: center;
}

.before-after-grid-d3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.ba-card-d3 {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.ba-images-container-d3 {
    position: relative;
    height: 250px;
    /* Better aspect ratio for portrait images */
    width: 100%;
    /* Default position if variable is missing */
    --position: 50%;
}

.ba-image-half-d3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.ba-image-half-d3.left-side {
    z-index: 2;
    clip-path: polygon(0 0, var(--position) 0, var(--position) 100%, 0 100%);
}

.ba-image-half-d3.right-side {
    z-index: 1;
}

.ba-label-tag-d3 {
    position: absolute;
    bottom: 16px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 16px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    z-index: 10;
    letter-spacing: 0.05em;
    pointer-events: none;
    /* so they don't block the slider */
}

.ba-label-tag-d3.before-tag {
    left: 16px;
}

.ba-label-tag-d3.after-tag {
    right: 16px;
}

/* Slider Line and Thumb */
.ba-slider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--position);
    width: 2px;
    background: #fff;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
}

.ba-slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    color: #333;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Invisible Range Input */
.ba-slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 4;
    margin: 0;
}

/* Abstract Eyes */
.cornea-before-bg {
    background-image: url('../images/cataract_before.webp');
}

.cornea-after-bg {
    background-image: url('../images/cataract_after.webp');
}

.cataract-before-bg {
    background-image: url('../images/keratoconus_before.webp');
}

.cataract-after-bg {
    background-image: url('../images/keratoconus_after.webp');
}

.lasik-before-bg {
    background-image: url('../images/dry_eye_before.webp');
}

.lasik-after-bg {
    background-image: url('../images/dry_eye_after.webp');
}

.keratoconus-before-bg {
    background-image: url('../images/keratoconus_before.webp');
    filter: contrast(1.5);
}

.keratoconus-after-bg {
    background-image: url('../images/keratoconus_after.webp');
}

.ba-info-bar-d3 {
    padding: 16px;
    background: var(--white);
    border-top: 1px solid var(--line);
}

.ba-info-bar-d3 h5 {
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: var(--green-dark);
}

/* --- FAQ & BOOKING --- */
.faq-booking-section-d3 {
    background: var(--sage);
}

.faq-booking-container-d3 {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 64px;
}

.section-title-faq-d3 {
    margin-bottom: 32px;
}

.accordion-item-d3 {
    background: var(--white);
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.accordion-trigger-d3 {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-icon-d3 {
    position: relative;
    width: 20px;
    height: 20px;
}

.accordion-icon-d3::before,
.accordion-icon-d3::after {
    content: '';
    position: absolute;
    background: var(--maroon);
    transition: all 0.3s ease;
}

.accordion-icon-d3::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}

.accordion-icon-d3::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}

.accordion-trigger-d3[aria-expanded="true"] .accordion-icon-d3::after {
    transform: rotate(90deg);
    opacity: 0;
}

.accordion-trigger-d3[aria-expanded="true"] {
    color: var(--maroon);
}

.accordion-panel-d3 {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 24px;
}

.accordion-panel-d3 p {
    padding-bottom: 24px;
    margin: 0;
    color: var(--muted);
}

.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.scroll-reveal-ready .reveal:not(.hero-d3-content),
body.scroll-reveal-ready .section-reveal-d3 {
    opacity: 0;
    transform: translateY(48px);
    transition:
        opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

body.scroll-reveal-ready .reveal.is-visible,
body.scroll-reveal-ready .section-reveal-d3.is-visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

body.scroll-reveal-ready .infrastructure-d3 .infrastructure-content-d3.reveal {
    opacity: 0;
    transform: translateX(-90px);
}

body.scroll-reveal-ready .infrastructure-d3 .infrastructure-visual-d3.reveal {
    opacity: 0;
    transform: translateX(90px);
}

body.scroll-reveal-ready .infrastructure-d3 .infrastructure-content-d3.reveal.is-visible,
body.scroll-reveal-ready .infrastructure-d3 .infrastructure-visual-d3.reveal.is-visible {
    opacity: 1;
    transform: translateX(0);
}

body.scroll-reveal-ready .infrastructure-d3 .infrastructure-visual-d3.reveal.is-visible {
    transition-delay: 0.12s;
}

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

    body.scroll-reveal-ready .reveal:not(.hero-d3-content),
    body.scroll-reveal-ready .section-reveal-d3 {
        opacity: 1;
        transform: none;
        transition: none;
    }

    body.scroll-reveal-ready .infrastructure-d3 .infrastructure-content-d3.reveal,
    body.scroll-reveal-ready .infrastructure-d3 .infrastructure-visual-d3.reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* About page reference layout */
.about-page-d4 {
    background: #f7faf1;
}

.about-page-hero-d4 {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-top: 70px;
    background:
        linear-gradient(118deg, transparent 0 20%, rgba(255, 255, 255, 0.5) 27%, rgba(140, 28, 39, 0.045) 33%, rgba(238, 242, 230, 0.52) 39%, transparent 48%),
        linear-gradient(152deg, transparent 0 38%, rgba(255, 255, 255, 0.46) 44%, rgba(220, 168, 66, 0.07) 48%, rgba(129, 157, 107, 0.09) 52%, transparent 58%),
        radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.92) 0 8%, rgba(255, 255, 255, 0) 30%),
        radial-gradient(circle at 12% 86%, rgba(129, 157, 107, 0.2) 0 7%, rgba(129, 157, 107, 0) 28%),
        linear-gradient(120deg, #f9e8e6 0%, #f5dedc 46%, #edf2e6 100%);
}

.about-page-hero-d4::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: clamp(240px, 25vw, 480px);
    top: 4%;
    width: clamp(120px, 12vw, 220px);
    height: clamp(250px, 24vw, 430px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 52% 48% 46% 54% / 26% 30% 70% 74%;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.06) 42%, rgba(140, 28, 39, 0.08) 67%, rgba(238, 242, 230, 0.52)),
        rgba(255, 255, 255, 0.14);
    box-shadow:
        inset 18px 0 34px rgba(255, 255, 255, 0.48),
        inset -12px -18px 28px rgba(140, 28, 39, 0.06),
        0 22px 50px rgba(53, 70, 33, 0.06);
    transform: rotate(31deg);
    opacity: 0.8;
}

.about-page-hero-d4::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: clamp(300px, 31vw, 590px);
    bottom: -18%;
    width: clamp(180px, 18vw, 340px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.88), transparent 20%),
        radial-gradient(circle at 68% 66%, rgba(129, 157, 107, 0.17), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(140, 28, 39, 0.07));
    box-shadow:
        inset 14px 16px 34px rgba(255, 255, 255, 0.5),
        inset -18px -16px 32px rgba(53, 84, 30, 0.06),
        0 24px 46px rgba(53, 70, 33, 0.06);
    opacity: 0.72;
}

.about-page-shell-d4,
.about-stats-shell-d4,
.about-intro-shell-d4,
.about-booking-shell-d4,
.about-bottom-shell-d4 {
    width: 100%;
    max-width: 1124px;
    margin: 0 auto;
}

.about-page-shell-d4 {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    min-height: 432px;
    align-items: center;
    gap: 40px;
}

.about-hero-copy-d4 {
    padding-left: 80px;
    padding-top: 16px;
}

.about-hero-copy-d4 h1 {
    font-family: "Inter", sans-serif;
    font-size: 58px;
    line-height: 1.12;
    letter-spacing: 0;
    color: var(--green-dark);
    font-weight: 800;
    margin-bottom: 22px;
}

.about-hero-copy-d4 p {
    color: #243414;
    font-size: 21px;
    line-height: 1.36;
    font-weight: 500;
    margin: 0 0 28px;
}

.about-pill-btn-d4 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 10px 27px;
    border-radius: 999px;
    background: #8c1c27;
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.08);
}

.about-hero-collage-d4 {
    position: relative;
    width: 500px;
    height: 372px;
    margin-left: auto;
    margin-right: 22px;
}

.about-hero-collage-d4::before,
.about-hero-collage-d4::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.about-hero-collage-d4::before {
    left: -13%;
    top: -10%;
    width: 34%;
    height: 22%;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(140, 28, 39, 0.05) 54%, rgba(238, 242, 230, 0.5));
    box-shadow:
        inset 12px 8px 22px rgba(255, 255, 255, 0.56),
        0 15px 30px rgba(53, 70, 33, 0.05);
    transform: rotate(34deg);
}

.about-hero-collage-d4::after {
    left: -18%;
    bottom: 1%;
    width: 30%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.88), transparent 21%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(129, 157, 107, 0.13));
    box-shadow: inset -10px -12px 24px rgba(140, 28, 39, 0.05);
    opacity: 0.76;
}

.about-main-photo-d4,
.about-bubble-photo-d4 {
    position: absolute;
    overflow: hidden;
    border-radius: 50%;
    background: #e9eee0;
    border: 2px solid rgba(53, 70, 33, 0.58);
    box-shadow:
        0 0 0 7px rgba(255, 255, 255, 0.58),
        0 13px 30px rgba(35, 53, 20, 0.17);
    will-change: transform;
}

.about-main-photo-d4 {
    left: 0;
    top: 30px;
    width: 338px;
    height: 338px;
    box-shadow:
        0 0 0 8px rgba(255, 255, 255, 0.58),
        0 18px 38px rgba(35, 53, 20, 0.18);
    animation: aboutHeroMainFloatD4 6.5s ease-in-out infinite;
}

.about-main-photo-d4 img,
.about-bubble-photo-d4 img,
.about-intro-image-d4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-main-photo-d4 img,
.about-bubble-photo-d4 img {
    animation: aboutHeroPhotoRevealD4 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    transition: transform 0.45s ease;
}

.about-main-photo-d4 img {
    animation-delay: 0.12s;
}

.about-bubble-one-d4 img {
    animation-delay: 0.32s;
}

.about-bubble-two-d4 img {
    animation-delay: 0.5s;
}

.about-bubble-three-d4 img {
    animation-delay: 0.68s;
}

.about-main-photo-d4:hover img,
.about-bubble-photo-d4:hover img {
    transform: scale(1.06);
}

.about-main-photo-d4 img {
    object-position: 44% center;
}

.about-bubble-photo-d4 {
    border-color: rgba(53, 70, 33, 0.52);
}

.about-bubble-one-d4 {
    right: 40px;
    top: 44px;
    width: 145px;
    height: 145px;
    animation: aboutHeroBubbleOneD4 5.4s ease-in-out 0.2s infinite;
}

.about-bubble-two-d4 {
    right: 98px;
    bottom: 46px;
    width: 118px;
    height: 118px;
    animation: aboutHeroBubbleTwoD4 4.8s ease-in-out 0.55s infinite;
}

.about-bubble-three-d4 {
    right: 0;
    bottom: 42px;
    width: 146px;
    height: 146px;
    animation: aboutHeroBubbleThreeD4 5.8s ease-in-out 0.35s infinite;
}

@keyframes aboutHeroPhotoRevealD4 {
    from {
        opacity: 0;
        transform: scale(1.14);
        filter: blur(7px);
    }

    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes aboutHeroMainFloatD4 {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -10px, 0);
    }
}

@keyframes aboutHeroBubbleOneD4 {

    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0);
    }

    50% {
        transform: translate3d(7px, -12px, 0) rotate(2deg);
    }
}

@keyframes aboutHeroBubbleTwoD4 {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(-8px, 9px, 0);
    }
}

@keyframes aboutHeroBubbleThreeD4 {

    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0);
    }

    50% {
        transform: translate3d(9px, 8px, 0) rotate(-2deg);
    }
}

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

    .about-main-photo-d4,
    .about-bubble-photo-d4,
    .about-main-photo-d4 img,
    .about-bubble-photo-d4 img {
        animation: none !important;
        transform: none;
        filter: none;
        opacity: 1;
    }
}

.about-stats-d4 {
    background: #eef4e8;
}

.about-stats-shell-d4 {
    min-height: 114px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 38px;
    padding: 0 76px;
}

.about-stat-d4 {
    display: grid;
    grid-template-columns: 48px auto 1fr;
    align-items: center;
    column-gap: 10px;
}

.about-stat-icon-d4,
.about-bottom-icon-d4 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #dbe8cf;
    color: #415b29;
}

.about-stat-d4 strong {
    color: #2e451a;
    font-size: 26px;
    line-height: 1;
    font-weight: 800;
}

.about-stat-d4 span:last-child {
    color: #2a3b1a;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 700;
}

.about-intro-d4 {
    background: #ffffff;
}

.about-intro-shell-d4 {
    min-height: 310px;
    display: grid;
    grid-template-columns: 1fr 470px;
    align-items: center;
    gap: 82px;
    padding: 30px 40px 30px 80px;
}

.about-intro-copy-d4 h2,
.about-consult-form-d4 h2,
.about-hours-d4 h2,
.about-why-d4 h2 {
    font-family: "Inter", sans-serif;
    color: #263919;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 22px;
}

.about-intro-copy-d4 p {
    max-width: 490px;
    color: #172311;
    font-size: 15px;
    line-height: 1.48;
    font-weight: 600;
    margin: 0 0 28px;
}

.about-intro-image-d4 {
    height: 192px;
    overflow: hidden;
    border-radius: 10px;
    background: #e9eee0;
}

.about-intro-image-d4 img {
    object-position: center 32%;
}

.about-booking-d4 {
    background: #3f6427;
}

.about-booking-shell-d4 {
    min-height: 287px;
    display: grid;
    grid-template-columns: 1.45fr 0.85fr 0.75fr;
    color: #ffffff;
}

.about-consult-form-d4 {
    padding: 34px 36px 34px 80px;
    background: #3d6127;
}

.about-consult-form-d4 h2,
.about-hours-d4 h2,
.about-why-d4 h2 {
    color: #ffffff;
    margin-bottom: 18px;
}

.about-form-grid-d4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 10px;
}

.about-form-grid-d4 input,
.about-form-grid-d4 select {
    width: 100%;
    height: 38px;
    border: 0;
    border-radius: 5px;
    background: #ffffff;
    color: #42503a;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 0 13px;
    outline: none;
}

.about-form-grid-d4 input::placeholder {
    color: #a5aca0;
}

.about-form-grid-d4 button {
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #31501d;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.about-hours-d4 {
    padding: 34px 46px 30px 38px;
    background: #365820;
}

.about-hours-d4 p {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    line-height: 1.1;
    font-weight: 600;
}

.about-hours-d4 p strong {
    font-weight: 700;
}

.about-outline-btn-d4 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 172px;
    height: 32px;
    margin-top: 6px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
}

.about-why-d4 {
    padding: 34px 40px 30px 28px;
    background: #31551c;
}

.about-why-d4 ul {
    display: grid;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-why-d4 li {
    position: relative;
    padding-left: 27px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 700;
}

.about-why-d4 li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.about-why-d4 li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 5px;
    width: 4px;
    height: 7px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
}

.about-bottom-strip-d4 {
    background: #fbfcf6;
}

.about-bottom-shell-d4 {
    min-height: 78px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 46px;
    padding: 0 94px;
}

.about-bottom-item-d4 {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #293d19;
}

.about-bottom-item-d4 strong {
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
}

.about-bottom-strong-d4 strong {
    font-size: 30px;
}

.about-bottom-item-d4 span:last-child {
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
}

/* About page font tuning */
.about-hero-copy-d4 p {
    font-size: 24px;
    line-height: 1.4;
}

.about-pill-btn-d4 {
    min-height: 42px;
    padding: 12px 30px;
    font-size: 14px;
}

.about-stat-d4 strong {
    font-size: 31px;
}

.about-stat-d4 span:last-child {
    font-size: 16px;
    line-height: 1.18;
}

.about-intro-copy-d4 h2,
.about-consult-form-d4 h2,
.about-hours-d4 h2,
.about-why-d4 h2 {
    font-size: 19px;
}

.about-intro-copy-d4 p {
    font-size: 18px;
    line-height: 1.6;
}

.about-form-grid-d4 input,
.about-form-grid-d4 select,
.about-form-grid-d4 button {
    height: 44px;
    font-size: 14px;
}

.about-hours-d4 p,
.about-why-d4 li {
    font-size: 15px;
    line-height: 1.25;
}

.about-outline-btn-d4 {
    height: 38px;
    min-width: 190px;
    font-size: 13px;
}

.about-bottom-item-d4 strong {
    font-size: 20px;
}

.about-bottom-strong-d4 strong {
    font-size: 36px;
}

.about-bottom-item-d4 span:last-child {
    font-size: 15px;
    line-height: 1.25;
}

.about-page-d4 .footer-links-col-d3 a,
.about-page-d4 .footer-hours-col-d3 p,
.about-page-d4 .footer-info-col-d3 li,
.about-page-d4 .footer-bottom {
    font-size: 15px;
}

.about-page-d4 .about-us-more-content-d3 {
    max-height: none;
    overflow: visible;
    opacity: 1;
    margin-bottom: 0;
}

.about-faq-section-d4 {
    padding-top: 82px;
    padding-bottom: 88px;
}

.about-faq-shell-d4 {
    max-width: 980px;
    margin: 0 auto;
}

.about-faq-section-d4 .section-title-faq-d3 {
    margin-bottom: 24px;
}

.about-page-d4 .about-page-shell-d4 {
    max-width: none;
    width: 100%;
    min-height: 460px;
    grid-template-columns: minmax(380px, 0.8fr) minmax(680px, 1.2fr);
    gap: clamp(42px, 5vw, 96px);
    padding: 24px clamp(42px, 7vw, 150px) 30px;
}

.about-page-d4 .about-hero-copy-d4 {
    position: relative;
    z-index: 1;
    padding-left: 0;
    padding-top: 0;
}

.about-page-d4 .about-hero-copy-d4::before {
    display: none;
}

.about-page-d4 .about-hero-copy-d4::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: -130px;
    top: 52%;
    width: 440px;
    height: 120px;
    border-radius: 50%;
    background:
        linear-gradient(105deg, transparent 8%, rgba(255, 255, 255, 0.5) 30%, rgba(140, 28, 39, 0.055) 46%, rgba(129, 157, 107, 0.12) 57%, transparent 78%);
    filter: blur(2px);
    opacity: 0.85;
    transform: rotate(-14deg);
}

.about-page-d4 .about-hero-copy-d4 h1 {
    font-size: clamp(62px, 4.7vw, 86px);
    color: #8c1c27;
}

.about-page-d4 .vision-wrapper h2 {
    color: #8c1c27;
}

.about-page-d4 .about-hero-collage-d4 {
    width: clamp(540px, 40vw, 700px);
    height: clamp(390px, 28vw, 500px);
    margin-left: auto;
    margin-right: -150px;
}

.about-page-d4 .about-main-photo-d4 {
    width: clamp(360px, 25vw, 470px);
    height: clamp(360px, 25vw, 470px);
    top: clamp(16px, 2vw, 34px);
}

.about-page-d4 .about-bubble-one-d4 {
    width: clamp(145px, 9.5vw, 195px);
    height: clamp(145px, 9.5vw, 195px);
    left: clamp(280px, 20vw, 370px);
    right: auto;
    top: clamp(28px, 3vw, 58px);
}

.about-page-d4 .about-bubble-two-d4 {
    width: clamp(118px, 8vw, 160px);
    height: clamp(118px, 8vw, 160px);
    left: clamp(230px, 17vw, 320px);
    right: auto;
    bottom: clamp(34px, 4vw, 74px);
}

.about-page-d4 .about-bubble-three-d4 {
    width: clamp(150px, 10vw, 205px);
    height: clamp(150px, 10vw, 205px);
    left: clamp(320px, 23vw, 430px);
    right: auto;
    bottom: clamp(28px, 4vw, 70px);
}

.about-page-d4 .about-booking-shell-d4 {
    max-width: none;
    width: 100%;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
}

.about-page-d4 .about-consult-form-d4 {
    padding-left: clamp(42px, 7vw, 150px);
    padding-right: clamp(36px, 5vw, 90px);
}

.about-page-d4 .about-hours-d4 {
    padding-left: clamp(36px, 4vw, 80px);
    padding-right: clamp(42px, 7vw, 150px);
}

.treatment-nav-item-d3 {
    position: static;
}

.treatment-nav-item-d3::after {
    display: none;
}

.mega-menu-trigger-d3 {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mega-menu-caret-d3 {
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.24s ease;
}

.mega-menu-trigger-d3:hover .mega-menu-caret-d3,
.treatment-nav-item-d3.is-hover-open .mega-menu-caret-d3,
.treatment-nav-item-d3:focus-within .mega-menu-caret-d3 {
    transform: rotate(225deg) translateY(-1px);
}

.treatment-mega-d3 {
    position: absolute;
    left: clamp(18px, 3vw, 52px);
    right: clamp(18px, 3vw, 52px);
    top: 100%;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(12px, 1.4vw, 24px);
    padding: 24px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 150px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    background:
        radial-gradient(circle at 8% 10%, rgba(255, 255, 255, 0.16), transparent 24%),
        radial-gradient(circle at 92% 90%, rgba(53, 70, 33, 0.28), transparent 28%),
        linear-gradient(135deg, #74141e 0%, #8c1c27 52%, #681019 100%);
    box-shadow: 0 26px 60px rgba(71, 16, 23, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(0.985);
    transform-origin: top center;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}

.treatment-mega-d3::-webkit-scrollbar {
    width: 8px;
}

.treatment-mega-d3::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 99px;
}

.treatment-mega-d3::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.45);
    border-radius: 99px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.treatment-mega-d3::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
}

@media (max-height: 760px) {
    .treatment-mega-d3 {
        padding: 16px;
        gap: 12px;
    }

    .treatment-mega-col-d3 {
        padding: 12px 10px;
    }

    .treatment-mega-col-d3 h3 {
        margin-bottom: 8px;
        padding-bottom: 8px;
        font-size: 15px;
    }

    .site-nav .treatment-mega-col-d3 a {
        padding: 4px 6px 4px 16px;
        font-size: 13.5px;
    }

    .site-nav .treatment-mega-col-d3 a::before {
        left: 6px;
    }
}

.treatment-mega-d3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 7%;
    width: 86%;
    height: 3px;
    border-radius: 0 0 99px 99px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
}

.mega-menu-trigger-d3:hover+.treatment-mega-d3,
.mega-menu-trigger-d3:focus+.treatment-mega-d3,
.treatment-nav-item-d3.is-hover-open .treatment-mega-d3,
.treatment-mega-d3:hover,
.treatment-mega-d3:focus-within,
.treatment-nav-item-d3:focus-within .treatment-mega-d3 {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.treatment-nav-item-d3.is-clicked .treatment-mega-d3 {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(12px) scale(0.985) !important;
}

.treatment-mega-col-d3 {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    padding: 20px 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.075);
    backdrop-filter: blur(7px);
    transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.treatment-mega-col-d3:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.13);
}

.treatment-mega-col-d3 h3 {
    position: relative;
    margin: 0 0 12px;
    padding: 0 0 13px;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: clamp(17px, 1.1vw, 20px);
    line-height: 1.3;
    font-weight: 800;
    text-transform: uppercase;
}

.treatment-number-d10.cornea-number-d10 {
    color: var(--green-dark);
    border-color: rgba(53, 70, 33, 0.28);
}

.treatment-detail-content-d10>h2.keratoconus-title-d10 {
    color: var(--maroon);
    font-size: clamp(2rem, 3vw, 3.25rem);
}

.treatment-mega-col-d3 h3::before {
    display: none;
}

.treatment-mega-col-d3 h3 a {
    display: block;
    color: inherit;
}

.treatment-mega-col-d3 h3 a::after {
    display: none;
}

.treatment-mega-col-d3 h3::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent);
}

.site-nav .treatment-mega-col-d3 a {
    position: relative;
    display: block;
    padding: 8px 8px 8px 21px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(15px, 0.98vw, 17.5px);
    line-height: 1.35;
    font-weight: 500;
    transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.site-nav .treatment-mega-col-d3 a::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    width: 5px;
    height: 5px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: background 0.22s ease, transform 0.22s ease;
}

.site-nav .treatment-mega-col-d3 a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(3px);
}

.site-nav .treatment-mega-col-d3 a:hover::before {
    background: #ffffff;
    transform: translateY(-50%) scale(1.15);
}

.site-nav .treatment-mega-col-d3 a::after {
    display: none;
}

.site-nav .treatment-mega-col-d3 h3>a {
    padding: 0;
    color: #ffffff;
    background: transparent;
    font-size: inherit;
    font-weight: 800;
    line-height: inherit;
    text-transform: uppercase;
}

.site-nav .treatment-mega-col-d3 h3>a::before {
    display: none;
    content: none;
}

.site-nav .treatment-mega-col-d3 h3>a:hover {
    color: #ffffff;
    background: transparent;
    transform: none;
}

/* Standalone testimonial and contact pages */
.inner-hero-d5 {
    padding: 170px clamp(24px, 6vw, 88px) 76px;
    background:
        linear-gradient(135deg, rgba(238, 242, 238, 0.95), rgba(255, 255, 255, 0.96)),
        radial-gradient(circle at 82% 18%, rgba(140, 28, 39, 0.12), transparent 34%);
}

.inner-hero-shell-d5 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    align-items: end;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
}

.inner-hero-d5 h1 {
    max-width: 760px;
    font-family: "Inter", sans-serif;
    font-size: clamp(44px, 5vw, 78px);
    line-height: 1.05;
    font-weight: 850;
    color: var(--green-dark);
    margin-bottom: 22px;
}

.inner-hero-d5 p {
    max-width: 660px;
    margin: 0;
    color: #314022;
    font-size: clamp(18px, 1.4vw, 22px);
    line-height: 1.55;
    font-weight: 500;
}

.testimonials-hero-d5 {
    /* min-height: 560px; */
    display: flex;
    align-items: end;
    background: url('../images/testimonial-hero.webp') center / cover no-repeat;
}

.testimonials-hero-d5 .inner-hero-shell-d5 {
    grid-template-columns: 1fr;
}

.testimonials-hero-d5 h1 {
    color: #8c1c27;
}

.contact-hero-d5 {
    /* min-height: 560px; */
    display: flex;
    align-items: end;
    background: url('../images/contact-hero-section.webp') center / cover no-repeat;
}

.contact-hero-d5 h1 {
    color: #8c1c27;
}

.hero-score-card-d5,
.contact-hero-call-d5 {
    display: grid;
    gap: 8px;
    min-width: 250px;
    padding: 28px;
    border-radius: 8px;
    background: var(--green-dark);
    color: #ffffff;
    box-shadow: 0 22px 54px rgba(35, 53, 20, 0.16);
}

.hero-score-card-d5 strong {
    font-size: 46px;
    line-height: 1;
}

.hero-score-card-d5 span,
.contact-hero-call-d5 span {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
}

.contact-hero-call-d5 strong {
    font-size: 24px;
    line-height: 1.1;
}

.testimonial-video-section-d5 {
    background: #ffffff;
}

.testimonial-video-grid-d5 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.education-video-feature-d7 {
    display: grid;
    grid-template-columns: minmax(320px, 440px) max-content;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 48px;
    padding: 0 20px;
}

.education-video-feature-d7 .testimonial-video-card-d5 {
    width: 100%;
    max-width: 440px;
    justify-self: start;
}

.education-video-btn-d7 {
    justify-self: end;
    white-space: nowrap;
}

.patient-shorts-grid-d8>.education-video-btn-d7 {
    grid-column: 1 / -1;
    justify-self: center;
}

.testimonial-video-card-d5,
.testimonial-quote-card-d5,
.contact-info-card-d5 {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(35, 53, 20, 0.08);
    overflow: hidden;
}

.testimonial-video-frame-d5 {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--sage);
}

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

.testimonial-video-card-d5>div:last-child {
    padding: 24px;
}

.testimonial-video-card-d5 span {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--maroon);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.testimonial-video-card-d5 p,
.testimonial-quote-card-d5 p {
    margin: 0;
    color: #233016;
    font-size: 17px;
    line-height: 1.55;
    font-weight: 600;
}

.testimonial-modern-section-d5 {
    background: var(--sage);
}

.testimonial-modern-heading-d5 {
    max-width: 720px;
    margin-bottom: 42px;
}

.testimonial-modern-heading-d5 h2,
.contact-action-heading-d5 h2 {
    font-family: "Inter", sans-serif;
    font-size: clamp(32px, 3.2vw, 52px);
    line-height: 1.08;
    font-weight: 850;
}

.testimonial-quote-grid-d5 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.testimonial-quote-card-d5 {
    position: relative;
    padding: 32px;
}

.quote-mark-d5 {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 50%;
    background: var(--rose);
    color: var(--maroon);
    font-size: 42px;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-quote-card-d5 strong {
    display: block;
    margin-top: 24px;
    color: var(--green-dark);
    font-size: 15px;
    font-weight: 850;
}

.testimonial-cta-d5 {
    padding: 44px clamp(24px, 6vw, 88px);
    background: var(--green-dark);
}

.testimonial-cta-shell-d5 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1220px;
    margin: 0 auto;
}

.testimonial-cta-shell-d5 h2 {
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: clamp(26px, 2.5vw, 42px);
    font-weight: 850;
}

.contact-info-band-d5 {
    padding: 54px clamp(24px, 6vw, 88px);
    background: #f1f3f0;
}

.contact-info-grid-d5 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1220px;
    margin: 0 auto;
}

.contact-info-card-d5 {
    min-height: 245px;
    padding: 34px 28px;
    text-align: center;
}

.contact-info-icon-d5 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin-bottom: 22px;
    border-radius: 8px;
    background: #8c1c27;
    color: #ffffff;
}

.contact-info-card-d5 h2 {
    margin-bottom: 16px;
    font-family: "Inter", sans-serif;
    font-size: 17px;
    font-weight: 850;
    text-transform: uppercase;
}

.contact-info-card-d5 a,
.contact-info-card-d5 p {
    display: block;
    margin: 0 0 8px;
    color: #26321c;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 600;
}

.contact-action-section-d5 {
    background: #ffffff;
}

.contact-action-heading-d5 {
    max-width: 1220px;
    margin: 0 auto 28px;
    text-align: center;
}

.contact-action-heading-d5 h2 {
    color: #8c1c27;
}

.contact-action-grid-d5 {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: 24px;
    max-width: 1220px;
    margin: 0 auto;
}

.contact-form-panel-d5,
.contact-hours-panel-d5,
.contact-map-panel-d5 {
    border-radius: 8px;
    background:
        radial-gradient(circle at 8% 12%, rgba(140, 28, 39, 0.3), transparent 34%),
        linear-gradient(135deg, var(--green-dark) 0%, #92a47c 58%, #661017 100%);
    color: #ffffff;
    box-shadow: 0 18px 44px rgba(35, 53, 20, 0.16);
}

.contact-map-panel-d5 {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background: var(--sage);
}

.contact-map-panel-d5 iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form-panel-d5 {
    padding: clamp(32px, 4vw, 52px);
}

.contact-form-panel-d5 h3,
.contact-hours-panel-d5 h3 {
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: clamp(28px, 3vw, 48px);
    line-height: 1.1;
    font-weight: 850;
    margin-bottom: 28px;
}

.contact-form-grid-d5 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-form-grid-d5 input {
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 6px;
    padding: 0 18px;
    font: 600 16px/1.2 "Inter", sans-serif;
    color: #25331b;
    outline: none;
}

.contact-form-panel-d5 button,
.contact-quote-btn-d5 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    background: #a33d38;
    color: #ffffff;
    font: 850 15px/1 "Inter", sans-serif;
    cursor: pointer;
}

.contact-form-panel-d5 button {
    margin: 28px auto 0;
    padding: 0 30px;
}

.contact-form-stat-d5 {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 28px;
}

.contact-form-stat-d5 strong {
    font-size: 44px;
    line-height: 1;
}

.contact-form-stat-d5 span {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.contact-hours-panel-d5 {
    padding: clamp(30px, 3vw, 42px);
}

.contact-hours-full-d5 {
    display: grid;
    grid-template-columns: minmax(180px, 0.34fr) minmax(440px, 1fr) minmax(180px, 0.3fr);
    gap: clamp(28px, 4vw, 52px);
    align-items: center;
    max-width: 1220px;
    margin: 24px auto 0;
}

.contact-hours-panel-d5 h3 {
    font-size: clamp(24px, 2vw, 32px);
}

.contact-hours-full-d5 h3 {
    margin-bottom: 0;
    padding: 0 24px 0 0;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.34);
}

.hours-list-d5 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.hours-list-d5 p {
    display: grid;
    grid-template-columns: minmax(130px, 0.42fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
}

.hours-list-d5 p span {
    display: contents;
}

.hours-list-d5 p span::after {
    content: "";
    display: block;
    height: 1px;
    background: rgba(255, 255, 255, 0.28);
}

.contact-mini-d5 {
    display: grid;
    gap: 6px;
    margin-top: 0;
    padding: 0 0 0 28px;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.34);
}

.contact-mini-d5 span {
    font-weight: 850;
}

.contact-mini-d5 a {
    color: #ffffff;
    font-weight: 750;
}

.contact-quote-btn-d5 {
    width: 100%;
    margin-top: 20px;
}

.back-to-top-d5 {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: var(--maroon) !important;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(140, 28, 39, 0.28);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.floating-call-d5 {
    position: fixed;
    right: 24px;
    bottom: 148px;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background: var(--maroon);
    color: #ffffff;
    padding: 0 14px;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(140, 28, 39, 0.3);
    transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
    overflow: hidden;
    text-decoration: none;
}

.floating-whatsapp-d5 {
    position: fixed;
    right: 24px;
    bottom: 210px;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background: #12d06b;
    color: #ffffff;
    padding: 0 13px;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(18, 208, 107, 0.3);
    transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
    overflow: hidden;
    text-decoration: none;
}

.floating-appointment-d5 {
    position: fixed;
    right: 24px;
    bottom: 86px;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background: #2e4d3b;
    color: #ffffff;
    padding: 0 14px;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(31, 41, 55, 0.4);
    transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
    overflow: hidden;
    text-decoration: none;
}

.floating-whatsapp-d5 .hover-text,
.floating-call-d5 .hover-text,
.floating-appointment-d5 .hover-text {
    opacity: 0;
    white-space: nowrap;
    font-weight: 700;
    font-size: 0.95rem;
    margin-right: 12px;
    letter-spacing: -0.01em;
    transition: opacity 0.2s ease 0.1s;
    pointer-events: none;
    color: #ffffff;
}

.floating-whatsapp-d5 svg,
.floating-call-d5 svg,
.floating-appointment-d5 svg {
    flex-shrink: 0;
    margin: 0;
}

.floating-whatsapp-d5:hover .hover-text,
.floating-call-d5:hover .hover-text,
.floating-appointment-d5:hover .hover-text {
    opacity: 1;
}

.floating-whatsapp-d5:hover,
.floating-whatsapp-d5:focus-visible {
    color: #ffffff;
    width: 190px;
    padding: 0 13px 0 20px;
    background: #0fb85d;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(18, 208, 107, 0.45);
}

.floating-call-d5:hover,
.floating-call-d5:focus-visible {
    color: #ffffff;
    width: 155px;
    padding: 0 14px 0 20px;
    background: var(--maroon-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(140, 28, 39, 0.45);
}

.floating-appointment-d5:hover,
.floating-appointment-d5:focus-visible {
    color: #ffffff;
    width: 220px;
    padding: 0 14px 0 20px;
    background: var(--green-mid);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(53, 70, 33, 0.45);
}

.back-to-top-d5.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-d5:hover {
    background: var(--maroon-dark);
    transform: translateY(-3px);
}

/* Refined Academics & Research cards */
.research-achievements-d3 {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(140, 28, 39, 0.08), transparent 25%),
        radial-gradient(circle at 92% 88%, rgba(53, 70, 33, 0.1), transparent 28%),
        #f8faf6;
}

.research-achievements-d3 .research-grid-d3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    padding-top: 48px;
    padding-bottom: 48px;
}

.research-achievements-d3 .research-col-d3 {
    position: relative;
    padding: clamp(26px, 3vw, 40px);
    border: 1px solid rgba(53, 70, 33, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 45px rgba(53, 70, 33, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.research-achievements-d3 .research-col-d3:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(53, 70, 33, 0.13);
}

.research-achievements-d3 .research-col-d3::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    border-radius: 18px 0 0 18px;
    background: linear-gradient(180deg, var(--maroon), rgba(140, 28, 39, 0.28));
}

.research-achievements-d3 .publications-col-d3::before {
    background: linear-gradient(180deg, var(--green-mid), rgba(46, 77, 59, 0.28));
}

.research-achievements-d3 .column-heading-d3 {
    display: block;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(140, 28, 39, 0.18);
    color: var(--green-dark);
    font-family: "Inter", sans-serif;
    font-size: clamp(1.08rem, 1.35vw, 1.35rem);
    font-weight: 850;
    letter-spacing: 0.035em;
}

.research-achievements-d3 .sub-block-d3 {
    margin-bottom: 28px;
}

.research-achievements-d3 .sub-block-d3:last-child {
    margin-bottom: 0;
}

.research-achievements-d3 .sub-block-d3 h5 {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(140, 28, 39, 0.07);
    color: var(--maroon);
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.research-achievements-d3 .bullet-list-d3 {
    display: grid;
    gap: 12px;
}

.research-achievements-d3 .bullet-list-d3 li {
    position: relative;
    margin: 0;
    padding: 0 0 0 18px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.62;
}

.research-achievements-d3 .bullet-list-d3 li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--maroon);
}

.research-achievements-d3 .pub-citation-d3 {
    margin: 0 0 28px;
    padding: 22px;
    border: 1px solid rgba(46, 77, 59, 0.12);
    border-radius: 12px;
    background: var(--green-light);
    color: var(--ink);
    font-size: 0.96rem;
    line-height: 1.65;
}

.research-achievements-d3 .pub-label-d3 {
    display: block;
    margin-bottom: 10px;
    color: var(--maroon);
    font-size: 0.72rem;
    line-height: 1;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.research-achievements-d3 .achievement-item-d3 {
    position: relative;
    display: block;
    margin-bottom: 14px;
    padding: 20px 20px 20px 24px;
    border: 1px solid rgba(140, 28, 39, 0.1);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(140, 28, 39, 0.055), rgba(255, 255, 255, 0.95));
}

.research-achievements-d3 .achievement-item-d3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--maroon);
}

.research-achievements-d3 .achievement-item-d3:last-child {
    margin-bottom: 0;
}

.research-achievements-d3 .achievement-item-d3 h5 {
    margin-bottom: 5px;
    color: var(--green-dark);
    font-family: "Inter", sans-serif;
    font-size: 1.02rem;
    font-weight: 850;
}

.research-achievements-d3 .achievement-item-d3 p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.vision-mission-section {
    padding: 80px 20px;
    background: #faf8f5;
}

.vision-wrapper {
    max-width: 1500px;
    margin: auto;
    background: #fff;
    border: 1px solid #e5ddd8;
    border-radius: 30px;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: end;
    position: relative;
}

/* Divider Lines */
.side-box:first-child {
    border-right: 1px solid #ddd;
}

.side-box:last-child {
    border-left: 1px solid #ddd;
}

.side-box,
.center-box {
    text-align: center;
    padding: 0 40px;
}

.eye-image-wrapper {
    margin: 0 auto 18px;
}

.eye-image-wrapper img {
    width: 220px;
    height: 220px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 15%;
    display: block;
    margin: auto;
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    border: 4px solid #f9c8c8;
}

.icon-box {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #f5f3ee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.icon-box i {
    font-size: 38px;
    color: #0d4e28;
}

h2 {
    color: #0d4e28;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
}

.green-line {
    width: 80px;
    height: 4px;
    background: #8c1c27;
    margin: 15px auto 25px;
    border-radius: 50px;
}

p {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

/* Home Page Alternating Sections styling */
.home-page-d3 #about-us,
.home-page-d3 .why-choose-d3,
.home-page-d3 .specialties-d3,
.home-page-d3 #patient-stories,
.home-page-d3 .gallery-showcase-d7 {
    background: #ffffff !important;
}

.home-page-d3 #about-clinic,
.home-page-d3 .services-grid-section-d3,
.home-page-d3 #written-testimonials,
.home-page-d3 .metrics-strip-d3,
.home-page-d3 .metrics-strip-d3.section-reveal-d3.is-visible {
    background:
        radial-gradient(circle at 8% 12%, rgba(140, 28, 39, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(140, 28, 39, 0.04) 0%, rgba(140, 28, 39, 0.09) 100%) !important;
}

.home-page-d3 #patient-stories.patient-quotes-section-d3::before,
.home-page-d3 #patient-stories.patient-quotes-section-d3::after {
    display: none;
}

.testimonial-nav-item-d3 {
    position: relative;
}

.testimonial-menu-trigger-d3 {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: #8c1c27;
    font: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease;
}


.testimonial-menu-trigger-d3:hover,
.testimonial-menu-trigger-d3:focus-visible {
    color: var(--green-dark);
}

.testimonial-menu-caret-d3 {
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.22s ease;
}

.testimonial-dropdown-d3 {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 50;
    display: grid;
    gap: 10px;
    min-width: 330px;
    padding: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background:
        radial-gradient(circle at 8% 10%, rgba(255, 255, 255, 0.16), transparent 30%),
        radial-gradient(circle at 92% 90%, rgba(53, 70, 33, 0.28), transparent 34%),
        linear-gradient(135deg, #74141e 0%, #8c1c27 54%, #681019 100%);
    box-shadow: 0 24px 54px rgba(71, 16, 23, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 10px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
}

.testimonial-dropdown-d3::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 18px;
}

.testimonial-dropdown-d3::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    border-radius: 0 0 99px 99px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
}

.site-nav .testimonial-dropdown-d3 a {
    position: relative;
    z-index: 1;
    display: block;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.075);
    color: #ffffff;
    white-space: normal;
    backdrop-filter: blur(7px);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.site-nav .testimonial-dropdown-d3 a:hover,
.site-nav .testimonial-dropdown-d3 a:focus-visible {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.14);
    transform: translateX(4px);
}

.site-nav .testimonial-dropdown-d3 strong,
.site-nav .testimonial-dropdown-d3 small {
    display: block;
}

.site-nav .testimonial-dropdown-d3 strong {
    margin-bottom: 3px;
    font-size: 1.02rem;
    line-height: 1.2;
    font-weight: 800;
}

.site-nav .testimonial-dropdown-d3 small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.82rem;
    line-height: 1.25;
    font-weight: 500;
}

.site-nav .testimonial-dropdown-d3 a::after {
    display: none;
}

.testimonial-menu-trigger-d3:hover+.testimonial-dropdown-d3,
.testimonial-menu-trigger-d3:focus+.testimonial-dropdown-d3,
.testimonial-dropdown-d3:hover,
.testimonial-dropdown-d3:focus-within,
.testimonial-nav-item-d3:focus-within .testimonial-dropdown-d3 {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
}

.testimonial-nav-item-d3.is-clicked .testimonial-dropdown-d3 {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate(-50%, 10px) scale(0.98) !important;
}

.testimonial-nav-item-d3:hover .testimonial-menu-caret-d3,
.testimonial-nav-item-d3:focus-within .testimonial-menu-caret-d3 {
    transform: rotate(225deg) translateY(-1px);
}

.patient-shorts-grid-d8 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 410px));
    justify-content: center;
    gap: clamp(24px, 3vw, 42px);
    margin-bottom: 48px;
}

@media (min-width: 1199px) {
    .patient-shorts-grid-four-d8 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: clamp(16px, 2vw, 28px);
    }
}



.patient-short-card-d8 {
    overflow: hidden;
    border: 1px solid rgba(140, 28, 39, 0.22);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(53, 70, 33, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.patient-short-card-d8:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 54px rgba(53, 70, 33, 0.18);
}

.patient-short-video-d8 {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #171717;
}

.patient-short-video-d8 iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.patient-short-caption-d8 {
    padding: 18px 20px 20px;
    text-align: center;
}

.patient-short-caption-d8 h3 {
    margin: 0 0 5px;
    color: #8c1c27;
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
}

.patient-short-caption-d8 span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 650;
}

@media (max-width: 884px) {

    .education-videos-page-d7 .patient-shorts-grid-d8,
    .gallery-video-posts-d7 .patient-shorts-grid-d8,
    .about-page-d4 .home-activities-grid-d7,
    .home-page-d3 #patient-stories .patient-shorts-grid-d8 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .education-videos-page-d7 .patient-short-card-d8,
    .gallery-video-posts-d7 .patient-short-card-d8,
    .about-page-d4 .home-activities-grid-d7 .patient-short-card-d8,
    .home-page-d3 #patient-stories .patient-short-card-d8 {
        border-radius: 16px;
    }

    .education-videos-page-d7 .patient-short-caption-d8,
    .gallery-video-posts-d7 .patient-short-caption-d8,
    .about-page-d4 .home-activities-grid-d7 .patient-short-caption-d8,
    .home-page-d3 #patient-stories .patient-short-caption-d8 {
        padding: 12px 8px 14px;
    }

    .education-videos-page-d7 .patient-short-caption-d8 h3,
    .gallery-video-posts-d7 .patient-short-caption-d8 h3,
    .about-page-d4 .home-activities-grid-d7 .patient-short-caption-d8 h3,
    .home-page-d3 #patient-stories .patient-short-caption-d8 h3 {
        font-size: 0.82rem;
        line-height: 1.25;
    }

    .education-videos-page-d7 .patient-short-caption-d8 span,
    .gallery-video-posts-d7 .patient-short-caption-d8 span,
    .about-page-d4 .home-activities-grid-d7 .patient-short-caption-d8 span,
    .home-page-d3 #patient-stories .patient-short-caption-d8 span {
        font-size: 0.7rem;
        line-height: 1.25;
    }
}

.home-activities-d7 {
    padding: 90px clamp(24px, 6vw, 80px);
    background: #ffffff;
}

.home-activities-intro-d7 {
    max-width: 760px;
    margin: -8px auto 38px;
    color: #59635b;
    font-size: 1.02rem;
    line-height: 1.75;
    text-align: center;
}

.home-activities-grid-d7 {
    /* width: min(1200px, 100%); */
    margin: 0 auto;
}

.home-activities-btn-wrap-d7 {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

/* Corneal transplant page */
.corneal-transplant-hero-d12 .treatments-hero-image-d10 img {
    object-position: center;
}

.corneal-page-nav-d12 {
    position: sticky;
    top: 96px;
    z-index: 20;
    padding: 0 clamp(24px, 5vw, 80px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(53, 70, 33, 0.1);
    backdrop-filter: blur(12px);
}

.corneal-page-nav-shell-d12 {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: clamp(22px, 4vw, 54px);
}

.corneal-page-nav-d12 a {
    position: relative;
    padding: 18px 0;
    color: var(--green-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.corneal-page-nav-d12 a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--maroon);
    transform: scaleX(0);
    transition: transform 0.28s ease;
}

.corneal-page-nav-d12 a:hover::after {
    transform: scaleX(1);
}

.corneal-page-nav-d12 a.is-active {
    color: var(--maroon);
}

.corneal-page-nav-d12 a.is-active::after {
    transform: scaleX(1);
}

/* Tab panel hide/show */
.corneal-tab-panel-d12[hidden] {
    display: none !important;
}

.corneal-kicker-d12 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--green-dark);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.corneal-kicker-d12::before {
    content: "";
    width: 32px;
    height: 2px;
    background: var(--maroon);
}

.corneal-overview-d12,
.corneal-reasons-d12,
.corneal-types-d12,
.corneal-journey-d12,
.corneal-recovery-d12,
.corneal-faq-d12,
.corneal-cta-d12 {
    scroll-margin-top: 160px;
}

.corneal-overview-d12 {
    padding: 105px clamp(24px, 6vw, 92px);
}

.corneal-overview-shell-d12,
.corneal-recovery-shell-d12 {
    width: min(1320px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.85fr);
    align-items: center;
    gap: clamp(50px, 7vw, 105px);
}

.corneal-overview-copy-d12 h2,
.corneal-recovery-copy-d12 h2,
.corneal-journey-intro-d12 h2,
.corneal-section-heading-d12 h2,
.corneal-cta-d12 h2 {
    margin-top: 15px;
    color: var(--maroon);
    font-size: clamp(2.25rem, 4vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.corneal-overview-copy-d12>p,
.corneal-recovery-copy-d12>p,
.corneal-journey-intro-d12>p,
.corneal-section-heading-d12>p,
.corneal-cta-d12 p {
    color: #5d675f;
    line-height: 1.82;
}

.corneal-overview-copy-d12>p {
    margin: 20px 0 0;
}

.corneal-highlight-d12 {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    padding: 22px;
    border-left: 4px solid var(--maroon);
    border-radius: 0 14px 14px 0;
    background: #fbf4f3;
}

.corneal-highlight-d12>span {
    flex: 0 0 auto;
    color: var(--maroon);
}

.corneal-highlight-d12 p {
    margin: 0;
    color: #4f5b52;
}

.corneal-overview-image-d12,
.corneal-recovery-image-d12 {
    position: relative;
    height: 480px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 28px 65px rgba(53, 70, 33, 0.15);
}

.corneal-overview-image-d12 img,
.corneal-recovery-image-d12 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.corneal-image-note-d12 {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: grid;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.corneal-image-note-d12 strong {
    color: var(--maroon);
}

.corneal-image-note-d12 span {
    color: #687168;
    font-size: 0.76rem;
}

.corneal-reasons-d12,
.corneal-faq-d12 {
    padding: 100px clamp(24px, 6vw, 92px);
    background: linear-gradient(135deg, #fbf5f3, #f4f7f2);
}

.corneal-section-heading-d12 {
    width: min(850px, 100%);
    margin: 0 auto 48px;
    text-align: center;
}

.corneal-section-heading-d12 .corneal-kicker-d12 {
    justify-content: center;
}

.corneal-section-heading-d12>p {
    max-width: 730px;
    margin: 18px auto 0;
}

.corneal-reason-grid-d12 {
    width: min(1320px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.corneal-reason-card-d12 {
    position: relative;
    min-height: 250px;
    padding: 30px 25px;
    overflow: hidden;
    border: 1px solid rgba(140, 28, 39, 0.11);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(53, 70, 33, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.corneal-reason-card-d12:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 44px rgba(53, 70, 33, 0.12);
}

.corneal-reason-card-d12>span {
    color: rgba(140, 28, 39, 0.48);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.15em;
}

.corneal-reason-card-d12 h3,
.corneal-type-card-d12 h3,
.corneal-step-d12 h3 {
    color: var(--green-dark);
}

.corneal-reason-card-d12 h3 {
    margin-top: 18px;
    font-size: 1.35rem;
}

.corneal-reason-card-d12 p {
    margin: 12px 0 0;
    color: #667068;
    font-size: 0.86rem;
    line-height: 1.72;
}

.corneal-types-d12 {
    padding: 105px clamp(24px, 6vw, 92px);
}

.corneal-type-grid-d12 {
    width: min(1260px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.corneal-type-card-d12 {
    padding: 32px 28px;
    border: 1px solid rgba(53, 70, 33, 0.12);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(53, 70, 33, 0.08);
}

.corneal-type-card-d12.featured {
    color: rgba(255, 255, 255, 0.82);
    border-color: transparent;
    background: linear-gradient(145deg, #8c1c27, #661017);
    transform: translateY(-12px);
}

.corneal-type-top-d12 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(53, 70, 33, 0.12);
}

.corneal-type-top-d12 span {
    color: var(--maroon);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
}

.corneal-type-top-d12 small {
    color: #768078;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.corneal-type-card-d12 h3 {
    margin-top: 24px;
    font-size: 1.4rem;
}

.corneal-type-card-d12 p,
.corneal-type-card-d12 li {
    color: #647067;
    font-size: 0.86rem;
    line-height: 1.7;
}

.corneal-type-card-d12 ul {
    margin: 20px 0 0;
    padding-left: 20px;
}

.corneal-type-card-d12.featured .corneal-type-top-d12 {
    border-color: rgba(255, 255, 255, 0.24);
}

.corneal-type-card-d12.featured .corneal-type-top-d12 span,
.corneal-type-card-d12.featured .corneal-type-top-d12 small,
.corneal-type-card-d12.featured h3 {
    color: #ffffff;
}

.corneal-type-card-d12.featured p,
.corneal-type-card-d12.featured li {
    color: rgba(255, 255, 255, 0.78);
}

.corneal-journey-d12 {
    padding: 105px clamp(24px, 6vw, 92px);
    background: var(--green-dark);
}

.corneal-journey-shell-d12 {
    width: min(1300px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(50px, 7vw, 100px);
}

.corneal-journey-d12 .corneal-kicker-d12 {
    color: #e2c98f;
}

.corneal-journey-d12 .corneal-kicker-d12::before {
    background: #e2c98f;
}

.corneal-journey-intro-d12 h2 {
    color: #ffffff;
}

.corneal-journey-intro-d12>p {
    margin: 20px 0 30px;
    color: rgba(255, 255, 255, 0.72);
}

.corneal-timeline-d12 {
    display: grid;
    gap: 16px;
}

.corneal-step-d12 {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 20px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.075);
}

.corneal-step-d12>span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: var(--green-dark);
    border-radius: 50%;
    background: #ffffff;
    font-weight: 850;
}

.corneal-step-d12 h3 {
    color: #ffffff;
    font-size: 1.15rem;
}

.corneal-step-d12 p {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.84rem;
    line-height: 1.65;
}

.corneal-recovery-d12 {
    padding: 105px clamp(24px, 6vw, 92px);
}

.corneal-recovery-shell-d12 {
    grid-template-columns: minmax(410px, 0.88fr) minmax(0, 1.12fr);
}

.corneal-recovery-copy-d12>p {
    margin: 20px 0 0;
}

.corneal-care-list-d12 {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.corneal-care-list-d12 p {
    display: flex;
    gap: 10px;
    margin: 0;
    color: #566158;
}

.corneal-care-list-d12 span {
    color: var(--maroon);
    font-weight: 900;
}

.corneal-alert-d12 {
    margin-top: 28px;
    padding: 20px 22px;
    border: 1px solid rgba(140, 28, 39, 0.2);
    border-radius: 14px;
    background: #fff6f5;
}

.corneal-alert-d12 strong {
    color: var(--maroon);
}

.corneal-alert-d12 p {
    margin: 6px 0 0;
    color: #5c655e;
}

.corneal-faq-grid-d12 {
    width: min(980px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.corneal-faq-item-d12 {
    border: 1px solid rgba(53, 70, 33, 0.12);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(53, 70, 33, 0.05);
}

.corneal-faq-item-d12 summary {
    position: relative;
    padding: 21px 58px 21px 22px;
    color: var(--green-dark);
    font-family: "Inter", sans-serif;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.corneal-faq-item-d12 summary::-webkit-details-marker {
    display: none;
}

.corneal-faq-item-d12 summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    color: var(--maroon);
    font-size: 1.4rem;
    transform: translateY(-50%);
}

.corneal-faq-item-d12[open] summary::after {
    content: "−";
}

.corneal-faq-item-d12 p {
    margin: 0;
    padding: 0 22px 22px;
    color: #657067;
    line-height: 1.75;
}

.corneal-cta-d12 {
    padding: 45px clamp(24px, 6vw, 92px) 105px;
}

.corneal-cta-shell-d12 {
    width: min(1320px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 45px;
    padding: clamp(40px, 5vw, 68px);
    border-radius: 26px;
    background: linear-gradient(130deg, #fbf2f1, #f2f6ef);
    box-shadow: 0 24px 60px rgba(53, 70, 33, 0.11);
}

.corneal-cta-d12 h2 {
    font-size: clamp(2.15rem, 3.5vw, 3.45rem);
}

.corneal-cta-d12 p {
    max-width: 730px;
    margin: 16px 0 0;
}

.corneal-cta-actions-d12 {
    min-width: 210px;
    display: grid;
    gap: 14px;
    text-align: center;
}

.corneal-cta-actions-d12>a:last-child {
    color: var(--maroon);
    font-size: 0.85rem;
    font-weight: 800;
}

/* About page alternating section backgrounds */
.about-page-d4 .about-us-d3,
.about-page-d4 .about-faq-section-d4 {
    background: #ffffff;
}



.about-page-d4 .journey-vision-section-d3 {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.about-page-d4 .journey-vision-section-d3 .journey-card-d3 {
    width: 100%;
    max-width: none;
    margin: 0;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

.about-page-d4 .vision-mission-section,
.about-page-d4 .research-achievements-d3 {
    background:
        radial-gradient(circle at 8% 12%, rgba(140, 28, 39, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(140, 28, 39, 0.04) 0%, rgba(140, 28, 39, 0.09) 100%);
}

/* Gallery page */
.gallery-page-d7 {
    background: #ffffff;
}

.gallery-hero-d7 {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 470px;
    padding: clamp(120px, 10vw, 180px) clamp(24px, 6vw, 88px) 38px;
    overflow: hidden;
    background: #f7f4ef;
}

.gallery-hero-d7::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url('../images/gallery-hero.webp') center 48% / cover no-repeat;
    clip-path: circle(0 at 74% 50%);
    transform: scale(1.04);
    animation:
        galleryHeroIrisD7 1.25s cubic-bezier(0.22, 0.75, 0.18, 1) forwards,
        galleryHeroZoomD7 8s ease-in-out 1.25s infinite alternate;
}

.gallery-hero-d7::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0.54) 52%, rgba(255, 255, 255, 0.08) 78%);
}

.gallery-hero-shell-d7 {
    display: block;
    width: 100%;
    align-items: center;
    max-width: 1600px;
    min-height: 0;
    margin: 0 auto;
}

.gallery-hero-copy-d7 {
    position: relative;
    z-index: 2;
    max-width: 650px;
    animation: galleryHeroCopyInD7 0.8s cubic-bezier(0.2, 0.75, 0.25, 1) 0.35s both;
}

@keyframes galleryHeroIrisD7 {
    to {
        clip-path: circle(150% at 74% 50%);
    }
}

@keyframes galleryHeroZoomD7 {
    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1.14);
    }
}

@keyframes galleryHeroCopyInD7 {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

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

.gallery-eyebrow-d7 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #8c1c27;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.gallery-eyebrow-d7::before {
    content: "";
    width: 38px;
    height: 2px;
    background: currentColor;
}

.gallery-hero-copy-d7 h1 {
    max-width: 700px;
    margin-bottom: 24px;
    color: #8c1c27;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(3.5rem, 5.5vw, 6.2rem);
    line-height: 0.98;
}

.gallery-hero-copy-d7 p {
    max-width: 610px;
    margin: 0 0 32px;
    color: #37432f;
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    line-height: 1.7;
}

.gallery-hero-tags-d7 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-hero-tags-d7 span {
    padding: 9px 15px;
    border: 1px solid rgba(140, 28, 39, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
    color: var(--green-dark);
    font-size: 0.78rem;
    font-weight: 750;
}

.gallery-hero-collage-d7 {
    position: relative;
    width: min(100%, 760px);
    height: 540px;
    margin-left: auto;
}

.gallery-hero-photo-d7 {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.92);
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(53, 70, 33, 0.18);
}

.gallery-hero-photo-d7 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-hero-photo-d7:hover img {
    transform: scale(1.06);
}

.gallery-hero-main-d7 {
    left: 6%;
    top: 5%;
    width: 67%;
    height: 86%;
    border-radius: 46% 46% 18px 18px;
    animation: galleryMainFloatD7 6s ease-in-out infinite;
}

.gallery-hero-top-d7 {
    right: 1%;
    top: 4%;
    width: 31%;
    aspect-ratio: 1;
    border-radius: 50%;
    animation: gallerySmallFloatD7 5.2s ease-in-out 0.4s infinite;
}

.gallery-hero-bottom-d7 {
    right: 0;
    bottom: 2%;
    width: 38%;
    aspect-ratio: 1.12;
    border-radius: 22px 50% 50% 22px;
    animation: gallerySmallFloatReverseD7 5.6s ease-in-out 0.8s infinite;
}

.gallery-orbit-d7 {
    position: absolute;
    left: -1%;
    top: 0;
    width: 82%;
    height: 96%;
    border: 1px solid rgba(140, 28, 39, 0.2);
    border-radius: 50%;
    transform: rotate(-13deg);
}

.gallery-orbit-dot-d7 {
    position: absolute;
    left: 1%;
    bottom: 14%;
    width: 18px;
    height: 18px;
    border: 5px solid #ffffff;
    border-radius: 50%;
    background: #8c1c27;
    box-shadow: 0 5px 18px rgba(140, 28, 39, 0.28);
}

.gallery-hero-glow-d7 {
    display: none;
}

.gallery-glow-one-d7 {
    left: 32%;
    top: 10%;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.45);
}

.gallery-glow-two-d7 {
    left: 5%;
    bottom: -90px;
    width: 260px;
    height: 260px;
    background: rgba(140, 28, 39, 0.06);
}

.gallery-scroll-cue-d7 {
    position: absolute;
    left: 50%;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #8c1c27;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.gallery-scroll-cue-d7 span {
    position: relative;
    width: 26px;
    height: 40px;
    border: 1px solid rgba(140, 28, 39, 0.4);
    border-radius: 999px;
}

.gallery-scroll-cue-d7 span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    border-radius: 999px;
    background: #8c1c27;
    transform: translateX(-50%);
    animation: galleryScrollD7 1.8s ease-in-out infinite;
}

.gallery-showcase-d7 {
    background: #ffffff;
}

.gallery-tabs-d7 {
    background: #ffffff;
    padding: 26px clamp(18px, 5vw, 72px) 8px;
}

.gallery-tabs-shell-d7 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(100%, 1180px);
    margin: 0 auto;
    overflow-x: auto;
    padding: 8px;
    border: 1px solid rgba(140, 28, 39, 0.14);
    border-radius: 999px;
    background: rgba(247, 244, 239, 0.78);
    box-shadow: 0 18px 42px rgba(53, 70, 33, 0.08);
    scrollbar-width: thin;
}

.gallery-tab-d7 {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #37432f;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}

.gallery-tab-d7:hover,
.gallery-tab-d7:focus-visible,
.gallery-tab-d7.is-active {
    border-color: rgba(140, 28, 39, 0.2);
    background: #8c1c27;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(140, 28, 39, 0.18);
}

.gallery-tab-d7:hover,
.gallery-tab-d7:focus-visible {
    transform: translateY(-1px);
}

.gallery-heading-d7 {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 44px;
}

.gallery-heading-d7 h2 {
    max-width: 780px;
    color: #8c1c27;
    font-family: "Inter", sans-serif;
    font-size: clamp(2.3rem, 4vw, 4rem);
    font-weight: 850;
}

.gallery-heading-d7>p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 0.96rem;
}

.gallery-mosaic-d7 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.gallery-card-d7 {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    border: 3px solid #8c1c27;
    border-radius: 18px;
    background: #eef2ee;
    box-shadow:
        inset 0 0 0 2px rgba(255, 255, 255, 0.72),
        0 15px 38px rgba(53, 70, 33, 0.1);
    cursor: pointer;
}

.gallery-card-d7 img {
    pointer-events: none;
}

.gallery-card-wide-d7 {
    grid-column: auto;
}

.gallery-card-tall-d7 {
    grid-row: auto;
}

.gallery-card-d7 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.45s ease;
}

.gallery-card-d7:hover,
.gallery-card-d7:focus-visible {
    border-color: #8c1c27;
    box-shadow:
        inset 0 0 0 3px rgba(255, 255, 255, 0.86),
        0 20px 44px rgba(140, 28, 39, 0.2);
}

.gallery-card-d7::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(22, 31, 17, 0.82) 100%);
    transition: background 0.35s ease;
    pointer-events: none;
}

.gallery-card-d7::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    z-index: 1;
    pointer-events: none;
}

.gallery-card-d7:hover::before,
.gallery-card-d7:focus-visible::before {
    animation: shine-sweep-d7 0.75s ease-in-out;
}

@keyframes shine-sweep-d7 {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

.gallery-card-d7:hover img,
.gallery-card-d7:focus-visible img {
    transform: scale(1.07);
    filter: saturate(1.08);
}

.gallery-card-caption-d7 {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
    bottom: 20px;
    display: grid;
    gap: 3px;
    color: #ffffff;
    text-align: left;
    transform: translateY(8px);
    transition: transform 0.35s ease;
    pointer-events: none;
}

.gallery-card-d7:hover .gallery-card-caption-d7,
.gallery-card-d7:focus-visible .gallery-card-caption-d7 {
    transform: translateY(0);
}

.gallery-card-caption-d7 strong {
    font-size: 1.05rem;
}

.gallery-card-caption-d7 small {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.78rem;
}

.gallery-cta-d7 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 54px clamp(24px, 7vw, 110px);
    background:
        radial-gradient(circle at 8% 12%, rgba(140, 28, 39, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(140, 28, 39, 0.04) 0%, rgba(140, 28, 39, 0.09) 100%);
}

.gallery-cta-d7 span {
    color: #8c1c27;
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gallery-cta-d7 h2 {
    margin-top: 8px;
    color: var(--green-dark);
    font-family: "Inter", sans-serif;
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.gallery-cta-d7 a {
    flex: 0 0 auto;
    padding: 14px 26px;
    border-radius: 999px;
    background: #8c1c27;
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(140, 28, 39, 0.22);
}

.gallery-lightbox-d7 {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 30px;
    background: rgba(12, 18, 10, 0.88);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gallery-lightbox-d7.is-open {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox-content-d7 {
    display: grid;
    gap: 14px;
    width: min(1100px, 92vw);
    max-height: 88vh;
    color: #ffffff;
    text-align: center;
}

.gallery-lightbox-content-d7 img {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 14px;
}

.gallery-lightbox-content-d7 strong {
    font-size: 1.05rem;
}

.gallery-lightbox-close-d7 {
    position: absolute;
    right: 28px;
    top: 20px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

body.gallery-lightbox-open-d7 {
    overflow: hidden;
}

@keyframes galleryMainFloatD7 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes gallerySmallFloatD7 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(7px, -10px);
    }
}

@keyframes gallerySmallFloatReverseD7 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-8px, 9px);
    }
}

@keyframes galleryScrollD7 {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    45% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 14px);
    }
}

/* Gallery View More Button */
.gallery-more-btn-wrap-d7 {
    display: flex;
    justify-content: center;
    margin-top: 36px;
    position: relative;
    z-index: 5;
}

.gallery-more-btn-d7 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    background: #8c1c27;
    color: #ffffff !important;
    font-family: "Inter", sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 12px 28px rgba(140, 28, 39, 0.22);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-more-btn-d7:hover,
.gallery-more-btn-d7:focus-visible {
    background: #73121b;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(140, 28, 39, 0.3);
    color: #ffffff !important;
}

.gallery-more-btn-d7 svg {
    transition: transform 0.3s ease;
}

.gallery-more-btn-d7:hover svg,
.gallery-more-btn-d7:focus-visible svg {
    transform: translateX(4px);
}

@media (max-width: 884px) {
    .education-video-feature-d7 {
        grid-template-columns: 1fr;
        justify-items: start;
        padding: 0 16px;
    }

    .education-video-btn-d7 {
        justify-self: start;
        white-space: normal;
    }
}


/* Modern patient story cards */
/* .patient-quotes-section-d3 {
    background:
        radial-gradient(circle at 8% 12%, rgba(140, 28, 39, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(140, 28, 39, 0.035) 0%, rgba(140, 28, 39, 0.08) 100%);
} */

.patient-quotes-section-d3::before {
    left: -110px;
    bottom: -60px;
    width: 430px;
    height: 430px;
    opacity: 0.3;
    background:
        repeating-radial-gradient(circle at center, transparent 0 22px, rgba(140, 28, 39, 0.16) 23px 24px);
    -webkit-mask-image: radial-gradient(circle, #000 15%, transparent 72%);
    mask-image: radial-gradient(circle, #000 15%, transparent 72%);
}

.patient-quotes-section-d3::after {
    top: -120px;
    right: -100px;
    width: 420px;
    height: 420px;
    opacity: 0.36;
    border: 1px solid rgba(140, 28, 39, 0.14);
    border-radius: 50%;
    background: transparent;
    box-shadow:
        0 0 0 55px rgba(255, 255, 255, 0.2),
        0 0 0 110px rgba(140, 28, 39, 0.025);
}

.patient-quotes-grid-d3 {
    gap: 28px;
    align-items: stretch;
}

.patient-quote-card-d3 {
    display: grid;
    grid-template-rows: 1fr auto auto;
    padding: 0 0 16px;
    overflow: hidden;
    border: 1px solid rgba(140, 28, 39, 0.11);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 46px rgba(53, 70, 33, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.patient-quote-card-d3::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #8c1c27, #d98b8b, #8c1c27);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.patient-quote-card-d3:hover,
.patient-quote-card-d3:focus-within {
    transform: translateY(-9px);
    border-color: rgba(140, 28, 39, 0.28);
    box-shadow: 0 28px 60px rgba(53, 70, 33, 0.16);
}

.patient-quote-card-d3:hover::before,
.patient-quote-card-d3:focus-within::before {
    transform: scaleX(1);
}

.patient-quote-panel-d3 {
    height: auto;
    min-height: 300px;
    justify-content: center;
    padding: 58px 38px 74px;
    overflow: visible;
    border-radius: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(140, 28, 39, 0.08), transparent 44%),
        transparent;
    transition: none;
}

.patient-quote-panel-d3::after {
    display: none;
}

.patient-quote-mark-d3 {
    position: absolute;
    left: 30px;
    top: 24px;
    width: auto;
    height: auto;
    color: rgba(140, 28, 39, 0.13);
    font-size: 7.5rem;
    line-height: 0.8;
}

.patient-quote-card-d3:hover .patient-quote-mark-d3,
.patient-quote-card-d3:focus-within .patient-quote-mark-d3 {
    color: rgba(140, 28, 39, 0.23);
}

.patient-quote-panel-d3 p {
    max-width: 390px;
    margin: 26px auto 0;
    color: #34402d;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(0.96rem, 1.2vw, 1.15rem);
    font-weight: 600;
    line-height: 1.65;
}

.patient-avatar-d3 {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: -29px auto 0;
    overflow: hidden;
    border: 4px solid #ffffff;
    background: #8c1c27;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(140, 28, 39, 0.24);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.patient-avatar-d3 svg {
    width: 24px;
    height: 24px;
    margin-left: 0;
    fill: currentColor;
}

.patient-avatar-d3::after {
    display: none;
}

.patient-quote-author-d3 {
    padding: 15px 20px 0;
}

.patient-quote-author-d3 h3 {
    margin-bottom: 3px;
    color: #8c1c27;
    font-size: 1.15rem;
}

.patient-quote-author-d3 span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #687063;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.patient-quote-author-d3 span::before {
    content: "";
    width: 18px;
    height: 1px;
    background: rgba(140, 28, 39, 0.5);
}

/* Homepage reviews: one fixed collage with two sliding review cards */
.home-reviews-showcase-d13 {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 2fr);
    align-items: stretch;
    gap: 28px;
    width: min(1460px, 100%);
    margin: 0 auto;
    padding: 0 24px;
}

.home-reviews-collage-d13 {
    position: relative;
    display: block;
    align-self: center;
    width: 100%;
    aspect-ratio: 1 / 1.1;
    max-height: 600px;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    isolation: isolate;
    overflow: visible;
}

.home-reviews-collage-d13::before {
    display: none;
}

.home-reviews-collage-d13::after {
    display: none;
}

.home-reviews-collage-d13 img {
    position: absolute;
    display: block;
    border: 8px solid #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 20px;
    background: #ffffff;
    width: auto;
    height: auto;
}

.home-reviews-collage-d13 .home-reviews-collage-main-d13 {
    z-index: 2;
    right: -2%;
    top: -20%;
    width: 44%;
    transform: rotate(0deg);
}

.home-reviews-collage-d13 img:nth-child(2) {
    z-index: 1;
    left: 2%;
    top: 2%;
    width: 95%;
    transform: rotate(0deg);
}

.home-reviews-collage-d13 img:nth-child(3) {
    z-index: 3;
    left: -2%;
    bottom: 2%;
    width: 44%;
    transform: rotate(0deg);
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

.home-reviews-collage-d13 img:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
    z-index: 10;
    animation-play-state: paused;
}

.home-reviews-carousel-d13 {
    min-width: 0;
    overflow: hidden;
}

.home-reviews-carousel-d13 .reviews-grid-d3 {
    display: flex;
    flex-wrap: nowrap;
    gap: 28px;
    max-width: none;
    margin: 0;
    padding: 0 0 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-reviews-carousel-d13 .reviews-grid-d3::-webkit-scrollbar {
    display: none;
}

.home-reviews-carousel-d13 .patient-quote-card-d3 {
    flex: 0 0 calc((100% - 28px) / 2);
    scroll-snap-align: start;
}

.home-reviews-carousel-d13 .reviews-slider-controls-d3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
}

.home-reviews-carousel-d13 .reviews-slider-arrow-d3 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(140, 28, 39, 0.22);
    border-radius: 50%;
    background: #ffffff;
    color: var(--maroon);
    box-shadow: 0 6px 18px rgba(53, 70, 33, 0.08);
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.home-reviews-carousel-d13 .reviews-slider-arrow-d3:hover,
.home-reviews-carousel-d13 .reviews-slider-arrow-d3:focus-visible {
    background: var(--maroon);
    color: #ffffff;
    outline: none;
    transform: translateY(-2px);
}

.home-reviews-carousel-d13 .reviews-slider-dots-d3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.home-reviews-carousel-d13 .reviews-dot-d3 {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(140, 28, 39, 0.25);
    transition: background 0.25s ease, transform 0.25s ease;
}

.home-reviews-carousel-d13 .reviews-dot-d3.active {
    background: var(--maroon);
    transform: scale(1.25);
}

/* Consistent left-to-right hover animation for action buttons */
.btn:not(.slider-arrow-btn-d3),
.read-more-btn-d3,
.about-pill-btn-d4,
.about-outline-btn-d4,
.booking-submit-btn-d3,
.d3-btn-footer-top,
.pre-footer-banner-content-d6 a,
.contact-form-panel-d5 button,
.contact-quote-btn-d5,
.gallery-cta-d7 a,
.gallery-more-btn-d7 {
    position: relative;
    z-index: 0;
    isolation: isolate;
    overflow: hidden;
}

.btn:not(.slider-arrow-btn-d3)::before,
.read-more-btn-d3::before,
.about-pill-btn-d4::before,
.about-outline-btn-d4::before,
.booking-submit-btn-d3::before,
.d3-btn-footer-top::before,
.pre-footer-banner-content-d6 a::before,
.contact-form-panel-d5 button::before,
.contact-quote-btn-d5::before,
.gallery-cta-d7 a::before,
.gallery-more-btn-d7::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background: var(--green-dark);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn.secondary::before,
.d3-btn-outline::before,
.about-outline-btn-d4::before,
.d3-btn-footer-top::before {
    background: #8c1c27;
}

.home-page-d3 .btn.secondary::before,
.home-page-d3 .d3-btn-outline::before,
.home-page-d3 .gallery-more-btn-d7::before {
    background: var(--green-dark);
}

.btn:not(.slider-arrow-btn-d3):hover::before,
.btn:not(.slider-arrow-btn-d3):focus-visible::before,
.read-more-btn-d3:hover::before,
.read-more-btn-d3:focus-visible::before,
.about-pill-btn-d4:hover::before,
.about-pill-btn-d4:focus-visible::before,
.about-outline-btn-d4:hover::before,
.about-outline-btn-d4:focus-visible::before,
.booking-submit-btn-d3:hover::before,
.booking-submit-btn-d3:focus-visible::before,
.d3-btn-footer-top:hover::before,
.d3-btn-footer-top:focus-visible::before,
.pre-footer-banner-content-d6 a:hover::before,
.pre-footer-banner-content-d6 a:focus-visible::before,
.contact-form-panel-d5 button:hover::before,
.contact-form-panel-d5 button:focus-visible::before,
.contact-quote-btn-d5:hover::before,
.contact-quote-btn-d5:focus-visible::before,
.gallery-cta-d7 a:hover::before,
.gallery-cta-d7 a:focus-visible::before,
.gallery-more-btn-d7:hover::before,
.gallery-more-btn-d7:focus-visible::before {
    transform: scaleX(1);
}

.home-page-d3 .btn.secondary:not(.slider-arrow-btn-d3):hover,
.home-page-d3 .btn.secondary:not(.slider-arrow-btn-d3):focus-visible,
.home-page-d3 .d3-btn-outline:not(.slider-arrow-btn-d3):hover,
.home-page-d3 .d3-btn-outline:not(.slider-arrow-btn-d3):focus-visible {
    color: #ffffff !important;
    border-color: var(--green-dark) !important;
}

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

    .btn::before,
    .read-more-btn-d3::before,
    .about-pill-btn-d4::before,
    .about-outline-btn-d4::before,
    .booking-submit-btn-d3::before,
    .d3-btn-footer-top::before,
    .pre-footer-banner-content-d6 a::before,
    .contact-form-panel-d5 button::before,
    .contact-quote-btn-d5::before,
    .gallery-cta-d7 a::before,
    .gallery-more-btn-d7::before {
        transition-duration: 0.01ms;
    }
}

/* ============================================================
   Gallery Lightbox — #gallery-lightbox-d7
   ============================================================ */
#gallery-lightbox-d7 {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

#gallery-lightbox-d7.is-open {
    display: flex;
    animation: lbFadeIn 0.22s ease;
}

#gallery-lb-close-d7 {
    position: absolute;
    top: 1.1rem;
    right: 1.3rem;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

#gallery-lb-close-d7:hover,
#gallery-lb-close-d7:focus-visible {
    background: rgba(255, 255, 255, 0.28);
    outline: none;
}

.gallery-lb-nav-d7 {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.42);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gallery-lb-prev-d7 {
    left: 1.5rem;
}

.gallery-lb-next-d7 {
    right: 1.5rem;
}

.gallery-lb-nav-d7:hover,
.gallery-lb-nav-d7:focus-visible {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(140, 28, 39, 0.92);
    outline: none;
    transform: translateY(-50%) scale(1.06);
}

#gallery-lightbox-d7 figure {
    margin: 0;
    text-align: center;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#gallery-lb-img-d7 {
    max-width: 90vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
    animation: lbImgIn 0.25s ease;
}

#gallery-lb-img-d7.is-moving-next {
    animation: lbImgNextD7 0.3s ease;
}

#gallery-lb-img-d7.is-moving-prev {
    animation: lbImgPrevD7 0.3s ease;
}

#gallery-lb-title-d7 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

@keyframes lbFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes lbImgIn {
    from {
        transform: scale(0.93);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes lbImgNextD7 {
    from {
        transform: translateX(36px);
        opacity: 0;
    }

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

@keyframes lbImgPrevD7 {
    from {
        transform: translateX(-36px);
        opacity: 0;
    }

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

@media (max-width: 640px) {
    .gallery-lb-nav-d7 {
        width: 42px;
        height: 42px;
        background: rgba(0, 0, 0, 0.6);
    }

    .gallery-lb-prev-d7 {
        left: 0.55rem;
    }

    .gallery-lb-next-d7 {
        right: 0.55rem;
    }
}

/* Connect With Us Panel D5 */
.connect-with-us-panel-d5 {
    background: #f8fafc;
    border-radius: 20px;
    padding: 44px 38px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    text-align: left;
}

.connect-heading-d5 h2 {
    font-family: "Outfit", "Inter", sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--green-dark);
    margin: 0 0 10px;
}

.connect-heading-d5 p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.connect-channels-d5 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.connect-card-d5 {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.connect-card-d5:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.phone-card-d5 {
    border-left: 5px solid var(--green-mid);
}

.address-card-d5 {
    border-left: 5px solid var(--maroon);
}

.connect-card-d5 .channel-icon-d5 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 3px;
}

.phone-card-d5 .channel-icon-d5 {
    color: var(--green-mid);
}

.address-card-d5 .channel-icon-d5 {
    color: var(--maroon);
}

.connect-card-d5 .channel-icon-d5 svg {
    width: 26px;
    height: 26px;
    display: block;
}

.connect-card-d5 .channel-info-d5 {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.connect-card-d5 .channel-info-d5 h3 {
    margin: 0 0 6px;
    font-family: "Inter", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
}

.connect-card-d5 .channel-info-d5 p,
.connect-card-d5 .channel-info-d5 a {
    margin: 0;
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.connect-card-d5 .channel-info-d5 a {
    font-weight: 600;
}

.connect-card-d5 .channel-info-d5 a:hover {
    color: var(--green-mid);
}
