/* ═══════════════════════════════════════
   CONDITIONS.CSS — Shared styles for condition pages
   Inherits design system from homepage
   ═══════════════════════════════════════ */

:root {
  --navy: #0F2744;
  --navy-deep: #091B30;
  --steel: #2B5F83;
  --steel-light: #3A7CA5;
  --teal: #3D8B8B;
  --gold: #C6963C;
  --gold-light: #D4AA5A;
  --gold-glow: rgba(198, 150, 60, 0.12);
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --warm-gray: #F0F1F4;
  --mid-gray: #8A919E;
  --text: #1A1D26;
  --text-light: #4A5068;
  --border: #E2E4E9;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --container: min(72rem, 92vw);
  --section-pad: clamp(4rem, 8vw, 7rem);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; font-size: 1rem; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: var(--container); margin: 0 auto; }
.section-pad { padding: var(--section-pad) 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.section-label { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }

/* ═══ NAV (same as homepage) ═══ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(15, 39, 68, 0.95); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.nav-brand { display: flex; flex-direction: column; }
.nav-name { font-family: var(--font-display); font-size: 1.05rem; color: var(--white); }
.nav-title { font-size: 0.65rem; color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.7); transition: color 0.3s; }
.nav-links a:hover { color: var(--white); }
.nav-lang { display: flex; gap: 0.5rem; margin-left: 1.5rem; padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,0.15); }
.nav-lang a { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.5); padding: 0.2rem 0.45rem; border-radius: 3px; }
.nav-lang a.active { color: var(--white); background: rgba(198, 150, 60, 0.25); }
.nav-cta-btn { background: var(--gold); color: var(--navy-deep) !important; padding: 0.45rem 1.2rem; border-radius: 6px; font-weight: 700; font-size: 0.78rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; }

/* ═══ CONDITION HERO ═══ */
.condition-hero {
  padding: 7rem 0 3rem;
  background: linear-gradient(165deg, var(--navy-deep), var(--navy) 60%, var(--steel));
  color: var(--white);
}
.breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2rem;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 0.4rem; }
.breadcrumb .current { color: rgba(255,255,255,0.8); }
.condition-hero-inner { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem; align-items: start; }
.condition-trilingual { font-size: 0.9rem; color: var(--gold-light); margin: 0.5rem 0 1.25rem; font-weight: 500; }
.condition-hero-desc { font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 2rem; max-width: 34rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; border-radius: 8px; font-weight: 600; font-size: 0.9rem; transition: all 0.35s var(--ease); cursor: pointer; border: none; }
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(198, 150, 60, 0.3); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.btn-outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }

/* Doctor card in hero */
.doctor-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.75rem;
  backdrop-filter: blur(8px);
}
.doctor-card h4 { color: var(--gold); margin-bottom: 0.3rem; font-size: 1.1rem; }
.doctor-card > p { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-bottom: 1rem; }
.doctor-card ul { display: flex; flex-direction: column; gap: 0.5rem; }
.doctor-card li { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

/* ═══ CONDITION CONTENT ═══ */
.condition-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.condition-article h2 {
  margin: 2.5rem 0 1rem;
  color: var(--navy);
  font-size: 1.5rem;
}
.condition-article h2:first-of-type { margin-top: 0; }
.condition-article p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 1rem;
}
.areas-served {
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  background: var(--off-white);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.areas-served h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.75rem; }
.areas-served p { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; }


.medical-review-note {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.medical-review-note p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0 0 0.35rem;
}
.medical-review-note p:last-child { margin-bottom: 0; }
.medical-review-note strong { color: var(--navy); }
.reference-list { margin: 0 0 1.5rem 1.15rem; }
.reference-list li { margin-bottom: 0.65rem; color: var(--text-light); }
.reference-list a { color: var(--steel); text-decoration: underline; text-underline-offset: 2px; }
.reference-list a:hover { color: var(--gold); }

/* ═══ SIDEBAR ═══ */
.condition-sidebar { position: sticky; top: 5rem; }
.sidebar-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.sidebar-card h4 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.sidebar-card > p { font-size: 0.82rem; color: var(--text-light); margin-bottom: 1rem; }
.sidebar-btn {
  display: block;
  text-align: center;
  padding: 0.7rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--navy);
  color: var(--white);
  margin-bottom: 0.5rem;
  transition: all 0.3s;
}
.sidebar-btn:hover { background: var(--steel); }
.sidebar-btn-wa { background: #25D366; }
.sidebar-btn-wa:hover { background: #20BD5A; }
.sidebar-conditions li { margin-bottom: 0.4rem; }
.sidebar-conditions a { font-size: 0.82rem; color: var(--steel); font-weight: 500; transition: color 0.3s; }
.sidebar-conditions a:hover { color: var(--gold); }

/* ═══ FAQ (reused) ═══ */
.faq-list { max-width: 48rem; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 0.75rem; overflow: hidden; }
.faq-item.active { border-color: var(--steel-light); }
.faq-question { width: 100%; background: none; border: none; padding: 1.25rem 1.75rem; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: var(--text); text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-chevron { font-size: 1.2rem; transition: transform 0.3s; color: var(--mid-gray); flex-shrink: 0; }
.faq-item.active .faq-chevron { transform: rotate(180deg); color: var(--gold); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 1.75rem 1.5rem; font-size: 0.9rem; color: var(--text-light); line-height: 1.8; }

/* ═══ CTA ═══ */
.cta-section { background: linear-gradient(135deg, var(--teal), var(--steel)); padding: 4rem 0; color: var(--white); }
.cta-section h2 { color: var(--white); }
.cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #20BD5A; transform: translateY(-2px); }
.btn-phone { background: var(--white); color: var(--navy); }
.btn-phone:hover { transform: translateY(-2px); }

/* ═══ FOOTER ═══ */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.5); padding: 2rem 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: rgba(255,255,255,0.4); transition: color 0.3s; font-size: 0.82rem; }
.footer-social a:hover { color: var(--gold); }

/* WhatsApp float */
.whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); z-index: 999; font-size: 1.6rem; transition: all 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .condition-hero-inner { grid-template-columns: 1fr; }
  .condition-layout { grid-template-columns: 1fr; }
  .condition-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 4rem; left: 0; right: 0; background: var(--navy-deep); padding: 1.5rem; gap: 1rem; }
  .nav-lang { margin-left: 0; padding-left: 0; border-left: none; }
  .condition-sidebar { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
