:root {
  --navy: #0e1a2b;
  --navy-2: #16283f;
  --navy-3: #1f3450;
  --brass: #c6a15b;
  --brass-dark: #a3813d;
  --cream: #f8f6f1;
  --ink: #1b2431;
  --slate: #5c6b7e;
  --border-soft: rgba(14, 26, 43, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--cream);
  margin: 0;
}

h1, h2, h3, h4, .section-title, .hero-title {
  font-family: 'Playfair Display', Georgia, serif;
}

a { text-decoration: none; }

/* ---------- Buttons ---------- */
.btn-brass {
  background: var(--brass);
  border: 1px solid var(--brass);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: .02em;
}
.btn-brass:hover {
  background: var(--brass-dark);
  border-color: var(--brass-dark);
  color: #fff;
}
.btn-outline-light:hover { color: var(--navy); }

/* ---------- Navbar ---------- */
#mainNav {
  background: var(--navy);
  padding: .65rem 0;
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #fff !important;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.15;
}
.brand-seal { border-radius: 50%; flex-shrink: 0; }
.navbar-nav .nav-link {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  font-size: .93rem;
  padding: .5rem .9rem !important;
  white-space: nowrap;
}
.navbar-nav .nav-link:hover { color: var(--brass); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center 32%/cover no-repeat;
  clip-path: ellipse(140% 100% at 50% 0%);
  margin-top: -1px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(14,26,43,0.55) 0%, rgba(14,26,43,0.12) 100%),
    linear-gradient(to bottom, rgba(14,26,43,0.55) 0%, rgba(14,26,43,0.25) 45%, rgba(14,26,43,0.65) 100%);
}
.hero-wrap { position: relative; z-index: 2; display: flex; justify-content: center; }
.hero-content {
  background: rgba(14,26,43,0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  padding: 2.75rem 2.5rem;
  border-radius: 14px;
  text-align: center;
  max-width: 780px;
}
.hero-eyebrow {
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: 1rem;
  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.1rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1.1rem;
  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: #f0f2f5;
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 1.75rem;
  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-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Section basics ---------- */
section { padding: 5.5rem 0; }
.section-eyebrow {
  color: var(--brass-dark);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  font-size: .8rem;
  margin-bottom: .6rem;
}
.section-eyebrow.light { color: var(--brass); }
.section-title {
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 1.5rem;
  color: var(--navy);
}
.section-title.light { color: #fff; }

/* ---------- About ---------- */
.section-about { background: var(--cream); }
.headshot-img {
  max-width: 260px;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(14,26,43,.22);
  border: 4px solid #fff;
}
.lead-copy { font-size: 1.15rem; color: var(--ink); font-weight: 500; }
.section-about p { color: var(--slate); line-height: 1.75; }
.badge-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  color: var(--navy);
  font-weight: 600;
  font-size: .85rem;
  padding: .55rem 1rem;
  border-radius: 40px;
}
.chip i { color: var(--brass-dark); }

/* ---------- Practice Areas ---------- */
.section-practice { background: #fff; }
.practice-card {
  background: var(--cream);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 2rem 1.6rem;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.practice-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(14,26,43,.1); }
.practice-card i { font-size: 1.8rem; color: var(--brass-dark); margin-bottom: .9rem; display: block; }
.practice-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: .6rem; }
.practice-card p { font-size: .92rem; color: var(--slate); line-height: 1.6; margin: 0; }

/* ---------- Results ---------- */
.section-results { background: var(--navy); }
.section-results .section-title { color: #fff; }
.results-intro { color: rgba(255,255,255,.7); max-width: 640px; margin: 0 auto 1rem; }
.result-card {
  background: var(--navy-2);
  border: 1px solid rgba(198,161,91,.18);
  border-radius: 12px;
  padding: 1.6rem 1.5rem;
  height: 100%;
}
.result-county {
  display: inline-block;
  color: var(--brass);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .5rem;
}
.result-charge { color: #fff; font-weight: 600; font-size: 1.02rem; margin-bottom: .7rem; }
.result-outcome { color: #cfe8d6; font-size: .9rem; margin: 0; display: flex; align-items: center; gap: .5rem; }
.result-outcome i { color: #6fcf97; }

/* ---------- For Attorneys ---------- */
.section-attorneys { background: var(--cream); }
.attorneys-panel {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-left: 5px solid var(--brass);
  border-radius: 14px;
  padding: 3rem;
}
.attorneys-sub { font-weight: 600; color: var(--brass-dark); font-size: 1.05rem; margin-bottom: 1rem; }
.section-attorneys p { color: var(--slate); line-height: 1.75; }
.attorneys-stat {
  background: var(--navy);
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
  margin-bottom: 1.25rem;
}
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 800; color: var(--brass); line-height: 1; }
.stat-label { color: rgba(255,255,255,.8); font-size: .88rem; margin: .5rem 0 0; }
.attorneys-pricing {
  background: var(--cream);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 1.5rem;
}
.attorneys-pricing p { color: var(--ink); margin-bottom: .5rem; display: flex; align-items: center; gap: .5rem; }
.attorneys-pricing i { color: var(--brass-dark); }
.small-note { color: var(--slate) !important; font-size: .82rem; font-style: italic; }

/* ---------- Service Area ---------- */
.section-service-area {
  position: relative;
  background: url('img/boston.webp') center/cover no-repeat;
}
.service-area-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,26,43,.88) 0%, rgba(22,40,63,.82) 100%);
}
.section-service-area .container { position: relative; z-index: 2; }
.service-area-sub { color: rgba(255,255,255,.75); max-width: 600px; margin: 0 auto 2.5rem; }
.county-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .8rem;
  max-width: 980px;
  margin: 0 auto;
}
.county-pill {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(198,161,91,.35);
  color: #fff;
  text-align: center;
  padding: .8rem .5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .88rem;
}

/* ---------- Contact ---------- */
.section-contact { background: #fff; }
.contact-card {
  background: var(--cream);
  border-radius: 14px;
  padding: 2.5rem;
  height: 100%;
}
.contact-card h3 { font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.contact-card p { color: var(--slate); }
.contact-line {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--ink);
  font-weight: 600;
  padding: .85rem 0;
  border-top: 1px solid var(--border-soft);
}
.contact-line:first-of-type { border-top: none; }
.contact-line i { color: var(--brass-dark); font-size: 1.1rem; }
.map-frame {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(14,26,43,.15);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 4rem 0 2rem; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: .75rem;
}
.footer-copy { font-size: .82rem; color: rgba(255,255,255,.5); }
.site-footer h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .65rem; }
.footer-links a { color: rgba(255,255,255,.75); font-size: .92rem; display: inline-flex; align-items: center; gap: .5rem; }
.footer-links a:hover { color: var(--brass); }
.footer-links i { color: var(--brass); }
.site-footer hr { border-color: rgba(255,255,255,.12); margin: 2.5rem 0 1.5rem; }
.powered-by { text-align: center; font-size: .85rem; color: rgba(255,255,255,.55); }
.powered-by a { color: var(--brass); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link { padding: .6rem 0 !important; }
  .navbar-nav { text-align: center; padding-top: .75rem; }
  section { padding: 4rem 0; }
  .county-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 575.98px) {
  .hero { height: 88vh; }
  .hero-content { padding: 2rem 1.4rem; }
  .county-grid { grid-template-columns: repeat(2, 1fr); }
  .attorneys-panel { padding: 2rem 1.5rem; }
}
