/* Mariya Ayurveda Clinic — Logo-Matched Premium Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Exact Color Palette Matched from Mariya Ayurveda Logo */
  --green-dark: #1b432c;      /* Logo Dark Forest Green */
  --green-mid: #234932;       /* Medium Herbal Green */
  --green-accent: #3b6b47;    /* Logo Leaf Green Accent */
  --green-light: #588560;     /* Soft Herbal Green */
  --tint: #eff4f0;            /* Warm Herbal Tint Background */
  --tint-hover: #e2ece4;
  --bg: #f8f9f5;              /* Cream / Off-White Organic Background */
  --white: #ffffff;
  --ink: #11261a;
  --text: #344238;
  --muted: #5e6d62;
  --border: #d8e2da;
  --border-dark: #2c523b;
  --gold: #b88a38;            /* Warm Kerala Brass/Gold */
  --gold-light: #f7eedc;
  --gold-hover: #9e742a;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 14px rgba(27, 67, 44, 0.05);
  --shadow: 0 10px 30px rgba(27, 67, 44, 0.08);
  --shadow-lg: 0 20px 45px rgba(27, 67, 44, 0.12);
  --glass: rgba(255, 255, 255, 0.92);
  --glass-dark: rgba(27, 67, 44, 0.94);
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--ink);
  margin: 0 0 0.5em 0;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1.2em 0; }
a { color: var(--green-accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-hover); }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; }

/* Layout Containers */
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.section { padding: 76px 0; position: relative; }
.section--tint { background: var(--tint); }
.section--white { background: var(--white); }
.section--dark { background: var(--green-dark); color: #d6e5db; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #ffffff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: rgba(35, 73, 50, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  border: 1px solid rgba(35, 73, 50, 0.15);
}
.section--dark .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #f7eedc;
  border-color: rgba(255, 255, 255, 0.2);
}

.center { text-align: center; }
.lede { color: var(--muted); font-size: 17.5px; max-width: 680px; margin: 0 auto 16px auto; line-height: 1.6; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.btn-primary { background: var(--green-dark); color: #fff; }
.btn-primary:hover { background: #12301f; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-hover); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border-color: var(--green-dark); color: var(--green-dark); }
.btn-outline:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--green-dark); transform: translateY(-2px); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* Top bar */
.topbar { background: var(--green-dark); color: #c4d7cb; font-size: 13.5px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 42px; flex-wrap: wrap; gap: 12px; padding-top: 4px; padding-bottom: 4px; }
.topbar a { color: #e1ede5; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--gold-light); }
.topbar-left, .topbar-right { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }

/* Header & Nav */
header.site {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 48px; height: 48px; flex-shrink: 0; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-family: 'Playfair Display', serif; font-size: 21px; color: var(--green-dark); letter-spacing: -0.02em; }
.brand-name span { font-size: 11px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; font-weight: 700; }

nav.main { display: flex; align-items: center; gap: 30px; }
nav.main a { font-size: 15px; font-weight: 600; color: var(--ink); position: relative; padding: 6px 0; }
nav.main a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2.5px;
  background: var(--green-accent); transition: var(--transition); border-radius: 2px;
}
nav.main a.active, nav.main a:hover { color: var(--green-dark); }
nav.main a.active::after, nav.main a:hover::after { width: 100%; }

.nav-toggle {
  display: none; background: transparent; border: none; cursor: pointer; padding: 8px;
  border-radius: 8px; transition: var(--transition);
}
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--green-dark); margin: 6px 0; border-radius: 2px; transition: var(--transition); }

/* Mobile Menu Drawer */
@media (max-width: 960px) {
  nav.main {
    position: fixed; top: 86px; left: 0; right: 0; bottom: 0; background: var(--white);
    flex-direction: column; align-items: flex-start; padding: 32px 28px; gap: 20px;
    box-shadow: var(--shadow-lg); display: none; overflow-y: auto; z-index: 99;
  }
  nav.main.open-mobile { display: flex; animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  nav.main a { font-size: 18px; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  nav.main a::after { display: none; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero { padding: 70px 0 60px 0; overflow: hidden; background: linear-gradient(180deg, rgba(239,244,240,0.6) 0%, var(--bg) 100%); }
.hero .grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.hero h1 { font-size: 42px; line-height: 1.2; margin-bottom: 18px; color: var(--green-dark); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: #e3ede6; color: var(--green-dark);
  padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 18px;
  border: 1px solid #c4d7cb;
}

/* Precise Unzoomed Doctor & Consultation Cards */
.doctor-hero-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 16px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.doctor-hero-card:hover {
  border-color: var(--green-dark);
  box-shadow: var(--shadow-lg);
}
.doctor-hero-card img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  background: #f2f6f3;
  border-radius: var(--radius);
  margin-bottom: 14px;
  border: 1px solid var(--border);
}
.doctor-hero-card .doc-title {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  color: var(--green-dark);
  font-weight: 700;
  margin-bottom: 4px;
}
.doctor-hero-card .doc-sub {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.4;
}

/* General Image Frame Sizing */
.img-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--tint);
  width: 100%;
  height: auto;
  min-height: 380px;
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f2f6f3;
}
.img-frame .badge-overlay {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  background: var(--glass-dark); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.15);
  font-size: 13.5px; line-height: 1.4;
}
.img-frame .badge-overlay strong { display: block; font-family: 'Playfair Display', serif; font-size: 16px; color: var(--gold-light); }

/* Map Embed Container Sizing */
.map-embed-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.map-embed-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Stats Bar */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  box-shadow: var(--shadow-sm);
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 15%; height: 70%; width: 1px; background: var(--border);
}
.stat b { display: block; font-family: 'Playfair Display', serif; font-size: 36px; color: var(--green-dark); font-weight: 700; }
.stat span { font-size: 13.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* Grid Layouts */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

/* Cards & Components */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bcd1c3; }
.card-pad { padding: 28px; flex: 1; }

