/* ===========================================================
   Ventura County Process Serving — Legal pages stylesheet
   Shared by /privacy and /terms. Matches the main site tokens.
   =========================================================== */
:root {
  --navy:       #1B2B4B;
  --navy-dark:  #111D33;
  --navy-light: #243558;
  --gold:       #C9A84C;
  --gold-light: #E8C97E;
  --gold-pale:  #F5E8C3;
  --sky:        #4A8DB8;
  --ocean:      #2E6D96;
  --white:      #FFFFFF;
  --off-white:  #F8F9FC;
  --gray-100:   #F0F2F7;
  --gray-200:   #D8DDE8;
  --gray-600:   #5A6480;
  --gray-800:   #2D3554;
  --text:       #1A1E30;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(27,43,75,0.08);
  --shadow-md: 0 8px 32px rgba(27,43,75,0.12);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 0;
}
.topbar a { color: var(--gold-light); }
.topbar a:hover { color: var(--white); }
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.nav-logo img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-logo-text { line-height: 1.2; }
.nav-logo-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.nav-logo-text span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-800);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--navy); background: var(--gray-100); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: var(--gray-200); color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* ---------- Legal hero band ---------- */
.legal-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.legal-hero::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px; height: 3px;
  background: var(--gold);
  margin-left: max(24px, calc((100% - var(--max-width)) / 2 + 24px));
  border-radius: 2px;
}
.legal-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.legal-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
}
.legal-updated {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-light);
  transition: color var(--transition);
}
.legal-back:hover { color: var(--white); }

/* ---------- Legal content ---------- */
.legal-content {
  padding: 56px 0 72px;
  background: var(--off-white);
}
.legal-content .container { max-width: 840px; }

.legal-content .intro {
  font-size: 17px;
  color: var(--gray-800);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 14px;
  padding-top: 8px;
}
.legal-content h2 .num {
  color: var(--gold);
  font-size: 18px;
  margin-right: 8px;
  vertical-align: baseline;
}
.legal-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-light);
  margin: 24px 0 8px;
}
.legal-content p {
  font-size: 15.5px;
  color: var(--gray-800);
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-content ul {
  margin: 0 0 16px 4px;
  padding-left: 22px;
}
.legal-content li {
  font-size: 15.5px;
  color: var(--gray-800);
  line-height: 1.7;
  margin-bottom: 9px;
  padding-left: 4px;
}
.legal-content li::marker { color: var(--gold); }
.legal-content strong { color: var(--navy); font-weight: 700; }
.legal-content a.inline {
  color: var(--ocean);
  font-weight: 600;
  border-bottom: 1px solid rgba(46,109,150,0.35);
  transition: color var(--transition), border-color var(--transition);
}
.legal-content a.inline:hover { color: var(--navy); border-color: var(--navy); }

.legal-content hr {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 40px 0;
}

/* Contact / highlight box */
.legal-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}
.legal-box h3 { margin-top: 0; }
.legal-box p { margin-bottom: 6px; }
.legal-box a { color: var(--ocean); font-weight: 600; }
.legal-box a:hover { color: var(--navy); }

.legal-note {
  font-size: 13.5px;
  color: var(--gray-600);
  font-style: italic;
  line-height: 1.7;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

/* ---------- Footer ---------- */
footer {
  background: var(--navy-dark);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-logo img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}
.footer-logo-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--white);
}
.footer-logo-text span {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 24px;
}
.footer-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-cta .btn { font-size: 13px; padding: 10px 20px; }
.btn-primary { background: var(--navy-light); color: var(--white); }
.btn-primary:hover { background: var(--sky); }
.btn-outline-white { background: transparent; border-color: rgba(255,255,255,0.3); color: var(--white); }
.btn-outline-white:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-bottom a {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--gold); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a[aria-current="page"] { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .topbar-item:nth-child(3) { display: none; }
}
@media (max-width: 560px) {
  .nav-cta .btn-outline { display: none; }
  .topbar-item:nth-child(2) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
