/* Nova Polyclinic: colours match the appointment dashboard theme (tailwind.config.ts). */
:root {
  --bg: #FBF3F7;          /* blush page background */
  --bg-tint: #F7E7EF;
  --card: #FFFFFF;
  --text: #3E1F2E;        /* logo maroon */
  --text-2: #7A5464;
  --muted: #957080;
  --border: #F1DDE6;
  --border-2: #E6C9D6;
  --primary: #B8467E;     /* logo petal */
  --primary-hover: #A0386C;
  --accent: #8E2F5F;
  --chip: #FBE3EE;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(62, 31, 46, .04), 0 8px 24px rgba(142, 47, 95, .06);
  --serif: "Cormorant Garamond", Georgia, "Noto Serif Devanagari", serif;
  --logo: "Playfair Display", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);

}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; font-variant-numeric: lining-nums; color: var(--text); margin: 0; line-height: 1.15; }
h2 { font-size: clamp(1.9rem, 5.2vw, 2.6rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.3rem; margin-bottom: .4rem; }
p { margin: 0 0 1rem; }
address { font-style: normal; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 28px; } }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: .5rem;
}
html[lang="hi"] .eyebrow { letter-spacing: .02em; text-transform: none; font-size: .9rem; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  border-radius: 14px; font-weight: 600; text-decoration: none; border: 1px solid transparent;
  transition: background-color .15s, border-color .15s, transform .05s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .5rem .9rem; font-size: .9rem; border-radius: 12px; }
.btn-lg { padding: .9rem 1.4rem; font-size: 1.02rem; min-height: 52px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(184, 70, 126, .28); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { background: var(--card); color: var(--accent); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--primary); }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 243, 247, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; gap: 1rem; height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 12px; background: var(--chip); padding: 4px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--logo); }
.brand-text strong { font-size: 1.15rem; letter-spacing: .08em; color: var(--text); }
.brand-text small { font-size: .62rem; letter-spacing: .22em; color: var(--accent); margin-top: 3px; }
.topnav { display: none; gap: 1.5rem; margin-left: auto; }
.topnav a { text-decoration: none; color: var(--text-2); font-weight: 500; font-size: .95rem; }
.topnav a:hover { color: var(--primary); }
.topbar-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.lang-toggle {
  font: 600 .9rem/1 var(--sans); color: var(--accent); background: var(--card);
  border: 1px solid var(--border-2); border-radius: 999px; padding: .5rem .9rem; cursor: pointer; min-height: 38px;
}
.lang-toggle:hover { border-color: var(--primary); }
.hide-mobile { display: none; }
@media (min-width: 760px) {
  .topnav { display: flex; }
  .topnav + .topbar-actions { margin-left: 0; }
  .hide-mobile { display: inline-flex; }
}

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, #F6D3E3 0%, rgba(246, 211, 227, 0) 60%),
    radial-gradient(800px 400px at -10% 110%, #F9E1EC 0%, rgba(249, 225, 236, 0) 60%);
}
.hero-inner { display: grid; gap: 1.5rem; padding-top: 2rem; padding-bottom: 2.25rem; align-items: center; }
.hero-art { display: none; }
.hero h1 { font-size: clamp(2.5rem, 9.5vw, 4rem); letter-spacing: -.01em; margin-bottom: 1rem; }
.h1-sub { display: block; font-size: clamp(1.25rem, 4.2vw, 1.6rem); font-weight: 600; color: var(--accent); margin-top: .5rem; letter-spacing: 0; }
.lead { font-size: 1.08rem; color: var(--text-2); max-width: 34rem; }
.cta-row { display: flex; flex-direction: column; gap: .75rem; margin: 1.5rem 0 .9rem; }
.cta-note { font-size: .9rem; color: var(--muted); max-width: 30rem; }
@media (min-width: 520px) { .cta-row { flex-direction: row; flex-wrap: wrap; } }
.hero-avatar { display: block; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; margin-bottom: 1rem;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--border-2), 0 10px 24px rgba(142, 47, 95, .18); }
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.2fr .8fr; gap: 3rem; padding-top: 4rem; padding-bottom: 4rem; }
  .hero-avatar { display: none; }
  .hero-art { display: block; margin: 0; justify-self: end; width: 100%; max-width: 400px; }
  .hero-art picture { display: block; aspect-ratio: 4 / 5; border-radius: 200px 200px 24px 24px; overflow: hidden;
    box-shadow: 0 30px 60px rgba(142, 47, 95, .18), 0 0 0 10px rgba(255, 255, 255, .6); }
  .hero-art img { width: 100%; height: 100%; object-fit: cover; }
}

