:root {
  --navy: #0d2236;
  --harbor: #163a57;
  --cyan: #009ecf;
  --cyan-deep: #0079a3;
  --sky: #8fd6ee;
  --ice: #eef4f8;
  --ink: #1e2d3b;
  --mute: #5b6b7a;
  --line: #d5e0e8;
  --white: #ffffff;
  --serif: "Castoro", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --pad: 45px;
  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 108px;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

a {
  color: inherit;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  border-radius: 999px;
  padding: 18px 34px;
  border: 2px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  max-width: 100%;
}

.btn--primary {
  background: var(--cyan);
  color: var(--navy);
}

.btn--primary:hover {
  background: var(--white);
}

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

.btn--navy:hover {
  background: var(--cyan-deep);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--navy);
}

/* ---------- logo ---------- */
.logo {
  display: block;
  flex-shrink: 0;
  width: 82px;
  max-width: none;
  color: #fff;
}

.logo svg {
  width: 100%;
  height: auto;
  display: block;
  max-width: none;
}

.logo__mark {
  color: #fff;
}

.logo--footer {
  width: 150px;
}

/* ---------- header ---------- */
.header {
  background: var(--navy);
  border-bottom: 3px solid var(--cyan);
  padding-top: env(safe-area-inset-top, 0px);
  position: relative;
  z-index: 100;
}

.header__overlay {
  display: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 108px;
  position: relative;
}

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

.header__nav {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

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

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

.header__nav-link {
  display: block;
  flex-shrink: 0;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  padding: 10px clamp(10px, 1.1vw, 18px);
  border-radius: 999px;
  letter-spacing: 0.01em;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.header__nav-link:hover {
  background: rgba(0, 158, 207, 0.16);
  color: var(--sky);
}

.header__nav-extras {
  display: none;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}

.header__call {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}

.header__call-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--cyan);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.header__call-label {
  display: block;
  font-size: 14px;
  color: var(--sky);
  line-height: 1.2;
}

.header__call-number {
  display: block;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.header__cta-btn {
  font-size: clamp(14px, 1.15vw, 18px);
  padding: clamp(12px, 1vw, 16px) clamp(18px, 1.6vw, 28px);
  white-space: nowrap;
  flex-shrink: 0;
}

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 4;
}

.header__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px) 0;
  overflow: hidden;
  background: var(--navy) url("../assets/images/bg-hero.webp") center / cover 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;
  background: linear-gradient(
    90deg,
    rgba(13, 34, 54, 0.97) 0%,
    rgba(13, 34, 54, 0.9) 34%,
    rgba(13, 34, 54, 0.55) 62%,
    rgba(13, 34, 54, 0.35) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(0deg, rgba(13, 34, 54, 0.85), rgba(13, 34, 54, 0));
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: min(100%, 640px);
  max-width: 55%;
  color: var(--white);
  padding-right: clamp(12px, 2vw, 28px);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  font-weight: 500;
  color: var(--sky);
  margin: 0 0 22px;
}

.hero__eyebrow::before {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--cyan);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 3.45vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0 0 22px;
}

.hero__title-line {
  display: block;
}

.hero__title-accent {
  font-style: italic;
  color: var(--sky);
}

.hero__text {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 34px;
  max-width: 500px;
}

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

.hero__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  white-space: nowrap;
}

.hero__phone-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 158, 207, 0.18);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

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

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

@media (prefers-reduced-motion: no-preference) {
  .hero__content > * {
    opacity: 0;
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  }

  .hero__content > *:nth-child(2) {
    animation-delay: 0.08s;
  }

  .hero__content > *:nth-child(3) {
    animation-delay: 0.16s;
  }

  .hero__content > *:nth-child(4) {
    animation-delay: 0.24s;
  }

  .hero__image {
    opacity: 0;
    animation: stage 1.1s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes stage {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

.accolades__inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 30px 40px;
  padding-top: 40px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}

.accolades__badge {
  height: auto;
  opacity: 0.88;
}

/* ---------- section scaffolding ---------- */
.section {
  position: relative;
  padding-top: 110px;
  padding-bottom: 110px;
}

.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 3.4vw, 52px);
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--navy);
}

.section__lede {
  font-size: 19px;
  color: var(--mute);
  margin: 0;
}

.section__lede--light {
  color: rgba(255, 255, 255, 0.72);
}

.section__rule {
  width: 64px;
  height: 2px;
  background: var(--cyan);
  border: 0;
  margin: 22px 0 30px;
}

.section__rule--center {
  margin-left: auto;
  margin-right: auto;
}

.section__header {
  text-align: center;
}

.section__title--light {
  color: var(--white);
}

