/* ═══════════════════════════════════════════════════════════════
   Krishna & Associates — shared stylesheet for /services/ pages.
   Reuses the exact design tokens, nav, and footer from the homepage
   (navy + gold + cream; Playfair Display / Cormorant Garamond / Jost).
   Adds an article/prose layout for long-form service content.
═══════════════════════════════════════════════════════════════ */
:root {
  --navy: #0a1628;
  --navy-mid: #152238;
  --navy-light: #1e3050;
  --gold: #c8a050;
  --gold-light: #e0bc6a;
  --gold-pale: #f0d898;
  --cream: #f8f4ee;
  --cream-dark: #ede5d6;
  --text-light: #f0e8d5;
  --text-muted: #8aaec8;
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--navy);
  color: var(--text-light);
  overflow-x: hidden;
}

/* ═══ NAV (identical to homepage) ═══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 72px;
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,160,80,0.15);
  transition: transform 0.3s ease;
}
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo-icon { width: 40px; height: 40px; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-name { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; color: var(--text-light); letter-spacing: 0.5px; }
.nav-logo-sub { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: rgba(240,232,213,0.7); font-weight: 400; transition: color 0.3s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: transparent; border: 1px solid var(--gold); color: var(--gold) !important; padding: 8px 20px; border-radius: 2px; transition: background 0.3s, color 0.3s !important; }
.nav-cta:hover { background: var(--gold) !important; color: var(--navy) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gold); transition: all 0.3s; }
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--navy-mid); border-bottom: 1px solid rgba(200,160,80,0.15); z-index: 999; flex-direction: column; padding: 20px 5%; }
.mobile-menu.open { display: flex; }
.mobile-menu a { text-decoration: none; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: rgba(240,232,213,0.8); padding: 14px 0; border-bottom: 1px solid rgba(200,160,80,0.1); transition: color 0.3s; }
.mobile-menu a:hover { color: var(--gold); }

/* ═══ ARTICLE SHELL ═══ */
.article {
  max-width: 880px;
  margin: 0 auto;
  padding: 120px 5% 80px;
}
.article-wide { max-width: 1140px; }

/* Breadcrumb */
.breadcrumb {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 36px;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span[aria-current] { color: var(--gold); }

/* Page header */
.page-eyebrow { font-size: 11px; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700; line-height: 1.12;
  color: var(--text-light);
  margin-bottom: 14px;
}
.page-title em { font-style: italic; color: var(--gold); }
.page-lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.4vw, 24px);
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 22px;
  max-width: 680px;
}
.page-divider { width: 70px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); margin-bottom: 40px; }

/* Prose */
.prose { font-size: 16px; line-height: 1.85; font-weight: 300; color: rgba(240,232,213,0.82); }
.prose h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700; color: var(--text-light);
  margin: 48px 0 16px; line-height: 1.2;
}
.prose h2 em { font-style: italic; color: var(--gold); }
.prose h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 600; color: var(--gold-pale);
  margin: 32px 0 12px;
}
.prose p { margin-bottom: 18px; }
.prose a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(200,160,80,0.35); transition: color 0.3s, border-color 0.3s; }
.prose a:hover { color: var(--gold-light); border-color: var(--gold-light); }
.prose strong { color: var(--text-light); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 20px 0; padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 22px; margin-bottom: 10px; line-height: 1.7; }
.prose ul li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
.prose ol { counter-reset: item; }
.prose ol li { counter-increment: item; }
.prose ol li::before { content: counter(item) '.'; position: absolute; left: 0; color: var(--gold); font-weight: 600; }

/* Callout box (thresholds / due dates) */
.callout {
  background: rgba(200,160,80,0.06);
  border: 1px solid rgba(200,160,80,0.18);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 15px;
}
.callout .callout-title { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 500; }

