/* ============================================================
   Aiello & DiFalco LLP — Main Stylesheet
   Built by Sovamoon | sovamoon.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --navy:       #0B1626;
  --navy-2:     #132030;
  --navy-3:     #1e3050;
  --gold:       #c2a87b;
  --gold-light: #d4bc94;
  --white:      #ffffff;
  --text:       #f0f4fa;
  --muted:      #c8d8e8;
  --border:     rgba(194, 168, 123, 0.2);
  --card-bg:    #152035;
  --font:       'Manrope', sans-serif;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow:     0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 0 24px rgba(194, 168, 123, 0.15);
  --transition: 0.3s ease;
  --max-width:  1200px;
}

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

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

body {
  font-family: var(--font);
  background-color: var(--navy);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

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

ul {
  list-style: none;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
}

.text-gold  { color: var(--gold); }
.text-white { color: var(--white); }
.text-muted { color: var(--muted); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ============================================================
   Section Headings — gold left accent
   ============================================================ */
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  padding-left: 20px;
  border-left: 4px solid var(--gold);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 48px;
  padding-left: 24px;
  line-height: 1.7;
}

/* Centred header variant (legacy inner pages) */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header p {
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
  color: var(--muted);
}

/* Left-aligned header (homepage sections) */
.section-header-left {
  margin-bottom: 3rem;
}

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--navy-2);
  padding: 5rem 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ============================================================
   Dividers
   ============================================================ */
.gold-divider {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 1rem auto;
}

.gold-divider-left {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 1rem 0;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

/* Gold fill — used inside hero and CTAs */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(194, 168, 123, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 6px 24px rgba(194, 168, 123, 0.5);
  transform: translateY(-2px);
  color: var(--navy);
}

/* White outline — hero secondary CTA */
.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 500;
}

.btn-outline-white:hover {
  background: rgba(194, 168, 123, 0.15);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* Standard primary (gold fill, used site-wide) */
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(194, 168, 123, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 6px 24px rgba(194, 168, 123, 0.4);
  transform: translateY(-2px);
  color: var(--navy);
}

/* Gold outline */
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn-outline:hover {
  background: rgba(194, 168, 123, 0.1);
  color: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

/* White border ghost */
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

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

/* Pulse animation variant */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(194, 168, 123, 0.4); }
  70%  { box-shadow: 0 0 0 10px rgba(194, 168, 123, 0); }
  100% { box-shadow: 0 0 0 0 rgba(194, 168, 123, 0); }
}

.btn-pulse {
  animation: pulse-ring 2.5s infinite;
}

/* ============================================================
   Navigation
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.65rem 0;
  background: rgba(11, 22, 38, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(11, 22, 38, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo — SVG image */
.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

/* Text fallback when SVG fails */
.navbar-logo-text {
  flex-direction: column;
}

.navbar-logo .firm-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.navbar-logo .firm-tagline-sm {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Right-side stack: contact info on top, nav links below */
.navbar-right-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex: 1;
}

.navbar-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  flex-wrap: wrap;
}

.navbar-nav a {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.navbar-cta {
  flex-shrink: 0;
}

.navbar-cta .btn {
  padding: 0.65rem 1.4rem;
  font-size: 0.85rem;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

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

.mobile-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  transition: all var(--transition);
}

.mobile-menu a:hover {
  color: var(--gold);
  background: rgba(194, 168, 123, 0.06);
}

.mobile-menu .btn {
  margin: 0.75rem 1.5rem 0.25rem;
}

/* ============================================================
   Hero — full-screen video background
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy); /* fallback while video loads */
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 22, 38, 0.92) 0%,
    rgba(11, 22, 38, 0.60) 50%,
    rgba(11, 22, 38, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 9vh;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  margin-top: 8px;
}

.hero-title {
  font-size: clamp(1.3rem, 2.1vw, 2.4rem);
  font-weight: 200;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.hero-tagline {
  display: block;
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 1.09rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  border: none;
  padding: 0;
}

.gold-text { color: var(--gold); }

.hero-sub {
  font-size: 1.1rem;
  font-weight: 400;
  color: #dde6f0;
  margin-bottom: 36px;
  font-style: italic;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 36px;
  margin-bottom: 32px;
}

.hero-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 36px;
  font-size: 0.95rem;
}

