/* Jeff T. Gorman Law Offices — Shared Stylesheet */
/* Aesthetic: Authoritative, trustworthy, clean. Navy + Gold. */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Variables ──────────────────────────────────────────────────────────────── */
:root {
  --navy:       #0a1628;
  --navy-mid:   #122040;
  --navy-light: #1e3a5f;
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim:   #a07830;
  --white:      #ffffff;
  --off-white:  #f8f7f4;
  --gray-50:    #f9fafb;
  --gray-100:   #f3f4f6;
  --gray-200:   #e5e7eb;
  --gray-400:   #9ca3af;
  --gray-600:   #4b5563;
  --gray-800:   #1f2937;
  --text:       #1a1a2e;
  --text-mid:   #374151;
  --text-light: #6b7280;
  --red:        #dc2626;
  --green:      #16a34a;
  --radius:     8px;
  --radius-lg:  14px;
  --nav-h:      80px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow:     0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.14);
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Typography ─────────────────────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.5vw, 40px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: 18px; font-weight: 600; color: var(--navy); }
h5 { font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dim); }
p { color: var(--text-mid); font-size: 16px; line-height: 1.75; margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* ── Top bar ────────────────────────────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  padding: 10px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-phone {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}
.topbar-phone:hover { color: var(--gold-light); }
.topbar-tagline { font-size: 13px; color: rgba(255,255,255,0.55); }

/* ── Nav ────────────────────────────────────────────────────────────────────── */
nav {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 48px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.nav-logo span { display: block; font-size: 11px; font-family: 'Inter', sans-serif; font-weight: 500; color: var(--gold-dim); letter-spacing: 2px; text-transform: uppercase; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-links > li > a:hover, .nav-links > li > a.active {
  background: var(--gray-100);
  color: var(--navy);
}
.nav-links > li > a .arrow { font-size: 10px; color: var(--text-light); }

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  padding: 8px 0;
}
.nav-links > li:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 9px 18px;
  font-size: 14px;
  color: var(--text-mid);
  transition: background 0.15s, color 0.15s;
}
.dropdown a:hover { background: var(--gray-50); color: var(--navy); }
.dropdown .sub-label {
  padding: 10px 18px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
  border-radius: var(--radius) !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ── Sections ───────────────────────────────────────────────────────────────── */
section { padding: 80px 48px; }
.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 860px; margin: 0 auto; }

/* ── Page header ────────────────────────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 48px 64px;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.page-header .breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.page-header .breadcrumb a { color: var(--gold); }
.page-header .breadcrumb a:hover { color: var(--gold-light); }
.page-header h1 { color: var(--white); margin-bottom: 16px; }
.page-header p { color: rgba(255,255,255,0.75); font-size: 18px; max-width: 700px; }

/* ── Eyebrow ────────────────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 12px;
  display: block;
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(201,168,76,0.4); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: 10px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ── Cards ──────────────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-gold-top { border-top: 4px solid var(--gold); }

/* ── Grids ──────────────────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── Practice area list ─────────────────────────────────────────────────────── */
.practice-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.practice-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 15px;
  color: var(--text-mid);
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
  border-left: 3px solid transparent;
}
.practice-list li a:hover {
  background: var(--gray-50);
  color: var(--navy);
  border-left-color: var(--gold);
}
.practice-list li a::before { content: '›'; color: var(--gold); font-size: 18px; font-weight: 700; }

/* ── FAQ accordion ──────────────────────────────────────────────────────────── */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
}
.faq-item summary {
  list-style: none;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  transition: background 0.15s;
  user-select: none;
}
.faq-item summary:hover { background: var(--gray-50); }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--gold); font-weight: 300; flex-shrink: 0; }
.faq-item[open] summary { background: var(--gray-50); }
.faq-item[open] summary::after { content: '−'; }
.faq-body { padding: 16px 24px 20px; border-top: 1px solid var(--gray-200); background: var(--gray-50); }
.faq-body p { font-size: 15px; margin-bottom: 0; }

/* ── Alert/call box ─────────────────────────────────────────────────────────── */
.call-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.call-box h3 { color: var(--white); margin-bottom: 8px; }
.call-box p { color: rgba(255,255,255,0.75); margin-bottom: 24px; }
.call-box .phone-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

