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

@font-face {
  font-family: "Kumbh Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/kumbh-sans.woff2") format("woff2");
}

:root {
  --navy: #0A2233;
  --navy-deep: #061826;
  --cyan: #00ACDD;
  --cyan-ink: #00789D;
  --stone: #ACAFA9;
  --mist: #EEF3F5;
  --ink: #14232F;
  --body: #4A5762;
  --line: #D7E0E5;
  --white: #FFFFFF;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Kumbh Sans", "Helvetica Neue", Arial, sans-serif;
  --pad: 45px;
  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 123px;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-padding-top: env(safe-area-inset-top, 0px);
  -webkit-text-size-adjust: 100%;
}

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

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

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

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

.container {
  width: min(100% - (var(--pad) * 2), var(--container-max));
  margin-inline: auto;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
label:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.005em;
  white-space: nowrap;
  border-radius: 999px;
  padding: 20px 36px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

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

.btn--cyan:hover {
  background: #3CC3EB;
}

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

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

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

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ---------- topbar + header ---------- */
.topbar {
  height: 5px;
  background: linear-gradient(90deg, var(--cyan) 0 64%, var(--stone) 64% 100%);
}

.header {
  position: relative;
  z-index: 5;
  background: var(--navy-deep);
}

.header__overlay {
  display: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 40px);
  min-height: 118px;
}

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

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

.header__toggle {
  display: none;
}

.header__nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

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

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

.header__nav-link {
  flex-shrink: 0;
  display: block;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 600;
  color: #DCE6EB;
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
  padding: 8px 0;
}

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

.header__nav-link:hover {
  color: var(--white);
}

.header__nav-link:hover::after,
.header__nav-link[aria-current]::after {
  right: 0;
}

.header__nav-extras {
  display: none;
}

.header__phone {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: clamp(18px, 2vw, 36px);
  border-left: 1px solid rgba(172, 175, 169, 0.28);
}

.header__phone-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  display: grid;
  place-items: center;
  color: var(--cyan);
  flex-shrink: 0;
}

.header__phone-ring svg {
  width: 20px;
  height: 20px;
}

.header__phone small {
  display: block;
  font-size: 13px;
  line-height: 1.2;
  color: var(--stone);
  font-weight: 500;
}

.header__phone strong {
  display: block;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.2;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.header__cta {
  flex-shrink: 0;
}

.header__cta .btn {
  font-size: clamp(15px, 1.2vw, 20px);
  padding: clamp(14px, 1.2vw, 20px) clamp(20px, 2vw, 36px);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px) 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-deep) url("../assets/images/bg-hero.jpg") center 30% / 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(6, 24, 38, 0.97) 0%, rgba(6, 24, 38, 0.9) 34%, rgba(6, 24, 38, 0.45) 62%, rgba(6, 24, 38, 0.62) 100%),
    linear-gradient(0deg, rgba(6, 24, 38, 0.85) 0%, rgba(6, 24, 38, 0) 30%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container-max));
  height: 100%;
  display: flex;
  align-items: center;
}

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

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--white);
  font-size: clamp(48px, 6.4vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.015em;
}

.hero__subtitle {
  margin-top: 22px;
  font-family: var(--sans);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.25;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.005em;
}

.hero__text {
  margin-top: 18px;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.65;
  color: #C9D6DD;
}

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

.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.hero__phone .icon {
  width: 22px;
  height: 22px;
  color: var(--cyan);
}

.hero__phone:hover {
  color: var(--cyan);
}

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

.hero__orb {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: min(560px, 92%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(0, 172, 221, 0.38) 0%, rgba(0, 172, 221, 0.16) 48%, rgba(0, 172, 221, 0) 70%);
}

.hero__orb::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 172, 221, 0.75);
}

.hero__orb::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

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

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

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

.accolades__badge {
  height: 104px;
  display: grid;
  place-items: center;
  padding: 0 24px;
}

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

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