/* ---------- about ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 90px;
  align-items: center;
}

.about__copy p {
  margin: 0 0 20px;
  max-width: 640px;
}

.about__callout {
  position: relative;
  margin: 38px 12px 0 0;
  background: var(--navy);
  color: var(--white);
  padding: 28px 34px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
  max-width: 640px;
  box-shadow: 12px 12px 0 var(--cyan);
}

.about__callout a {
  color: var(--sky);
  text-underline-offset: 4px;
}

.about__actions {
  margin-top: 44px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.about__figure {
  position: relative;
  margin: 0;
}

.about__figure::before {
  content: "";
  position: absolute;
  inset: -22px 22px 22px -22px;
  border: 2px solid var(--cyan);
  z-index: 0;
}

.about__image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 880 / 1060;
  object-fit: cover;
}

.about__caption {
  position: absolute;
  z-index: 2;
  left: -1px;
  bottom: 36px;
  background: var(--white);
  padding: 18px 26px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
  color: var(--navy);
  box-shadow: 0 14px 34px rgba(13, 34, 54, 0.18);
}

.about__caption-meta {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--mute);
  margin-top: 4px;
}

/* ---------- practice ---------- */
.practice {
  background: var(--ice);
}

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

.practice__head .section__title {
  margin: 0;
}

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

.practice__card {
  position: relative;
  display: block;
  aspect-ratio: 640 / 820;
  overflow: hidden;
  border-radius: 14px;
  text-decoration: none;
  color: var(--white);
  background: var(--navy);
}

.practice__card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.practice__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 34, 54, 0) 38%, rgba(13, 34, 54, 0.92) 100%);
}

.practice__card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 28px 30px;
  z-index: 1;
}

.practice__card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 14px;
}

.practice__card-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--sky);
}

.practice__card-more::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: currentColor;
  transition: width 0.3s;
}

.practice__card:hover .practice__card-image {
  transform: scale(1.05);
}

.practice__card:hover .practice__card-more::before {
  width: 40px;
}

/* ---------- results ---------- */
.results {
  background: var(--harbor);
  color: var(--white);
  overflow: hidden;
}

.results::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/images/bg-hero.webp") center / cover;
  opacity: 0.12;
  mix-blend-mode: luminosity;
}

.results .container {
  position: relative;
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.results__item {
  padding: 40px 34px 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.results__item:first-child {
  border-left: 0;
  padding-left: 0;
}

.results__label {
  font-size: 15px;
  font-weight: 500;
  color: var(--sky);
  margin: 0 0 10px;
}

.results__amount {
  font-family: var(--serif);
  font-size: clamp(38px, 3.3vw, 52px);
  line-height: 1;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.results__desc {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 22px;
  min-height: 48px;
}

.results__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  text-underline-offset: 5px;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 2px;
}

.results__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.results__disclaimer {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  max-width: 560px;
}

/* ---------- values ---------- */
.values {
  background: #f3f6f8 url("../assets/images/bg-values.webp") center / cover;
}

.values::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
}

.values .container {
  position: relative;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 30px 60px -30px rgba(13, 34, 54, 0.35);
}

.values__item {
  padding: 46px 36px 42px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.values__item:first-child {
  border-left: 0;
}

.values__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 26px;
}

.values__title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 25px;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 22px;
}

.values__link {
  margin-top: auto;
  font-size: 15px;
  font-weight: 600;
  color: var(--cyan-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.values__link::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: currentColor;
}

/* ---------- testimonials ---------- */
.testimonials__panel {
  position: relative;
  background: var(--navy);
  color: var(--white);
  border-radius: 18px;
  padding: 80px 90px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
  overflow: hidden;
}

.testimonials__panel::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 320px;
  height: 320px;
  border: 2px solid rgba(0, 158, 207, 0.35);
  border-radius: 50%;
}

.testimonials__side .section__title {
  color: var(--white);
  margin-bottom: 16px;
}

.testimonials__stars {
  display: flex;
  gap: 6px;
  color: #f5c451;
}

.testimonials__score {
  font-size: 15px;
  color: var(--sky);
  margin-top: 10px;
}

.testimonials__quote {
  margin: 0;
  position: relative;
  z-index: 1;
}

.testimonials__quote-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 1.9vw, 29px);
  line-height: 1.45;
  margin: 0 0 26px;
}

.testimonials__cite {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  color: var(--sky);
}

.testimonials__actions {
  margin-top: 34px;
}

/* ---------- contact ---------- */
.contact {
  background: var(--ice);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px -36px rgba(13, 34, 54, 0.45);
}

.contact__info {
  position: relative;
  background: var(--navy) url("../assets/images/about-courthouse.webp") center / cover;
  color: var(--white);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.contact__info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13, 34, 54, 0.96) 30%, rgba(22, 58, 87, 0.82));
}

.contact__info > * {
  position: relative;
}

.contact__info .section__title {
  color: var(--white);
}

.contact__intro {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.contact__list-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__list-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--cyan);
  display: grid;
  place-items: center;
}

.contact__list-label {
  display: block;
  color: var(--sky);
  font-size: 14px;
}

.contact__list-value {
  font-style: normal;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
}

.contact__list a {
  text-decoration: none;
}

.contact__form {
  background: var(--white);
  padding: 64px 56px;
}

.contact__form-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  color: var(--navy);
  margin: 0 0 8px;
}

.contact__form-sub {
  color: var(--mute);
  margin: 0 0 30px;
}

