:root {
  --navy: #163055;
  --navy-deep: #0E1F38;
  --navy-hero: #1D2D42;
  --slate: #49687A;
  --slate-soft: #7190A5;
  --brass: #B08A4C;
  --brass-light: #C9A468;
  --paper: #EEF1F4;
  --paper-2: #F7F9FA;
  --line: #D6DEE5;
  --white: #fff;
  --ink: #22303D;
  --pad: 45px;
  --display: "Lora", Georgia, serif;
  --body: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 104px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.16;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(30px, 3vw, 46px);
}

h3 {
  font-size: 22px;
}

p {
  margin-bottom: 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

/* ---------- signature: pediment glyph + two-sides rule ---------- */
.pediment {
  display: block;
  width: 34px;
  height: 14px;
  flex: none;
}

.pediment path {
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.4;
}

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass);
  display: flex;
  align-items: center;
  gap: 14px;
}

.eyebrow::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 90px;
  background: linear-gradient(90deg, var(--brass), transparent);
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--center::before {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 90px;
  background: linear-gradient(270deg, var(--brass), transparent);
}

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

.rule-split {
  position: relative;
  height: 1px;
  background: var(--line);
}

.rule-split::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -4px;
  width: 9px;
  height: 9px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--brass);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--brass);
  color: #fff;
  padding: 15px 32px;
  font-size: 16px;
  border: 1px solid var(--brass);
  transition: background 0.25s, color 0.25s, transform 0.25s;
  white-space: nowrap;
  cursor: pointer;
  max-width: 100%;
  line-height: 1.35;
  text-align: center;
}

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

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

.btn--lg {
  font-size: 20px;
  padding: 19px 42px;
}

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

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

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(22, 48, 85, 0.02);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  height: 104px;
}

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

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

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
  margin-left: auto;
}

.header__nav-link {
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  flex-shrink: 0;
}

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

.header__nav-link:hover::after,
.header__nav-link:focus-visible::after {
  right: 0;
}

.header__nav-close {
  display: none;
}

.header__nav-extras {
  display: none;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 20px);
  padding-left: clamp(14px, 2vw, 30px);
  border-left: 1px solid var(--line);
  flex-shrink: 0;
}

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

.header__tel {
  font-family: var(--display);
  font-size: clamp(16px, 1.4vw, 21px);
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
}

.header__tel small {
  display: block;
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-soft);
  font-weight: 600;
}

.header__burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  z-index: 120;
  flex-shrink: 0;
}

.header__burger-line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.header__burger.is-active .header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__burger.is-active .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header__burger.is-active .header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__overlay {
  display: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px) 0;
  overflow: hidden;
  background: var(--navy-hero) url("../assets/images/bg-hero.jpg") 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(
    96deg,
    rgba(11, 25, 44, 0.94) 0%,
    rgba(14, 31, 56, 0.88) 42%,
    rgba(22, 48, 85, 0.42) 68%,
    rgba(22, 48, 85, 0.18) 100%
  );
}

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

.hero__content {
  position: relative;
  z-index: 3;
  width: min(100%, 55%);
  max-width: 640px;
  padding: clamp(16px, 3vw, 40px) clamp(8px, 2vw, 24px) 0 0;
}

.hero__title {
  color: #fff;
  font-size: clamp(34px, 3.7vw, 58px);
  margin: 20px 0 0;
  font-weight: 600;
}

.hero__title-line {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--brass-light);
  font-size: 0.72em;
  margin-top: 8px;
  letter-spacing: 0;
}

.hero__subtitle {
  color: #D5E0E9;
  font-size: 16.5px;
  font-weight: 300;
  max-width: 600px;
  margin: 24px 0 0;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
  flex-wrap: nowrap;
}

.hero__tel {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__tel svg {
  width: 17px;
  height: 17px;
  fill: var(--brass-light);
  flex: none;
}

.hero__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  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;
}

/* ---------- accolades ---------- */
.accolades {
  background: var(--navy-deep);
  padding: 38px 0;
  position: relative;
}

.accolades::before,
.accolades::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(176, 138, 76, 0.35);
}

.accolades::before {
  top: 0;
}

.accolades::after {
  bottom: 0;
}

.accolades__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}

.accolades__label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate-soft);
  font-weight: 600;
  flex: none;
}

