:root {
  --ink: #152436;
  --muted: #5b6977;
  --navy: #163f72;
  --blue: #1e4e8e;
  --brand: #1e4e8e;
  --gold: #c8a15c;
  --paper: #ede6dd;
  --sky: #f1f9ff;
  --white: #ffffff;
  --line: #d9e0e6;
  --shadow: 0 24px 60px rgba(14, 41, 66, 0.14);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(16, 59, 97, 0.12);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 184px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

.nav-cta {
  color: var(--white);
  background: var(--brand);
  border-radius: 6px;
  padding: 10px 14px;
}

.nav-phone {
  color: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(24px, 3.5vw, 42px) clamp(20px, 6vw, 72px) 14px;
  background: linear-gradient(110deg, var(--paper), var(--sky) 58%, #ffffff);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font);
  line-height: 1.05;
}

h1 {
  max-width: 840px;
  font-size: clamp(38px, 4.4vw, 56px);
  color: var(--navy);
}

h1 span {
  display: block;
  color: var(--brand);
}

h2 {
  font-size: clamp(31px, 4vw, 52px);
  color: var(--navy);
}

h3 {
  font-size: 21px;
}

.hero-subhead {
  max-width: 780px;
  margin: 20px 0 0;
  color: #314354;
  font-size: clamp(17px, 1.55vw, 20px);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary,
.form-button {
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(30, 78, 142, 0.24);
}

.secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.call-button {
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(16, 59, 97, 0.2);
}

.light-button {
  color: var(--navy);
  background: var(--white);
}

.light-call {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 100%;
  height: min(49vh, 500px);
  min-height: 350px;
  object-fit: cover;
}

.quick-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 2px;
  padding: 18px;
  color: var(--white);
  background: rgba(16, 59, 97, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
}

.quick-card strong {
  font-family: var(--font);
  font-size: 20px;
}

.urgent-band,
.proof-strip,
.split-section,
.communication,
.form-section,
.reviews,
.about {
  padding: clamp(56px, 7vw, 92px) clamp(20px, 6vw, 72px);
}

.urgent-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(300px, 1fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  color: var(--white);
  background: var(--navy);
}

.urgent-band .eyebrow,
.urgent-band h2 {
  color: var(--white);
}

.section-side {
  display: grid;
  gap: 4px;
}

.urgent-band .section-side > p {
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
}

.proof-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  background: var(--sky);
}

.proof-content {
  display: grid;
  gap: 8px;
}

.stars {
  color: var(--gold);
  font-size: 21px;
  letter-spacing: 0;
}

blockquote {
  margin: 0;
  color: #263849;
  font-size: clamp(18px, 2.2vw, 25px);
  font-weight: 700;
}

cite {
  color: var(--brand);
  font-style: normal;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.section-copy p,
.communication p,
.form-intro p,
.about p {
  color: var(--muted);
  font-size: 17px;
}

.charge-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.charge-list li {
  padding: 13px 16px;
  color: var(--navy);
  background: var(--paper);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  font-weight: 800;
}

.image-stack img {
  width: min(100%, 440px);
  margin-left: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.communication {
  color: var(--white);
  background: #143a67;
}

.communication h2,
.communication .eyebrow,
.communication p {
  color: var(--white);
}

.promise-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.promise-grid article,
.review-grid article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.promise-grid article {
  color: var(--ink);
}

.promise-grid span {
  color: var(--gold);
  font-weight: 900;
}

.promise-grid p,
.review-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.form-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(20, 58, 103, 0.96), rgba(30, 78, 142, 0.94)),
    url("/assets/attorney.webp") right center / min(55vw, 760px) auto no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.form-section::before {
  position: absolute;
  inset: 20px clamp(10px, 2vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  content: "";
  pointer-events: none;
}

.form-intro {
  position: relative;
  z-index: 1;
}

.form-intro .eyebrow,
.form-intro h2,
.form-intro p {
  color: var(--white);
}

.form-intro .eyebrow {
  color: var(--gold);
}

.contact-card {
  margin-top: 24px;
  padding: 20px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.contact-card strong,
.contact-card span {
  display: block;
}

.contact-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--white);
  font-weight: 900;
}

.contact-card .contact-call {
  width: 100%;
  color: var(--navy);
  background: var(--white);
}

.consult-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
  background: var(--white);
  border: 3px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.email-gate,
.form-details {
  display: grid;
  gap: 18px;
}

.js .consult-form.is-collapsed .form-details {
  display: none;
}

.email-gate {
  padding-bottom: 2px;
}

.hidden {
  display: none;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd5de;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfcfd;
  font: 500 15px var(--font);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(30, 92, 146, 0.18);
  border-color: var(--blue);
}

input.is-invalid {
  border-color: var(--brand);
  background: #f1f9ff;
}

.field-help {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.field-help.is-error {
  color: var(--brand);
}

.form-button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.form-note a {
  color: var(--blue);
  font-weight: 800;
}

.reviews h2 {
  max-width: 800px;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
  background: var(--sky);
}

.credential-logos {
  display: grid;
  grid-template-columns: minmax(0, 420px) auto;
  gap: 18px;
  align-items: center;
  justify-content: start;
}

.credential-logos img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.credential-logos .wacdl-logo {
  width: 100%;
  max-width: 420px;
}

.credential-logos .wsaj-logo {
  width: clamp(70px, 7vw, 94px);
  height: auto;
  background: var(--white);
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 26px;
  color: var(--white);
  background: #143a67;
  text-align: center;
}

footer img {
  width: 52px;
  height: auto;
}

footer p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.thank-you {
  display: grid;
  min-height: 100vh;
  align-content: center;
  justify-items: start;
  padding: clamp(34px, 8vw, 92px);
  background:
    linear-gradient(105deg, rgba(247, 245, 240, 0.98), rgba(247, 245, 240, 0.88)),
    url("/assets/attorney.webp") right center / min(58vw, 780px) auto no-repeat;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(21, 36, 54, 0.68);
}

.success-modal.is-open {
  display: grid;
}

.success-modal__panel {
  position: relative;
  width: min(100%, 620px);
  padding: clamp(26px, 5vw, 42px);
  background: var(--white);
  border: 3px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.success-modal__panel p {
  color: var(--muted);
  font-size: 17px;
}

.success-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: var(--sky);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.thank-you img {
  margin-bottom: 34px;
}

.thank-you h1,
.thank-you .hero-subhead {
  max-width: 760px;
}

.thank-you .button {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .urgent-band,
  .split-section,
  .form-section,
  .about {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel img {
    min-height: 320px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .promise-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .image-stack img {
    margin-left: 0;
  }

}

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  .brand img {
    width: 170px;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 18px;
    background:
      linear-gradient(105deg, rgba(237, 230, 221, 0.98), rgba(241, 249, 255, 0.94)),
      url("/assets/attorney.webp") center bottom / cover;
  }

  h1 {
    font-size: 34px;
  }

  .hero-subhead {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-actions,
  .section-actions,
  .button {
    width: 100%;
  }

  .hero-panel {
    display: none;
  }

  .credential-logos {
    gap: 12px;
  }

  .credential-logos .wsaj-logo {
    width: 58px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
}
