/* Badalyan Law Firm, APC — site stylesheet (dark/bold theme) */

:root {
  --bg: #0d1017;
  --panel: #171b23;
  --panel-2: #1f242e;
  --gold: #b3813d;
  --gold-light: #d3aa6a;
  --ink: #f4f2ee;
  --muted: #99a1ad;
  --muted-2: #71798a;
  --line: rgba(244, 242, 238, 0.09);
  --radius: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--muted);
  background: var(--bg);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--ink);
  font-optical-sizing: auto;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; font-style: normal; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1em; color: var(--muted); }

a { color: var(--gold-light); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--gold);
  color: #14100a;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; top: 0; }

/* Top utility bar */
.utility-bar {
  background: #000;
  color: var(--muted);
  font-size: .78rem;
  border-bottom: 1px solid var(--line);
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.utility-bar a { color: var(--gold-light); text-decoration: none; }
.utility-bar a:hover { text-decoration: underline; }

/* Header / nav */
header.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
}
.brand .logo-badge {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 2px;
}
.brand .logo-badge svg { width: 46px; height: 46px; }
.brand .name-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.2; }
.brand .name-line1 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: .92rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.brand .name-line2 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: .62rem;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-top: 1px;
}
.brand .tagline {
  font-size: .72rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
}
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  align-items: center;
}
nav.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: .9rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover, nav.main-nav a[aria-current="page"] {
  color: var(--ink);
}
.nav-cta {
  background: var(--gold);
  color: #14100a !important;
  padding: 11px 22px;
  border-radius: 8px;
  border-bottom: none !important;
  font-weight: 700;
}
.nav-cta:hover { background: var(--gold-light); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 1.1rem;
}

@media (max-width: 860px) {
  nav.main-nav { display: none; width: 100%; }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--line); align-items: flex-start; }
  nav.main-nav li { border-bottom: 1px solid var(--line); width: 100%; }
  nav.main-nav a { display: block; padding: 14px 4px; }
  .nav-wrap { flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .nav-cta { display: inline-block; margin: 14px 4px; }
}

