/* ========================================
   Graystone Legal Group — Design System
   ======================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --navy-900: #0a1628;
  --navy-800: #111d35;
  --navy-700: #162544;
  --navy-600: #1c3058;
  --navy-500: #234070;
  --navy-400: #3a5a8c;
  --navy-300: #5e7faa;
  --navy-200: #8ba5c7;
  --navy-100: #c3d4e8;
  --navy-50: #e8eff7;

  --gold-600: #b8860b;
  --gold-500: #d4a017;
  --gold-400: #e6b422;
  --gold-300: #f0c94d;
  --gold-200: #f5da7a;
  --gold-100: #faf0c8;
  --gold-50: #fdf8e8;

  --white: #ffffff;
  --gray-50: #f8f9fb;
  --gray-100: #f1f3f6;
  --gray-200: #e2e6eb;
  --gray-300: #c9cfd8;
  --gray-400: #99a3b0;
  --gray-500: #6b7685;
  --gray-600: #4a5568;
  --gray-700: #374151;
  --gray-800: #1f2937;

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* Typography */
  --font-heading: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06), 0 1px 2px rgba(10, 22, 40, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.08), 0 2px 4px rgba(10, 22, 40, 0.04);
  --shadow-lg: 0 10px 30px rgba(10, 22, 40, 0.1), 0 4px 8px rgba(10, 22, 40, 0.05);
  --shadow-xl: 0 20px 50px rgba(10, 22, 40, 0.15), 0 8px 16px rgba(10, 22, 40, 0.06);
  --shadow-gold: 0 4px 20px rgba(212, 160, 23, 0.25);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Layout */
  --container-max: 1200px;
  --nav-height: 80px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--navy-800);
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-md);
  color: var(--gray-600);
}

.text-gold {
  color: var(--gold-500);
}

.text-navy {
  color: var(--navy-700);
}

.text-white {
  color: var(--white);
}

.text-center {
  text-align: center;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--gray {
  background: var(--gray-50);
}

.section--navy {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section--navy p {
  color: var(--navy-100);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header .badge {
  display: inline-block;
  background: var(--gold-100);
  color: var(--gold-600);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section--navy .section-header .badge {
  background: rgba(212, 160, 23, 0.15);
  color: var(--gold-300);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: none;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
  color: var(--navy-900);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-300) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 160, 23, 0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--navy-700);
  border-color: var(--navy-200);
}

.btn--outline:hover {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
  transform: translateY(-2px);
}

.btn--navy {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}

.btn--navy:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 18px 42px;
  font-size: 1.05rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-200);
}

.card__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--gold-100) 0%, var(--gold-50) 100%);
  color: var(--gold-600);
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--navy-800);
  margin-bottom: var(--space-sm);
}

.card__text {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card--highlight {
  border-color: var(--gold-300);
  box-shadow: var(--shadow-gold);
}

.card--dark {
  background: var(--navy-800);
  border-color: var(--navy-600);
}

.card--dark:hover {
  border-color: var(--gold-400);
}

.card--dark .card__title {
  color: var(--white);
}

.card--dark .card__text {
  color: var(--navy-200);
}

.card--dark .card__icon {
  background: rgba(212, 160, 23, 0.12);
  color: var(--gold-400);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-800);
}

.navbar__logo img {
  height: 44px;
  width: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.navbar__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition-fast);
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width var(--transition-base);
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--navy-800);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

.navbar__cta {
  margin-left: var(--space-sm);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  z-index: 1001;
}

.navbar__toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero--home {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-600) 100%);
}

.hero--home::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero--home::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 160, 23, 0.12);
  color: var(--gold-300);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xl);
  border: 1px solid rgba(212, 160, 23, 0.2);
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1.15;
  margin-bottom: var(--space-lg);
}

.hero__title span {
  color: var(--gold-400);
}

.hero__subtitle {
  color: var(--navy-200);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  max-width: 540px;
}

.hero__stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-400);
}

.hero__stat-label {
  font-size: 0.85rem;
  color: var(--navy-300);
  margin-top: 4px;
}