.hero-phone span {
  color: #dde6f0;
  font-weight: 400;
}

.hero-phone a {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: color var(--transition);
}

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

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  flex-wrap: wrap;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #b8c8d8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   Trust Bar — pill badges
   ============================================================ */
.awards-bar {
  background: #fff;
  padding: 3rem 0 2.5rem;
  border-top: 1px solid #e8edf2;
  border-bottom: 1px solid #e8edf2;
}

.awards-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.awards-row-logos {
  margin-bottom: 2rem;
}

.awards-row-stars {
  gap: 2rem;
}

.award-badge {
  height: 80px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.award-badge:hover { opacity: 1; }

.award-badge-lg  { height: 90px; }
.award-badge-star { height: 110px; }

/* ============================================================
   Practice Areas Section
   ============================================================ */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.practice-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.practice-card:hover {
  border-color: rgba(194, 168, 123, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.practice-card:hover::before {
  opacity: 1;
}

.practice-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(194, 168, 123, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.practice-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.6;
}

.practice-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.practice-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.practice-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: auto;
  text-decoration: none;
  transition: gap var(--transition);
}

.practice-card-link:hover {
  gap: 0.7rem;
  color: var(--gold-light);
}

.practice-card-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.view-all-wrap {
  text-align: center;
  margin-top: 3rem;
}

/* ============================================================
   About Section
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.25rem;
  font-size: 0.97rem;
  color: var(--muted);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem;
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.about-value-item:hover {
  border-color: rgba(194, 168, 123, 0.3);
}

.about-value-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(194, 168, 123, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-value-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
}

.about-value-text h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.about-value-text p {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all var(--transition);
}

.about-stat-card:hover {
  border-color: rgba(194, 168, 123, 0.3);
  box-shadow: var(--shadow-gold);
}

.about-stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  white-space: nowrap;
}

.about-stat-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.about-stat-info p {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   Attorney Cards — photo-forward
   ============================================================ */
.attorney-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.attorney-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--card-bg);
  border: 1px solid var(--border);
}

.attorney-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
  display: block;
}

.attorney-card:hover img {
  transform: scale(1.03);
}

