/* ─── Reset & Base ─────────────────────────────── */
/* v2 enhanced — language toggle, credential tabs, service pages */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0d2454;
  --navy-dark:  #030b1a;
  --royal:      #14338a;
  --gold:       #c8922a;
  --gold-light: #e2b060;
  --paper:      #f5f2ea;
  --white:      #ffffff;
  --ink:        #0f1623;
  --ink-soft:   #374151;
  --border:     rgba(255,255,255,0.12);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, Arial, sans-serif;

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-md:  0 4px 24px rgba(3,11,26,0.14);
  --shadow-lg:  0 12px 48px rgba(3,11,26,0.22);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.serif { font-family: var(--serif); }
.text-white { color: var(--white); }
.bg-white { background: var(--white); }
.bg-paper { background: var(--paper); }
.bg-navy-dark { background: var(--navy-dark); }

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.section { padding: 96px 0; }

/* Intersection observer fade-in — credential-item excluded (dynamically rendered) */
.pillar, .why-card, .step, .stat {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.pillar.visible, .why-card.visible, .step.visible, .stat.visible {
  opacity: 1;
  transform: translateY(0);
}

/* form-success: hidden attribute must win over display:flex */
[hidden] { display: none !important; }

/* ─── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 4px 20px rgba(200,146,42,0.35); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--royal); }
.btn-outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.65); }
.btn-outline-white:hover { background: var(--white); color: var(--navy-dark); }
.btn-lg { padding: 17px 36px; font-size: 0.82rem; }
.btn-full { width: 100%; }

/* ─── Section Headers ────────────────────────────── */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-label-gold { color: var(--gold-light); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; color: var(--navy-dark); line-height: 1.12; margin-bottom: 16px; }
.section-title-left { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 600; color: var(--navy-dark); line-height: 1.14; margin-bottom: 20px; }
.section-intro { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; margin-top: 10px; }
.title-rule { width: 56px; height: 3px; background: var(--gold); margin: 18px auto; }

/* ─── HEADER ─────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(200,146,42,0.18);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: 0 6px 32px rgba(3,11,26,0.55); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
}

.brand { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.brand-logo { width: 56px; height: 56px; object-fit: contain; border: 1px solid rgba(200,146,42,0.4); padding: 4px; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; color: var(--white); line-height: 1; }
.brand-sub { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }

.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.main-nav a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--gold-light); }

.header-cta { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.phone-link { font-size: 0.9rem; font-weight: 700; color: var(--gold-light); letter-spacing: 0.04em; transition: color var(--transition); }
.phone-link:hover { color: var(--white); }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); }
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.mobile-nav.open { max-height: 400px; padding: 8px 0 20px; }
.mobile-nav a {
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.mobile-nav a:hover { color: var(--gold-light); }
.mobile-phone { color: var(--gold) !important; margin-top: 8px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px !important; }

/* ─── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 700px;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(105deg, rgba(3,11,26,0.96) 0%, rgba(13,36,84,0.88) 55%, rgba(20,51,138,0.78) 100%),
    url('../public/san-jose-courthouse.jpg');
  background-size: cover;
  background-position: center 30%;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  padding: 80px 0 100px;
  min-height: 700px;
}
.hero-copy { max-width: 640px; }
.eyebrow-tag {
  display: inline-block;
  border-left: 3px solid var(--gold);
  padding: 8px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.08);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.04;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.hero-portrait-wrap { position: relative; }
.portrait-frame {
  position: relative;
  border: 1px solid rgba(200,146,42,0.3);
  padding: 6px;
  background: rgba(255,255,255,0.04);
}
.portrait-frame::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(200,146,42,0.15);
  pointer-events: none;
}
.portrait-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
}
.portrait-card {
  background: var(--gold);
  padding: 14px 20px;
  margin-top: -1px;
}
.portrait-card-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--navy-dark); }
.portrait-card-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(3,11,26,0.7); margin-top: 3px; }

/* ─── STATS STRIP ────────────────────────────────── */
.stats-strip {
  background: var(--navy);
  padding: 32px 0;
  border-top: 1px solid rgba(200,146,42,0.2);
  border-bottom: 1px solid rgba(200,146,42,0.2);
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat { text-align: center; padding: 10px 48px; }
.stat-num { display: block; font-size: 2.8rem; font-weight: 600; color: var(--gold-light); line-height: 1; }
.stat-label { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 6px; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.15); }

/* ─── SERVICES ───────────────────────────────────── */
.service-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #e5e1d8;
}
.pillar {
  background: var(--white);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.45s ease, box-shadow 0.45s ease;
  cursor: default;
}
/* Active / featured state (carousel) */
.pillar.pillar-active {
  background: var(--navy-dark);
  box-shadow: 0 0 0 3px var(--gold);
  z-index: 1;
}
.pillar-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.pillar.pillar-active .pillar-badge { opacity: 1; }

