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

@font-face {
  font-family: "Reddit Sans";
  src: url("../assets/fonts/reddit-sans.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --ink: #071526;
  --navy: #0c2440;
  --cobalt: #0079c2;
  --cobalt-dk: #005f99;
  --sky: #7bacdc;
  --silver: #cac9ca;
  --pearl: #f1f4f8;
  --text: #1b2a3c;
  --muted: #556476;
  --line: #d9e0e8;
  --serif: "Bellefair", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Reddit Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --pad: 45px;
  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 104px;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

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

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.005em;
}

p {
  margin: 0 0 1.1em;
}

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

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

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

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

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

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

.btn--ghost {
  border-color: currentColor;
  color: var(--navy);
  background: transparent;
}

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

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

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

.link-more {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--cobalt);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.link-more:hover {
  color: var(--navy);
}

.pediment {
  display: block;
  width: 46px;
  height: 16px;
  margin-bottom: 22px;
  color: var(--cobalt);
}

.section--center .pediment,
.u-center .pediment {
  margin-left: auto;
  margin-right: auto;
}

.section--dark .pediment {
  color: var(--sky);
}

.section__title {
  font-size: clamp(36px, 3.4vw, 52px);
  line-height: 1.12;
  color: var(--navy);
}

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

.u-center {
  text-align: center;
}

.u-nowrap {
  white-space: nowrap;
}

/* Header */
.header {
  background: var(--ink);
  position: relative;
  z-index: 5;
  border-top: 4px solid var(--cobalt);
}

.header__overlay {
  display: none;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 100px;
  position: relative;
}

.header__logo {
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 170px;
  display: block;
}

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

.header__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.header__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(18px, 1.8vw, 40px);
  white-space: nowrap;
}

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

.header__nav-link {
  display: block;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.015em;
  color: #e7ecf2;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.header__nav-link:hover,
.header__nav-link[aria-current] {
  color: #fff;
  border-bottom-color: var(--sky);
}

.header__nav-extras {
  display: none;
}

.header__cta {
  flex: 0 0 auto;
  flex-shrink: 0;
  font-size: 20px;
  padding: 16px 32px;
}

.header__phone {
  flex: 0 0 auto;
  flex-shrink: 0;
  text-align: right;
  line-height: 1.2;
  text-decoration: none;
  color: #fff;
}

.header__phone-label {
  display: block;
  font-size: 13px;
  color: var(--sky);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.header__phone-number {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.header__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  margin-left: auto;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 4;
  flex-shrink: 0;
}

.header__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  position: absolute;
  left: 50%;
  margin-left: -11px;
}

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

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

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

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

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

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

/* Hero */
.hero {
  position: relative;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px) 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink) 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;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(7, 21, 38, 0.96) 0%,
    rgba(7, 21, 38, 0.86) 38%,
    rgba(7, 21, 38, 0.45) 70%,
    rgba(7, 21, 38, 0.25) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--cobalt) 0 50%, var(--silver) 50% 100%);
  z-index: 3;
}

.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: clamp(0px, 1vw, 8px);
  padding-right: clamp(0px, 1vw, 8px);
}

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

.hero__eyebrow {
  font-size: 18px;
  font-weight: 500;
  color: var(--sky);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.hero__title {
  font-size: clamp(56px, 5.6vw, 88px);
  line-height: 1;
  margin-bottom: 26px;
}

.hero__lede {
  font-size: 20px;
  line-height: 1.6;
  color: #d6dee8;
  max-width: 30ch;
  margin-bottom: 38px;
}

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

.hero__phone {
  text-decoration: none;
  color: #fff;
  line-height: 1.15;
  flex-shrink: 0;
}

.hero__phone-label {
  display: block;
  font-size: 14px;
  color: var(--silver);
  margin-bottom: 3px;
}

.hero__phone-number {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

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

.hero__motif {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 61%;
  width: 100%;
  max-width: none;
  height: auto;
  color: var(--sky);
  opacity: 0.32;
}

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

@media (prefers-reduced-motion: no-preference) {
  .hero__image {
    animation: hero-rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both 0.15s;
  }

  .hero__content {
    animation: hero-fade 0.9s ease-out both;
  }

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

  @keyframes hero-fade {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

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

.accolades__list {
  list-style: none;
  margin: 0;
  padding: 34px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.accolades__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  padding: 0 24px;
}

.accolades__item + .accolades__item {
  border-left: 1px solid var(--line);
}

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

.accolades__badge--forum {
  max-height: 92px;
}

.accolades__badge--ntl {
  max-height: 78px;
}

.accolades__badge--super {
  max-height: 44px;
}

.accolades__badge--aaj {
  max-height: 56px;
}

/* Intro */
.intro {
  padding: 120px 0;
}

.intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 90px;
  align-items: center;
}

.intro__figure {
  position: relative;
  margin: 0 0 0 26px;
}

.intro__figure::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 26px;
  width: 62%;
  height: 100%;
  background: var(--cobalt);
}

.intro__image {
  position: relative;
  width: 100%;
  aspect-ratio: 6 / 7;
  object-fit: cover;
}

.intro__caption {
  position: absolute;
  right: -1px;
  bottom: -1px;
  background: #fff;
  padding: 18px 0 0 22px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  color: var(--navy);
}

.intro__caption-sub {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
}

.intro__title {
  margin-bottom: 30px;
  max-width: 22ch;
}

.intro__body {
  max-width: 66ch;
  color: #33414f;
}

.intro__es {
  font-weight: 600;
  color: var(--navy);
}

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

.intro__tel {
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

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

.practice__title {
  margin-bottom: 54px;
}

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

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

.practice__card-image {
  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(7, 21, 38, 0) 35%, rgba(7, 21, 38, 0.88) 100%);
}

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

.practice__card-title {
  font-size: 30px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.practice__card-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--sky);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

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

.practice__card:hover .practice__card-link {
  border-bottom-color: var(--sky);
}

.practice__footer {
  margin-top: 50px;
}

/* Case results */
.results {
  position: relative;
  padding: 110px 0;
  background: var(--ink) url("../assets/images/bg-results.jpg") center / cover;
  isolation: isolate;
  color: #fff;
}

.results::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 21, 38, 0.82);
}

