/* =============================================================
   Sharmayu Ayurveda Clinic — Shared Landing Page Styles
   Mobile-first. Shared by borivali.html + virar.html.
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  --green-900: #1f3d2b;
  --green-700: #2f5d3f;
  --green-600: #3a7350;
  --green-100: #e5efe7;
  --gold-600: #b8873b;
  --gold-500: #c8a457;
  --cream: #f7f3ea;
  --cream-dark: #efe8d8;
  --ink: #2a2620;
  --ink-soft: #55504a;
  --white: #ffffff;
  --line: #e3dccd;
  --wa-green: #25d366;
  --shadow-sm: 0 2px 8px rgba(31, 61, 43, 0.08);
  --shadow-md: 0 8px 24px rgba(31, 61, 43, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --topbar-h: 56px; /* mobile: 2 lines (contact + hours); becomes 40px at >=600 */
  --header-h: 60px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--green-900); font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold-600); outline-offset: 2px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.section { padding: 44px 0; }
.section--tint { background: var(--white); }
.section--green { background: var(--green-700); color: var(--cream); }
.section--green h2, .section--green h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-600); font-weight: 600; margin-bottom: .5rem;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 28px; }
.section-head h2 { font-size: 1.6rem; }
.section-head p { color: var(--ink-soft); margin-bottom: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 600;
  font-size: 1rem; border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--gold-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #a6772f; }
.btn--call { background: var(--green-700); color: #fff; }
.btn--call:hover { background: var(--green-900); }
.btn--wa { background: var(--wa-green); color: #08340f; }
.btn--wa:hover { background: #1fb757; }
.btn--ghost { background: transparent; border-color: currentColor; }
.btn--light { background: #fff; color: var(--green-900); }
.btn--light:hover { background: #eef3ee; }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn .ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- Sticky top bar ---------- */
.topbar {
  background: var(--green-900); color: var(--cream); font-size: .82rem;
  position: sticky; top: 0; z-index: 60;
}
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 3px 16px; height: var(--topbar-h); flex-wrap: wrap; align-content: center; white-space: nowrap; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.topbar a:hover { color: var(--gold-500); }
.topbar .sep { opacity: .4; }
/* Mobile: hours drop to their own centered second line */
.tb-hours-sep { display: none; }
.tb-hours { flex-basis: 100%; text-align: center; opacity: .9; }
@media (min-width: 600px) {
  :root { --topbar-h: 40px; }
  .topbar .container { flex-wrap: nowrap; gap: 14px; }
  .tb-hours-sep { display: inline; }
  .tb-hours { flex-basis: auto; }
}
.topbar .ico { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  background: var(--cream); position: sticky; top: var(--topbar-h); z-index: 55;
  box-shadow: var(--shadow-sm);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand img { height: 28px; width: auto; flex: none; }
.brand-x { color: var(--gold-600); font-weight: 400; font-size: 1rem; line-height: 1; flex: none; }
@media (max-width: 359px) { .brand img { height: 23px; } .brand { gap: 6px; } }
.header-cta { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; color: #fff;
}
.icon-btn .ico { width: 20px; height: 20px; fill: currentColor; }
.icon-btn--call { background: var(--green-700); }
.icon-btn--wa { background: var(--wa-green); }
.header-cta .btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; isolation: isolate;
  background: var(--green-900);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(21,40,28,.82) 0%, rgba(21,40,28,.72) 45%, rgba(21,40,28,.88) 100%);
}
.hero__inner { padding-top: 34px; padding-bottom: 40px; }
.hero h1 { color: #fff; font-size: 1.75rem; margin-bottom: .5rem; }
.hero .hero__eyebrow { color: var(--gold-500); }
.hero__sub { font-size: 1.02rem; color: #eae4d6; max-width: 620px; margin-bottom: 1.25rem; }
.hero__sub strong { color: #fff; }
.hero__cta { display: flex; flex-direction: column; gap: 10px; max-width: 460px; }
.hero__cta-row { display: flex; gap: 10px; }
.hero__cta-row .btn { flex: 1; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: .82rem;
  color: #e6e0d2;
}
.hero__trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
/* Featured image card — desktop only, fills the right column */
.hero__media { display: none; position: relative; }
.hero__media > picture, .hero__media > img {
  display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,.35); border: 4px solid rgba(255,255,255,.12);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: -18px; bottom: 26px; background: var(--white); color: var(--green-900);
  border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px;
}
.hero__badge b { font-size: 2rem; line-height: 1; color: var(--gold-600); }
.hero__badge span { font-size: .82rem; font-weight: 600; line-height: 1.2; }

/* ---------- Trust / partner bar ---------- */
.trustbar { background: var(--cream-dark); padding: 18px 0; }
.trustbar p { text-align: center; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 12px; }
.trustbar__logos { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.trustbar__logos img { height: 38px; width: auto; filter: grayscale(1); opacity: .72; transition: .2s; }
.trustbar__logos img:hover { filter: none; opacity: 1; }

/* ---------- Why choose us grid ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pillar {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px; box-shadow: var(--shadow-sm);
}
.pillar img { width: 46px; height: 46px; margin-bottom: 10px; }
.pillar h3 { font-size: 1rem; margin-bottom: .35rem; }
.pillar p { font-size: .86rem; color: var(--ink-soft); margin: 0; }

/* ---------- Treatments ---------- */
.treatments { display: grid; grid-template-columns: 1fr; gap: 16px; }
.tcard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.tcard__media { position: relative; aspect-ratio: 16 / 10; background: var(--green-100); overflow: hidden; }
.tcard__media img { width: 100%; height: 100%; object-fit: cover; }
.tcard__tag {
  position: absolute; top: 10px; left: 10px; background: rgba(31,61,43,.9); color: #fff;
  font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; letter-spacing: .03em;
}
.tcard__body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.tcard__body h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.tcard__body p { font-size: .88rem; color: var(--ink-soft); }
.tcard__body .enquire { margin-top: auto; align-self: flex-start; }
.tcard small.note { display: block; font-size: .74rem; color: #9a7b3d; margin-top: 4px; }

/* ---------- Doctor ---------- */
.doctor { display: grid; gap: 20px; align-items: center; }
.doctor__photo {
  background: var(--green-100); border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3;
}
.doctor__photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor__body h2 { font-size: 1.5rem; }
.doctor__creds { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.doctor__creds li { background: var(--green-100); color: var(--green-900); font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }

/* ---------- Process timeline ---------- */
.process { display: grid; grid-template-columns: 1fr; gap: 14px; }
.pstep {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 18px; display: flex; gap: 14px; align-items: flex-start;
}
.pstep__num { font-size: 1.6rem; font-weight: 700; color: var(--gold-500); line-height: 1; flex: none; min-width: 44px; }
.pstep h3 { color: #fff; font-size: 1.02rem; margin-bottom: .25rem; }
.pstep p { color: #dfe7e0; font-size: .86rem; margin: 0; }

/* ---------- Social proof ---------- */
.stat-wrap { display: grid; grid-template-columns: 1fr; gap: 16px; text-align: center; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: 2.1rem; color: var(--gold-600); line-height: 1; }
.stat span { font-size: .9rem; color: var(--ink-soft); }
.trustpoints { display: grid; gap: 10px; text-align: left; margin-top: 6px; }
.trustpoints li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.trustpoints .check { color: var(--green-600); font-weight: 700; flex: none; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); margin-bottom: 10px; overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 16px 46px 16px 16px; font-size: .98rem; font-weight: 600; color: var(--green-900);
  position: relative; font-family: inherit; min-height: 44px;
}
.faq__q::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--gold-600); transition: transform .2s;
}
.faq__q[aria-expanded="true"]::after { content: "–"; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq__a-inner { padding: 0 16px 16px; color: var(--ink-soft); font-size: .9rem; }

/* ---------- Inline CTA pair (used in every section) ---------- */
.cta-inline { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.cta-inline .btn { flex: 1 1 200px; max-width: 280px; }
.cta-inline--tight { margin-top: 14px; }

/* ---------- Booking CTA block (replaces lead form) ---------- */
.book-wrap { background: var(--cream-dark); }
.book-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 30px 22px; max-width: 620px; margin: 0 auto; border: 1px solid var(--line); text-align: center;
}
.book-card h2 { font-size: 1.5rem; }
.book-card p { color: var(--ink-soft); }
.book-note { font-size: .82rem; color: var(--ink-soft); margin: 16px 0 0; }
.book-note strong { color: var(--green-900); }

/* ---------- Location / contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.contact-info li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.contact-info .ico { width: 22px; height: 22px; fill: var(--green-700); flex: none; margin-top: 2px; }
.contact-info b { display: block; color: var(--green-900); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #cfd8cf; padding: 34px 0 96px; font-size: .88rem; }
.site-footer .container { display: grid; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-brand img { height: 38px; width: auto; background: #fff; border-radius: 8px; padding: 5px 8px; }
.footer-brand .brand-x { color: rgba(255,255,255,.55); font-size: 1.1rem; }
.footer-brand b { color: #fff; font-size: 1.05rem; }
.site-footer a:hover { color: var(--gold-500); }
.footer-social { display: flex; gap: 12px; margin: 6px 0; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; }
.footer-social .ico { width: 18px; height: 18px; fill: #cfd8cf; }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); }
.disclaimer { font-size: .78rem; color: #a9b4a9; margin-top: 8px; }

/* ---------- Sticky bottom bar (mobile) ---------- */
.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(247,243,234,.96); backdrop-filter: blur(6px);
  box-shadow: 0 -4px 16px rgba(31,61,43,.14);
}
.mobilebar .btn { min-height: 50px; }

/* ---------- Responsive ---------- */
@media (min-width: 600px) {
  .hero h1 { font-size: 2.1rem; }
  .treatments { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (min-width: 768px) {
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 2rem; }
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .doctor { grid-template-columns: 320px 1fr; gap: 30px; }
  .stat-wrap { grid-template-columns: 1.1fr 1.4fr; text-align: left; align-items: center; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.5rem; }
  .hero__inner { padding-top: 56px; padding-bottom: 64px; }
  .brand img { height: 34px; }
}
@media (min-width: 1024px) {
  .header-cta .btn { display: inline-flex; }
  .header-cta .icon-btn { display: none; }
  .treatments { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(4, 1fr); }
  .hero__inner { padding-top: 72px; padding-bottom: 80px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
  .hero__content { max-width: 640px; min-width: 0; }
  .hero h1 { font-size: 2.9rem; }
  .hero__media { display: block; width: 100%; max-width: 540px; min-width: 0; margin-left: auto; }
  .mobilebar { display: none; }
  .site-footer { padding-bottom: 34px; }
  .site-footer .container { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
