/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0a1628;
  --navy-dark: #060e1a;
  --navy-light: #111e33;
  --gold: #c9a84c;
  --gold-dark: #b08f3a;
  --white: #ffffff;
  --gray: #b0b8c4;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lato', system-ui, sans-serif;
  --top-bar-height: 40px;
  --header-height: 80px;
  --total-header: 120px; /* top-bar + header */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--total-header);
}

body {
  font-family: var(--font-body);
  color: var(--white);
  background: var(--navy);
  line-height: 1.8;
  text-align: left;
  hyphens: none;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TOP BAR ===== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background: var(--navy-dark);
  height: var(--top-bar-height);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--top-bar-height);
}

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-social a {
  color: var(--gold);
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

.top-bar-social a:hover {
  opacity: 0.7;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}

.top-bar-phone {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: opacity 0.3s ease;
}

.top-bar-phone:hover {
  opacity: 0.7;
}

.top-bar-divider {
  color: rgba(201, 168, 76, 0.4);
}

.top-bar-email {
  color: var(--gold);
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.top-bar-email:hover {
  opacity: 0.7;
}

.top-bar-espanol {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===== MAIN HEADER ===== */
.site-header {
  position: fixed;
  top: var(--top-bar-height);
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 20px;
  gap: 12px;
}

/* Logo Block */
.logo-block {
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-link picture {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 58px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
}

.logo-text {
  display: flex;
  flex-direction: column;
  margin-left: 12px;
}

.logo-text .firm-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

.logo-text .firm-pllc {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.logo-text .firm-pllc::before,
.logo-text .firm-pllc::after {
  content: '';
  display: block;
  height: 1px;
  width: 30px;
  background: var(--gold);
  opacity: 0.7;
}

/* Main Nav */
.main-nav ul {
  display: flex;
  gap: 14px;
  align-items: center;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.main-nav li {
  position: relative;
}

.main-nav li + li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.15);
}

.main-nav a {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  position: relative;
  padding: 0 4px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 4px;
  right: 4px;
  width: auto;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.main-nav a:hover {
  color: var(--gold);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav a.nav-podcast {
  color: var(--gold);
}

.main-nav a.nav-podcast::after {
  transform: scaleX(1);
  opacity: 0.4;
}

.main-nav a.nav-podcast:hover::after {
  opacity: 1;
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.lang-toggle button {
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 4px 8px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.lang-toggle button.active {
  background: var(--gold);
  color: var(--navy);
}

.lang-toggle button:hover {
  background: var(--gold);
  color: var(--navy);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  animation: phone-glow 2.5s ease-in-out infinite;
}

.header-phone:hover {
  background: var(--gold);
  color: var(--navy);
  animation: none;
}

@keyframes phone-glow {
  0%, 100% { box-shadow: 0 0 4px rgba(201, 168, 76, 0.2); }
  50% { box-shadow: 0 0 14px rgba(201, 168, 76, 0.5); }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--total-header);
  background:
    linear-gradient(to right, rgba(10, 22, 40, 0.92) 50%, rgba(10, 22, 40, 0.75) 100%),
    url('/images/hero-bg.jpg') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  display: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(400px, 0.85fr);
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 1px;
}

.hero-content h1 .gold {
  color: var(--gold);
  font-family: var(--font-heading);
}

.hero-content .subheadline {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 520px;
}

.hero-divisions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.division-pill {
  display: inline-block;
  border-left: 3px solid var(--gold);
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--gray);
  letter-spacing: 0.5px;
  max-width: fit-content;
  text-decoration: none;
  transition: border-left-color 0.2s ease, color 0.2s ease;
}

a.division-pill:hover {
  border-left-color: var(--white);
  color: var(--white);
}

.division-pill strong {
  color: var(--white);
  font-weight: 700;
}

.division-stars a {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 3px;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.division-stars a:hover {
  opacity: 1;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Hero Form */
.hero-form-wrapper {
  background: var(--navy-light);
  border: 1px solid rgba(201, 168, 76, 0.25);
  padding: 40px;
}

.hero-form-wrapper h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 6px;
}

.hero-form-wrapper .form-sub {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c9a84c' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-group select option {
  background: var(--navy);
  color: var(--white);
}

.form-group select optgroup {
  background: var(--navy);
  color: var(--gold);
  font-style: normal;
}

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

.form-group .error-text {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #e74c3c;
}

.form-group.has-error .error-text {
  display: block;
}

.pi-note {
  display: none;
  color: var(--gold);
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 8px;
}

.pi-note.visible {
  display: block;
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-submit-btn:hover {
  background: var(--gold-dark);
}

.form-message {
  margin-top: 12px;
  padding: 12px;
  text-align: center;
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(39, 174, 96, 0.15);
  border: 1px solid #27ae60;
  color: #27ae60;
}

.form-message.error {
  display: block;
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid #e74c3c;
  color: #e74c3c;
}

/* ===== TRUST STRIP ===== */
.trust-strip {
  background: var(--navy-light);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  padding: 28px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item {
  border-top: 2px solid var(--gold);
  padding-top: 16px;
}

.trust-item .trust-icon {
  color: var(--gold);
  margin-bottom: 8px;
}

.trust-item .trust-number {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.trust-item .trust-label {
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.trust-item .trust-label a {
  color: inherit;
  text-decoration: none;
}
.trust-item .trust-label a:hover,
.trust-item .trust-label a:focus {
  text-decoration: underline;
}

/* ===== PRACTICE AREAS ===== */
.practice-areas {
  padding: 100px 0;
  background: var(--navy);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.section-header h2 .gold {
  color: var(--gold);
}

.section-header p {
  font-size: 1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

.practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.practice-card {
  background: var(--navy-light);
  border-top: 4px solid var(--gold);
  padding: 48px 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.practice-card h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}

.practice-area-note {
  font-size: 0.85rem;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 20px;
  opacity: 0.8;
}

.practice-card ul {
  margin-bottom: 28px;
}

.practice-card li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 1rem;
  color: var(--gray);
}

.practice-card li::before {
  content: '\25C6';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.6rem;
  top: 12px;
}

/* ===== WHY SANTOS ===== */
.why-santos {
  padding: 120px 0 100px;
  background: var(--navy-light);
}

.why-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-heading {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 0;
}

.why-heading-line {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 24px auto 0;
}

.why-team-photo {
  margin: 40px auto 48px;
  max-width: 900px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(201, 168, 76, 0.25);
}

.why-team-photo img {
  width: 100%;
  display: block;
}

.why-team-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--navy-light), transparent);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.why-card {
  text-align: center;
  padding: 40px 24px;
  border-top: 3px solid var(--gold);
}

.why-card .why-icon {
  margin-bottom: 20px;
}

.why-card .why-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--gold);
  stroke-width: 1.5;
  fill: none;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--white);
  white-space: nowrap;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
  text-align: left;
}

/* ===== GOOGLE REVIEWS ===== */
.reviews {
  padding: 100px 0;
  background: var(--navy);
}

.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-viewport {
  overflow: hidden;
  flex: 1;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.review-card {
  background: #0d1f38;
  padding: 24px 22px;
  border-top: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 48px) / 3);
}

.review-card .review-quote {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 2px;
  opacity: 0.6;
}

.review-card .review-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.review-card .review-text {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 14px;
  font-style: italic;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card .review-author {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.9rem;
}

.review-card .review-date {
  font-weight: 400;
  color: var(--gray);
  font-size: 0.75rem;
  margin-top: 4px;
}

/* Carousel Arrows */
.carousel-arrow {
  background: none;
  border: 2px solid var(--gold);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

.reviews-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===== SERVICE AREAS ===== */
.service-areas {
  padding: 80px 0;
  background: var(--navy-light);
  text-align: center;
}

.county-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.county-pill {
  padding: 12px 28px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.county-pill:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ===== FINAL CTA ===== */
.final-cta {
  background: var(--gold);
  padding: 80px 0;
  text-align: center;
}

.final-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 16px;
  font-weight: 600;
}

.final-cta .cta-subline {
  font-size: 1.1rem;
  color: var(--navy);
  opacity: 0.8;
  margin-bottom: 20px;
  font-weight: 400;
}

.final-cta .cta-phone {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--navy);
  font-weight: 700;
  display: block;
  margin-bottom: 28px;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: opacity 0.3s ease;
}

.final-cta .cta-phone:hover {
  opacity: 0.8;
}

.btn-navy {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-navy:hover {
  background: transparent;
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col p,
.footer-col li {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.8;
}

.footer-col a {
  color: var(--gold);
  transition: opacity 0.3s ease;
}

.footer-col a:hover {
  opacity: 0.7;
}

.footer-col ul li {
  padding: 4px 0;
  font-weight: 400;
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.footer-social a {
  color: var(--gold);
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-area-label {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-area-statewide {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 400;
}

.footer-cta-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: opacity 0.3s ease;
}

.footer-cta-link:hover {
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom .disclaimer {
  font-size: 0.8rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 12px;
  line-height: 1.6;
  opacity: 0.7;
}

.footer-bottom .copyright {
  font-size: 0.8rem;
  color: var(--gray);
  opacity: 0.5;
}

/* ===== MOBILE CALL BAR ===== */
.mobile-call-bar {
  display: none;
}

/* ===== MOBILE NAV OVERLAY ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: var(--navy);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px 20px;
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--gold);
}

.mobile-nav a.nav-podcast {
  color: var(--gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .top-bar-social {
    display: none;
  }

  .main-nav ul {
    gap: 10px;
  }

  .main-nav a {
    font-size: 0.68rem;
    padding: 0 2px;
    letter-spacing: 0.5px;
  }

  .main-nav li + li::before {
    left: -5px;
  }

  .logo-text .firm-name {
    font-size: 0.95rem;
    letter-spacing: 1px;
  }

  .logo-img {
    height: 52px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .review-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 768px) {
  :root {
    --top-bar-height: 0px;
    --header-height: 70px;
    --total-header: 70px;
  }

  .top-bar {
    display: none;
  }

  .site-header {
    top: 0;
  }

  .main-nav,
  .lang-toggle {
    display: none;
  }

  .logo-text {
    display: none;
  }

  .logo-img {
    height: 68px;
  }

  .hamburger {
    display: flex;
  }

  .header-inner {
    height: 70px;
  }

  .hero {
    align-items: flex-start;
    padding-top: calc(var(--total-header) + 40px);
    padding-bottom: 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.8rem;
    white-space: normal;
  }

  .hero-content .subheadline {
    margin: 0 auto 28px;
  }

  .hero-divisions {
    align-items: center;
  }

  .division-pill {
    max-width: none;
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-form-wrapper {
    padding: 28px 20px;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .trust-item .trust-number {
    font-size: 1.8rem;
  }

  .trust-item .trust-label {
    font-size: 0.78rem;
    letter-spacing: 1px;
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-card h3 {
    white-space: normal;
  }

  .review-card {
    flex: 0 0 100%;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .final-cta h2 {
    font-size: 2rem;
  }

  .final-cta .cta-phone {
    font-size: 2.25rem;
  }

  .mobile-nav {
    top: 70px;
    height: calc(100vh - 70px);
  }

  .mobile-nav .lang-toggle-mobile {
    display: flex;
    gap: 8px;
  }

  .mobile-nav .lang-toggle-mobile button {
    background: none;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 20px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .mobile-nav .lang-toggle-mobile button.active {
    background: var(--gold);
    color: var(--navy);
  }

  /* Mobile Call Bar */
  .mobile-call-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--gold);
  }

  body.menu-open .mobile-call-bar {
    display: none;
  }

  .mobile-call-bar a {
    display: block;
    text-align: center;
    padding: 14px;
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
  }

  .site-footer {
    padding-bottom: 60px;
  }

  /* Mobile section padding */
  .practice-areas,
  .reviews {
    padding: 60px 0;
  }

  .why-santos {
    padding: 70px 0 60px;
  }

  .service-areas {
    padding: 50px 0;
  }

  .final-cta {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  /* Why heading shrink */
  .why-heading {
    font-size: 2rem;
  }

  /* iOS no-zoom inputs */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }

  /* Compact header phone to fit alongside hamburger */
  .header-phone {
    padding: 6px 12px;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-gold,
  .btn-outline {
    width: 100%;
    text-align: center;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .trust-item {
    padding-top: 12px;
  }

  .county-pills {
    gap: 10px;
  }

  .county-pill {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .why-heading {
    font-size: 1.7rem;
  }
}

/* Landscape phones: short viewport, force compact header */
@media (max-height: 500px) and (orientation: landscape) {
  :root {
    --top-bar-height: 0px;
    --header-height: 52px;
    --total-header: 52px;
  }

  .top-bar {
    display: none;
  }

  .site-header {
    top: 0;
  }

  .header-inner {
    height: 52px;
    overflow: hidden;
  }

  .logo-img {
    height: 40px;
  }

  .main-nav,
  .lang-toggle,
  .logo-text {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    top: 52px;
    height: calc(100vh - 52px);
  }

  .hero {
    min-height: auto;
    padding-top: calc(52px + 24px);
    padding-bottom: 60px;
  }
}

/* ===== BILINGUAL (ES) ===== */
body.lang-es [data-lang-en] {
  display: none;
}

body.lang-es [data-lang-es] {
  display: initial;
}

body:not(.lang-es) [data-lang-es] {
  display: none;
}

body:not(.lang-es) [data-lang-en] {
  display: initial;
}

/* =========================================================
   CRIMINAL DEFENSE HUB PAGE (/criminal-defense/)
   ========================================================= */

/* Hero tweaks shared across practice hubs: shorter H1, tagline, trust markers */
body[data-page="criminal-defense"] .hero-content h1.hero-h1-sm,
body[data-page="personal-injury"] .hero-content h1.hero-h1-sm {
  font-size: 3.4rem;
  line-height: 1.1;
  white-space: normal;
  margin-bottom: 12px;
}

body[data-page="criminal-defense"] .hero-tagline,
body[data-page="personal-injury"] .hero-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.hero-trust-markers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
}

.hero-trust-marker {
  position: relative;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: 22px;
}

.hero-trust-marker::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a84c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Shared inline "see more" style used across sections */
.cd-inline-link {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, opacity 0.3s ease;
}

.cd-inline-link:hover {
  border-bottom-color: var(--gold);
  opacity: 0.85;
}

/* ---------- Section 3: Cases We Defend ---------- */
.cd-cases {
  padding: 100px 0;
  background: var(--navy);
}

.cd-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cd-case-card {
  display: block;
  background: var(--navy-light);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-top: 3px solid var(--gold);
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  color: inherit;
}

.cd-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  border-color: var(--gold);
}

.cd-case-icon {
  color: var(--gold);
  margin-bottom: 16px;
}

.cd-case-icon svg {
  width: 36px;
  height: 36px;
}

.cd-case-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.25;
}

.cd-case-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ---------- Section 4: Proven Results ---------- */
.cd-results {
  padding: 100px 0;
  background: var(--navy-light);
}

.cd-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.cd-result-card {
  background: var(--navy);
  border: 1px solid rgba(201, 168, 76, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cd-result-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.cd-result-badge {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  line-height: 1.25;
  text-align: center;
}

.cd-result-case {
  padding: 16px 20px 6px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.cd-result-details {
  padding: 0 20px 20px;
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.5;
}

.cd-results-link {
  text-align: center;
  margin-top: 40px;
}

.cd-results-disclaimer {
  margin: 32px auto 0;
  max-width: 960px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--gray);
  opacity: 0.7;
  font-style: italic;
  text-align: center;
}

/* ---------- Section 5: Why Santos (CD-specific 3-col) ---------- */
.cd-why {
  padding: 100px 0;
  background: var(--navy);
}

.cd-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.cd-why-card {
  text-align: center;
  padding: 32px 24px;
  border-top: 3px solid var(--gold);
  background: var(--navy-light);
}

.cd-why-icon {
  color: var(--gold);
  margin-bottom: 16px;
}

.cd-why-icon svg {
  width: 48px;
  height: 48px;
}

.cd-why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
}

.cd-why-card p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
  text-align: left;
}

/* ---------- Section 6: Attorney Team ---------- */
.cd-team {
  padding: 100px 0;
  background: var(--navy-light);
}

.cd-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.cd-attorney-card {
  background: var(--navy);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(201, 168, 76, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cd-attorney-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.cd-attorney-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--gold);
  background: var(--navy-light);
}

.cd-attorney-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.cd-attorney-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.cd-attorney-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cd-attorney-bio {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 18px;
  text-align: left;
}

.cd-attorney-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.cd-attorney-link:hover {
  opacity: 0.75;
}

.cd-team-link {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Section 7: Process Steps ---------- */
.cd-process {
  padding: 100px 0;
  background: var(--navy);
}

.cd-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* PI hub (6 steps), DWI page (5-card charge ladder, 6-step process), Drug
   Offenses page (6-card penalty groups, 6-step process), Assault page
   (6-card charge ladder, 6-step process), Felony Defense (5-card degree
   breakdown), and Pre-Charge (6 signal cards, 5 action cards) all use
   3 columns desktop, overriding CD hub's 4-col default. Placed before the
   responsive @media blocks so the tablet (≤1024px → 2 cols) and mobile
   (≤768px → 1fr) overrides win via source order, not specificity. */
.cd-process-grid.pi-process-grid,
.cd-process-grid.dwi-charges-grid,
.cd-process-grid.dwi-process-grid,
.cd-process-grid.drug-penalty-grid,
.cd-process-grid.drug-process-grid,
.cd-process-grid.assault-charges-grid,
.cd-process-grid.assault-process-grid,
.cd-process-grid.felony-degree-grid,
.cd-process-grid.precharge-signals-grid,
.cd-process-grid.precharge-actions-grid {
  grid-template-columns: repeat(3, 1fr);
}

.cd-step {
  position: relative;
  background: var(--navy-light);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 44px 24px 28px;
  text-align: center;
}

.cd-step-num {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.cd-step h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.25;
}

.cd-step p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
  text-align: left;
}

/* ---------- Section 8: Fee Structure ---------- */
.cd-fees {
  padding: 100px 0;
  background: var(--navy-light);
}

.cd-fees-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.cd-fee-card {
  background: var(--navy);
  padding: 32px 28px;
  border-left: 4px solid var(--gold);
}

.cd-fee-icon {
  color: var(--gold);
  margin-bottom: 14px;
}

.cd-fee-icon svg {
  width: 40px;
  height: 40px;
}

.cd-fee-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}

.cd-fee-card p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
}

.cd-fees-closing {
  max-width: 780px;
  margin: 40px auto 0;
  font-size: 1.05rem;
  color: var(--white);
  text-align: center;
  font-style: italic;
  line-height: 1.6;
}

/* ---------- Section 9: CD Reviews (static grid) ---------- */
.cd-reviews {
  padding: 100px 0;
  background: var(--navy);
}

.cd-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cd-reviews-grid .cd-review-card:nth-child(4),
.cd-reviews-grid .cd-review-card:nth-child(5) {
  /* Rows 4 and 5 sit in a 2-card row on desktop */
}

.cd-review-card {
  background: var(--navy-light);
  border-top: 3px solid var(--gold);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
}

.cd-review-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.cd-review-text {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin-bottom: 14px;
}

.cd-review-author {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.cd-reviews-link {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Section 10: FAQ Accordion ---------- */
.cd-faq {
  padding: 100px 0;
  background: var(--navy-light);
}

.cd-faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.cd-faq-item {
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-bottom: none;
  background: var(--navy);
}

.cd-faq-item:last-child {
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.cd-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.cd-faq-q:hover,
.cd-faq-q[aria-expanded="true"] {
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold);
}

.cd-faq-q-text {
  flex: 1;
  line-height: 1.35;
}

.cd-faq-chevron {
  flex-shrink: 0;
  color: var(--gold);
  display: inline-flex;
  transition: transform 0.3s ease;
}

.cd-faq-chevron svg {
  width: 20px;
  height: 20px;
}

.cd-faq-q[aria-expanded="true"] .cd-faq-chevron {
  transform: rotate(180deg);
}

.cd-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.cd-faq-a.open {
  max-height: 1200px;
}

.cd-faq-a p {
  padding: 4px 24px 22px;
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.75;
}

/* ---------- Section 11: Final CTA (inherits .final-cta) ---------- */
.cd-final-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
}

.cd-final-cta-buttons {
  margin-top: 8px;
}

/* ---------- Responsive: tablet ---------- */
@media (max-width: 1024px) {
  .cd-cases-grid,
  .cd-results-grid,
  .cd-team-grid,
  .cd-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cd-why-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cd-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body[data-page="criminal-defense"] .hero-content h1.hero-h1-sm,
  body[data-page="personal-injury"] .hero-content h1.hero-h1-sm {
    font-size: 2.8rem;
  }

  /* Tablet 2-col override for the 3-col CD sub-practice grids. Each entry
     must match the (0,2,0) specificity of the desktop 3-col rule at
     line 1977 — a single-class .cd-process-grid selector here would
     lose to the higher-specificity desktop rule and the override would
     be silently shadowed. (Same root cause as the mobile bug.) */
  .cd-process-grid.pi-process-grid,
  .cd-process-grid.dwi-charges-grid,
  .cd-process-grid.dwi-process-grid,
  .cd-process-grid.drug-penalty-grid,
  .cd-process-grid.drug-process-grid,
  .cd-process-grid.assault-charges-grid,
  .cd-process-grid.assault-process-grid,
  .cd-process-grid.felony-degree-grid,
  .cd-process-grid.precharge-signals-grid,
  .cd-process-grid.precharge-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Responsive: mobile ---------- */
@media (max-width: 768px) {
  .cd-cases,
  .cd-results,
  .cd-why,
  .cd-team,
  .cd-process,
  .cd-fees,
  .cd-reviews,
  .cd-faq {
    padding: 60px 0;
  }

  .cd-cases-grid,
  .cd-results-grid,
  .cd-team-grid,
  .cd-process-grid,
  .cd-fees-grid,
  .cd-reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body[data-page="criminal-defense"] .hero-content h1.hero-h1-sm,
  body[data-page="personal-injury"] .hero-content h1.hero-h1-sm {
    font-size: 2.3rem;
  }

  body[data-page="criminal-defense"] .hero-tagline,
  body[data-page="personal-injury"] .hero-tagline {
    font-size: 1.15rem;
  }

  .hero-trust-markers {
    justify-content: center;
    gap: 8px 20px;
  }

  .cd-process-grid {
    gap: 48px;
  }

  /* Mobile 1fr override for the 3-col CD sub-practice grids. Same
     specificity story as the tablet override above: each entry must be
     two-class (.cd-process-grid.X-grid → 0,2,0) to match the desktop
     3-col rule at line 1977 and override it at mobile width. The plain
     .cd-process-grid → 1fr rule at line 2274 has only (0,1,0) and is
     shadowed by the desktop 3-col rule at this viewport. */
  .cd-process-grid.pi-process-grid,
  .cd-process-grid.dwi-charges-grid,
  .cd-process-grid.dwi-process-grid,
  .cd-process-grid.drug-penalty-grid,
  .cd-process-grid.drug-process-grid,
  .cd-process-grid.assault-charges-grid,
  .cd-process-grid.assault-process-grid,
  .cd-process-grid.felony-degree-grid,
  .cd-process-grid.precharge-signals-grid,
  .cd-process-grid.precharge-actions-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="personal-injury"] .cd-step {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .cd-step {
    padding-top: 44px;
  }

  .cd-attorney-photo {
    width: 120px;
    height: 120px;
  }

  .cd-result-badge {
    font-size: 0.75rem;
  }

  .cd-faq-q {
    font-size: 1rem;
    padding: 16px 18px;
  }

  .cd-faq-a p {
    padding: 2px 18px 18px;
    font-size: 0.9rem;
  }

  .cd-fee-card {
    padding: 24px 20px;
  }

  .cd-fee-card h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  body[data-page="criminal-defense"] .hero-content h1.hero-h1-sm,
  body[data-page="personal-injury"] .hero-content h1.hero-h1-sm {
    font-size: 1.9rem;
  }
}

/* =========================================================
   LEGAL DISCLAIMER PAGE
   ========================================================= */
.legal-disclaimer-page {
  background: var(--navy);
  padding: calc(var(--total-header) + 60px) 0 100px;
  min-height: 60vh;
}

.legal-disclaimer-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

.legal-disclaimer-page .legal-header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.legal-disclaimer-page .legal-header h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.legal-disclaimer-page .page-subhead {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray);
  letter-spacing: 0.3px;
  font-weight: 400;
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto;
}

.legal-disclaimer-page .legal-section {
  margin-bottom: 40px;
}

.legal-disclaimer-page .legal-section h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.legal-disclaimer-page .legal-section p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: #d8dde5;
  margin-bottom: 16px;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-spacing: normal;
}

.legal-disclaimer-page .legal-ordered-list {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-spacing: normal;
}

.legal-disclaimer-page .disclaimer-contact p,
.legal-disclaimer-page .legal-last-updated {
  text-align: left;
  hyphens: manual;
  -webkit-hyphens: manual;
}

.legal-disclaimer-page .legal-last-updated {
  text-align: center;
}

.legal-disclaimer-page .legal-section p:last-child {
  margin-bottom: 0;
}

.legal-disclaimer-page .legal-section a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.legal-disclaimer-page .legal-section a:hover {
  color: var(--white);
}

.legal-disclaimer-page .legal-ordered-list {
  margin: 0 0 16px 0;
  padding-left: 28px;
  color: #d8dde5;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
}

.legal-disclaimer-page .legal-ordered-list li {
  margin-bottom: 10px;
}

.legal-disclaimer-page .legal-ordered-list li::marker {
  color: var(--gold);
  font-weight: 700;
}

.legal-disclaimer-page .disclaimer-callout {
  background: rgba(201, 168, 76, 0.08);
  border-left: 4px solid var(--gold);
  padding: 28px 32px;
  border-radius: 2px;
}

.legal-disclaimer-page .disclaimer-callout h2 {
  margin-top: 0;
}

.legal-disclaimer-page .disclaimer-contact {
  font-style: normal;
  background: var(--navy-light);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 24px 28px;
  margin-top: 18px;
  border-radius: 2px;
}

.legal-disclaimer-page .disclaimer-contact-firm {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}

.legal-disclaimer-page .disclaimer-contact p {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #d8dde5;
}

.legal-disclaimer-page .disclaimer-contact-label {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-right: 4px;
}

.legal-disclaimer-page .legal-last-updated {
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

/* Form notice (below submit button) */
.form-notice {
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 12px;
  margin-bottom: 0;
  text-align: center;
}

.form-notice a {
  color: rgba(201, 168, 76, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-notice a:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .legal-disclaimer-page {
    padding: calc(var(--total-header) + 40px) 0 70px;
  }

  .legal-disclaimer-page .legal-header h1 {
    font-size: 2.1rem;
  }

  .legal-disclaimer-page .page-subhead {
    font-size: 0.95rem;
    line-height: 1.5;
    letter-spacing: 0.2px;
  }

  .legal-disclaimer-page .legal-section h2 {
    font-size: 1.4rem;
  }

  .legal-disclaimer-page .legal-section p,
  .legal-disclaimer-page .legal-ordered-list {
    font-size: 1rem;
  }

  .legal-disclaimer-page .disclaimer-callout {
    padding: 22px 20px;
  }

  .legal-disclaimer-page .disclaimer-contact {
    padding: 20px 18px;
  }
}

/* =========================================================
   FOOTER NAV LINK ROW (added with Team page build)
   ========================================================= */
.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 28px 0 18px;
  margin-top: 24px;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-nav-links a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.footer-nav-links a:hover {
  color: var(--gold);
}

.footer-nav-sep {
  color: rgba(201, 168, 76, 0.35);
  user-select: none;
}

@media (max-width: 600px) {
  .footer-nav-links {
    gap: 8px 12px;
    font-size: 0.78rem;
  }
}

/* =========================================================
   TEAM HUB PAGE  (/team/)
   ========================================================= */
.team-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--total-header) + 40px) 24px 80px;
  background:
    linear-gradient(rgba(10, 22, 40, 0.7), rgba(10, 22, 40, 0.78)),
    url('/images/team/team-group-photo.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.team-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.team-hero h1 {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.team-hero h1 .gold {
  color: var(--gold);
  font-style: italic;
}

.team-hero .team-hero-sub {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin: 0 auto;
}

.team-page {
  background: var(--navy);
}

.team-section {
  padding: 80px 0 60px;
}

.team-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.team-section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.5px;
}

.team-section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 14px auto 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.team-grid--single {
  grid-template-columns: minmax(0, 320px);
  justify-content: center;
}

/* Staff grid: flex-based so the last row centers instead of orphaning
   a single card. Desktop/tablet: 3 across (with 5 cards, bottom row of
   2 centers automatically). Mobile: stacked. Container width kept tight
   so card sizes match the attorneys grid above it. */
.team-grid--staff {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  grid-template-columns: none;
}

.team-grid--staff .team-card {
  flex: 0 0 calc((100% - 2 * 28px) / 3);
  max-width: 280px;
}

.team-card {
  display: block;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  color: inherit;
}

a.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.45);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(201, 168, 76, 0.2);
}

.team-card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}

.team-card-body {
  padding: 1.25rem 1rem 1.4rem;
}

.team-card-firstname {
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1.1;
}

.team-card-lastname {
  display: block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1.15;
  margin-top: 2px;
}

.team-card-role {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .team-grid--staff .team-card {
    flex: 0 0 calc((100% - 2 * 24px) / 3);
    max-width: 260px;
  }
  .team-hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
  .team-grid--staff {
    max-width: 360px;
  }
  .team-grid--staff .team-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .team-section {
    padding: 60px 0 40px;
  }
  .team-section-header {
    margin-bottom: 36px;
  }
  .team-section-header h2 {
    font-size: 2rem;
  }
  .team-hero {
    min-height: 60vh;
    padding-bottom: 60px;
  }
  .team-hero h1 {
    font-size: 2.2rem;
  }
  .team-hero .team-hero-sub {
    font-size: 1rem;
  }
  .team-card-firstname { font-size: 1.6rem; }
  .team-card-lastname  { font-size: 1.35rem; }
}

/* =========================================================
   ATTORNEY BIO PAGE  (/team/{slug}/)
   ========================================================= */
.bio-page {
  background: var(--navy);
}

.bio-hero {
  position: relative;
  padding: calc(var(--total-header) + 40px) 0 70px;
  background:
    radial-gradient(ellipse at top, rgba(201, 168, 76, 0.08), transparent 60%),
    var(--navy);
  border-top: 1px solid rgba(201, 168, 76, 0.25);
}

.bio-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.bio-hero-photo-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.25);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  background: var(--navy-light);
}

.bio-hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 4 / 5;
}

