:root {
  --ink: #162033;
  --muted: #5d687c;
  --line: #d9e1ee;
  --paper: #f6f8fb;
  --white: #ffffff;
  --navy: #17335c;
  --blue: #2867b2;
  --teal: #12a39a;
  --gold: #f0b84f;
  --shadow: 0 24px 70px rgba(22, 32, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 251, 0.92);
  border-bottom: 1px solid rgba(217, 225, 238, 0.86);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--blue);
}

.nav-call {
  padding: 0.72rem 1rem;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  margin-left: auto;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(23, 51, 92, 0.95), rgba(21, 72, 117, 0.88)),
    radial-gradient(circle at 90% 10%, rgba(18, 163, 154, 0.4), transparent 34%);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 100px;
  background: linear-gradient(180deg, transparent, rgba(246, 248, 251, 0.14));
  pointer-events: none;
}

.hero-grid {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 86px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #84f1df;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 5vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.services-title {
  max-width: 860px;
  font-size: clamp(2rem, 3vw, 2.65rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.16rem;
}

.hero-actions,
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-actions {
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.84rem 1.12rem;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  background: var(--gold);
  color: #1d2738;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

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

.trust-strip {
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-strip span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.case-panel {
  position: relative;
  z-index: 1;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-header,
.case-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.panel-header {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.panel-header strong {
  color: var(--white);
}

.case-card {
  margin-bottom: 12px;
  padding: 18px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.case-card.active {
  border-left: 5px solid var(--gold);
}

.case-label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  padding: 0.34rem 0.56rem;
  border-radius: 999px;
  background: rgba(18, 163, 154, 0.14);
  color: #0d756e;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-pill.muted {
  background: rgba(40, 103, 178, 0.12);
  color: var(--blue);
}

.case-panel p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading p,
.section-copy,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-band {
  width: 100%;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border-radius: 6px;
  background: rgba(40, 103, 178, 0.1);
  color: var(--blue);
}

.icon-box svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.service-card p,
.steps p,
.issue-list li,
.warning-box p,
.faq-grid p,
.disclaimer,
.site-footer p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: start;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 800;
}

.steps {
  display: grid;
  gap: 16px;
}

.steps article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.issue-section {
  width: 100%;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: #eaf0f7;
}

.issue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  gap: 22px;
}

.issue-list,
.warning-box,
.intake-form,
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.issue-list {
  padding: 30px;
}

.issue-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.issue-list li {
  position: relative;
  padding-left: 24px;
}

.issue-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--gold);
}

.warning-box {
  padding: 30px;
  background: var(--navy);
  color: var(--white);
}

.warning-box p {
  color: rgba(255, 255, 255, 0.78);
}

.form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: start;
}

.contact-callout {
  margin: 28px 0;
  padding: 20px;
  border-left: 5px solid var(--teal);
  background: var(--white);
  border-radius: 8px;
}

.contact-callout span {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.contact-callout a {
  display: inline-flex;
  margin-top: 4px;
  color: var(--navy);
  font-size: 1.6rem;
  font-weight: 900;
}

.disclaimer {
  font-size: 0.92rem;
}

.intake-form {
  padding: 28px;
  box-shadow: 0 18px 55px rgba(22, 32, 51, 0.08);
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c8d3e2;
  border-radius: 6px;
  padding: 0.78rem 0.86rem;
  background: #fbfdff;
  color: var(--ink);
}

.form-row textarea {
  resize: vertical;
}

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

.form-button {
  width: 100%;
}

.faq-section {
  padding-top: 40px;
}

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

.faq-grid details {
  padding: 22px;
}

.faq-grid summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
}

.faq-grid p {
  margin: 14px 0 0;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.site-footer img {
  width: 260px;
}

.site-footer p {
  margin: 10px 0 0;
}

.site-footer div:last-child {
  display: flex;
  gap: 20px;
  font-weight: 800;
}

@media (max-width: 1020px) {
  .nav {
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    inset: 74px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-call {
    display: none;
  }

  .hero-grid,
  .split-section,
  .issue-layout,
  .form-section {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 70px 0;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .nav,
  .hero-grid,
  .section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    width: 210px;
  }

  h1 {
    font-size: 3rem;
  }

  .service-grid,
  .issue-list ul,
  .two-column,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .intro-band,
  .issue-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .case-panel,
  .intake-form,
  .issue-list,
  .warning-box {
    padding: 22px;
  }

  .case-card,
  .panel-header,
  .site-footer,
  .site-footer div:last-child {
    align-items: flex-start;
    flex-direction: column;
  }

  .steps article {
    grid-template-columns: 1fr;
  }
}