.accolades__badges {
  display: flex;
  align-items: center;
  gap: 46px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.accolades__badge {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.3s;
  flex: none;
}

.accolades__badge:hover {
  opacity: 1;
}

.accolades__badge--1 {
  height: 80px;
}

.accolades__badge--2 {
  height: 70px;
}

.accolades__badge--3 {
  height: 66px;
}

.accolades__badge--4 {
  height: 40px;
}

.accolades__badge--5 {
  height: 62px;
}

/* ---------- about ---------- */
.about {
  padding: 110px 0;
  background: var(--white);
}

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

.about__media {
  padding-right: 56px;
}

.about__frame {
  position: relative;
}

.about__image {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about__frame::after {
  content: "";
  position: absolute;
  left: -16px;
  bottom: -16px;
  width: 130px;
  height: 130px;
  border-left: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
}

.about__rule {
  background: linear-gradient(180deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
  position: relative;
}

.about__rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--brass);
}

.about__copy {
  padding-left: 56px;
}

.about__title {
  margin: 18px 0 22px;
}

.about__copy p {
  color: #4A5C6B;
  font-weight: 300;
}

.about__copy .btn {
  margin-top: 30px;
}

/* ---------- practice ---------- */
.practice {
  padding: 110px 0;
  background: var(--paper);
}

.practice__head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.practice__title {
  margin-top: 18px;
}

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

.practice-card {
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(22, 48, 85, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.practice-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(22, 48, 85, 0.15);
}

.practice-card__thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
}

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

.practice-card:hover .practice-card__thumb img {
  transform: scale(1.06);
}

.practice-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 31, 56, 0) 45%, rgba(14, 31, 56, 0.55) 100%);
}

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

.practice-card__title {
  font-size: 21px;
  line-height: 1.3;
  min-height: 2.6em;
}

.practice-card__body .pediment {
  margin-bottom: 16px;
}

.practice-card__more {
  margin-top: auto;
  padding-top: 20px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass);
  display: flex;
  align-items: center;
  gap: 10px;
}

.practice-card__more span {
  transition: transform 0.3s;
}

.practice-card:hover .practice-card__more span {
  transform: translateX(6px);
}

/* ---------- case results ---------- */
.cases {
  position: relative;
  padding: 104px 0;
  background: var(--navy-deep);
}

.cases__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/images/bg-cases.jpg") center / cover;
  opacity: 0.16;
  mix-blend-mode: luminosity;
}

.cases__inner {
  position: relative;
}

.cases__head {
  text-align: center;
}

.cases__title {
  color: #fff;
  text-align: center;
}

.cases__head .eyebrow {
  margin-bottom: 18px;
}

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

.cases__item {
  padding: 44px 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.cases__item:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.cases__amount {
  font-family: var(--display);
  font-size: clamp(30px, 2.6vw, 40px);
  color: var(--brass-light);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cases__kind {
  color: #C6D3DE;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 12px;
}

.cases__link {
  display: inline-block;
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(176, 138, 76, 0.6);
  padding-bottom: 4px;
  transition: color 0.25s, border-color 0.25s;
}

.cases__link:hover {
  color: var(--brass-light);
  border-color: var(--brass-light);
}

/* ---------- values ---------- */
.values {
  padding: 110px 0;
  background: var(--white);
}

.values__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 80px;
  align-items: start;
}

.values__title {
  margin-top: 18px;
}

.values__text {
  margin-top: 20px;
  color: #4A5C6B;
  font-weight: 300;
}

.values__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.values__item {
  background: #fff;
  padding: 38px 34px;
  position: relative;
}

.values__item .pediment {
  margin-bottom: 18px;
}

.values__item-title {
  font-size: 20px;
  line-height: 1.35;
}

.values__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 2px;
  background: var(--brass);
  transition: width 0.45s ease;
}

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

/* ---------- testimonial ---------- */
.testimonial {
  padding: 104px 0;
  background: var(--paper);
  text-align: center;
}

.testimonial__quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.42;
  color: var(--navy);
  max-width: 1000px;
  margin: 26px auto 0;
}

.testimonial__name {
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
}

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

.testimonial__stars svg {
  width: 19px;
  height: 19px;
  fill: var(--brass);
}

/* ---------- contact ---------- */
.contact {
  background: var(--navy);
  color: #fff;
  padding: 104px 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: start;
}

.contact__title {
  color: #fff;
  margin-top: 18px;
}

.contact__text {
  color: #C6D3DE;
  font-weight: 300;
  margin-top: 20px;
  max-width: 460px;
}

.contact__lines {
  margin-top: 38px;
  display: grid;
  gap: 24px;
}