.attorney-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(11, 22, 38, 0.97));
  padding: 60px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.attorney-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.attorney-card-title {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.attorney-card-cred {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.attorney-card-awards {
  margin-bottom: 14px;
}

/* ============================================================
   Award Badges — styled gold text
   ============================================================ */
.award-badge {
  display: inline-block;
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 10px 16px;
  text-align: center;
  background: rgba(194, 168, 123, 0.07);
}

.award-badge-label {
  font-size: 0.68rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.award-badge-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 3px 0;
  line-height: 1.2;
}

.award-badge-name {
  font-size: 0.7rem;
  color: var(--muted);
}

/* ============================================================
   Why Choose Us
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all var(--transition);
  position: relative;
}

.why-card:hover {
  border-color: rgba(194, 168, 123, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.why-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(194, 168, 123, 0.12);
  line-height: 1;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(194, 168, 123, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.why-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   Service Areas
   ============================================================ */
.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-area-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.service-area-card:hover {
  border-color: rgba(194, 168, 123, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.service-area-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.service-area-card p {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.area-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.area-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ============================================================
   Contact CTA
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy-2) 0%, var(--navy-3) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(194, 168, 123, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  margin-bottom: 1rem;
}

.cta-inner p {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  margin-top: 2rem;
  justify-content: center;
  transition: color var(--transition);
}

.cta-phone:hover {
  color: var(--gold);
}

.cta-phone svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
}

/* ============================================================
   Footer
   ============================================================ */
/* ============================================================
   Site Footer — light two-row layout matching firm standard
   ============================================================ */
.site-footer { font-family: inherit; }

/* Row 1 — white: logo left, copyright + address right */
.footer-main {
  background: #ffffff;
  border-top: 1px solid #dde3ea;
  padding: 2rem 0;
}
.footer-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
}
.footer-info { text-align: right; }
.footer-info p {
  color: #1a2a3a;
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}
.footer-info a { color: #1a2a3a; text-decoration: none; }
.footer-info a:hover { color: #c8a96e; }

/* Row 2 — light gray: legal links + accessibility left, built-by right */
.footer-legal-bar {
  background: #eef0f3;
  border-top: 1px solid #d4d9e0;
  padding: 1.1rem 0;
}
.footer-legal-bar-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-legal-bar-left p {
  color: #4a5568;
  font-size: 0.76rem;
  line-height: 1.75;
  margin: 0;
}
.footer-legal-bar-left a {
  color: #4a5568;
  text-decoration: underline;
  transition: color 0.2s;
}
.footer-legal-bar-left a:hover { color: #1a2a3a; }
.footer-legal-bar-right {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.footer-built-by {
  font-size: 0.72rem;
  color: #8a9ab0;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-built-by:hover { color: #c8a96e; }

@media (max-width: 640px) {
  .footer-main-inner { flex-direction: column; align-items: flex-start; }
  .footer-info { text-align: left; }
  .footer-legal-bar-inner { flex-direction: column; }
  .footer-legal-bar-right { align-items: flex-start; text-align: left; }
}

/* ============================================================
   Page Hero (inner pages)
   ============================================================ */
.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 30%, rgba(194, 168, 123, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.page-hero .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}

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

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 600px;
  font-size: 1.05rem;
  color: var(--muted);
}

/* ============================================================
   Practice Areas Page
   ============================================================ */
.pa-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.pa-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.pa-card:hover {
  border-color: rgba(194, 168, 123, 0.3);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.pa-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(194, 168, 123, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pa-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.6;
}

.pa-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.pa-card-body p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   Team Page
   ============================================================ */
.attorney-profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.attorney-profile:last-child {
  border-bottom: none;
}

.attorney-profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
}

.attorney-profile-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  display: block;
}

.attorney-profile-avatar {
  width: 100%;
  aspect-ratio: 1;
  max-width: 220px;
  border-radius: var(--radius-lg);
  background: var(--navy-3);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
}

.attorney-profile-info h2 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.attorney-profile-info .title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1rem;
}

.credential-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.credential-item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.attorney-profile-body h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.attorney-profile-body h3:first-child {
  margin-top: 0;
}

.attorney-profile-body p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.strength-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.strength-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.83rem;
  color: var(--muted);
  transition: border-color var(--transition);
}

.strength-item:hover {
  border-color: rgba(194, 168, 123, 0.25);
}

.strength-item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 5px;
}

/* ============================================================
   Service Areas Page
   ============================================================ */
.service-area-full {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}

.service-area-full:last-child {
  border-bottom: none;
}

.service-area-full-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.service-area-full-inner.reverse {
  direction: rtl;
}

.service-area-full-inner.reverse > * {
  direction: ltr;
}

.service-area-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.service-area-header .county-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 0.5rem;
}

.service-area-body p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.courts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.court-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  background: rgba(194, 168, 123, 0.08);
  border: 1px solid rgba(194, 168, 123, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

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

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(194, 168, 123, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
}

.contact-detail-text h4 {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.contact-detail-text p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.contact-detail-text a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-detail-text a:hover { color: var(--gold); }

.contact-confidential {
  background: rgba(194, 168, 123, 0.06);
  border: 1px solid rgba(194, 168, 123, 0.15);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 2rem;
}

.contact-confidential p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.contact-confidential strong {
  color: var(--gold);
  font-weight: 600;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form-wrap h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.contact-form-wrap > p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--navy-3);
  border: 1px solid rgba(194, 168, 123, 0.15);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--white);
  transition: all var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(184, 200, 216, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(194, 168, 123, 0.4);
  background: rgba(30, 48, 80, 0.8);
  box-shadow: 0 0 0 3px rgba(194, 168, 123, 0.08);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b8c8d8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

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

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

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  color: #86efac;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* ============================================================
   Chatbot Widget
   ============================================================ */
.chatbot-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.chatbot-toggle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(194, 168, 123, 0.4);
  transition: all var(--transition);
  flex-shrink: 0;
}

.chatbot-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(194, 168, 123, 0.55);
}

.chatbot-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 2;
  transition: opacity var(--transition);
}

.chatbot-toggle .icon-chat  { opacity: 1; position: absolute; }
.chatbot-toggle .icon-close { opacity: 0; position: absolute; }
.chatbot-toggle.open .icon-chat  { opacity: 0; }
.chatbot-toggle.open .icon-close { opacity: 1; }

