/* =========================================================
   South Alabama Lawyers — Static HTML stylesheet
   Distilled from the original design system (Tailwind + tokens)
   ========================================================= */

:root {
  --navy: #1a3a52;
  --navy-90: rgba(26, 58, 82, 0.9);
  --navy-80: rgba(26, 58, 82, 0.8);
  --charcoal: #2c3e50;
  --gold: #b8956a;
  --gold-hover: #9d7e52;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  --container: 1200px;
  --transition: all 0.2s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-hover); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1rem;
}
h1 { font-size: 2.25rem; letter-spacing: -0.02em; line-height: 1.2; }
h2 { font-size: 1.875rem; letter-spacing: -0.01em; line-height: 1.3; }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.4; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.125rem; font-weight: 600; }
h6 { font-size: 1rem;     font-weight: 600; }

@media (min-width: 768px) {
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.375rem; }
  h3 { font-size: 1.75rem; }
  h4 { font-size: 1.375rem; }
}

p { margin: 0 0 1rem; font-size: 1rem; }
@media (min-width: 768px) { p, li { font-size: 1.0625rem; } }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.5rem; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.section { padding: 4rem 0; }
.section-lg { padding: 5rem 0; }
.bg-white { background: var(--white); }
.bg-gray-50 { background: var(--gray-50); }
.bg-navy { background: var(--navy); }
.bg-gold { background: var(--gold); }
.text-center { text-align: center; }
.max-w-prose { max-width: 70ch; margin-left: auto; margin-right: auto; }
.max-w-md { max-width: 28rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-6xl { max-width: 72rem; margin-left: auto; margin-right: auto; }
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 1rem; } .mb-4 { margin-bottom: 1rem; }
.mt-6 { margin-top: 1.5rem; } .mb-6 { margin-bottom: 1.5rem; }
.mt-8 { margin-top: 2rem; } .mb-8 { margin-bottom: 2rem; }
.mt-12 { margin-top: 3rem; } .mb-12 { margin-bottom: 3rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}
.btn-lg { padding: 1.125rem 2rem; font-size: 1rem; }
.btn-gold { background: var(--gold); color: var(--white); box-shadow: var(--shadow-md); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-hover); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: var(--shadow-md); }
.btn-navy:hover { background: #122c3f; color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); box-shadow: var(--shadow-md); }
.btn-white:hover { background: var(--gray-100); color: var(--navy); }
.btn-block { width: 100%; }

.btn svg { width: 1.125rem; height: 1.125rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--navy);
  box-shadow: var(--shadow-md);
  transition: background 0.3s ease;
}
.site-header.transparent { background: transparent; box-shadow: none; }
.site-header.scrolled { background: var(--navy); box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.brand { display: flex; flex-direction: column; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.brand-tagline { font-size: 0.75rem; font-weight: 700; color: var(--white); opacity: 0.95; }
@media (min-width: 768px) {
  .brand-name { font-size: 1.5rem; }
  .brand-tagline { font-size: 0.875rem; }
}

.primary-nav { display: none; }
.primary-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 2rem;
}
.primary-nav a {
  position: relative;
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  padding-bottom: 0.25rem;
}
.primary-nav a:hover { color: var(--gold); }
.primary-nav a.active { color: var(--gold); }
.primary-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--gold);
}
.header-cta { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  color: var(--white);
  padding: 0;
}
.menu-toggle svg { width: 1.5rem; height: 1.5rem; }

.mobile-nav {
  display: none;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { margin: 0; }
.mobile-nav a {
  display: block; color: var(--white); font-weight: 700;
  padding: 0.75rem 0; font-size: 1rem;
}
.mobile-nav a.active { color: var(--gold); }
.mobile-nav .btn { width: 100%; margin-top: 0.75rem; }

@media (min-width: 1024px) {
  .primary-nav { display: block; }
  .header-cta { display: block; }
  .menu-toggle { display: none; }
}

/* Spacer below fixed header on non-hero pages */
.page-body { padding-top: 5rem; }
.page-body.hero-page { padding-top: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  overflow: hidden;
  padding: 6rem 0 4rem;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,58,82,0.95), rgba(26,58,82,0.8) 50%, transparent);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 56rem; margin: 0 auto; text-align: center;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero h1 { color: var(--white); text-shadow: 0 2px 8px rgba(0,0,0,0.4); margin-bottom: 1.5rem; }
