:root {
  color-scheme: light;
  --ink: #263746;
  --body: #4e5d69;
  --muted: #697987;
  --teal: #145b9c;
  --teal-dark: #104a7d;
  --teal-light: #eaf2f9;
  --coral: #d83d35;
  --paper: #f5f7fa;
  --white: #fff;
  --line: #e2e8e3;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, 'Noto Sans Devanagari', sans-serif;
  --devanagari: 'Noto Sans Devanagari', 'Nirmala UI', 'Kohinoor Devanagari', system-ui, sans-serif;
  --page: 1160px;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--body); background: var(--paper); font-size: 16px; line-height: 1.7; }
body[lang='mr'], html[lang='mr'] body, [lang='mr'] { font-family: var(--devanagari); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal); }
h1, h2, h3, p, dl, dd { margin-top: 0; }
h1, h2, h3 { color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; line-height: 1.12; }
html[lang='mr'] h1, html[lang='mr'] h2, html[lang='mr'] h3 { font-family: var(--devanagari); letter-spacing: 0; line-height: 1.35; }
h1 { max-width: 690px; margin-bottom: 24px; font-size: clamp(3rem, 6vw, 5.5rem); }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { margin-bottom: 12px; font-size: 1.25rem; line-height: 1.4; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #e3a486; outline-offset: 4px; }
.shell { width: min(var(--page), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: 8px; left: 8px; padding: 10px 16px; transform: translateY(-160%); border-radius: 5px; background: var(--teal-dark); color: var(--white); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 2; border-bottom: 1px solid rgba(38, 55, 70, .1); background: var(--white); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; flex: 0 1 300px; align-items: center; gap: 11px; color: var(--ink); font-family: var(--serif); font-size: 15px; font-weight: 600; line-height: 1.25; }
.brand > span:last-child { max-width: 250px; }
.brand:hover { color: var(--teal-dark); }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.brand-mark { width: 37px; color: var(--teal); }
.brand-mark svg { width: 100%; }
.desktop-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); color: var(--ink); font-size: 13px; font-weight: 600; }
.desktop-nav > a:not(.button):hover, .nav-links > a:not(.button):hover { color: var(--teal); }
.language-switch { color: var(--teal); white-space: nowrap; }
.site-menu { display: none; }
.site-menu summary { cursor: pointer; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border: 1px solid transparent; border-radius: 4px; font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center; transition: background-color .18s ease, border-color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--teal); color: var(--white); }
.button-primary:hover { background: var(--teal-dark); color: var(--white); }
.button-secondary { border-color: #bdcbd8; color: var(--teal-dark); }
.button-secondary:hover { border-color: var(--teal); background: var(--teal-light); color: var(--teal-dark); }
.button-disabled { cursor: not-allowed; opacity: .56; }

.hero { position: relative; overflow: hidden; padding: 80px 0 66px; background: linear-gradient(112deg, #fff 0%, #fff 51%, #f5f7fa 51%, #f5f7fa 100%); }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(42px, 8vw, 112px); }
.hero-copy { padding: 12px 0; }
.eyebrow { margin-bottom: 17px; color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
html[lang='mr'] .eyebrow { font-size: 13px; letter-spacing: .03em; text-transform: none; }
.hero h1 { max-width: 590px; }
.hero-intro { max-width: 520px; margin-bottom: 27px; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.appointment-note { max-width: 490px; margin: 15px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.photo-placeholder { position: relative; min-height: 410px; display: flex; overflow: hidden; align-items: flex-end; justify-content: flex-start; padding: 25px; border: 1px solid rgba(20, 91, 156, .12); border-radius: 3px; background: linear-gradient(145deg, #e7eef5 0%, #e7eef5 48%, #b7cde0 48%, #b7cde0 71%, #f1dedb 71%); }
.hero-photo:not(.photo-placeholder) { min-height: 410px; overflow: hidden; padding: 0; }
.hero-photo:not(.photo-placeholder)::before { display: none; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide { opacity: 0; transition: opacity .8s ease; }
.hero-slide.is-current { opacity: 1; }
.hero-photo::before { position: absolute; top: 12%; right: 13%; width: 39%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; content: ''; }
.placeholder-sun { position: absolute; top: 23%; right: 26%; width: 17%; aspect-ratio: 1; border-radius: 50%; background: #f0d8d5; }
.placeholder-leaf { position: absolute; bottom: 23%; width: 27%; height: 46%; border-radius: 95% 0 95% 0; background: rgba(20, 91, 156, .72); transform: rotate(-24deg); }
.leaf-one { right: 21%; }
.leaf-two { right: 6%; bottom: 11%; height: 35%; background: rgba(57, 119, 175, .76); transform: rotate(28deg) scaleX(-1); }
.placeholder-label, .placeholder-caption { position: relative; z-index: 1; display: block; padding: 7px 11px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 11px; }
.placeholder-caption { position: absolute; right: 25px; bottom: 25px; color: var(--muted); }
.hero-rule { height: 1px; margin-top: 66px; background: var(--line); }

.section { padding: 92px 0; }
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(40px, 9vw, 125px); }
.about-grid h2 { max-width: 440px; }
.about-copy { max-width: 650px; margin: 35px 0 0; font-size: 18px; line-height: 1.85; }
.about-details { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 76px); margin-top: 12px; }
.about-details > p, .facility-copy p { margin: 0; font-size: 15px; line-height: 1.8; }
.facility-copy h3 { margin-bottom: 9px; font-size: 1.1rem; }
.treatment-section { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 70px; margin-bottom: 34px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 500px; margin: 0 0 5px; font-size: 14px; }
.treatment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.treatment-card { min-height: 255px; padding: 23px 24px 21px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.76); }
.treatment-photo { width: 100%; height: 130px; margin-bottom: 18px; object-fit: cover; }
.treatment-description { min-height: 70px; margin-bottom: 15px; font-size: 13px; line-height: 1.7; }
.team-section { padding: 70px 0; background: var(--teal-light); }
.doctor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid rgba(20, 91, 156, .14); background: rgba(20, 91, 156, .14); }
.doctor-card { min-height: 190px; padding: 26px 28px; background: var(--white); }
.doctor-card h3 { margin-bottom: 8px; }
.doctor-card p:last-child { max-width: 570px; margin-bottom: 0; font-size: 14px; }
.doctor-photo { width: 96px; height: 96px; margin-bottom: 18px; border-radius: 50%; object-fit: cover; }
.doctor-team-photo { grid-column: 1 / -1; width: min(100%, 760px); height: 410px; overflow: hidden; margin: 28px auto 0; background: var(--white); }
.doctor-team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.doctor-card-kicker { margin-bottom: 10px; color: var(--teal-dark); font-size: 10px; font-weight: 700; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
html[lang='mr'] .doctor-card-kicker { font-size: 12px; letter-spacing: 0; text-transform: none; }
.doctor-lead { background: #f9fbfd; }
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr .75fr; gap: clamp(50px, 10vw, 140px); }
.contact-copy > p:not(.eyebrow):not(.appointment-note) { max-width: 460px; margin-bottom: 22px; }
.contact-details { margin: 0; border-top: 1px solid var(--line); }
.contact-details > div { display: grid; grid-template-columns: 135px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-details dt { color: var(--ink); font-size: 13px; font-weight: 700; }
.contact-details dd { margin: 0; font-size: 13px; }
.map-link { display: inline-flex; align-items: center; margin-top: 10px; padding: 7px 11px; border: 1px solid #b9d2e8; border-radius: 4px; background: var(--teal-light); color: var(--teal-dark); font-weight: 700; line-height: 1.35; }
.map-link:hover { border-color: var(--teal); background: #dcebf7; color: #0b3d68; text-decoration: underline; text-underline-offset: 3px; }
.site-footer { padding: 29px 0; background: #263746; color: rgba(255,255,255,.76); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.footer-brand { color: var(--white); }
.footer-brand small { color: rgba(255,255,255,.58); }
.footer-inner p { max-width: 420px; margin: 0; font-size: 11px; }
.footer-inner > span { font-size: 11px; white-space: nowrap; }

@media (max-width: 960px) {
  .desktop-nav { gap: 14px; }
  .desktop-nav > a { font-size: 12px; }
  .desktop-nav .button { padding-inline: 13px; }
  .hero { padding-top: 55px; }
  .hero-grid { gap: 42px; }
  .photo-placeholder { min-height: 355px; }
  .team-panel { grid-template-columns: 64px 1fr; }
  .team-placeholder { grid-column: 2; }
}
@media (max-width: 760px) {
  .shell { width: min(var(--page), calc(100% - 36px)); }
  .header-inner { min-height: 74px; }
  .desktop-nav { display: none; }
  .site-menu { position: relative; display: block; }
  .site-menu summary { width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; list-style: none; }
  .site-menu summary::-webkit-details-marker { display: none; }
  .site-menu summary span { width: 21px; height: 2px; background: var(--teal-dark); }
  .nav-links { position: absolute; top: calc(100% + 15px); right: -4px; width: min(330px, calc(100vw - 36px)); display: grid; gap: 0; padding: 12px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 16px 40px rgba(23,47,45,.13); }
  .nav-links > a:not(.button) { padding: 11px 9px; }
  .nav-links .button { margin-top: 8px; }
  .hero { padding: 42px 0 0; background: var(--paper); }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 4.3rem); }
  .hero-intro { font-size: 16px; }
  .photo-placeholder { min-height: 280px; }
  .hero-photo:not(.photo-placeholder) { min-height: 280px; }
  .hero-rule { margin-top: 0; }
  .section { padding: 66px 0; }
  .about-grid, .section-heading, .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-copy { margin-top: 5px; font-size: 16px; }
  .about-details { grid-template-columns: 1fr; gap: 18px; margin-top: 4px; }
  .section-heading { margin-bottom: 25px; }
  .treatment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .treatment-card { min-height: 280px; padding: 18px 15px; }
  .treatment-description { min-height: 100px; }
  .team-section { padding: 54px 0; }
  .doctor-card { min-height: 170px; padding: 20px; }
  .doctor-team-photo { height: 320px; margin-top: 18px; }
  .contact-grid { gap: 34px; }
  .contact-details > div { grid-template-columns: 115px 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 13px; }
}
@media (max-width: 380px) {
  .treatment-grid { grid-template-columns: 1fr; }
  .treatment-card { min-height: auto; }
  .treatment-description { min-height: auto; }
  .doctor-grid { grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
