@font-face {
  font-family:"Noto Sans";
  src:url(./assets/noto-regular.woff) format("woff");
  font-weight:400;
  font-display:swap;
}
@font-face {
  font-family:"Noto Sans";
  src:url(./assets/noto-bold.woff) format("woff");
  font-weight:700;
  font-display:swap;
}
:root {
  --blue:#24527a;
  --rose:#c94c7c;
  --sky:#9ccfe3;
  --ink:#1b3e5b;
  --text:#365470;
  --rose-ink:#934063;
  --ice:#edf6fa;
  --pink:#f9eef3;
  --edge:#dce9ef;
  --white:#fff;
  --paper:#fbfdfe;
}
*,*::before,*::after {box-sizing:border-box}
html {scroll-behavior:smooth;scroll-padding-top:100px}
body {margin:0;background:var(--white);color:var(--ink);font:400 16px/1.65 "Noto Sans",system-ui,sans-serif}
body:has(dialog[open]) {overflow:hidden}
a {color:inherit;text-decoration:none}
button {font:inherit;color:inherit}
h1,h2,h3,figure,p {margin:0}
h1,h2,h3 {font-weight:700;line-height:1.13;letter-spacing:-.043em;text-wrap:balance}
h1 {font-size:clamp(39px,5.15vw,72px);line-height:1.07}
h2 {font-size:clamp(29px,3.3vw,44px)}
h3 {font-size:clamp(18px,1.75vw,23px);letter-spacing:-.026em}
svg:not(.icons) {width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.icons {position:absolute;pointer-events:none}
img {display:block;max-width:100%;height:auto}
:focus-visible {outline:3px solid var(--rose-ink);outline-offset:4px}
.wrap {width:min(1170px,calc(100% - 104px));margin-inline:auto}
.skip {position:fixed;z-index:9;inset:10px auto auto 10px;padding:10px 16px;background:var(--white);transform:translateY(-160%)}
.skip:focus {transform:none}

.header {position:sticky;top:0;z-index:5;background:var(--white);border-bottom:1px solid var(--edge)}
.header-content {position:relative;min-height:87px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand {display:flex;align-items:center;gap:10px;flex:none}
.brand img {width:46px;height:69px;object-fit:contain}
.brand span {font-size:18px;font-weight:700;line-height:1.16;letter-spacing:-.035em}
.brand small {display:block;margin-top:5px;color:var(--text);font-size:10px;letter-spacing:.12em}
.navigation {display:flex;gap:23px;font-size:14px;font-weight:700}
.navigation a {position:relative;padding-block:13px;white-space:nowrap}
.navigation a:hover,.navigation a[aria-current],.navigation a.nav-section {color:var(--rose-ink)}
.navigation a:is([aria-current],.nav-section)::after {content:"";position:absolute;inset:auto 0 8px;height:1px;background:var(--rose)}
.menu-toggle {display:none}
.button {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;
  padding:8px 16px;border:1px solid transparent;border-radius:10px;font-size:14px;font-weight:700;
  line-height:1.2;white-space:nowrap;transition:background-color .2s ease,border-color .2s ease;
}
.button svg {width:18px;height:18px}
.primary {background:var(--blue);color:var(--white)}
.primary:hover {background:var(--ink)}
.secondary {background:var(--white);border-color:var(--edge);color:var(--blue)}
.secondary:hover {background:var(--ice);border-color:var(--sky)}
.header-call {min-height:43px}
.icon-button {place-items:center;width:43px;height:43px;border:1px solid var(--edge);border-radius:10px;background:var(--white);color:var(--blue);cursor:pointer}
.icon-button:hover {background:var(--ice)}

.breadcrumb {padding-block:13px;color:var(--text);font-size:13px;line-height:1.5}
.breadcrumb ol {display:flex;flex-wrap:wrap;gap:5px 9px;list-style:none;margin:0;padding:0}
.breadcrumb li+li::before {content:"/";margin-right:9px;color:var(--rose-ink)}
.breadcrumb a:hover {text-decoration:underline;text-underline-offset:3px}
.breadcrumb [aria-current] {font-weight:700}
.hero {background:var(--ice);overflow:hidden}
.hero-content {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.02fr);align-items:center;gap:clamp(25px,5vw,78px);padding-block:clamp(40px,6vw,78px)}
.home-hero {background:var(--paper)}
.home-hero .hero-content {padding-block:clamp(42px,5.7vw,86px)}
.hero-copy {min-width:0}
.eyebrow {display:flex;align-items:center;gap:7px;color:var(--rose-ink);font-size:12px;font-weight:700;letter-spacing:.105em;text-transform:uppercase}
.eyebrow svg {width:15px;height:15px}
.hero h1 {margin-top:13px}
.home-hero h1 {text-wrap:initial}
.home-hero h1 span {display:block;color:var(--rose-ink)}
.hero-summary {margin-top:16px;max-width:47ch;font-size:clamp(16px,1.38vw,19px);line-height:1.64;color:var(--text)}
.actions {display:flex;flex-wrap:wrap;gap:9px;margin-top:23px}
.down-link {display:inline-flex;align-items:center;gap:8px;margin-top:20px;color:var(--blue);font-size:13px;font-weight:700}
.down-link:hover {text-decoration:underline;text-underline-offset:4px}
.down-link span {display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:var(--ice)}
.down-link svg {width:14px;height:14px}
.hero-art {display:grid;place-items:center;margin:0;min-width:0;border-radius:20px;overflow:hidden;background:#f8fcfd}
.hero-art img {width:100%;height:auto;object-fit:contain}
.hero-art-home {background:transparent}
.hero-art-home img {max-height:460px}
.inner-hero h1 {font-size:clamp(35px,4.7vw,62px);text-wrap:initial}
.inner-hero .hero-art img {max-height:340px}
.hero-text-only .hero-content {grid-template-columns:1fr}
.hero-text-only .hero-copy {max-width:880px}
.hero-media {min-width:0}
.hero-frame {overflow:hidden;border-radius:16px;background:var(--paper)}
.hero-frame img {width:100%;aspect-ratio:1.65;object-fit:cover;object-position:50% 53%}
.hero-frame.photo-pharmacy img {object-position:50% 44%}
.hero-caption {display:flex;align-items:center;gap:7px;margin-top:9px;font-size:13px;color:var(--text)}
.mini-icon {display:grid;place-items:center;width:25px;height:25px;background:var(--white);border-radius:50%}
.mini-icon svg {width:13px;height:13px}
.info-panel {padding:clamp(23px,4vw,48px);border:1px solid var(--edge);border-radius:17px;background:var(--white)}
.credential-years {font-size:clamp(46px,6.5vw,79px);font-weight:700;line-height:1;letter-spacing:-.07em}
.credential-years span {font-size:.45em;color:var(--rose-ink);letter-spacing:0}
.credential-years+p {margin-block:10px;color:var(--text)}
.credential-details {font-weight:700}
.facility-stage ul {margin-block:0 13px;padding-left:19px;color:var(--text)}
.facility-stage li+li {margin-top:4px}
.facility-stage li::marker {color:var(--rose-ink)}
.facility-stage .service-icon {margin-bottom:12px}

.section {padding-block:clamp(48px,6.3vw,84px)}
.section-heading {margin-bottom:23px}
.service-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.service-card,.guide-card {
  display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:19px 17px;
  border:1px solid var(--edge);border-radius:15px;background:var(--white);
  transition:background-color .23s ease,border-color .23s ease;
}
.service-card:hover,.guide-card:hover {border-color:var(--sky);background:var(--paper)}
.service-card h3,.guide-card h3 {text-wrap:initial}
.service-card p,.guide-card h3+p {margin-top:7px;color:var(--text);font-size:14px;line-height:1.56}
.service-icon {
  display:grid;place-items:center;width:44px;height:44px;margin-bottom:14px;
  border-radius:11px;background:var(--ice);color:var(--blue);
}
.service-icon.rose {background:var(--pink);color:var(--rose-ink)}
.service-icon svg {width:21px;height:21px}
.service-visual {display:grid;place-items:center;width:61px;height:61px;margin-bottom:13px;border-radius:15px;background:var(--ice)}
.service-visual img {width:48px;height:48px;object-fit:contain}
.service-card:nth-child(2n) .service-visual {background:var(--pink)}
.card-action {display:inline-flex;align-items:center;gap:5px;margin-top:auto;padding-top:12px;color:var(--rose-ink);font-size:13px;font-weight:700}
.card-action svg {width:15px;height:15px}
:is(.service-card,.guide-card):hover .card-action {text-decoration:underline;text-underline-offset:4px}
.doctor {background:var(--pink)}
.doctor-grid {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;gap:22px 50px;padding-block:clamp(33px,5vw,61px)}
.doctor h2 {margin-top:6px}
.doctor .credential {color:var(--rose-ink);margin-top:6px;font-weight:700}
.doctor-bio p {max-width:53ch;color:var(--text)}
.doctor-bio .text-link {margin-top:11px}
.text-link {display:inline-flex;align-items:center;gap:6px;color:var(--blue);font-size:14px;font-weight:700}
.text-link svg {width:15px;height:15px}
.text-link:hover {text-decoration:underline;text-underline-offset:4px}
.hospital-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);align-items:center;gap:clamp(22px,6vw,80px)}
.hospital-copy h2 {margin-top:7px}
.hospital-copy h2+p {margin-top:12px;max-width:45ch;color:var(--text)}
.section-end,.related {display:flex;flex-wrap:wrap;align-items:center;gap:9px 20px;margin-top:14px}
.related {margin-top:8px;margin-bottom:clamp(28px,4.5vw,62px)}
.related a,.hospital-copy .text-link {padding:7px 11px;border:1px solid var(--edge);border-radius:8px}
.related a:hover,.hospital-copy .text-link:hover {background:var(--ice)}
.photo-link {display:block;position:relative;overflow:hidden;border-radius:13px;background:var(--ice)}
.photo-link img {width:100%;aspect-ratio:1.54;object-fit:cover;object-position:center 55%}
.hospital-photo .photo-link img {aspect-ratio:1.65;object-position:center 49%}
.photo-link .icon-button {display:grid;position:absolute;right:10px;bottom:10px;width:37px;height:37px}
.photo-link .icon-button svg {width:16px;height:16px}
.photo-link:hover .icon-button {background:var(--ice)}
.hospital-photo figcaption,.gallery-item figcaption {margin-top:7px;font-size:13px;color:var(--text)}
.gallery,.guide-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.gallery-item .photo-waiting img {object-position:center 68%}
.gallery-item .photo-frontage img {object-position:center 68%}
.guide-band {background:var(--ice);margin-bottom:clamp(34px,5vw,67px)}
.guide-card>div {min-width:0;display:flex;flex-direction:column;align-items:flex-start;height:100%}
.guide-card .eyebrow {font-size:10px;margin-bottom:6px}

