/* Dr Sajal's Diabetes Thyroid and Hormone Care — site styles.
   Colours sampled from the logo: pink #EC4792 ("Dr"), plum #7D3082 ("Sajal's"), charcoal #272727. */
:root {
  --pink: #EC4792;        /* logo pink: accents, large decorative use only (3.6:1 on white) */
  --pink-ink: #B8236A;    /* deeper pink for text/links (6:1 on white) */
  --plum: #7D3082;        /* logo plum: headings, primary buttons (8:1) */
  --plum-dark: #5A1F5F;   /* footer, hover */
  --ink: #272727;
  --muted: #5B5560;
  --line: #EEDDE8;
  --tint: #FDF4F9;
  --tint-2: #F7EAF3;
  --white: #FFFFFF;
  --wa: #16803F;          /* WhatsApp green, darkened for 5:1 contrast with white text */
  --wa-dark: #0F6631;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(90, 31, 95, .06), 0 6px 20px rgba(90, 31, 95, .07);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 16px/1.7 var(--sans); overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-ink); text-underline-offset: 3px; }
a:hover { color: var(--plum); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); color: var(--plum); line-height: 1.15; font-weight: 700; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.35rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.18em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 820px; }
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 80px 0; } }
.tint { background: var(--tint); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45em; margin: 0 0 .6em;
  font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--pink-ink);
}
.lead { font-size: 1.08rem; color: var(--muted); }
.note { font-size: .88rem; color: var(--muted); }
.center { text-align: center; }
.sec-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.sec-head p { color: var(--muted); }
.divider { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--pink); margin: 0 0 14px; }
.divider::before, .divider::after { content: ""; height: 1px; width: 44px; background: currentColor; opacity: .6; }
.divider span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* placeholders shown in draft mode */
mark.ph { background: #FFF3BF; color: #6B4E00; border: 1px dashed #D9A400; border-radius: 4px; padding: 0 .3em; font-size: .92em; }
.draft-banner { background: #FFF3BF; color: #5C4300; text-align: center; font: 500 .82rem/1.4 var(--sans); padding: 8px 16px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--plum); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 600 .98rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--plum); border-color: var(--plum); }
.btn-outline:hover { background: var(--tint); color: var(--plum-dark); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 480px) { .cta-row .btn { flex: 1 1 100%; } }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { height: 44px; width: auto; }
@media (min-width: 700px) { .brand img { height: 52px; } .header-in { min-height: 80px; } }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--plum); font: 600 .9rem var(--sans); cursor: pointer;
}
.site-nav { display: none; }
.site-nav.open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 16px 18px;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a { display: block; padding: 12px 4px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.site-nav a[aria-current="page"] { color: var(--pink-ink); }
.site-nav .nav-wa { margin-top: 14px; width: 100%; }
.no-js .site-nav { display: block; position: static; box-shadow: none; }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: flex; align-items: center; gap: 22px; position: static; box-shadow: none; border: 0; padding: 0; background: none; }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav li a { border: 0; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
  .site-nav li a:hover { background: var(--tint); color: var(--plum); }
  .site-nav a[aria-current="page"] { color: var(--plum); box-shadow: inset 0 -2px 0 var(--pink); border-radius: 0; }
  .site-nav .nav-wa { margin: 0; width: auto; }
}