.results__title {
  margin-bottom: 60px;
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(202, 201, 202, 0.28);
  border-bottom: 1px solid rgba(202, 201, 202, 0.28);
  text-align: left;
}

.results__item {
  padding: 44px 34px;
  display: flex;
  flex-direction: column;
}

.results__item + .results__item {
  border-left: 1px solid rgba(202, 201, 202, 0.28);
}

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

.results__amount {
  font-family: var(--serif);
  font-size: clamp(40px, 3.3vw, 56px);
  line-height: 1;
  margin-bottom: 18px;
}

.results__amount--word {
  font-size: clamp(32px, 2.7vw, 42px);
  line-height: 1.08;
}

.results__text {
  font-size: 16px;
  color: #c9d3de;
  flex: 1;
}

.results__item .link-more {
  color: #fff;
  align-self: flex-start;
}

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

.results__footer {
  margin-top: 54px;
}

/* Why choose */
.why {
  padding: 120px 0;
}

.why__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 90px;
  align-items: center;
}

.why__figure {
  margin: 0;
}

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

.why__title {
  margin-bottom: 46px;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 48px;
}

.why__item {
  border-top: 2px solid var(--cobalt);
  padding-top: 24px;
}

.why__item-title {
  font-size: 28px;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 12px;
}

.why__item-text {
  font-size: 16px;
  color: #3c4a59;
  margin-bottom: 14px;
}

/* Testimonials */
.testimonials {
  position: relative;
  padding: 120px 0;
  background: var(--ink) url("../assets/images/bg-testimonial.jpg") center / cover;
  isolation: isolate;
  color: #fff;
}

.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 21, 38, 0.74), rgba(7, 21, 38, 0.88));
}

.testimonials__title {
  margin-bottom: 40px;
}

.testimonials__quote {
  margin: 0 auto;
  max-width: 900px;
  position: relative;
}

.testimonials__quote::before {
  content: "\201C";
  display: block;
  font-family: var(--serif);
  font-size: 120px;
  line-height: 0.6;
  color: var(--sky);
  margin-bottom: 10px;
}

.testimonials__text {
  font-family: var(--serif);
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.5;
  color: #eef2f6;
}

.testimonials__cite {
  display: block;
  margin-top: 26px;
  font-style: normal;
  font-size: 16px;
  font-weight: 600;
  color: var(--silver);
  letter-spacing: 0.03em;
}

.testimonials__cta {
  margin-top: 44px;
}

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

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  align-items: start;
}

.contact__title {
  margin-bottom: 24px;
}

.contact__text {
  color: #c9d3de;
  font-size: 18px;
  max-width: 40ch;
}

.contact__details {
  margin-top: 36px;
  display: grid;
  gap: 22px;
}

.contact__details a,
.contact__details address {
  font-style: normal;
  color: #fff;
  text-decoration: none;
  line-height: 1.45;
}

.contact__details-label {
  display: block;
  font-size: 14px;
  color: var(--sky);
  margin-bottom: 4px;
}

.contact__details-value {
  font-size: 24px;
  font-weight: 600;
}

.form {
  background: #fff;
  color: var(--text);
  padding: 48px;
  border-top: 5px solid var(--cobalt);
}

