:root {
  --ink: #04152e;
  --navy: #07254f;
  --navy-2: #0c3266;
  --red: #cb2000;
  --red-hi: #e2300c;
  --mist: #edf1f6;
  --steel: #b9c7da;
  --text: #1b2a3f;
  --muted: #4f5f75;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Sofia Sans", "Helvetica Neue", Arial, sans-serif;
  --site-chrome-height: 116px;
  --nav-breakpoint: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
}

p {
  margin: 0;
}

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

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

.sr-only:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 40;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: #fff;
  color: var(--navy);
  border-radius: 8px;
}

:focus-visible {
  outline: 3px solid #ffb199;
  outline-offset: 3px;
}

section {
  position: relative;
}

.container {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding-inline: clamp(20px, 3vw, 45px);
}

.section--large {
  padding: 110px 0;
}

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
}

.section__title {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.005em;
}

.section--dark .section__title {
  color: #fff;
}

.section__lede {
  max-width: 470px;
  color: var(--muted);
  font-size: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  padding: 19px 34px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

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

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

.btn--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px #fff;
}

.topbar {
  height: 4px;
  background: var(--red);
}

.header {
  position: relative;
  z-index: 20;
  background: var(--ink);
  color: #fff;
}

.header__overlay[hidden] {
  display: none;
}

.header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: clamp(14px, 1.4vw, 24px);
  height: 112px;
}

.header__logo {
  display: block;
  flex-shrink: 0;
  width: 150px;
  color: #fff;
}

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

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

.logo--footer img {
  width: 260px;
  max-width: none;
}

.header__toggle {
  display: none;
  position: relative;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  appearance: none;
}

.header__toggle-bar {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

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

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

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

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

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

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

.header__nav {
  display: flex;
  align-items: center;
  min-width: 0;
}

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

.header__nav-link {
  position: relative;
  flex-shrink: 0;
  padding: 10px 0;
  font-size: clamp(14.5px, 0.45vw + 10px, 16px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.86);
}

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

.header__nav-link:hover,
.header__nav-link[aria-current="page"] {
  color: #fff;
}

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

.header__nav-extras {
  display: none;
}

.header__cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(12px, 1.1vw, 20px);
}

.header__cta .btn {
  flex-shrink: 0;
  padding: clamp(13px, 0.4vw + 8px, 19px) clamp(16px, 1.3vw, 28px);
  font-size: clamp(15px, 0.7vw + 7px, 20px);
  line-height: 1.2;
}

.header__phone {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.header__phone-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red);
}

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

.header__phone-number {
  display: block;
  font-size: clamp(18px, 0.9vw + 8px, 22px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  height: calc(100vh - var(--site-chrome-height));
  height: calc(100dvh - var(--site-chrome-height));
  height: calc(100svh - var(--site-chrome-height));
  color: #fff;
  background: var(--ink) url("../assets/images/bg-hero.webp") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(4, 21, 46, 0.97) 0%, rgba(4, 21, 46, 0.9) 38%, rgba(4, 21, 46, 0.55) 62%, rgba(4, 21, 46, 0.35) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: 0;
  pointer-events: none;
}

.hero__content {
  max-width: min(100%, 640px);
  padding-bottom: 0;
  pointer-events: auto;
}

.hero__title {
  font-family: var(--serif);
  font-size: 60px;
  line-height: 1.07;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  max-width: 560px;
  margin-top: 20px;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--steel);
}

.hero__text {
  max-width: 590px;
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

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

.hero__phone {
  display: flex;
  align-items: center;
  flex: none;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.hero__phone-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4);
}

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

.hero__phone-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.hero__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: min(50%, 680px);
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.hero__arch {
  position: absolute;
  right: 4%;
  bottom: 0;
  z-index: 1;
  width: 86%;
  max-width: 500px;
  height: 84%;
  overflow: hidden;
  border-radius: 250px 250px 0 0;
  background: var(--navy) url("../assets/images/bg-arch.webp") center / cover;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.hero__arch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 37, 79, 0.05) 0%, rgba(7, 37, 79, 0.35) 55%, rgba(4, 21, 46, 0.85) 100%);
}

.hero__arch-line {
  position: absolute;
  right: calc(4% - 22px);
  bottom: 0;
  z-index: 0;
  width: 86%;
  max-width: 500px;
  height: calc(84% + 22px);
  border: 1.5px solid rgba(203, 32, 0, 0.85);
  border-bottom: 0;
  border-radius: 250px 250px 0 0;
  pointer-events: none;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
}