.hero h1 .accent { color: var(--gold); }
.hero-sub {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .hero-sub { font-size: 1.375rem; }
}
.hero-actions {
  display: flex; flex-direction: column; gap: 1rem;
  justify-content: center; align-items: center;
}
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
}

/* Compact page hero (non-home) */
.page-hero {
  padding: 8rem 0 4rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.page-hero h1 { color: var(--navy); }
.page-hero p { color: var(--charcoal); font-weight: 500; font-size: 1.125rem; }
.page-hero .back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--gold); font-weight: 700; text-decoration: none;
  margin-bottom: 1.5rem;
}
.page-hero .back-link:hover { color: var(--navy); }
.page-hero .back-link svg { width: 1rem; height: 1rem; }
.page-hero .crumbs { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 1rem; }
.page-hero .crumbs a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
}
.card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.card .icon {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy); margin-bottom: 1rem;
}
.card .icon svg { width: 3rem; height: 3rem; }
.card h3, .card h4 { color: var(--navy); }
.card p { color: var(--charcoal); margin-bottom: 0; }

.card-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.card-link:hover { color: inherit; }
.card-link .card {
  background: var(--gray-50);
  border-width: 2px;
  display: flex; flex-direction: column;
  padding: 2rem;
}
.card-link:hover .card {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
}
.card-link .card .icon svg { width: 3.5rem; height: 3.5rem; }
.card-link .card .learn-more {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  margin-top: auto;
  display: inline-block;
}
.card-link:hover .card .learn-more { color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.footer-brand-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer-brand-row svg { width: 1.5rem; height: 1.5rem; color: var(--gold); }
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: var(--white); }
.site-footer p, .site-footer li { color: #d1d5db; font-size: 0.9rem; line-height: 1.6; margin-bottom: 0.5rem; }
.site-footer h3 { color: var(--white); font-size: 1.125rem; margin-bottom: 1rem; font-family: 'Playfair Display', serif; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; font-size: 0.9rem; }
.site-footer a:hover { color: var(--white); }
.contact-line { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.75rem; }
.contact-line svg { width: 1.125rem; height: 1.125rem; color: var(--gold); flex-shrink: 0; margin-top: 0.2rem; }
.contact-line address { font-style: normal; color: var(--white); font-size: 0.9rem; }
.contact-line .email-link { color: var(--white); text-decoration: underline; }
.contact-line .email-link:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 2rem; padding-top: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  font-size: 0.875rem; color: #9ca3af;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.footer-bottom p { color: #9ca3af; margin: 0; font-size: 0.85rem; }
.footer-bottom .disclaimer { max-width: 42rem; }
.footer-bottom .disclaimer strong { color: var(--gold); font-weight: 600; }

/* ---------- Contact CTA strip ---------- */
.contact-cta {
  background: var(--navy);
  padding: 4rem 0;
  text-align: center;
}
.contact-cta h2 { color: var(--white); text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.contact-cta p { color: var(--white); font-weight: 500; opacity: 0.95; margin-bottom: 2rem; }
.contact-cta .actions { display: flex; flex-direction: column; gap: 1rem; justify-content: center; align-items: center; }
@media (min-width: 640px) { .contact-cta .actions { flex-direction: row; } }
.contact-cta .privacy-note { margin-top: 1.5rem; font-size: 0.875rem; color: var(--white); font-weight: 500; }

/* ---------- Gold CTA bar (on practice area pages) ---------- */
.cta-bar { background: var(--gold); padding: 1.5rem 0; }
.cta-bar .actions {
  display: flex; flex-direction: column; gap: 1rem;
  justify-content: center; align-items: center;
}
@media (min-width: 768px) { .cta-bar .actions { flex-direction: row; } }

/* ---------- Sections on detail pages ---------- */
.prose-section { padding: 4rem 0; }
.prose-section h2 { color: var(--navy); }
.prose-section p { color: var(--charcoal); }
.prose-block { max-width: 56rem; margin: 0 auto; }

.detail-cta-card {
  background: var(--navy);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: 1.5rem;
}
.detail-cta-card h3 { color: var(--white); margin-bottom: 1rem; }
.detail-cta-card p { color: var(--white); font-weight: 500; margin-bottom: 1.5rem; }
.detail-cta-card .actions { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .detail-cta-card .actions { flex-direction: row; } }

/* ---------- Blog ---------- */
.blog-meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  font-size: 0.875rem; color: var(--gray-500);
  font-weight: 700;
  align-items: center;
}
.blog-meta .meta-item { display: inline-flex; align-items: center; gap: 0.375rem; }
.blog-meta svg { width: 1rem; height: 1rem; color: var(--navy); }
.blog-meta .gold { color: var(--gold); }

.blog-category-badge {
  display: inline-block;
  background: var(--navy); color: var(--white);
  font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  transition: var(--transition);
  height: 100%;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2xl); }