/* ═══ FAQ ═══ */
.faq { margin-top: 56px; }
.faq h2 { font-family: 'Playfair Display', serif; font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: var(--text-light); margin-bottom: 24px; }
.faq-item {
  border: 1px solid rgba(200,160,80,0.15);
  border-radius: 8px;
  margin-bottom: 14px;
  background: rgba(10,22,40,0.4);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 20px 24px;
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 600; color: var(--text-light);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--gold); font-size: 24px; font-weight: 400; flex-shrink: 0; transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--gold); }
.faq-answer { padding: 0 24px 22px; font-size: 15px; line-height: 1.8; font-weight: 300; color: rgba(240,232,213,0.78); }
.faq-answer a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(200,160,80,0.35); }

/* ═══ RELATED SERVICES ═══ */
.related { margin-top: 64px; }
.related h2 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--text-light); margin-bottom: 8px; }
.related-divider { width: 50px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); margin-bottom: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.related-card {
  display: block; text-decoration: none;
  background: rgba(10,22,40,0.55);
  border: 1px solid rgba(200,160,80,0.14);
  border-radius: 8px; padding: 24px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.related-card:hover { border-color: rgba(200,160,80,0.4); transform: translateY(-4px); background: rgba(10,22,40,0.8); }
.related-card .rc-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 600; color: var(--text-light); margin-bottom: 8px; }
.related-card .rc-desc { font-size: 13px; color: rgba(240,232,213,0.6); line-height: 1.6; font-weight: 300; }
.related-card .rc-more { display: inline-block; margin-top: 14px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.related-card .rc-more::after { content: ' →'; }

/* ═══ CTA ═══ */
.cta-band {
  margin-top: 64px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border: 1px solid rgba(200,160,80,0.22);
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--gold), var(--gold-light), var(--gold)); }
.cta-band h2 { font-family: 'Playfair Display', serif; font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: var(--text-light); margin-bottom: 12px; }
.cta-band p { font-size: 15px; color: rgba(240,232,213,0.7); font-weight: 300; margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--gold); color: var(--navy); padding: 14px 32px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; border: none; border-radius: 2px; cursor: pointer; text-decoration: none; transition: background 0.3s, transform 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text-light); padding: 14px 32px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 400; border: 1px solid rgba(240,232,213,0.3); border-radius: 2px; cursor: pointer; text-decoration: none; transition: border-color 0.3s, color 0.3s; display: inline-block; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ═══ FOOTER (identical to homepage) ═══ */
footer { background: #060f1a; border-top: 1px solid rgba(200,160,80,0.12); padding: 40px 5%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-copy { font-size: 13px; color: rgba(240,232,213,0.35); font-weight: 300; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 12px; letter-spacing: 1px; color: rgba(240,232,213,0.4); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }

/* ═══ SERVICES HUB GRID ═══ */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 8px; }
.hub-card {
  background: rgba(10,22,40,0.6);
  border: 1px solid rgba(200,160,80,0.12);
  border-radius: 8px; padding: 32px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.hub-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--gold), transparent); transform: scaleY(0); transform-origin: top; transition: transform 0.3s; }
.hub-card:hover { border-color: rgba(200,160,80,0.35); transform: translateY(-4px); background: rgba(10,22,40,0.85); }
.hub-card:hover::before { transform: scaleY(1); }
.hub-card .hub-icon { width: 52px; height: 52px; margin-bottom: 20px; background: rgba(200,160,80,0.08); border-radius: 50%; border: 1px solid rgba(200,160,80,0.2); display: flex; align-items: center; justify-content: center; }
.hub-card .hub-icon svg { width: 24px; height: 24px; }
.hub-card h2 { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 600; color: var(--text-light); margin-bottom: 12px; }
.hub-card p { font-size: 14px; line-height: 1.7; color: rgba(240,232,213,0.62); font-weight: 300; margin-bottom: 18px; flex-grow: 1; }
.hub-card .hub-more { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); text-decoration: none; font-weight: 500; }
.hub-card .hub-more::after { content: ' →'; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 680px) {
  nav { padding: 0 6%; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .article { padding: 100px 6% 60px; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .cta-buttons { flex-direction: column; }
}