.bio-hero-photo--landscape {
  aspect-ratio: 16 / 10;
}

.bio-hero-content .bio-name {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  line-height: 1.05;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.bio-hero-content .bio-name .first {
  display: inline;
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
  margin-right: 0.35em;
}

.bio-hero-content .bio-name .last {
  display: inline;
}

.bio-hero-content .bio-role {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  display: block;
}

.bio-hero-content .bio-meta {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 26px;
  line-height: 1.6;
}

.bio-hero-content .bio-meta a {
  color: var(--gold);
}

.bio-hero-content .bio-meta a:hover {
  color: var(--white);
}

.bio-hero-content .bio-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid var(--gold);
  transition: all 0.3s ease;
}

.bio-hero-content .bio-cta:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.bio-body {
  padding: 70px 0 40px;
}

.bio-body-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.bio-body h2 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.bio-body p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  text-align: left;
  hyphens: manual;
}

.bio-body p:last-child {
  margin-bottom: 0;
}

.bio-video-section {
  padding: 0;
  margin-top: 0;
}

.bio-practice {
  padding: 30px 0 60px;
}

.bio-practice-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.bio-practice h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}

.bio-practice p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
}

.bio-contact {
  background: var(--navy-dark);
  padding: 70px 0 80px;
  border-top: 1px solid rgba(201, 168, 76, 0.18);
}

