/* ==========================================================================
   Dr Maity — Ayurvedic Clinic  |  Hand-written static stylesheet
   ========================================================================== */

:root {
  --green:        #3d6b37;
  --green-dark:   #2b4d27;
  --green-soft:   #e9f0e4;
  --gold:         #c19a3e;
  --gold-light:   #e7d4a0;
  --cream:        #f7f4ec;
  --ink:          #2c332b;
  --muted:        #6a7065;
  --white:        #ffffff;
  --line:         #e3ddd0;
  --radius:       14px;
  --shadow:       0 10px 30px rgba(43, 77, 39, .10);
  --shadow-sm:    0 4px 14px rgba(43, 77, 39, .08);
  --wrap:         1180px;
  --font-body:    'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head:    'Lora', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--green-dark); line-height: 1.25; margin: 0 0 .5em; font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--white); }
.section--green { background: var(--green); color: #eaf2e6; }
.section--green h2, .section--green h3 { color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; font-size: .72rem;
  color: var(--gold); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 50px; font-weight: 600;
  font-size: .95rem; cursor: pointer; border: 2px solid transparent;
  transition: all .22s ease; line-height: 1;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #a9852f; color: #fff; transform: translateY(-2px); }
.btn--outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1da851; color: #fff; transform: translateY(-2px); }

/* ===== Top bar ===== */
.topbar {
  background: var(--green-dark); color: #dce8d6;
  font-size: .82rem; padding: 8px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #dce8d6; }
.topbar a:hover { color: var(--gold-light); }
.topbar .tb-left span { margin-right: 18px; white-space: nowrap; }
.topbar i { color: var(--gold-light); margin-right: 6px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--white);
  box-shadow: var(--shadow-sm);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; gap: 20px; }
.logo img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 500; color: var(--ink); font-size: .95rem; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: width .25s; }
.nav a:hover, .nav a.active { color: var(--green); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--green-dark); cursor: pointer; }

/* ===== Hero ===== */
.hero { position: relative; background: var(--green-dark); color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero::after { content:''; position:absolute; inset:0; background: linear-gradient(105deg, rgba(43,77,39,.92) 0%, rgba(43,77,39,.55) 55%, rgba(43,77,39,.25) 100%); }
.hero .wrap { position: relative; z-index: 2; padding: 96px 20px; max-width: var(--wrap); }
.hero__inner { max-width: 640px; }
.hero .eyebrow { color: var(--gold-light); letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; font-weight: 600; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 14px 0 18px; }
.hero p { font-size: 1.08rem; color: #e6efe1; margin-bottom: 30px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Feature strip ===== */
.features { background: var(--white); }
.features .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { text-align: center; padding: 26px 16px; border-radius: var(--radius); transition: transform .2s; }
.feature:hover { transform: translateY(-4px); }
.feature .ic { width: 60px; height: 60px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 1.5rem; }
.feature h4 { margin: 0 0 6px; font-size: 1.05rem; }
.feature p { margin: 0; font-size: .88rem; color: var(--muted); }

/* ===== Cards grid (therapies / conditions) ===== */
.cards { display: grid; gap: 26px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .22s, box-shadow .22s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--green-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 18px 18px 22px; text-align: center; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body h3 { font-size: 1.08rem; margin: 0; }
.card__price { font-family: var(--font-body); font-weight: 600; color: var(--gold); font-size: 1.02rem; }
.card__price small { color: var(--muted); font-weight: 400; font-size: .76rem; display: block; }
.card .btn { align-self: center; margin-top: auto; padding: 9px 20px; font-size: .85rem; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-grid h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.about-grid .lead { color: var(--green); font-weight: 500; font-size: 1.1rem; margin-bottom: 16px; }
.about-grid p { color: var(--muted); }
.about-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.about-points li { padding-left: 30px; position: relative; }
.about-points li::before { content: '\2714'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ===== Testimonials ===== */
.testimonials .cards--3 { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin: 0 auto; }
.quote {
  background: var(--white); border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative;
}
.quote .stars { color: var(--gold); margin-bottom: 12px; letter-spacing: 2px; }
.quote p { font-style: italic; color: #4b524a; margin: 0 0 18px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote .who strong { display: block; color: var(--green-dark); font-family: var(--font-head); }

/* ===== CTA band ===== */
.cta-band { background: var(--green); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { color: #e2ecdc; max-width: 620px; margin: 0 auto 26px; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Page banner ===== */
.page-banner { background: var(--green-dark); color: #fff; text-align: center; padding: 64px 20px; position: relative; overflow: hidden; }
.page-banner h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 8px; }
.page-banner .crumb { color: var(--gold-light); font-size: .9rem; }
.page-banner .crumb a { color: var(--gold-light); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ic { flex: 0 0 46px; height: 46px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 1.15rem; }
.info-list h4 { margin: 0 0 2px; font-size: 1rem; }
.info-list p, .info-list a { margin: 0; color: var(--muted); font-family: var(--font-body); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); min-height: 320px; height: 100%; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { font-size: .85rem; font-weight: 600; color: var(--green-dark); display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: .95rem; background: var(--white); color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.form textarea { resize: vertical; min-height: 120px; }
.form .note { font-size: .8rem; color: var(--muted); margin: 0; }

/* ===== Rich text (policies / faq) ===== */
.rich { max-width: 860px; margin: 0 auto; background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.rich h3 { font-size: 1.35rem; margin-top: 28px; }
.rich h3:first-child { margin-top: 0; }
.rich ul { padding-left: 22px; }
.rich li { margin-bottom: 12px; color: #454c43; }
.rich strong { color: var(--green-dark); }

.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; padding: 20px 24px; font-weight: 600; color: var(--green-dark); font-family: var(--font-head); font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--gold); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .ans { padding: 0 24px 22px; color: var(--muted); }

/* ===== Footer ===== */
.site-footer { background: var(--green-dark); color: #c9d6c2; padding-top: 60px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.site-footer a { color: #c9d6c2; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .f-logo { background:#fff; padding:10px 14px; border-radius:12px; display:inline-block; margin-bottom:16px; }
.site-footer .f-logo img { height: 52px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.f-social { display: flex; gap: 12px; margin-top: 8px; }
.f-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; }
.f-social a:hover { background: var(--gold); }
.f-contact li { margin-bottom: 12px; display: flex; gap: 10px; }
.f-contact i { color: var(--gold-light); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center; font-size: .85rem; color: #aebca7; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 8px 24px rgba(0,0,0,.25); animation: wapulse 2.4s infinite; }
.wa-float:hover { color:#fff; background:#1da851; }
@keyframes wapulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.5);} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0);} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0);} }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .cards--4 { grid-template-columns: repeat(3, 1fr); }
  .features .grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 18px;
    box-shadow: var(--shadow); display: none;
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; }
  .cards--4, .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .testimonials .cards--3 { grid-template-columns: 1fr; }
  .form .row2 { grid-template-columns: 1fr; }
  .topbar .tb-left span:not(:first-child) { display: none; }
  .hero .wrap { padding: 64px 20px; }
}
@media (max-width: 480px) {
  .cards--4, .cards--3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .card__body h3 { font-size: .95rem; }
}