.contact__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact__field {
  display: block;
}

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

.contact__input,
.contact__select,
.contact__textarea {
  width: 100%;
  height: 40px;
  border: 1px solid #c9d6e0;
  border-radius: 8px;
  background: #f8fafc;
  padding: 0 14px;
  font: 16px var(--sans);
  color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s;
}

.contact__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230D2236' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.contact__textarea {
  height: 120px;
  padding: 10px 14px;
  resize: vertical;
  line-height: 1.5;
}

.contact__input:focus,
.contact__select:focus,
.contact__textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 158, 207, 0.18);
}

.contact__form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.contact__disclaimer {
  color: var(--mute);
  font-size: 13px;
  max-width: 300px;
  line-height: 1.45;
}

/* ---------- footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.footer__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 70px;
  align-items: start;
  padding-top: 80px;
  padding-bottom: 60px;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 14px 44px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__nav-link {
  text-decoration: none;
  font-size: 16px;
  color: var(--white);
}

.footer__nav-link:hover {
  color: var(--sky);
}

.footer__contact {
  text-align: right;
  font-style: normal;
  line-height: 1.6;
}

.footer__phone {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 10px;
}

.footer__bottom {
  position: relative;
  padding-top: 26px;
  padding-bottom: 30px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--pad);
  right: var(--pad);
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- progressive header scaling ---------- */
@media (max-width: 1400px) {
  .header__inner {
    gap: 24px;
  }

  .header__cta {
    gap: 20px;
  }

  .header__call-icon {
    display: none;
  }
}

@media (max-width: 1320px) {
  .header__call-label {
    display: none;
  }

  .header__inner {
    gap: 16px;
  }

  .header__nav-list {
    gap: 0;
  }
}

/* ---------- mobile nav @ 1200px ---------- */
@media (max-width: 1200px) {
  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(13, 34, 54, 0.55);
    border: 0;
    padding: 0;
    cursor: pointer;
  }

  .header__overlay[hidden] {
    display: none;
  }

  .header__inner {
    position: relative;
    z-index: 2;
  }

  .header__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100vh;
    height: 100dvh;
    padding: 84px 28px 40px;
    background: var(--navy);
    border-left: 3px solid var(--cyan);
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 2;
    overflow-y: auto;
  }

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

  .header.is-open .header__toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 4;
    background: var(--navy);
  }

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

  .header__nav-link {
    font-size: 18px;
    padding: 14px 12px;
  }

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .header__cta {
    display: none;
  }

  .header__nav-extras .header__call-icon {
    display: grid;
  }

  .header__nav-extras .header__call-label {
    display: block;
  }

  .header__nav-extras .header__call-number {
    font-size: 22px;
  }
}

@media (max-width: 1140px) {
  :root {
    --pad: 32px;
  }

  .header__inner {
    height: 96px;
  }

  .logo {
    width: 72px;
  }

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

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

  .values__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

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

  .results__item:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .about__grid {
    gap: 60px;
  }

  .testimonials__panel {
    padding: 64px 56px;
  }
}

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

@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: calc(100svh - var(--site-chrome-height));
    padding: clamp(32px, 5vw, 48px) clamp(20px, 3vw, 32px) 0;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(13, 34, 54, 0.96) 0%,
      rgba(13, 34, 54, 0.86) 55%,
      rgba(13, 34, 54, 0.6) 100%
    );
  }

  .hero__inner {
    height: auto;
    display: block;
  }

  .hero__content {
    max-width: 100%;
    width: 100%;
    padding: clamp(8px, 2vw, 16px) 0 0;
  }

  .hero__visual {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 40px;
    justify-content: center;
  }

  .hero__image {
    height: auto;
    width: 100%;
    max-width: 560px;
  }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .about__figure {
    max-width: 560px;
    margin-left: 22px;
  }

  .practice__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonials__panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .footer__nav {
    justify-content: start;
    grid-template-columns: repeat(2, auto);
  }

  .footer__contact {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: clamp(28px, 5vw, 40px) clamp(16px, 4vw, 24px) 0;
  }

  .hero__content {
    max-width: 100%;
    padding-left: clamp(4px, 1vw, 12px);
    padding-right: clamp(4px, 1vw, 12px);
  }
}

@media (max-width: 640px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

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

@media (max-width: 600px) {
  :root {
    --pad: 20px;
  }

  body {
    font-size: 16px;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .header__inner {
    height: 80px;
    gap: 12px;
  }

  .logo {
    width: 60px;
  }

  .accolades__inner {
    justify-content: center;
    gap: 28px 36px;
  }

  .accolades__badge {
    transform: scale(0.8);
  }

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

  .values__item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .values__item:first-child {
    border-top: 0;
  }

  .results__item {
    border-left: 0;
    padding-left: 0;
  }

  .results__item:nth-child(n + 2) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .about__callout {
    margin-right: 12px;
  }

  .testimonials__panel,
  .contact__form,
  .contact__info {
    padding: 44px 26px;
  }

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