/* M4 Law - McCorriston Miller Mukai MacKinnon LLP */
/* Color palette from logo */
:root {
  --blue: #1a8aab;
  --blue-dark: #136e8a;
  --blue-light: #e8f4f8;
  --gray: #8a9aaa;
  --gray-dark: #4a5568;
  --gray-light: #f0f4f7;
  --white: #ffffff;
  --black: #1a1a2e;
  --text: #2d3748;
  --text-light: #718096;
  --border: #e2e8f0;
  --accent: #0d6e85;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Libre Baskerville', Georgia, serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', 'Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
}

.sans { font-family: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif; }

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-dark); }

/* ======= HEADER / NAV ======= */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-wrap img {
  height: 60px;
  width: auto;
  display: block;
}

.logo-wrap .logo-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--gray-dark);
  text-transform: uppercase;
  margin-top: 2px;
  display: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}

nav ul li { position: relative; }

nav ul li a {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-dark);
  padding: 0.5rem 1rem;
  display: block;
  transition: color 0.2s;
}

nav ul li a:hover { color: var(--blue); }

nav ul li.active > a { color: var(--blue); }

/* Dropdown */
nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--blue);
  min-width: 260px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  flex-direction: column;
  gap: 0;
}

nav ul li:hover > ul { display: flex; }

nav ul li ul li a {
  font-size: 0.82rem;
  padding: 0.6rem 1.2rem;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text);
}

nav ul li ul li:last-child a { border-bottom: none; }
nav ul li ul li a:hover { background: var(--blue-light); color: var(--blue-dark); }

.nav-cta a {
  background: var(--blue);
  color: var(--white) !important;
  border-radius: 2px;
  padding: 0.5rem 1.2rem !important;
}
.nav-cta a:hover { background: var(--blue-dark) !important; color: var(--white) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-dark);
  transition: 0.3s;
}

/* ======= HERO ======= */
.hero {
  background: var(--white);
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, var(--blue-light) 0%, #d4eaf3 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content .eyebrow {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  color: var(--black);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--blue);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
  border-radius: 2px;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,138,171,0.3); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

/* Hero graphic */
.hero-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 380px;
}

.hero-icon-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.hero-icon-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }

.hero-icon-card .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.hero-icon-card p {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin: 0;
}

/* ======= SECTION WRAPPER ======= */
.section { padding: 5rem 2rem; }
.section-alt { background: var(--gray-light); }
.section-blue { background: var(--blue); color: var(--white); }
.section-dark { background: var(--black); color: var(--white); }

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-header {
  margin-bottom: 3rem;
}

.section-header.centered { text-align: center; }

.section-header .eyebrow {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 0.75rem;
}

.section-blue .section-header .eyebrow,
.section-dark .section-header .eyebrow {
  color: rgba(255,255,255,0.7);
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.section-blue h2, .section-dark h2 { color: var(--white); }

.section-header p.lead {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 1rem;
  max-width: 600px;
}

.section-blue p.lead, .section-dark p.lead { color: rgba(255,255,255,0.8); }

/* Divider line accent */
.rule {
  width: 48px;
  height: 3px;
  background: var(--blue);
  margin: 1rem 0 1.5rem;
  display: block;
}

.section-header.centered .rule { margin: 1rem auto 1.5rem; }
.section-blue .rule, .section-dark .rule { background: rgba(255,255,255,0.4); }

/* ======= STATS BAR ======= */
.stats-bar {
  background: var(--blue);
  padding: 3rem 2rem;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: block;
}

.stat-item .label {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 0.5rem;
  display: block;
}

/* ======= PRACTICE AREAS ======= */
.practices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.practice-card {
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2rem;
  background: var(--white);
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 3px;
  background: var(--blue);
  transition: width 0.3s;
}

.practice-card:hover::before { width: 100%; }
.practice-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }

.practice-card .practice-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: block;
}

.practice-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--black);
}

.practice-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.practice-card a.read-more {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-block;
  margin-top: 1rem;
}

.practice-card a.read-more::after { content: ' →'; }

