/* Salient Formation — Shared stylesheet for all sub-pages
   Used by service pages, blog posts, blog index, legal pages.
   Matches the navy & gold theme of index.html. */

:root {
  --navy: #0a1f44;
  --navy-dark: #061434;
  --navy-deep: #050f28;
  --gold: #c9a85a;
  --gold-light: #e0c485;
  --gold-dark: #a8893f;
  --cream: #f8f5ef;
  --cream-dark: #ede7d8;
  --white: #ffffff;
  --slate: #4a5568;
  --slate-light: #8896a8;
  --ink: #1a1a1a;
  --line: #e6e3dc;
  --shadow-sm: 0 2px 8px rgba(10, 31, 68, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 31, 68, 0.10);
  --shadow-lg: 0 20px 50px rgba(10, 31, 68, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--navy-dark);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 600; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 18px; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 16px; margin-top: 34px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; margin-top: 26px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; margin-top: 22px; }
p { margin-bottom: 16px; color: var(--navy-dark); }
a { color: var(--gold-dark); }
a:hover { color: var(--navy); }
ul, ol { margin: 0 0 18px 22px; }
ul li, ol li { margin-bottom: 8px; color: var(--navy-dark); }
strong { color: var(--navy); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* Top bar */
.topbar {
  background: var(--navy-deep);
  color: var(--cream);
  font-size: 0.82rem;
  padding: 9px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.topbar a { color: var(--gold-light); text-decoration: none; margin-left: 18px; }
.topbar a:hover { color: var(--white); }
.topbar .left span { margin-right: 18px; opacity: 0.85; }

/* Header */
header.main-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.3rem;
  border: 1px solid var(--gold);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .name { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 600; color: var(--navy); }
.logo-text .tag { font-size: 0.72rem; letter-spacing: 2.5px; color: var(--gold-dark); text-transform: uppercase; margin-top: 3px; }
nav.primary ul { display: flex; list-style: none; gap: 34px; align-items: center; margin: 0; }
nav.primary ul li { margin: 0; }
nav.primary a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.94rem;
}
nav.primary a:hover { color: var(--gold-dark); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.4px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }
.btn-lg { padding: 16px 34px; font-size: 1rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.hamburger span { width: 26px; height: 2px; background: var(--navy); }
.mobile-menu {
  position: fixed; top: 0; right: 0;
  width: 280px; height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  padding: 80px 30px 30px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu ul { list-style: none; margin: 0; }
.mobile-menu ul li { margin-bottom: 18px; }
.mobile-menu ul li a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: 1rem; }

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 168, 90, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(201, 168, 90, 0.10) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb {
  font-size: 0.86rem;
  color: var(--gold-light);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.page-hero .breadcrumb a { color: var(--gold-light); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb .sep { color: var(--gold); margin: 0 8px; }
.page-hero .eyebrow {
  display: inline-block;
  background: rgba(201, 168, 90, 0.14);
  border: 1px solid rgba(201, 168, 90, 0.4);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.74rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 20px;
}
.page-hero h1 { color: var(--white); margin-bottom: 18px; max-width: 820px; }
.page-hero .lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
  line-height: 1.65;
}
.page-hero .meta { color: rgba(255, 255, 255, 0.68); font-size: 0.92rem; margin-top: 18px; }
.page-hero .meta span + span::before { content: '·'; margin: 0 10px; color: var(--gold); }

/* Content section */
.page-content { padding: 70px 0 90px; }
.page-content p { font-size: 1.04rem; line-height: 1.8; color: var(--navy-dark); }
.page-content h2 { color: var(--navy); padding-top: 12px; border-top: 1px solid var(--line); margin-top: 44px; padding-top: 32px; }
.page-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

/* Sidebar / Aside */
.with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 60px; align-items: start; }
.sidebar {
  position: sticky; top: 100px;
  background: var(--cream);
  border-radius: 6px;
  padding: 28px 26px;
  border-top: 4px solid var(--gold);
}
.sidebar h3 { font-size: 1.1rem; margin-top: 0; margin-bottom: 12px; color: var(--navy); }
.sidebar p { font-size: 0.92rem; color: var(--slate); margin-bottom: 16px; }
.sidebar .contact-line {
  display: flex; gap: 10px; align-items: center;
  font-size: 0.88rem; color: var(--navy);
  padding: 8px 0;
}
.sidebar .contact-line a { color: var(--navy); text-decoration: none; }
.sidebar .contact-line a:hover { color: var(--gold-dark); }
.sidebar .btn { width: 100%; text-align: center; margin-top: 6px; }

/* Service / Blog cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px 26px;
  transition: all 0.3s;
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .cat { font-size: 0.72rem; letter-spacing: 2px; color: var(--gold-dark); text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.card h3 { font-size: 1.2rem; margin: 0 0 10px; }
.card p { color: var(--slate); font-size: 0.94rem; margin-bottom: 14px; }
.card .read-more { color: var(--navy); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.3px; }
.card .read-more::after { content: ' →'; color: var(--gold-dark); }
.card .meta { font-size: 0.78rem; color: var(--slate-light); display: flex; gap: 12px; margin-top: 14px; }

/* CTA boxes */
.cta-box {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 44px 38px;
  border-radius: 6px;
  margin: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(201,168,90,0.12) 0%, transparent 50%);
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 12px; margin-top: 0; }
.cta-box p { color: rgba(255,255,255,0.78); margin-bottom: 22px; font-size: 1rem; }
.cta-box .btn-primary { padding: 14px 32px; }

.inline-cta {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 22px 26px;
  margin: 30px 0;
  border-radius: 3px;
}
.inline-cta .label { font-size: 0.72rem; letter-spacing: 2px; color: var(--gold-dark); font-weight: 700; text-transform: uppercase; margin-bottom: 6px; }
.inline-cta strong { color: var(--navy); font-size: 1.04rem; display: block; margin-bottom: 8px; font-family: 'Playfair Display', serif; font-weight: 600; }
.inline-cta p { font-size: 0.95rem; color: var(--navy-dark); margin-bottom: 14px; }
.inline-cta a.btn { padding: 10px 22px; font-size: 0.86rem; }

/* Service feature blocks */
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
  padding: 12px 0 12px 32px;
  position: relative;
  font-size: 1rem;
  color: var(--navy-dark);
  border-bottom: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 13px;
  width: 22px; height: 22px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.74rem;
  font-weight: 700;
}

