@font-face {
  font-family: "Castoro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/castoro-400.woff2") format("woff2");
}

@font-face {
  font-family: "Castoro";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/castoro-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Proza Libre";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/proza-libre-400.woff2") format("woff2");
}

@font-face {
  font-family: "Proza Libre";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/proza-libre-500.woff2") format("woff2");
}

@font-face {
  font-family: "Proza Libre";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/proza-libre-600.woff2") format("woff2");
}

@font-face {
  font-family: "Proza Libre";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/proza-libre-700.woff2") format("woff2");
}

:root {
  --ink: #1e1a1c;
  --ink-deep: #151214;
  --ink-soft: #2b2528;
  --crimson: #a31e36;
  --crimson-deep: #6f1324;
  --brass: #c4a26a;
  --marble: #f3f1f1;
  --paper: #ffffff;
  --text: #2e282b;
  --muted: #6b6266;
  --serif: "Castoro", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Proza Libre", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --pad: 45px;
  --container-max: 1320px;
  --site-chrome-height: 117px;
  --nav-breakpoint: 1200px;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
  font-family: var(--serif);
}

p {
  margin: 0;
}

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

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

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

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

.btn--primary:hover {
  background: var(--crimson-deep);
  border-color: var(--crimson-deep);
}

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

.btn--light:hover {
  background: #fff;
  color: var(--ink);
}

.btn--dark {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn--dark:hover {
  background: var(--ink);
  color: #fff;
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
}

.phone__icon,
.contact__icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  opacity: 0.9;
}

.phone__icon svg,
.contact__icon svg {
  width: 19px;
  height: 19px;
}

.header {
  position: relative;
  z-index: 5;
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__overlay {
  display: none;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 32px);
  padding-top: 16px;
  padding-bottom: 16px;
}

.header__logo {
  display: flex;
  flex-shrink: 0;
  min-width: max-content;
}

.header__logo img {
  height: 84px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
}