.form__title {
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 6px;
}

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

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

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

.form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  height: 40px;
  border: 1px solid #c5cfda;
  border-radius: 3px;
  background: #fbfcfd;
  font: 16px var(--sans);
  color: var(--text);
  padding: 0 14px;
}

.form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 17px,
    calc(100% - 14px) 17px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.form textarea {
  height: 120px;
  padding: 10px 14px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--cobalt);
  outline-offset: 0;
  border-color: var(--cobalt);
}

.form__submit {
  margin-top: 26px;
}

.form__fine {
  font-size: 13px;
  color: var(--muted);
  margin: 18px 0 0;
}

/* Footer */
.footer {
  background: var(--ink);
  color: #b9c4d0;
  padding: 80px 0 40px;
  font-size: 15px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(202, 201, 202, 0.18);
}

.footer__logo {
  width: 300px;
  max-width: none;
}

.footer__brand-text {
  margin-top: 24px;
  max-width: 40ch;
}

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

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

.footer a {
  text-decoration: none;
  color: #b9c4d0;
}

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

.footer__address {
  font-style: normal;
  line-height: 1.6;
}

.footer__phone {
  display: inline-block;
  margin-top: 14px;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.footer__bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #8593a3;
}

.footer__bottom p {
  margin: 0;
  max-width: 90ch;
}

/* Progressive header scaling before hamburger */
@media (max-width: 1430px) {
  .header__cta {
    font-size: 17px;
    padding: 14px 24px;
  }

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

@media (max-width: 1360px) {
  .header__cta {
    font-size: 16px;
    padding: 13px 22px;
  }

  .header__phone-number {
    font-size: 20px;
  }

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

  .header__inner {
    gap: 20px;
  }
}

@media (max-width: 1280px) {
  .header__inner {
    gap: 16px;
  }

  .header__nav-list {
    gap: clamp(12px, 1.2vw, 24px);
  }

  .header__cta {
    font-size: 15px;
    padding: 12px 18px;
  }

  .header__phone-number {
    font-size: 18px;
  }
}

/* Mobile nav — hamburger below 1200px */
@media (max-width: 1200px) {
  :root {
    --pad: 30px;
  }

  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(7, 21, 38, 0.55);
  }

  .header__overlay[hidden] {
    display: none;
  }

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

  .header__toggle {
    display: block;
  }

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

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100%;
    margin: 0;
    padding: 84px 28px 40px;
    background: var(--ink);
    border-top: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 28px;
    z-index: 2;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    visibility: hidden;
  }

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

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

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

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: auto;
    padding-top: 24px;
  }

  .header__nav-extras .header__phone {
    text-align: left;
  }

  .header__cta--bar,
  .header__phone--bar {
    display: none;
  }

  .hero__title {
    font-size: 60px;
  }

  .intro__inner,
  .why__inner {
    gap: 56px;
  }

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

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

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

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

@media (max-width: 980px) {
  .btn {
    white-space: normal;
    font-size: 18px;
    padding: 15px 26px;
  }

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

@media (max-width: 900px) {
  .intro,
  .why,
  .testimonials {
    padding: 80px 0;
  }

  .practice,
  .results,
  .contact {
    padding: 80px 0;
  }

  .intro__inner,
  .why__inner,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .intro__figure {
    max-width: 520px;
  }

  .why__figure {
    order: 2;
  }

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

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

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

  .footer__top > :first-child {
    grid-column: 1 / -1;
  }
}

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

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

  .hero__content {
    max-width: 100%;
    width: 100%;
    padding-inline: 0;
  }

  .hero__title {
    font-size: 46px;
  }

  .hero__lede {
    font-size: 18px;
  }

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

  .hero__image {
    animation: none;
    height: 100%;
    max-height: 100%;
  }

  .hero__motif {
    right: 0;
    width: 100%;
    bottom: 58%;
  }
}

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

  body {
    font-size: 16px;
  }

  .header__inner {
    min-height: 84px;
    gap: 14px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__visual {
    height: 340px;
  }

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

  .accolades__item {
    padding: 0 10px;
    min-height: 90px;
  }

  .accolades__badge--forum {
    max-height: calc(92px * 0.8);
  }

  .accolades__badge--ntl {
    max-height: calc(78px * 0.8);
  }

  .accolades__badge--super {
    max-height: calc(44px * 0.8);
  }

  .accolades__badge--aaj {
    max-height: calc(56px * 0.8);
  }

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

  .results__item {
    border-left: 0 !important;
    padding: 34px 6px;
  }

  .results__item + .results__item {
    border-top: 1px solid rgba(202, 201, 202, 0.28);
  }

  .form {
    padding: 30px 22px;
  }

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

  .footer__logo {
    width: 240px;
  }
}