.bio-contact-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

.bio-contact h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold);
  text-align: center;
  margin-bottom: 8px;
}

.bio-contact .form-sub {
  text-align: center;
  color: var(--gray);
  margin-bottom: 28px;
}

.bio-contact .hero-form-wrapper {
  background: var(--navy-light);
  border: 1px solid rgba(201, 168, 76, 0.25);
  padding: 36px 32px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .bio-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .bio-hero-content {
    text-align: center;
  }
  .bio-hero-content .bio-meta {
    text-align: left;
  }
  .bio-hero-content .bio-role {
    text-align: center;
  }
  .bio-hero-photo-wrap {
    max-width: 380px;
    margin: 0 auto;
  }
  .bio-hero-photo--landscape {
    max-width: 560px;
  }
  .bio-hero-content .bio-name {
    font-size: 2.6rem;
  }
}

@media (max-width: 600px) {
  .bio-hero {
    padding: calc(var(--total-header) + 40px) 0 50px;
  }
  .bio-body {
    padding: 50px 0 30px;
  }
  .bio-body h2 {
    font-size: 1.7rem;
  }
  .bio-body p {
    font-size: 1rem;
  }
  .bio-practice {
    padding: 24px 0 50px;
  }
  .bio-contact {
    padding: 50px 0 60px;
  }
  .bio-contact h2 {
    font-size: 1.8rem;
  }
  .bio-contact .hero-form-wrapper {
    padding: 24px 18px;
  }
  .bio-hero-content .bio-name {
    font-size: 2.1rem;
  }
}