.hero__card {
  position: absolute;
  right: clamp(12px, 2vw, 24px);
  bottom: 56px;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 250px;
  padding: 18px 20px 18px 18px;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero__card-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
}

.hero__card-text {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.35;
  color: var(--navy);
}

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

  .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__arch,
  .hero__arch-line {
    animation: fade 1s ease both 0.1s;
  }

  .hero__image {
    animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) both 0.25s;
  }

  .hero__card {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both 0.7s;
  }
}

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

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

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

.accolades__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding-top: 30px;
  padding-bottom: 30px;
}

.accolades__badge {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 116px;
  margin: 0;
  padding: 0 18px;
}

.accolades__badge + .accolades__badge {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.accolades__badge img {
  width: auto;
  max-width: 100%;
  height: auto;
}

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

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

.about__figure::before {
  content: "";
  position: absolute;
  inset: 22px 22px -22px -22px;
  border: 2px solid var(--navy);
  border-radius: 10px;
}

.about__image {
  position: relative;
  width: 100%;
  aspect-ratio: 760 / 860;
  object-fit: cover;
  border-radius: 10px;
}

.about__stat {
  position: absolute;
  right: -28px;
  bottom: 44px;
  padding: 22px 26px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 18px 40px rgba(4, 21, 46, 0.3);
}

.about__stat-value {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 46px;
  line-height: 1;
}

.about__stat-label {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.3;
  color: var(--steel);
}

.about__heading {
  margin-top: 16px;
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
}

.about__lede {
  max-width: 640px;
  margin-top: 22px;
  color: var(--muted);
}

.about__award {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 640px;
  margin-top: 30px;
  padding: 20px 24px;
  border-radius: 10px;
  background: var(--mist);
}

.about__award-mark {
  flex: none;
  color: var(--navy);
}

.about__award-text {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
}

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

.about__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.about__phone:hover {
  color: var(--red);
}

.about__phone svg {
  flex: none;
}

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

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

.practice__card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 600 / 760;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
}

.practice__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.practice__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 21, 46, 0) 38%, rgba(4, 21, 46, 0.62) 66%, rgba(4, 21, 46, 0.95) 100%);
}

.practice__body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 28px 28px 30px;
}

.practice__title {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
}

.practice__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--red);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.practice__more svg {
  flex: none;
}

.practice__card:hover .practice__image {
  transform: scale(1.045);
}

.results {
  color: #fff;
  background: #020b1a url("../assets/images/bg-results.webp") center / cover;
}

.results::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 11, 26, 0.55), rgba(2, 11, 26, 0.82));
}

.results__inner {
  position: relative;
}

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

.results__item {
  padding: 40px 34px 8px 0;
}

.results__item + .results__item {
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.results__amount {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.01em;
}

.results__rule {
  display: block;
  width: 44px;
  height: 3px;
  margin: 20px 0 18px;
  background: var(--red);
}

.results__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.results__text {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.results__note {
  margin-top: 48px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.values__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 90px;
  align-items: center;
}

.values__figure {
  position: relative;
  margin: 0 0 0 22px;
}

.values__figure::before {
  content: "";
  position: absolute;
  inset: -22px 22px 22px -22px;
  border: 2px solid var(--navy);
  border-radius: 250px 250px 10px 10px;
}

.values__image {
  position: relative;
  width: 100%;
  aspect-ratio: 700 / 860;
  object-fit: cover;
  border-radius: 250px 250px 10px 10px;
}

.values__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 54px;
  margin-top: 46px;
}

.values__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--red);
}

.values__title {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.2;
  color: var(--navy);
}

.values__text {
  margin-top: 10px;
  font-size: 17px;
  color: var(--muted);
}

.testimonial {
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: var(--navy);
}

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

.testimonial__inner {
  position: relative;
}

.testimonial .section__title {
  margin-bottom: 30px;
  font-size: 44px;
  color: #fff;
}

.testimonial__mark {
  display: block;
  height: 90px;
  font-family: var(--serif);
  font-size: 180px;
  line-height: 0.7;
  color: var(--red);
}

.testimonial__quote {
  max-width: 940px;
  margin: 28px auto 0;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.38;
}

.testimonial__cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-size: 17px;
  font-weight: 600;
  color: var(--steel);
}