.pillar-head { margin-bottom: 28px; }
.pillar-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 20px;
  transition: color 0.35s ease;
}
.pillar.pillar-active .pillar-icon { color: var(--gold-light); }

.pillar-title {
  font-size: 1.7rem; font-weight: 600; color: var(--navy-dark); margin-bottom: 14px;
  transition: color 0.35s ease;
}
.pillar.pillar-active .pillar-title { color: var(--white); }

.pillar-desc {
  font-size: 0.93rem; line-height: 1.75; color: var(--ink-soft);
  transition: color 0.35s ease;
}
.pillar.pillar-active .pillar-desc { color: rgba(255,255,255,0.7); }

.service-list { list-style: none; margin: 0 0 32px; flex: 1; }
.service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--transition), padding-left var(--transition), border-color 0.35s ease;
}
.pillar.pillar-active .service-link {
  border-bottom-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.82);
}
.service-link:hover { color: var(--gold); padding-left: 6px; }
.pillar.pillar-active .service-link:hover { color: var(--gold-light); }
.service-arrow { font-size: 1rem; opacity: 0.4; transition: opacity var(--transition), transform var(--transition); }
.service-link:hover .service-arrow { opacity: 1; transform: translateX(4px); }

/* Pillar CTA button — adapts to active state */
.pillar-cta {
  background: var(--navy);
  color: var(--white);
  transition: background 0.35s ease, color 0.35s ease;
}
.pillar-cta:hover { background: var(--royal); }
.pillar.pillar-active .pillar-cta { background: var(--gold); color: var(--navy-dark); }
.pillar.pillar-active .pillar-cta:hover { background: var(--gold-light); }

