/*
=============================================================================
LARMOUR LAW OFFICES, PSC - MAIN STYLESHEET
=============================================================================

Developer: Brad Bussell
Email: bbussell@bnetdev.com
Location: Paris, Kentucky
Date: February 2, 2026

Project: Larmour Law Offices, PSC Website
Client: Ashley Larmour - Attorney at Law, Georgetown, KY

Design: Modern sans-serif with royal purple branding
Fonts: Inter (body) + Playfair Display (headings)
=============================================================================
*/

/* ===== VARIABLES ===== */
:root {
  --primary-color: #6B2FA0;
  --primary-dark: #531F80;
  --primary-light: #9B6FCA;
  --primary-extra-light: #E8DCF5;
  --secondary-color: #1E2A3A;
  --accent-color: #2D3748;

  --white: #ffffff;
  --off-white: #FAFAFA;
  --light-gray: #F4F1F8;
  --medium-gray: #D8CEE6;
  --dark-gray: #4A5568;
  --text-color: #374151;
  --black: #1A202C;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --container-max-width: 1140px;
  --section-padding: 5rem 0;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.25s ease;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }

p { margin-bottom: 1rem; }

.lead {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--dark-gray);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 1rem;
}

.section-heading::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/*
 * .section-heading: Used on homepage (index.php) - centered with bottom border via ::after (block)
 * .section-title: Used on subpages (staff, directions, testimonials, practice-areas) - centered with absolute-positioned ::after
 * Both produce a centered heading with a purple underline accent, but differ in spacing/positioning.
 */
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.highlight {
  color: var(--primary-light);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  min-height: 44px;
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(107, 47, 160, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--primary-extra-light);
  border-color: var(--primary-extra-light);
  color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.85rem 2.25rem;
  font-size: 1rem;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  background: var(--white);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar {
  padding: 0.5rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo {
  height: 46px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text .firm-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--secondary-color);
  line-height: 1.2;
  white-space: nowrap;
}

.brand-text .firm-tagline {
  font-size: 0.75rem;
  margin: 0;
  color: var(--primary-color);
  font-weight: 500;
  white-space: nowrap;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-nav {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
}

.nav-link {
  display: inline-block;
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary-color);
  background: var(--light-gray);
}

.navbar-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.navbar-actions .btn {
  font-size: 0.8rem;
  padding: 0.45rem 1rem;
  white-space: nowrap;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: var(--transition);
}

.navbar-toggle:hover {
  background: var(--light-gray);
}

.navbar-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--dark-gray);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.navbar-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== DROPDOWN NAVIGATION ===== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > .nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-arrow {
  font-size: 0.6rem;
  transition: var(--transition);
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  padding: 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  min-width: 600px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 2000;
  border: 1px solid rgba(0, 0, 0, 0.06);
  /* Prevent right-edge overflow */
  max-width: calc(100vw - 2rem);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-column h4 {
  color: var(--primary-color);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-extra-light);
}