.service-card { position: relative; }
.service-card .icon {
  width: 50px; height: 50px; border-radius: 12px; background: var(--tint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  color: var(--green-dark); transition: var(--transition);
}
.service-card:hover .icon { background: var(--green-dark); color: #fff; }
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; flex: 1; }
.service-card a.link-arrow { font-size: 14px; font-weight: 700; color: var(--green-dark); display: inline-flex; align-items: center; gap: 6px; }
.service-card a.link-arrow:hover { color: var(--green-accent); transform: translateX(3px); }

/* Treatments Filter Tabs */
.filter-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.tab-btn {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--white); color: var(--text); font-weight: 600; font-size: 13.5px;
  cursor: pointer; transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }

/* Pills & Tags */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid #c7dcd0; background: var(--white); color: var(--green-dark);
  border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 600;
}
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Testimonials */
.testimonial { padding: 28px; background: var(--white); position: relative; }
.testimonial .stars { color: var(--gold); font-size: 15px; margin-bottom: 12px; }
.testimonial .quote { font-size: 15px; color: var(--text); font-style: italic; margin-bottom: 18px; line-height: 1.6; }
.testimonial .who { font-size: 14px; font-weight: 700; color: var(--green-dark); display: flex; flex-direction: column; }
.testimonial .who span { font-weight: 500; font-size: 12.5px; color: var(--muted); font-style: normal; }

/* AEO Summary Box */
.aeo-summary-box {
  background: linear-gradient(135deg, #f3f7f4 0%, #e6efe8 100%);
  border: 1px solid #c7dcd0;
  border-left: 5px solid var(--green-dark);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}
.aeo-summary-box h3, .aeo-summary-box h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.aeo-summary-box p, .aeo-summary-box ul { font-size: 14.5px; color: var(--ink); margin-bottom: 0; }
.aeo-summary-box ul { padding-left: 20px; margin-top: 8px; }

/* Credentials Box */
.credentials-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.credentials-box ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.credentials-box li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: var(--ink); }
.credentials-box li svg { color: var(--green-dark); flex-shrink: 0; margin-top: 3px; }

/* FAQs */
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); margin-bottom: 12px; overflow: hidden; transition: var(--transition);
}
.faq-item:hover { border-color: #bcd1c3; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; cursor: pointer; font-weight: 700; font-size: 15.5px;
  color: var(--ink); gap: 16px; user-select: none;
}
.faq-q .sign {
  width: 26px; height: 26px; border-radius: 50%; background: var(--tint);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  color: var(--green-dark); transition: transform 0.3s ease; flex-shrink: 0;
}
.faq-item.open { border-color: var(--green-dark); box-shadow: var(--shadow-sm); }
.faq-item.open .faq-q .sign { transform: rotate(45deg); background: var(--green-dark); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease; padding: 0 24px; }
.faq-item.open .faq-a { max-height: 600px; padding: 0 24px 20px 24px; }
.faq-a p { font-size: 14.5px; color: var(--text); line-height: 1.65; margin: 0; }

