/* Sharan Hospital — production styles
   Design tokens and values copied from SharanLogoV1.dc.html (docs/dev.md). */

:root {
  --navy: #1E2F5C;
  --navy-dark: #1B2750;
  --blue: #3F66AD;
  --blue-dark: #2F5292;
  --purple: #7D4D97;
  --yellow: #F7CB3A;
  --text-body: #3C4660;
  --muted: #5E6780;
  --border: #E4E8F0;
  --input-bg: #F8F9FC;
  --input-border: #CCD3E3;
  --white: #FFFFFF;

  --rainbow: linear-gradient(90deg, #8551A0 0%, #D98CB8 16%, #EA4031 30%,
    #EF7237 44%, #F7CB3A 58%, #5FB54A 72%, #65C4EB 86%, #466EB4 100%);

  --font-body: Figtree, 'Segoe UI', sans-serif;
  --font-display: Fraunces, Georgia, serif;
  --font-kannada: 'Noto Sans Kannada', sans-serif;
  --font-script: Caveat, cursive;
  --font-wordmark: 'Source Sans 3', 'Myriad Pro', sans-serif;

  --container: 1280px;
  --gutter: 24px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overscroll-behavior-x: none; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-x: none;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input { font: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Rainbow bar */
.rainbow-bar {
  height: 5px;
  background: var(--rainbow);
}

/* Info strip */
.info-strip {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  padding: 10px var(--gutter);
}
.info-strip__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  text-align: center;
}
.info-strip__open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.info-strip a {
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.info-strip a:hover { text-decoration: underline; }
.info-strip__sep { opacity: 0.5; }

@media (min-width: 640px) {
  .info-strip { font-size: 15px; padding: 12px var(--gutter); }
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  position: relative;
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}
.brand__logo {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}
.brand__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  min-width: 0;
  overflow: hidden;
}
.brand__kn {
  font-family: var(--font-kannada);
  font-weight: 700;
  white-space: nowrap;
}
.brand__sep { color: var(--input-border); font-weight: 400; }
.brand__en {
  font-family: var(--font-wordmark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  flex-shrink: 0;
}
.nav-toggle svg { display: block; }

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px var(--gutter) 20px;
  display: none;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 12px 24px rgba(30, 47, 92, 0.08);
}
.site-nav.is-open { display: flex; }
.site-nav__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-nav__links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 16px;
  padding: 12px 8px;
  border-radius: 8px;
}
.site-nav__links a:hover { background: var(--input-bg); }
.btn-book {
  text-decoration: none;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  white-space: nowrap;
}
.btn-book:hover { background: var(--blue-dark); color: #fff; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 34px;
    padding: 0;
    border: 0;
    box-shadow: none;
    width: auto;
  }
  .site-nav__links {
    flex-direction: row;
    gap: 34px;
  }
  .site-nav__links a { padding: 4px 0; font-size: 15px; }
  .site-nav__links a:hover { background: none; text-decoration: underline; }
  .btn-book { margin-top: 0; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  border: 0;
}
.btn--primary {
  background: var(--navy);
  color: #fff;
  font-size: 17px;
  padding: 17px 28px;
}
.btn--primary:hover { background: #16234a; color: #fff; }
.btn--outline {
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
  font-size: 16px;
  padding: 14px 18px;
  min-height: 56px;
}
.btn--outline:hover { background: #F4F7FD; color: var(--blue-dark); border-color: var(--blue-dark); }
.btn--solid {
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  padding: 18px;
  width: 100%;
}
.btn--solid:hover { background: var(--blue-dark); color: #fff; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 32px;
}
.hero__image-wrap {
  display: none;
}
.hero__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 560px;
}
.eyebrow {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 700;
}
.hero__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.hero__values {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  flex-wrap: wrap;
}
.hero__values span:nth-child(1) { color: var(--purple); }
.hero__values span:nth-child(3) { color: #B34A15; }
.hero__values span:nth-child(5) { color: #3A7627; }
.hero__values .sep { color: var(--input-border); }
.hero__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-body);
}
.hero__cta { display: flex; gap: 16px; margin-top: 4px; flex-wrap: wrap; }

@media (min-width: 1024px) {
  .hero { padding: 72px 0 48px; }
  .hero__container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
  }
  .hero__title { font-size: 56px; }
  .hero__image-wrap {
    display: block;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1668 / 630;
  }
  .hero__image-wrap img { width: 100%; height: 100%; object-fit: cover; }
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 32px 0;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 18px;
  padding: 20px 22px;
}
.stat__num {
  font-family: var(--font-display);
  font-size: 36px;
}
.stat__label { font-size: 14px; color: var(--muted); font-weight: 600; }
.stat--purple { background: #F4EEF8; } .stat--purple .stat__num { color: var(--purple); }
.stat--orange { background: #FDF0E8; } .stat--orange .stat__num { color: #D25A1F; }
.stat--green  { background: #EDF6EA; } .stat--green .stat__num  { color: #3F8A2F; }
.stat--blue   { background: #EDF2FA; } .stat--blue .stat__num   { color: var(--blue); }

@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 48px 0; }
  .stat__num { font-size: 44px; }
}

/* Section scaffolding */
.section { padding: 56px 0; }
.section--tight { padding: 40px 0; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  color: inherit;
}
@media (min-width: 640px) {
  .section { padding: 80px 0; }
  .section-title { font-size: 44px; }
}

/* About */
.about-grid {
  display: grid;
  gap: 32px;
}
.about__text { display: flex; flex-direction: column; gap: 20px; }
.about__body { font-size: 17px; line-height: 1.7; color: var(--text-body); }
.value-cards {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.value-card {
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.value-card__title { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.value-card__desc { font-size: 14px; line-height: 1.5; color: var(--text-body); }
.value-card--respect { background: #F4EEF8; } .value-card--respect .value-card__title { color: var(--purple); }
.value-card--service { background: #FDF0E8; } .value-card--service .value-card__title { color: #B34A15; }
.value-card--excellence { background: #EDF6EA; } .value-card--excellence .value-card__title { color: #3A7627; }

@media (min-width: 640px) {
  .value-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
}

/* MD profile card */
.md-card {
  background: #EAF5FB;
  border: 1px solid #D3EAF6;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.md-card__head { display: flex; align-items: center; gap: 16px; }
.md-card__photo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #65C4EB;
  flex-shrink: 0;
}
.md-card__role {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--purple);
  font-weight: 700;
  display: block;
}
.md-card__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  display: block;
}
.md-card__qual {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  display: block;
}
.md-card__bio { font-size: 15px; line-height: 1.6; color: var(--text-body); }
.md-card__list { display: flex; flex-direction: column; gap: 10px; }
.md-card__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--navy);
}
.md-card__list svg { flex-shrink: 0; margin-top: 2px; }

@media (min-width: 640px) {
  .md-card { padding: 36px; }
  .md-card__photo { width: 88px; height: 88px; }
  .md-card__name { font-size: 26px; }
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.team-card__photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center top;
  background: #E9EEF8;
}
.team-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.tag {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tag--blue      { background: #EDF2FA; color: #2F5292; }
.tag--cyan      { background: #E6F4FB; color: #1F6F99; }
.tag--purple    { background: #F4EEF8; color: #7D4D97; }
.tag--pink      { background: #FBEEF5; color: #A13D78; }
.tag--green     { background: #EDF6EA; color: #3A7627; }
.tag--orange    { background: #FDF0E8; color: #B34A15; }
.tag--gold      { background: #FEF6DC; color: #8A6400; }
.tag--teal      { background: #E4F5F3; color: #1D6F66; }
.team-card__name { font-family: var(--font-display); font-weight: 600; font-size: 21px; color: var(--navy); }
.team-card__qual { font-size: 15px; line-height: 1.5; color: var(--navy); font-weight: 600; }
.team-card__role { font-size: 14px; line-height: 1.5; color: var(--text-body); }

@media (min-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Specialities */
.services {
  background: var(--blue);
  color: #fff;
  border-radius: 24px;
  padding: 40px 24px;
  display: grid;
  gap: 32px;
}
.services .eyebrow { color: #DCCDEB; }
.services .section-title { color: #fff; }
.services__lede { font-size: 17px; line-height: 1.65; color: #DDE3F1; }
.services__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.service-card {
  background: var(--blue-dark);
  border-radius: 14px;
  padding: 18px 20px;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.service-card:hover { background: #274373; color: #fff; }
.service-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.service-card__name { font-weight: 600; font-size: 16px; line-height: 1.3; display: block; }
.service-card__by { font-size: 13px; line-height: 1.35; color: #DDE3F1; display: block; margin-top: 3px; }

@media (min-width: 640px) {
  .services { padding: 56px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Why choose us */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.why-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}
.why-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #EDF2FA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-card__text { font-size: 15px; line-height: 1.5; color: var(--text-body); font-weight: 600; }

@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.faq-item__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--navy);
  font-weight: 600;
}
.faq-item__icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
  padding: 0 20px 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-body);
}
.faq-item__q::-webkit-details-marker { display: none; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.contact-card {
  border-radius: 24px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-card--book { background: #EDF2FA; }
.contact-card--visit { background: #F1F7EF; }
.contact-card h2 { font-family: var(--font-display); font-weight: 400; font-size: 30px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field input {
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--input-border);
  border-radius: 12px;
  background: var(--input-bg);
  width: 100%;
}
.field input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.field-error {
  font-size: 13px;
  color: #C0392B;
  min-height: 18px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.divider::before, .divider::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: #DCE1ED;
}

.form-note {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.address-row { display: flex; align-items: flex-start; gap: 16px; }
.address-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #DDEFD8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.address-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  display: block;
}
.address-value {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  display: block;
}
.map-frame {
  position: relative;
  min-height: 180px;
  border-radius: 14px;
  overflow: hidden;
  background: #E0E6F1;
  border: 1px solid #E0E6F1;
}
.map-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% 35%;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { padding: 44px; }
}

/* Footer */
.site-footer {
  margin-top: 32px;
  background: var(--navy-dark);
  color: #CFD7EA;
  padding: 40px 0 20px;
}
.site-footer__rainbow { height: 4px; background: var(--rainbow); margin-bottom: 32px; }
.footer-grid {
  display: grid;
  gap: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; }
.footer-brand__name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  line-height: 1;
}
.footer-brand__kn { font-family: var(--font-kannada); font-weight: 700; font-size: 16px; white-space: nowrap; }
.footer-brand__sep { color: #6A78A8; }
.footer-brand__en { font-family: var(--font-wordmark); font-weight: 700; font-size: 19px; letter-spacing: 0.01em; white-space: nowrap; }

.footer-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 800;
  margin: 0 0 2px;
}
.footer-col a, .footer-col span { color: #CFD7EA; text-decoration: none; font-size: 15px; line-height: 1.5; }
.footer-col a:hover { text-decoration: underline; color: #fff; }
.footer-social a { display: flex; align-items: center; gap: 12px; }
.footer-social__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-rule { height: 1px; background: #2E3A68; margin: 24px 0 16px; }
.footer-bottom { font-size: 13px; text-align: center; }

@media (min-width: 640px) {
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }
}

/* Privacy page */
.policy-body { font-size: 16px; line-height: 1.7; color: var(--text-body); display: flex; flex-direction: column; gap: 16px; }
.policy-body h2 { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--navy); margin-top: 8px; }
.policy-body ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.policy-body a { text-decoration: underline; }
