/* style.css — Edelman Court CPS Lawyer */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Source+Sans+3:wght@300;400;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0a1628;
  --dark:   #111927;
  --gold:   #c9a84c;
  --gold2:  #e8c96a;
  --white:  #ffffff;
  --light:  #f4f6f9;
  --muted:  #6b7a90;
  --border: #d8dde8;
  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Source Sans 3', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--white); color: var(--dark); line-height: 1.65; font-size: 17px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── TOP BAR ── */
.topbar {
  background: var(--navy);
  color: #b8c6d8;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: var(--gold); transition: color .2s; }
.topbar a:hover { color: var(--gold2); }

/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.nav-logo {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 19px;
  color: var(--navy);
  padding: 16px 0;
  line-height: 1.2;
  display: block;
}
.nav-logo span { color: var(--gold); display: block; font-size: 11px; font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a {
  display: block;
  padding: 22px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--navy);
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--gold); border-color: var(--gold); }
.nav-cta { background: var(--gold); color: var(--navy) !important; padding: 10px 18px !important; border-radius: 4px; margin-left: 8px; border-bottom: none !important; margin-bottom: 0 !important; white-space: nowrap; }
.nav-cta:hover { background: var(--gold2) !important; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--navy); padding: 8px; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #162444 60%, #1e2f52 100%);
  color: var(--white);
  padding: 90px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; max-width: 860px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--gold2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero h1 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; line-height: 1.15; margin-bottom: 20px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub { font-size: clamp(1rem, 2vw, 1.15rem); color: #b8c6d8; max-width: 680px; margin: 0 auto 34px; font-weight: 300; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary { background: var(--gold); color: var(--navy); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .07em; padding: 15px 32px; border-radius: 4px; transition: background .2s, transform .15s; border: 2px solid var(--gold); display: inline-block; }
.btn-primary:hover { background: var(--gold2); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .07em; padding: 15px 32px; border-radius: 4px; border: 2px solid rgba(255,255,255,.35); transition: border-color .2s, transform .15s; display: inline-block; }
.btn-outline:hover { border-color: var(--white); transform: translateY(-2px); }
.btn-dark { background: var(--navy); color: var(--white); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .07em; padding: 15px 34px; border-radius: 4px; transition: background .2s; display: inline-block; }
.btn-dark:hover { background: #0f1e38; }
.btn-gold-outline { background: transparent; color: var(--gold); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .07em; padding: 12px 26px; border-radius: 4px; border: 2px solid var(--gold); transition: all .2s; display: inline-block; }
.btn-gold-outline:hover { background: var(--gold); color: var(--navy); }

/* ── URGENT STRIP ── */
.urgent { background: #c0392b; color: #fff; text-align: center; font-size: 14px; font-weight: 700; letter-spacing: .04em; padding: 12px 24px; }
.urgent a { color: #ffd6d6; text-decoration: underline; }

/* ── LAYOUT ── */
.section { padding: 72px 24px; }
.section-light { background: var(--light); }
.section-dark { background: var(--navy); color: var(--white); }
.container { max-width: 1100px; margin: 0 auto; }
.container-sm { max-width: 780px; margin: 0 auto; }

/* ── SECTION HEADINGS ── */
.section-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); margin-bottom: 10px; }
.section-title { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; margin-bottom: 16px; color: inherit; }
.section-intro { font-size: 1.05rem; color: var(--muted); max-width: 680px; margin-bottom: 44px; }
.section-dark .section-intro { color: #8da3c0; }
.gold-line { width: 52px; height: 3px; background: var(--gold); margin: 0 auto 22px; }
.gold-line.left { margin-left: 0; }
.text-center { text-align: center; }

/* ── 2-COL INTRO ── */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.intro-text p { margin-bottom: 16px; color: #2c3a4e; }
.intro-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-card { background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--gold); padding: 20px; border-radius: 4px; text-align: center; }
.stat-card .num { font-family: var(--serif); font-size: 2.2rem; font-weight: 900; color: var(--navy); line-height: 1; }
.stat-card .lbl { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 6px; }

/* ── SERVICE / FEATURE CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--border); padding: 28px; border-radius: 6px; border-top: 4px solid var(--gold); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.09); transform: translateY(-3px); }
.card-icon { font-size: 1.9rem; margin-bottom: 12px; }
.card h3 { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 15px; color: #3d4e63; }
.card-dark { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-left: 4px solid var(--gold); border-top: none; }
.card-dark h3 { color: var(--white); }
.card-dark p { color: #8da3c0; }

/* ── PROCESS STEPS ── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.step:last-child { border-bottom: none; }
.step-num { width: 48px; height: 48px; background: var(--gold); color: var(--navy); font-family: var(--serif); font-weight: 900; font-size: 1.2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-body h3 { font-family: var(--serif); font-size: 1.1rem; color: var(--white); margin-bottom: 7px; }
.step-body p { font-size: 15px; color: #8da3c0; }

/* ── FAQ ── */
.faq-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; text-align: left; font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--navy); padding: 18px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q .icon { font-size: 1.2rem; flex-shrink: 0; transition: transform .25s; color: var(--gold); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 22px 18px; font-size: 15px; color: #3d4e63; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-item.open .faq-a { max-height: 500px; }

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.testimonial { background: var(--white); border: 1px solid var(--border); padding: 28px; border-radius: 6px; position: relative; }
.testimonial::before { content: '\201C'; font-family: var(--serif); font-size: 4.5rem; color: var(--gold); opacity: .2; position: absolute; top: 8px; left: 18px; line-height: 1; }
.testimonial p { font-size: 15px; color: #3d4e63; font-style: italic; margin-bottom: 14px; position: relative; z-index: 1; }
.testimonial cite { font-size: 13px; font-weight: 700; color: var(--navy); font-style: normal; }

/* ── CTA BAND ── */
.cta-band { background: var(--gold); padding: 56px 24px; text-align: center; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.5rem); color: var(--navy); margin-bottom: 12px; }
.cta-band p { color: #3a2a00; font-size: 1.05rem; margin-bottom: 26px; max-width: 580px; margin-left: auto; margin-right: auto; }

/* ── OFFICES ── */
.offices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.office-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); padding: 24px; border-radius: 6px; text-align: center; }
.office-card h3 { font-family: var(--serif); font-size: 1.05rem; color: var(--gold); margin-bottom: 10px; }
.office-card p { font-size: 14px; color: #8da3c0; line-height: 1.8; }

/* ── BREADCRUMB ── */
.breadcrumb { background: var(--light); padding: 12px 24px; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 6px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, #162444 70%); color: var(--white); padding: 64px 24px 56px; text-align: center; }
.page-hero .hero-badge { display: inline-block; background: rgba(201,168,76,.15); border: 1px solid rgba(201,168,76,.4); color: var(--gold2); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; padding: 5px 16px; border-radius: 20px; margin-bottom: 20px; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900; margin-bottom: 16px; }
.page-hero h1 em { color: var(--gold); font-style: normal; }
.page-hero p { font-size: 1.1rem; color: #b8c6d8; max-width: 640px; margin: 0 auto 28px; }

/* ── PROSE ── */
.prose { max-width: 780px; }
.prose h2 { font-family: var(--serif); font-size: 1.6rem; color: var(--navy); margin: 36px 0 14px; }
.prose h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; color: #2c3a4e; }
.prose ul { margin: 0 0 18px 22px; }
.prose ul li { margin-bottom: 8px; color: #2c3a4e; font-size: 16px; }
.prose strong { color: var(--navy); }

/* ── CONTACT FORM ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  outline: none;
  transition: border-color .2s;
  background: var(--white);
  color: var(--dark);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { background: var(--gold); color: var(--navy); font-family: var(--sans); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .07em; padding: 15px 40px; border: none; border-radius: 4px; cursor: pointer; transition: background .2s; }
.form-submit:hover { background: var(--gold2); }

/* ── TRUST BADGES ── */
.trust-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.trust-badge { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); padding: 10px 18px; border-radius: 4px; font-size: 13px; font-weight: 700; color: #b8c6d8; text-transform: uppercase; letter-spacing: .06em; }

/* ── FOOTER ── */
footer { background: #06101e; color: #5d7291; padding: 56px 24px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { font-family: var(--serif); font-size: 1.2rem; font-weight: 900; color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
footer h4 { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; color: var(--white); margin-bottom: 14px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
footer ul a { font-size: 14px; color: #5d7291; transition: color .2s; }
footer ul a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 24px; text-align: center; font-size: 12px; color: #3d5069; }
.footer-bottom a { color: #5d7291; }

/* ── PHONE FLOAT ── */
.phone-float { display: none; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 200; background: var(--gold); color: var(--navy); font-weight: 900; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; padding: 13px 28px; border-radius: 40px; box-shadow: 0 6px 24px rgba(0,0,0,.3); white-space: nowrap; }

/* ── ATTORNEY PROFILE ── */
.attorney-card { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.attorney-photo { background: var(--light); border-radius: 6px; aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--muted); border: 1px solid var(--border); overflow: hidden; }
.attorney-photo img { width: 100%; height: 100%; object-fit: cover; }
.attorney-meta { display: flex; flex-direction: column; gap: 6px; margin: 18px 0; }
.attorney-meta span { font-size: 14px; color: #3d4e63; display: flex; align-items: center; gap: 8px; }
.attorney-meta span strong { color: var(--navy); min-width: 120px; }
.credential-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.credential-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: #2c3a4e; }
.credential-list li::before { content: '✓'; color: var(--gold); font-weight: 900; flex-shrink: 0; margin-top: 2px; }

/* ── CASE RESULTS ── */
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.result-card { background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--gold); padding: 24px; border-radius: 4px; }
.result-card .outcome { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.result-card .county { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: 10px; }
.result-card p { font-size: 14px; color: #3d4e63; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .attorney-card { grid-template-columns: 1fr; }
  .attorney-photo { aspect-ratio: 1/1; max-width: 240px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 2px solid var(--gold); padding: 12px 0; box-shadow: 0 8px 20px rgba(0,0,0,.1); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; border-bottom: none; margin-bottom: 0; }
  .nav-toggle { display: block; }
  nav { position: relative; }
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .phone-float { display: block; }
  .hero { padding: 56px 18px 52px; }
  .section { padding: 52px 18px; }
  .page-hero { padding: 48px 18px 44px; }
}