/* Process steps */
.process-list { list-style: none; padding: 0; margin: 30px 0; }
.process-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.process-list li:last-child { border-bottom: none; }
.process-list .num {
  width: 50px; height: 50px;
  background: var(--white);
  border: 2px solid var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
}
.process-list .step h4 { margin: 0 0 6px; font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--navy); }
.process-list .step p { margin: 0; color: var(--slate); font-size: 0.96rem; }

/* FAQ */
.faq-list { margin: 30px 0; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-question .icon {
  width: 24px; height: 24px;
  background: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner { padding: 0 22px 20px; color: var(--slate); font-size: 0.96rem; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 400px; }

/* Footer */
footer.main-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 40px; }
.footer-brand .logo-text .name { color: var(--white); }
.footer-brand .logo-text .tag { color: var(--gold-light); }
.footer-brand p { margin-top: 18px; font-size: 0.92rem; line-height: 1.7; }
footer.main-footer h4 { color: var(--white); margin: 0 0 22px; font-family: 'Inter', sans-serif; font-size: 0.84rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
footer.main-footer ul { list-style: none; margin: 0; padding: 0; }
footer.main-footer ul li { margin-bottom: 11px; }
footer.main-footer ul li a { color: rgba(255, 255, 255, 0.65); text-decoration: none; font-size: 0.92rem; }
footer.main-footer ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.55); text-decoration: none; margin-left: 16px; }
.footer-bottom a:hover { color: var(--gold-light); }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 36px; height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
}
.socials a:hover { background: var(--gold); color: var(--navy); }

@media (max-width: 980px) {
  nav.primary ul, .topbar .right { display: none; }
  .hamburger { display: flex; }
  .with-sidebar { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 60px 0 50px; }
  .page-content { padding: 50px 0 70px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .topbar .left span { display: 