.contact__line {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact__line--last {
  border-bottom: 0;
}

.contact__line svg {
  width: 19px;
  height: 19px;
  fill: var(--brass-light);
  flex: none;
  margin-top: 5px;
}

.contact__label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-soft);
  font-weight: 600;
}

.contact__value {
  font-family: var(--display);
  font-size: 19px;
  color: #fff;
  line-height: 1.5;
}

.contact-form {
  background: #fff;
  padding: 46px 44px;
}

.contact-form__title {
  font-size: 26px;
  margin-bottom: 6px;
}

.contact-form__sub {
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 28px;
}

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

.contact-form__field {
  margin-bottom: 18px;
}

.contact-form__field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 8px;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 0 14px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.25s, background 0.25s;
}

.contact-form__field textarea {
  height: 120px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.6;
}

.contact-form__field select {
  appearance: none;
  background-image: url("../assets/images/icon-select.svg");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: #fff;
}

.contact-form .btn {
  width: 100%;
  margin-top: 8px;
}

.contact-form__disclaimer {
  font-size: 11.5px;
  color: var(--slate-soft);
  line-height: 1.6;
  margin-top: 16px;
}

/* ---------- footer ---------- */
.footer {
  background: var(--navy-deep);
  color: #A9BCCB;
  padding: 70px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 52px;
}

.footer__logo {
  background: #fff;
  display: inline-block;
  padding: 16px 20px;
}

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

.footer__text {
  font-size: 14.5px;
  font-weight: 300;
  margin-top: 22px;
  max-width: 400px;
  line-height: 1.8;
}

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

.footer__list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer a:hover {
  color: var(--brass-light);
}

.footer__address {
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.9;
  font-weight: 300;
}

.footer__tel {
  font-family: var(--display);
  font-size: 22px;
  color: #fff;
  display: block;
  margin-top: 18px;
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

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

  html {
    scroll-behavior: auto;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1400px) {
  .hero__content {
    width: min(100%, 58%);
  }
}

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

  .header__burger {
    display: block;
  }

  .header__cta {
    display: none;
  }

  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(14, 31, 56, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 110;
  }

  .header__overlay.is-visible {
    opacity: 1;
    visibility: visible;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    margin-left: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 88px 28px 36px;
    border-bottom: 0;
    box-shadow: -18px 0 40px rgba(22, 48, 85, 0.18);
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 120;
    overflow-y: auto;
  }

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

  .header__nav-close {
    display: block;
    position: absolute;
    top: 22px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .header__nav-close::before,
  .header__nav-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    background: var(--navy);
  }

  .header__nav-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .header__nav-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .header__nav-link {
    width: 100%;
    font-size: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .header__nav-link:last-of-type {
    border-bottom: 0;
  }

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 28px;
    width: 100%;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

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

  .header__nav-extras .btn {
    width: 100%;
    white-space: normal;
  }

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

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

  .cases__item:nth-child(3),
  .cases__item:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

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

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

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

@media (max-width: 980px) {
  .btn {
    white-space: normal;
  }

  .hero__actions .btn {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 0;
    padding: clamp(32px, 6vw, 48px) clamp(16px, 4vw, 28px) 0;
  }

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

  .hero__content {
    width: 100%;
    max-width: 100%;
    padding: clamp(20px, 5vw, 40px) 0 0;
  }

  .hero__visual {
    position: relative;
    width: 100%;
    height: 320px;
    margin-top: 26px;
    justify-content: flex-start;
  }

  .hero__image {
    height: 320px;
  }

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

  .about__rule {
    display: none;
  }

  .about__media {
    padding-right: 0;
  }

  .about__copy {
    padding-left: 0;
  }

  .about__image {
    height: 400px;
  }
}

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

  .hero__actions .btn {
    width: 100%;
  }

  .btn--lg {
    font-size: 18px;
    padding: 16px 30px;
  }
}

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

  body {
    font-size: 16px;
  }

  .header__inner {
    height: 84px;
  }

  .about,
  .practice,
  .values {
    padding: 70px 0;
  }

  .cases,
  .testimonial,
  .contact {
    padding: 70px 0;
  }

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

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

  .cases__item {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

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

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

  .contact-form {
    padding: 32px 24px;
  }

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

  .accolades__inner {
    justify-content: center;
  }

  .accolades__badges {
    gap: 26px 30px;
  }

  .accolades__badge--1 {
    height: 62px;
  }

  .accolades__badge--2 {
    height: 54px;
  }

  .accolades__badge--3 {
    height: 50px;
  }

  .accolades__badge--4 {
    height: 30px;
  }

  .accolades__badge--5 {
    height: 46px;
  }
}