/* Page header (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top right, rgba(212, 160, 23, 0.06) 0%, transparent 50%);
}

.page-hero h1 {
  color: var(--white);
  position: relative;
  z-index: 2;
  margin-bottom: var(--space-md);
}

.page-hero p {
  color: var(--navy-200);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--navy-300);
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 2;
}

.page-hero .breadcrumb a {
  color: var(--gold-400);
}

.page-hero .breadcrumb a:hover {
  text-decoration: underline;
}

/* Hero with full background image (Huber Thomas style) */
.page-hero--split {
  text-align: left;
  padding: 0;
  background: none;
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.page-hero--split::before {
  display: none;
}

.page-hero--split .container {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
}

.page-hero__content {
  position: relative;
  z-index: 3;
  max-width: 600px;
}

.page-hero--split .breadcrumb {
  justify-content: flex-start;
}

.page-hero--split h1 {
  font-size: 2.4rem;
  line-height: 1.15;
}

.page-hero--split p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--navy-100);
  line-height: 1.7;
}

.page-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

/* Dark gradient overlay for text readability */
.page-hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0;
  border: none;
  background: linear-gradient(
    to right,
    rgba(10, 22, 40, 0.92) 0%,
    rgba(10, 22, 40, 0.80) 40%,
    rgba(10, 22, 40, 0.45) 70%,
    rgba(10, 22, 40, 0.20) 100%
  );
  pointer-events: none;
}

.page-hero--split .btn-group {
  flex-wrap: wrap;
}

.page-hero--split .hero__stats {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  display: inline-flex;
  gap: var(--space-2xl);
  backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
  .page-hero--split {
    min-height: 480px;
    text-align: center;
  }

  .page-hero--split .container {
    justify-content: center;
  }

  .page-hero--split .breadcrumb {
    justify-content: center;
  }

  .page-hero__content {
    max-width: 100%;
  }

  .page-hero--split h1 {
    font-size: 1.8rem;
  }

  .page-hero--split p {
    margin: 0 auto;
  }

  .page-hero__image::after {
    background: rgba(10, 22, 40, 0.80);
  }

  .page-hero--split .hero__stats {
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
  }
}

/* ---------- Trust Bar (Awarded By) ---------- */
.trust-bar {
  padding: var(--space-2xl) 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

.trust-bar__title {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gray-400);
  margin-bottom: var(--space-xl);
}

.trust-bar__logos {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.trust-bar__track {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  width: max-content;
  animation: trustScroll 25s linear infinite;
}

.trust-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 80px;
}

.trust-logo img {
  max-height: 65px;
  max-width: 200px;
  object-fit: contain;
  transition: all var(--transition-base);
}

.trust-logo:hover img {
  transform: scale(1.05);
}

@keyframes trustScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- As Seen On ---------- */
.seen-on {
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.seen-on__title {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--navy-400);
  margin-bottom: var(--space-xl);
}

.seen-on__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.seen-on__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  min-width: 120px;
  height: 56px;
}

.seen-on__logo:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.seen-on__logo:hover img {
  filter: brightness(0) invert(1) opacity(0.9);
}

.seen-on__logo img {
  max-height: 32px;
  max-width: 100px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.55);
  transition: filter var(--transition-base);
}

.seen-on__logo span {
  font-size: 0.9rem;
  color: var(--navy-200);
  font-weight: 700;
  font-family: var(--font-body);
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--gray-50);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-200);
}

.testimonial-card__stars {
  color: var(--gold-400);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.testimonial-card__quote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--gray-600);
  font-style: italic;
  flex-grow: 1;
}

.testimonial-card__quote::before {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-200));
  border-radius: 2px;
  margin-bottom: var(--space-md);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-100);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-body);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 700;
  color: var(--navy-800);
  font-size: 0.95rem;
}

.testimonial-card__case {
  font-size: 0.8rem;
  color: var(--gold-600);
  font-weight: 500;
}

@media (max-width: 992px) {
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .seen-on__logos {
    gap: var(--space-md);
  }

  .seen-on__logo {
    font-size: 0.8rem;
    padding: 8px 16px;
  }
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  counter-reset: step-counter;
}

.step {
  text-align: center;
  position: relative;
  counter-increment: step-counter;
}

.step__number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
  color: var(--navy-900);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  box-shadow: var(--shadow-gold);
}

.step__title {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.step__text {
  font-size: 0.92rem;
  color: var(--gray-500);
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 35px;
  left: calc(50% + 45px);
  width: calc(100% - 90px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-100));
  opacity: 0.5;
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: var(--space-sm);
}

.form-group label .required {
  color: var(--danger);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-700);
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.1);
}

