/* ============================================================
   Blumenthal & Moore, APC — Leaders Marketing concept build
   Palette: navy #1B355E / stone #8F8F8A
   Display: Bodoni Moda    Body/UI: Archivo
   ============================================================ */

:root {
  --navy: #1b355e;
  --navy-deep: #12233d;
  --ink: #0a162a;
  --stone: #8f8f8a;
  --stone-deep: #6e6e68;
  --line: #d8d5ce;
  --line-soft: #eae8e3;
  --paper: #f7f6f3;
  --paper-2: #efede8;
  --white: #fff;
  --muted: #4a5364;
  --muted-2: #5a6272;

  --ff-display: "Bodoni Moda", "Bodoni 72", "Didot", "Times New Roman", serif;
  --ff-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 148px;
  --pad: 45px;
  --nav-fs: 16px;
  --hero-phone-fs: 24px;
  --cta-fs: 20px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-nav-open {
  overflow: hidden;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--ff-display);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.005em;
  line-height: 1.08;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.eyebrow {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 18px;
  display: block;
}

.eyebrow--light {
  color: var(--stone);
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.3vw, 50px);
  color: var(--navy-deep);
}

.section-title em {
  font-style: italic;
  color: var(--navy);
}

.section-intro {
  max-width: 62ch;
  color: var(--muted);
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--ff-body);
  font-size: var(--cta-fs);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  padding: 19px 34px;
  border-radius: 999px;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  max-width: 100%;
  transition:
    background 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s ease;
}

.btn:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
}

.btn--ghost:hover {
  background: #fff;
  color: var(--navy-deep);
  border-color: #fff;
}

.btn--sm {
  font-size: 17px;
  padding: 15px 32px;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.hero :focus-visible,
.results :focus-visible,
.footer :focus-visible {
  outline-color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 0.7, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Utility bar ---------- */

.utility {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
}

.utility__left,
.utility__right {
  display: flex;
  align-items: center;
  gap: 26px;
}

.utility__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  letter-spacing: 0.02em;
}

.utility__item svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  opacity: 0.72;
}

.utility__availability {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 5px 14px;
}

.utility__phone {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.utility__phone:hover {
  color: var(--stone);
}

/* ---------- Header ---------- */

.header {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  z-index: 60;
}

.header__overlay {
  display: none;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 104px;
  flex-wrap: nowrap;
  position: relative;
  z-index: 2;
}

.header__logo {
  flex-shrink: 0;
  display: block;
}

.header__logo img {
  width: 117px;
  height: 64px;
  object-fit: contain;
  max-width: none;
  flex-shrink: 0;
}

.header__toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  width: 48px;
  height: 44px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  padding: 0;
}

.header__toggle-bar {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--navy-deep);
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.header__toggle-bar:nth-child(1) {
  top: 14px;
}

.header__toggle-bar:nth-child(2) {
  top: 21px;
}

.header__toggle-bar:nth-child(3) {
  top: 28px;
}

.header.is-open .header__toggle-bar:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.header.is-open .header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.header.is-open .header__toggle-bar:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.header__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav-item {
  flex-shrink: 0;
}

.header__nav-link {
  display: block;
  font-size: var(--nav-fs);
  font-weight: 500;
  letter-spacing: 0.015em;
  color: var(--navy-deep);
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
  flex-shrink: 0;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.header__nav-link:hover::after,
.header__nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.header__nav-link[aria-current="page"] {
  color: var(--navy);
}

.header__nav-extras {
  display: none;
}

.header__cta {
  flex-shrink: 0;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px) 0;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--navy-deep);
  background-image: url("../assets/images/bg-hero.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: calc(100vh - var(--site-chrome-height));
  height: calc(100dvh - var(--site-chrome-height));
  height: calc(100svh - var(--site-chrome-height));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    96deg,
    rgba(9, 19, 36, 0.94) 0%,
    rgba(11, 23, 42, 0.88) 34%,
    rgba(18, 35, 61, 0.58) 62%,
    rgba(18, 35, 61, 0.3) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 0;
  padding-right: 0;
}