/* =========================================================
   PERSONAL INJURY HUB  (/personal-injury/)
   Reuses .cd-* structural classes; overrides only what differs.
   ========================================================= */

/* Hero background: Mario banner instead of hero-bg.jpg */
body[data-page="personal-injury"] .hero {
  background:
    linear-gradient(to right, rgba(10, 22, 40, 0.92) 50%, rgba(10, 22, 40, 0.75) 100%),
    url('/images/team/mario-santos-banner.jpg') center center / cover no-repeat;
}

/* PI hub §4 results grid: switch to flex so the 4+3 layout (7 cards) centers its
   last row. CD hub uses the same .cd-results-grid with 8 cards (always 4+4 full),
   so this override is scoped to PI hub only and leaves CD hub untouched.
   Card flex-basis per breakpoint matches the original grid-template-columns:
     desktop ≥1025px → 4 per row, tablet ≤1024px → 2 per row, mobile ≤768px → 1 per row. */
body[data-page="personal-injury"] .cd-results-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

body[data-page="personal-injury"] .cd-result-card {
  flex: 0 0 calc((100% - 66px) / 4);
}

@media (max-width: 1024px) {
  body[data-page="personal-injury"] .cd-result-card {
    flex: 0 0 calc((100% - 22px) / 2);
  }
}

@media (max-width: 768px) {
  body[data-page="personal-injury"] .cd-result-card {
    flex: 0 0 100%;
  }
}

/* PI hub §4 eyebrow stat: "Over $1,000,000 Recovered for Injured Clients".
   Sits above the H2 inside .section-header — small caps, gold, spaced. */
.results-eyebrow-stat {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .results-eyebrow-stat {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }
}

/* =========================================================
   RESULTS PLACEHOLDER PAGE  (/results/)
   Minimal "Coming Soon" landing until real results content ships.
   ========================================================= */
.results-placeholder {
  padding: calc(var(--total-header) + 80px) 0 100px;
  min-height: 80vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.results-placeholder-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.results-placeholder-eyebrow {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.results-placeholder h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.results-placeholder h1 .gold {
  color: var(--gold);
  font-style: italic;
}

.results-placeholder-lede {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 40px;
}

.results-placeholder-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .results-placeholder {
    padding: calc(var(--total-header) + 50px) 0 70px;
    min-height: auto;
  }
  .results-placeholder h1 {
    font-size: 2.1rem;
  }
  .results-placeholder-lede {
    font-size: 1rem;
  }
  .results-placeholder-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 2.5px;
  }
}

/* =========================================================
   PERSONAL INJURY SUB-PRACTICE PAGES
   Reuse hub's hero + .cd-* section classes.
   Only add what differs: breadcrumb, intro, local-SEO callout, backlink.
   ========================================================= */

/* Breadcrumb is the first in-flow child of <body> on sub-pages (top-bar, site-header,
   and mobile-nav are all position:fixed → out of flow). margin-top here would collapse
   through <body> (no padding-top/border-top on body) and the clearance would disappear.
   Padding-top absorbs the --total-header offset instead: padding never collapses.
   --total-header auto-adjusts per breakpoint (120px desktop / 70px ≤768px / 52px
   landscape short-viewport) so the single calc() works at every viewport. */
.breadcrumb {
  background: var(--navy-light);
  padding: calc(var(--total-header) + 14px) 0 14px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.breadcrumb li {
  color: var(--gray);
  display: inline-flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: '›';
  color: var(--gold);
  margin-right: 10px;
  font-size: 1.1rem;
  line-height: 1;
}

.breadcrumb a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb li[aria-current="page"] {
  color: var(--white);
  font-weight: 700;
}

/* Breadcrumb sits above hero; hero already has its own top padding so no extra space needed */
.breadcrumb + .hero {
  padding-top: 32px;
  min-height: auto;
}

.subpage-intro {
  padding: 70px 0 30px;
  background: var(--navy);
}

.subpage-intro-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}

.subpage-intro-inner p {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 20px;
}

.subpage-intro-inner p:last-child {
  margin-bottom: 0;
}

.subpage-local {
  padding: 70px 0;
  background: var(--navy-light);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.subpage-local-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.subpage-local-inner h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.2;
}

.subpage-local-inner h2 .gold {
  color: var(--gold);
  font-style: italic;
}

.subpage-local-inner p {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.75;
}

.subpage-faq-more {
  max-width: 700px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--gray);
}