.dropdown-column a {
  display: block;
  padding: 0.3rem 0;
  color: var(--dark-gray);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-column a:hover {
  color: var(--primary-color);
  padding-left: 0.4rem;
}

/* ===== HEADER MOBILE (1024px and below) ===== */
@media (max-width: 1024px) {
  .navbar-menu {
    position: fixed;
    top: 62px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    z-index: 999;
    max-height: calc(100vh - 62px);
    overflow-y: auto;
    gap: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
    margin: 0 0 1rem 0;
    gap: 0;
  }

  .navbar-nav li { width: 100%; }

  .nav-link {
    display: block;
    padding: 0.7rem 0.75rem;
    font-size: 0.95rem;
    border-radius: 8px;
  }

  .navbar-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
  }

  .navbar-actions .btn {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.65rem 1.5rem;
    justify-content: center;
  }

  /* Dropdown on mobile */
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    grid-template-columns: 1fr;
    min-width: auto;
    max-width: none;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0 0.5rem 0.75rem;
    gap: 0.75rem;
    background: var(--light-gray);
    border-radius: var(--radius);
    margin-top: 0.25rem;
  }

  .nav-dropdown.open .dropdown-menu { display: grid; }
  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.open:hover .dropdown-menu { display: grid; }

  .dropdown-column { padding-bottom: 0.25rem; }
  .dropdown-column h4 { font-size: 0.72rem; margin-bottom: 0.4rem; }
  .dropdown-column a { font-size: 0.88rem; padding: 0.35rem 0; }
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 9rem 0 5rem;
  margin-top: 70px;
  background:
    linear-gradient(160deg, #7B3FB5 0%, var(--primary-dark) 35%, #2A0E50 70%, #1A0833 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Dramatic light bloom top-right */
    radial-gradient(ellipse 600px 500px at 85% 15%, rgba(155, 111, 202, 0.25) 0%, transparent 70%),
    /* Warm glow bottom-left */
    radial-gradient(ellipse 500px 400px at 10% 85%, rgba(107, 47, 160, 0.3) 0%, transparent 65%),
    /* Subtle center light */
    radial-gradient(ellipse 800px 300px at 50% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 70%),
    /* Deep shadow corners */
    radial-gradient(ellipse 400px 400px at 0% 0%, rgba(0, 0, 0, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 100% 100%, rgba(0, 0, 0, 0.15) 0%, transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Subtle noise texture via repeating gradient */
  background-image:
    repeating-conic-gradient(rgba(255,255,255,0.015) 0% 25%, transparent 0% 50%);
  background-size: 4px 4px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.25rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Legacy hero classes for subpages */
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-features {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--dark-gray);
  font-weight: 500;
}

.feature-icon {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.hero-image {
  text-align: center;
}

.courthouse-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(107, 47, 160, 0.15);
}

/* ===== PRACTICE AREAS (HOMEPAGE) ===== */
.practices {
  padding: var(--section-padding);
  background: var(--white);
}

.practices-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  color: var(--dark-gray);
}

.practices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.practice-card {
  padding: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-color);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: var(--transition);
}

.practice-card:hover {
  border-color: var(--primary-extra-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.practice-card:hover::before {
  opacity: 1;
}

.practice-icon {
  width: 100%;
  padding: 2.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 0;
  margin-bottom: 0;
  color: white;
  position: relative;
}

.practice-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.12), transparent 60%);
  pointer-events: none;
}

.practice-card:nth-child(1) .practice-icon {
  background: linear-gradient(135deg, #7B3FB5 0%, #582590 100%);
}

.practice-card:nth-child(2) .practice-icon {
  background: linear-gradient(135deg, #4A1D7A 0%, #2B0E58 100%);
}

.practice-card:nth-child(3) .practice-icon {
  background: linear-gradient(135deg, #9060C0 0%, #6B2FA0 100%);
}

.practice-body {
  padding: 1.5rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.practice-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  margin-top: 0;
}

.practice-card > p {
  font-size: 0.9rem;
  color: var(--dark-gray);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.practice-card ul {
  list-style: none;
  margin: 0 0 1.25rem 0;
  padding: 0;
}

.practice-card ul li {
  padding: 0.25rem 0;
  font-size: 0.88rem;
  color: var(--dark-gray);
  padding-left: 1.25rem;
  position: relative;
}

.practice-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
}

.practice-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  margin-top: auto;
}

.practice-link:hover {
  gap: 0.6rem;
  color: var(--primary-dark);
}

/* Legacy service cards (for subpages) */
.services { padding: var(--section-padding); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.03);
}

.service-card h3,
.service-card p,
.service-card ul {
  padding: 0 1.75rem;
}

.service-card h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
}

.service-card ul {
  list-style: none;
  text-align: left;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.service-card ul li {
  padding: 0.25rem 0;
  color: var(--dark-gray);
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.9rem;
}

.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
}

/* ===== ATTORNEY INTRO (HOMEPAGE) ===== */
.attorney-intro {
  padding: var(--section-padding);
  background: var(--light-gray);
}

.attorney-intro .container {
  max-width: 960px;
}

.attorney-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}

.attorney-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.attorney-bio h2 {
  margin-bottom: 0.35rem;
}

