/* ===================================================================
   Yancy L. Garnett, Attorney at Law — Wicked Fast Web redesign
   =================================================================== */

:root {
  --navy: #12233f;
  --navy-dark: #0a1526;
  --navy-mid: #1b3357;
  --burgundy: #7c1a22;
  --burgundy-dark: #5a1219;
  --bronze: #b08d57;
  --ivory: #f7f4ec;
  --cream: #efe8d8;
  --ink: #1c1e22;
  --muted: #5b6472;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
}

h1, h2, h3, h4, .display-serif {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
}

a { color: inherit; }

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--cream);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-lede {
  color: var(--muted);
  max-width: 720px;
  font-size: 1.05rem;
}

/* ---------------- Navbar ---------------- */

.navbar-wfw {
  background: var(--navy);
  padding: 0.65rem 0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.navbar-wfw .navbar-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: #fff !important;
}

.navbar-wfw .navbar-brand .brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: 0.01em;
}

.navbar-wfw .navbar-brand .brand-sub {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
}

.navbar-wfw .nav-link {
  color: rgba(255,255,255,0.86) !important;
  font-weight: 500;
  font-size: 0.92rem;
  margin: 0 0.55rem;
  padding: 0.4rem 0.1rem !important;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.navbar-wfw .nav-link:hover,
.navbar-wfw .nav-link:focus {
  color: #fff !important;
  border-color: var(--bronze);
}

.navbar-wfw .btn-nav-cta {
  background: var(--burgundy);
  color: #fff !important;
  border-radius: 6px;
  padding: 0.5rem 1.1rem !important;
  font-weight: 600;
  font-size: 0.88rem;
  margin-left: 0.5rem;
  border: 1px solid var(--burgundy);
}

.navbar-wfw .btn-nav-cta:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
}

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

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

/* ---------------- Hero (split panel) ---------------- */

.hero {
  display: flex;
  flex-wrap: wrap;
  min-height: 92vh;
}

.hero-text-panel {
  flex: 1 1 54%;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  display: flex;
  align-items: center;
  padding: 6rem 3rem 4rem;
  position: relative;
}

.hero-text-panel::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--bronze);
}

.hero-content {
  max-width: 560px;
  margin-left: auto;
  color: #fff;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1.1rem;
  display: block;
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--cream);
  border-left: 3px solid var(--bronze);
  padding-left: 1rem;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.86);
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-cta-primary {
  background: var(--burgundy);
  border: 1px solid var(--burgundy);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.btn-cta-primary:hover {
  background: var(--burgundy-dark);
  color: #fff;
}

.btn-cta-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.55);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-cta-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}

.hero-photo-panel {
  flex: 1 1 46%;
  min-height: 360px;
  position: relative;
  background: url('img/hero.webp') center/cover no-repeat;
}

.hero-photo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(18,35,63,0.78) 0%, rgba(10,21,38,0.55) 60%, rgba(122,26,34,0.35) 100%);
  mix-blend-mode: multiply;
}

.hero-photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(18,35,63,0) 40%, rgba(10,15,26,0.35) 100%);
}

@media (max-width: 991.98px) {
  .hero { min-height: auto; }
  .hero-text-panel { padding: 4rem 1.75rem 3rem; }
  .hero-content { margin-left: 0; }
  .hero-photo-panel { min-height: 280px; order: -1; }
}

/* ---------------- Stat strip ---------------- */

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

@media (min-width: 768px) {
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
  background: #fff;
  border: 1px solid rgba(18,35,63,0.08);
  border-radius: 10px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(18,35,63,0.06);
}

.stat-card i {
  font-size: 1.6rem;
  color: var(--burgundy);
  margin-bottom: 0.6rem;
  display: inline-block;
}

.stat-card .stat-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

/* ---------------- About ---------------- */

.about-photo {
  border-radius: 10px;
  width: 100%;
  height: auto;
  box-shadow: 0 18px 40px rgba(18,35,63,0.18);
}

.about-list-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.6rem;
  margin-top: 1.5rem;
}

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

.about-list li {
  padding: 0.3rem 0;
  border-bottom: 1px dashed rgba(18,35,63,0.12);
  font-size: 0.94rem;
  color: var(--muted);
}

.about-list li:last-child { border-bottom: none; }

/* ---------------- Practice Areas ---------------- */

.practice-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  height: 100%;
  border: 1px solid rgba(18,35,63,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(18,35,63,0.14);
}

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

.practice-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.6rem;
}

.practice-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ---------------- Spotlight (Personal Injury / Workers Comp) ---------------- */

.spotlight-card {
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--bronze);
}

.spotlight-card h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.spotlight-card p {
  color: rgba(255,255,255,0.82);
}

.spotlight-card ul {
  padding-left: 1.2rem;
  margin-bottom: 1.25rem;
}

.spotlight-card ul li {
  color: rgba(255,255,255,0.9);
  padding: 0.15rem 0;
}

.spotlight-note {
  font-style: italic;
  color: var(--bronze) !important;
  font-size: 0.92rem;
}

/* ---------------- Gallery ---------------- */

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.6rem 0.85rem;
  background: linear-gradient(to top, rgba(10,15,26,0.82), rgba(10,15,26,0));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
}

/* ---------------- FAQ ---------------- */

.accordion-item {
  border: 1px solid rgba(18,35,63,0.1);
  margin-bottom: 0.6rem;
  border-radius: 8px !important;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-sans);
}

.accordion-button:not(.collapsed) {
  background: var(--cream);
  color: var(--burgundy);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 2px rgba(176,141,87,0.35);
}

.accordion-body {
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------------- Location & Contact ---------------- */

.location-map {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(18,35,63,0.1);
  box-shadow: 0 12px 30px rgba(18,35,63,0.1);
}

.contact-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid rgba(18,35,63,0.08);
  height: 100%;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.contact-line i {
  color: var(--burgundy);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.contact-line a { text-decoration: none; }
.contact-line a:hover { color: var(--burgundy); }

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 2rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 1.1rem;
}

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

.site-footer a:hover { color: var(--bronze); }

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  margin-right: 0.5rem;
  font-size: 1.05rem;
}

.footer-social a:hover {
  background: var(--bronze);
  color: var(--navy-dark);
}

.footer-powered {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}

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

.footer-fine-print {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.75rem;
  margin-top: 2.25rem;
}