.subpage-faq-more a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  transition: border-color 0.2s ease;
}

.subpage-faq-more a:hover {
  border-bottom-color: var(--gold);
}

.subpage-backlink {
  margin-top: 28px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.subpage-backlink a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.subpage-backlink a:hover {
  color: var(--white);
}

@media (max-width: 768px) {
  .breadcrumb {
    padding: calc(var(--total-header) + 10px) 0 10px;
    font-size: 0.8rem;
  }
  .subpage-intro {
    padding: 50px 0 20px;
  }
  .subpage-intro-inner p {
    font-size: 1rem;
  }
  .subpage-local {
    padding: 50px 0;
  }
  .subpage-local-inner h2 {
    font-size: 1.6rem;
  }
  .subpage-local-inner p {
    font-size: 0.98rem;
  }
}

/* =========================================================
   /criminal-defense/dwi/  — scoped via [data-page="cd-dwi"]
   ========================================================= */

/* Hero: navy-only background (no photo per spec); single-column centered
   layout because there's no in-hero form on these pages. Shared across all
   CD sub-practice pages plus Contact + About: DWI, Drug Offenses, Assault,
   Family Violence, Felony Defense, Expunction, Pre-Charge, Contact, About. */
body[data-page="cd-dwi"] .hero,
body[data-page="cd-drug-offenses"] .hero,
body[data-page="cd-assault"] .hero,
body[data-page="cd-family-violence"] .hero,
body[data-page="cd-felony-defense"] .hero,
body[data-page="cd-expunction"] .hero,
body[data-page="cd-pre-charge"] .hero,
body[data-page="contact"] .hero,
body[data-page="about"] .hero {
  background: var(--navy);
  min-height: auto;
  padding-top: 32px;
  padding-bottom: 90px;
}

body[data-page="cd-dwi"] .hero-content.dwi-hero-content,
body[data-page="cd-drug-offenses"] .hero-content.drug-hero-content,
body[data-page="cd-assault"] .hero-content.assault-hero-content,
body[data-page="cd-family-violence"] .hero-content.fv-hero-content,
body[data-page="cd-felony-defense"] .hero-content.felony-hero-content,
body[data-page="cd-expunction"] .hero-content.expunction-hero-content,
body[data-page="cd-pre-charge"] .hero-content.precharge-hero-content,
body[data-page="contact"] .hero-content.contact-hero-content,
body[data-page="about"] .hero-content.about-hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

body[data-page="cd-dwi"] .hero-content.dwi-hero-content .subheadline,
body[data-page="cd-drug-offenses"] .hero-content.drug-hero-content .subheadline,
body[data-page="cd-assault"] .hero-content.assault-hero-content .subheadline,
body[data-page="cd-family-violence"] .hero-content.fv-hero-content .subheadline,
body[data-page="cd-felony-defense"] .hero-content.felony-hero-content .subheadline,
body[data-page="cd-expunction"] .hero-content.expunction-hero-content .subheadline,
body[data-page="cd-pre-charge"] .hero-content.precharge-hero-content .subheadline,
body[data-page="contact"] .hero-content.contact-hero-content .subheadline,
body[data-page="about"] .hero-content.about-hero-content .subheadline {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

body[data-page="cd-dwi"] .dwi-hero-content .hero-buttons,
body[data-page="cd-drug-offenses"] .drug-hero-content .hero-buttons,
body[data-page="cd-assault"] .assault-hero-content .hero-buttons,
body[data-page="cd-family-violence"] .fv-hero-content .hero-buttons,
body[data-page="cd-felony-defense"] .felony-hero-content .hero-buttons,
body[data-page="cd-expunction"] .expunction-hero-content .hero-buttons,
body[data-page="cd-pre-charge"] .precharge-hero-content .hero-buttons,
body[data-page="contact"] .contact-hero-content .hero-buttons,
body[data-page="about"] .about-hero-content .hero-buttons {
  justify-content: center;
}

body[data-page="cd-dwi"] .dwi-hero-content .hero-trust-markers,
body[data-page="cd-drug-offenses"] .drug-hero-content .hero-trust-markers,
body[data-page="cd-assault"] .assault-hero-content .hero-trust-markers,
body[data-page="cd-family-violence"] .fv-hero-content .hero-trust-markers,
body[data-page="cd-felony-defense"] .felony-hero-content .hero-trust-markers,
body[data-page="cd-expunction"] .expunction-hero-content .hero-trust-markers,
body[data-page="cd-pre-charge"] .precharge-hero-content .hero-trust-markers,
body[data-page="contact"] .contact-hero-content .hero-trust-markers,
body[data-page="about"] .about-hero-content .hero-trust-markers {
  justify-content: center;
}

[data-page="contact"] .contact-hero-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--white);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

[data-page="contact"] .contact-hero-firm-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--gold);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

/* Section 3 — What you're facing */
.dwi-facing {
  padding: 100px 0;
  background: var(--navy-light);
}

.dwi-facing-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.dwi-facing-prose p {
  font-size: 1.08rem;
  color: var(--gray);
  line-height: 1.8;
}

.dwi-facing-callout {
  background: var(--navy);
  border: 1px solid var(--gold);
  padding: 28px 28px 26px;
  position: relative;
}

.dwi-callout-eyebrow {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
}

.dwi-facing-callout p {
  font-size: 0.98rem;
  color: var(--white);
  line-height: 1.7;
}

/* Section 4 — Charge ladder */
.dwi-charges {
  padding: 100px 0;
  background: var(--navy);
}

.dwi-charge-card {
  text-align: left;
}

.dwi-charge-card h3 {
  text-align: center;
  margin-bottom: 14px;
}