.chatbot-panel {
  width: 360px;
  max-height: 540px;
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.95) translateY(10px);
  opacity: 0;
  pointer-events: none;
}

.chatbot-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chatbot-header {
  padding: 1.25rem 1.5rem;
  background: var(--navy-3);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.chatbot-header-info h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.chatbot-header-info span {
  font-size: 0.72rem;
  color: var(--muted);
}

.chatbot-online {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  flex-shrink: 0;
}

.chatbot-disclaimer {
  background: rgba(194, 168, 123, 0.06);
  border-bottom: 1px solid rgba(194, 168, 123, 0.1);
  padding: 0.75rem 1.25rem;
  font-size: 0.73rem;
  color: rgba(184, 200, 216, 0.8);
  line-height: 1.5;
  flex-shrink: 0;
}

.chatbot-disclaimer strong {
  color: var(--gold);
  font-weight: 600;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(194, 168, 123, 0.2);
  border-radius: 2px;
}

.chat-message {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 85%;
  animation: messageIn 0.25s ease;
}

.chat-message.bot  { align-self: flex-start; }
.chat-message.user { align-self: flex-end; align-items: flex-end; }

.chat-bubble {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.55;
}

.chat-message.bot .chat-bubble {
  background: var(--navy-3);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 12px 12px 12px 4px;
}

.chat-message.user .chat-bubble {
  background: linear-gradient(135deg, rgba(194, 168, 123, 0.25), rgba(194, 168, 123, 0.15));
  color: var(--white);
  border: 1px solid rgba(194, 168, 123, 0.25);
  border-radius: 12px 12px 4px 12px;
}

.chat-message.bot .chat-bubble a {
  color: var(--gold);
  font-weight: 600;
}

.chat-time {
  font-size: 0.65rem;
  color: rgba(184, 200, 216, 0.5);
  padding: 0 0.25rem;
}

.chat-typing {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.75rem 1rem;
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: 12px 12px 12px 4px;
  width: fit-content;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: typingBounce 1.2s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

.chatbot-lead-form {
  padding: 1rem 1.25rem;
  background: var(--navy-3);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.chatbot-lead-form p {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.chatbot-lead-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.chatbot-lead-inputs input {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 0.85rem;
  font-family: var(--font);
  font-size: 0.83rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
}

.chatbot-lead-inputs input:focus {
  border-color: rgba(194, 168, 123, 0.35);
}

.chatbot-lead-inputs input::placeholder {
  color: rgba(184, 200, 216, 0.4);
}

.chatbot-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.chatbot-input {
  flex: 1;
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
  resize: none;
}

.chatbot-input:focus {
  border-color: rgba(194, 168, 123, 0.35);
}

.chatbot-input::placeholder {
  color: rgba(184, 200, 216, 0.4);
}

.chatbot-send {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
  align-self: flex-end;
}

.chatbot-send:hover {
  box-shadow: 0 4px 12px rgba(194, 168, 123, 0.4);
  transform: scale(1.05);
}

.chatbot-send svg {
  width: 16px;
  height: 16px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 2;
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes messageIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30%           { transform: translateY(-4px); opacity: 1; }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }
.animate-fade    { animation: fadeIn 0.5s ease forwards; }

/* ============================================================
   Navbar Phone / Location Badges
   ============================================================ */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.nav-phone-badge,
.nav-location-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  padding: 3px 8px 3px 3px;
  border-radius: 5px;
  transition: background var(--transition);
}

.nav-phone-badge:hover { background: rgba(194,168,123,0.08); color: var(--gold); }

.nav-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(194,168,123,0.15);
  border: 1px solid rgba(194,168,123,0.3);
  border-radius: 4px;
  flex-shrink: 0;
}

.nav-badge-icon svg {
  width: 12px;
  height: 12px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
}

@media (max-width: 1100px) {
  .nav-location-badge { display: none; }
}
@media (max-width: 900px) {
  .navbar-right-stack { display: none; }
}

/* Dropdown */
.nav-dropdown { position:relative; }
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7em;
  opacity: 0.7;
}
.nav-dropdown-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  /* padding-top bridges the gap — cursor stays "inside" the element */
  padding-top: 10px;
  min-width: 220px;
  z-index: 100;
  /* open instantly, close with 300ms delay so cursor has time to reach items */
  transition: opacity 0.15s ease, visibility 0.15s ease;
  transition-delay: 0.3s;
}
/* the visible box lives in ::before so the padding-top gap stays transparent */
.nav-dropdown-menu::before {
  content: '';
  display: block;
  position: absolute;
  top: 10px; left: 0; right: 0; bottom: 0;
  background: #0f1e33;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: -1;
}
.nav-dropdown:hover .nav-dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}
.nav-dropdown-menu a { display:block; padding:10px 20px; color:var(--text); font-size:0.88rem; white-space:nowrap; text-decoration:none; transition: all var(--transition); }
.nav-dropdown-menu a:hover { background:rgba(194,168,123,0.08); color:var(--gold); }

