/* Matthew Swanson Law — style.css
   Palette: deep burgundy (from the firm's own monogram) + warm brass + ivory
   Type: Cormorant Garamond (headings) + Nunito Sans (body) */

:root {
  --maroon: #4d0d13;
  --maroon-2: #61080f;
  --maroon-light: #8a2632;
  --brass: #b08a4e;
  --brass-light: #d3b378;
  --cream: #f8f2e9;
  --cream-2: #efe4d2;
  --ink: #24141a;
  --muted: #6c5a5c;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  padding-top: 84px;
}

h1, h2, h3, h4, .display-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--maroon);
  font-weight: 600;
}

a { text-decoration: none; }

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

.eyebrow {
  font-family: 'Nunito Sans', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brass);
}

.section-title {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--brass);
  margin: 1.1rem 0 1.6rem;
  border-radius: 2px;
}
.divider-center { margin-left: auto; margin-right: auto; }

.lede {
  color: var(--muted);
  font-size: 1.08rem;
}

/* ---------- Navbar ---------- */
.navbar {
  background: rgba(77, 13, 19, 0.97);
  padding: 0.65rem 0;
  backdrop-filter: blur(6px);
}
.navbar-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--cream) !important;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.navbar-brand img { height: 40px; width: 40px; border-radius: 6px; }
.navbar-brand .brand-sub {
  display: block;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-light);
  font-weight: 600;
}
.navbar .nav-link {
  color: var(--cream) !important;
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0 0.35rem;
  padding: 0.5rem 0.7rem !important;
}
.navbar .nav-link:hover { color: var(--brass-light) !important; }
.btn-brass {
  background: var(--brass);
  color: var(--ink);
  font-weight: 700;
  border: none;
  padding: 0.55rem 1.3rem;
  border-radius: 4px;
  transition: background 0.2s ease;
}
.btn-brass:hover { background: var(--brass-light); color: var(--ink); }
.btn-outline-cream {
  border: 1.5px solid var(--cream);
  color: var(--cream);
  font-weight: 700;
  padding: 0.55rem 1.3rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.btn-outline-cream:hover { background: var(--cream); color: var(--maroon); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: url('img/hero.webp') center/cover no-repeat;
}
.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(30,4,7,0.35) 0%, rgba(30,4,7,0.15) 45%, rgba(30,4,7,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 2.5rem 2rem;
  margin: 0 auto;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 12px;
}
.hero-eyebrow {
  color: var(--brass-light);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  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 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.1;
  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: 1.15rem;
  max-width: 620px;
  margin: 1.1rem auto 1.8rem;
  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-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--maroon);
  color: var(--cream);
  padding: 2.6rem 0;
}
.trust-item { text-align: center; padding: 0.5rem; }
.trust-item i { font-size: 1.7rem; color: var(--brass-light); margin-bottom: 0.5rem; display: block; }
.trust-item .num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}
.trust-item .label {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--cream-2);
}

/* ---------- About ---------- */
.about-highlight {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-left: 4px solid var(--brass);
  border-radius: 8px;
  padding: 1.6rem 1.8rem;
}
.about-highlight ul { margin-bottom: 0; padding-left: 1.2rem; }
.about-highlight li { margin-bottom: 0.4rem; }

/* ---------- Attorney ---------- */
.attorney-section { background: var(--white); }
.attorney-photo {
  width: 100%;
  max-width: 340px;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(77,13,19,0.18);
}
.attorney-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--maroon);
  border-left: 3px solid var(--brass);
  padding-left: 1.1rem;
  margin: 1.4rem 0;
}
.credential-list { list-style: none; padding: 0; margin: 0; }
.credential-list li {
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--cream-2);
  font-size: 0.95rem;
}
.credential-list li:last-child { border-bottom: none; }
.credential-list strong { color: var(--maroon); }

/* ---------- Practice Areas ---------- */
.practice-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem 1.8rem;
  height: 100%;
  border: 1px solid var(--cream-2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.practice-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(77,13,19,0.12); }
.practice-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--brass-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.practice-card h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.practice-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Alternatives ---------- */
.alt-section { background: var(--cream-2); }
.alt-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.7rem;
  height: 100%;
}
.alt-card i { color: var(--brass); font-size: 1.4rem; margin-bottom: 0.7rem; display: block; }
.alt-card h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.alt-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Resources ---------- */
.resource-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.8rem;
  border: 1px solid var(--cream-2);
}
.resource-card h4 {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.resource-card h4 i { color: var(--brass); }
.doc-list { columns: 2; column-gap: 2rem; padding-left: 1.2rem; font-size: 0.92rem; }
.doc-list li { margin-bottom: 0.45rem; break-inside: avoid; }
.court-block { font-size: 0.92rem; margin-bottom: 1rem; }
.court-block strong { color: var(--maroon); }

/* ---------- Blog ---------- */
.blog-row {
  border-bottom: 1px solid var(--cream-2);
  padding: 1.1rem 0;
}
.blog-row:last-child { border-bottom: none; }
.blog-row .blog-date {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 700;
}
.blog-row h4 { font-size: 1.15rem; margin: 0.2rem 0 0.35rem; }
.blog-row p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Testimonials ---------- */
.testimonial-section { background: var(--maroon); color: var(--cream); }
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 1.8rem;
  height: 100%;
}
.testimonial-card .stars { color: var(--brass-light); margin-bottom: 0.8rem; letter-spacing: 2px; }
.testimonial-card p.quote { font-style: italic; color: var(--cream-2); font-size: 0.98rem; }
.testimonial-card .name { font-weight: 700; color: #fff; margin-top: 0.8rem; }
.testimonial-card .when { font-size: 0.8rem; color: var(--brass-light); }
.testimonial-card a { color: var(--brass-light); font-size: 0.85rem; }

/* ---------- Contact ---------- */
.contact-section { background: var(--white); }
.contact-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 2.2rem;
  height: 100%;
}
.contact-row { display: flex; gap: 0.9rem; margin-bottom: 1.3rem; align-items: flex-start; }
.contact-row i { color: var(--brass); font-size: 1.25rem; margin-top: 0.2rem; }
.contact-row strong { display: block; color: var(--maroon); }
.map-frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--cream-2); }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: #200609;
  color: var(--cream-2);
  padding: 3.5rem 0 1.5rem;
}
.footer-logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--cream);
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  margin-bottom: 1rem;
}
.footer-logo-chip img { height: 34px; width: 34px; border-radius: 5px; }
.footer-logo-chip span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  color: var(--maroon);
  font-size: 1.05rem;
}
footer.site-footer h5 {
  color: var(--brass-light);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
}
footer.site-footer a { color: var(--cream-2); }
footer.site-footer a:hover { color: var(--brass-light); }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 0.5rem; font-size: 0.92rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(248,242,233,0.25);
  margin-right: 0.6rem;
}
.footer-social a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.powered-by {
  border-top: 1px solid rgba(248,242,233,0.14);
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  text-align: center;
  font-size: 0.88rem;
}
.powered-by a { color: var(--brass-light); font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .navbar-collapse { background: var(--maroon); padding: 1rem; border-radius: 8px; margin-top: 0.5rem; }
  .doc-list { columns: 1; }
}
@media (max-width: 767px) {
  .section-pad { padding: 4rem 0; }
  .hero-title { font-size: 2.5rem; }
}