/* Facts strip */
.facts { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--card); }
.facts-grid { list-style: none; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; }
.facts-grid li { display: flex; flex-direction: column; padding: 1.1rem .25rem; border-bottom: 1px solid var(--border); }
.facts-grid li:nth-child(odd) { padding-right: 1rem; border-right: 1px solid var(--border); }
.facts-grid li:nth-child(even) { padding-left: 1rem; }
.facts-grid li:nth-last-child(-n+2) { border-bottom: 0; }
.facts-grid strong { font-family: var(--serif); font-weight: 700; font-variant-numeric: lining-nums; font-size: 1.9rem; color: var(--accent); line-height: 1.1; }
.facts-grid span { font-size: .88rem; color: var(--text-2); }
@media (min-width: 760px) {
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
  .facts-grid li, .facts-grid li:nth-child(odd), .facts-grid li:nth-child(even) { padding: 1.4rem 1.25rem; border-bottom: 0; border-right: 1px solid var(--border); }
  .facts-grid li:first-child { padding-left: 0; }
  .facts-grid li:last-child { border-right: 0; }
}

/* Sections */
.section { padding: 3rem 0; }
@media (min-width: 760px) { .section { padding: 4.5rem 0; } }
.section-tint { background: var(--bg-tint); }

.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.35rem; box-shadow: var(--shadow);
}
.card p { color: var(--text-2); margin: 0; font-size: .97rem; }
.card-feature { grid-column: 1 / -1; display: grid; gap: .25rem 1.1rem; background: linear-gradient(135deg, #fff 40%, var(--chip)); border-color: var(--border-2); }
.card-feature h3 { font-size: 1.55rem; }
.card-feature p { margin-bottom: .75rem; max-width: 46rem; }
.card-feature .fine { font-size: .85rem; color: var(--muted); }
.card-feature .btn { margin-top: .25rem; }
@media (min-width: 620px) { .card-feature { grid-template-columns: auto 1fr; padding: 1.75rem; } .card-feature .card-ico { margin: 0; } }
.card-ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--chip); color: var(--primary);
  display: grid; place-items: center; margin-bottom: .9rem;
}
.card-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.about { display: grid; gap: 2rem; }
.about > div:first-child p { color: var(--text-2); font-size: 1.04rem; max-width: 36rem; }
@media (min-width: 900px) { .about { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }
.about-side { display: grid; gap: 1rem; align-content: start; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.35rem; box-shadow: var(--shadow); }
.list { list-style: none; margin: .5rem 0 0; padding: 0; }
.list li { padding: .55rem 0; border-top: 1px solid var(--border); color: var(--text-2); font-size: .95rem; }
.list li:first-child { border-top: 0; }
.list strong { color: var(--text); }
.chips { list-style: none; margin: .6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: var(--chip); color: var(--accent); border-radius: 999px; padding: .35rem .8rem; font-size: .88rem; }

/* Visit */
.visit { display: grid; gap: 1rem; }
@media (min-width: 900px) { .visit { grid-template-columns: .9fr 1.1fr; gap: 1.5rem; } }
.visit-info { display: grid; gap: 1.25rem; align-content: start; }
.info-row { display: flex; gap: .9rem; }
.info-row > .ico { color: var(--primary); margin-top: 2px; }
.info-row p, .info-row address { color: var(--text-2); margin: 0 0 .35rem; }
.info-row h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
html[lang="hi"] .info-row h3 { letter-spacing: 0; font-size: .9rem; }
.link { color: var(--primary); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 300px; background: var(--chip); box-shadow: var(--shadow); }
.map { position: relative; display: grid; }
.map-facade {
  display: grid; place-items: center; align-content: center; gap: .9rem; text-align: center; padding: 2rem 1.25rem;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.9) 0 60px, transparent 61px),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(184,70,126,.08) 38px 40px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(184,70,126,.08) 38px 40px),
    linear-gradient(135deg, #FBE3EE, #F6D3E3);
}
.map-pin { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(184,70,126,.35); }
.map-pin .ico { width: 26px; height: 26px; }
.map-facade p { margin: 0; color: var(--accent); font-weight: 600; }
.map-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
@media (min-width: 900px) { .map, .map { position: relative; display: grid; }
.map-facade {
  display: grid; place-items: center; align-content: center; gap: .9rem; text-align: center; padding: 2rem 1.25rem;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.9) 0 60px, transparent 61px),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(184,70,126,.08) 38px 40px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(184,70,126,.08) 38px 40px),
    linear-gradient(135deg, #FBE3EE, #F6D3E3);
}
.map-pin { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(184,70,126,.35); }
.map-pin .ico { width: 26px; height: 26px; }
.map-facade p { margin: 0; color: var(--accent); font-weight: 600; }
.map-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.map iframe { min-height: 440px; } }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 2rem 0 calc(2rem + 88px); background: var(--card); } /* bottom room for the sticky CTA on phones */
@media (min-width: 760px) { .footer { padding-bottom: 2rem; } }
.footer-inner { display: grid; gap: 1.25rem; }
.footer-about { display: grid; gap: .6rem; }
.footer-copy { border-top: 1px solid var(--border); padding-top: 1rem; }
.emergency { background: #FDF0F0; border-top: 1px solid #F2D3D3; }
.emergency-inner { display: flex; gap: .75rem; align-items: flex-start; padding-top: 1rem; padding-bottom: 1rem; }
.emergency .ico { color: #B42318; margin-top: 2px; }
.emergency p { margin: 0; font-size: .92rem; color: #7A2A22; }
.emergency strong { color: #8E1F16; }
.footer p { margin: 0; font-size: .9rem; }

/* Sticky CTA on phones */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  transform: translateY(110%); transition: transform .25s ease;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(251, 243, 247, 1) 60%, rgba(251, 243, 247, 0));
}
.sticky-cta.show { transform: none; }
@media (min-width: 760px) { .sticky-cta { display: none; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Feature card kicker, areas, FAQ */
.kicker { font-size: .78rem !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--primary) !important; margin: 0 0 .3rem !important; }
html[lang="hi"] .kicker { letter-spacing: 0; text-transform: none; font-size: .9rem !important; }
.chips-sm li { font-size: .8rem; padding: .25rem .65rem; }
.areas-intro { font-size: .92rem; }

.faq-list { display: grid; gap: .75rem; max-width: 860px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 0 1.2rem; box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.05rem 2rem 1.05rem 0; position: relative; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--text); line-height: 1.3; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: .85rem; font: 400 1.5rem/1 var(--sans); color: var(--primary); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--text-2); margin: 0 0 1.1rem; }

/* Contact */
.contact-lead { color: var(--text-2); max-width: 38rem; }
.contact-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.25rem; }
@media (min-width: 620px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card-wide { grid-column: 1 / -1; }
@media (min-width: 620px) { .contact-card-wide { display: flex; gap: 1.1rem; align-items: flex-start; } .contact-card-wide .card-ico { margin: 0; } }
.contact-card h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
html[lang="hi"] .contact-card h3 { letter-spacing: 0; font-size: .9rem; }
.contact-card p, .contact-card address { margin: 0; color: var(--text-2); }
.contact-value { font-size: 1.05rem; overflow-wrap: break-word; }
.contact-hours { margin: 1.25rem 0 0; }

/* Footer contact and links */
.footer-contact { display: grid; gap: .35rem; }
.footer-contact address { font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-links a { color: var(--accent); font-weight: 600; font-size: .9rem; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* Privacy policy page */
.policy { max-width: 760px; }
.policy h1 { font-size: clamp(2.2rem, 7vw, 3rem); margin-bottom: .5rem; }
.policy h2 { font-size: clamp(1.45rem, 4vw, 1.8rem); margin: 2.25rem 0 .75rem; }
.policy p, .policy li { color: var(--text-2); }
.policy ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.policy li { margin-bottom: .4rem; }
.policy strong { color: var(--text); }
.policy .updated { color: var(--muted); font-size: .92rem; }
.policy .panel { margin: 1rem 0; }
.policy .panel p { margin: 0; }
html[lang="hi"] .only-en, html:not([lang="hi"]) .only-hi { display: none; }
.footer-plain { padding-bottom: 2rem; }
@media (min-width: 620px) and (max-width: 959px) { .contact-grid > .contact-card:nth-child(3) { grid-column: 1 / -1; } }
/* Hindi nav labels are longer: keep the top bar tidy on tablets */
@media (min-width: 760px) and (max-width: 1059px) {
  html[lang="hi"] .topnav { display: none; }
  html[lang="hi"] .topnav + .topbar-actions { margin-left: auto; }
}
.topbar-actions .btn { white-space: nowrap; }
@media (min-width: 760px) and (max-width: 899px) { .topnav { gap: 1rem; } .topnav a { font-size: .9rem; } }