.accolades__badge--mdaf img {
  height: 96px;
}

.accolades__badge--ntl img {
  height: 74px;
}

.accolades__badge--super img {
  height: 54px;
}

.accolades__badge--aaj img {
  height: 62px;
}

/* ---------- shared section ---------- */
.section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.section__title {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(38px, 3.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

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

.section__rule {
  display: block;
  width: 72px;
  height: 4px;
  border-radius: 4px;
  background: var(--cyan);
  margin-top: 26px;
}

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

.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--cyan-ink);
  letter-spacing: 0.01em;
  border-bottom: 2px solid currentColor;
  padding-bottom: 3px;
  width: max-content;
}

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

.more--light {
  color: var(--cyan);
}

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

/* ---------- intro ---------- */
.intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 6vw, 110px);
  align-items: center;
}

.frame {
  position: relative;
  margin: 0 34px 34px 0;
}

.frame::before {
  content: "";
  position: absolute;
  inset: 34px -34px -34px 34px;
  border: 2px solid var(--cyan);
  border-radius: 4px;
  z-index: 0;
}

.frame__image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 11 / 12.6;
  object-fit: cover;
  border-radius: 4px;
}

.frame__note {
  position: absolute;
  z-index: 2;
  right: -34px;
  bottom: -34px;
  width: min(330px, 72%);
  background: var(--navy);
  color: var(--white);
  padding: 30px 32px;
  border-radius: 4px;
}

.frame__note b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
}

.frame__note span {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: #B9C8D0;
}

.intro__subtitle {
  margin-top: 22px;
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cyan-ink);
}

.intro__content p {
  margin-top: 22px;
  max-width: 640px;
}

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

.tel-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.tel-link .icon {
  color: var(--cyan-ink);
}

.tel-link:hover {
  color: var(--cyan-ink);
}

/* ---------- practice ---------- */
.practice {
  background: var(--navy-deep) url("../assets/images/bg-practice.jpg") center / cover;
}

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

.practice-card {
  position: relative;
  display: block;
  height: 470px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--navy);
}

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

.practice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 24, 38, 0) 35%, rgba(6, 24, 38, 0.72) 66%, rgba(6, 24, 38, 0.96) 100%);
}

.practice-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  z-index: 2;
  background: var(--cyan);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.practice-card__body {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 34px;
  z-index: 2;
}

.practice-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  color: var(--white);
}

.practice-card .more {
  margin-top: 16px;
}

.practice-card:hover .practice-card__image {
  transform: scale(1.05);
}

.practice-card:hover::after {
  transform: scaleX(1);
}

/* ---------- results ---------- */
.results {
  background: var(--mist);
}

.results__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(40px, 5vw, 90px);
  align-items: stretch;
}

.results__intro {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--navy-deep) url("../assets/images/bg-results.jpg") center / cover;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
}

.results__intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 24, 38, 0.2) 0%, rgba(6, 24, 38, 0.92) 72%);
}

.results__intro > * {
  position: relative;
}

.results__intro p {
  margin-top: 22px;
  color: #C9D6DD;
  max-width: 420px;
}

.results__intro .btn {
  margin-top: 32px;
  align-self: flex-start;
}

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

.result {
  background: var(--white);
  border-radius: 6px;
  padding: 40px 38px 36px;
  border-top: 5px solid var(--cyan);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 var(--line);
}

.result__kind {
  font-size: 15px;
  font-weight: 600;
  color: var(--body);
}

.result__amount {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(34px, 2.7vw, 46px);
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.result__what {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
  flex: 1;
}

.result .more {
  margin-top: 24px;
}

/* ---------- why ---------- */
.why__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(48px, 6vw, 110px);
  align-items: center;
}

.frame--why {
  margin: 0 0 34px 34px;
}

.frame--why::before {
  inset: 34px 34px -34px -34px;
}

.frame--why .frame__image {
  aspect-ratio: 12 / 13;
}

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