.attorney-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.attorney-credentials {
  font-size: 0.88rem;
  color: var(--dark-gray);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.attorney-bio > p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.attorney-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.attorney-tags span {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 20px;
}

/* ===== DISCOUNT BANNER ===== */
.discount-banner {
  margin-top: 2.5rem;
  padding: 2rem 2.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary-extra-light);
  text-align: center;
}

.discount-banner h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.discount-banner > p {
  max-width: 600px;
  margin: 0 auto 1.25rem;
  color: var(--dark-gray);
  font-size: 0.92rem;
}

.discount-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.discount-badges span {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 20px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: var(--section-padding);
  background: var(--white);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--off-white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0;
  font-size: 0.9rem;
}

.testimonial-date {
  color: var(--dark-gray);
  font-size: 0.8rem;
  margin: 0;
}

.testimonial-stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 0.75rem;
}

.testimonial-stars span {
  color: #F59E0B;
  font-size: 0.95rem;
}

.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 0.75rem;
}

.testimonial-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  background: var(--primary-extra-light);
  color: var(--primary-color);
  border-radius: 4px;
}

/* Testimonials page grid */
.testimonials-page .testimonials-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* ===== SERVICE AREAS ===== */
.service-areas {
  padding: var(--section-padding);
  background: var(--light-gray);
}