/* Hero */
.hero {
  background:
    linear-gradient(100deg, rgba(13, 16, 23, 0.94) 20%, rgba(13, 16, 23, 0.75) 55%, rgba(13, 16, 23, 0.55) 100%),
    url('images/hero-main.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  padding: 90px 0 80px;
}
.hero .container { display: block; max-width: 640px; margin: 0 0 0 25%; padding-left: 24px; }
.hero h1 { color: #fff; }
.hero p.lead { color: var(--muted); font-size: 1.1rem; max-width: 46ch; }
.hero .badges { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.hero .badges span {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .78rem;
}
.hero-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold);
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.hero-photo-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(0deg, rgba(13,16,23,0.92) 20%, transparent 100%);
  display: flex;
  flex-direction: column;
}
.hero-photo-name { color: #fff; font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 1.05rem; }
.hero-photo-role { color: var(--gold-light); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }
.hero-art { display: flex; align-items: center; justify-content: center; }
.hero-art svg { width: 100%; max-width: 300px; }

@media (max-width: 860px) {
  .hero .container { margin-left: 0; max-width: 100%; }
  .hero-photo, .hero-art { order: -1; max-width: 320px; margin: 0 auto; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: .92rem;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: #14100a; }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { background: transparent; border-color: var(--line); color: #fff; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-navy { background: var(--panel-2); border: 1px solid var(--line); color: #fff; }
.btn-navy:hover { border-color: var(--gold); }
.btn-row { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

/* Sections */
section { padding: 72px 0; }
.section-soft { background: var(--panel); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 800;
}

/* Ghost heading (agzlegal-style watermark, used sparingly) */
.ghost-heading {
  text-align: center;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--panel-2);
  margin-bottom: -20px;
  user-select: none;
}

/* Cards grid */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card .icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 16px;
  color: var(--gold);
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; color: #fff; }
.card p { margin-bottom: 0; font-size: .92rem; }

/* Practice area list rows */
.pa-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.pa-row .icon {
  width: 52px; height: 52px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.pa-row .icon svg { width: 28px; height: 28px; }
.pa-row h3 { margin-bottom: 4px; color: #fff; }
.pa-row p { margin-bottom: 0; }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats .num { font-family: 'Archivo', sans-serif; font-size: 2.4rem; color: var(--gold); font-weight: 900; }
.stats .label { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Testimonials */
.testimonial {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.testimonial .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; font-size: 1rem; }
.testimonial p.quote { font-style: italic; color: #e6e6e6; }
.testimonial .who { font-weight: 700; color: var(--gold-light); font-size: .85rem; }

.yelp-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: #fff;
  padding: 24px 28px;
  border-radius: var(--radius);
  flex-wrap: wrap;
}
.yelp-strip .stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 3px; }
.yelp-strip a { color: var(--gold-light); text-decoration: underline; font-weight: 700; }

/* Disclaimer box */
.disclaimer {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  font-size: .84rem;
  color: var(--muted);
  border-radius: 0 8px 8px 0;
  margin-top: 30px;
}

/* Feature photos */
.feature-photo { border-radius: var(--radius); overflow: hidden; margin: 8px 0 40px; border: 1px solid var(--line); }
.feature-photo img { width: 100%; height: auto; max-height: 420px; object-fit: cover; display: block; filter: saturate(0.85); }
.feature-photo.faded { position: relative; }
.feature-photo.faded::after { content: ""; position: absolute; inset: 0; background: var(--bg); opacity: 0.5; }
.feature-photo figcaption { font-size: .78rem; color: var(--muted-2); padding: 10px 2px 0; }
.card.photo-card { padding: 0; overflow: hidden; }
.card.photo-card img { width: 100%; height: 180px; object-fit: cover; display: block; filter: saturate(0.85); }
.card.photo-card .card-body { padding: 24px; }
.card.photo-card h3 { margin-bottom: 8px; }

/* Case result split cards (agzlegal "Who We've Helped" style) */
.case-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 210px;
}
.case-split .case-text { padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.case-split .case-text h3 { color: #fff; margin-bottom: 10px; }
.case-split .amount-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #14100a;
  font-weight: 800;
  font-size: .88rem;
  padding: 10px 18px;
  border-radius: 8px;
  margin-top: 14px;
  width: fit-content;
}
.case-split .case-photo { position: relative; min-height: 180px; }
.case-split .case-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.85); }
.case-split.placeholder .case-photo {
  display: flex; align-items: center; justify-content: center;
  background: var(--panel-2);
  color: var(--muted-2);
  font-size: .82rem;
  text-align: center;
  padding: 20px;
}
@media (max-width: 700px) {
  .case-split { grid-template-columns: 1fr; }
  .case-split .case-photo { min-height: 160px; }
}

/* CTA band */
.cta-band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; padding: 64px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--muted); max-width: 60ch; margin: 0 auto 24px; }
.cta-band .btn-row { justify-content: center; }

/* Form */
form.contact-form { display: grid; gap: 26px; }
form.contact-form label {
  display: block;
  font-weight: 700;
  font-size: .82rem;
  margin-bottom: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 10px 2px;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: .98rem;
}
form.contact-form select option { background: var(--panel); color: #fff; }
form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus { border-bottom-color: var(--gold); }
form.contact-form .req { color: var(--gold); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row-2 { grid-template-columns: 1fr; } }

/* Contact info list */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list .icon { color: var(--gold); flex-shrink: 0; width: 22px; margin-top: 3px; }
.info-list strong { display: block; color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }

/* Footer */
footer.site-footer { background: #000; color: var(--muted); padding: 56px 0 26px; font-size: .9rem; border-top: 1px solid var(--line); }
footer.site-footer .grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
footer.site-footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
footer.site-footer a { color: var(--muted); text-decoration: none; }
footer.site-footer a:hover { color: var(--gold-light); }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .78rem;
  color: var(--muted-2);
}
.footer-disclaimer { font-size: .76rem; color: var(--muted-2); max-width: 900px; margin-top: 18px; line-height: 1.6; }
@media (max-width: 860px) { footer.site-footer .grid { grid-template-columns: 1fr 1fr; } }

/* Page intro / breadcrumb */
.page-intro { background: var(--bg); padding: 56px 0; border-bottom: 1px solid var(--line); }
.page-intro .eyebrow { margin-bottom: 8px; display: block; }
.page-intro.with-art .container { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.page-intro .intro-art { display: flex; justify-content: center; }
.page-intro .intro-art svg { width: 100%; max-width: 240px; }
@media (max-width: 860px) {
  .page-intro.with-art .container { grid-template-columns: 1fr; }
  .page-intro .intro-art { order: -1; max-width: 160px; margin: 0 auto 20px; }
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; color: #fff; }
.faq-item p { margin-bottom: 0; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: .85rem; color: var(--muted); }