.value {
  display: flex;
  flex-direction: column;
}

.value p {
  flex: 1;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.65;
}

.value__mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--mist);
  display: grid;
  place-items: center;
  color: var(--cyan-ink);
  box-shadow: inset 0 0 0 2px rgba(0, 172, 221, 0.35);
}

.value__mark svg {
  width: 26px;
  height: 26px;
}

.value__title {
  margin-top: 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.2;
  color: var(--ink);
}

.value .more {
  margin-top: 14px;
}

/* ---------- testimonials ---------- */
.testimonials {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}

.testimonials::before {
  content: "";
  position: absolute;
  right: -330px;
  top: 50%;
  width: 640px;
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 2px solid rgba(0, 172, 221, 0.35);
  z-index: -1;
}

.testimonials::after {
  content: "";
  position: absolute;
  right: -308px;
  top: 50%;
  width: 596px;
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: -1;
}

.testimonials__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}

.testimonials__stars {
  display: flex;
  gap: 6px;
  margin-top: 30px;
  color: var(--cyan);
}

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

.testimonials__aside p {
  margin-top: 18px;
  color: #B9C8D0;
  max-width: 340px;
}

.quote {
  position: relative;
  margin: 0;
  padding-left: 56px;
  border-left: 2px solid rgba(172, 175, 169, 0.35);
}

.quote__text {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(21px, 1.7vw, 25px);
  line-height: 1.6;
  color: var(--white);
}

.quote__mark {
  position: absolute;
  left: -26px;
  top: -6px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
}

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

.quote__cite {
  display: block;
  margin-top: 32px;
  font-style: normal;
  font-size: 16px;
  font-weight: 700;
  color: var(--cyan);
}

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

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 0;
  align-items: stretch;
}

.contact__info {
  background: var(--navy-deep) url("../assets/images/bg-contact.jpg") center / cover;
  position: relative;
  border-radius: 6px 0 0 6px;
  padding: 60px 52px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  min-height: 620px;
}

.contact__info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 24, 38, 0.35) 0%, rgba(6, 24, 38, 0.95) 62%);
}

.contact__info > * {
  position: relative;
}

.contact__info p {
  margin-top: 20px;
  color: #C9D6DD;
  max-width: 420px;
}

.contact__info .hero__phone {
  margin-top: 28px;
}

.contact__addr {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  color: #C9D6DD;
  font-size: 16px;
  line-height: 1.55;
}

.contact__addr .icon {
  color: var(--cyan);
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.contact__form {
  background: var(--white);
  border-radius: 0 6px 6px 0;
  padding: 60px 56px;
}

.contact__form-title {
  font-size: clamp(32px, 2.8vw, 42px);
}

.contact__lede {
  margin-top: 12px;
}

.contact__fields {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--mist);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 0 16px;
  height: 40px;
  width: 100%;
  transition: border-color 0.2s, background-color 0.2s;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--cyan-ink) 50%),
    linear-gradient(135deg, var(--cyan-ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 17px, calc(100% - 16px) 17px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  background-color: var(--white);
  outline: none;
}

.contact__form .btn {
  margin-top: 28px;
}

.contact__fine {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #7A8790;
}

/* ---------- footer ---------- */
.footer {
  background: var(--navy-deep);
  color: #B9C8D0;
  font-size: 16px;
  padding-top: 80px;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.7fr));
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(172, 175, 169, 0.2);
}

.footer__logo {
  display: block;
  width: 280px;
  max-width: 100%;
}

.footer__logo img {
  width: 100%;
  height: auto;
}

.footer__blurb {
  margin-top: 24px;
  max-width: 380px;
}

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

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

.footer__list a:hover {
  color: var(--cyan);
}

.footer__phone {
  font-size: 22px;
}

.footer__addr {
  margin-top: 16px;
}

.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 28px;
  padding-bottom: 32px;
  font-size: 13px;
  line-height: 1.6;
  color: #7F919C;
}

