/* ═══════════════════════════════════════════
   DESIGN TOKENS — BeatIRS.com
   Art Direction: Sober authority, federal weight,
   three-generation heritage. Dark navy primary,
   warm cream surfaces, crimson urgency accent.
═══════════════════════════════════════════ */

:root {
  /* Typography */
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", sans-serif;

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1.5rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* ─── Brand palette ─── */
  /* Navy — authority, heritage, federal weight */
  --navy-900: #0d1b2e;
  --navy-800: #1b2a4a;
  --navy-700: #243459;
  --navy-600: #2e4270;
  --navy-100: #e8ecf5;
  --navy-50: #f0f3f9;

  /* Crimson — urgency, call to action */
  --crimson-700: #9b1c2e;
  --crimson-600: #b91c35;
  --crimson-500: #d4213e;
  --crimson-100: #fde8ec;
  --crimson-50: #fef5f6;

  /* Surfaces — warm cream (not cold white) */
  --color-bg: #faf9f6;
  --color-surface: #f5f3ee;
  --color-surface-2: #ede9e2;
  --color-border: #d8d3cb;
  --color-divider: #e4dfd8;

  /* Text */
  --color-text: #1a1714;
  --color-text-muted: #5c5852;
  --color-text-faint: #a09994;
  --color-text-on-dark: #f5f3ee;

  /* Accents */
  --color-primary: var(--navy-800);
  --color-primary-hover: var(--navy-900);
  --color-accent: var(--crimson-500);
  --color-accent-hover: var(--crimson-700);

  /* Practice area colors */
  --criminal-color: #1b2a4a; /* deep navy */
  --civil-color: #1a4a3a; /* deep forest teal */
  --comp-color: #2a3d1a; /* deep forest green */

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(27, 42, 74, 0.08);
  --shadow-md: 0 4px 16px rgba(27, 42, 74, 0.1);
  --shadow-lg: 0 12px 40px rgba(27, 42, 74, 0.14);

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 500ms var(--ease);
}

/* ───── BASE RESET ───── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-padding-top: 80px;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.65;
}
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
ul[role="list"],
ol[role="list"] {
  list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  text-wrap: balance;
  line-height: 1.15;
}
p,
li,
figcaption {
  text-wrap: pretty;
  max-width: 72ch;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ───── CONTAINER ───── */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-16));
}

/* ───── SECTION SHARED ───── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}
.section-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 56ch;
}
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}
.section-header .section-sub {
  margin-inline: auto;
}

/* ───── BUTTONS ───── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.7em 1.6em;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.4;
}
.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: 0 4px 16px rgba(180, 32, 62, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-secondary:hover {
  background: var(--navy-50);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-lg {
  font-size: var(--text-base);
  padding: 0.85em 2em;
  border-radius: var(--radius-lg);
}

/* ═══════════════════════════════════════════
   SITE HEADER
═══════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-16));
  height: 72px;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
  color: var(--navy-800);
}
.logo-mark {
  color: var(--navy-800);
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-primary {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy-800);
}
.logo-sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

/* Main nav */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}
.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition:
    color var(--transition),
    background var(--transition);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--color-text);
  background: var(--color-surface);
}

.nav-cta {
  background: var(--color-accent);
  color: #fff !important;
  font-weight: 600;
  padding: var(--space-2) var(--space-5);
}
.nav-cta:hover {
  background: var(--color-accent-hover) !important;
  color: #fff;
}

/* Dropdown */
.has-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  background: none;
  border: none;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity var(--transition),
    transform var(--transition),
    visibility var(--transition);
  z-index: 50;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  transition: background var(--transition);
}
.dropdown-item:hover {
  background: var(--color-surface);
}
.dropdown-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.criminal-dot {
  background: var(--criminal-color);
}
.civil-dot {
  background: var(--civil-color);
}
.comprehensive-dot {
  background: var(--comp-color);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy-800);
  padding: var(--space-2) var(--space-4);
  border: 2px solid var(--navy-800);
  border-radius: var(--radius-full, 9999px);
  transition:
    background var(--transition),
    color var(--transition);
}
.header-phone:hover {
  background: var(--navy-800);
  color: var(--color-text-on-dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--navy-900) 0%,
    #1a3060 40%,
    #0d2845 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-description {
  display: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13, 27, 46, 0.85) 0%,
    rgba(13, 27, 46, 0.7) 50%,
    rgba(13, 27, 46, 0.45) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(var(--space-16), 12vh, var(--space-32));
}
.hero-text {
  max-width: 640px;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-4);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.hero-sub {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin-bottom: var(--space-8);
  max-width: 56ch;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.hero-reassurance {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.03em;
  max-width: 100%;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.35);
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ═══════════════════════════════════════════
   NUMBERS SECTION
═══════════════════════════════════════════ */
.numbers-section {
  background: var(--navy-800);
  padding-block: clamp(var(--space-10), 6vw, var(--space-20));
}
.numbers-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  margin-bottom: var(--space-8);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-1);
}
@media (max-width: 900px) {
  .numbers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 540px) {
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.number-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-6) var(--space-4);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  gap: var(--space-2);
}
.number-tile:last-child {
  border-right: none;
}
@media (max-width: 900px) {
  .number-tile:nth-child(3n) {
    border-right: none;
  }
}
.number-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}
.number-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
  max-width: 120px;
}