.header__toggle {
  display: none;
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.header__toggle-bar {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 1.8px;
  background: currentColor;
  border-radius: 1px;
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

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

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

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

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

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

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

.header__nav {
  margin-left: auto;
}

.header__nav-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(12px, 1.5vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.header__nav-item {
  flex-shrink: 0;
  min-width: max-content;
}

.header__nav-link {
  display: inline-block;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: clamp(13px, 0.9vw, 16px);
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  padding: 8px 0;
  background: linear-gradient(var(--crimson), var(--crimson)) left bottom / 0 2px no-repeat;
  transition: background-size 0.25s, color 0.2s;
}

.header__nav-link:hover {
  color: #fff;
  background-size: 100% 2px;
}

.header__nav-extras {
  display: none;
}

.header__cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(10px, 1.2vw, 22px);
  padding-left: clamp(12px, 1.6vw, 34px);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.header__call {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 1.2;
}

.header__call-label {
  font-size: clamp(11px, 0.75vw, 13px);
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 4px;
}

.header__call-number {
  font-size: clamp(14px, 1vw, 19px);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.header__consult {
  flex-shrink: 0;
  font-size: clamp(13px, 0.95vw, 18px);
  padding: clamp(11px, 0.85vw, 16px) clamp(14px, 1.2vw, 24px);
  white-space: nowrap;
}

.hero {
  position: relative;
  padding: clamp(24px, 4vw, 56px) 0 0;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  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: url("../assets/images/bg-hero.jpg") center 40% / cover no-repeat;
  opacity: 0.42;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(30, 26, 28, 0.92) 30%, rgba(30, 26, 28, 0.35) 62%, rgba(30, 26, 28, 0.15) 100%),
    linear-gradient(0deg, rgba(21, 18, 20, 0.85) 0%, rgba(21, 18, 20, 0) 32%);
}

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

.hero__content {
  max-width: min(48%, 620px);
  padding: clamp(8px, 1.5vw, 20px) clamp(4px, 1vw, 12px);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(16px, 1.4vw, 22px);
  color: var(--brass);
  margin-bottom: 22px;
}

.hero__eyebrow::before {
  content: "";
  width: 46px;
  height: 2px;
  flex: none;
  background: var(--crimson);
}

.hero__title {
  line-height: 0.9;
  letter-spacing: -0.015em;
  margin-bottom: 40px;
}

.hero__amount {
  display: block;
  font-size: clamp(92px, 10.5vw, 178px);
  letter-spacing: -0.035em;
}

.hero__words {
  display: block;
  font-size: clamp(34px, 3.6vw, 62px);
  line-height: 1.05;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.94);
}

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

.hero__actions .phone {
  color: #fff;
}

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

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

.accolades {
  background: var(--ink-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.accolades__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.accolades__item {
  flex: 1 1 0;
  height: 96px;
  display: grid;
  place-items: center;
  min-width: 0;
}

.accolades__badge {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.88;
}

.accolades__item--advocates .accolades__badge {
  height: 94px;
}

.accolades__item--top100 .accolades__badge {
  height: 67px;
}

.accolades__item--super .accolades__badge {
  height: 45px;
}

.accolades__item--aaj .accolades__badge {
  height: 54px;
}

.section {
  padding: 120px 0;
}

.section__title {
  font-size: 54px;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

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

.about {
  background: var(--marble);
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 96px;
  align-items: center;
}

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

.about__figure::before {
  content: "";
  position: absolute;
  inset: 28px -28px -28px 28px;
  background: var(--crimson);
}

.about__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about__caption {
  position: absolute;
  left: -1px;
  bottom: 44px;
  background: var(--ink);
  color: #fff;
  padding: 22px 30px 22px 28px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.25;
  max-width: 78%;
}

.about__place {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--brass);
  margin-top: 6px;
}

.about__title {
  color: var(--ink);
  margin-bottom: 34px;
  max-width: 15ch;
}

.about__text {
  color: #4a4246;
  max-width: 62ch;
}

.about__text + .about__text {
  margin-top: 20px;
}

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

.about__actions .phone {
  color: var(--ink);
}

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

.practice__title {
  color: var(--ink);
}

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

.card {
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--ink);
}

.card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 26, 28, 0) 35%, rgba(30, 26, 28, 0.55) 60%, rgba(21, 18, 20, 0.94) 100%);
}

.card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 30px 28px 28px;
  border-top: 3px solid transparent;
}

.card__title {
  font-size: 26px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.card__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--crimson);
  transition: transform 0.25s;
}

.card__icon svg {
  width: 14px;
  height: 14px;
}

.card:hover .card__image {
  transform: scale(1.045);
}

.card:hover .card__icon {
  transform: translateX(4px);
}

.results {
  position: relative;
  color: #fff;
  isolation: isolate;
  background: var(--crimson-deep);
}

.results::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/images/bg-results.jpg") center / cover;
  opacity: 0.55;
  z-index: -1;
}

.results__title {
  color: #fff;
}

.results__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.result {
  padding: 44px 34px 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

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

.result__amount {
  font-family: var(--serif);
  font-size: 62px;
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 16px;
}

.result__type {
  font-size: 19px;
  font-weight: 600;
  display: block;
  margin-bottom: 24px;
  min-height: 2.6em;
  line-height: 1.3;
}

.result__link {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 3px;
  color: #fff;
}

.result__link:hover {
  color: var(--brass);
}

.results__note {
  margin-top: 44px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

.values {
  background: var(--marble);
}

.values__inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 96px;
  align-items: stretch;
}

.values__visual {
  position: relative;
  min-height: 560px;
}

.values__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.values__visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: var(--crimson);
}

.values__title {
  color: var(--ink);
  margin-bottom: 60px;
}

.values__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 64px;
}

.value__icon {
  width: 46px;
  height: 46px;
  color: var(--crimson);
  margin-bottom: 22px;
}

.value__title {
  font-size: 28px;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 12px;
}