.dwi-charge-trigger {
  font-size: 0.86rem !important;
  color: var(--white) !important;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.dwi-charge-trigger strong {
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.78rem;
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

.dwi-charge-penalties {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dwi-charge-penalties li {
  font-size: 0.86rem;
  color: var(--gray);
  line-height: 1.55;
  padding: 6px 0 6px 18px;
  position: relative;
}

.dwi-charge-penalties li::before {
  content: '›';
  color: var(--gold);
  position: absolute;
  left: 0;
  top: 5px;
  font-size: 1rem;
  line-height: 1;
}

.dwi-surcharge-callout {
  max-width: 920px;
  margin: 56px auto 0;
  padding: 22px 28px;
  background: rgba(201, 168, 76, 0.08);
  border-left: 3px solid var(--gold);
}

.dwi-surcharge-callout p {
  font-size: 0.96rem;
  color: var(--white);
  line-height: 1.65;
  margin: 0;
}

.dwi-surcharge-callout strong {
  color: var(--gold);
}

/* Section 5 — 15-day ALR clock */
.dwi-alr {
  padding: 100px 0;
  background: var(--navy-light);
}

.dwi-alr-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto 36px;
}

.dwi-alr-countdown {
  width: 200px;
  height: 200px;
  border: 4px solid var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.dwi-alr-num {
  font-family: 'Oswald', sans-serif;
  font-size: 5.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.dwi-alr-num-label {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 4px;
}

.dwi-alr-prose p {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.dwi-alr-prose p:last-child {
  margin-bottom: 0;
}

.dwi-alr-urgent {
  max-width: 880px;
  margin: 0 auto;
  padding: 26px 32px;
  background: var(--navy);
  border: 2px solid var(--gold);
  text-align: center;
}

.dwi-alr-urgent p {
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.6;
  margin: 0;
}

.dwi-alr-urgent strong {
  color: var(--gold);
}

.dwi-alr-urgent a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  white-space: nowrap;
}

.dwi-alr-urgent a:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* Section 6 — Why DWI cases are winnable */
.dwi-defenses {
  padding: 100px 0;
  background: var(--navy-light);
}

/* Section 8 — Counties */
.dwi-counties {
  padding: 100px 0;
  background: var(--navy-light);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.dwi-counties-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.dwi-county-card {
  flex: 0 0 calc((100% - 66px) / 4);
  background: var(--navy);
  border: 1px solid rgba(201, 168, 76, 0.25);
  padding: 28px 24px;
}

.dwi-county-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.25;
}

.dwi-county-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
}

/* Section 10 — Lead form wrapper */
.dwi-form-section {
  padding: 90px 0 80px;
  background: var(--navy);
}

.dwi-form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: var(--navy-light);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 40px 36px 36px;
}

body[data-page="cd-dwi"] .subpage-backlink {
  text-align: center;
  margin-top: 36px;
}

/* Tablet: ≤1024px */
@media (max-width: 1024px) {
  .dwi-facing-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .dwi-county-card {
    flex: 0 0 calc((100% - 22px) / 2);
  }
}

/* Mobile: ≤768px */
@media (max-width: 768px) {
  .dwi-facing,
  .dwi-charges,
  .dwi-alr,
  .dwi-defenses,
  .dwi-counties,
  .dwi-form-section {
    padding: 60px 0;
  }

  body[data-page="cd-dwi"] .hero {
    padding-bottom: 60px;
  }

  .dwi-facing-callout {
    padding: 22px 20px 20px;
  }

  .dwi-charge-trigger {
    font-size: 0.82rem !important;
  }

  .dwi-alr-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .dwi-alr-countdown {
    margin: 0 auto;
    width: 170px;
    height: 170px;
  }

  .dwi-alr-num {
    font-size: 4.5rem;
  }

  .dwi-alr-prose {
    text-align: left;
  }

  .dwi-alr-urgent {
    padding: 20px 22px;
  }

  .dwi-alr-urgent p {
    font-size: 0.98rem;
  }

  .dwi-county-card {
    flex: 0 0 100%;
    max-width: 480px;
  }

  .dwi-form-wrapper {
    padding: 28px 22px 26px;
  }

  .dwi-surcharge-callout {
    padding: 18px 22px;
  }
}

/* =========================================================
   /criminal-defense/drug-offenses/  — scoped via [data-page="cd-drug-offenses"]
   Many shared visual elements re-use DWI sub-practice classes via
   dual-classnames in markup (e.g. <section class="dwi-form-section
   drug-form-section">). Hero override is shared above with DWI; only
   drug-specific structural rules live below.
   ========================================================= */

/* Section 3 — What you're facing */
.drug-facing {
  padding: 100px 0;
  background: var(--navy-light);
}

.drug-facing-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.drug-facing-prose p {
  font-size: 1.08rem;
  color: var(--gray);
  line-height: 1.8;
}

.drug-facing-callouts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drug-facing-callout {
  background: var(--navy);
  border: 1px solid var(--gold);
  padding: 26px 28px 24px;
}

.drug-facing-callout p {
  font-size: 0.96rem;
  color: var(--white);
  line-height: 1.7;
  margin: 0;
}

.drug-facing-callout strong {
  color: var(--gold);
}

/* Section 4 — Penalty group cards */
.drug-charges {
  padding: 100px 0;
  background: var(--navy);
}

/* Penalty card structure mirrors DWI charge-card spacing. The cd-step-num
   badge holds short labels ("PG 1", "PG 1-B", "MJ", "D/M") instead of pure
   digits; reduce font-size so the longer labels don't overflow the circle. */
.drug-penalty-card {
  text-align: left;
  position: relative;
}

.drug-penalty-card .cd-step-num {
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.drug-penalty-card h3 {
  text-align: center;
  margin-bottom: 14px;
}

.drug-substances {
  font-size: 0.86rem !important;
  color: var(--white) !important;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  line-height: 1.6 !important;
}

.drug-substances strong {
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.78rem;
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

.drug-penalties {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drug-penalties li {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.55;
  padding: 5px 0 5px 18px;
  position: relative;
}

.drug-penalties li::before {
  content: '›';
  color: var(--gold);
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 1rem;
  line-height: 1;
}

.drug-marijuana-note {
  font-size: 0.78rem !important;
  color: var(--gold) !important;
  font-style: italic;
  margin-top: 14px !important;
  padding-top: 10px;
  border-top: 1px dashed rgba(201, 168, 76, 0.3);
  line-height: 1.55 !important;
  text-align: left !important;
}

/* "NEW" badge for fentanyl PG 1-B card — top-right corner */
.drug-penalty-card-new {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.4);
}

.drug-new-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  z-index: 2;
}

/* Section 5 — Evidence clock */
.drug-evidence {
  padding: 100px 0;
  background: var(--navy-light);
}

.drug-evidence-prose {
  max-width: 820px;
  margin: 0 auto 32px;
}

.drug-evidence-prose p {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.8;
}

/* Section 6 — Why winnable */
.drug-defenses {
  padding: 100px 0;
  background: var(--navy);
}

/* Section 7 — Process. Drug-page spec calls for navy-light here (DWI page
   used .cd-process which is navy); custom section wrapper. */
.drug-process-section {
  padding: 100px 0;
  background: var(--navy-light);
}

/* Section 8 — Counties */
.drug-counties {
  padding: 100px 0;
  background: var(--navy);
}

/* Counties grid + cards reuse the .dwi-counties-grid + .dwi-county-card
   styles via dual-classnames in markup — no new CSS needed for layout.
   On the drug page the parent section is navy (not navy-light like DWI),
   so the navy card bg sits on a navy section. Adjust card background to
   navy-light so cards remain visually distinct from the section bg. */
.drug-counties .dwi-county-card {
  background: var(--navy-light);
}

/* Tablet + mobile responsive overrides — drug-specific */
@media (max-width: 1024px) {
  .drug-facing-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .drug-facing,
  .drug-charges,
  .drug-evidence,
  .drug-defenses,
  .drug-process-section,
  .drug-counties {
    padding: 60px 0;
  }

  body[data-page="cd-drug-offenses"] .hero {
    padding-bottom: 60px;
  }

  .drug-facing-callout {
    padding: 22px 20px 20px;
  }

  .drug-substances {
    font-size: 0.82rem !important;
  }

  .drug-penalties li {
    font-size: 0.82rem;
  }

  .drug-marijuana-note {
    font-size: 0.74rem !important;
  }

  .drug-new-badge {
    font-size: 0.68rem;
    padding: 3px 8px;
    top: -10px;
    right: 12px;
  }

  .drug-evidence-prose p {
    font-size: 0.98rem;
  }
}

/* =========================================================
   /criminal-defense/assault/  — scoped via [data-page="cd-assault"]
   Page reuses DWI charge-card classes + Drug page section wrappers via
   dual-classnames in markup (e.g. <section class="dwi-charges
   assault-charges">, <div class="cd-step dwi-charge-card
   assault-charge-card">). Hero override is shared above with DWI/Drug
   via selector list extension. Only assault-specific structural rules
   live below: small italic notes inside charge cards, the gold-emphasis
   highlight on the strangulation card (Card 4), and minor mobile tweaks.
   ========================================================= */

/* Small italic note line at the bottom of certain charge cards
   (Card 3 "Most common first-offense", Card 5 "Deadly weapon includes...").
   Visually subtle vs. the gold-emphasis .assault-charge-highlight on the
   strangulation card — kept gray + italic + dashed gold separator. */
.assault-charge-note {
  font-size: 0.78rem !important;
  color: var(--gray) !important;
  font-style: italic;
  margin-top: 14px !important;
  padding-top: 10px;
  border-top: 1px dashed rgba(201, 168, 76, 0.25);
  line-height: 1.55 !important;
  text-align: left !important;
}

/* Card 4 (Third Degree Felony) gets enhanced gold border + box-shadow
   to draw eye attention to the strangulation auto-felony rule — same
   visual emphasis idiom as the fentanyl PG 1-B card on the drug page. */
.assault-charge-card-highlight {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.4);
}

/* Inset gold-tinted callout inside Card 4 reinforcing the strangulation
   = automatic-felony rule. Higher contrast than .assault-charge-note —
   gold-bg-tint, gold left border, white body text, gold strong tag. */
.assault-charge-highlight {
  margin-top: 14px !important;
  padding: 10px 12px !important;
  background: rgba(201, 168, 76, 0.1);
  border-left: 3px solid var(--gold);
  font-size: 0.82rem !important;
  color: var(--white) !important;
  line-height: 1.5 !important;
  text-align: left !important;
}

.assault-charge-highlight strong {
  color: var(--gold);
}

@media (max-width: 768px) {
  .assault-charge-note,
  .assault-charge-highlight {
    font-size: 0.76rem !important;
  }
}

/* =========================================================
   Light-treatment CD sub-practice pages — Family Violence,
   Felony Defense, Expunction, Pre-Charge Investigation.
   Hero rules and 3-col grid rules are shared above via
   selector-list extension. Most styling reuses DWI/Drug/
   Assault classes through dual-classnames in markup. Only
   page-specific structural elements live here.
   ========================================================= */

/* Family Violence — inline gold link in §4 callout linking back to
   /criminal-defense/assault/ for the full charge ladder. */
.fv-inline-link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.4);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.fv-inline-link:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* Family Violence and Felony Defense use cd-why-card without an icon
   (existing rule expects .cd-why-icon child); without the icon, the card
   leads with h3 directly, so adjust top padding/spacing. */
.fv-distinction-card,
.fv-charge-card,
.felony-degree-card {
  padding-top: 32px;
}

/* Family Violence + Felony charge cards — bring h3 closer to top edge,
   tighten paragraph spacing for the trigger/penalty pattern. */
.fv-charge-card h3 {
  text-align: center;
  margin-bottom: 12px;
}

.fv-charge-trigger {
  font-size: 0.88rem !important;
  color: var(--white) !important;
  margin-bottom: 10px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  line-height: 1.55 !important;
}

.fv-charge-trigger strong {
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.78rem;
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

.fv-charge-penalty {
  font-size: 0.88rem !important;
  color: var(--gray) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* Felony Defense — short-text step labels (SJF, 3rd, 2nd, 1st, 1st+).
   Reduce font-size for circle badge to fit 4-char labels. */
.felony-degree-card .cd-step-num {
  font-size: 1.0rem;
  letter-spacing: 0.5px;
}

.felony-degree-card h3 {
  text-align: center;
  margin-bottom: 12px;
}

.felony-examples {
  font-size: 0.83rem !important;
  color: var(--gray) !important;
  line-height: 1.55 !important;
  margin: 10px 0 !important;
}

.felony-examples strong {
  color: var(--white);
  font-weight: 700;
}

.felony-note {
  font-size: 0.78rem !important;
  color: var(--gold) !important;
  font-style: italic;
  margin-top: 12px !important;
  padding-top: 10px;
  border-top: 1px dashed rgba(201, 168, 76, 0.3);
  line-height: 1.55 !important;
}

/* Enhanced 1st degree felony card gets the same gold-emphasis as
   fentanyl PG 1-B card and assault strangulation card. */
.felony-degree-card-enhanced {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.4);
}

/* Felony charges 2-col list section (§4). Two stacked columns desktop;
   single column mobile. Each item: bold link/title + descriptive note. */
.felony-charges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.felony-charges-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.felony-charges-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.felony-charges-list li:last-child {
  border-bottom: none;
}

.felony-charge-link,
.felony-charge-static {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.felony-charge-link {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

.felony-charge-link:hover {
  color: var(--white);
}

.felony-charge-link strong,
.felony-charge-static strong {
  font-weight: 700;
}

.felony-charge-static strong {
  color: var(--white);
}

.felony-charge-note {
  display: block;
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.5;
}

/* Expunction §3 — Expunction vs Non-Disclosure side-by-side comparison.
   2-col desktop / stacked mobile. Each card: gold-bordered, eyebrow label,
   prose body, "Who qualifies" mini-list. */
.expunction-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.expunction-comparison-card {
  background: var(--navy);
  border: 1px solid var(--gold);
  padding: 32px 32px 28px;
}

.expunction-comparison-card > p {
  font-size: 1rem;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 20px;
}

.expunction-comparison-card strong {
  color: var(--gold);
}

.expunction-qualifies-label {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 10px;
}

.expunction-qualifies-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.expunction-qualifies-list li {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.55;
  padding: 5px 0 5px 18px;
  position: relative;
}

.expunction-qualifies-list li::before {
  content: '\2713';  /* checkmark */
  color: var(--gold);
  position: absolute;
  left: 0;
  top: 5px;
  font-size: 0.95rem;
  line-height: 1;
}

/* Pre-Charge §3 signal cards — uses cd-process-grid + cd-step structure
   with gold number badges. Card content is title + body only (no nested
   lists). Add some breathing room since 6 cards display alongside
   the signal callout below. */
.precharge-signal-card {
  text-align: left;
}

.precharge-signal-card h3 {
  text-align: center;
  margin-bottom: 12px;
}

.precharge-signal-card strong {
  color: var(--gold);
}

.precharge-urgent-callout {
  margin-top: 36px;
}

/* Federal SDTX card on Pre-Charge counties grid — gold border to mark
   it visually as "different" from the 7 county cards. */
.precharge-federal-card {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.3);
}

.precharge-federal-card h3 {
  color: var(--gold);
}

/* Tablet (≤1024px) overrides */
@media (max-width: 1024px) {
  .felony-charges-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 640px;
  }

  .expunction-comparison-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile (≤768px) overrides */
@media (max-width: 768px) {
  .fv-charge-trigger,
  .fv-charge-penalty,
  .felony-examples {
    font-size: 0.82rem !important;
  }

  .felony-note {
    font-size: 0.74rem !important;
  }

  .felony-charges-list li {
    padding: 12px 0;
  }

  .felony-charge-link,
  .felony-charge-static {
    font-size: 0.95rem;
  }

  .felony-charge-note {
    font-size: 0.82rem;
  }

  .expunction-comparison-card {
    padding: 24px 22px 22px;
  }

  .expunction-comparison-card > p {
    font-size: 0.95rem;
  }

  .expunction-qualifies-list li {
    font-size: 0.88rem;
  }
}

/* =========================================================
   /contact/  — scoped via [data-page="contact"]
   Hero is shared above with the CD sub-practice pages via
   selector list extension. Sections below are unique to the
   contact page: 2-col contact-info + form, 2-col map + SEO,
   2-col practice areas links.
   ========================================================= */

/* Section 3 — Contact info + form */
.contact-info-section {
  padding: 100px 0;
  background: var(--navy-light);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1140px;
  margin: 0 auto;
}

.contact-info-heading {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 28px;
  line-height: 1.2;
}

.contact-info-heading .gold {
  color: var(--gold);
  font-style: italic;
}

.contact-info-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.contact-info-block:last-of-type {
  border-bottom: none;
  padding-bottom: 22px;
}

.contact-info-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-detail {
  flex: 1;
}

.contact-info-label {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.55;
  text-decoration: none;
  display: block;
}

a.contact-info-value {
  transition: color 0.2s ease;
}

a.contact-info-value:hover {
  color: var(--gold);
}

.contact-info-address {
  font-style: normal;
}

.contact-address-line {
  display: block;
}

.contact-hours-line {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.5;
}

.contact-hours-emergency {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.5;
}

.contact-hours-emergency strong {
  color: var(--gold);
}

.contact-hours-emergency a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-hours-emergency a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.contact-emergency-callout {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--navy);
  border-left: 3px solid var(--gold);
}

.contact-emergency-callout p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--white);
  line-height: 1.65;
}