.reading-section,.faq {display:grid;grid-template-columns:minmax(190px,.7fr) minmax(0,1.8fr);gap:20px clamp(22px,5vw,65px)}
.reading-section,.faq {padding-bottom:clamp(30px,4.8vw,64px)}
.reading-section .section-heading,.faq .section-heading {margin:0}
.topic-list {display:grid;gap:14px}
.topic {padding:17px 19px;border:1px solid var(--edge);border-radius:12px;background:var(--paper)}
.topic h3 {text-wrap:initial}
.topic p {margin-top:6px;max-width:66ch;color:var(--text)}
.faq {padding-top:20px}
.faq details {border-bottom:1px solid var(--edge);padding-block:10px}
.faq details:first-child {border-top:1px solid var(--edge)}
.faq summary {display:flex;justify-content:space-between;align-items:center;gap:8px;padding:5px 0;cursor:pointer;list-style:none;font-weight:700;line-height:1.45}
.faq summary::-webkit-details-marker {display:none}
.faq summary span {width:23px;height:23px;position:relative;flex:none;border-radius:50%;background:var(--ice)}
.faq summary span::before,.faq summary span::after {position:absolute;content:"";left:6px;top:10px;width:11px;height:2px;border-radius:2px;background:var(--blue);transition:transform .2s ease}
.faq summary span::after {transform:rotate(90deg)}
.faq [open] summary span::after {transform:none}
.faq .answer {padding-block:6px;max-width:65ch;color:var(--text)}