.hero__content {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: min(100%, 640px);
  width: min(100%, 55%);
  min-width: 0;
  padding-inline: clamp(0px, 1.5vw, 12px);
}

.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 20px;
}

.hero__title {
  font-size: clamp(40px, 4.9vw, 74px);
  line-height: 1.02;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 26px;
}

.hero__title-line {
  display: block;
}

.hero__title em {
  font-style: italic;
}

.hero__rule {
  width: 78px;
  height: 2px;
  background: var(--stone);
  border: 0;
  margin: 0 0 26px;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.84);
  font-size: 17.5px;
  line-height: 1.7;
  max-width: 50ch;
  margin: 0 0 30px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  row-gap: 22px;
}

.hero__phone {
  display: inline-flex;
  align-items: baseline;
  gap: 11px;
  font-family: var(--ff-display);
  font-size: var(--hero-phone-fs);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero__phone svg {
  width: 19px;
  height: 19px;
  transform: translateY(2px);
  opacity: 0.85;
}

.hero__phone:hover {
  color: var(--stone);
}

.hero__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.hero__visual::after {
  content: "";
  position: absolute;
  right: 2%;
  bottom: 0;
  width: 74%;
  height: 180px;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 100%, rgba(143, 143, 138, 0.24), transparent 70%);
}

.hero__image {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
}

/* ---------- Accolades strip ---------- */

.accolades {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.accolades__inner {
  padding-top: 44px;
  padding-bottom: 44px;
}

.accolades__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.accolades__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0;
}

.accolades__claim {
  font-family: var(--ff-display);
  font-size: 19px;
  font-style: italic;
  color: var(--navy);
  margin: 0;
}

.accolades__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: center;
}

.accolades__slot {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  border-right: 1px solid var(--line);
}

.accolades__slot:last-child {
  border-right: 0;
}

.accolades__slot img {
  width: auto;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity 0.3s ease;
}

.accolades__slot:hover img {
  opacity: 1;
}

.accolades__slot--forum img {
  height: 84px;
}

.accolades__slot--trial img {
  height: 74px;
}

.accolades__slot--super img {
  height: 44px;
}

.accolades__slot--justice img {
  height: 58px;
}

/* ---------- About ---------- */

.about {
  background: #fff;
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 76px;
  align-items: center;
  padding-top: 104px;
  padding-bottom: 104px;
}

.about__media {
  position: relative;
  min-width: 0;
}

.about__image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: 30% 55%;
  position: relative;
  z-index: 1;
}

.about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  transform: translate(22px, 22px);
  z-index: 0;
  pointer-events: none;
}

.about__badge {
  position: absolute;
  left: -1px;
  bottom: -1px;
  background: var(--navy);
  color: #fff;
  padding: 24px 30px;
  max-width: 236px;
  z-index: 2;
}

.about__badge b {
  display: block;
  font-family: var(--ff-display);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
}

.about__badge i {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 9px;
}

.about__copy {
  min-width: 0;
}

.about__title {
  font-size: clamp(30px, 3.4vw, 50px);
  color: var(--navy-deep);
  margin: 0 0 14px;
}

.about__title em {
  font-style: italic;
  color: var(--navy);
}

.about__kicker {
  font-family: var(--ff-display);
  font-size: clamp(19px, 1.5vw, 23px);
  font-style: italic;
  color: var(--navy);
  margin: 0 0 26px;
}

.about__copy p {
  color: var(--muted);
  margin: 0 0 20px;
}

.about__special {
  border-left: 3px solid var(--navy);
  background: var(--paper);
  padding: 22px 26px;
  margin: 30px 0 32px;
  color: var(--navy-deep);
  font-size: 17px;
  line-height: 1.68;
}

.about__special a {
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid rgba(27, 53, 94, 0.32);
}

/* ---------- Practice ---------- */

.practice {
  background: var(--paper);
}

.practice .container {
  padding-top: 104px;
  padding-bottom: 104px;
}

.practice__head {
  max-width: 760px;
  margin: 0 0 52px;
}