.contact-emergency-callout a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  white-space: nowrap;
}

.contact-emergency-callout a:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.contact-form-wrapper {
  background: var(--navy);
  border: 1px solid rgba(201, 168, 76, 0.25);
  padding: 36px 32px 32px;
}

/* Section 4 — Map + Local SEO */
.contact-map-section {
  padding: 100px 0;
  background: var(--navy);
}

/* Subhead note under §4 H2: distinguishes CD (county-scoped) vs PI
   (statewide) service areas. Gold-highlighted strong tags pull the
   eye to the two scope labels. */
.contact-scope-note {
  font-size: 0.95rem !important;
  color: var(--gray) !important;
  line-height: 1.65 !important;
  max-width: 880px;
  margin: 12px auto 0 !important;
}

.contact-scope-note strong {
  color: var(--gold);
}

.contact-map-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.contact-map-col iframe {
  display: block;
  width: 100%;
  min-height: 400px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 8px;
}

.contact-seo-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-seo-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 18px;
  line-height: 1.25;
}

.contact-seo-col p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 16px;
}

.contact-seo-col p:last-child {
  margin-bottom: 0;
}

/* Section 5 — Practice areas quick links */
.contact-links-section {
  padding: 100px 0;
  background: var(--navy-light);
}

.contact-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-links-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  line-height: 1.25;
}

.contact-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-links-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

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

.contact-links-list a {
  display: block;
  font-size: 1rem;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-links-list a:hover {
  color: var(--gold);
}

.contact-links-list li.contact-links-overview {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 168, 76, 0.25);
  border-bottom: none;
}

.contact-links-list li.contact-links-overview a {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.contact-links-list li.contact-links-overview a:hover {
  color: var(--white);
}

/* Tablet (≤1024px) — all 3 contact grids drop to 1-col. Specificity is
   single-class (0,1,0) on both base and override, so source order resolves
   the cascade — no specificity trap here. (Different from the 3-col CD
   grid bug fixed in the +5 session.) */
@media (max-width: 1024px) {
  .contact-info-grid,
  .contact-map-grid,
  .contact-links-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-col {
    order: 2;
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .contact-info-section,
  .contact-map-section,
  .contact-links-section {
    padding: 60px 0;
  }

  .contact-info-heading {
    font-size: 1.55rem;
  }

  .contact-info-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
  }

  .contact-info-icon svg {
    width: 20px;
    height: 20px;
  }

  .contact-info-value {
    font-size: 1rem;
  }

  .contact-emergency-callout {
    padding: 18px 20px;
  }

  .contact-emergency-callout p {
    font-size: 0.92rem;
  }

  .contact-form-wrapper {
    padding: 26px 22px 22px;
  }

  .contact-map-col iframe {
    min-height: 320px;
  }

  .contact-seo-heading {
    font-size: 1.3rem;
  }

  .contact-seo-col p {
    font-size: 0.96rem;
  }

  .contact-links-heading {
    font-size: 1.3rem;
  }

  .contact-links-list a {
    font-size: 0.95rem;
  }
}

/* =========================================================
   /results/  — Client Results & Reviews page
   Hero is video-background (custom .results-hero, NOT the
   shared .hero class), so the CD-subpage hero selector lists
   are not extended here — different structural pattern.
   All new grid classes use single-class selectors (0,1,0),
   so responsive overrides win via source order, not specificity.
   No specificity trap (different from the +5 cascade fix).
   ========================================================= */

/* Hero — full-width video background with gradient overlay */
.results-hero {
  position: relative;
  width: 100%;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: calc(var(--total-header) + 40px) 0 80px;
}

.results-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.results-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.55) 0%, rgba(10, 22, 40, 0.85) 100%);
  z-index: 1;
}

.results-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.results-hero-h1 {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin: 0 0 36px;
  letter-spacing: 1px;
}

.results-hero-h1 .gold {
  color: var(--gold);
  font-style: italic;
}

/* Stat pills — gold bg, navy text, eye-catching row */
.results-stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin: 0 auto 40px;
  max-width: 920px;
}