/* ---------------------------------------------------------------- breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; margin: 0 auto; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--pink); }
.crumbs a { color: var(--muted); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 40px 0 56px; }
.hero::before {
  content: ""; position: absolute; inset: auto auto -60% -25%; width: 70vw; height: 70vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(236,71,146,.10), rgba(125,48,130,.05) 60%, transparent);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 28px; align-items: center; }
.hero h1 span { display: block; color: var(--pink-ink); }
.hero .lead { max-width: 560px; }
.hero-logo { order: -1; justify-self: center; width: min(62vw, 300px); }
.hero-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: .95rem; }
.hero-points li { display: flex; gap: 10px; align-items: baseline; }
.hero-points li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); transform: translateY(-1px); }
@media (min-width: 900px) {
  .hero { padding: 64px 0 88px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hero-logo { order: 0; width: 100%; max-width: 430px; justify-self: end; }
}

/* page hero (inner pages) */
.page-hero { padding: 28px 0 40px; background: linear-gradient(180deg, var(--tint), #fff); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 760px; margin-bottom: 0; }
.page-hero .cta-row { margin-top: 20px; }

/* ---------------------------------------------------------------- trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: grid; gap: 14px; }
.trust li { display: flex; gap: 12px; align-items: center; font-size: .92rem; color: var(--muted); }
.trust li strong { display: block; color: var(--ink); font-weight: 600; }
.trust .ic { width: 26px; height: 26px; color: var(--plum); }
@media (min-width: 760px) { .trust ul { grid-template-columns: repeat(3, 1fr); padding: 22px 0; } }

/* ---------------------------------------------------------------- cards & grids */
.grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-cond { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid-cond { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.cond-card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; }
.cond-card:hover { transform: translateY(-3px); border-color: var(--pink); color: var(--ink); box-shadow: 0 10px 28px rgba(125,48,130,.13); }
.cond-card h3 { font-size: 1.35rem; margin: 14px 0 6px; }
.cond-card p { font-size: .92rem; color: var(--muted); flex: 1; margin-bottom: 14px; }
.cond-ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; color: var(--plum); background: linear-gradient(135deg, var(--tint-2), #fff); border: 1px solid var(--line); }
.cond-ic svg { width: 30px; height: 30px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--pink-ink); }
.cond-card:hover .more .ic { transform: translateX(3px); }
.more .ic { transition: transform .15s; }

.loc-card h3 { font-size: 1.45rem; }
.addr { display: flex; gap: 10px; align-items: flex-start; }
.addr .ic { color: var(--pink-ink); margin-top: .3em; }
.hours { list-style: none; padding: 0; margin: 0 0 8px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.card-links { margin: 12px 0 0; font-weight: 600; }
.card-links a { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; }

/* split block (text + aside) */
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; } }
.aside-card { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aside-card h3 { font-size: 1.3rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 26px; margin: 0 0 8px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 6px; border-left: 2px solid var(--pink-ink); border-bottom: 2px solid var(--pink-ink); transform: rotate(-45deg); }

.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 16px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--plum); color: #fff; font-weight: 700; margin-bottom: 10px; }
.steps h3 { font-size: 1.25rem; margin-bottom: 4px; }
.steps p { font-size: .93rem; color: var(--muted); margin: 0; }
.steps .hl { color: var(--plum); font-weight: 600; white-space: nowrap; }
.steps .step-sub { display: block; margin-top: 8px; font-size: .86rem; }

/* ---------------------------------------------------------------- long-form content (condition pages) */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin-top: 1.2em; color: var(--plum-dark); }
.prose ul { margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.callout { border-left: 4px solid var(--pink); background: var(--tint); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 1.4em 0; }
.callout p:last-child { margin: 0; }
.toc { font-size: .92rem; }
.toc ol { padding-left: 1.2em; margin: 0; }
.toc li { margin-bottom: 6px; }
@media (min-width: 1000px) { .aside-sticky { position: sticky; top: 104px; } }

.cta-box { background: linear-gradient(135deg, var(--plum), #9B3A8F 55%, var(--pink-ink)); color: #fff; border-radius: 20px; padding: 32px 24px; box-shadow: var(--shadow); }
.cta-box h2 { color: #fff; }
.cta-box p { color: #F8E6F1; }
.cta-box p a { color: #fff; font-weight: 600; white-space: nowrap; }
.cta-box p a:hover { color: #fff; }
.cta-box .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.cta-box .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (min-width: 700px) { .cta-box { padding: 40px; } }
.med-note { margin-top: 18px; }

/* FAQ */
.faq { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--pink-ink); font-weight: 400; }
.faq[open] summary::after { content: "−"; }
.faq > div { padding: 0 20px 6px; color: var(--muted); }
.faq-sec { background: var(--tint); }

/* reviews */
.reviews { text-align: center; max-width: 640px; margin: 0 auto; }
.rating { display: inline-flex; align-items: center; gap: 8px; font-size: 1.1rem; color: var(--muted); }
.rating .ic { color: #E8A317; width: 26px; height: 26px; }
.rating strong { font-size: 1.8rem; color: var(--ink); }

/* about */
.profile { display: grid; gap: 28px; align-items: center; }
.profile-photo { width: min(70vw, 300px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; justify-self: center; background: var(--tint-2); border: 6px solid #fff; box-shadow: var(--shadow); display: grid; place-items: center; }
.profile-photo img { width: 72%; }
@media (min-width: 860px) { .profile { grid-template-columns: 300px 1fr; gap: 56px; } }
.cred-grid { display: grid; gap: 18px; }
@media (min-width: 800px) { .cred-grid { grid-template-columns: 1fr 1fr; } }

/* contact / locations */
.loc-full { display: grid; gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.loc-full:last-of-type { border-bottom: 0; }
.loc-info .addr { margin-bottom: 12px; }
@media (min-width: 900px) { .loc-full { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; } }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, var(--tint-2), var(--tint)); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 16px; color: var(--plum); }
.map-ph p { margin: 0; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--plum-dark); color: #F3DDEB; margin-top: 0; font-size: .93rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 32px; padding-top: 52px; padding-bottom: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr; } }
.f-brand { font: 700 1.6rem/1.2 var(--serif); color: #fff; }
.f-h { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: #F8C6DF; }
.f-links { list-style: none; padding: 0; margin: 0 0 16px; }
.f-links li { margin-bottom: 6px; }
.f-links a { text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.f-links a:hover { text-decoration: underline; color: #fff; }
.f-locs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.f-locs strong { color: #fff; font-weight: 600; }
.reg { display: flex; gap: 10px; align-items: flex-start; }
.reg .ic { margin-top: .25em; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.18); padding-top: 20px; padding-bottom: 96px; font-size: .84rem; }
.f-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer mark.ph { background: #FFF3BF; color: #5C4300; }

/* ---------------------------------------------------------------- floating WhatsApp */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.22); transition: transform .15s, background-color .15s;
}
.wa-float:hover { background: var(--wa-dark); color: #fff; transform: scale(1.06); }
.wa-float .ic { width: 32px; height: 32px; }
@media (min-width: 700px) { .wa-float { right: 24px; bottom: 24px; width: 62px; height: 62px; } }

/* 404 */
.notfound { text-align: center; padding: 80px 0; }

@media print {
  .site-header, .wa-float, .cta-box, .draft-banner, .map { display: none !important; }
}