/* ═══════════════════════════════════════════
   PRACTICE AREAS
═══════════════════════════════════════════ */
.practices-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  background: var(--color-bg);
}
.practices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 900px) {
  .practices-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.practice-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.practice-card-inner {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}
.practice-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.practice-img-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  padding: var(--space-6);
  text-align: center;
  font-size: var(--text-xs);
  font-style: italic;
  line-height: 1.7;
}
.criminal-bg {
  background: linear-gradient(160deg, #0d1b2e 0%, #1b2a4a 100%);
  color: rgba(255, 255, 255, 0.3);
}
.civil-bg {
  background: linear-gradient(160deg, #0d2520 0%, #1a4a3a 100%);
  color: rgba(255, 255, 255, 0.3);
}
.comprehensive-bg {
  background: linear-gradient(160deg, #182010 0%, #2a3d1a 100%);
  color: rgba(255, 255, 255, 0.3);
}

.practice-card-content {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: var(--space-8) var(--space-6) var(--space-6);
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.5) 70%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.practice-tag {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.criminal-card .practice-tag {
  color: #7ba7d4;
}
.civil-card .practice-tag {
  color: #7bc4a7;
}
.comprehensive-card .practice-tag {
  color: #8dc47b;
}

.practice-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.practice-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  max-width: 100%;
}
.practice-signals {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.practice-signals li {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
  padding-left: var(--space-4);
  position: relative;
  max-width: 100%;
}
.practice-signals li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.4);
}
.practice-stat {
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
  padding-top: var(--space-2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-practice {
  display: inline-flex;
  align-items: center;
  padding: 0.7em 1.5em;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  transition:
    background var(--transition),
    border-color var(--transition);
  align-self: flex-start;
}
.btn-practice:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ═══════════════════════════════════════════
   LEGACY SECTION
═══════════════════════════════════════════ */
.legacy-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.legacy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-24));
  align-items: center;
}
@media (max-width: 768px) {
  .legacy-layout {
    grid-template-columns: 1fr;
  }
}

/* Timeline */
.legacy-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.legacy-photo-block {
  width: 100%;
  position: relative;
}
.legacy-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--color-surface-2), var(--navy-100));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  text-align: center;
  font-size: var(--text-xs);
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.7;
  border: 1px dashed var(--color-border);
  overflow: hidden;
}
.legacy-year {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-md);
}
.legacy-connector {
  width: 2px;
  height: var(--space-8);
  background: var(--color-border);
  position: relative;
}
.legacy-connector::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

.legacy-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.legacy-body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
}
.legacy-pull-quote {
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-5);
  margin-block: var(--space-2);
}
.legacy-pull-quote blockquote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--navy-800);
  line-height: 1.45;
  margin-bottom: var(--space-2);
  max-width: 100%;
}
.legacy-pull-quote cite {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════
   VIDEO SECTION
═══════════════════════════════════════════ */
.video-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  background: var(--color-bg);
}
.video-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: center;
}
@media (max-width: 768px) {
  .video-layout {
    grid-template-columns: 1fr;
  }
}
.video-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.video-body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
}
.video-placeholder {
  background: var(--navy-900);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-8);
  text-align: center;
}
.video-play-icon {
  color: rgba(255, 255, 255, 0.8);
}
.video-placeholder-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
  line-height: 1.8;
  max-width: 100%;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testimonials-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
}
.testimonials-title-text {
  text-align: center;
  margin-bottom: var(--space-12);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
.testimonial {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  border-top: 3px solid transparent;
}
.criminal-testimonial {
  border-top-color: var(--criminal-color);
}
.civil-testimonial {
  border-top-color: var(--civil-color);
}
.comprehensive-testimonial {
  border-top-color: var(--comp-color);
}

.testimonial-tag {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.5;
  flex: 1;
  max-width: 100%;
}
.testimonial-footer {
  margin-top: auto;
}
.testimonial-cite {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-style: normal;
  font-weight: 600;
}
.testimonial-cite small {
  display: block;
  font-weight: 400;
  color: var(--color-text-faint);
}

.testimonials-cta {
  text-align: center;
}

/* ═══════════════════════════════════════════
   TEAM SECTION
═══════════════════════════════════════════ */
.team-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
.team-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.team-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-surface-2);
  flex-shrink: 0;
}
.team-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  text-align: center;
  font-size: var(--text-xs);
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.7;
  border-bottom: 1px dashed var(--color-border);
}
.team-info {
  padding: var(--space-5) var(--space-4) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.team-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}
