/* ==========================================================================
   Dr. Prajakta Patil — 1-1 Online Consultation
   Design language: cream grounds, deep green + navy bands, gold accents,
   Playfair Display italic headings with Montserrat body (mobile-first).
   ========================================================================== */

:root {
  --cream: #fffdf5;
  --cream-2: #faf6ea;
  --paper: #ffffff;
  --green: #0e4535;
  --green-deep: #0a3328;
  --green-ink: #12503d;
  --navy: #0c0d2e;
  --gold-1: #a8762f;
  --gold-2: #d6b155;
  --gold-soft: #e7cf8a;
  --ink: #2e3431;
  --muted: #5d6460;
  --line: #ebe2cb;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", "Noto Sans Devanagari", sans-serif;

  --radius: 10px;
  --shadow: 0 10px 30px -18px rgba(14, 69, 53, 0.35);
  --gold-gradient: linear-gradient(100deg, var(--gold-1) 0%, var(--gold-2) 100%);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
p { margin: 0; }
strong { font-weight: 600; color: var(--green-ink); }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
}
.container.narrow { max-width: 820px; }

/* ---------- Header ---------- */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--green);
}
.brand-name {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.01em;
}
.brand-rule { width: 1px; height: 26px; background: var(--gold-2); }
.brand-cred {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold-1);
}
.site-header .btn { display: none; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: var(--gold-gradient);
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 1px rgba(80, 50, 10, 0.35);
  box-shadow: 0 8px 20px -10px rgba(168, 118, 47, 0.75);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.04); box-shadow: 0 12px 26px -12px rgba(168, 118, 47, 0.85); }
.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.btn-sm { padding: 10px 22px; font-size: 12px; }
.btn-lg {
  width: 100%;
  max-width: 440px;
  min-height: 64px;
  padding: 14px 28px;
  border-radius: 40px;
}
.btn-main { font-size: 15px; line-height: 1.35; text-wrap: balance; }
.btn-sub {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.95;
}

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}
.marathi {
  font-size: 14px;
  color: var(--green-ink);
  line-height: 1.5;
}
.marathi.on-dark { color: var(--gold-soft); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-inner { position: relative; }
.hero-copy {
  padding: 64px 0 72px;
  text-align: center;
  position: relative;
}
.eyebrow-pill {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--green);
  color: var(--cream);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.02em;
  max-width: 100%;
}
.display {
  margin: 22px 0 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 9vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--green);
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--green-ink); }
.lead {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 34em;
  margin: 0 auto;
}

/* ---------- Sections ---------- */

.section { padding: 80px 0; }
.section-cream { background: var(--cream); }

.section-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 7.4vw, 46px);
  line-height: 1.2;
  color: var(--green);
  text-align: center;
  margin: 0 0 40px;
  text-wrap: balance;
}
.section-title.left { text-align: left; }
.section-title.light { color: var(--cream); }

.section-intro {
  max-width: 36em;
  margin: -16px auto 40px;
  text-align: center;
  font-size: 16.5px;
  color: var(--muted);
}

/* Topics */
.topics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.topics li {
  padding: 22px 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-soft);
  border-radius: var(--radius);
}
.topics h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.3;
  color: var(--green);
}
.topics p { font-size: 15px; line-height: 1.65; color: var(--muted); }

.note {
  max-width: 40em;
  margin: 40px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.note.on-dark { color: rgba(255, 253, 245, 0.82); }

/* ---------- Doctor ---------- */

.doctor {
  position: relative;
  background: var(--cream-2);
  padding: 80px 0;
}
.doctor-head .section-title { margin-bottom: 20px; }
.doctor-name {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.3;
  color: var(--green-ink);
}
.doctor-cred {
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--gold-1);
}
.prose {
  max-width: 560px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 20px;
  font-size: 16px;
  color: var(--ink);
}
.focus-list {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
  color: var(--green-ink);
  line-height: 1.9;
}
.focus-list i { font-style: normal; color: var(--gold-2); padding: 0 4px; }

