/* ============================================
   VIDEO LAWYER ON DEMAND — Production CSS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Source+Sans+3:wght@300;400;600&display=swap');

:root {
  --navy-deep:    #042C53;
  --navy-mid:     #0C447C;
  --blue-primary: #185FA5;
  --blue-light:   #378ADD;
  --blue-pale:    #E6F1FB;
  --blue-mist:    #B5D4F4;
  --gold:         #BA7517;
  --gold-light:   #EF9F27;
  --gold-pale:    #FAC775;
  --teal:         #5DCAA5;
  --coral:        #D85A30;
  --white:        #FFFFFF;
  --off-white:    #F7F9FC;
  --text-dark:    #0D1B2A;
  --text-mid:     #3D5068;
  --text-light:   #7A8FA6;
  --border:       #D4E4F5;
  --shadow-sm:    0 2px 12px rgba(4,44,83,0.08);
  --shadow-md:    0 8px 32px rgba(4,44,83,0.14);
  --shadow-lg:    0 20px 60px rgba(4,44,83,0.20);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --transition:   all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(4, 44, 83, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(181,212,244,0.15);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav-logo span { color: var(--gold-light); }

.nav-links {
  display: flex; gap: 2rem; list-style: none;
}

.nav-links a {
  color: var(--blue-mist);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: var(--transition);
}

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

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy-deep) !important; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy-mid) 60%, #1a4a7a 100%);
  display: flex; align-items: center;
  padding: 100px 5% 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(24,95,165,0.25) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}

.hero-eyebrow {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block; width: 28px; height: 1px; background: var(--gold-light);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 .word-video {
  display: block;
}

.hero h1 .v { color: #BA7517; }
.hero h1 .i { color: #D85A30; }
.hero h1 .d { color: #5DCAA5; }
.hero h1 .e { color: #8B7FDD; }
.hero h1 .o { color: var(--blue-light); }

.hero h1 .sub {
  color: var(--white);
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.hero-desc {
  font-size: 1.1rem; color: var(--blue-mist);
  line-height: 1.75; margin-bottom: 2.5rem; max-width: 460px;
}

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

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--gold);
  color: var(--white);
  padding: 0.95rem 2rem;
  border-radius: var(--radius-sm);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem; font-weight: 600;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(186,117,23,0.4);
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(186,117,23,0.5);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: transparent;
  color: var(--blue-mist);
  padding: 0.95rem 2rem;
  border-radius: var(--radius-sm);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem; font-weight: 400;
  text-decoration: none;
  border: 1px solid rgba(181,212,244,0.3);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(181,212,244,0.08);
  color: var(--white);
  border-color: rgba(181,212,244,0.6);
}

.hero-badges {
  margin-top: 3rem;
  display: flex; gap: 2rem; flex-wrap: wrap;
}

.badge {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: rgba(181,212,244,0.7);
}

.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

.hero-graphic {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}

.hero-graphic img {
  width: 100%; max-width: 560px;
  filter: drop-shadow(0 24px 48px rgba(4,44,83,0.5));
  animation: floatY 6s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 5%;
  display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap;
}

.trust-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; color: var(--text-mid); font-weight: 400;
}

.trust-icon {
  width: 18px; height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ---- SECTIONS ---- */
section { padding: 90px 5%; }

.section-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--blue-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.section-sub {
  font-size: 1.05rem; color: var(--text-mid);
  max-width: 520px; line-height: 1.75;
}

/* ---- PRACTICE AREAS ---- */
.practice { background: var(--off-white); }

.practice-grid {
  max-width: 1200px; margin: 3.5rem auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}

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

.practice-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--blue-primary);
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}

.practice-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--blue-mist);
}

.practice-card:hover::before { transform: scaleX(1); }

.practice-icon {
  width: 48px; height: 48px;
  background: var(--blue-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}

.practice-icon svg { width: 24px; height: 24px; stroke: var(--blue-primary); }

.practice-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
}

.practice-card p {
  font-size: 0.92rem; color: var(--text-mid); line-height: 1.7;
}

/* ---- HOW IT WORKS ---- */
.how { background: var(--white); }

.steps-grid {
  max-width: 1100px; margin: 3.5rem auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px; left: 16%; right: 16%;
  height: 1px; background: var(--border);
}

.step { text-align: center; position: relative; }

.step-num {
  width: 56px; height: 56px;
  background: var(--navy-deep);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  margin: 0 auto 1.5rem;
  position: relative; z-index: 1;
  border: 3px solid var(--off-white);
}

.step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.step p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.7; }

/* ---- CTA SECTION ---- */
.cta-section {
  background: var(--navy-deep);
  padding: 90px 5%;
  text-align: center;
  position: relative; overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(24,95,165,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
}

.cta-section p {
  font-size: 1.1rem; color: var(--blue-mist);
  max-width: 500px; margin: 0 auto 2.5rem; line-height: 1.75;
  position: relative;
}

.cta-section .btn-primary { position: relative; }

/* ---- FOOTER ---- */
footer {
  background: #020e1c;
  color: rgba(181,212,244,0.5);
  padding: 2.5rem 5%;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(181,212,244,0.08);
}

footer a { color: rgba(181,212,244,0.5); text-decoration: none; }
footer a:hover { color: var(--blue-mist); }

.footer-links { display: flex; gap: 2rem; }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow { animation: fadeUp 0.6s ease both; }
.hero h1      { animation: fadeUp 0.7s 0.1s ease both; }
.hero-desc    { animation: fadeUp 0.7s 0.2s ease both; }
.hero-actions { animation: fadeUp 0.7s 0.3s ease both; }
.hero-badges  { animation: fadeUp 0.7s 0.4s ease both; }
.hero-graphic { animation: fadeUp 0.8s 0.2s ease both; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-graphic { order: -1; }
  .practice-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .nav-links { display: none; }
  .trust-bar { gap: 1.5rem; justify-content: flex-start; }
  footer { flex-direction: column; align-items: flex-start; }
}