.practice__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.practice-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.34s ease,
    box-shadow 0.34s ease,
    border-color 0.34s ease;
}

.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(10, 22, 42, 0.13);
  border-color: var(--line);
}

.practice-card__media {
  position: relative;
  height: 212px;
  overflow: hidden;
  background: var(--navy-deep);
}

.practice-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.practice-card:hover .practice-card__media img {
  transform: scale(1.055);
}

.practice-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 42, 0) 42%, rgba(10, 22, 42, 0.52) 100%);
}

.practice-card__body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.practice-card__title {
  font-size: 24px;
  color: var(--navy-deep);
  margin: 0 0 12px;
}

.practice-card__body p {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--muted-2);
  margin: 0 0 20px;
}

.practice-card__more {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.practice-card__more span {
  width: 22px;
  height: 1px;
  background: var(--navy);
  transition: width 0.3s ease;
}

.practice-card:hover .practice-card__more span {
  width: 34px;
}

/* ---------- Results ---------- */

.results {
  background: var(--navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.results::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 0 1px,
    transparent 1px 96px
  );
  pointer-events: none;
}

.results .container {
  position: relative;
  padding-top: 104px;
  padding-bottom: 104px;
}

.results__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.results__title {
  font-size: clamp(30px, 3.4vw, 50px);
  color: #fff;
}

.results__title em {
  font-style: italic;
}

.results__note {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.results__ledger {
  list-style: none;
  margin: 0;
  padding: 0;
}

.results__row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: padding-left 0.34s ease, background 0.34s ease;
}

.results__row:hover {
  padding-left: 14px;
  background: rgba(255, 255, 255, 0.028);
}

.results__docket {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.42);
  padding-top: 12px;
}

.results__disposition {
  font-family: var(--ff-display);
  font-size: clamp(27px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.06;
  color: #fff;
  letter-spacing: -0.01em;
}

.results__charge {
  font-family: var(--ff-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
  text-align: right;
  padding-top: 12px;
}

.results__foot {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.results__foot p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14.5px;
  max-width: 56ch;
}

/* ---------- Values ---------- */

.values {
  background: #fff;
}

.values .container {
  padding-top: 104px;
  padding-bottom: 104px;
}

.values__head {
  max-width: 720px;
  margin: 0 0 56px;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.values__item {
  padding: 40px 34px 40px 0;
  border-right: 1px solid var(--line);
  position: relative;
}

.values__item:last-child {
  border-right: 0;
  padding-right: 0;
}

.values__item:not(:first-child) {
  padding-left: 34px;
}

.values__item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--navy);
  transition: width 0.5s cubic-bezier(0.22, 0.7, 0.3, 1);
}

.values__item:hover::before {
  width: 100%;
}

.values__title {
  font-size: 21px;
  line-height: 1.22;
  color: var(--navy-deep);
  margin: 0 0 14px;
  min-height: 2.44em;
}

.values__item p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted-2);
  margin: 0;
}

.values__mark {
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--stone);
  display: block;
  margin: 0 0 18px;
  letter-spacing: 0.04em;
}

/* ---------- Testimonial ---------- */

.testimonial {
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}

.testimonial__inner {
  padding-top: 96px;
  padding-bottom: 96px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.testimonial__mark {
  font-family: var(--ff-display);
  font-size: 190px;
  line-height: 0.72;
  color: var(--navy);
  opacity: 0.09;
  display: block;
  height: 96px;
  user-select: none;
}

.testimonial__title {
  font-size: clamp(28px, 3.1vw, 44px);
  color: var(--navy-deep);
  margin: 0 0 34px;
}

.testimonial__title em {
  font-style: italic;
  color: var(--navy);
}

.testimonial__quote {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(23px, 2.5vw, 36px);
  line-height: 1.42;
  color: var(--navy);
  margin: 0 auto 26px;
  max-width: 22ch;
}

.testimonial__name {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--stone-deep);
  margin: 0;
}

.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 0 0 28px;
}