/* Blog Article Styles */
.blog-card { height: 100%; }
.blog-card .img-container { height: 220px; overflow: hidden; position: relative; }
.blog-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover img { transform: scale(1.04); }
.blog-card .card-pad { padding: 24px; }
.blog-card h3 { font-size: 19px; line-height: 1.35; margin-bottom: 10px; }
.blog-meta { font-size: 12px; font-weight: 700; color: var(--green-dark); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }

article.post { max-width: 820px; margin: 0 auto; background: var(--white); padding: 44px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
article.post h1 { font-size: 36px; margin-bottom: 18px; color: var(--green-dark); }
article.post h2 { font-size: 24px; margin-top: 1.8em; margin-bottom: 0.6em; color: var(--green-dark); }
article.post p { font-size: 16.5px; line-height: 1.75; color: #2d3832; }
article.post .lead { font-size: 19px; color: var(--ink); font-weight: 600; line-height: 1.6; border-left: 4px solid var(--green-dark); padding-left: 18px; margin: 20px 0 28px 0; }
article.post .featured-img { border-radius: var(--radius); overflow: hidden; margin: 28px 0; box-shadow: var(--shadow); max-height: 440px; }
article.post .featured-img img { width: 100%; height: 100%; object-fit: contain; background: #f2f6f3; }

.disclaimer-box {
  background: var(--tint); border-left: 4px solid var(--green-dark); padding: 18px 22px;
  font-size: 13.5px; color: var(--text); border-radius: 0 8px 8px 0; margin: 32px 0; line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, #12301f 100%);
  color: #fff; padding: 64px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner h2 { color: #fff; font-size: 34px; margin-bottom: 10px; }
.cta-banner .lede { color: #d6e5db; }

/* Floating WhatsApp Badge */
.floating-whatsapp {
  position: fixed; bottom: 26px; right: 26px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 14px; box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
  transition: var(--transition); text-decoration: none;
}
.floating-whatsapp:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5); }
.floating-whatsapp .pulse { width: 9px; height: 9px; background: #fff; border-radius: 50%; animation: pulseRing 1.8s infinite; }

@keyframes pulseRing {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Sticky Mobile Bottom Bar */
.sticky-mobile {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border); padding: 10px 16px; gap: 10px; z-index: 100;
}
.sticky-mobile a {
  flex: 1; text-align: center; padding: 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none;
}
.sticky-mobile .call { border: 2px solid var(--green-dark); color: var(--green-dark); background: #fff; }
.sticky-mobile .wa { background: #25d366; color: #fff; }

/* Footer */
footer.site { background: var(--green-dark); color: #a8bdaf; border-top: 1px solid rgba(255,255,255,0.1); }
footer.site .grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.2fr; gap: 40px; padding: 70px 0 36px 0; }
footer.site h4 { color: #fff; font-size: 15.5px; margin-bottom: 16px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; }
footer.site a { color: #a8bdaf; font-size: 14px; transition: var(--transition); }
footer.site a:hover { color: #fff; transform: translateX(3px); }
footer.site .col { display: flex; flex-direction: column; gap: 11px; }
footer.site .brand-foot { font-family: 'Playfair Display', serif; font-size: 23px; color: #fff; margin-bottom: 10px; }
footer.site .legal { border-top: 1px solid #284c36; padding: 22px 0; font-size: 12px; text-align: center; color: #879f8e; }

/* Scroll Animation Utilities */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero .grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  footer.site .grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  article.post { padding: 30px 20px; }
  .hero h1 { font-size: 36px; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .stat:not(:last-child)::after { display: none; }
  .hero h1 { font-size: 30px; }
  .topbar { display: none; }
  .floating-whatsapp { display: none; }
  .sticky-mobile { display: flex; }
  body { padding-bottom: 68px; }
  footer.site .grid { grid-template-columns: 1fr; }
}