/* ---------- What you get ---------- */

.section-green {
  background:
    radial-gradient(120% 80% at 50% 0%, #14563f 0%, var(--green) 45%, var(--green-deep) 100%);
  border-top: 5px solid transparent;
  border-image: var(--gold-gradient) 1;
  color: var(--cream);
}
.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.benefits li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 22px;
  background: var(--paper);
  border-radius: var(--radius);
  color: var(--ink);
  box-shadow: 0 14px 30px -24px rgba(0, 0, 0, 0.6);
}
.benefits p { font-size: 15.5px; line-height: 1.6; }
.check {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8762f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 58% no-repeat;
}

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--gold-soft); }
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--green);
  line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8762f' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 60% no-repeat;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; border-radius: var(--radius); }
.faq details p {
  padding: 0 20px 20px;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.75;
}

/* ---------- Final CTA ---------- */

.final { padding: 0 0 96px; background: var(--cream); }
.final-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold-2);
  border-radius: 14px;
  padding: 52px 22px 44px;
  text-align: center;
  box-shadow: var(--shadow);
}
.final-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 6.4vw, 38px);
  line-height: 1.3;
  color: var(--green);
  text-wrap: balance;
}
.final-title em { font-style: italic; color: var(--green-ink); }
.final-card .cta-block { margin-top: 32px; }

.details {
  max-width: 520px;
  margin: 32px auto 0;
  text-align: left;
  border-top: 1px solid var(--line);
}
.details div {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.details dt {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-1);
}
.details dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.cta-note { font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  border-top: 5px solid transparent;
  border-image: var(--gold-gradient) 1;
  color: var(--cream);
  padding: 44px 0 48px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.site-footer .brand-name { font-size: 24px; color: var(--cream); }
.site-footer .brand-cred { color: var(--gold-soft); }
.footer-note {
  max-width: 36em;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 253, 245, 0.72);
}

/* ==========================================================================
   Tablet
   ========================================================================== */

@media (min-width: 640px) {
  .container { padding: 0 32px; }
  .site-header .btn { display: inline-flex; }
  .header-inner { justify-content: space-between; min-height: 76px; }
  .brand-name { font-size: 24px; }

  .eyebrow-pill { font-size: 13.5px; padding: 10px 22px; }
  .lead { font-size: 17.5px; }

  .hero-copy { padding: 88px 0 96px; }

  .section { padding: 104px 0; }
  .topics { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .topics li { padding: 26px 26px 28px; }
  .doctor { padding: 104px 0; }
  .details div { grid-template-columns: 140px 1fr; gap: 16px; }

  .benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }
  .benefits li {
    flex: 0 1 calc(50% - 9px);
    flex-direction: column;
    gap: 18px;
    padding: 30px 28px;
  }
  .benefits p { font-size: 16px; }

  .faq summary { padding: 18px 26px; font-size: 16.5px; }
  .faq details p { padding: 0 26px 24px; }

  .final-card { padding: 64px 48px 52px; }
  .btn-main { font-size: 16px; }
}

/* ==========================================================================
   Desktop
   ========================================================================== */

@media (min-width: 960px) {
  /* Hero: centred copy */
  .hero { min-height: 560px; display: flex; align-items: center; }
  .hero-inner { width: 100%; }
  .hero-copy {
    padding: 96px 0;
    max-width: 760px;
    margin: 0 auto;
  }
  .display { font-size: 58px; margin: 28px 0 22px; }

  /* Doctor: heading block left, bio right */
  .doctor { padding: 120px 0; }
  .doctor-inner {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: start;
  }
  .prose { margin-top: 0; padding-top: 0; padding-left: 40px; border-top: 0; border-left: 1px solid var(--line); }

  .topics { grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin: 0 auto; }

  .benefits { max-width: 1000px; margin: 0 auto; }
  .benefits li { flex-basis: calc(33.333% - 12px); }

  .section { padding: 120px 0; }
}

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