:root {
  --navy: #14212d;
  --navy-2: #1c2f40;
  --steel: #65879e;
  --steel-light: #a9c1d1;
  --cream: #f8f5ef;
  --ink: #212a33;
  --brass: #b3855a;
  --brass-dark: #93693f;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--steel); }
a:hover { color: var(--brass); }

section[id] { scroll-margin-top: 76px; }

/* ===== NAVBAR ===== */
.wfw-navbar {
  background: var(--navy);
  padding: 0.7rem 0;
  box-shadow: 0 2px 14px rgba(0,0,0,0.18);
}

.navbar-brand {
  min-width: 0;
  flex-shrink: 0;
}

.navbar-brand-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(0.98rem, 4.2vw, 1.25rem);
  letter-spacing: 0.02em;
  color: #fff !important;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .navbar-brand-text { font-size: 1.15rem; }
}

.navbar-logo {
  filter: brightness(0) invert(1);
}

.wfw-navbar .nav-link {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  padding: 0.5rem 0.6rem;
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .wfw-navbar .nav-link { padding: 0.5rem 0.85rem; font-size: 0.92rem; }
}

.wfw-navbar .navbar-nav {
  flex-wrap: nowrap;
}

.wfw-navbar .nav-link:hover {
  color: #fff;
}

.btn-brass {
  background: var(--brass);
  border-color: var(--brass);
  color: #fff;
  font-weight: 600;
}

.btn-brass:hover {
  background: var(--brass-dark);
  border-color: var(--brass-dark);
  color: #fff;
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.4);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: url('img/hero.webp') center 30% / cover no-repeat;
  position: relative;
  padding-top: 90px;
  padding-bottom: 60px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(20,33,45,0.55) 0%, rgba(20,33,45,0.15) 100%),
    linear-gradient(to bottom, rgba(20,33,45,0.55) 0%, rgba(101,135,158,0.35) 45%, rgba(20,33,45,0.72) 100%);
}

.hero-content {
  max-width: 720px;
  background: rgba(20,33,45,0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
}

.hero-eyebrow {
  color: var(--steel-light);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  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.4rem, 6vw, 4rem);
  margin-bottom: 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: #fff;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
  margin-bottom: 0.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-tagline {
  color: var(--steel-light);
  font-style: italic;
  font-size: 1.05rem;
  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);
}

/* ===== SHARED SECTION STYLES ===== */
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); }
.py-lg-6 { padding-top: 5rem; padding-bottom: 5rem; }

.section-eyebrow {
  color: var(--brass-dark);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.section-eyebrow-light {
  color: var(--steel-light);
}

.section-heading h2 {
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.section-navy .section-heading h2 { color: #fff; }

.text-light-50 { color: rgba(255,255,255,0.75) !important; }

.about-lead {
  max-width: 780px;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ink);
  text-align: center;
}

.contact-lead {
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== WHY CHOOSE US ===== */
.why-card {
  background: #fff;
  border: 1px solid rgba(20,33,45,0.08);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(20,33,45,0.1);
}

.why-card i {
  font-size: 1.8rem;
  color: var(--brass);
  margin-bottom: 1rem;
  display: block;
}

.why-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.95rem;
  color: #4a5560;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ===== PRACTICE AREAS ===== */
.practice-card {
  background: var(--cream);
  border-left: 3px solid var(--steel);
  border-radius: 6px;
  padding: 2rem 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(20,33,45,0.08);
  border-color: var(--brass);
}

.practice-card i {
  font-size: 1.7rem;
  color: var(--steel);
  margin-bottom: 1rem;
  display: block;
}

.practice-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.practice-tag {
  font-style: italic;
  color: var(--brass-dark);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.practice-card p:not(.practice-tag) {
  font-size: 0.95rem;
  color: #4a5560;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ===== TEAM ===== */
.team-photo {
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.attorney-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 2rem;
}

.attorney-card h3 {
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}

.attorney-title {
  color: var(--brass);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.attorney-card > p {
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  font-size: 0.96rem;
}

.attorney-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.1rem;
}

.attorney-list li {
  color: var(--steel-light);
  font-size: 0.88rem;
  line-height: 1.6;
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.attorney-list li::before {
  content: "\2022";
  color: var(--brass);
  position: absolute;
  left: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonial-carousel {
  text-align: center;
  padding-bottom: 2.5rem;
}

.quote-icon {
  font-size: 2rem;
  color: var(--brass);
  opacity: 0.6;
  margin-bottom: 1rem;
  display: block;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
  color: var(--navy);
  font-style: italic;
  max-width: 680px;
  margin: 0 auto 1.25rem;
  min-height: 4rem;
}

.testimonial-source {
  color: var(--brass-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.testimonial-indicators {
  position: static;
  margin-top: 1.5rem;
}

.testimonial-indicators button {
  background-color: var(--steel) !important;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0.4;
}

.testimonial-indicators button.active {
  opacity: 1;
  background-color: var(--brass) !important;
}

.carousel-control-prev, .carousel-control-next {
  width: 5%;
  filter: invert(0.6) grayscale(1);
  opacity: 0.5;
}

/* ===== CONTACT ===== */
.contact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 2rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.contact-list li i {
  font-size: 1.3rem;
  color: var(--brass);
  margin-top: 0.2rem;
}

.contact-list li strong {
  color: #fff;
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact-list li p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-list li a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
}

.contact-list li a:hover {
  color: var(--brass);
}

.map-wrap {
  border-radius: 10px;
  overflow: hidden;
  min-height: 340px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

/* ===== FOOTER ===== */
.site-footer {
  background: #0f1a24;
}

.footer-logo-chip {
  display: inline-block;
  background: var(--cream);
  border-radius: 8px;
  padding: 0.6rem 1rem;
}

.footer-tagline {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 320px;
}

.site-footer h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brass);
}

.footer-social {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.footer-social a {
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
}

.footer-social a:hover {
  color: var(--brass);
}

.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 2rem 0 1.5rem;
}

.footer-copy, .footer-powered, .footer-photo-credit {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}

.footer-photo-credit a {
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
}

.footer-powered a {
  color: var(--steel-light);
  font-weight: 600;
  text-decoration: none;
}

.footer-powered a:hover {
  color: var(--brass);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .wfw-navbar { padding: 0.6rem 0; }
  .navbar-collapse {
    background: var(--navy);
    margin-top: 0.75rem;
    padding: 1rem 0.5rem;
    border-radius: 8px;
  }
  .py-lg-6 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}

@media (max-width: 575.98px) {
  .hero { padding-top: 100px; }
  .hero-content { padding: 1.75rem 1.1rem; }
  .contact-card, .attorney-card { padding: 1.5rem; }
  .navbar-logo { height: 28px !important; }
  .navbar-brand { gap: 0.4rem !important; }
}