/* ======= ATTORNEYS ======= */
.attorneys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
}

.attorney-card {
  text-align: center;
  transition: transform 0.2s;
}

.attorney-card:hover { transform: translateY(-3px); }

.attorney-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--blue-light);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--blue);
  overflow: hidden;
  position: relative;
}

.attorney-avatar svg {
  width: 70%;
  height: 70%;
  color: var(--gray);
}

.attorney-card h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.attorney-card .title {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.attorney-card a { color: inherit; }
.attorney-card a:hover h3 { color: var(--blue); }

/* Full professionals page */
.professionals-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2.5rem;
}

.professional-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.professional-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }

.professional-avatar-wrap {
  height: 220px;
  overflow: hidden;
  background: none;
  display: block;
}

.professional-avatar-wrap a {
  display: block;
  height: 100%;
  cursor: pointer;
}

.professional-avatar-wrap a img {
  transition: opacity 0.2s ease;
}

.professional-avatar-wrap a:hover img {
  opacity: 0.85;
}

.professional-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.professional-avatar-wrap .initials {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--blue);
  opacity: 0.7;
}

.professional-info {
  padding: 1.5rem;
  border-top: 3px solid var(--blue);
}

.professional-info h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }

.professional-info .role {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.professional-info .practice-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.tag {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ======= ABOUT / TEXT CONTENT ======= */
.content-two-col {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}

.content-two-col.reverse { grid-template-columns: 2fr 3fr; }

.prose p { margin-bottom: 1.2rem; color: var(--text); }
.prose h2, .prose h3 { margin: 2rem 0 1rem; }
.prose ul { margin: 1rem 0 1.5rem 1.5rem; }
.prose ul li { margin-bottom: 0.5rem; }
.prose-wide { max-width: 780px; margin: 0 auto; }

.sidebar-card {
  background: var(--gray-light);
  border-left: 4px solid var(--blue);
  padding: 2rem;
  border-radius: 0 2px 2px 0;
}

.sidebar-card h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--blue-dark);
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
}

.sidebar-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
}

.sidebar-card ul li:last-child { border-bottom: none; }

/* ======= NEWS SECTION ======= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.news-card {
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.2s;
}

.news-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

.news-card-header {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--gray-light) 100%);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.news-card-header .news-icon {
  font-size: 2.5rem;
  opacity: 0.5;
}

.news-card-body { padding: 1.5rem; }
.news-card-body .date {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.news-card-body h3 { font-size: 1.05rem; margin-bottom: 0.75rem; }
.news-card-body p { font-size: 0.9rem; color: var(--text-light); }

/* ======= RECOGNITION / AWARDS ======= */
.awards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.award-badge {
  text-align: center;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  min-width: 160px;
  background: var(--white);
}

.award-badge .award-year {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  display: block;
  line-height: 1;
}

.award-badge p {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ======= CONTACT ======= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-block { margin-bottom: 2rem; }
.contact-info-block h4 {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.contact-info-block p, .contact-info-block a {
  color: var(--text);
  font-size: 1rem;
}

.contact-form { background: var(--gray-light); padding: 2.5rem; border-radius: 2px; }
.contact-form h3 { margin-bottom: 1.5rem; font-size: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-dark);
  display: block;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--white);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,138,171,0.1);
}

.form-group textarea { min-height: 120px; resize: vertical; }

/* ======= FOOTER ======= */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .footer-logo {
  background: var(--white);
  display: inline-block;
  padding: 0.5rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.footer-brand .footer-logo img { height: 50px; width: auto; display: block; }

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 340px;
}

.footer-col h5 {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--blue); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--blue); }

/* ======= PAGE HEADER / HERO SIMPLE ======= */
.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -5%;
  top: -20%;
  width: 400px;
  height: 400px;
  background: var(--blue-light);
  border-radius: 50%;
  opacity: 0.5;
  z-index: 0;
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.breadcrumb a { color: var(--blue); }
.breadcrumb span { margin: 0 0.5rem; }

.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p.subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  max-width: 640px;
}