/* ── Review stars ───────────────────────────────────────────────────────────── */
.stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; }
.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.reviewer-name { font-weight: 700; color: var(--navy); font-size: 15px; }
.review-source { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.review-text { font-size: 14px; color: var(--text-mid); line-height: 1.65; margin-top: 12px; font-style: italic; }

/* ── Attorney card ──────────────────────────────────────────────────────────── */
.attorney-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.attorney-card:hover { box-shadow: var(--shadow); }
.attorney-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--navy-light) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  color: rgba(255,255,255,0.2);
}
.attorney-info { padding: 24px; }
.attorney-name { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--navy); margin-bottom: 4px; }
.attorney-title { font-size: 13px; color: var(--gold-dim); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.attorney-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.badge-pill {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gray-100);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
}

/* ── Sidebar layout ─────────────────────────────────────────────────────────── */
.sidebar-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--nav-h) + 24px); }

/* ── Stats strip ────────────────────────────────────────────────────────────── */
.stats-strip {
  background: var(--navy);
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 4px solid var(--gold);
}
.stat-item { text-align: center; padding: 0 24px; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 8px; }

/* ── Guide sections ─────────────────────────────────────────────────────────── */
.guide-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.guide-tab {
  padding: 10px 20px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}
.guide-tab:hover, .guide-tab.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ── Step list ──────────────────────────────────────────────────────────────── */
.step-list { list-style: none; display: flex; flex-direction: column; gap: 24px; }
.step-list li { display: flex; gap: 20px; }
.step-num-box {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.step-content h4 { margin-bottom: 6px; }
.step-content p { font-size: 15px; margin-bottom: 0; }

/* ── Warning box ────────────────────────────────────────────────────────────── */
.warning-box {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-left: 4px solid #f59e0b;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 20px 0;
}
.warning-box p { font-size: 15px; color: #92400e; margin: 0; }

.info-box {
  background: #eff6ff;
  border: 1px solid #3b82f6;
  border-left: 4px solid #3b82f6;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 20px 0;
}
.info-box p { font-size: 15px; color: #1e40af; margin: 0; }

/* ── Table ──────────────────────────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th { background: var(--navy); color: var(--white); padding: 12px 16px; text-align: left; font-weight: 600; }
.data-table td { padding: 11px 16px; border-bottom: 1px solid var(--gray-200); color: var(--text-mid); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--gray-50); }

/* ── Schema / invisible ─────────────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* ── Divider ────────────────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--gray-200); margin: 40px 0; }
.gold-divider { border: none; border-top: 3px solid var(--gold); width: 60px; margin: 16px 0 28px; }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.footer-bar {
  background: var(--gold);
  padding: 14px 48px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.footer-bar a { color: var(--navy); }
footer {
  background: var(--navy);
  padding: 60px 48px 40px;
  color: rgba(255,255,255,0.7);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-logo span { display: block; font-size: 11px; font-family: 'Inter', sans-serif; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; max-width: 280px; }
.footer-col h5 { font-size: 11px; letter-spacing: 1.5px; color: var(--gold); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); margin: 0; }
.footer-disclaimer { font-size: 12px; color: rgba(255,255,255,0.3); line-height: 1.6; max-width: 600px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-links a:hover { color: var(--white); }

/* ── Scroll animations ──────────────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sidebar-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.1); }
}
@media (max-width: 768px) {
  section { padding: 60px 24px; }
  .topbar { padding: 10px 24px; }
  .topbar-tagline { display: none; }
  nav { padding: 0 24px; }
  .page-header { padding: 60px 24px 48px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; padding: 40px 24px; }
  .footer-top { grid-template-columns: 1fr; }
  footer { padding: 48px 24px 32px; }
  .footer-bar { padding: 14px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--white);
    padding: 24px;
    gap: 4px;
    overflow-y: auto;
    z-index: 999;
  }
  .nav-links.open .dropdown { display: none; position: static; border: none; box-shadow: none; padding: 0 0 0 16px; }
  .nav-links.open li:hover .dropdown { display: block; }
  .hamburger { display: flex; }
}
