/* Shared finish: readable copy, consistent rhythm and resilient media. */
:root { --width: 1240px; --muted: #b1bdb0; }

.partner-section .partner-logo img { display: block !important; }
[hidden] { display: none !important; }
html { scrollbar-gutter: stable; scroll-padding-top: 100px; }
main { overflow-x: clip; }
main > section { scroll-margin-top: 96px; }
button, a { touch-action: manipulation; }
button, .button { cursor: pointer; }
img { height: auto; }
.container > *, .section-head > *, .split-panel > *, .page-hero-grid > * { min-width: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.section { padding-block: clamp(44px, 5vw, 72px); }
.home-founder-section .founder-clinic-name {
  color: transparent;
  background: linear-gradient(110deg, #72c84b 0%, #b9ff45 45%, #eaffb0 52%, #8ed85d 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.page-reviews main > .section { padding-top: 18px; }
.page-reviews .site-header { margin-bottom: 0; }
@media (min-width: 1041px) {
  .page-reviews main > .section { padding-top: 28px; }
}
@media (max-width: 1040px) {
  .page-reviews main > .section { padding-top: 24px; }
}
.section-head { margin-bottom: 26px; }
.eyebrow { font-size: .72rem; letter-spacing: .12em; }
.button { min-height: 48px; line-height: 1.35; font-size: .92rem; }
.text-link { line-height: 1.5; }
.nav-links a[aria-current='page']:not(.button) { text-decoration: none; }
.page-hero { padding-block: clamp(40px, 5vw, 68px); }
.page-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4.1rem); }
.page-hero-art { height: 240px; max-height: none; object-position: center 20%; }
.prose-panel { padding: clamp(22px, 2.4vw, 30px); }
.prose-panel p, .prose-panel li { line-height: 1.8; }
.care-aside { top: 98px; }
.check-list li::before { content: '✓'; }
.gallery-item { margin: 0; min-height: 270px; }
.home-slide { aspect-ratio: 16 / 9; }
.home-slide picture { display: block; width: 100%; height: 100%; }
.gallery-item img, .split-image img, .home-slide-image, .home-intro-image img, .hero-image img,
.video-poster img, .home-video-poster img, .home-stats-background, .partner-logo img { height: 100%; }
.home-slide-image { object-fit: contain; }
.home-stats-mobile-head span {
  font-size: clamp(.82rem, 1.3vw, 1.08rem);
  font-weight: 850;
  letter-spacing: .13em;
  background: linear-gradient(105deg, #d8f6a8 0%, #9ee46d 48%, #4f9f4b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.home-stats-mobile-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.home-stats-mobile-head img { width: 86px; height: auto; object-fit: contain; }
.home-intro-image { position: relative; height: 360px; min-height: 0; }
.home-intro-image img { position: absolute; inset: 0; min-height: 0; }
.condition-card { height: 100%; }
.condition-body { padding: 22px; }
.condition-body h3 { line-height: 1.3; }
.condition-body p { line-height: 1.7; }
.product-card, .contact-card { padding: clamp(22px, 3vw, 30px); }
.contact-card .hero-actions { margin-bottom: 0; }
.footer { padding-top: 44px; }
.partner-section { margin-bottom: 30px; padding-bottom: 30px; }
.footer-grid { gap: 28px; }
.footer-links a { padding-block: 3px; }
.reveal { opacity: 1; transform: none; }
.reveal.reveal-pending { opacity: 0; transform: translateY(14px); }
.reveal.reveal-pending.is-visible { opacity: 1; transform: none; }
.home-tradition-grid > .tradition-copy.reveal-pending { transform: translateX(-28px); }
.home-tradition-grid > .tradition-art.reveal-pending { transform: translateX(28px); }
.home-tradition-grid > .reveal-pending.is-visible { transform: none; }

/* A short logo sweep during slow page loads. No forced wait on a ready page. */
.page-loader { position: fixed; z-index: 100; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: rgba(10,16,13,.98); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, visibility .2s; }
.page-loading .page-loader { opacity: 1; visibility: visible; transition-delay: .12s; }
.no-js .page-loader { display: none; }
.loader-mark { position: relative; padding: 15px; overflow: hidden; }
.loader-mark img { width: 150px; height: 92px; object-fit: contain; }
.loader-scan { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, rgba(169,220,115,.03) 46%, rgba(169,220,115,.32) 50%, transparent 54%); animation: logo-scan .85s ease-in-out 2; }
.loader-label { color: var(--muted); font-size: .78rem; letter-spacing: .08em; }
.loader-line { width: 140px; height: 2px; overflow: hidden; background: #253323; }
.loader-line::after { display: block; height: 100%; width: 45%; background: var(--green); content: ''; animation: loading-line .75s ease-in-out 2 alternate; }
@keyframes logo-scan { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
@keyframes loading-line { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
.media-loading, .media-unavailable, .video-dialog-player.is-loading { background: #111b14 url('optimized/siddha365-header-lockup.webp') center / 104px auto no-repeat; }
.home-slide, .video-poster, .home-video-poster { background: #111b14 url('optimized/siddha365-header-lockup.webp') center / 90px auto no-repeat; }
.media-pending { opacity: 0; }
.media-unavailable > img { opacity: 0; }
.image-arrived { animation: image-lines .55s steps(8, end) both; }
@keyframes image-lines { from { clip-path: inset(0 0 100%); } to { clip-path: inset(0); } }

/* Align the hero's two columns and give clinic videos a useful viewing size. */
.home-gallery-section { padding-block: 30px; }
.home-gallery-head, .home-gallery-layout { grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr); gap: 24px; }
.home-gallery-head { align-items: center; margin-bottom: 24px; }
.home-gallery-head .home-hero-copy { padding: 6px 16px 6px 0; }
.home-gallery-head .home-hero-copy h1 { font-size: clamp(2.2rem, 3.8vw, 3.6rem); max-width: 700px; }
.home-gallery-head .home-hero-copy > p:last-of-type { margin: 5px 0 0; max-width: 50ch; color: #c5cec2; font-size: 1.04rem; }
.home-hero-actions { margin-top: 22px; }
.home-visit-card { width: 100%; padding: 27px 28px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; border-radius: 22px; }
.home-visit-card .eyebrow { margin: 0 0 12px; font-size: .67rem; line-height: 1.5; }
.home-visit-card h2 { max-width: 28ch; margin: 0 0 19px; font-size: 1.35rem; line-height: 1.3; }
.home-visit-card ol { gap: 13px; }
.home-visit-card li { grid-template-columns: 32px minmax(0,1fr); align-items: start; gap: 12px; }
.home-visit-card li strong { font-size: .88rem; }
.home-visit-card li small { margin-top: 3px; font-size: .79rem; line-height: 1.5; }
.visit-step-number { width: 30px; height: 30px; }
.home-gallery { align-self: stretch; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #121b14; }
.home-gallery-track { border-radius: 0; }
.home-slide { border: 0; border-radius: 0; box-shadow: none; }
.home-gallery-controls { top: 42%; }
.home-gallery-caption { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 22px; }
.home-gallery-caption strong, .home-gallery-caption span { display: block; }
.home-gallery-caption strong { font-size: .96rem; }
.home-gallery-caption span { margin-top: 2px; font-size: .8rem; color: var(--muted); }
.home-gallery-caption .text-link { white-space: nowrap; font-size: .82rem; }
.home-video-rail { width: 100%; height: 432px; min-height: 0; padding: 22px; align-self: stretch; border-radius: 22px; }
.home-video-rail-head { align-items: center; margin-bottom: 16px; gap: 10px; }
.home-video-rail-head h2 { font-size: 1.5rem; }
.home-video-rail-head .eyebrow { font-size: .65rem; }
.home-video-card { grid-template-columns: minmax(140px, .95fr) minmax(0, 1fr); min-height: 105px; padding: 8px; gap: 12px; border-radius: 14px; }
.home-video-card p { font-size: .87rem; line-height: 1.45; -webkit-line-clamp: 3; line-clamp: 3; }
.home-video-poster .video-play-icon { width: 36px; height: 36px; font-size: .85rem; }
.home-video-rail-window { max-height: none; flex: 1 1 0%; height: 0; }
.home-video-rail-track { gap: 12px; }
.home-video-rail-note { margin-top: 13px; font-size: .72rem; }
.video-track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; padding-bottom: 14px; }
.video-card p { padding: 18px 20px; font-size: 1rem; }
.video-poster .video-play-icon { width: 64px; height: 64px; }
.section.video-section .section-head > div { max-width: 750px; }
.section.video-section .section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.65rem); }

/* A readable full-size player, with the original poster kept in place. */
.media-dialog, .review-dialog { color: var(--text); padding: 22px; max-height: 90dvh; overflow-y: auto; width: min(1040px, calc(100% - 32px)); border: 1px solid rgba(169,220,115,.3); border-radius: 24px; background: #101912; box-shadow: 0 30px 100px #0009; }
.media-dialog::backdrop, .review-dialog::backdrop { background: #020805df; backdrop-filter: blur(6px); }
.media-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.media-dialog-head .eyebrow { margin-bottom: 5px; }
.media-dialog-head h2 { margin: 0; font-size: clamp(1.1rem, 2vw, 1.5rem); }
.media-dialog-head .dialog-close { width: 44px; height: 44px; font-size: 1.3rem; }
.video-dialog-player { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: #000; }
.video-dialog-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-dialog-player.is-loading iframe { opacity: 0; }
.video-external-link { display: inline-flex; margin-top: 16px; font-size: .85rem; }
body:has(dialog[open]) { overflow: hidden; }

/* Reviews arrive only from the source feed, with visible Google attribution. */
.review-feed-placeholder { display: flex; align-items: center; gap: 28px; min-height: 200px; padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(135deg,#17241a,#101811); }
.review-feed-placeholder img { flex: 0 0 112px; object-fit: contain; }
.review-feed-placeholder strong { font-size: 1.12rem; }
.review-feed-placeholder p { max-width: 55ch; margin: 9px 0 0; color: var(--muted); }
.review-feed-note { margin-top: 18px; font-size: .78rem; }
.review-marquee { padding-block: 3px; }
.review-marquee-track { animation-duration: 95s; }
.review-marquee:nth-child(2) .review-marquee-track { animation-duration: 110s; }
.review-marquees:hover .review-marquee-track, .review-marquees:focus-within .review-marquee-track,
body:has(dialog[open]) .review-marquee-track { animation-play-state: paused; }
.review-marquee .review-card { width: clamp(320px, 31vw, 410px); min-height: 300px; padding: 25px; gap: 16px; }
.review-card .stars { margin: 0; letter-spacing: .12em; }
.review-marquee .review-card blockquote { -webkit-line-clamp: 4; line-clamp: 4; min-height: 6.6em; margin: 0; font-size: .95rem; }
.review-by { margin-top: auto; }
.review-by .review-author { color: #e9efe5; font-size: .85rem; text-underline-offset: 3px; }
.review-by a:hover { text-decoration: underline; }
.review-date { display: block; margin-top: 3px; color: var(--muted); font-size: .76rem; }
.review-read { align-self: start; padding: 4px 0; color: var(--green); border: 0; border-bottom: 1px solid #a9dc7344; background: transparent; font-size: .8rem; font-weight: 700; }
.review-dialog { width: min(650px, calc(100% - 32px)); }
.review-dialog .review-card { padding: 20px 6px; border: 0; background: transparent; box-shadow: none; }
.review-dialog blockquote { margin: 20px 0 25px; white-space: pre-line; line-height: 1.8; }
.review-source-panel { display: flex; align-items: start; gap: 20px; margin-top: 32px; padding: 27px; border: 1px solid var(--line); border-radius: 20px; background: #121c15; }
.source-mark { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #fff; color: #4285f4; font-size: 24px; font-weight: 800; }
.review-source-panel h3 { font-size: 1.05rem; }
.review-source-panel p { max-width: 80ch; margin: 0; color: var(--muted); font-size: .9rem; }

/* Practical visit planning closes the home page with a clear next step. */
.home-visit-section { border-top: 1px solid var(--line); background: radial-gradient(ellipse at 20% 0,#25432a55,transparent 70%),#101911; }
.visit-planner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 6vw, 80px); }
.visit-planner h2 { font-size: clamp(1.9rem, 3.3vw, 2.75rem); }
.visit-planner > div > p:not(.eyebrow) { max-width: 44ch; color: var(--muted); }
.visit-planner-details { display: grid; gap: 0; }
.visit-planner-details article { display: flex; gap: 17px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.visit-planner-details article:last-child { border-bottom: 0; }
.visit-planner-details .visit-step-number { flex: 0 0 30px; }
.visit-planner-details h3 { margin-bottom: 7px; font-size: 1.05rem; }
.visit-planner-details p { margin-bottom: 7px; color: var(--muted); font-size: .88rem; }
.visit-planner-details .text-link { font-size: .83rem; }

@media (max-width: 1050px) {
  .home-gallery-head, .home-gallery-layout { grid-template-columns: minmax(0,1.25fr) minmax(330px,1fr); gap: 20px; }
  .home-gallery { align-self: center; }
  .home-video-rail { height: 400px; padding: 19px; }
  .home-video-card { grid-template-columns: minmax(116px,.85fr) minmax(0,1fr); min-height: 93px; }
  .home-visit-card { padding: 23px; }
  .home-gallery-caption { padding: 17px; flex-wrap: wrap; gap: 8px; }
}

/* Restored desktop social media layout. The existing single YouTube panel remains for mobile. */
.desktop-social-video-section { display: block; }
.desktop-social-video-section .social-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); }
.desktop-social-video-section .social-video-panel { min-width: 0; display: flex; flex-direction: column; padding: 14px 0; border: 0; border-radius: 0; background: transparent; overflow: hidden; }
.desktop-social-video-section .section-head { position: relative; min-height: 196px; align-items: end; margin-bottom: 16px; }
.desktop-social-video-section .section-head > div:first-child { display: grid; width: 100%; grid-template-rows: auto minmax(70px, auto) 48px; align-content: start; }
.desktop-social-video-section .section-head .eyebrow { width: fit-content; margin-inline: auto; }
.desktop-social-video-section .section-head h2 { max-width: 600px; margin: 0 auto 12px; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.08; text-align: center; }
.desktop-social-video-section .section-head > div:first-child > p:not(.eyebrow) { width: 100%; max-width: 520px; margin-inline: auto; text-align: center; font-size: .92rem; }
.desktop-social-video-section .video-section-desktop-social { position: absolute; left: 0; bottom: -26px; }
.desktop-social-video-section .social-video-panel:first-child .video-section-desktop-social { bottom: -14px; }
.desktop-social-video-section .carousel-controls { gap: 8px; }
.desktop-social-video-section .icon-button { width: 36px; min-width: 36px; height: 36px; padding: 0; font-size: .82rem; }
.desktop-social-video-section .icon-button[data-carousel-pause] { width: 42px; min-width: 42px; }
.desktop-social-video-section .video-track { grid-auto-columns: calc((100% - 24px) / 4); gap: 8px; margin-top: auto; overflow-x: auto; scrollbar-width: none; }
.desktop-social-video-section .video-track::-webkit-scrollbar { display: none; }
.desktop-social-video-section .short-video-card { display: flex; min-width: 0; height: 100%; flex-direction: column; border-radius: 16px; }
.desktop-social-video-section .short-video-card .video-poster,
.desktop-social-video-section .instagram-reel-card .instagram-reel-poster { width: 100%; height: auto; min-height: 0; flex: 0 0 auto; aspect-ratio: 9 / 16 !important; }
.desktop-social-video-section .short-video-card p { display: grid; min-height: 58px; margin: 0; padding: 12px 10px; place-items: center; font-size: .8rem; text-align: center; }
.desktop-social-video-section .instagram-reel-card p { height: 58px; min-height: 58px; overflow: hidden; }
.desktop-social-video-section .instagram-reel-poster { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 30% 20%, #d9a15a, #b93666 42%, #4f2b82 72%, #141d38); }
.desktop-social-video-section .instagram-reel-poster > img { width: 100%; height: 100%; object-fit: cover; }
.desktop-social-video-section .instagram-reel-link { position: absolute; inset: 0; display: grid; place-items: center; }
@media (max-width: 900px) {
  .desktop-social-video-section { display: block; }
  .legacy-video-section { display: none; }
  .desktop-social-video-section .social-video-grid { grid-template-columns: 1fr; gap: 24px; }
  .desktop-social-video-section .social-video-panel { padding: 18px 0 22px; }
  .desktop-social-video-section .section-head { min-height: 0; display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 18px; }
  .desktop-social-video-section .section-head > div:first-child { display: block; }
  .desktop-social-video-section .section-head h2 { max-width: 100%; font-size: clamp(1.85rem, 8vw, 2.35rem); }
  .desktop-social-video-section .section-head > div:first-child > p:not(.eyebrow) { max-width: 100%; margin-bottom: 0; }
  .desktop-social-video-section .video-section-desktop-social { position: static; align-self: flex-start; }
  .desktop-social-video-section .video-track { grid-auto-columns: calc((100% - 16px) / 3); gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .desktop-social-video-section .short-video-card { scroll-snap-align: start; }
  .desktop-social-video-section .short-video-card p { display: none; }
}
@media (min-width: 901px) {
  .legacy-video-section { display: none; }
}
@media (max-width: 420px) {
  .desktop-social-video-section .video-track { grid-auto-columns: calc((100% - 8px) / 2); }
}
@media (max-width: 800px) {
  .home-gallery-head, .home-gallery-layout { grid-template-columns: 1fr; }
  .home-gallery-head .home-hero-copy { padding: 0; }
  .home-gallery-head .home-hero-copy h1 { max-width: 620px; }
  .home-visit-card { padding: 23px; }
  .home-visit-card h2 { max-width: none; }
  .home-visit-card ol { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
  .home-visit-card li { grid-template-columns: 1fr; gap: 9px; }
  .home-gallery { width: 100%; }
  .home-video-rail { height: 398px; padding: 22px; }
  .home-video-card { grid-template-columns: 165px minmax(0,1fr); min-height: 108px; }
  .home-video-card p { font-size: .96rem; }
  .video-track { grid-auto-columns: 82%; }
  .visit-planner { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .utility-tamil { display: none; }
  .utility-bar { font-size: .68rem; }
  .utility-inner { min-height: 34px; }
  .home-gallery-section { padding-block: 25px; }
  .home-gallery-head .home-hero-copy h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .home-gallery-head .home-hero-copy > p:last-of-type { font-size: .95rem; }
  .home-gallery-head > .home-hero-copy .hero-actions { width: auto; flex-direction: row; }
  .home-gallery-head > .home-hero-copy .hero-actions .button { width: auto; font-size: .85rem; }
  .home-visit-card { padding: 22px; }
  .home-visit-card ol { grid-template-columns: 1fr; gap: 14px; }
  .home-visit-card li { grid-template-columns: 30px minmax(0,1fr); gap: 12px; }
  .home-visit-card li small { font-size: .79rem; }
  .home-visit-card h2 { font-size: 1.24rem; }
  .home-gallery-caption { flex-wrap: nowrap; padding: 15px; }
  .home-gallery-caption .text-link { font-size: .74rem; }
  .home-gallery-caption span { font-size: .72rem; max-width: 23ch; }
  .home-video-rail { height: 376px; padding: 18px; }
  .home-video-rail-head h2 { font-size: 1.35rem; }
  .home-video-card { grid-template-columns: 42% minmax(0,1fr); min-height: 103px; }
  .home-video-card p { font-size: .83rem; }
  .video-track { grid-auto-columns: 92%; }
  .video-card p { padding: 15px; font-size: .92rem; }
  .review-marquee .review-card { width: 84vw; padding: 21px; }
  .review-feed-placeholder { padding: 24px; gap: 20px; align-items: flex-start; flex-direction: column; }
  .review-feed-placeholder img { flex: auto; }
  .review-source-panel { padding: 21px; gap: 13px; }
  .media-dialog, .review-dialog { padding: 15px; border-radius: 18px; }
  .page-hero-art { height: 220px; }
  .home-intro-image { height: 300px; }
  .home-tradition-grid, .home-intro-grid, .split-panel { gap: 28px; }
  .gallery-item { min-height: 250px; }
  .footer-grid { gap: 24px; }
}

/* Compact centered Tamil wellness line on larger screens. */
.utility-tamil {
  display: inline-block;
  padding-left: 0;
  color: #dce7d8;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  vertical-align: middle;
}
@media (min-width: 721px) {
  .utility-tamil {
    color: #b9ff45;
    background: linear-gradient(110deg, #86d62c 0%, #eaffb0 35%, #b9ff45 50%, #86d62c 70%, #eaffb0 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: tamil-slogan-wave 3.2s linear infinite;
  }
}
@keyframes tamil-slogan-wave { from { background-position: 180% 0; } to { background-position: -40% 0; } }
.home-founder-section .split-copy h2 .accent {
  color: #b9ff45;
  background: linear-gradient(110deg, #86d62c 0%, #b9ff45 38%, #f3ffd9 48%, #b9ff45 58%, #86d62c 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 5px rgba(185, 255, 69, .22));
  animation: tamil-slogan-wave 3.2s linear infinite;
}
.home-founder-section .founder-registration {
  display: inline-block;
  margin-left: 20px;
  color: #f87171;
  background: linear-gradient(110deg, #b91c1c 0%, #ef4444 42%, #fda4af 55%, #dc2626 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: .31em;
  font-weight: 600;
  letter-spacing: .02em;
  vertical-align: middle;
  white-space: nowrap;
}
.home-founder-section .split-image {
  isolation: isolate;
  border: 5px solid transparent;
  border-radius: 62% 0 62% 0 / 56% 0 56% 0;
  clip-path: none;
  aspect-ratio: 1086 / 980;
  min-height: 0;
  background: linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--founder-border-angle), #168b3a 0 82%, #38d900 89%, #8bff16 96%, #38d900 100%) border-box;
  animation: founder-border-travel 4.8s linear infinite;
}
.home-founder-section .founder-panel { grid-template-columns: .9fr 1.1fr; position: relative; }
.home-founder-section .founder-panel::before {
  content: '';
  min-height: 440px;
  background: url('doctor-founder-option5-leaf.png') center / contain no-repeat;
}
.home-founder-section .split-image::after {
  position: absolute;
  inset: 12px;
  z-index: 2;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 86% 18%, rgba(185, 255, 69, .22) 0 9%, transparent 10%),
    radial-gradient(ellipse at 91% 42%, rgba(142, 224, 91, .18) 0 11%, transparent 12%),
    radial-gradient(ellipse at 12% 78%, rgba(142, 224, 91, .16) 0 10%, transparent 11%);
  content: '';
  pointer-events: none;
  mix-blend-mode: multiply;
  animation: founder-inner-shades 6.5s ease-in-out infinite alternate;
}
@property --founder-border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes founder-border-travel {
  to { --founder-border-angle: 360deg; }
}
@keyframes founder-inner-shades {
  from { opacity: .55; transform: translate3d(-2px, 1px, 0) scale(.99); }
  to { opacity: .95; transform: translate3d(2px, -1px, 0) scale(1.015); }
}
.home-founder-section img.founder-image {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
@media (prefers-reduced-motion: reduce) {
  .home-founder-section .split-copy h2 .accent { animation: none; }
  .home-founder-section .split-image { animation: none; }
}
.utility-inner { justify-content: flex-start !important; text-align: left; }
.utility-inner > p:first-child { flex: 0 0 auto; max-width: 260px; margin: 0 auto 0 0 !important; padding-left: 10px; text-align: left; }
.utility-actions { margin-left: auto; }
@media (min-width: 721px) {
  .utility-inner { width: 100%; max-width: none; box-sizing: border-box; padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 600px) {
  .utility-tamil { display: none; }
}
@media (prefers-reduced-motion: reduce) { .utility-tamil { animation: none; } }
@media (prefers-reduced-motion: reduce) {
  .page-loader, .loader-scan, .loader-line::after, .image-arrived { animation: none; transition: none; }
  .reveal.reveal-pending { opacity: 1; transform: none; }
  .review-marquee-track { animation: none; }
  .review-marquee { overflow-x: auto; }
  .home-video-rail-window { height: auto; overflow-y: auto; }
}

/* Compact source badge, inspired by the supplied circular reference. */
.google-review-badge { display:flex; flex:0 0 116px; width:116px; height:116px; box-sizing:border-box; flex-direction:column; align-items:center; justify-content:center; gap:8px; border:5px solid transparent; border-radius:50%; background:linear-gradient(#fff,#fff) padding-box,conic-gradient(#ea4335 0 25%,#fbbc05 25% 50%,#34a853 50% 75%,#4285f4 75% 100%) border-box; text-decoration:none; color:#202124; }
.google-review-badge__word { display:flex; font-size:25px; font-weight:600; line-height:1; letter-spacing:-1.5px; }
.google-review-badge__word span:nth-child(1),.google-review-badge__word span:nth-child(4) {color:#4285f4;}
.google-review-badge__word span:nth-child(2),.google-review-badge__word span:nth-child(6) {color:#ea4335;}
.google-review-badge__word span:nth-child(3) {color:#fbbc05;}
.google-review-badge__word span:nth-child(5) {color:#34a853;}
.google-review-badge__label {font-size:11px; line-height:1.3; font-weight:650; text-align:center;}
.google-review-badge:focus-visible {outline:2px solid var(--accent); outline-offset:5px;}
.review-source-panel > div {min-width:0;}
.review-source-panel .text-link {display:inline-block; margin-top:12px;}
@media(max-width:600px) { .review-source-panel {flex-direction:column; align-items:center; text-align:center;} .google-review-badge {flex-basis:auto; width:100px; height:100px;} .google-review-badge__word {font-size:23px;} }

/* Keep the review source badge on the right of its section. */
.review-source-panel > .google-review-badge { order: 2; margin-left: auto; }
.review-source-panel > div { order: 1; flex: 1; }
@media (max-width:600px) {
  .review-source-panel > .google-review-badge { order: 0; align-self: flex-end; margin-left: auto; }
  .review-source-panel > div { width: 100%; text-align: left; }
}

.review-heading-grid {display:flex; align-items:center; justify-content:space-between; gap:32px;}
.page-reviews .review-section-heading { display:grid; grid-template-columns:minmax(0, 1fr) 218px; align-items:center; gap:20px; }
.page-reviews .review-section-heading > div { min-width:0; }
.page-reviews .review-verified-badge { display:block; width:190px; height:auto; justify-self:start; background:transparent; }
@media (max-width:600px) {
  .page-reviews .review-section-heading { grid-template-columns:minmax(0, 1fr) 124px; gap:12px; }
  .page-reviews .review-verified-badge { width:112px; }
}
.review-heading-grid > .reveal {min-width:0; flex:1;}
.review-heading-grid > .google-review-badge {flex-shrink:0; margin-right:12px;}
@media(max-width:600px) {
 .review-heading-grid {gap:16px; flex-wrap:wrap;}
 .review-heading-grid > .reveal {flex-basis:100%;}
 .review-heading-grid > .google-review-badge {margin-left:auto; margin-right:0;}
 .review-heading-grid > .google-review-logo {flex:0 0 auto; align-self:center; margin-left:auto; margin-right:auto;}
}

.google-review-logo {display:block; flex:0 0 280px; max-width:100%; background:transparent;}
.google-review-logo img {display:block; width:100%; height:auto; object-fit:contain;}
.google-review-logo:focus-visible {outline:2px solid #a9da71; outline-offset:6px;}
@media(max-width:600px) {.google-review-logo {flex-basis:220px; width:220px; margin-left:auto; margin-right:auto; justify-self:center;}}

/* The mobile navbar is in normal flow, so the review hero needs no header offset. */
@media(max-width:600px) {
 .page-reviews .page-hero {padding:28px 0 24px; padding-top:28px !important;}
 .page-reviews .review-heading-grid {gap:10px;}
 .page-reviews .review-heading-grid .lead {margin-bottom:0;}
 .page-reviews .page-hero + .section {padding-top:32px;}
}

.page-about .page-hero-art {height:auto; max-height:200px; width:100%; object-fit:contain; object-position:center; border:0; border-radius:0; background:transparent;}
.page-about .split-panel {grid-template-columns:1fr;}
.page-about .split-panel > .split-image {display:none;}
.page-contact-us .split-panel {grid-template-columns:1fr;}
.page-contact-us .split-panel > .split-image {display:none;}
.page-gallery .page-hero-art {height:auto; max-height:240px; width:100%; object-fit:contain; object-position:center; border:0; border-radius:0; background:transparent;}
.page-contact-us .page-hero-art {height:auto; max-height:240px; width:100%; object-fit:contain; object-position:center; border:0; border-radius:0; background:transparent;}
@media(max-width:740px) {.page-about .page-hero-art {width:min(240px,100%); max-height:150px; justify-self:center;}}
@media(max-width:740px) {.page-gallery .page-hero-art {width:min(260px,100%); max-height:180px; justify-self:center;}}

/* A single entrance for the About page logo. */
.page-about .page-hero-art {opacity:1; clip-path:none; animation:about-logo-enter 700ms cubic-bezier(.22,.8,.2,1) both;}
@keyframes about-logo-enter {
 from {opacity:0; transform:translateY(14px);}
 to {opacity:1; transform:translateY(0);}
}
@media(prefers-reduced-motion:reduce) {.page-about .page-hero-art {animation:none; transform:none;}}
.motion-paused .page-about .page-hero-art {animation:none; transform:none;}

/* Compact Siddha365 social rail for the homepage. It uses only the clinic's own destinations. */
.social-rail {position:fixed; left:18px; top:225px; transform:translateY(-50%); z-index:900; display:flex; flex-direction:column; align-items:center; gap:8px; width:52px; padding:11px 7px; border:1px solid rgba(185,226,135,.22); border-radius:999px; background:rgba(7,20,14,.76); box-shadow:0 14px 38px rgba(0,0,0,.24); backdrop-filter:blur(14px);}
.social-rail:not(.social-fan-ready) { visibility:hidden; }
.social-rail.social-fan-ready { visibility:visible; }
.social-rail-label {display:none;}
.site-whatsapp-float { position: fixed; left: 18px; top: 225px; z-index: 900; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: #25d366; box-shadow: 0 10px 24px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.14); transition: transform .25s ease, filter .25s ease; }
.site-whatsapp-float:hover, .site-whatsapp-float:focus-visible { filter: brightness(1.12); transform: translateY(-2px); }
.site-whatsapp-float:focus-visible { outline: 2px solid #dfffb8; outline-offset: 3px; }
.site-whatsapp-float svg { width: 21px; height: 21px; fill: currentColor; }
@media (max-width: 900px) { .site-whatsapp-float { left: 10px; } }
@media (max-width: 600px) { .site-whatsapp-float { left: 6px; top: 155px; width: 32px; height: 32px; } .site-whatsapp-float svg { width: 16px; height: 16px; } }
.social-rail a {display:grid; place-items:center; width:34px; height:34px; border-radius:50%; color:#fff; background:rgba(255,255,255,.12); transition:filter .2s ease, transform .2s ease;}
.social-rail a:nth-of-type(1) {background:#25d366;}
.social-rail a:nth-of-type(2) {background:#ff0000;}
.social-rail a:nth-of-type(3) {background:linear-gradient(135deg,#833ab4 0%,#fd1d1d 52%,#fcb045 100%);}
.social-rail a:nth-of-type(4) {background:#1877f2;}
.social-rail a:hover, .social-rail a:focus-visible {color:#fff; filter:brightness(1.14); transform:translateY(-2px);}
.social-rail a:focus-visible {outline:2px solid #e8ffc8; outline-offset:3px;}
.social-rail svg {width:17px; height:17px; fill:currentColor;}
.social-rail a span {position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;}
@media(max-width:900px) {.social-rail {left:10px;}}
@media(max-width:600px) {
  .social-rail { display:flex !important; left:6px; top:155px; transform:translateY(-50%); width:32px; padding:5px 4px; gap:5px; z-index:1100; }
  .social-rail a { width:22px; height:22px; }
  .social-rail svg { width:12px; height:12px; }
}

/* The WhatsApp control fans the social destinations from its center
   to evenly spaced positions on a right-facing arc. */
.social-rail.social-fan-ready {
  width: 44px;
  height: 44px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.social-rail-toggle {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 10px 24px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.14);
  cursor: pointer;
  transition: transform .46s cubic-bezier(.22,.8,.2,1), background-color .3s ease, box-shadow .3s ease;
}
.social-rail-toggle:hover,
.social-rail-toggle:focus-visible { background: #20bd59; box-shadow: 0 12px 28px rgba(0,0,0,.35), 0 0 0 3px rgba(169,220,115,.18); }
.social-rail-toggle:focus-visible { outline: 2px solid #dfffb8; outline-offset: 3px; }
.social-rail-toggle svg { width: 21px; height: 21px; fill: currentColor; transition: transform .46s cubic-bezier(.22,.8,.2,1); }
.social-rail.is-open .social-rail-toggle { background: #20bd59; }
.social-rail-links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; --social-distance: 78px; }
.social-rail.social-fan-ready .social-rail-links a {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 34px;
  height: 34px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-50%) rotate(var(--social-angle)) translateX(0px) rotate(calc(var(--social-angle) * -1)) scale(.35);
  transition: transform .62s cubic-bezier(.22,.8,.2,1), opacity .38s ease, filter .2s ease;
  transition-delay: calc(var(--social-index) * 35ms);
}
.social-rail.social-fan-ready .social-rail-links a:nth-of-type(1) { --social-angle: -72deg; background: #25d366; }
.social-rail.social-fan-ready .social-rail-links a:nth-of-type(1) { animation: whatsapp-soft-shake 2.8s ease-in-out infinite; }
.social-rail.is-open .social-rail-links a:nth-of-type(1) { animation: none; }
@keyframes whatsapp-soft-shake { 0%, 78%, 100% { transform: translate(-50%,-50%) rotate(var(--social-angle)) translateX(var(--social-distance)) rotate(calc(var(--social-angle) * -1)); } 82% { transform: translate(-50%,-50%) rotate(var(--social-angle)) translateX(var(--social-distance)) rotate(calc(var(--social-angle) * -1)) translateX(-1px); } 86% { transform: translate(-50%,-50%) rotate(var(--social-angle)) translateX(var(--social-distance)) rotate(calc(var(--social-angle) * -1)) translateX(1px); } 90% { transform: translate(-50%,-50%) rotate(var(--social-angle)) translateX(var(--social-distance)) rotate(calc(var(--social-angle) * -1)); } }
.social-rail.social-fan-ready .social-rail-links a:nth-of-type(2) { --social-angle: -24deg; background: #ff0000; }
.social-rail.social-fan-ready .social-rail-links a:nth-of-type(3) { --social-angle: 24deg; background: linear-gradient(135deg,#833ab4 0%,#fd1d1d 52%,#fcb045 100%); }
.social-rail.social-fan-ready .social-rail-links a:nth-of-type(4) { --social-angle: 72deg; background: #1877f2; }
.social-rail.is-open .social-rail-links { pointer-events: auto; }
.social-rail.is-open .social-rail-links a { opacity: 1; pointer-events: auto; transform: translate(-50%,-50%) rotate(var(--social-angle)) translateX(var(--social-distance)) rotate(calc(var(--social-angle) * -1)) scale(1); }
.social-rail:not(.is-open) .social-rail-links a { transition-delay: 0ms; }
.social-rail.social-fan-ready .social-rail-links a:hover,
.social-rail.social-fan-ready .social-rail-links a:focus-visible { color: #fff; filter: brightness(1.14); transform: translate(-50%,-50%) rotate(var(--social-angle)) translateX(var(--social-distance)) rotate(calc(var(--social-angle) * -1)) scale(1.08); }
.social-rail.social-fan-ready .social-rail-links a:focus-visible { outline: 2px solid #e8ffc8; outline-offset: 3px; }
.social-rail.social-fan-ready .social-rail-links svg { width: 17px; height: 17px; }
@media(max-width:600px) {
  .social-rail.social-fan-ready { width: 36px; height: 36px; padding: 0; }
  .social-rail-toggle { width: 36px; height: 36px; }
  .social-rail-toggle svg { width: 17px; height: 17px; }
  .social-rail-links { --social-distance: 62px; }
  .social-rail.social-fan-ready .social-rail-links a { width: 26px; height: 26px; }
  .social-rail.social-fan-ready .social-rail-links svg { width: 13px; height: 13px; }
}
@media(prefers-reduced-motion:reduce) {
  .social-rail-toggle,
  .social-rail-toggle svg,
  .social-rail.social-fan-ready .social-rail-links a { transition: none; }
}

/* These mobile headers follow the navbar in normal flow. */
@media(max-width:600px) {
 .page-about .page-hero, .page-contact-us .page-hero {padding-top:24px !important;}
 .page-about .page-hero .breadcrumbs, .page-contact-us .page-hero .breadcrumbs {margin-bottom:18px;}
}

/* Keep the homepage navbar in its own flow above the hero slider. */
.page-home .site-header {
  position: relative;
  top: auto;
  margin-bottom: 0;
  padding-top: 14px;
  padding-bottom: 14px;
  background: #0b130e;
  border-bottom: 1px solid rgba(169, 220, 115, .18);
}
.page-home .home-gallery-section {
  padding-top: clamp(18px, 2.5vw, 32px);
}


/* Keep the shortened Tamil slogan on one desktop line. */
@media (min-width: 721px) {
  .utility-inner > p:first-child { max-width: none; }
  .utility-tamil { white-space: nowrap; }
}

/* Homepage polish: give the desktop header a calm visual hierarchy and protect
   the hero copy from busy slider artwork without changing the mobile layout. */
@media (min-width: 801px) {
  .page-home .desktop-external-brand {
    top: 4px;
    bottom: 4px;
    height: auto;
  }
  .page-home .site-header {
    padding-top: 10px;
    padding-bottom: 0;
    background: #0b130e;
  }
  .page-home .home-gallery-section { padding-top: 0; }
  .page-home .nav-capsule,
  .page-home .nav-bar,
  .page-home .nav-shell {
    max-width: min(1080px, calc(100vw - 48px));
    padding-left: 20px;
    padding-right: 12px;
    gap: clamp(14px, 2vw, 26px);
    background: #111b14;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: rgba(169, 220, 115, .28);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .10);
  }
  .page-home .home-stage-shade {
    background:
      linear-gradient(90deg, rgba(7, 16, 7, .42) 0%, rgba(11, 21, 9, .28) 34%, rgba(10, 16, 12, .06) 59%, transparent 80%),
      linear-gradient(0deg, rgba(7, 16, 8, .28) 0%, transparent 40%);
  }
  .page-home .home-stage-copy {
    max-width: min(560px, 48%);
  }
}

/* A short neon train of light travels around the dark desktop navbar border. */
@media (min-width: 801px) {
  .page-home .nav-capsule,
  .page-home .nav-bar,
  .page-home .nav-shell {
    border-color: rgba(0, 0, 0, .88);
    background: #111b14;
    isolation: isolate;
  }
  .page-home .nav-capsule > *,
  .page-home .nav-bar > *,
  .page-home .nav-shell > * {
    position: relative;
    z-index: 3;
  }
  .page-home .nav-capsule::after,
  .page-home .nav-bar::after,
  .page-home .nav-shell::after {
    position: absolute;
    z-index: 1;
    inset: -1px;
    padding: 2px;
    border-radius: inherit;
    background: conic-gradient(from var(--navbar-train-angle), transparent 0 88%, #70ff00 91%, #eaffb0 93%, #ffffff 94%, #ffffff 97%, #8cff18 98%, #b9ff45 100%);
    filter: drop-shadow(0 0 9px rgba(185, 255, 69, 1));
    pointer-events: none;
    content: '';
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    animation: navbar-train-light 3.8s linear infinite;
  }
}
@property --navbar-train-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes navbar-train-light {
  to { --navbar-train-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .page-home .nav-capsule::after,
  .page-home .nav-bar::after,
  .page-home .nav-shell::after { animation: none; }
}

/* Keep the desktop logo visually separate from the navbar capsule. The
   capsule's border, padding, and navigation spacing remain unchanged. */
@media (min-width: 801px) {
  /* Keep inner page headings clear of the shared navbar. */
  .site-header + #main-content > .page-hero,
  .site-header + #main-content > .section:first-child {
    margin-top: 8px;
  }

  .site-header .nav-capsule > .brand {
    position: absolute;
    top: 50%;
    right: calc(100% + 18px);
    z-index: 4;
    display: flex;
    width: clamp(93px, calc(7vw + 5px), 117px);
    transform: translateY(-50%);
  }
  .site-header .nav-capsule > .brand img {
    width: 100%;
    height: auto;
  }

  .site-header .nav-capsule > .brand img {
    max-width: 95px;
  }
}

/* Keep clinic logos fully visible and static. */
.site-header .brand::before { display: none !important; }
.brand img,
.site-header .brand img,
.review-feed-placeholder > img,
.clinic-statistics__header .eyebrow::before {
  display: none !important;
  content: none !important;
}
.clinic-statistics__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(221, 238, 213, .14);
}
.clinic-statistics__brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.clinic-statistics__brand-logo img {
  display: block;
  width: 96px;
  height: auto;
  object-fit: contain;
}
.clinic-statistics__header .eyebrow {
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
}

/* Footer / Herbal partners brand logo */
.footer-brand .brand img {
  width: 145px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Milestone section: balanced, clean alignment on both desktop and mobile */
.clinic-statistics .clinic-statistic {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 8px clamp(18px, 2.4vw, 36px) 12px;
  min-width: 0;
}
.clinic-statistics .clinic-statistic:first-child {
  padding-left: 0;
}
.clinic-statistics .clinic-statistic__value-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.clinic-statistics .clinic-statistic strong {
  margin: 0;
  color: #f1f4ee;
  font-family: 'Manrope', 'DM Sans', sans-serif;
  font-size: clamp(2.3rem, 4vw, 4.1rem);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -.07em;
  line-height: 1;
}
.clinic-statistics .clinic-statistic__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  color: var(--green);
  flex-shrink: 0;
}
.clinic-statistics .clinic-statistic__icon svg {
  width: 30px;
  height: 30px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}
.clinic-statistics .clinic-statistic__label {
  display: flex;
  align-items: flex-start;
  max-width: 18ch;
  min-height: 2.8em;
  margin-top: 14px;
}
.clinic-statistics .clinic-statistic__detail {
  max-width: 24ch;
  margin-top: 7px;
}
.clinic-statistics .clinic-statistic__line {
  width: 30px;
  height: 1px;
  margin-top: 15px;
}

@media (max-width: 900px) {
  .clinic-statistics__header {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding-bottom: 18px;
  }
  .clinic-statistics__brand-logo {
    justify-content: center;
    margin-inline: auto;
  }
  .clinic-statistics__brand-logo img {
    width: clamp(96px, 24vw, 120px);
    margin-inline: auto;
  }
  .clinic-statistics__header .eyebrow {
    text-align: center;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-brand .brand img {
    margin-inline: auto;
  }
  .clinic-statistics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .clinic-statistics .clinic-statistic {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 14px 18px !important;
  }
  .clinic-statistics .clinic-statistic:first-child {
    padding-left: 14px !important;
  }
  .clinic-statistics .clinic-statistic:nth-child(2) {
    border-left: 1px solid rgba(221, 238, 213, .14);
  }
  .clinic-statistics .clinic-statistic:nth-child(3) {
    padding-left: 14px !important;
    border-left: 0;
    border-top: 1px solid rgba(221, 238, 213, .14);
  }
  .clinic-statistics .clinic-statistic:nth-child(4) {
    border-left: 1px solid rgba(221, 238, 213, .14);
    border-top: 1px solid rgba(221, 238, 213, .14);
  }
  .clinic-statistics .clinic-statistic__value-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-inline: auto;
  }
  .clinic-statistics .clinic-statistic strong {
    font-size: clamp(2rem, 9.5vw, 2.75rem);
    line-height: 1;
  }
  .clinic-statistics .clinic-statistic__icon {
    width: 28px;
    height: 28px;
    margin: 0;
    margin-inline: 0;
  }
  .clinic-statistics .clinic-statistic__icon svg {
    width: 23px;
    height: 23px;
  }
  .clinic-statistics .clinic-statistic__label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 20ch;
    min-height: 2.8em;
    margin-top: 10px;
    margin-inline: auto;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-align: center;
  }
  .clinic-statistics .clinic-statistic__detail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 22ch;
    min-height: 2.8em;
    margin-top: 6px;
    margin-inline: auto;
    font-size: 0.63rem;
    line-height: 1.38;
    text-align: center;
  }
  .clinic-statistics .clinic-statistic__line {
    width: 24px;
    height: 1px;
    margin-top: 12px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .home-founder-section .founder-panel {
    grid-template-columns: 1fr;
  }
  .home-founder-section .founder-panel::before {
    min-height: 300px;
    background-size: contain;
    background-position: center top;
  }
}

@media (max-width: 560px) {
  .home-stats-band.clinic-statistics {
    padding-block: 28px 30px;
  }
  .clinic-statistics__header {
    padding-bottom: 16px;
  }
  .clinic-statistics__header .eyebrow {
    font-size: .61rem;
  }
  .clinic-statistics__grid {
    margin-top: 14px;
  }
  .clinic-statistics .clinic-statistic {
    padding: 18px 10px 16px !important;
  }
  .clinic-statistics .clinic-statistic:first-child,
  .clinic-statistics .clinic-statistic:nth-child(3) {
    padding-left: 10px !important;
  }
  .clinic-statistics .clinic-statistic strong {
    font-size: clamp(1.9rem, 10vw, 2.5rem);
  }
  .clinic-statistics .clinic-statistic__icon {
    width: 25px;
    height: 25px;
  }
  .clinic-statistics .clinic-statistic__icon svg {
    width: 20px;
    height: 20px;
  }
  .clinic-statistics .clinic-statistic__label {
    font-size: .60rem;
    min-height: 2.9em;
  }
  .clinic-statistics .clinic-statistic__detail {
    font-size: .61rem;
    min-height: 2.9em;
  }
  .clinic-statistics .clinic-statistic__line {
    width: 20px;
    margin-top: 10px;
  }
}

@media (max-width: 720px) {
  /* Keep care-guide and gallery artwork fully filled on narrow cards. */
  .condition-image,
  .page-hero-art,
  .gallery-item img {
    object-fit: cover;
    object-position: center 20%;
  }
  .gallery-item img {
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .home-care-section .care-panel-photo {
    overflow: hidden;
    background: #172a19;
    height: 210px !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
  }
  .home-care-section .care-panel-photo img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 24% !important;
  }
}

/* Full-bleed artwork at desktop widths too: source-image padding must not
   create white bands inside treatment, gallery, and home image frames. */
.condition-image,
.gallery-item img {
  object-fit: cover !important;
}
.gallery-item img { inset: 0; width: 100%; height: 100%; }

/* Let treatment cards rise above neighboring cards on hover or keyboard focus. */
.condition-card.reveal {
  transition: opacity .55s ease, transform .25s ease, box-shadow .25s ease,
    border-color .25s ease, background .25s ease;
}
.condition-card.reveal:hover,
.condition-card.reveal:focus-visible {
  position: relative;
  z-index: 2;
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 20px 42px rgba(0, 0, 0, .34);
}

/* Keep partner artwork in soft rounded cards while the marquee scrolls automatically. */
.partner-logo {
  flex: 0 0 132px;
  width: 132px;
  height: 94px;
  border: 1px solid rgba(177, 189, 176, .22);
  border-radius: 22px;
  background: #fff;
  padding: 6px;
  overflow: hidden;
}
.partner-logo .partner-art {
  --art-max-height: 76px;
  position: relative;
  width: min(100%, calc(var(--art-max-height) * var(--art-ratio)));
  height: auto;
  aspect-ratio: var(--art-ratio);
  border-radius: 16px;
  overflow: hidden;
}
.partner-logo .partner-art img { position: absolute !important; max-width: none; max-height: none; object-fit: fill !important; }
.partner-art[data-partner="IMPCOPS"] img { width: 187.1345% !important; height: 114.9194% !important; left: -43.2749% !important; top: -6.4516% !important; }
.partner-art[data-partner="SKM Siddha"] img { width: 111.8881% !important; height: 508.9286% !important; left: -3.8462% !important; top: -208.9286% !important; }
.partner-art[data-partner="Nagarjuna Herbal Concentrates"] { --art-ratio: 1.62987; }
.partner-art[data-partner="Nagarjuna Herbal Concentrates"] img { width: 127.4900% !important; height: 185.0649% !important; left: -12.3506% !important; top: -30.5195% !important; }
.partner-art[data-partner="Tampcol"] img { width: 109.5890% !important; height: 243.5897% !important; left: -4.7945% !important; top: -73.5043% !important; }
.partner-art[data-partner="Dabur"] img { width: 116.7883% !important; height: 116.3265% !important; left: -8.7591% !important; top: -8.1633% !important; }
.partner-art[data-partner="Dr Siva"] img { width: 209.1503% !important; height: 306.4516% !important; left: -71.2418% !important; top: -109.6774% !important; }
.partner-art[data-partner="Himalaya"] { --art-ratio: 2.52679; }
.partner-art[data-partner="Himalaya"] img { width: 113.0742% !important; height: 254.4643% !important; left: -6.7138% !important; top: -76.7857% !important; }
.partner-art[data-partner="Vasu"] { --art-ratio: 2.25532; }
.partner-art[data-partner="Vasu"] img { width: 100.6289% !important; height: 202.1277% !important; left: -0.6289% !important; top: -47.5177% !important; }
.partner-marquee { overflow: hidden; mask-image: none; }
.partner-track { animation: partner-scroll 42s linear infinite; will-change: transform; }
.partner-set { gap: 8px; padding-right: 8px; }
@media (max-width: 600px) {
  .partner-logo { flex-basis: 118px; width: 118px; height: 84px; }
  .partner-logo .partner-art { --art-max-height: 66px; }
}
@media (prefers-reduced-motion: reduce) {
  .condition-card.reveal:hover,
  .condition-card.reveal:focus-visible { transform: none; }
}

/* Milestones heading size: explicit responsive override */
.home-stats-mobile-head span { font-size: clamp(1.12rem, 2vw, 1.55rem); line-height: 1.15; }
@media (max-width: 600px) { .home-stats-mobile-head span { font-size: clamp(1rem, 5.2vw, 1.38rem); line-height: 1.15; } }

/* Final override: milestones text only */
.home-stats-mobile-head > span {
  font-size: 1.65rem !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
}
@media (max-width: 600px) {
  .home-stats-mobile-head > span { font-size: 1.3rem !important; }
}

.home-review-heading { display:grid; grid-template-columns:180px minmax(0,1fr); align-items:center; gap:24px; }
.home-review-badge { display:block; width:180px; height:180px; object-fit:contain; }
.home-review-heading > div { min-width:0; transform:translateX(10px); }
@media (max-width:600px) { .home-review-heading { grid-template-columns:112px minmax(0,1fr); gap:14px; } .home-review-badge { width:112px; height:112px; } .home-review-heading > div { transform:none; } }


.treatment-heading { display:grid; grid-template-columns:130px minmax(0,1fr); align-items:center; gap:24px; }
.treatment-heading-logo { width:130px; height:auto; object-fit:contain; }
@media (max-width:600px) { .treatment-heading { grid-template-columns:82px minmax(0,1fr); gap:14px; } .treatment-heading-logo { width:82px; } }

/* Match the Gallery hero logo treatment without changing the grid. */
.page-treatments .treatment-heading-logo { height:auto; max-height:300px; width:100%; object-fit:contain; object-position:center; border:0; border-radius:0; background:transparent; }
@media(max-width:740px) { .page-treatments .treatment-heading-logo { width:min(300px,100%); max-height:210px; justify-self:center; } }

/* The generated treatment art has a light border baked into its pixels.
   Keep that edge outside both desktop and mobile image frames. */
.page-treatments .page-hero-grid > .page-hero-art:not(.treatment-heading-logo) {
  transform: scale(1.10) !important;
  clip-path: inset(3.5% 3.5% round 18px);
}
.page-treatments .condition-card .condition-image {
  transform: scale(1.10);
}
@media (max-width: 740px) {
  .page-treatments .page-hero-grid > .page-hero-art:not(.treatment-heading-logo) {
    width: 100%;
    height: clamp(220px, 64vw, 330px);
    max-height: none;
    justify-self: stretch;
    object-fit: cover;
    object-position: center 35%;
    border: 0;
  }
  .gallery-item img,
  .home-care-section .care-panel-photo img {
    transform: scale(1.10);
  }
  .gallery-item:hover img { transform: scale(1.10); }
}
