/*
  Dr Dipeeka Singhavi — reusable design system
  Edit tokens in :root to carry this visual identity into future pages.
*/

:root {
  --ink: #2c2528;
  --ink-soft: #685d61;
  --plum: #6f3648;
  --plum-deep: #4d2230;
  --rose: #bb7d86;
  --rose-soft: #ead2d2;
  --blush: #f7eeeb;
  --cream: #fcf8f2;
  --white: #fffdf9;
  --sage: #809185;
  --line: rgba(77, 34, 48, 0.14);
  --shadow-sm: 0 12px 32px rgba(63, 35, 43, 0.08);
  --shadow-lg: 0 30px 80px rgba(63, 35, 43, 0.14);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1180px;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --step--1: clamp(0.84rem, 0.8rem + 0.15vw, 0.94rem);
  --step-0: clamp(1rem, 0.94rem + 0.24vw, 1.12rem);
  --step-1: clamp(1.22rem, 1.08rem + 0.55vw, 1.52rem);
  --step-2: clamp(1.75rem, 1.45rem + 1.15vw, 2.55rem);
  --step-3: clamp(2.4rem, 1.88rem + 2.05vw, 4rem);
  --step-4: clamp(3rem, 2.2rem + 3.6vw, 5.7rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img,
svg { display: block; max-width: 100%; }

a { color: inherit; }

button,
input,
select,
textarea { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid #b76f7d;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--plum-deep);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.section { padding: clamp(4.8rem, 9vw, 8.5rem) 0; }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--plum);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-light { color: #f2cfd2; }

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
}

h1 { margin-bottom: 1.5rem; font-size: var(--step-4); letter-spacing: -0.045em; }
h2 { margin-bottom: 1.25rem; font-size: var(--step-3); letter-spacing: -0.035em; }
h3 { margin-bottom: 0.75rem; font-size: var(--step-1); }

.button {
  display: inline-flex;
  min-height: 3.3rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 740;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--plum); box-shadow: 0 12px 25px rgba(111, 54, 72, 0.2); }
.button-primary:hover { background: var(--plum-deep); box-shadow: 0 15px 32px rgba(111, 54, 72, 0.27); }
.button-light { color: var(--plum-deep); background: var(--white); }
.button-dark { color: var(--white); background: var(--plum-deep); border: 0; cursor: pointer; }
.button-dark:disabled { cursor: wait; opacity: 0.65; }
.button-small { min-height: 2.65rem; padding: 0.65rem 1rem; font-size: 0.82rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--plum);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translateX(4px); }

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 249, 0.94);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(64, 36, 44, 0.05);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.4rem);
  text-decoration: none;
}

.brand > strong { font-weight: 600; line-height: 1.2; }

.nav-toggle {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-content: center;
  gap: 5px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) { width: 18px; height: 1.5px; background: var(--plum-deep); transition: transform 180ms ease, opacity 180ms ease; }
.nav-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-6.5px) rotate(-45deg); }