/* Carousel dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.carousel-dot {
  width: 28px;
  height: 4px;
  border: none;
  background: rgba(0,0,0,0.12);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
  padding: 0;
  border-radius: 2px;
}
.carousel-dot.active {
  background: var(--gold);
  width: 44px;
}

/* ─── WHY CHOOSE ─────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.why-left { position: sticky; top: 110px; }
.why-body { font-size: 1rem; line-height: 1.8; color: var(--ink-soft); margin-bottom: 28px; }
.why-right { display: grid; gap: 16px; }
.why-card {
  padding: 28px 28px 28px 32px;
  border-left: 3px solid var(--gold);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition), transform var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-lg); transform: translateX(4px); }
.why-num { font-size: 2.4rem; font-weight: 600; color: rgba(200,146,42,0.25); line-height: 1; margin-bottom: 10px; }
.why-card-title { font-size: 1rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 10px; }
.why-card-body { font-size: 0.9rem; line-height: 1.75; color: var(--ink-soft); }

/* ─── ABOUT ──────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: start;
}
.about-title { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; color: var(--white); margin: 14px 0 28px; }
.about-body { font-size: 1rem; line-height: 1.85; color: rgba(255,255,255,0.72); margin-bottom: 18px; }

.credential-stack {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,146,42,0.25);
  padding: 36px;
}
.credential-header {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.credential-item:last-of-type { border-bottom: none; }
.cred-icon { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.cred-title { font-size: 0.9rem; font-weight: 700; color: var(--white); }
.cred-school { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

.experience-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.1); }
.exp-badge {
  padding: 5px 12px;
  border: 1px solid rgba(200,146,42,0.4);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ─── PROCESS ────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 16px;
}
.step { text-align: center; padding: 0 16px; }
.step-connector {
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, var(--gold) 0%, transparent 100%);
  margin-top: 28px;
  opacity: 0.3;
  transform: rotate(90deg);
  align-self: start;
}
.step-num { font-size: 3rem; font-weight: 600; color: rgba(200,146,42,0.2); line-height: 1; margin-bottom: 16px; }
.step-title { font-size: 1.05rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 12px; }
.step-body { font-size: 0.88rem; line-height: 1.75; color: var(--ink-soft); }

/* ─── CONTACT ────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.contact-title { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 600; color: var(--navy-dark); line-height: 1.14; margin: 14px 0 20px; }
.contact-intro { font-size: 1rem; line-height: 1.8; color: var(--ink-soft); margin-bottom: 36px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.ci-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.ci-value { font-size: 0.95rem; font-weight: 600; color: var(--navy-dark); margin-top: 2px; display: block; transition: color var(--transition); }
a.ci-value:hover { color: var(--royal); }

.contact-form {
  background: var(--white);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.req { color: var(--gold); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid #d1cdc4;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 0.93rem;
  color: var(--ink);
  background: #faf9f6;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,36,84,0.1); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-disclaimer { font-size: 0.72rem; color: #9ca3af; line-height: 1.6; }
.form-error {
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  font-size: 0.85rem;
  line-height: 1.6;
  border-radius: 2px;
}
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  padding: 16px 18px;
  border-radius: 2px;
}
.form-success svg { width: 20px; height: 20px; color: #16a34a; flex-shrink: 0; margin-top: 2px; }
.form-success p { font-size: 0.9rem; color: #166534; font-weight: 600; }

/* ─── FOOTER ─────────────────────────────────────── */
.site-footer { background: var(--navy-dark); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 0;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 40px; height: 40px; object-fit: contain; opacity: 0.8; }
.footer-name { font-family: var(--serif); font-size: 1.25rem; color: var(--white); }
.footer-pc { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-left: 8px; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold-light); }
.footer-contact { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.footer-contact a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-contact a:hover { color: var(--gold-light); }
.footer-disclaimer { padding: 28px 0; text-align: center; }
.footer-disclaimer p { font-size: 0.72rem; line-height: 1.75; color: rgba(255,255,255,0.28); max-width: 900px; margin-inline: auto; }
.mt-4 { margin-top: 12px; }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .service-pillars { grid-template-columns: 1fr; gap: 2px; }
  .pillar-badge { top: 0; transform: translateX(-50%); }
  .process-steps {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 32px;
  }
  .step-connector { display: none; }
  .why-left { position: static; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 60px 0 72px;
    gap: 44px;
  }
  .hero-portrait-wrap { max-width: 340px; margin: 0 auto; }
  .main-nav { display: none; }
  .header-cta { display: none; }
  .mobile-menu-toggle { display: flex; }
  .mobile-nav { display: flex; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .stats-inner { gap: 16px; }
  .stat { padding: 10px 24px; }
  .stat-divider { height: 32px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-contact { text-align: left; }
  .contact-form { padding: 28px 20px; }
  .header-inner { padding: 14px 0; }
  .brand-name { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-trust { flex-direction: column; gap: 10px; }
  .stats-inner { flex-direction: column; gap: 16px; }
  .stat-divider { width: 48px; height: 1px; }
  .svc-body-grid { grid-template-columns: 1fr; }
  .svc-sidebar { position: static; }
}

/* ─── HEADER v2 (updated layout) ────────────────── */
.header-top {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}
.header-right { margin-left: auto; }
.header-contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.header-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.header-nav {
  display: flex;
  gap: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 10px 0;
}
.header-nav a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.header-nav a:hover { color: var(--gold-light); }

/* Language toggle button */
.lang-toggle {
  background: transparent;
  border: 1px solid rgba(200,146,42,0.4);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  font-family: var(--sans);
}
.lang-toggle:hover { background: var(--gold); color: var(--navy-dark); }

/* ─── CREDENTIAL PANEL (About section) ──────────── */
.credential-panel-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,146,42,0.22);
  padding: 28px 28px 32px;
}
.credential-header {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cred-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 22px;
}
.cred-tab {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: none;
  color: rgba(255,255,255,0.5);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 6px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cred-tab:hover { background: rgba(200,146,42,0.15); color: var(--gold-light); }
.cred-tab.active { background: var(--gold); color: var(--navy-dark); }

.cred-content { display: flex; flex-direction: column; gap: 20px; }
.cred-section { }
.cred-section-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.credential-item:last-child { border-bottom: none; }
.cred-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}
.cred-text { font-size: 0.83rem; color: rgba(255,255,255,0.78); line-height: 1.55; }

/* ─── SERVICE DETAIL PAGE ────────────────────────── */
.svc-hero {
  position: relative;
  min-height: 380px;
  color: var(--white);
  overflow: hidden;
}
.svc-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(110deg, rgba(3,11,26,0.97) 0%, rgba(13,36,84,0.9) 60%, rgba(20,51,138,0.8) 100%),
    url('/public/san-jose-courthouse.jpg');
  background-size: cover;
  background-position: center 30%;
}
.svc-hero-inner {
  position: relative;
  padding: 64px 0 72px;
}
.svc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  transition: color var(--transition);
}
.svc-back:hover { color: var(--gold-light); }
.svc-area-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.svc-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.06;
  margin-bottom: 20px;
  max-width: 720px;
}
.svc-hero-sub {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin-bottom: 32px;
}