.team-title-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.team-credentials {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-top: var(--space-1);
}
.team-credentials li {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.45;
  padding-left: var(--space-3);
  position: relative;
  max-width: 100%;
}
.team-credentials li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--color-text-faint);
}
.team-link {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--navy-700);
  margin-top: var(--space-3);
  display: inline-block;
}
.team-link:hover {
  color: var(--color-accent);
}

/* ═══════════════════════════════════════════
   BOTTOM CTA / CONTACT
═══════════════════════════════════════════ */
.bottom-cta {
  background: var(--crimson-700);
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.bottom-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}
@media (max-width: 800px) {
  .bottom-cta-inner {
    grid-template-columns: 1fr;
  }
}
.cta-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.cta-headline {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.cta-sub {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  max-width: 50ch;
}
.cta-contact-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-2);
}
.cta-option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}
.cta-phone-link {
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.cta-phone-link:hover {
  border-bottom-color: #fff;
}

/* Contact form */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.form-row {
  display: flex;
  gap: var(--space-4);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}
.form-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.form-optional {
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  font-size: var(--text-base);
  color: var(--color-text);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--navy-800);
  box-shadow: 0 0 0 1px rgba(27, 42, 74, 1);
}
.form-textarea {
  resize: vertical;
  min-height: 100px;
}
.btn-form-submit {
  background: var(--navy-800);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
  font-weight: 700;
  cursor: pointer;
  transition:
    background var(--transition),
    transform var(--transition);
  text-align: center;
}
.btn-form-submit:hover {
  background: var(--navy-900);
  transform: translateY(-1px);
}
.form-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.6;
  text-align: center;
  max-width: 100%;
}

/* ═══════════════════════════════════════════
   SITE FOOTER
═══════════════════════════════════════════ */
.site-footer {
  background: var(--navy-900);
  padding-top: clamp(var(--space-12), 6vw, var(--space-20));
  padding-bottom: var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
}
.footer-tagline {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  max-width: 32ch;
}
.footer-phone {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.footer-phone:hover {
  color: #fff;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.footer-nav-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-nav a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}
.footer-nav a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  padding-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  align-items: flex-start;
  justify-content: space-between;
}
.footer-legal {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.25);
  line-height: 1.7;
  max-width: 74ch;
}
.footer-links {
  display: flex;
  gap: var(--space-5);
  flex-shrink: 0;
}
.footer-links a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ═══════════════════════════════════════════
   MOBILE STICKY BAR
═══════════════════════════════════════════ */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-2) var(--space-4);
  gap: var(--space-3);
  padding-bottom: calc(var(--space-2) + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
  }
}
.mobile-sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: center;
}
.mobile-sticky-call {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.mobile-sticky-contact {
  background: var(--crimson-500);
  color: #fff;
}

/* ═══════════════════════════════════════════
   UTILITY — PROCESS SECTION PLACEHOLDER
═══════════════════════════════════════════ */
#process {
  scroll-margin-top: 80px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .header-phone span {
    display: none;
  }
}
@media (max-width: 640px) {
  .hero-headline {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  body {
    padding-bottom: 72px;
  }
}

/* ── Real MacPherson Group Logo Override ──────────────────────────────── */
.logo {
  gap: 0;
  align-items: center;
}
.logo svg {
  display: block;
  flex-shrink: 0;
  overflow: visible;
}
/* Hide the now-redundant text span if it survived */
.logo-text {
  display: none;
}
/* Give the header a bit more height for the real logo */
.header-inner {
  height: 88px;
}
@media (max-width: 600px) {
  .logo svg {
    width: 120px;
    height: 60px;
  }
  .header-inner {
    height: 64px;
  }
}

/* Phone icon alignment in footer and CTA inline link */
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.footer-phone svg {
  flex-shrink: 0;
}
.cta-phone-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  vertical-align: middle;
}
.cta-phone-link svg {
  flex-shrink: 0;
}