.primary-nav {
  position: fixed;
  z-index: 999;
  inset: 76px 0 auto;
  display: grid;
  padding: 1.5rem 1rem 2rem;
  gap: 0.25rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.primary-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.primary-nav > a:not(.button) { padding: 0.85rem 0.4rem; font-size: 1rem; font-weight: 680; text-decoration: none; }

.hero {
  position: relative;
  min-height: 100svh;
  padding: 7.3rem 0 4rem;
  overflow: hidden;
  background: linear-gradient(135deg, #fffdf9 0%, #faf1ed 58%, #f3e2e2 100%);
}

.hero::before {
  position: absolute;
  content: "";
  width: 80vw;
  height: 80vw;
  top: -50vw;
  left: -30vw;
  background: radial-gradient(circle, rgba(186, 126, 135, 0.2), transparent 70%);
  border-radius: 50%;
}

.hero-orb { position: absolute; border: 1px solid rgba(111, 54, 72, 0.14); border-radius: 50%; pointer-events: none; }
.hero-orb-one { width: 270px; height: 270px; right: -140px; top: 16%; }
.hero-orb-two { width: 120px; height: 120px; left: 45%; bottom: 8%; }

.hero-grid { position: relative; z-index: 1; display: grid; align-items: center; gap: 3.5rem; }
.hero-copy { max-width: 700px; }
.hero-lead { max-width: 650px; margin-bottom: 1.8rem; color: var(--ink-soft); font-size: var(--step-1); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.5rem; }

.trust-row {
  display: grid;
  margin: 3.2rem 0 0;
  padding: 1.4rem 0 0;
  gap: 1.2rem;
  border-top: 1px solid var(--line);
}

.trust-row div { display: grid; grid-template-columns: minmax(90px, 0.65fr) 1fr; align-items: baseline; gap: 0.75rem; }
.trust-row dt { color: var(--plum-deep); font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; }
.trust-row dd { margin: 0; color: var(--ink-soft); font-size: var(--step--1); line-height: 1.4; }

.hero-visual { position: relative; width: min(100%, 520px); margin-inline: auto; }
.portrait-frame { position: relative; padding: 1.2rem 1.2rem 0; overflow: hidden; background: linear-gradient(155deg, #f8ece8 0%, #ead2d2 100%); border: 1px solid rgba(255, 255, 255, 0.95); border-radius: 46% 46% 24px 24px; box-shadow: var(--shadow-lg); }
.portrait-frame img { width: 100%; height: clamp(460px, 66vh, 700px); object-fit: contain; object-position: center bottom; }
.portrait-note { position: absolute; right: 1.3rem; bottom: 1.3rem; display: flex; align-items: center; gap: 0.55rem; padding: 0.65rem 0.9rem; color: var(--plum-deep); background: rgba(255, 253, 249, 0.93); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 999px; box-shadow: var(--shadow-sm); font-size: 0.78rem; font-weight: 750; backdrop-filter: blur(10px); }
.status-dot { width: 8px; height: 8px; background: #668a71; border-radius: 50%; box-shadow: 0 0 0 4px rgba(102, 138, 113, 0.16); }
.credential-card { position: absolute; left: -0.6rem; bottom: 3.7rem; display: flex; width: min(270px, 74%); align-items: center; gap: 0.75rem; padding: 0.9rem; background: var(--plum-deep); border-radius: 14px; box-shadow: var(--shadow-lg); color: var(--white); }
.credential-card svg { width: 32px; flex: 0 0 32px; fill: #f0c8cc; }
.credential-card span { display: flex; flex-direction: column; font-size: 0.7rem; line-height: 1.35; }
.credential-card strong { margin-bottom: 0.15rem; font-size: 0.78rem; }

.intro { background: var(--white); }
.intro-grid { display: grid; gap: 2rem; }
.intro-copy { max-width: 730px; color: var(--ink-soft); }
.intro-copy p:first-child { color: var(--ink); font-size: var(--step-1); line-height: 1.6; }

.section-heading { max-width: 650px; }
.section-heading > p:not(.eyebrow) { color: var(--ink-soft); }
.section-heading-centered { margin: 0 auto 3rem; text-align: center; }

.expertise { background: var(--cream); }
.service-grid { display: grid; gap: 1rem; }
.service-card,
.service-cta { position: relative; min-height: 310px; padding: clamp(1.5rem, 4vw, 2.2rem); overflow: hidden; border-radius: var(--radius-md); }
.service-card { background: var(--white); border: 1px solid rgba(111, 54, 72, 0.09); transition: transform 180ms ease, box-shadow 180ms ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.service-card-featured { background: var(--blush); }
.service-number { position: absolute; top: 1.4rem; right: 1.5rem; color: rgba(111, 54, 72, 0.36); font-family: var(--font-display); font-size: 0.95rem; }
.service-icon { display: grid; width: 48px; height: 48px; margin-bottom: 3.5rem; place-items: center; color: var(--plum); background: var(--blush); border-radius: 50%; }
.service-card-featured .service-icon { background: var(--white); }
.service-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.service-card p { margin: 0; color: var(--ink-soft); font-size: var(--step--1); }
.service-cta { display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); background: linear-gradient(145deg, var(--plum), var(--plum-deep)); }
.service-cta::before { position: absolute; content: ""; width: 210px; height: 210px; top: -105px; right: -70px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 50%; }
.service-cta p:not(.eyebrow) { color: rgba(255, 255, 255, 0.76); font-size: var(--step--1); }
.service-cta .button { align-self: flex-start; margin-top: 0.5rem; }

.approach { color: var(--white); background: var(--plum-deep); }
.approach-grid { display: grid; gap: 3.5rem; }
.approach-panel > p:not(.eyebrow) { max-width: 640px; color: rgba(255, 255, 255, 0.74); }
.approach-quote { display: flex; max-width: 610px; margin-top: 2.5rem; padding: 1.4rem; gap: 1rem; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-sm); }
.approach-quote span { color: #e8bfc4; font-family: var(--font-display); font-size: 3.5rem; line-height: 0.8; }
.approach-quote p { margin: 0; color: rgba(255, 255, 255, 0.82); font-family: var(--font-display); font-size: 1.1rem; line-height: 1.55; }
.care-steps { margin: 0; padding: 0; list-style: none; }
.care-steps li { display: grid; grid-template-columns: 50px 1fr; padding: 1.5rem 0; gap: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.care-steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.care-steps > li > span { color: #e2b8be; font-size: 0.78rem; font-weight: 760; letter-spacing: 0.1em; }
.care-steps h3 { margin-bottom: 0.35rem; font-size: 1.3rem; }
.care-steps p { margin: 0; color: rgba(255, 255, 255, 0.68); font-size: var(--step--1); }

.insights { background: var(--blush); }
.insight-grid { display: grid; gap: 1rem; }
.insight-card { padding: clamp(1.5rem, 4vw, 2.2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.insight-topic { margin-bottom: 2rem; color: var(--plum); font-size: 0.72rem; font-weight: 780; letter-spacing: 0.12em; text-transform: uppercase; }
.insight-card h3 { color: var(--plum-deep); }
.insight-card > p:last-child { margin: 0; color: var(--ink-soft); font-size: var(--step--1); }

.faq { background: var(--white); }
.faq-grid { display: grid; gap: 2.5rem; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 1rem; color: var(--ink); cursor: pointer; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { position: relative; width: 24px; height: 24px; flex: 0 0 24px; border: 1px solid var(--line); border-radius: 50%; }
.accordion summary span::before,
.accordion summary span::after { position: absolute; content: ""; width: 10px; height: 1px; top: 11px; left: 6px; background: var(--plum); transition: transform 160ms ease; }
.accordion summary span::after { transform: rotate(90deg); }
.accordion details[open] summary span::after { transform: rotate(0); }
.accordion details > div { padding: 0 2.6rem 1.4rem 0; color: var(--ink-soft); font-size: var(--step--1); }
.accordion details > div p { margin: 0; }

.appointment { padding-top: 0; background: var(--white); }
.appointment-shell { display: grid; padding: clamp(1.6rem, 5vw, 4rem); gap: 2.5rem; color: var(--white); background: linear-gradient(150deg, #7e4052, #592938); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.appointment-copy > p:not(.eyebrow) { color: rgba(255, 255, 255, 0.76); }
.contact-options { display: grid; margin-top: 2rem; gap: 0.75rem; }
.contact-option { display: flex; align-items: center; gap: 0.85rem; padding: 0.95rem; color: var(--white); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.13); border-radius: var(--radius-sm); text-decoration: none; }
.contact-option svg { width: 26px; flex: 0 0 26px; fill: none; stroke: #f2cbd0; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.contact-option span { display: flex; flex-direction: column; }
.contact-option small { color: rgba(255, 255, 255, 0.6); font-size: 0.68rem; }
.contact-option strong { margin-top: 0.1rem; font-size: 0.84rem; }
.contact-option.is-unavailable { cursor: not-allowed; opacity: 0.68; }

.appointment-details { padding: clamp(1.5rem, 4vw, 2.4rem); color: var(--ink); background: var(--white); border-radius: var(--radius-md); }
.appointment-details-label { margin-bottom: 0.3rem; color: var(--plum); font-size: 0.72rem; font-weight: 780; letter-spacing: 0.13em; text-transform: uppercase; }
.appointment-number { display: inline-block; color: var(--plum-deep); font-family: var(--font-display); font-size: clamp(1.8rem, 6vw, 3.2rem); font-weight: 600; line-height: 1.15; text-decoration: none; }
.appointment-number:hover { color: var(--rose); }
.appointment-details-note { margin: 0.65rem 0 1.6rem; color: var(--ink-soft); font-size: var(--step--1); }
.appointment-address { display: flex; align-items: flex-start; gap: 0.9rem; padding: 1.1rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.appointment-address svg { width: 28px; flex: 0 0 28px; fill: none; stroke: var(--plum); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.appointment-address div { display: flex; flex-direction: column; }
.appointment-address small { color: var(--ink-soft); font-size: 0.7rem; }
.appointment-address strong { margin: 0.15rem 0; color: var(--ink); font-size: 0.9rem; }
.map-link { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--plum); font-size: 0.78rem; font-weight: 720; text-decoration: none; }
.map-link:hover { color: var(--plum-deep); text-decoration: underline; }
.address-reminder { margin: 0.8rem 0 0; color: var(--ink-soft); font-size: 0.7rem; line-height: 1.5; }

.site-footer { padding: 4rem 0 6.5rem; color: #eee2e2; background: #281b20; }
.footer-main { display: grid; gap: 2.5rem; }
.brand-footer { color: var(--white); }
.footer-intro { max-width: 340px; margin: 1.2rem 0 0; color: #d2c5c9; font-size: var(--step--1); }
.footer-heading { margin-bottom: 1rem; color: var(--white); font-family: var(--font-body); font-size: 0.72rem; font-weight: 760; letter-spacing: 0.13em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 0.45rem; }
.site-footer a { color: #d6c9cc; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer address { color: #d2c5c9; font-size: var(--step--1); font-style: normal; line-height: 1.8; }
.footer-location { display: inline-block; max-width: 320px; }
.footer-bottom { display: grid; margin-top: 3rem; padding-top: 1.5rem; gap: 0.75rem; border-top: 1px solid rgba(255, 255, 255, 0.18); color: #c9bcc0; font-size: 0.72rem; line-height: 1.6; }
.footer-bottom p { margin: 0; }

.mobile-appointment-bar { position: fixed; z-index: 900; right: 0.75rem; bottom: 0.75rem; left: 0.75rem; display: grid; grid-template-columns: 0.72fr 1.28fr; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 12px 40px rgba(45, 25, 31, 0.2); }
.mobile-appointment-bar a { display: grid; min-height: 51px; place-items: center; color: var(--plum-deep); font-size: 0.78rem; font-weight: 760; text-decoration: none; }
.mobile-appointment-bar a + a { color: var(--white); background: var(--plum); }
.mobile-appointment-bar .is-unavailable { color: #998d91; cursor: not-allowed; }

.reveal { opacity: 1; transform: none; }

@media (min-width: 620px) {
  .container { width: min(calc(100% - 3rem), var(--container)); }
  .trust-row { grid-template-columns: repeat(3, 1fr); }
  .trust-row div { display: block; }
  .trust-row dd { margin-top: 0.25rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .insight-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1.5fr 0.8fr 1fr; }
  .footer-bottom { grid-template-columns: 0.6fr 1.4fr; }
  .mobile-appointment-bar { left: auto; width: 380px; }
}

@media (min-width: 900px) {
  body.menu-open { overflow: auto; }
  .header-inner { min-height: 88px; }
  .nav-toggle { display: none; }
  .primary-nav { position: static; display: flex; align-items: center; padding: 0; gap: clamp(0.75rem, 2vw, 1.6rem); background: transparent; border: 0; box-shadow: none; opacity: 1; pointer-events: auto; transform: none; }
  .primary-nav > a:not(.button) { position: relative; padding: 0.4rem 0; font-size: 0.78rem; }
  .primary-nav > a:not(.button)::after { position: absolute; content: ""; height: 1px; right: 0; bottom: 0; left: 0; background: var(--plum); transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
  .primary-nav > a:not(.button):hover::after { transform: scaleX(1); transform-origin: left; }
  .hero { display: grid; padding: 8rem 0 4.5rem; place-items: center; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.78fr); gap: clamp(3rem, 6vw, 7rem); }
  .hero-visual { width: 100%; }
  .credential-card { left: -2rem; bottom: 4.2rem; }
  .intro-grid { grid-template-columns: 0.78fr 1.22fr; align-items: start; gap: clamp(3rem, 8vw, 8rem); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .approach-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(4rem, 8vw, 8rem); }
  .faq-grid { grid-template-columns: 0.75fr 1.25fr; align-items: start; gap: clamp(4rem, 8vw, 8rem); }
  .appointment-shell { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
  .site-footer { padding-bottom: 3rem; }
  .mobile-appointment-bar { display: none; }
}

@media (min-width: 1200px) {
  .hero-grid { transform: translateY(1rem); }
  .service-card,
  .service-cta { min-height: 330px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-contrast: more) {
  :root { --line: rgba(30, 18, 22, 0.38); }
  .eyebrow { color: #542536; }
  .button-primary { background: #4c1e2d; }
}
