:root {
  --navy: #142544;
  --navy-deep: #0b1526;
  --gold: #b3894a;
  --gold-light: #d9b876;
  --cream: #f8f4ec;
  --ink: #1e2330;
  --slate: #5c6474;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, .navbar-brand {
  font-family: var(--font-head);
}

a { text-decoration: none; }

.section-pad { padding: 6rem 0; }

.bg-cream { background: var(--cream); }
.bg-navy { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }
.bg-white { background: #ffffff; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.eyebrow-light { color: var(--gold-light); }

.section-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
  font-size: 2.2rem;
}

.lead-text {
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ===== Navbar ===== */
#mainNav {
  background: transparent;
  padding: 1.1rem 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
#mainNav.scrolled {
  background: var(--navy);
  padding: 0.6rem 0;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}
.navbar-brand {
  color: #fff !important;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}
.navbar-brand span { color: var(--gold-light); }
.navbar-nav .nav-link {
  color: #eef1f6 !important;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 0.55rem;
  padding: 0.4rem 0 !important;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold-light);
  transition: width 0.25s ease;
}
.navbar-nav .nav-link:hover::after { width: 100%; }

.btn-gold-outline {
  border: 1.5px solid var(--gold-light);
  color: #fff !important;
  border-radius: 30px;
  padding: 0.4rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s ease;
}
.btn-gold-outline:hover { background: var(--gold-light); color: var(--navy-deep) !important; }

.btn-gold {
  background: var(--gold);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  transition: background 0.25s ease, transform 0.2s ease;
}
.btn-gold:hover { background: var(--gold-light); color: var(--navy-deep); transform: translateY(-2px); }

.btn-outline-light {
  border-radius: 30px;
  font-weight: 600;
  border-width: 1.5px;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('img/hero.webp') center 30%/cover no-repeat;
}
.hero > .container {
  min-width: 0;
  width: 100%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(8,14,26,0.55) 0%, rgba(8,14,26,0.30) 45%, rgba(8,14,26,0.65) 100%);
}
.hero-content {
  max-width: 760px;
  width: 100%;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 12px;
  overflow-wrap: break-word;
}
.hero-eyebrow {
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}
.hero-title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin: 0.4rem 0 0.6rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}
.hero-subtitle {
  color: #f3ede0;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.4rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}
.hero-tagline {
  color: #dfe4ee;
  font-size: 1rem;
  margin-top: 0.5rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}

/* ===== About ===== */
.attorney-photo {
  border-radius: 10px;
  max-width: 320px;
  box-shadow: 0 18px 40px rgba(20,37,68,0.22);
  border: 6px solid #fff;
}
.credential-box {
  background: #fff;
  border: 1px solid rgba(20,37,68,0.08);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
  height: 100%;
}
.credential-box i { color: var(--gold); font-size: 1.3rem; }

/* ===== Practice Areas ===== */
.practice-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(217,184,118,0.25);
  border-radius: 14px;
  padding: 2.2rem 1.9rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.practice-card:hover { transform: translateY(-6px); border-color: var(--gold-light); }
.practice-card i {
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
  display: block;
}
.practice-card h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.practice-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #cfd6e4;
  font-size: 0.94rem;
  line-height: 1.9;
}
.practice-card ul li::before {
  content: "\2014\00a0";
  color: var(--gold-light);
}

/* ===== Affiliations ===== */
.affiliation-box {
  background: #fff;
  border-radius: 12px;
  padding: 1.8rem 1rem;
  height: 100%;
  box-shadow: 0 8px 24px rgba(20,37,68,0.08);
}
.affiliation-box i { font-size: 1.8rem; color: var(--gold); margin-bottom: 0.8rem; display: block; }
.affiliation-box p { font-weight: 600; color: var(--navy); font-size: 0.9rem; margin: 0; }

/* ===== FAQ / Accordion ===== */
.accordion-item {
  border: none;
  border-bottom: 1px solid rgba(20,37,68,0.12);
  background: transparent;
}
.accordion-button {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  padding: 1.25rem 0.25rem;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) { color: var(--gold); background: transparent; }
.accordion-button::after { filter: sepia(1) saturate(2) hue-rotate(0deg); }
.accordion-body { color: var(--slate); padding: 0 0.25rem 1.5rem; line-height: 1.75; }

/* ===== Location & Contact ===== */
.contact-card h3 {
  font-size: 1.05rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.contact-card p { color: #dbe1ec; margin-bottom: 0.2rem; }
.contact-card a { color: #fff; font-weight: 600; }
.contact-card a:hover { color: var(--gold-light); }
.small-note { font-size: 0.85rem; color: #9aa6bb !important; }

.county-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.pill {
  background: rgba(217,184,118,0.14);
  border: 1px solid rgba(217,184,118,0.4);
  color: var(--gold-light);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-deep);
  color: #b9c1d1;
  padding: 4rem 0 1.5rem;
}
.footer-logo {
  max-width: 220px;
  height: auto;
  margin-bottom: 0.8rem;
}
.footer-tagline { font-size: 0.9rem; color: #8f9ab0; }
.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: #b9c1d1; }
.footer-links a:hover { color: var(--gold-light); }
.footer p a { color: #b9c1d1; }
.footer p a:hover { color: var(--gold-light); }
.footer hr { border-color: rgba(255,255,255,0.1); margin: 2.5rem 0 1.25rem; }
.powered-link { color: var(--gold-light) !important; font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  #mainNav { background: var(--navy); }
  .navbar-collapse { background: var(--navy); border-radius: 10px; padding: 1rem; margin-top: 0.75rem; }
  .section-pad { padding: 4rem 0; }
  .section-title { font-size: 1.8rem; }
}

@media (max-width: 575.98px) {
  .hero-content { padding: 1.75rem !important; }
  .hero-title { font-size: 2.2rem; }
  .county-pills { justify-content: center; }
}
