/* === SHARED STYLES FOR NIROG MANN CLINIC === */
:root {
  --green-deep: #0F3D2E;
  --green-mid: #1F5A3D;
  --green-bright: #4A9D5F;
  --green-soft: #E8F0E5;
  --cream: #F5F0E6;
  --cream-dark: #EBE2D0;
  --ink: #1A1A1A;
  --ink-soft: #2D2D2D;
  --muted: #6B6B6B;
  --gold: #C8A55B;
  --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
.display { font-family: 'Fraunces', serif; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 32px; }

/* === NAV === */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 32px;
  background: rgba(245, 240, 230, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 61, 46, 0.08);
}
.nav-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-deep); }
.nav-brand img { height: 42px; width: auto; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-text strong { font-family: 'Fraunces', serif; font-weight: 600; font-size: 18px; color: var(--green-deep); }
.nav-brand-text span { font-size: 11px; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--green-deep); }
.nav-cta {
  background: var(--green-deep); color: var(--cream) !important;
  padding: 10px 22px; border-radius: 50px;
  font-size: 13px !important; font-weight: 600 !important;
  transition: all 0.3s !important;
}
.nav-cta:hover { background: var(--green-mid); transform: translateY(-1px); color: var(--white) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--green-deep); margin: 5px 0; transition: 0.3s; border-radius: 2px; }

/* === ARTICLE / SUBPAGE HEADER === */
.subpage-hero {
  padding: 160px 0 80px;
  background:
    radial-gradient(ellipse at top right, rgba(74, 157, 95, 0.08) 0%, transparent 60%),
    var(--cream);
  border-bottom: 1px solid rgba(15, 61, 46, 0.08);
}
.breadcrumb {
  font-size: 13px; color: var(--muted); margin-bottom: 24px;
  display: flex; gap: 10px; align-items: center;
}
.breadcrumb a { color: var(--green-mid); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--green-deep); }
.breadcrumb-sep { color: var(--muted); }

.eyebrow {
  font-size: 12px; font-weight: 600; color: var(--green-bright);
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--green-bright);
}
.subpage-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5.5vw, 64px); line-height: 1.05;
  color: var(--green-deep); margin-bottom: 24px;
  font-weight: 400; letter-spacing: -0.02em; max-width: 800px;
}
.subpage-title em { font-style: italic; color: var(--green-mid); font-weight: 300; }
.subpage-lede {
  font-size: 19px; color: var(--ink-soft); line-height: 1.65;
  max-width: 720px;
}

/* === ARTICLE BODY === */
.article {
  background: var(--cream);
  padding: 80px 0 100px;
}
.article-content { font-size: 17px; line-height: 1.75; color: var(--ink-soft); }
.article-content h2 {
  font-family: 'Fraunces', serif; font-size: 32px;
  color: var(--green-deep); margin: 56px 0 18px;
  font-weight: 500; letter-spacing: -0.01em; line-height: 1.2;
}
.article-content h2:first-child { margin-top: 0; }
.article-content h3 {
  font-family: 'Fraunces', serif; font-size: 22px;
  color: var(--green-mid); margin: 36px 0 14px;
  font-weight: 500; line-height: 1.3;
}
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { margin: 20px 0 24px 28px; }
.article-content li { margin-bottom: 10px; line-height: 1.65; }
.article-content strong { color: var(--ink); font-weight: 600; }
.article-content em { font-style: italic; }
.article-content a { color: var(--green-mid); text-decoration: underline; text-decoration-color: rgba(74, 157, 95, 0.4); text-underline-offset: 3px; }
.article-content a:hover { color: var(--green-deep); }
.article-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--green-deep);
  font-weight: 300;
}
.callout {
  background: var(--white);
  border-left: 4px solid var(--green-bright);
  padding: 24px 28px;
  border-radius: 8px;
  margin: 36px 0;
  box-shadow: 0 4px 12px rgba(15, 61, 46, 0.05);
}
.callout-title {
  font-family: 'Fraunces', serif; font-size: 18px; font-weight: 600;
  color: var(--green-deep); margin-bottom: 8px; display: flex; align-items: center; gap: 10px;
}
.callout p:last-child { margin-bottom: 0; }
.callout-warn { border-left-color: #C8A55B; }

/* === IN-ARTICLE CTA === */
.inline-cta {
  background: var(--green-deep);
  color: var(--cream);
  padding: 36px 36px;
  border-radius: 16px;
  margin: 48px 0;
  text-align: center;
}
.inline-cta h3 {
  font-family: 'Fraunces', serif; font-size: 26px;
  color: var(--cream); margin-bottom: 10px; font-weight: 500;
}
.inline-cta p { color: rgba(245, 240, 230, 0.85); margin-bottom: 22px; font-size: 15px; }
.inline-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  padding: 14px 26px; border-radius: 50px; text-decoration: none;
  font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.3s; border: none; cursor: pointer;
}
.btn-cream { background: var(--cream); color: var(--green-deep); }
.btn-cream:hover { background: var(--white); transform: translateY(-2px); }
.btn-outline-cream { background: transparent; color: var(--cream); border: 1.5px solid rgba(245, 240, 230, 0.4); }
.btn-outline-cream:hover { background: rgba(245, 240, 230, 0.1); border-color: var(--cream); }

