/* Jeffery Menard | Joseph LaCosta, Independent Bankruptcy Attorneys */

:root {
  /* Palette: "Timelessly Professional" */
  --slate: #17282E;
  --slate-deep: #0F1C20;
  --slate-soft: #22393F;
  --brown: #604B42;
  --brown-dark: #4A3932;
  --cream: #EBE6E3;
  --tan: #C9AE9C;
  --tan-light: #DCC8BB;
  --paper: #FAF8F7;
  --white: #FFFFFF;
  --ink: #17282E;
  --muted: #5A504B;
  --line: #DDD5D0;

  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(23, 40, 46, 0.10);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: var(--slate);
}
h1 { font-size: clamp(2.25rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--brown); }
a:hover { color: var(--slate); }

:focus-visible {
  outline: 3px solid var(--brown);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible { outline-color: var(--tan); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 860px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--slate);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 15px 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--brown { background: var(--brown); color: var(--white); }
.btn--brown:hover { background: var(--brown-dark); color: var(--white); }
.btn--tan { background: var(--tan); color: var(--slate); }
.btn--tan:hover { background: var(--tan-light); color: var(--slate); }
.btn--ghost { border-color: rgba(235,230,227,.6); color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--slate); }

/* ---------- Top bar ---------- */
.topbar { background: var(--slate-deep); color: var(--cream); font-size: .9rem; }
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
}
.topbar__offer { margin: 0; }
.topbar__phone { color: var(--tan); font-weight: 700; text-decoration: none; }
.topbar__phone:hover { color: var(--white); }

.badge-es {
  display: inline-block;
  margin: 0;
  padding: 2px 12px;
  border: 1.5px solid var(--tan);
  border-radius: 999px;
  color: var(--tan);
  font-weight: 600;
  font-size: .85rem;
}
.badge-es--lg { margin-top: 8px; padding: 6px 16px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: var(--slate);
}
.logo:hover { color: var(--slate); }
.logo__names {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.logo__sep { width: 1.5px; height: 1.1em; background: var(--brown); }
.logo__tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brown);
}
.logo--light, .logo--light:hover { color: var(--cream); }
.logo--light .logo__sep { background: var(--tan); }
.logo--light .logo__tag { color: var(--tan); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.site-nav ul a {
  color: var(--slate);
  font-weight: 600;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav ul a:hover { color: var(--brown); border-bottom-color: var(--brown); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: transparent;
  border: 2px solid var(--slate);
  border-radius: var(--radius-sm);
  color: var(--slate);
  font: 700 .95rem var(--font-body);
  cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before,
.menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  margin: 0 0 10px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brown);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: currentColor;
}
.on-dark .eyebrow { color: var(--tan); }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 150px;
  color: var(--cream);
  background: linear-gradient(135deg, var(--slate-soft) 0%, var(--slate) 55%, var(--slate-deep) 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { color: var(--white); max-width: 14ch; }
.hero__lede { font-size: 1.2rem; color: var(--cream); max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 36px; }
.hero__stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 18px;
  border-left: 3px solid var(--tan);
}
.hero__stat-num { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; color: var(--tan); line-height: 1; }
.hero__stat-text { font-size: 1.05rem; font-weight: 600; max-width: 14em; line-height: 1.35; color: var(--white); }

.hero__media {
  position: relative;
  margin: 0;
  padding: 0 18px 18px 0;
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: 18px 0 0 18px;
  border: 2px solid var(--tan);
  border-radius: var(--radius);
}
.hero__media img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 52% 50%;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

/* ---------- Relief bar ---------- */
.relief { position: relative; z-index: 2; margin-top: -90px; }
.relief__card {
  padding: 30px 40px;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 4px solid var(--brown);
  box-shadow: 0 20px 50px rgba(23,40,46,.18);
}
.relief__title { margin: 0 0 18px; font-size: 1.35rem; }
.relief__note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.relief__note strong { color: var(--slate); font-size: 1.15rem; }

.checklist {
  display: grid;
  grid-template-columns: repeat(5, auto);
  justify-content: space-between;
  gap: 12px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  padding-left: 32px;
  font-weight: 600;
  white-space: nowrap;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23604B42' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--slate); color: var(--cream); }
.section--dark h2 { color: var(--white); }

.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__intro { color: var(--muted); font-size: 1.1rem; text-wrap: balance; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 24px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--brown);
}
.card__icon { width: 48px; height: 48px; margin-bottom: 18px; color: var(--slate); }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--tan) 0 12px, transparent 12px 20px);
}
.step { position: relative; text-align: center; padding: 0 12px; }
.step__num {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--slate);
  color: var(--tan);
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  box-shadow: 0 0 0 8px var(--cream);
}
.step p { color: var(--muted); margin: 0; }

/* ---------- Why us ---------- */
.why {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: center;
}
.why__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
  border-radius: 50%;
  border: 2px solid var(--tan);
  box-shadow: inset 0 0 0 10px var(--slate), inset 0 0 0 11px rgba(201,174,156,.4);
  text-align: center;
  padding: 32px;
}
.why__num { font-family: var(--font-head); font-size: clamp(4rem, 9vw, 6.5rem); font-weight: 800; line-height: 1; color: var(--tan); }
.why__label { margin-top: 10px; font-size: 1.15rem; font-weight: 600; max-width: 11em; line-height: 1.35; color: var(--white); }
.why__list { list-style: none; margin: 8px 0 0; padding: 0; }
.why__list li {
  padding: 14px 0 14px 22px;
  border-bottom: 1px solid rgba(235,230,227,.18);
  position: relative;
  color: var(--cream);
}
.why__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tan);
}
.why__list strong { color: var(--white); }