/* ======= ATTORNEY DETAIL ======= */
.attorney-detail-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

.attorney-sidebar {
  position: sticky;
  top: 100px;
}

.attorney-portrait {
  width: 100%;
  margin-bottom: 1.5rem;
}
.attorney-portrait img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 280px;
}

.attorney-portrait .big-initials {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 6rem;
  font-weight: 700;
  color: var(--blue);
  opacity: 0.4;
}

.attorney-contact-links { list-style: none; margin-bottom: 1.5rem; }
.attorney-contact-links li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.attorney-contact-links li:last-child { border-bottom: none; }

.attorney-practice-areas { margin-top: 1.5rem; }
.attorney-practice-areas h4 {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

/* ======= PRACTICE DETAIL ======= */
.practice-detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.practice-sidebar {
  position: sticky;
  top: 100px;
}

.practice-sidebar-box {
  background: var(--gray-light);
  border-radius: 2px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--blue);
}

.practice-sidebar-box h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--blue-dark);
}

.practice-sidebar-box ul { list-style: none; padding: 0; }
.practice-sidebar-box ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.practice-sidebar-box ul li:last-child { border-bottom: none; }
.practice-sidebar-box ul li a { color: var(--text); }
.practice-sidebar-box ul li a:hover { color: var(--blue); }

/* ======= FILTER / SEARCH BAR ======= */
.filter-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-bar input[type="text"] {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.9rem;
}

.filter-bar select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text);
  min-width: 160px;
}

/* ======= QUOTE / CALLOUT ======= */
.callout-quote {
  background: var(--blue);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}

.callout-quote blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.4;
  color: var(--white);
}

.callout-quote cite {
  display: block;
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.8rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 1.5rem;
}

/* ======= CTA STRIP ======= */
.cta-strip {
  background: var(--gray-light);
  border-top: 1px solid var(--border);
  padding: 3.5rem 2rem;
  text-align: center;
}

.cta-strip h2 { font-size: 2rem; margin-bottom: 0.75rem; }
.cta-strip p { font-size: 1.05rem; color: var(--text-light); margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ======= MAP PLACEHOLDER ======= */
.map-placeholder {
  background: linear-gradient(135deg, var(--blue-light), var(--gray-light));
  height: 320px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-light);
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-direction: column;
  gap: 1rem;
}

.map-placeholder .map-icon { font-size: 3rem; }

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-inner { gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  }

  nav.open { display: block; }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  nav ul li ul {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--blue);
    margin-left: 1rem;
    display: none !important;
  }

  nav ul li.open > ul { display: flex !important; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero::before { display: none; }
  .hero-graphic { display: none; }

  .stats-inner { grid-template-columns: 1fr 1fr; }

  .content-two-col,
  .content-two-col.reverse,
  .contact-grid,
  .attorney-detail-grid,
  .practice-detail-layout { grid-template-columns: 1fr; }

  .attorney-sidebar { position: static; }
  .practice-sidebar { position: static; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .hero { padding: 3rem 1.5rem; }
  .section { padding: 3rem 1.5rem; }
}


/* ======= PRACTICE AREA ATTORNEY GRID ======= */
.practice-attorneys {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.practice-attorneys h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  color: var(--blue-dark);
  margin-bottom: 1.5rem;
}

.practice-attorney-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.practice-attorney-card {
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.practice-attorney-card:hover {
  border-left-color: var(--gold);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.practice-attorney-card a {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
  text-decoration: none;
}

.pa-name {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.25rem;
}

.pa-title {
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.practice-attorney-card:hover .pa-name {
  color: var(--blue);
}

/* ======= ANIMATIONS ======= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeInUp 0.5s ease both; }
.fade-in-1 { animation-delay: 0.1s; }
.fade-in-2 { animation-delay: 0.2s; }
.fade-in-3 { animation-delay: 0.3s; }
.fade-in-4 { animation-delay: 0.4s; }

/* Print */
@media print {
  header, footer, .cta-strip, .callout-quote { display: none; }
  body { font-size: 12pt; }
}