.blog-card .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-200);
  display: block;
}
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .thumb img { transform: scale(1.05); }
.blog-card .thumb .blog-category-badge {
  position: absolute; top: 1rem; left: 1rem;
  box-shadow: var(--shadow-md);
}
.blog-card .body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card .body .meta { margin-bottom: 0.75rem; }
.blog-card .body h3 {
  font-size: 1.25rem; line-height: 1.3; margin: 0.5rem 0 0.75rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card .body h3 a { color: var(--navy); text-decoration: none; }
.blog-card .body h3 a:hover { color: var(--gold); }
.blog-card .body p {
  font-size: 0.9375rem; color: var(--charcoal); flex-grow: 1; margin-bottom: 1.5rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card .read-more {
  color: var(--gold); font-weight: 700; text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 4px;
  margin-top: auto; display: inline-flex; align-items: center; gap: 0.25rem;
}
.blog-card .read-more:hover { color: var(--navy); }

/* Blog filter bar */
.filter-bar {
  display: flex; flex-direction: column; gap: 1rem;
  justify-content: space-between; align-items: center;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .filter-bar { flex-direction: row; } }
.filter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.filter-pill {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.875rem;
  transition: var(--transition);
  font-family: inherit;
}
.filter-pill:hover { background: var(--navy); color: var(--white); }
.filter-pill.active { background: var(--navy); color: var(--white); box-shadow: var(--shadow-md); }
.search-wrap { position: relative; width: 100%; max-width: 18rem; }
.search-wrap input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius-full);
  font-family: inherit;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  font-size: 0.9rem;
}
.search-wrap input:focus { outline: none; background: var(--gray-50); }
.search-wrap input::placeholder { color: var(--gray-500); font-weight: 400; }
.search-wrap svg {
  position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%);
  width: 1.125rem; height: 1.125rem; color: var(--navy); pointer-events: none;
}

/* Blog post content */
.post-hero {
  padding: 8rem 0 4rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.post-hero .container { max-width: 56rem; }
.post-hero h1 { color: var(--navy); }

.post-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 80rem;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .post-layout { grid-template-columns: 2fr 1fr; }
}

.featured-image {
  width: 100%;
  aspect-ratio: 21/9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 3rem;
  background: var(--gray-200);
  box-shadow: var(--shadow-md);
}
.featured-image img { width: 100%; height: 100%; object-fit: cover; }

.blog-content h2 {
  font-size: 1.625rem; color: var(--navy);
  margin-top: 2rem; margin-bottom: 1rem;
}
.blog-content h3 {
  font-size: 1.25rem; color: var(--navy);
  margin-top: 1.5rem; margin-bottom: 0.75rem;
}
.blog-content p { color: var(--charcoal); margin-bottom: 1rem; }
.blog-content a {
  color: var(--gold); text-decoration: underline; text-underline-offset: 4px;
  font-weight: 600;
}
.blog-content a:hover { color: var(--gold-hover); }
.blog-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.5rem; }
.blog-content ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1.5rem; }
.blog-content li { color: var(--charcoal); margin-bottom: 0.5rem; }
.blog-content strong { color: var(--navy); }

.sidebar { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 1024px) { .sidebar { position: sticky; top: 6rem; align-self: flex-start; } }

.consult-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.consult-card h3 { margin-bottom: 1rem; color: var(--navy); }
.consult-card p { font-size: 0.9rem; color: var(--charcoal); font-weight: 500; }
.consult-card .btn { width: 100%; }

.related-list h4 {
  margin-bottom: 1.5rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-200); color: var(--navy);
}
.related-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; text-decoration: none; }
.related-item:hover h5 { color: var(--gold); }
.related-item .thumb {
  width: 6rem; height: 6rem; border-radius: var(--radius); overflow: hidden;
  flex-shrink: 0; background: var(--gray-200); border: 1px solid var(--gray-200);
}
.related-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.related-item:hover .thumb img { transform: scale(1.1); }
.related-item h5 {
  font-size: 0.875rem; font-weight: 700; color: var(--navy);
  margin: 0 0 0.25rem;
  font-family: 'Playfair Display', serif;
  line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.related-item .related-date {
  font-size: 0.75rem; font-weight: 700; color: var(--gray-500);
  display: inline-flex; align-items: center; gap: 0.25rem;
}
.related-item .related-date svg { width: 0.75rem; height: 0.75rem; color: var(--navy); }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid; gap: 3rem; grid-template-columns: 1fr;
  max-width: 80rem; margin: 0 auto;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 2fr; } }

