/*
Theme Name: Hashmi Homeopathic Clinic
Theme URI: https://A3DigitalServices.com
Author: A3DigitalServices.com
Author URI: https://A3DigitalServices.com
Description: Premium mobile-first multi-page theme for Hashmi Homeopathic Clinic, Jaitpur, New Delhi. Includes home, about, treatments (11 condition pages), locations (8 area pages), FAQs, contact, privacy policy and terms. All photos are editable from Appearance > Customize > Clinic Photos.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: hashmi-clinic
*/

:root {
  --bg: #f7f4ee;
  --card: #ffffff;
  --fg: #1c211f;
  --muted: #61706b;
  --border: #e2ddd3;
  --primary: #1f4d43;
  --primary-dark: #163a33;
  --primary-soft: #e7efeb;
  --primary-fg: #ffffff;
  --accent: #c9822f;
  --whatsapp: #1fa855;
  --radius: 18px;
  --shadow-card: 0 1px 2px rgba(28, 33, 31, .04), 0 12px 28px -18px rgba(28, 33, 31, .28);
  --shadow-float: 0 24px 60px -28px rgba(22, 58, 51, .5);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: Fraunces, Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h1 { font-size: 2.05rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.stack > * + * { margin-top: 14px; }
.grid { display: grid; gap: 22px; }
@media (min-width: 780px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.1rem; }
  .section { padding: 76px 0; }
  .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .split { grid-template-columns: 1.05fr .95fr; align-items: center; }
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--primary); color: var(--primary-fg); font-family: Fraunces, serif; font-size: 20px; }
.brand-name { font-family: Fraunces, serif; font-weight: 600; font-size: 15px; line-height: 1.2; display: block; }
.brand-sub { font-size: 11px; color: var(--muted); display: block; }
.nav { display: none; align-items: center; gap: 2px; }
.nav a { padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); }
.nav a:hover, .nav a.current { color: var(--primary); background: var(--primary-soft); }
.menu-toggle { width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 14px; background: transparent; display: grid; place-items: center; cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--card); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 4px; font-weight: 500; border-bottom: 1px solid var(--border); }
@media (min-width: 1024px) { .nav { display: flex; } .menu-toggle { display: none; } .mobile-nav { display: none !important; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 13px 22px; font-size: 14px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: .18s ease; }
.btn svg { width: 17px; height: 17px; }
.btn-wa { background: var(--whatsapp); color: #fff; }
.btn-wa:hover { filter: brightness(.94); }
.btn-outline { border-color: rgba(31, 77, 67, .25); background: var(--primary-soft); color: var(--primary); }
.btn-outline:hover { background: #dbe7e2; }
.btn-ghost { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .14); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .24); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* Hero */
.hero { color: var(--primary-fg); overflow: hidden; }
.hero { background: linear-gradient(140deg, #24594e 0%, var(--primary) 45%, #12322c 100%); }
.hero .container { padding-top: 52px; padding-bottom: 52px; }
@media (min-width: 780px) { .hero .container { padding-top: 88px; padding-bottom: 88px; } }
.hero h1 { margin-top: 22px; }
.hero p { color: rgba(255, 255, 255, .86); }
.hero img { border-radius: 26px; box-shadow: var(--shadow-float); border: 1px solid rgba(255, 255, 255, .18); }
.rating { display: inline-flex; align-items: center; gap: 9px; border-radius: 999px; padding: 8px 15px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.rating .stars { color: #f3c257; letter-spacing: 1px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .18); max-width: 540px; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.facts dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.facts dd { margin: 4px 0 0; font-size: 14px; font-weight: 600; }

/* Page hero */
.page-hero { background: linear-gradient(180deg, var(--primary-soft), var(--bg)); border-bottom: 1px solid var(--border); padding: 26px 0 46px; }
.crumbs { font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 7px; }
.crumbs a:hover { color: var(--primary); }
.page-hero h1 { margin-top: 16px; max-width: 900px; }
.page-hero p { margin-top: 14px; max-width: 720px; color: var(--muted); }
.eyebrow { display: inline-flex; border-radius: 999px; padding: 6px 13px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); border: 1px solid rgba(31, 77, 67, .2); }

/* Cards */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-card); transition: .2s ease; }
a.card:hover { transform: translateY(-3px); border-color: rgba(31, 77, 67, .3); }
.card h3 { margin-bottom: 8px; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.check li { position: relative; padding-left: 26px; margin-top: 10px; color: var(--muted); font-size: 15px; }
.check li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary-soft); border: 2px solid var(--primary); }
.pill-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pill-links a { border: 1px solid var(--border); background: var(--card); border-radius: 999px; padding: 8px 15px; font-size: 13px; font-weight: 500; }
.pill-links a:hover { border-color: var(--primary); color: var(--primary); }

/* Gallery + map */
.gallery img { border-radius: var(--radius); box-shadow: var(--shadow-card); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
figure { margin: 0; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.map { border: 0; width: 100%; height: 340px; border-radius: var(--radius); border: 1px solid var(--border); }

/* FAQ */
details.faq { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; margin-top: 12px; }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--primary); font-size: 20px; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* CTA band */
.cta-band { background: var(--primary); color: var(--primary-fg); border-radius: 26px; padding: 34px 26px; text-align: center; }
.cta-band p { color: rgba(255, 255, 255, .84); margin-top: 10px; }
.cta-band .btn-row { justify-content: center; }

/* Footer */
.site-footer { margin-top: 64px; border-top: 1px solid var(--border); background: #efeade; }
.footer-grid { display: grid; gap: 32px; padding: 48px 0; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-title { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.site-footer li { margin-top: 9px; font-size: 14px; }
.site-footer li a { color: var(--muted); }
.site-footer li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 20px; padding-bottom: 96px; font-size: 12px; color: var(--muted); }
.footer-bottom a:hover { color: var(--primary); }
.credit a { color: var(--primary); font-weight: 600; }
@media (min-width: 768px) { .footer-bottom .container { padding-bottom: 24px; } }

/* Mobile bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--border); }
.mobile-bar .btn { justify-content: center; width: 100%; }
@media (min-width: 768px) { .mobile-bar { display: none; } }

.prose p { color: var(--muted); margin-top: 12px; font-size: 15px; }
.prose h2 { margin-top: 28px; }
.maxw { max-width: 760px; }