/* === META BAR (for blog posts) === */
.meta-bar {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid rgba(15, 61, 46, 0.1);
  font-size: 13px; color: var(--muted);
}
.meta-author {
  display: flex; align-items: center; gap: 10px;
  font-weight: 500; color: var(--green-deep);
}
.meta-author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.meta-divider { width: 1px; height: 16px; background: rgba(15, 61, 46, 0.15); }

/* === RELATED CONDITIONS === */
.related {
  background: var(--white);
  padding: 80px 0;
  border-top: 1px solid rgba(15, 61, 46, 0.08);
}
.related-title {
  font-family: 'Fraunces', serif; font-size: 32px;
  color: var(--green-deep); margin-bottom: 12px; font-weight: 500;
  text-align: center;
}
.related-sub { color: var(--muted); text-align: center; margin-bottom: 48px; font-size: 15px; }
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(15, 61, 46, 0.1);
  border: 1px solid rgba(15, 61, 46, 0.1);
  border-radius: 4px; max-width: 1000px; margin: 0 auto;
}
.related-card {
  background: var(--white); padding: 28px 24px;
  text-decoration: none; color: var(--ink);
  transition: all 0.3s ease;
  display: flex; flex-direction: column; gap: 8px;
}
.related-card:hover { background: var(--cream); }
.related-card-tag { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.related-card h4 {
  font-family: 'Fraunces', serif; font-size: 19px; font-weight: 500;
  color: var(--green-deep); line-height: 1.3;
}
.related-card-arrow { color: var(--green-bright); font-size: 14px; margin-top: auto; padding-top: 8px; }

/* === SYMPTOMS GRID (for condition pages) === */
.symptoms-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin: 28px 0 36px;
}
.symptom {
  background: var(--white); padding: 18px 22px; border-radius: 12px;
  display: flex; align-items: flex-start; gap: 14px;
  border: 1px solid rgba(15, 61, 46, 0.08);
  font-size: 15px;
}
.symptom-check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

/* === FOOTER === */
footer {
  background: var(--green-deep); color: var(--cream); padding: 80px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.footer-brand img { height: 56px; background: var(--cream); padding: 6px; border-radius: 8px; }
.footer-brand-text strong { font-family: 'Fraunces', serif; font-size: 24px; color: var(--cream); display: block; font-weight: 500; }
.footer-brand-text span { font-size: 12px; color: rgba(245, 240, 230, 0.6); letter-spacing: 0.08em; text-transform: uppercase; }
.footer-tagline { font-family: 'Fraunces', serif; font-style: italic; font-size: 18px; color: rgba(245, 240, 230, 0.85); line-height: 1.5; max-width: 360px; margin-bottom: 24px; }
.footer-col h4 { font-family: 'Fraunces', serif; font-size: 18px; margin-bottom: 20px; color: var(--cream); font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(245, 240, 230, 0.7); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 28px; border-top: 1px solid rgba(245, 240, 230, 0.1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: rgba(245, 240, 230, 0.5);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(245, 240, 230, 0.5); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--gold); }

/* === FLOATING WHATSAPP === */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 99;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: white; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); cursor: pointer;
  transition: all 0.3s; text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5); }

/* === BLOG INDEX === */
.blog-index { padding: 60px 0 100px; background: var(--cream); }
.blog-index-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 1100px; margin: 0 auto; }
.blog-index-card {
  background: var(--white); border-radius: 16px; overflow: hidden;
  text-decoration: none; color: inherit; transition: all 0.4s ease;
  display: flex; flex-direction: column;
}
.blog-index-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -10px rgba(15, 61, 46, 0.15); }
.blog-index-image {
  aspect-ratio: 16/9; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
  display: flex; align-items: center; justify-content: center;
  color: rgba(245, 240, 230, 0.4);
}
.blog-index-content { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.blog-index-tag {
  font-size: 11px; color: var(--green-bright); letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 14px;
}
.blog-index-card h3 {
  font-family: 'Fraunces', serif; font-size: 24px; line-height: 1.3;
  color: var(--green-deep); margin-bottom: 12px; font-weight: 500;
}
.blog-index-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 18px; flex: 1; }
.blog-index-meta { font-size: 12px; color: var(--muted); display: flex; gap: 12px; margin-top: auto; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .related-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-index-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .container, .container-narrow { padding: 0 20px; }
  nav { padding: 14px 20px; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 24px; gap: 18px; box-shadow: 0 8px 20px rgba(0,0,0,0.05); border-bottom: 1px solid rgba(15, 61, 46, 0.1); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-brand-text strong { font-size: 16px; }
  .nav-brand img { height: 36px; }
  .subpage-hero { padding: 120px 0 60px; }
  .article { padding: 60px 0 80px; }
  .article-content { font-size: 16px; }
  .article-content h2 { font-size: 26px; }
  .symptoms-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .inline-cta { padding: 28px 24px; }
  .inline-cta h3 { font-size: 22px; }
}

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