.contact-info {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.contact-info h3 { color: var(--navy); margin-bottom: 1.5rem; }
.info-line { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.info-line svg { width: 1.5rem; height: 1.5rem; color: var(--navy); flex-shrink: 0; margin-top: 0.25rem; }
.info-line h4 { color: var(--navy); margin: 0 0 0.25rem; font-size: 1rem; }
.info-line p, .info-line address { color: var(--charcoal); margin: 0; font-style: normal; }
.info-line a { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

.privacy-strip {
  margin-top: 2rem; padding: 1rem;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  display: flex; gap: 0.75rem; align-items: flex-start;
}
.privacy-strip svg { width: 1.25rem; height: 1.25rem; color: var(--gold); flex-shrink: 0; margin-top: 0.15rem; }
.privacy-strip h4 { color: var(--navy); font-size: 1rem; margin: 0 0 0.25rem; }
.privacy-strip p { color: var(--charcoal); font-size: 0.875rem; margin: 0; }

.contact-form-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .contact-form-card { padding: 3rem; } }
.contact-form-card h2 { color: var(--navy); margin-bottom: 1rem; }
.contact-form-card > p { color: var(--charcoal); margin-bottom: 2rem; }

.form-field { margin-bottom: 1.5rem; }
.form-field label {
  display: block; font-size: 0.875rem; font-weight: 700; color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-field label .required { color: #dc2626; }
.form-field label .optional { color: var(--gray-500); font-size: 0.75rem; font-weight: 400; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  transition: var(--transition);
}
.form-field textarea { resize: vertical; min-height: 8rem; font-weight: 400; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--gray-500); font-weight: 400; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--navy);
}

.form-disclaimer {
  background: var(--white); padding: 1rem; border: 1px solid var(--gray-200);
  border-radius: var(--radius); margin-bottom: 1.5rem;
  font-size: 0.875rem; color: var(--charcoal);
}
.form-disclaimer strong { color: var(--navy); }

.form-success {
  background: #ecfdf5; border: 1px solid #10b981;
  color: #065f46; padding: 1rem; border-radius: var(--radius);
  margin-bottom: 1rem; display: none;
}
.form-success.show { display: block; }
.form-error {
  background: #fef2f2; border: 1px solid #dc2626;
  color: #991b1b; padding: 1rem; border-radius: var(--radius);
  margin-bottom: 1rem; display: none;
}
.form-error.show { display: block; }

/* What happens next */
.steps-grid {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
  margin-top: 2rem;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 1.5rem; text-align: center; }
.step-number {
  width: 3rem; height: 3rem;
  background: var(--gold); color: var(--white);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 700;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-sm);
}
.step h6 { color: var(--navy); margin-bottom: 0.5rem; font-size: 1rem; }
.step p { font-size: 0.875rem; color: var(--charcoal); margin: 0; }

/* ---------- Trust / value blocks ---------- */
.trust-box {
  background: var(--white);
  padding: 2rem; border-radius: var(--radius);
  box-shadow: var(--shadow-xl); border: 1px solid var(--gray-200);
}
@media (min-width: 768px) { .trust-box { padding: 3rem; } }
.trust-box h2 { color: var(--navy); text-align: center; }
.trust-box p { color: var(--charcoal); }
.trust-box .emphasized { color: var(--navy); font-weight: 700; }
.trust-box .center { text-align: center; margin-top: 2rem; }

.attorney-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.3s ease;
}
.attorney-card:hover { box-shadow: var(--shadow-xl); }
.attorney-card .photo {
  aspect-ratio: 4/3; background: var(--gray-200); overflow: hidden;
}
.attorney-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.attorney-card:hover .photo img { transform: scale(1.05); }
.attorney-card .body { padding: 2rem; }
.attorney-card .body h3 { color: var(--navy); }
.attorney-card .body p { color: var(--charcoal); margin: 0; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px;
  border-radius: 2px;
}

/* Print */
@media print {
  .site-header, .site-footer, .contact-cta, .cta-bar { display: none; }
  body { color: #000; }
}