.results-stat-pill {
  background: var(--gold);
  color: var(--navy);
  padding: 18px 28px;
  border-radius: 999px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.results-stat-pill-number {
  font-family: 'Oswald', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.results-stat-pill-label {
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
}

.results-hero-body {
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 32px;
}

.results-hero-cta {
  display: flex;
  justify-content: center;
}

/* Section wrappers */
.results-cd-section,
.results-pi-section {
  padding: 100px 0;
  background: var(--navy-light);
}

.results-spanish-feature {
  padding: 100px 0;
  background: var(--navy);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.results-google-section {
  padding: 100px 0;
  background: var(--navy);
}

.results-section-subhead {
  color: var(--gold);
  font-size: 1.1rem;
  font-style: italic;
  margin-top: 8px;
  text-align: center;
}

/* PORTRAIT TESTIMONIAL VIDEOS — 1280×2276 (≈9:16 vertical phone format).
   Constrained max-width prevents the tall portrait aspect from rendering
   absurdly large on desktop. Phone-screen-embed feel is intentional —
   matches social-proof aesthetic of authentic client testimonials. */
.results-video {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  aspect-ratio: 1280 / 2276;
  background: #000;
}

.results-video-pi {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  aspect-ratio: 1280 / 2276;
  background: #000;
}

.results-video-label {
  font-size: 0.92rem;
  color: var(--gray);
  text-align: center;
  margin-top: 14px;
  font-style: italic;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.results-featured-video-wrap {
  margin: 0 auto 56px;
  text-align: center;
}

.results-dwi-video-wrap {
  margin: 56px auto 0;
  text-align: center;
  max-width: 480px;
}

.results-dwi-video-wrap .results-video-label {
  margin-top: 0;
  margin-bottom: 14px;
}

/* CD review cards — 2-col desktop / 1-col tablet+mobile */
.results-cd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

/* PI 3-col video grid — centered portrait cards */
.results-pi-videos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  justify-items: center;
  max-width: 1100px;
  margin: 0 auto 56px;
}

.results-pi-video-card {
  width: 100%;
  text-align: center;
}

/* PI 3-col review grid */
.results-pi-reviews {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Review cards (shared structure for CD + PI) */
.results-review-card {
  background: var(--navy);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-top: 3px solid var(--gold);
  border-radius: 8px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}

.results-review-stars {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.results-review-quote {
  font-style: italic;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 20px;
  flex-grow: 1;
}

.results-review-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.results-review-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  align-self: flex-start;
}

.results-review-tag-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.results-review-attribution {
  font-size: 0.82rem;
  color: var(--gray);
  font-style: italic;
}

/* Spanish-language featured review — large centered quote */
.results-spanish-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 20px;
}

.results-featured-quote {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1.55;
  margin: 0 0 28px;
  padding: 60px 0 0;
  position: relative;
}

.results-featured-quote::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: var(--gold);
  line-height: 1;
}

.results-spanish-attribution {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
  font-family: 'Oswald', sans-serif;
}

.results-spanish-en-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 28px;
}

.results-spanish-summary {
  font-size: 0.98rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

/* Google rating badge */
.results-google-rating {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.results-google-stars {
  color: var(--gold);
  font-size: 2rem;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.results-google-number {
  font-family: var(--font-heading);
  font-size: 5.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.results-google-count {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.results-google-body {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
  margin: 0 auto 32px;
  max-width: 640px;
}

.results-google-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Tablet ≤1024px */
@media (max-width: 1024px) {
  .results-hero-h1 {
    font-size: 3.2rem;
  }

  .results-cd-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .results-pi-videos {
    grid-template-columns: 1fr 1fr;
  }

  .results-pi-reviews {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile ≤768px */
@media (max-width: 768px) {
  .results-hero {
    min-height: auto;
    padding: calc(var(--total-header) + 30px) 0 60px;
  }

  .results-hero-h1 {
    font-size: 2.4rem;
    margin-bottom: 28px;
  }

  .results-stat-pills {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
  }

  .results-stat-pill {
    min-width: 0;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .results-stat-pill-number {
    font-size: 1.45rem;
  }

  .results-hero-body {
    font-size: 1rem;
  }

  .results-cd-section,
  .results-pi-section,
  .results-spanish-feature,
  .results-google-section {
    padding: 60px 0;
  }

  .results-pi-videos,
  .results-pi-reviews {
    grid-template-columns: 1fr;
  }

  .results-pi-video-card {
    max-width: 360px;
    margin: 0 auto;
  }

  .results-video-pi {
    max-width: 360px;
  }

  .results-featured-quote {
    font-size: 1.1rem;
    padding-top: 50px;
  }

  .results-featured-quote::before {
    font-size: 4.5rem;
    top: -8px;
  }

  .results-google-number {
    font-size: 4rem;
  }

  .results-google-stars {
    font-size: 1.5rem;
    letter-spacing: 3px;
  }

  .results-google-count {
    font-size: 1rem;
  }

  .results-google-buttons {
    flex-direction: column;
  }

  .results-google-buttons a {
    width: 100%;
    text-align: center;
  }
}

/* =========================================================
   /about/  — About / Mario H. Santos founder page
   Hero rules shared above with CD subpages + Contact via
   selector list extension. New grid classes use single-class
   selectors (0,1,0); responsive overrides at matching specificity
   resolve cascade via source order — no specificity trap.
   ========================================================= */

/* Section 3 — Mario's Story (founder image + text) */
.about-founder {
  padding: 100px 0;
  background: var(--navy-light);
}

.about-founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.about-founder-image-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
}

.about-founder-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.about-founder-caption {
  text-align: center;
  margin-top: 12px;
  color: var(--gold);
  font-size: 0.9rem;
  font-style: italic;
  letter-spacing: 0.5px;
}

.about-section-h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 24px;
}

.about-section-h2 .gold {
  color: var(--gold);
  font-style: italic;
}

.about-founder-text-col p {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.8;
  margin: 0 0 18px;
}

.about-pull-quote {
  border-left: 4px solid var(--gold);
  padding-left: 24px;
  margin: 28px 0 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gold);
  line-height: 1.65;
}

/* Section 4 — BOBA + values */
.about-boba {
  padding: 100px 0;
  background: var(--navy);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.about-boba-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.about-boba-display {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.3em;
  line-height: 1;
  margin: 0 0 16px;
  text-align: center;
}

.about-boba-subtitle {
  font-family: 'Oswald', sans-serif;
  color: var(--gold);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 28px;
  text-align: center;
}

.about-boba-body {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.75;
  margin: 0;
  text-align: center;
}

.about-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-value-card {
  background: var(--navy-light);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-top: 3px solid var(--gold);
  border-radius: 8px;
  padding: 32px 28px 28px;
  position: relative;
}

.about-value-num {
  position: absolute;
  top: -18px;
  left: 28px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.about-value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 14px;
  line-height: 1.3;
}

.about-value-card p {
  font-size: 0.98rem;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}

/* Section 5 — Why CD + PI together */
.about-why-both {
  padding: 100px 0;
  background: var(--navy-light);
}

.about-why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.about-why-text-col p {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.8;
  margin: 0 0 18px;
}

.about-why-cards-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-practice-card {
  background: var(--navy);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 26px 28px 22px;
}

.about-practice-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 12px;
  line-height: 1.3;
}

.about-practice-list {
  font-size: 0.92rem;
  color: var(--white);
  line-height: 1.65;
  margin: 0 0 14px;
}

.about-practice-link {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.about-practice-link:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* Section 6 — Mario featured (text + desk landscape) */
.about-mario-feature {
  padding: 100px 0;
  background: var(--navy);
}

.about-mario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.about-mario-role {
  font-family: 'Oswald', sans-serif;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  margin: -16px 0 22px;
}

.about-mario-credentials {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.about-mario-credentials li {
  font-size: 0.98rem;
  color: var(--gray);
  line-height: 1.6;
  padding: 7px 0 7px 22px;
  position: relative;
}

.about-mario-credentials li::before {
  content: '\2713';
  color: var(--gold);
  position: absolute;
  left: 0;
  top: 7px;
  font-size: 1rem;
  font-weight: 700;
}

.about-mario-bio {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.75;
  margin: 0 0 20px;
}

.about-mario-bio-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.about-mario-bio-link:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.about-mario-desk-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.about-mario-desk-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Section 7 — Team teaser */
.about-team {
  padding: 100px 0;
  background: var(--navy-light);
  text-align: center;
}

.about-team-body {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.75;
  max-width: 760px;
  margin: 0 auto 32px;
}

.about-team-cta {
  display: flex;
  justify-content: center;
}

/* Section 8 — Stats bar */
.about-stats {
  padding: 80px 0;
  background: var(--navy);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.about-stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 180px;
  max-width: 240px;
}

.about-stat-number {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.about-stat-label {
  font-family: 'Lato', sans-serif;
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.3;
}

/* Tablet ≤1024px */
@media (max-width: 1024px) {
  .about-founder-grid,
  .about-why-grid,
  .about-mario-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-founder-image-col {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-mario-image-col {
    max-width: 600px;
    margin: 0 auto;
  }

  .about-section-h2 {
    font-size: 1.95rem;
  }

  .about-stats-bar {
    gap: 32px;
  }
}

/* Mobile ≤768px */
@media (max-width: 768px) {
  .about-founder,
  .about-boba,
  .about-why-both,
  .about-mario-feature,
  .about-team {
    padding: 60px 0;
  }

  .about-stats {
    padding: 50px 0;
  }

  /* On mobile, image goes BELOW text (visual rhythm: read story first,
     then see the founder). Reverse grid source order with flex-like
     behavior using grid-row. */
  .about-founder-grid {
    display: flex;
    flex-direction: column;
  }

  .about-founder-text-col {
    order: 1;
  }

  .about-founder-image-col {
    order: 2;
    max-width: 360px;
  }

  .about-section-h2 {
    font-size: 1.75rem;
  }

  .about-founder-text-col p,
  .about-why-text-col p,
  .about-team-body {
    font-size: 0.98rem;
  }

  .about-pull-quote {
    font-size: 1rem;
    padding-left: 18px;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-value-card {
    padding: 28px 22px 24px;
  }

  .about-value-card h3 {
    font-size: 1.2rem;
  }

  .about-value-num {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    top: -16px;
    left: 22px;
  }

  .about-mario-credentials li {
    font-size: 0.92rem;
  }

  /* Stats bar on mobile: 2-col grid for the 4 numbers (cleaner than
     1-col stack which makes the bar feel sparse). */
  .about-stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .about-stat {
    max-width: none;
  }

  .about-stat-label {
    font-size: 0.75rem;
  }
}

/* ===== Geo pages — courthouse info card ===== */
.courthouse-card {
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}
.courthouse-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}
.courthouse-card__details {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}
.courthouse-card__details li {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.95rem;
}
.courthouse-card__details li:last-child {
  border-bottom: none;
}

/* ===== Geo pages — practice-area link cards ===== */
.geo-practice-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  min-height: 110px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.geo-practice-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.geo-practice-link h3 {
  margin: 0;
  font-size: 1.1rem;
}
