/* ==========================================================
   itzLAW 24/7 - shared stylesheet (used by every page)
   Colors taken from the flyers: black, itz teal, neon, brick
   ========================================================== */
:root {
  --black: #000000;
  --panel: #0f1417;
  --teal: #1a93ad;        /* "itz" teal from the logo */
  --neon: #5ee3f5;        /* glowing sign */
  --brick: #5a2e22;
  --white: #ffffff;
  --text-dark: #1f282d;
  --text-light: #d9e1e4;
  --line: #d5dfe3;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body {
  margin: 0;
  font-family: "Jost", "Century Gothic", "Trebuchet MS", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible, label:focus-visible {
  outline: 3px solid var(--neon); outline-offset: 3px;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }

/* ---------- Header ---------- */
.site-header { background: var(--black); color: var(--white); padding: .9rem 0; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--white); }
.logo {
  display: inline-flex; align-items: baseline;
  border: 2px solid var(--white); padding: .1rem .55rem .2rem;
  font-size: 1.9rem; line-height: 1; letter-spacing: .01em;
}
.logo .itz { color: var(--teal); font-weight: 600; }
.logo .law { font-weight: 300; margin-left: .15rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-247 { color: var(--neon); font-weight: 600; font-size: 1.05rem; letter-spacing: .08em; }
.brand-tag { font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; color: var(--text-light); }
.header-calls { display: flex; gap: .6rem; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: .7rem 1.2rem; border-radius: 4px;
  font-weight: 600; text-decoration: none; text-align: center;
  background: var(--teal); color: var(--white); border: 2px solid var(--teal);
}
.btn:hover { background: #147a90; border-color: #147a90; }
.btn-outline { background: transparent; color: var(--white); border-color: var(--neon); }
.btn-outline:hover { background: var(--neon); color: var(--black); border-color: var(--neon); }

/* ---------- Top menu ---------- */
.site-nav { background: var(--teal); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label { display: none; color: var(--white); padding: .8rem 0; cursor: pointer; font-weight: 600; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.menu a { display: block; padding: .8rem 1rem; color: var(--white); text-decoration: none; font-weight: 500; }
.menu a:hover, .menu a.current { background: rgba(0,0,0,.25); }
.has-sub { position: relative; }
.submenu {
  list-style: none; margin: 0; padding: 0; display: none;
  position: absolute; left: 0; top: 100%; min-width: 210px; background: var(--black); z-index: 20;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { display: block; }

/* ---------- Hero ---------- */
.hero {
  color: var(--white);
  background:
    linear-gradient(90deg, var(--black) 35%, rgba(0,0,0,.55) 75%, rgba(0,0,0,.25)),
    repeating-linear-gradient(0deg, #3b1f17 0 2px, transparent 2px 34px),
    var(--brick);
  padding: 3.5rem 0 0;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: end; }
.hero-copy { padding-bottom: 3.5rem; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 600; }
.hero .motto { font-size: 1.35rem; font-weight: 500; color: var(--neon); margin-bottom: 1rem; }
.hero p { color: var(--text-light); }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-photo { position: relative; justify-self: end; max-width: 400px; }
.hero-photo img { border-radius: 4px 4px 0 0; }

/* The one memorable element: the neon sign from the flyer */
.neon-sign {
  position: absolute; top: 1.25rem; right: -1.5rem;
  border: 3px solid var(--neon); border-radius: 6px;
  padding: .6rem .75rem; text-align: center; line-height: 1;
  color: var(--neon); background: rgba(0,0,0,.35);
  box-shadow: 0 0 8px var(--neon), 0 0 24px rgba(94,227,245,.6), inset 0 0 10px rgba(94,227,245,.4);
  text-shadow: 0 0 6px var(--neon), 0 0 18px var(--neon);
  animation: neon-on 1.6s ease-out 1;
}
.neon-sign .n1 { display: block; font-weight: 600; font-size: 1.3rem; }
.neon-sign .n2 { display: block; color: var(--white); font-weight: 300; font-size: 2.4rem; margin-top: .3rem; }
@keyframes neon-on {
  0%, 12%, 20%, 34% { opacity: .15; }
  8%, 16%, 28%, 100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .neon-sign { animation: none; } }

/* ---------- Four strengths ---------- */
.strengths { background: var(--panel); color: var(--text-light); padding: 2.5rem 0; }
.strength-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.strength { padding: 0 1.25rem; border-left: 1px solid rgba(94,227,245,.35); }
.strength:first-child { border-left: 0; }
.strength svg { width: 48px; height: 48px; stroke: var(--neon); fill: none; stroke-width: 1.6; margin-bottom: .6rem; }
.strength h3 { color: var(--white); margin-bottom: .3rem; }
.strength p { font-size: .95rem; margin: 0; }

/* ---------- Content sections ---------- */
.section { padding: 3.5rem 0; }
.section-alt { background: #f1f6f8; }
.two-col { display: grid; grid-template-columns: 1.3fr .9fr; gap: 3rem; align-items: start; }
.ask-scott { font-family: "Allura", "Brush Script MT", cursive; font-weight: 400; color: var(--teal); font-size: 2.6rem; display: block; line-height: 1; margin-bottom: .2rem; }

.checks { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.checks li { position: relative; padding-left: 2rem; margin-bottom: .55rem; }
.checks li::before {
  content: "\2713"; position: absolute; left: 0; top: .1rem;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--teal); color: var(--white); font-size: .8rem; line-height: 1.35rem; text-align: center;
}

.counties { columns: 3; column-gap: 2rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.counties li { padding: .2rem 0; border-bottom: 1px solid var(--line); break-inside: avoid; }

.faq details { border-bottom: 1px solid var(--line); padding: .9rem 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: .6rem 0 0; }

/* ---------- Contact card ---------- */
.contact-card { background: var(--black); color: var(--text-light); padding: 1.75rem; border-radius: 4px; border-top: 5px solid var(--teal); }
.contact-card h2 { color: var(--white); font-size: 1.5rem; }
.contact-card address { font-style: normal; }
.contact-card a { color: var(--neon); }
.contact-card .signature { font-family: "Allura", "Brush Script MT", cursive; font-size: 2.3rem; color: var(--white); margin: .5rem 0 0; line-height: 1; }
.contact-card .btn { margin: .25rem .4rem .25rem 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--text-light); padding: 2rem 0; font-size: .95rem; }
.footer-values { color: var(--neon); font-weight: 600; letter-spacing: .12em; margin-bottom: .5rem; }
.site-footer a { color: var(--neon); }

/* ---------- Phones and tablets ---------- */
@media (max-width: 860px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 1rem; }
  .hero-photo { justify-self: center; max-width: 320px; }
  .neon-sign { right: -.5rem; }
  .strength-row { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .strength:nth-child(3) { border-left: 0; }
  .counties { columns: 2; }
  .nav-toggle-label { display: block; }
  .menu { display: none; flex-direction: column; }
  .nav-toggle:checked ~ .menu { display: flex; }
  .submenu { position: static; display: block; background: rgba(0,0,0,.2); }
  .submenu a { padding-left: 2rem; }
}
@media (max-width: 480px) {
  .strength-row { grid-template-columns: 1fr; }
  .strength { border-left: 0; }
  .brand-tag { letter-spacing: .15em; }
}

/* ---------- Inner pages (added with page 2) ---------- */
.page-hero { padding: 3rem 0 2.75rem; }
.page-hero h1 { margin-bottom: .4rem; }
.page-hero p { font-size: 1.15rem; margin-bottom: 0; }

/* Numbered steps: used only where the content is a real sequence */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.5rem; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 1.75rem 3.75rem; border-left: 2px solid var(--line); margin-left: 1.25rem; }
.steps > li:last-child { border-left-color: transparent; }
.steps > li::before {
  content: counter(step); position: absolute; left: -1.3rem; top: -.2rem;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--black); color: var(--neon); border: 2px solid var(--teal);
  font-weight: 600; font-size: 1.15rem; line-height: 2.25rem; text-align: center;
}
.steps h2 { font-size: 1.45rem; margin-bottom: .4rem; }
.step-cta { font-weight: 500; }

.portrait { margin: 0 0 1.25rem; }
.portrait img { width: 100%; max-width: 240px; border-radius: 4px; }
.breadcrumb { font-size: .9rem; margin-bottom: .75rem; color: var(--text-light); }
.breadcrumb a { color: var(--neon); }

/* ---------- Question-and-answer pages (added with bankruptcy_answers) ---------- */
.toc { background: #f1f6f8; border-left: 4px solid var(--teal); padding: 1.1rem 1.4rem; margin-bottom: 2.5rem; }
.toc p { margin-bottom: .4rem; font-weight: 600; }
.toc ol { margin: 0; padding-left: 1.3rem; }
.toc li { margin-bottom: .25rem; }
.qa h2 { font-size: 1.5rem; margin-top: 2.5rem; scroll-margin-top: 1rem; }
.qa h2:first-of-type { margin-top: 0; }
.qa h3 { margin-top: 1.4rem; }
.plain-list { padding-left: 1.3rem; margin: 0 0 1.25rem; }
.plain-list li { margin-bottom: .45rem; }
.back-top { font-size: .9rem; }
.byline { color: var(--text-light); font-size: 1rem; }
.updated-note { font-size: .95rem; color: #52606a; }