/* ---------- Attorneys ---------- */
.attorney {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.attorney__photo {
  flex: none;
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--brown);
  color: var(--brown);
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
}
.attorney h3 { font-size: 1.45rem; margin-bottom: 2px; }
.attorney__title {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 10px;
}
.attorney__body p { color: var(--muted); }
.attorney__body p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--white);
  transition: box-shadow .15s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  position: relative;
  padding: 20px 60px 20px 22px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--brown);
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; background: var(--brown); color: var(--white); }
.faq__answer { padding: 0 22px 6px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact__info > p { color: var(--cream); font-size: 1.1rem; }
.contact__list { list-style: none; margin: 28px 0; padding: 0; }
.contact__list li { padding: 14px 0; border-top: 1px solid rgba(235,230,227,.18); }
.contact__label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 2px;
}
.contact__list a, .contact__list address {
  color: var(--white);
  font-style: normal;
  font-size: 1.1rem;
}
.contact__list a:hover { color: var(--tan); }
.contact__list .contact__directions { display: inline-block; margin-top: 4px; font-size: .95rem; color: var(--tan); }

.contact-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.contact-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.contact-card__intro { color: var(--muted); margin-bottom: 22px; }

.contact-option {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--brown);
  color: var(--white);
  text-decoration: none;
  transition: background-color .15s, transform .15s;
}
.contact-option:hover { background: var(--brown-dark); color: var(--white); transform: translateY(-1px); }
.contact-option svg { width: 30px; height: 30px; flex: none; }
.contact-option span { display: flex; flex-direction: column; font-size: 1.05rem; line-height: 1.3; overflow-wrap: anywhere; }
.contact-option strong { font-family: var(--font-head); font-size: 1.35rem; }

.contact-card__note { margin: 18px 0 0; font-size: .92rem; color: var(--muted); }
.copy-email {
  padding: 0;
  border: 0;
  background: none;
  color: var(--brown);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.copy-email:hover { color: var(--slate); }
.copy-status { font-weight: 700; color: var(--slate); }
.contact-card__disclaimer { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-deep); color: var(--cream); padding: 56px 0 32px; font-size: .95rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--tan); }
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(235,230,227,.15);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.footer-links a { text-decoration: none; font-weight: 600; }
.site-footer__contact { margin: 0; text-align: right; }
.disclosures { padding-top: 28px; font-size: .88rem; color: #C4BBB6; }
.disclosures p { margin-bottom: .75em; max-width: 900px; }

/* ---------- Mobile call bar ---------- */
.call-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: var(--brown);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 -4px 16px rgba(0,0,0,.2);
}
.call-bar svg { width: 22px; height: 22px; }
.call-bar:hover { color: var(--white); background: var(--brown-dark); }

/* ---------- Privacy page ---------- */
.page-hero { background: var(--slate); color: var(--white); padding: 64px 0; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.prose { padding: 64px 0 88px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { gap: 40px; }
  .why { gap: 40px; }
  .site-nav { gap: 20px; }
  .site-nav ul { gap: 18px; }
  .topbar__offer { display: none; }
  .checklist { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 32px; }
}

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 12px 24px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(23,40,46,.1);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav ul a:hover { border-bottom-color: var(--line); }
}

@media (max-width: 768px) {
  body { padding-bottom: 64px; }
  .call-bar { display: flex; }
  .topbar { display: none; }
  .site-nav__call { display: none; }

  .section { padding: 64px 0; }
  .hero { padding: 48px 0 120px; }
  .hero__grid,
  .why,
  .contact__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero__media { max-width: 520px; }
  .hero__media img { aspect-ratio: 4 / 3; }

  .relief__card { padding: 26px 24px; }
  .checklist { grid-template-columns: 1fr; }

  .cards--2 { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }

  .why__stat { max-width: 240px; padding: 24px; }

  .site-footer__top { flex-direction: column; align-items: flex-start; }
  .site-footer__contact { text-align: left; }
}

@media (max-width: 480px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 16px; }
  .site-header__inner { min-height: 72px; gap: 12px; }
  .logo__names { flex-direction: column; align-items: flex-start; gap: 0; font-size: 1.1rem; }
  .logo__sep { display: none; }
  .logo__tag { font-size: .62rem; letter-spacing: .12em; margin-top: 2px; }
  .menu-toggle__label { display: none; }

  .hero__actions .btn { width: 100%; }
  .hero__stat-num { font-size: 2.3rem; }

  .cards--4 { grid-template-columns: 1fr; }
  .contact-card { padding: 24px 20px; }
  .contact-option { padding: 16px 18px; gap: 14px; }

  .attorney { flex-direction: column; text-align: center; padding: 26px 20px; }
  .faq summary { font-size: 1.05rem; padding: 18px 56px 18px 18px; }
  .faq__answer { padding: 0 18px 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