.value__text {
  color: #4a4246;
  font-size: 16px;
  margin-bottom: 16px;
  max-width: 40ch;
}

.value__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--crimson);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.value__link:hover {
  color: var(--crimson-deep);
}

.testimonials {
  position: relative;
  background: var(--ink);
  color: #fff;
  text-align: center;
  isolation: isolate;
}

.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/images/bg-testimonials.jpg") center 45% / cover;
  opacity: 0.32;
  z-index: -1;
}

.testimonials__title {
  margin-bottom: 26px;
}

.testimonials__stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  color: var(--brass);
  margin-bottom: 40px;
}

.testimonials__stars svg {
  width: 22px;
  height: 22px;
}

.testimonials__quote {
  margin: 0 auto;
  max-width: 960px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

.testimonials__cite {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
}

.testimonials__cite::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--crimson);
}

.testimonials__action {
  margin-top: 52px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--marble);
}

.contact__panel {
  position: relative;
  color: #fff;
  background: var(--ink);
  isolation: isolate;
  display: flex;
  justify-content: flex-end;
}

.contact__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/images/bg-contact.jpg") center / cover;
  opacity: 0.38;
  z-index: -1;
}

.contact__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(21, 18, 20, 0.9), rgba(21, 18, 20, 0.35));
}

.contact__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
  padding: 120px 80px 120px calc(2.5vw + var(--pad));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact__title {
  margin-bottom: 26px;
  max-width: 14ch;
}

.contact__text {
  color: rgba(255, 255, 255, 0.8);
  max-width: 44ch;
  margin-bottom: 44px;
}

.contact__list {
  display: grid;
  gap: 26px;
}

.contact__list .phone {
  color: #fff;
}

.contact__address {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 18px;
  line-height: 1.5;
  font-style: normal;
}

.contact__form-wrap {
  padding: 120px calc(2.5vw + var(--pad)) 120px 80px;
  max-width: 760px;
}

.contact__form-title {
  font-size: 36px;
  color: var(--ink);
  margin-bottom: 8px;
}