.footer__legal p {
  max-width: 820px;
}

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

  .hero__visual {
    width: 45%;
  }
}

@media (min-width: 1201px) and (max-width: 1699px) {
  .header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas:
      "logo . phone cta"
      "nav nav nav nav";
    column-gap: 28px;
    row-gap: 0;
    min-height: 0;
    padding-top: 22px;
    align-items: center;
  }

  .header__logo {
    grid-area: logo;
  }

  .header__phone--desktop {
    grid-area: phone;
  }

  .header__cta {
    grid-area: cta;
  }

  .header__nav {
    grid-area: nav;
    position: relative;
    margin: 22px 0 0;
    height: 60px;
    justify-content: center;
  }

  .header__nav-list {
    justify-content: center;
    width: 100%;
    gap: clamp(40px, 5vw, 84px);
  }

  .header__nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--navy);
    box-shadow: 0 0 0 100vmax var(--navy);
    clip-path: inset(0 -100vmax);
    z-index: -1;
  }
}

@media (max-width: 1440px) {
  .header__phone {
    padding-left: 26px;
  }
}

@media (max-width: 1366px) {
  .btn {
    padding: 18px 28px;
  }

  .hero__actions {
    gap: 22px;
  }

  .hero__phone .icon {
    display: none;
  }

  .header__phone small {
    display: none;
  }
}

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

  .hero__actions {
    flex-wrap: wrap;
  }

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

  .results__inner,
  .testimonials__inner {
    grid-template-columns: 1fr;
  }

  .results__intro {
    min-height: 360px;
  }

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

@media (max-width: 1200px) {
  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(6, 24, 38, 0.55);
  }

  .header__overlay[hidden] {
    display: none;
  }

  .header__inner {
    position: relative;
    z-index: 2;
    min-height: 92px;
  }

  .header__toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-left: auto;
    border-radius: 50%;
    border: 2px solid rgba(172, 175, 169, 0.4);
    background: transparent;
    color: var(--white);
    cursor: pointer;
    padding: 0;
    gap: 5px;
  }

  .header__toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
  }

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

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

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

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

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

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

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

  .header__nav-link {
    padding: 14px 0;
    width: 100%;
    font-size: 16px;
  }

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(172, 175, 169, 0.2);
  }

  .header__nav-extras .header__phone {
    padding-left: 0;
    border-left: 0;
  }

  .header__nav-extras .header__phone small {
    display: block;
  }

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

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

  .frame--why {
    order: 2;
  }

  .contact__info {
    border-radius: 6px 6px 0 0;
    min-height: 420px;
  }

  .contact__form {
    border-radius: 0 0 6px 6px;
  }

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

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

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

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

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

  .hero__inner {
    height: auto;
  }

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

  .hero__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: min(78vw, 560px);
    margin-top: 36px;
  }

  .hero__image {
    height: 100%;
  }
}

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

  body {
    font-size: 16px;
  }

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

  .hero__subtitle {
    font-size: 22px;
  }

  .hero__text {
    font-size: 17px;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

  .practice__cards,
  .results__tally,
  .why__values,
  .contact__fields,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .practice-card {
    height: 380px;
  }

  .accolades__badge {
    padding: 0 12px;
    height: 88px;
  }

  .accolades__badge img {
    max-height: 76px;
  }

  .frame {
    margin: 0 20px 20px 0;
  }

  .frame::before {
    inset: 20px -20px -20px 20px;
  }

  .frame--why {
    margin: 0 0 20px 20px;
  }

  .frame--why::before {
    inset: 20px 20px -20px -20px;
  }

  .frame__note {
    right: -20px;
    bottom: -20px;
    padding: 22px 24px;
  }

  .frame__note b {
    font-size: 21px;
  }

  .result {
    padding: 32px 26px;
  }

  .quote {
    padding-left: 36px;
  }

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

  .footer__legal {
    flex-direction: column;
  }
}

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