.visit {padding-bottom:clamp(36px,6vw,77px)}
.visit-panel {display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px;padding:clamp(22px,4.5vw,51px);background:var(--ice);border-radius:16px}
.visit-panel h2 {margin-top:6px}
.visit-panel address {margin-top:10px;color:var(--text);font-style:normal}
.visit-buttons {margin-top:0}
.visit-note {margin-top:8px;color:var(--text);font-size:13px}
.emergency-label {margin-top:8px;font-size:13px;font-weight:700}
.emergency-label+.visit-note {margin-top:1px}
.footer {background:var(--paper);border-top:1px solid var(--edge)}
.footer-grid {display:grid;grid-template-columns:1.2fr 1fr .7fr 1fr;align-items:start;gap:18px;padding-block:28px}
.footer-links,.footer-contact {display:grid;gap:7px;font-size:14px}
.footer a:hover {text-decoration:underline;text-underline-offset:4px}
.footer-contact svg {width:13px;height:13px;vertical-align:middle}
.mobile-contact {display:none}

dialog {width:min(630px,calc(100% - 24px));max-height:calc(100% - 24px);padding:12px;border:1px solid var(--edge);border-radius:15px;background:var(--white);color:var(--blue)}
dialog::backdrop {background:#1b3e5bbf}
.dialog-bar {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 8px 2px;font-weight:700}
.dialog-bar .icon-button,.gallery-controls .icon-button {display:grid}
dialog img {margin:auto;max-height:calc(100dvh - 167px);object-fit:contain;border-radius:8px}
.gallery-controls {display:flex;align-items:center;justify-content:center;gap:12px;padding-top:8px}
.gallery-controls[hidden] {display:none}
.gallery-controls button {font-size:26px;line-height:1}
.photo-count {min-width:54px;text-align:center;font-size:13px}

.motion-ready .reveal.pending {opacity:0;translate:0 7px}
.motion-ready .reveal.revealed {animation:appear .39s var(--delay,0ms) ease-out both}
.hero-art {animation:appear .42s ease-out both}
@keyframes appear {from {opacity:.36;translate:0 7px} to {opacity:1;translate:0 0}}

@media (max-width:1060px) {
  .wrap {width:calc(100% - 64px)}
  .navigation {gap:16px}
}
@media (max-width:950px) {
  .wrap {width:calc(100% - 44px)}
  .header-content {min-height:76px;gap:9px}
  .brand img {width:41px;height:62px}
  .brand span {font-size:17px}
  .menu-toggle {display:grid;order:3}
  .header-call {margin-left:auto}
  .navigation {
    display:none;position:absolute;top:100%;inset-inline:0;flex-direction:column;align-items:stretch;gap:0;
    padding:8px 13px;border:1px solid var(--edge);border-radius:0 0 12px 12px;background:var(--white);
  }
  .navigation.is-open {display:flex}
  .navigation a:is([aria-current],.nav-section)::after {right:auto;width:27px}
  .service-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .reading-section,.faq {grid-template-columns:1fr;gap:14px}
  .footer-grid {grid-template-columns:1fr 1fr}
}
@media (max-width:620px) {
  html {scroll-padding-top:85px}
  body {padding-bottom:calc(61px + env(safe-area-inset-bottom))}
  .wrap {width:calc(100% - 34px)}
  .header-content {min-height:73px}
  .header-call {display:none}
  .menu-toggle {margin-left:auto}
  .hero-content,.hospital-grid,.doctor-grid,.visit-panel {grid-template-columns:1fr;gap:17px}
  .hero-content,.home-hero .hero-content {padding-block:28px 32px}
  .hero h1 {margin-top:9px}
  .home-hero h1 {font-size:clamp(35px,9.7vw,53px)}
  .inner-hero h1 {font-size:clamp(32px,8.4vw,47px)}
  .hero-summary {margin-top:12px;font-size:15px}
  .actions {margin-top:16px}
  .actions .button {min-height:43px;padding-inline:10px;font-size:13px}
  .down-link {display:none}
  .hero-art img {max-height:280px}
  .hero-art-home img {max-height:260px}
  .inner-hero .hero-art img {max-height:240px}
  .section {padding-block:39px}
  .section-heading {margin-bottom:16px}
  .service-grid,.gallery {gap:9px}
  .service-card {padding:13px 11px}
  .service-card p,.guide-card h3+p {font-size:13px}
  .service-visual {width:53px;height:53px;margin-bottom:11px}
  .service-visual img {width:41px;height:41px}
  .doctor-grid {padding-block:28px}
  .hospital-grid .hospital-copy {order:-1}
  .photo-link .icon-button {width:32px;height:32px;right:7px;bottom:7px}
  .photo-link .icon-button svg {width:14px;height:14px}
  .gallery {grid-template-columns:repeat(2,minmax(0,1fr))}
  .guide-grid {grid-template-columns:1fr;gap:8px}
  .guide-card {padding:15px}
  .guide-card .service-icon {width:36px;height:36px;margin-bottom:9px}
  .topic {padding:13px 14px}
  .topic p,.faq .answer {font-size:15px}
  .visit-buttons {margin-top:0}
  .footer-grid {gap:17px 11px}
  .footer-grid>.brand,.footer-contact {grid-column:1/-1}
  .footer-grid>.brand img {width:35px;height:53px}
  .mobile-contact {
    position:fixed;inset:auto 0 0;z-index:4;display:grid;grid-template-columns:1fr 1fr;gap:8px;
    padding:7px 17px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--edge);background:var(--white);
  }
  .mobile-contact .button {min-height:43px;padding-inline:6px}
}
@media (max-width:350px) {
  .service-grid {grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {scroll-behavior:auto!important;animation:none!important;transition:none!important}
  .motion-ready .reveal.pending {opacity:1;translate:none}
}

/* Local care navigation and bilingual patient information */
@font-face {
  font-family:"Noto Sans Tamil";
  src:url(./assets/noto-tamil.woff) format("woff");
  font-weight:400;
  font-display:swap;
}
:lang(ta) {font-family:"Noto Sans Tamil","Noto Sans",system-ui,sans-serif;letter-spacing:normal}
:lang(ta) h1,:lang(ta) h2,:lang(ta) h3 {letter-spacing:normal;line-height:1.43;text-wrap:initial}
.navigation {align-items:center;gap:16px}
.service-menu {position:relative}
.service-menu summary {display:flex;align-items:center;gap:7px;list-style:none;cursor:pointer;padding-block:13px;white-space:nowrap}
.service-menu summary::-webkit-details-marker {display:none}
.service-menu summary span {width:7px;height:7px;rotate:45deg;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;margin-top:-3px}
.service-menu[open] summary span {rotate:225deg;margin-top:3px}
.service-menu summary:hover,.service-menu summary.nav-section,.service-menu[open] summary {color:var(--rose-ink)}
.service-menu-links {position:absolute;top:calc(100% + 4px);left:-13px;min-width:212px;padding:5px 8px;border:1px solid var(--edge);border-radius:10px;background:var(--white);box-shadow:0 12px 24px #24527a12}
.service-menu-links a {display:block;padding:9px 10px;border-radius:5px}
.service-menu-links a:hover,.service-menu-links a[aria-current] {background:var(--ice)}
.service-menu-links a[aria-current]::after {display:none}
.tamil-home {margin-left:13px}
.tamil-brief {margin-top:24px}
.tamil-brief .info-panel {padding:17px 21px;background:var(--ice)}
.tamil-brief h2 {font-size:clamp(20px,2.25vw,27px)}
.tamil-brief p {margin-block:6px 7px;color:var(--text)}
.tamil-brief .text-link {font-size:13px}
.tamil-care h2 {margin-bottom:14px}
.tamil-care h3 a {font-size:inherit}
.care-search {max-width:850px}
.care-search-form {margin-top:19px}
.care-search-form label {display:block;font-weight:700;margin-bottom:6px}
.care-search-form>div {display:flex;gap:8px}
.care-search-form input {min-width:0;flex:1;border:1px solid var(--edge);border-radius:8px;padding:9px 12px;font:inherit;color:var(--ink);font-family:"Noto Sans","Noto Sans Tamil",system-ui,sans-serif}
.care-search-form small {display:block;color:var(--text);margin-top:6px}
.care-examples {display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}
.care-examples button {padding:5px 9px;border:1px solid var(--edge);border-radius:7px;background:var(--white);color:var(--blue);font-size:13px;cursor:pointer}
.care-examples button:hover {background:var(--ice)}
.care-results {display:grid;gap:10px;margin-top:18px}
.care-browse {display:flex;flex-wrap:wrap;gap:13px;margin-top:20px}
@media (max-width:1060px) {.navigation {gap:13px}}
@media (max-width:950px) {
  .navigation {gap:0;align-items:stretch;max-height:calc(100dvh - 80px);overflow:auto}
  .service-menu-links {position:static;box-shadow:none;margin-bottom:4px;background:var(--paper)}
}
@media (max-width:420px) {
  .care-search-form>div {flex-direction:column}
  .tamil-home {display:inline-flex;margin:4px 0 0 0}
}