.contact__form-intro {
  color: var(--muted);
  margin-bottom: 34px;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

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

.form__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.form__control {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d3cdcf;
  border-radius: 8px;
  padding: 0 16px;
  height: 40px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form__control--select {
  appearance: none;
  background: #fff url("../assets/images/icon-chevron.svg") right 16px center no-repeat;
  padding-right: 40px;
}

.form__control--area {
  height: 120px;
  padding: 11px 16px;
  resize: vertical;
}

.form__control:focus {
  outline: none;
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(163, 30, 54, 0.15);
}

.form__foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.form__note {
  font-size: 13px;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.5;
}

.footer {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.78);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-top: 90px;
  padding-bottom: 70px;
}

.footer__logo img {
  height: 110px;
  width: auto;
  max-width: none;
}

.footer__heading {
  margin: 0 0 20px;
  font-size: 22px;
  color: #fff;
}

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

.footer__link,
.footer a {
  text-decoration: none;
  font-size: 16px;
}

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

.footer__address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer .phone {
  font-size: 22px;
  color: #fff;
}

.footer .phone__icon {
  width: 40px;
  height: 40px;
}

.footer__text {
  font-size: 16px;
  margin-bottom: 24px;
  max-width: 30ch;
}

.footer__consult {
  font-size: 18px;
  padding: 16px 28px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer__legal {
  max-width: 90ch;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow,
  .hero__title,
  .hero__actions {
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero__eyebrow {
    animation-delay: 0.05s;
  }

  .hero__title {
    animation-delay: 0.15s;
  }

  .hero__actions {
    animation-delay: 0.3s;
  }

  .hero__image {
    animation: team 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes team {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1500px) {
  .hero__amount {
    font-size: 156px;
  }

  .hero__words {
    font-size: 54px;
  }
}

@media (max-width: 1280px) {
  .hero__amount {
    font-size: 124px;
  }

  .hero__words {
    font-size: 44px;
  }

  .about__inner,
  .values__inner {
    gap: 64px;
  }

  .section__title {
    font-size: 46px;
  }

  .result {
    padding-left: 24px;
    padding-right: 24px;
  }

  .result:first-child {
    padding-left: 0;
  }

  .result__amount {
    font-size: 50px;
  }

  .contact__inner {
    padding-right: 56px;
  }

  .contact__form-wrap {
    padding-left: 56px;
  }
}

@media (max-width: 1200px) {
  .header__overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(21, 18, 20, 0.55);
  }

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

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

  .header__toggle {
    display: block;
    z-index: 3;
  }

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

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2;
    width: min(360px, 88vw);
    height: 100%;
    height: 100dvh;
    margin-left: 0;
    padding: 84px 28px 40px;
    background: var(--ink);
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
  }

  .header.is-open .header__nav {
    visibility: visible;
    transform: none;
    transition: transform 0.3s ease, visibility 0s linear 0s;
  }

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

  .header__nav-link {
    display: block;
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: none;
  }

  .header__nav-link:hover {
    background: none;
    color: #fff;
  }

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .header__nav-extras .header__call {
    align-items: flex-start;
  }

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

  .header__cta {
    display: none;
  }
}

@media (max-width: 1100px) {
  .hero__amount {
    font-size: 96px;
  }

  .hero__words {
    font-size: 36px;
  }

  .hero__content {
    max-width: min(46%, 480px);
  }

  .hero__visual {
    width: 44%;
  }

  .about__inner,
  .values__inner {
    grid-template-columns: 1fr;
  }

  .about__figure {
    max-width: 560px;
  }

  .values__visual {
    min-height: 420px;
    order: 2;
  }

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

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

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

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

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

  .contact__panel {
    justify-content: flex-start;
  }

  .contact__inner,
  .contact__form-wrap {
    max-width: none;
    padding: 90px calc(2.5vw + var(--pad));
  }

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

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

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

  body {
    font-size: 16px;
  }

  .hero {
    height: auto;
    padding-top: clamp(32px, 7vw, 48px);
  }

  .hero .container {
    padding-left: clamp(24px, 6vw, 40px);
    padding-right: clamp(24px, 6vw, 40px);
  }

  .hero__inner {
    height: auto;
  }

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

  .hero__eyebrow {
    font-size: 18px;
  }

  .hero__amount {
    font-size: 104px;
  }

  .hero__words {
    font-size: 38px;
  }

  .hero__actions {
    flex-wrap: wrap;
    gap: 18px;
  }

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

  .hero__image {
    animation: none;
    object-position: bottom center;
  }

  .section {
    padding: 80px 0;
  }

  .section__title {
    font-size: 38px;
  }

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

  .about__caption {
    font-size: 20px;
    padding: 16px 20px;
  }

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

  .card {
    aspect-ratio: 4 / 3;
  }

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

  .result,
  .result:nth-child(3) {
    border-left: 0;
    padding: 30px 0 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }

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

  .testimonials__quote {
    font-size: 22px;
  }

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

  .contact__inner,
  .contact__form-wrap {
    padding: 72px calc(2.5vw + var(--pad));
  }

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

  .accolades__inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .accolades__item {
    flex: 0 0 calc(50% - 7px);
    height: 84px;
  }

  .accolades__item--advocates .accolades__badge {
    height: 75px;
  }

  .accolades__item--top100 .accolades__badge {
    height: 54px;
  }

  .accolades__item--super .accolades__badge {
    height: 36px;
  }

  .accolades__item--aaj .accolades__badge {
    height: 43px;
  }
}

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

  .hero__actions .btn {
    width: 100%;
  }

  .phone {
    font-size: 20px;
  }

  .phone__icon,
  .contact__icon {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header__nav,
  .header__toggle-bar,
  .hero__eyebrow,
  .hero__title,
  .hero__actions,
  .hero__image {
    animation: none;
    transition: none;
  }
}