.contact {
  color: #fff;
  background: #020b1a url("../assets/images/bg-contact.webp") center / cover;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 11, 26, 0.92) 0%, rgba(2, 11, 26, 0.7) 55%, rgba(2, 11, 26, 0.45) 100%);
}

.contact__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: 90px;
  align-items: center;
}

.contact__lede {
  max-width: 520px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.8);
}

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

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

.contact__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}

.contact__label {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  color: var(--steel);
}

.contact__value {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.contact__value--emphasis {
  font-size: 24px;
  font-weight: 700;
}

.form {
  padding: 44px 40px;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.form__title {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.15;
  color: var(--navy);
}

.form__note {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

.form__grid {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #c9d3e0;
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font: 500 16px var(--sans);
}

.form__field select {
  padding-right: 42px;
  appearance: none;
  color: var(--muted);
}

.form__field--select {
  position: relative;
}

.form__field--select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 1.8px solid var(--navy);
  border-bottom: 1.8px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

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

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(7, 37, 79, 0.15);
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: #6b7a8f;
}

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

.form__fine {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.footer {
  border-top: 4px solid var(--red);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 60px;
  padding-top: 80px;
  padding-bottom: 60px;
}

.footer__blurb {
  max-width: 330px;
  margin-top: 22px;
  line-height: 1.6;
}

.footer__heading {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  color: #fff;
}

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

.footer a {
  text-decoration: none;
}

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

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

.footer__bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-top: 24px;
  padding-bottom: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 1380px) {
  .hero__title {
    font-size: 52px;
  }

  .hero__card {
    width: 220px;
  }
}

@media (max-width: 1200px) {
  .header__toggle {
    display: block;
  }

  .header__cta {
    display: none;
  }

  .header__overlay:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(4, 21, 46, 0.62);
    cursor: pointer;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(360px, 88vw);
    height: 100vh;
    height: 100dvh;
    padding: 84px 28px 40px;
    overflow-y: auto;
    background: var(--ink);
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.35);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, visibility 0.28s ease;
  }

  .header.is-open .header__nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

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

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

  .header__nav-link {
    display: block;
    padding: 14px 0;
    font-size: 18px;
  }

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

  .header__nav-extras .btn {
    white-space: normal;
    line-height: 1.35;
  }
}

@media (max-width: 1180px) {
  .practice__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .accolades__inner {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }

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

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

@media (max-width: 1024px) {
  .about__inner,
  .values__inner,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about__figure {
    max-width: 560px;
  }

  .values__figure {
    max-width: 460px;
    margin-top: 22px;
  }

  .section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

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

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 0;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(4, 21, 46, 0.95) 0%, rgba(4, 21, 46, 0.88) 55%, rgba(4, 21, 46, 0.55) 100%);
  }

  .hero__inner {
    height: auto;
    align-items: flex-start;
    padding-top: clamp(32px, 6vw, 64px);
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    min-height: 420px;
    margin-top: 28px;
  }

  .hero__image {
    position: relative;
    inset: auto;
    display: block;
    width: min(86%, 420px);
    height: auto;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero__arch,
  .hero__arch-line {
    right: 8%;
    width: 84%;
  }

  .hero__arch-line {
    right: calc(8% - 22px);
  }
}

@media (max-width: 720px) {
  .header__inner {
    height: 88px;
    gap: 14px;
  }

  .header .header__logo,
  .header .header__logo img {
    width: 150px;
  }

  .section--large {
    padding: 76px 0;
  }

  .section__title {
    font-size: 36px;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__subtitle {
    font-size: 20px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .btn {
    font-size: 18px;
    padding: 17px 26px;
  }

  .hero__card {
    display: none;
  }

  .hero__image {
    animation: none;
  }

  .accolades__inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 14px;
  }

  .accolades__badge {
    height: 100px;
    padding: 0 10px;
  }

  .about__figure {
    margin-right: 22px;
    margin-left: 22px;
  }

  .about__stat {
    right: -14px;
  }

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

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

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

  .results__item,
  .results__item + .results__item {
    padding: 32px 0 8px;
    border-left: 0;
  }

  .results__item + .results__item {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

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

  .testimonial__quote {
    font-size: 26px;
  }

  .form {
    padding: 32px 22px;
  }

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

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

  .hero__actions .btn {
    width: 100%;
  }
}