.form-control::placeholder {
  color: var(--gray-400);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

select.form-control {
  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='%236b7685' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-error {
  font-size: 0.82rem;
  color: var(--danger);
  margin-top: 6px;
  display: none;
}

.form-group.error .form-control {
  border-color: var(--danger);
}

.form-group.error .form-error {
  display: block;
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--gold-300);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  cursor: pointer;
  background: var(--white);
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-800);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.faq-item.active .faq-icon {
  background: var(--gold-500);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-answer__inner {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--gray-600);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  color: var(--navy-200);
  padding: var(--space-4xl) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand p {
  color: var(--navy-300);
  font-size: 0.9rem;
  margin-top: var(--space-md);
  max-width: 320px;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer__links a {
  display: block;
  color: var(--navy-300);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: all var(--transition-fast);
}

.footer__links a:hover {
  color: var(--gold-400);
  transform: translateX(4px);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) 0;
  font-size: 0.82rem;
  color: var(--navy-400);
}

.footer__bottom a {
  color: var(--gold-400);
}

.footer__bottom a:hover {
  text-decoration: underline;
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-300);
  transition: all var(--transition-base);
  font-size: 1.1rem;
}

.footer__social a:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  transform: translateY(-2px);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 2;
}

.cta-banner p {
  color: var(--navy-200);
  max-width: 550px;
  margin: 0 auto var(--space-xl);
  position: relative;
  z-index: 2;
}

.cta-banner .btn {
  position: relative;
  z-index: 2;
}

/* ---------- Trust / Info Box ---------- */
.info-box {
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-xl) 0;
}

.info-box p {
  color: var(--gray-700);
  margin: 0;
  font-size: 0.95rem;
}

.info-box strong {
  color: var(--navy-800);
}

/* ---------- Scroll Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Alert / Success ---------- */
.alert {
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: var(--space-xl);
  display: none;
}

.alert--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.alert--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .hero__stats {
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
    gap: var(--space-sm);
  }

  .navbar__links.open {
    right: 0;
  }

  .navbar__links a {
    font-size: 1rem;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--gray-100);
  }

  .navbar__cta {
    margin-left: 0;
    margin-top: var(--space-md);
  }

  .navbar__toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  }

  .hero__stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-md);
  }
  
  .hero__stat-number {
    font-size: 1.6rem;
  }

  .hero__stat-label {
    font-size: 0.75rem;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .cta-banner {
    padding: var(--space-2xl) var(--space-xl);
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding: var(--space-3xl) 0;
  }
}

/* ---------- Mass Tort Lawsuit Cards ---------- */
.tort-section {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  padding: var(--space-4xl) 0;
}

.tort-section .section-header h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.tort-section .section-header p {
  color: var(--navy-200);
}

.tort-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.tort-card {
  background: var(--navy-700);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--navy-600);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.tort-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--gold-500);
}

.tort-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.tort-card__body {
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tort-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-md);
}

.tort-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tort-tag--type {
  background: rgba(59, 130, 246, 0.15);
  color: #7db4fa;
}

.tort-tag--type::before {
  content: '⚡';
  font-size: 0.65rem;
}

.tort-tag--active {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

.tort-tag--active::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ee7b7;
}

.tort-card__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
  line-height: 1.3;
}

.tort-card__subtitle {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-400);
  margin-bottom: var(--space-sm);
}

.tort-card__desc {
  font-size: 0.88rem;
  color: var(--navy-200);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.tort-card__btn {
  display: block;
  text-align: center;
  padding: 12px 24px;
  border: 2px solid var(--navy-400);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-base);
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}

.tort-card__btn:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

@media (max-width: 1024px) {
  .tort-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .tort-grid {
    grid-template-columns: 1fr;
  }

  .tort-section {
    padding: var(--space-2xl) 0;
  }
}

@media (max-width: 480px) {
  :root {
    --space-xl: 1.25rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .card {
    padding: var(--space-xl);
  }

  .page-hero {
    padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  }
}

/* ---------- Success Modal ---------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--white);
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 30px 60px -12px rgba(10, 22, 40, 0.3);
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-icon {
  width: 80px;
  height: 80px;
  background: var(--gold-500);
  color: var(--white);
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(212, 160, 23, 0.3);
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(212, 160, 23, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0); }
}

.modal-title {
  color: var(--navy-900);
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
  font-family: var(--font-heading);
}

.modal-text {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-2xl);
}

.modal-btn {
  width: 100%;
}