.svc-body-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
  padding-top: 16px;
}
.svc-main { }
.svc-intro {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid #e5e1d8;
}
.svc-section-title {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 20px;
}
.svc-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid #e5e1d8;
}
.svc-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.svc-check {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.svc-approach {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* Sidebar */
.svc-sidebar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.svc-cred-panel {
  background: var(--navy-dark);
  padding: 28px;
}
.svc-cred-panel .cred-section-label { color: var(--gold-light); }
.svc-cred-panel .cred-text { color: rgba(255,255,255,0.75); }
.svc-cred-panel .cred-dot { background: var(--gold-light); }
.svc-cred-panel .credential-item { border-bottom-color: rgba(255,255,255,0.06); }

.svc-cta-card {
  background: var(--gold);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svc-cta-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy-dark);
  line-height: 1.2;
}
.svc-cta-sub {
  font-size: 0.85rem;
  color: rgba(3,11,26,0.7);
  line-height: 1.65;
}
.svc-info-card {
  background: var(--paper);
  border-left: 3px solid var(--gold);
  padding: 24px;
}
.svc-info-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.svc-info-body {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.svc-phone-link {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-dark);
  letter-spacing: 0.06em;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.svc-phone-link:hover { opacity: 1; }
.svc-cta-card .btn-navy { background: var(--navy-dark); }
.svc-cta-card .btn-navy:hover { background: var(--navy); }

/* ─── Responsive additions ───────────────────────── */
@media (max-width: 768px) {
  .header-right { display: none; }
  .header-tagline { display: none; }
  .svc-sidebar { position: static; }
  .svc-body-grid { grid-template-columns: 1fr; gap: 40px; }
  .cred-tabs { flex-direction: column; }
  .cred-tab { text-align: left; }
}