.testimonial__stars svg {
  width: 17px;
  height: 17px;
  fill: var(--navy);
  opacity: 0.8;
}

/* ---------- Contact ---------- */

.contact {
  background: #fff;
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 80px;
  align-items: start;
  padding-top: 104px;
  padding-bottom: 104px;
}

.contact__title {
  font-size: clamp(30px, 3.4vw, 48px);
  color: var(--navy-deep);
  margin: 0 0 18px;
}

.contact__title em {
  font-style: italic;
  color: var(--navy);
}

.contact__copy p {
  color: var(--muted);
  margin: 0 0 30px;
  max-width: 46ch;
}

.contact__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.contact__fact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact__fact svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 5px;
  color: var(--navy);
}

.contact__fact b {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 5px;
}

.contact__fact span {
  font-size: 16.5px;
  color: var(--navy-deep);
}

.contact__fact a:hover {
  color: var(--navy);
}

.form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 44px;
  min-width: 0;
}

.form__title {
  font-family: var(--ff-display);
  font-size: 26px;
  color: var(--navy-deep);
  margin: 0 0 8px;
}

.form__note {
  font-size: 14.5px;
  color: var(--muted-2);
  margin: 0 0 28px;
}

.form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field__label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-deep);
}

.field__input {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 16px;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

input.field__input,
select.field__input {
  height: 40px;
}

.field__input--textarea {
  height: 120px;
  padding: 12px 16px;
  resize: vertical;
  line-height: 1.6;
}

.field__input--select {
  appearance: none;
  cursor: pointer;
  background-image: url("../assets/images/icon-select.svg");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.field__input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 53, 94, 0.13);
}

.form__submit {
  width: 100%;
  margin-top: 24px;
}

.form__fine {
  font-size: 12.5px;
  line-height: 1.62;
  color: #7c8494;
  margin: 18px 0 0;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.footer .container {
  padding-top: 76px;
  padding-bottom: 34px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__logo {
  width: 206px;
  height: auto;
  max-width: none;
  margin-bottom: 24px;
}

.footer__brand p {
  margin: 0 0 22px;
  max-width: 40ch;
  line-height: 1.7;
}

.footer__heading {
  font-family: var(--ff-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 22px;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 26px;
}

.footer__links li {
  margin: 0 0 12px;
  break-inside: avoid;
}

.footer__links a:hover {
  color: #fff;
}

.footer__contact p {
  margin: 0 0 16px;
  line-height: 1.66;
}

.footer__phone {
  display: block;
  font-family: var(--ff-display);
  font-size: 26px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 6px;
}

.footer__phone:hover {
  color: var(--stone);
}

.footer__bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.46);
}

.footer__bottom p {
  margin: 0;
}

.concept {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.5);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 20px;
}

/* ---------- Progressive header scaling (before hamburger) ---------- */

@media (max-width: 1400px) {
  .header__nav,
  .header__nav-list {
    gap: 22px;
  }

  .header__nav-link {
    font-size: 15px;
  }

  .header__cta .btn {
    font-size: 16px;
    padding: 14px 26px;
  }

  .about__inner {
    gap: 48px;
  }

  .practice__grid {
    gap: 22px;
  }
}

@media (max-width: 1280px) {
  :root {
    --pad: 34px;
  }

  .header__inner {
    gap: 16px;
  }

  .header__nav,
  .header__nav-list {
    gap: 16px;
  }

  .header__nav-link {
    font-size: clamp(13px, 1.05vw, 14px);
  }

  .header__cta .btn {
    font-size: 14px;
    padding: 13px 18px;
  }
}

/* ---------- Hamburger / slide-in panel ---------- */