.county-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.county-tile {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  display: block;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.county-tile:hover {
  border-color: var(--primary-extra-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.county-tile h3 {
  color: var(--primary-color);
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.county-tile .city-name {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.county-tile .description {
  font-size: 0.82rem;
  color: var(--dark-gray);
  margin: 0;
  line-height: 1.55;
}

/* ===== CONSULTATION CTA ===== */
.consultation {
  padding: var(--section-padding);
  background: var(--secondary-color);
  color: var(--white);
  text-align: center;
}

.consultation h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.consultation > .container > p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.consultation-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem auto;
  max-width: 800px;
}

.consultation-option {
  background: rgba(255, 255, 255, 0.06);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.consultation-option:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.consultation-option h3 {
  color: var(--primary-light);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.consultation-option p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.office-info,
.consultation-note {
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

.consultation-disclaimer {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2rem;
}

/* ===== SOCIAL PROOF (Homepage) ===== */
.social-proof {
  padding: var(--section-padding);
  background: var(--white);
}

.proof-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0 2.5rem;
  font-size: 0.95rem;
  color: var(--dark-gray);
}

.proof-stars {
  color: #F59E0B;
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.proof-featured {
  max-width: 740px;
  margin: 0 auto 3rem;
  text-align: center;
  padding: 2.5rem 3rem;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  position: relative;
  border: none;
}

.proof-featured::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-size: 4.5rem;
  font-family: var(--font-heading);
  color: var(--primary-extra-light);
  line-height: 1;
}

.proof-featured p {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--secondary-color);
  font-style: italic;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.proof-featured footer {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  font-style: normal;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.proof-item {
  padding: 1.5rem;
  border-left: 3px solid var(--primary-extra-light);
}

.proof-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 0.75rem;
  font-style: italic;
}

.proof-item cite {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  font-style: normal;
}

/* ===== COVERAGE AREAS (Homepage) ===== */
.coverage {
  padding: var(--section-padding);
  background: var(--light-gray);
}

.coverage-intro {
  text-align: center;
  max-width: 600px;
  margin: 1rem auto 3rem;
  color: var(--dark-gray);
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.coverage-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.coverage-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.coverage-item h3 {
  color: var(--primary-color);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.coverage-city {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin: 0 0 0.25rem;
}

.coverage-detail {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 0.5rem;
}

.coverage-desc {
  font-size: 0.85rem;
  color: var(--dark-gray);
  margin: 0;
  line-height: 1.55;
}

.coverage-home {
  grid-row: 1 / 3;
  background: linear-gradient(160deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border-color: var(--primary-color);
  padding: 2rem;
}

.coverage-home:hover {
  box-shadow: 0 8px 30px rgba(107, 47, 160, 0.3);
}

.coverage-home h3 { color: white; }
.coverage-home .coverage-city { color: rgba(255, 255, 255, 0.85); }
.coverage-home .coverage-desc { color: rgba(255, 255, 255, 0.7); }

.coverage-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  padding: 0.3rem 0.85rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

/* ===== CTA BANNER (Homepage) ===== */
.cta-banner {
  padding: var(--section-padding);
  background: linear-gradient(160deg, var(--secondary-color) 0%, #0F1620 50%, var(--primary-dark) 100%);
  color: var(--white);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.cta-text h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

.cta-address {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0.5rem 0 0;
  font-style: italic;
}

.cta-disclaimer {
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
  margin-top: 2.5rem;
}

/* ===== FOOTER SOCIAL LINKS ===== */
.footer-brand-text h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary-color);
  color: var(--white);
}

.directory-links {
  margin-top: 0.75rem;
  font-size: 0.82rem;
}

.directory-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: var(--transition);
}

.directory-links a:hover {
  color: var(--primary-light);
}

.directory-links span {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 0.35rem;
}

/* ===== MEMBERSHIPS ===== */
.memberships {
  padding: 2.5rem 0;
  background: var(--off-white);
  text-align: center;
}

.membership-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.membership-badge {
  padding: 1rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary-color);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.membership-badge .badge-icon {
  font-size: 1.25rem;
  color: var(--primary-color);
}

/* ===== PRACTICE AREA PAGES ===== */
.practice-hero {
  margin-top: 70px;
  padding: 7rem 0 3rem;
  background: linear-gradient(160deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
}

.practice-hero h1 {
  font-size: 2.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: white;
}

.practice-hero .lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

.breadcrumb a { color: white; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: white; }
.breadcrumb span { color: rgba(255, 255, 255, 0.5); }

.practice-content {
  padding: var(--section-padding);
}

.practice-content .container {
  max-width: 860px;
}

.practice-content h2 {
  color: var(--primary-color);
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.practice-content h3 {
  color: var(--secondary-color);
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
}

.practice-content p {
  line-height: 1.85;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}

.practice-content ul {
  margin: 0.75rem 0 1.25rem 1.5rem;
}

.practice-content ul li {
  padding: 0.25rem 0;
  line-height: 1.7;
  font-size: 0.95rem;
}

.practice-sidebar {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 1.5rem;
  border-left: 3px solid var(--primary-color);
}

.practice-sidebar h3 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.15rem;
}

.practice-cta {
  padding: 3.5rem 0;
  background: var(--secondary-color);
  color: white;
  text-align: center;
}

.practice-cta h2 {
  color: white;
  margin-bottom: 0.75rem;
}

.practice-cta p {
  margin-bottom: 1.75rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.75);
}

/* Inline testimonial */
.inline-testimonial {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
  border-left: 3px solid var(--primary-color);
}

.inline-testimonial p {
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

.inline-testimonial cite {
  font-weight: 700;
  color: var(--primary-color);
  font-style: normal;
  font-size: 0.9rem;
}

/* ===== ABOUT / STAFF PAGES ===== */
.page-hero {
  margin-top: 70px;
  padding: 7rem 0 3rem;
  background: linear-gradient(160deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.25rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: white;
}

.page-hero .lead {
  font-size: 1.05rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* Staff page */
.staff-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* About page */
.about {
  padding: var(--section-padding);
  background: var(--light-gray);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.highlight-item {
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary-color);
}

.highlight-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.highlight-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* Staff section on homepage */
.staff {
  padding: var(--section-padding);
  background: var(--white);
}

.section-subtitle {
  text-align: center;
  font-size: 1.02rem;
  color: var(--dark-gray);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.featured-attorney {
  background: var(--white);
  border: 2px solid var(--primary-extra-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
}

.featured-badge {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.4rem 1.25rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.featured-content {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.featured-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.featured-info h3 {
  font-size: 1.85rem;
  margin-bottom: 0.35rem;
}

.featured-info .member-title {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.featured-info .member-credentials {
  font-size: 0.88rem;
  color: var(--dark-gray);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.featured-info .member-description {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.featured-info .member-specialties {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.featured-info .member-specialties span {
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--primary-color);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.team-member.staff-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.team-member.staff-card:hover {
  box-shadow: var(--shadow);
}

.member-image { margin-bottom: 1.25rem; }

.member-photo {
  width: 130px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.member-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.member-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.92rem;
}

.member-credentials {
  font-size: 0.85rem;
  color: var(--dark-gray);
  margin-bottom: 0.75rem;
  font-style: italic;
}

.member-description {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Support team */
.support-team {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.support-team h3 {
  margin-bottom: 1.25rem;
}

.support-members {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.support-member {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  text-align: left;
}

.support-photo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--primary-extra-light);
}

.support-info h4 {
  font-size: 0.95rem;
  margin: 0 0 0.15rem 0;
}

.support-info p {
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
}

.team-note {
  font-size: 0.88rem;
  color: var(--dark-gray);
  font-style: italic;
}

/* ===== CONTACT PAGE ===== */
.contact-section { padding: var(--section-padding); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form-card {
  background: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(107, 47, 160, 0.08);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-block {
  background: var(--light-gray);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
}

.info-block h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.info-block p { margin-bottom: 0.4rem; font-size: 0.92rem; }
.info-block a { color: var(--primary-color); font-weight: 600; }
.info-block a:hover { color: var(--primary-dark); }

/* ===== DIRECTIONS PAGE ===== */
.directions-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}

.directions-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--secondary-color);
  color: var(--white);
  padding: 2.5rem 0 1rem;
}

.footer-office {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--primary-color);
  margin-bottom: 2.5rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.footer-office h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.footer-office .office-address {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.footer-office .office-phone a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}

.footer-section h4 {
  color: var(--primary-light);
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-logo {
  height: 44px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.35rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: var(--primary-light);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--white);
}

.design-credit {
  margin-top: 0.4rem;
  font-size: 0.78rem;
}

.design-credit small {
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
}

/* ===== RESPONSIVE ===== */

/* Tablet landscape */
@media (max-width: 1024px) {
  .practices-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .coverage-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 6rem 0 3.5rem;
  }

  .hero-title { font-size: 2.1rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-trust { gap: 1rem; font-size: 0.8rem; }

  .practices-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .attorney-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .attorney-photo img {
    max-width: 240px;
    margin: 0 auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-page .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .featured-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .featured-image img { height: 260px; }
  .featured-info h3 { font-size: 1.6rem; }

  .team-grid { grid-template-columns: 1fr; }

  .consultation-options { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .footer-content { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  .about-highlights { grid-template-columns: 1fr; }

  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.6rem; }

  .practice-hero h1,
  .page-hero h1 {
    font-size: 1.75rem;
  }

  .discount-badges { gap: 0.35rem; }
  .discount-badges span { font-size: 0.75rem; padding: 0.35rem 0.85rem; }

  .proof-strip { grid-template-columns: 1fr; }
  .proof-featured { padding: 2rem 1.5rem; }
  .proof-featured p { font-size: 1.05rem; }

  .coverage-grid { grid-template-columns: 1fr 1fr; }
  .coverage-home { grid-column: 1 / -1; grid-row: auto; }

  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-actions { max-width: 320px; margin: 0 auto; }

  /* Stack recognition banner items vertically */
  .recognition-banner .container {
    flex-direction: column !important;
    gap: 1.25rem !important;
  }
  .recognition-banner .container > div[style*="width: 1px"] {
    width: 60% !important;
    height: 1px !important;
  }

  /* Stack hero buttons vertically on mobile */
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Stack practice CTA buttons and remove inline margin */
  .practice-cta .btn {
    display: block;
    margin: 0 auto 0.75rem !important;
    max-width: 320px;
  }
  .practice-cta .btn:last-child {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .navbar .container { padding: 0 0.75rem; }

  .logo { height: 36px; }
  .brand-text .firm-name { font-size: 0.9rem; }
  .brand-text .firm-tagline { font-size: 0.68rem; }

  .navbar-menu { top: 56px; max-height: calc(100vh - 56px); }

  .hero { padding: 5rem 0 3rem; }
  .hero-title { font-size: 1.75rem; }

  .btn { font-size: 0.85rem; padding: 0.6rem 1.25rem; }
  .btn-lg { font-size: 0.9rem; padding: 0.7rem 1.75rem; }

  .footer-content { grid-template-columns: 1fr; }

  .consultation-option { padding: 1.5rem; }

  .coverage-grid { grid-template-columns: 1fr; }

  /* Larger touch-friendly form inputs on mobile */
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.85rem 1rem;
    font-size: 16px;
  }

  .attorney-photo img {
    max-width: 180px;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .header, .footer, .cta-banner, .practice-cta,
  .hero-actions, .discount-banner, .social-proof,
  .navbar, .navbar-toggle {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .hero {
    padding: 1rem 0;
    margin-top: 0;
    background: none !important;
    color: black;
  }

  .hero-title, .hero-tagline, .hero-subtitle {
    color: black !important;
  }

  a { color: #333; text-decoration: underline; }

  .container { max-width: 100%; padding: 0; }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.btn:focus-visible,
.nav-link:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

@media (prefers-contrast: high) {
  :root {
    --primary-color: #5B1D8E;
    --secondary-color: #000000;
    --dark-gray: #111111;
    --text-color: #000000;
  }
}

/* ===== WHY CHOOSE (legacy) ===== */
.why-choose {
  text-align: center;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.why-choose h3 { margin-bottom: 1.25rem; }

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.why-choose-item p:first-child {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.35rem;
}

.why-choose-item p:last-child {
  font-size: 0.88rem;
  margin: 0;
}

/* ===== ABOUT STATS (legacy) ===== */
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-muted-sm { font-size: 0.9rem; color: #718096; }
.color-primary { color: var(--primary-color); }
.mt-0 { margin-top: 0; }
.mb-3 { margin-bottom: 3rem; }
.section-pad { padding: var(--section-padding); }
.narrow-container { max-width: 940px; }

.btn-block { width: 100%; display: block; text-align: center; }
.btn-mt { margin-top: 1rem; }
.mt-1-5 { margin-top: 1.5rem; }

/* ===== FORM ALERTS (Contact Page) ===== */
.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
}
.form-alert-success {
  background: #F0FFF4;
  border: 1px solid #C6F6D5;
  color: #276749;
}
.form-alert-error {
  background: #FFF5F5;
  border: 1px solid #FED7D7;
  color: #9B2C2C;
}
.contact-form-heading {
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}
.form-disclaimer {
  font-size: 0.85rem;
  color: #718096;
  margin-top: 1rem;
  text-align: center;
}
.contact-map-embed {
  border: 0;
  border-radius: 8px;
}

/* ===== ABOUT PAGE ===== */
.about-section { padding: var(--section-padding); }
.about-container { max-width: 940px; }

.bio-header {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}
.bio-photo {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(107, 47, 160, 0.15);
}
.bio-card {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1.25rem;
  text-align: center;
}
.bio-card-name {
  margin: 0;
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 1.05rem;
}
.bio-card-title {
  margin: 0.2rem 0 0;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
}
.bio-card-detail {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--dark-gray);
}
.bio-heading {
  color: var(--primary-color);
  margin-top: 0;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.photo-grid-item { text-align: center; }
.photo-grid-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.photo-grid-caption {
  font-size: 0.85rem;
  color: var(--dark-gray);
  margin-top: 0.75rem;
}

.about-h2 { color: var(--primary-color); }

.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.edu-card {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 1.5rem;
  border-top: 3px solid var(--primary-color);
}
.edu-card h3 {
  margin-top: 0;
  font-size: 1rem;
  color: var(--secondary-color);
}
.edu-card-institution {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
}
.edu-card-detail {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  color: var(--dark-gray);
}
.edu-card-date {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: var(--dark-gray);
}
.edu-card-activities {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--dark-gray);
  line-height: 1.5;
}

.bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.bar-card {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 1.5rem;
  border-left: 4px solid var(--primary-color);
}
.bar-card h3 {
  margin-top: 0;
  font-size: 1rem;
}
.bar-card ul {
  margin: 0.5rem 0 0 1.25rem;
  font-size: 0.92rem;
}
.bar-card li {
  padding: 0.2rem 0;
}

.membership-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
}
.membership-pill {
  background: var(--primary-extra-light);
  color: var(--primary-dark);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.award-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--primary-color);
}
.award-year {
  font-size: 0.82rem;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}
.award-card h3 {
  margin-top: 0;
  font-size: 1rem;
}
.award-desc {
  font-size: 0.9rem;
  margin: 0;
  color: var(--dark-gray);
}

.about-list {
  margin: 0.5rem 0 3rem 1.5rem;
  font-size: 0.95rem;
}
.about-list li { padding: 0.35rem 0; }
.about-list--sm { font-size: 0.92rem; }
.about-list--sm li { padding: 0.25rem 0; }
.about-list--community li { padding: 0.3rem 0; }

.publication-block { margin-bottom: 3rem; }
.publication-item {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
}
.publication-item:last-child { margin-bottom: 0; }
.publication-title {
  margin: 0;
  font-weight: 600;
  color: var(--secondary-color);
}
.publication-meta {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.cta-phone-link {
  margin-top: 1rem;
  font-size: 1.1rem;
}
.cta-phone-link a {
  color: white;
  font-weight: 600;
}

/* ===== DIRECTIONS PAGE ===== */
.directions-section { padding: var(--section-padding); }
.directions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.directions-map-full {
  grid-column: 1 / -1;
}
.directions-map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.directions-map-wrapper iframe {
  border: 0;
  display: block;
}
.office-card {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 2.5rem;
  border-left: 4px solid var(--primary-color);
}
.office-card h2 { margin-top: 0; color: var(--primary-color); }
.office-card-block { margin-bottom: 1.5rem; }
.office-card h3 { margin-bottom: 0.5rem; }
.office-card-address {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}
.office-card-phone {
  font-size: 1.15rem;
  font-weight: 600;
}
.office-card-phone a { color: var(--primary-color); }
.office-card-actions { margin-top: 1.5rem; }

.counties-section {
  padding: var(--section-padding);
  background-color: var(--light-gray);
}
.counties-intro {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem;
}
.counties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.county-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.county-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.county-card-detail {
  font-size: 0.95rem;
}

/* ===== STAFF PAGE ===== */
.staff-section { padding: var(--section-padding); }
.featured-attorney-img {
  width: 280px;
  height: 340px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(107, 47, 160, 0.15);
}
.staff-member-title {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.staff-member-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.support-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.support-role {
  margin: 0;
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
}
.support-desc {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
}
.support-note {
  font-size: 0.95rem;
  color: var(--dark-gray);
  margin-top: 1rem;
}
.staff-testimonials {
  padding: var(--section-padding);
  background-color: var(--light-gray);
}
.testimonials-grid--narrow {
  max-width: 900px;
  margin: 0 auto;
}
.staff-cta-reviews {
  text-align: center;
  margin-top: 2rem;
}

.featured-content h2 {
  color: var(--primary-color);
  margin-top: 0;
}

/* ===== FOOTER INLINE STYLE REPLACEMENTS ===== */
.footer-service-note {
  font-size: 0.9rem;
  color: #4A5568;
  margin-top: 0.5rem;
}
.footer-directions-wrap { margin-top: 1rem; }
.footer-desc {
  font-size: 0.92rem;
}
.footer-section-connect {
  margin-top: 1.5rem;
}
.footer-section-sub {
  margin-top: 1.5rem;
}
.footer-service-list {
  font-size: 0.88rem;
}
.footer-phone-link {
  color: var(--primary-light);
  font-weight: 600;
}
.footer-address-small {
  font-size: 0.88rem;
}
.footer-bottom-disclaimer {
  font-size: 0.82rem;
  opacity: 0.8;
  margin-top: 0.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.footer-bottom-links {
  margin-top: 0.5rem;
  font-size: 0.88rem;
}

/* ===== INDEX PAGE INLINE STYLE REPLACEMENTS ===== */
.section-label--center {
  text-align: center;
}
.reviews-btn-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

/* ===== RESPONSIVE: ABOUT PAGE ===== */
@media (max-width: 768px) {
  .bio-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .bio-header > div:first-child {
    max-width: 280px;
    margin: 0 auto;
  }
  .photo-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .bar-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr; }
  .directions-grid { grid-template-columns: 1fr; }
  .counties-grid { grid-template-columns: 1fr; }
}