/* Hero vertical offset for fixed navbar */
.hero .hero-content { padding-top: 72px; }
.page-hero { padding-top: 90px; }

/* ============================================================
   Footer Legal Bar
   ============================================================ */
/* legacy — no longer used */
.footer-legal-old {
  background: #060d18;
  border-top: 1px solid rgba(194,168,123,0.1);
  padding: 16px 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.footer-legal-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-legal-left { display:flex; gap:16px; flex-wrap:wrap; align-items:center; }
.footer-legal-left span { color:var(--gold); font-weight:600; }
.footer-legal-left a { color:var(--muted); text-decoration:none; transition:color var(--transition); }
.footer-legal-left a:hover { color:var(--gold); }
.footer-legal-right { max-width:500px; text-align:right; line-height:1.6; }
.footer-legal-right a { color:var(--gold); }
.footer-built { font-size:0.72rem; color:rgba(255,255,255,0.3); text-align:center; margin-top:8px; }
.footer-built a { color:var(--gold); opacity:0.6; }

/* ============================================================
   Practice Area Sections (deep content pages)
   ============================================================ */
.practice-section { padding: 60px 0; border-bottom: 1px solid var(--border); }
.practice-section:last-child { border-bottom: none; }
.practice-section-grid { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
.practice-sub-list { list-style:none; margin-top:16px; padding:0; }
.practice-sub-list li { padding:8px 0; border-bottom:1px solid rgba(194,168,123,0.08); color:var(--text); font-size:0.95rem; }
.practice-sub-list li::before { content:'→'; color:var(--gold); margin-right:10px; }
.practice-type-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.practice-type-tag { font-size:0.75rem; font-weight:500; color:var(--gold); background:rgba(194,168,123,0.08); border:1px solid rgba(194,168,123,0.2); padding:0.3rem 0.8rem; border-radius:20px; }
.practice-cta-inline { margin-top:28px; }

/* Practice nav quick links */
.practice-nav {
  background: var(--navy-2);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: sticky;
  top: 66px;
  z-index: 50;
  overflow-x: auto;
}
.practice-nav-inner {
  display: flex;
  gap: 0;
  white-space: nowrap;
}
.practice-nav a {
  display: inline-block;
  padding: 14px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  letter-spacing: 0.04em;
}
.practice-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* ============================================================
   Blog Cards
   ============================================================ */
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.blog-card { background:var(--card-bg); border:1px solid var(--border); border-radius:var(--radius-lg); padding:28px; display:flex; flex-direction:column; transition:all var(--transition); }
.blog-card:hover { border-color:rgba(194,168,123,0.3); transform:translateY(-3px); box-shadow:var(--shadow-gold); }
.blog-card-date { font-size:0.75rem; color:var(--gold); font-weight:600; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:12px; }
.blog-card-title { font-size:1.05rem; font-weight:700; color:#fff; margin-bottom:12px; line-height:1.35; }
.blog-card-excerpt { font-size:0.88rem; color:var(--muted); flex:1; margin-bottom:20px; line-height:1.65; }
.blog-card-link { color:var(--gold); font-size:0.85rem; font-weight:600; text-decoration:none; display:inline-flex; align-items:center; gap:6px; }
.blog-card-link:hover { color:var(--gold-light); }

/* Blog post article */
.blog-post-hero { padding: 6rem 0 3rem; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); border-bottom:1px solid var(--border); }
.blog-post-content { max-width: 780px; margin: 0 auto; padding: 3rem 1.5rem; }
.blog-post-content h2 { font-size:1.5rem; margin: 2rem 0 1rem; padding-left:16px; border-left:3px solid var(--gold); }
.blog-post-content h3 { font-size:1.2rem; margin: 1.5rem 0 0.75rem; color: var(--gold-light); }
.blog-post-content p { color:var(--muted); font-size:0.97rem; line-height:1.85; margin-bottom:1.25rem; }
.blog-post-content ul, .blog-post-content ol { padding-left:1.5rem; margin-bottom:1.25rem; }
.blog-post-content li { color:var(--muted); font-size:0.97rem; line-height:1.75; margin-bottom:0.5rem; }
.blog-post-meta { display:flex; gap:1.5rem; align-items:center; flex-wrap:wrap; margin-top:1.5rem; }
.blog-post-meta-item { font-size:0.78rem; color:var(--muted); display:flex; align-items:center; gap:6px; }
.blog-post-meta-item svg { width:13px; height:13px; stroke:var(--gold); fill:none; stroke-width:2; }
.blog-cta-box { background:var(--card-bg); border:1px solid var(--border); border-radius:var(--radius-lg); padding:32px; margin-top:40px; text-align:center; }
.blog-cta-box h3 { margin-bottom:12px; font-size:1.2rem; }
.blog-cta-box p { color:var(--muted); font-size:0.9rem; margin-bottom:20px; }

/* Full-width blog post contact CTA (Option B — below article) */
.blog-post-cta { background:var(--navy-2); border-top:1px solid var(--border); padding:4rem 0; margin-top:3rem; }
.blog-cta-inner { max-width:var(--max-width); margin:0 auto; padding:0 1.5rem; display:grid; grid-template-columns:1fr 1.2fr; gap:3.5rem; align-items:start; }
.blog-cta-text h3 { font-size:1.6rem; font-weight:600; color:var(--white); margin-bottom:0.75rem; }
.blog-cta-text p { color:var(--muted); font-size:0.95rem; line-height:1.7; margin-bottom:1.5rem; }
.blog-cta-phone { display:inline-block; font-size:1.35rem; font-weight:700; color:var(--gold); text-decoration:none; }
.blog-cta-phone:hover { color:var(--gold-light); }
.blog-cta-form { display:flex; flex-direction:column; gap:0.85rem; }
.blog-cta-name-row { display:grid; grid-template-columns:1fr 1fr; gap:0.75rem; }
.blog-cta-form label { display:block; font-size:0.72rem; font-weight:600; text-transform:uppercase; letter-spacing:0.08em; color:var(--muted); margin-bottom:4px; }
.blog-cta-form input, .blog-cta-form textarea { width:100%; padding:0.65rem 0.9rem; background:var(--navy); border:1px solid var(--border); border-radius:6px; color:var(--text); font-size:0.88rem; font-family:inherit; transition:border-color 0.2s; }
.blog-cta-form input:focus, .blog-cta-form textarea:focus { outline:none; border-color:rgba(194,168,123,0.5); }
.blog-cta-form textarea { resize:vertical; }
.blog-cta-form button { padding:0.8rem; background:var(--gold); color:var(--navy); font-weight:700; font-size:0.85rem; letter-spacing:0.08em; text-transform:uppercase; border:none; border-radius:6px; cursor:pointer; transition:opacity 0.2s; }
.blog-cta-form button:hover { opacity:0.85; }
@media (max-width:768px) {
  .blog-cta-inner { grid-template-columns:1fr; gap:2rem; }
  .blog-cta-name-row { grid-template-columns:1fr; }
}

/* ============================================================
   Support Calculator
   ============================================================ */
.calc-wrap { max-width:640px; margin:0 auto; background:var(--card-bg); border:1px solid var(--border); border-radius:var(--radius-lg); padding:40px; }
.calc-field { margin-bottom:20px; }
.calc-field label { display:block; font-size:0.8rem; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:0.08em; margin-bottom:8px; }
.calc-field input, .calc-field select { width:100%; padding:12px 16px; background:#0f1e33; border:1px solid var(--border); border-radius:8px; color:#fff; font-size:1rem; font-family:var(--font); outline:none; transition:border-color var(--transition); }
.calc-field input:focus, .calc-field select:focus { border-color:rgba(194,168,123,0.4); }
.calc-field select { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b8c8d8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 1rem center; background-color:#0f1e33; padding-right:2.5rem; appearance:none; cursor:pointer; }
.calc-field select option { background:var(--navy-2); color:#fff; }
.calc-result { background:#0a1525; border:1px solid var(--gold); border-radius:12px; padding:28px; margin-top:28px; display:none; }
.calc-result.visible { display:block; }
.calc-result-row { display:flex; justify-content:space-between; align-items:center; padding:12px 0; border-bottom:1px solid rgba(194,168,123,0.1); }
.calc-result-row:last-child { border-bottom:none; }
.calc-result-label { color:var(--muted); font-size:0.9rem; }
.calc-result-value { font-size:1.3rem; font-weight:700; color:var(--gold); }
.calc-disclaimer { font-size:0.75rem; color:var(--muted); margin-top:16px; line-height:1.6; padding:12px; background:rgba(0,0,0,0.2); border-radius:6px; }
.calc-btn { width:100%; padding:14px; font-size:1rem; justify-content:center; margin-top:8px; cursor:pointer; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.testimonial-card { background:var(--card-bg); border:1px solid var(--border); border-radius:var(--radius-lg); padding:32px; position:relative; transition:all var(--transition); }
.testimonial-card:hover { border-color:rgba(194,168,123,0.3); box-shadow:var(--shadow-gold); }
.testimonial-quote { font-size:3rem; color:var(--gold); opacity:0.3; line-height:1; margin-bottom:12px; font-family:Georgia,serif; }
.testimonial-text { color:var(--text); font-size:0.95rem; line-height:1.7; margin-bottom:20px; }
.testimonial-author { font-weight:700; color:#fff; font-size:0.9rem; }
.testimonial-disclaimer { font-size:0.75rem; color:var(--muted); margin-top:40px; padding-top:24px; border-top:1px solid var(--border); }

/* ============================================================
   Disclaimer / Privacy / Simple content pages
   ============================================================ */
.content-page-body { max-width:780px; margin:0 auto; padding:3rem 1.5rem; }
.content-page-body h2 { font-size:1.4rem; margin:2rem 0 0.75rem; padding-left:16px; border-left:3px solid var(--gold); }
.content-page-body p { color:var(--muted); font-size:0.97rem; line-height:1.85; margin-bottom:1.25rem; }
.content-page-body ul { padding-left:1.5rem; margin-bottom:1.25rem; }
.content-page-body ul li { color:var(--muted); font-size:0.97rem; line-height:1.75; margin-bottom:0.5rem; }

/* Sitemap */
.sitemap-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; margin-top:3rem; }
.sitemap-section h3 { font-size:0.82rem; font-weight:700; text-transform:uppercase; letter-spacing:0.12em; color:var(--gold); margin-bottom:1rem; border-bottom:1px solid rgba(194,168,123,0.15); padding-bottom:8px; }
.sitemap-section ul { list-style:none; padding:0; display:flex; flex-direction:column; gap:8px; }
.sitemap-section ul li a { font-size:0.88rem; color:var(--muted); text-decoration:none; transition:color var(--transition); }
.sitemap-section ul li a:hover { color:var(--gold); }
.sitemap-section ul li.sitemap-sub { padding-left:16px; }
.sitemap-section ul li.sitemap-sub a { font-size:0.82rem; }

/* About page */
.about-page-section { padding:4rem 0; border-bottom:1px solid var(--border); }
.about-page-section:last-child { border-bottom:none; }
.about-approach-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:2rem; }
.about-approach-card { background:var(--card-bg); border:1px solid var(--border); border-radius:var(--radius-lg); padding:28px; }
.about-approach-card h4 { font-size:1rem; font-weight:700; color:var(--white); margin-bottom:10px; }
.about-approach-card p { font-size:0.87rem; color:var(--muted); line-height:1.65; margin:0; }
.about-awards-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:2rem; }
.about-award-badge { background:rgba(194,168,123,0.07); border:1px solid rgba(194,168,123,0.2); border-radius:10px; padding:20px 16px; text-align:center; }
.about-award-badge p { font-size:0.8rem; font-weight:600; color:var(--gold); margin:0; }

/* ============================================================
   Responsive (additions)
   ============================================================ */
@media (max-width: 1100px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .navbar-right-stack,
  .navbar-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .pa-full-grid {
    grid-template-columns: 1fr;
  }

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

  .attorney-profile {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .service-area-full-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-area-full-inner.reverse {
    direction: ltr;
  }

  .hero-content {
    padding-bottom: 60px;
  }
}

@media (max-width: 640px) {
  .section,
  .section-alt {
    padding: 3.5rem 0;
  }

  .practice-grid,
  .attorney-grid,
  .why-grid,
  .service-areas-grid {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .chatbot-panel {
    width: calc(100vw - 2rem);
    right: 0;
  }

  .chatbot-container {
    bottom: 1.5rem;
    right: 1rem;
  }

  .strength-list {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .awards-badges-img {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .attorney-card {
    aspect-ratio: 4/5;
  }
}

@media(max-width:900px) {
  .blog-grid, .testimonial-grid { grid-template-columns:1fr 1fr; }
  .practice-section-grid { grid-template-columns:1fr; gap:24px; }
  .about-approach-grid { grid-template-columns:1fr; }
  .about-awards-grid { grid-template-columns:repeat(2,1fr); }
  .sitemap-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:640px) {
  .blog-grid, .testimonial-grid { grid-template-columns:1fr; }
  .about-awards-grid { grid-template-columns:1fr 1fr; }
  .sitemap-grid { grid-template-columns:1fr; }
  .navbar-topbar { display:none; }
  .navbar { top: 0; }
  .page-hero { padding-top: 90px; }
  .hero .hero-content { padding-top: 120px; }
}

/* ============================================================
   Blog post two-column layout
   ============================================================ */
.blog-post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; padding: 3rem 0 5rem; }
.blog-post-main { min-width: 0; }
.blog-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 2rem; }
.sidebar-widget { background: var(--navy-2); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; }
.sidebar-widget h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; letter-spacing: 0.02em; }
.sidebar-search { display: flex; flex-direction: column; gap: 0.6rem; }
.sidebar-search input { width: 100%; padding: 0.6rem 0.85rem; background: var(--navy); border: 1px solid var(--border); border-radius: 6px; color: var(--text); font-size: 0.85rem; }
.sidebar-search button { padding: 0.6rem; background: var(--navy-3); border: 1px solid var(--border); border-radius: 6px; color: var(--white); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: all 0.2s; }
.sidebar-search button:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.sidebar-categories a { display: block; padding: 0.5rem 0; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 0.88rem; text-decoration: none; transition: color 0.2s; }
.sidebar-categories a:last-child { border-bottom: none; }
.sidebar-categories a:hover { color: var(--gold); }
.sidebar-form { display: flex; flex-direction: column; gap: 0.75rem; }
.sidebar-form .name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.sidebar-form input, .sidebar-form textarea { width: 100%; padding: 0.6rem 0.75rem; background: var(--navy); border: 1px solid var(--border); border-radius: 6px; color: var(--text); font-size: 0.82rem; font-family: inherit; }
.sidebar-form textarea { min-height: 80px; resize: vertical; }
.sidebar-form label { font-size: 0.75rem; color: var(--muted); margin-bottom: 2px; display: block; }
.sidebar-form button { padding: 0.65rem; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 0.82rem; border: none; border-radius: 6px; cursor: pointer; letter-spacing: 0.05em; text-transform: uppercase; transition: opacity 0.2s; }
.sidebar-form button:hover { opacity: 0.85; }

/* Social share */
.post-meta { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.post-date-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.share-buttons { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.9rem; border: 1px solid var(--border); border-radius: 6px; font-size: 0.8rem; font-weight: 600; color: var(--text); text-decoration: none; background: var(--navy-2); transition: all 0.2s; }
.share-btn:hover { border-color: var(--gold); color: var(--gold); }
.share-btn svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }

/* Homepage blog preview section */
.homepage-blog-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
.homepage-blog-grid .blog-card:first-child { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.homepage-blog-grid .blog-card:first-child .blog-card-title { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }

@media (max-width: 900px) {
  .blog-post-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .homepage-blog-grid { grid-template-columns: 1fr 1fr; }
  .homepage-blog-grid .blog-card:first-child { grid-column: span 2; grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .homepage-blog-grid { grid-template-columns: 1fr; }
  .homepage-blog-grid .blog-card:first-child { grid-column: span 1; }
}