@media (max-width: 1200px) {
  .header__cta {
    display: none;
  }

  .header__toggle {
    display: block;
  }

  .header__overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(10, 22, 42, 0.55);
  }

  .header.is-open .header__overlay {
    display: block;
  }

  .header__inner {
    z-index: 2;
    min-height: 88px;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100%;
    height: 100dvh;
    margin: 0;
    padding: 84px 28px 40px;
    background: #fff;
    box-shadow: -18px 0 40px rgba(10, 22, 42, 0.16);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .header.is-open .header__nav {
    transform: translateX(0);
  }

  .header.is-open .header__toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 4;
    background: #fff;
  }

  .header__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .header__nav-link {
    font-size: 17px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .header__nav-link::after {
    display: none;
  }

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 24px;
  }

  .header__nav-phone {
    font-family: var(--ff-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--navy-deep);
  }

  .header__nav-extras .btn {
    width: 100%;
    white-space: normal;
    line-height: 1.35;
    text-align: center;
  }
}

/* ---------- Layout stacking ---------- */

@media (max-width: 1140px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .about__image {
    height: 480px;
  }

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

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

  .values__item {
    border-bottom: 1px solid var(--line);
  }

  .values__item:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }

  .values__item:nth-child(n + 3) {
    padding-left: 0;
  }

  .values__item:nth-child(3) {
    padding-left: 0;
  }

  .values__item:nth-child(4) {
    padding-left: 34px;
  }

  .values__title {
    min-height: 0;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-top: 80px;
    padding-bottom: 80px;
  }

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

  .accolades__slot:nth-child(2) {
    border-right: 0;
  }

  .accolades__slot:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    font-size: 17px;
    padding: 16px 24px;
  }

  .btn--sm {
    font-size: 16px;
    padding: 14px 22px;
  }
}

@media (max-width: 768px) {
  :root {
    --pad: 22px;
    --cta-fs: 17px;
    --hero-phone-fs: 22px;
  }

  body {
    font-size: 16px;
  }

  .utility {
    font-size: 13px;
  }

  .utility__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .utility__left,
  .utility__right {
    gap: 16px;
    flex-wrap: wrap;
  }

  .utility__item--address {
    display: none;
  }

  .hero {
    height: auto;
    min-height: calc(100vh - var(--site-chrome-height));
    min-height: calc(100dvh - var(--site-chrome-height));
    min-height: calc(100svh - var(--site-chrome-height));
    padding: clamp(32px, 6vw, 52px) clamp(20px, 5vw, 28px) 0;
    overflow: hidden;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(9, 19, 36, 0.94) 0%,
      rgba(11, 23, 42, 0.88) 52%,
      rgba(18, 35, 61, 0.72) 100%
    );
  }

  .hero__inner {
    height: auto;
    align-items: stretch;
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
    padding: 0 0 28px;
    padding-inline: clamp(4px, 2vw, 12px);
  }

  .hero__title {
    font-size: clamp(33px, 9vw, 46px);
  }

  .hero__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    justify-content: center;
  }

  .hero__image {
    height: auto;
    width: min(92%, 380px);
    max-width: 100%;
  }

  .hero__actions {
    gap: 20px;
  }

  .about__inner,
  .practice .container,
  .results .container,
  .values .container,
  .contact__inner {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .testimonial__inner {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .about__image {
    height: 360px;
  }

  .about__media::after {
    transform: translate(12px, 12px);
  }

  .about__badge {
    padding: 18px 22px;
    max-width: 200px;
  }

  .about__badge b {
    font-size: 32px;
  }

  .practice__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .practice-card__media {
    height: 200px;
  }

  .accolades__slot {
    height: 96px;
    padding: 10px 14px;
  }

  .accolades__slot--forum img {
    height: 70px;
  }

  .accolades__slot--trial img {
    height: 62px;
  }

  .accolades__slot--super img {
    height: 38px;
  }

  .accolades__slot--justice img {
    height: 48px;
  }

  .results__row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 26px 0;
  }

  .results__docket {
    padding-top: 0;
  }

  .results__charge {
    text-align: left;
    padding-top: 0;
    white-space: normal;
  }

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

  .values__item,
  .values__item:nth-child(n) {
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .form {
    padding: 28px 22px;
  }

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

  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__links {
    columns: 1;
  }

  .footer .container {
    padding-top: 56px;
  }
}

@media (max-width: 640px) {
  .hero__actions .btn {
    width: 100%;
  }
}
