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

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

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

:root {
  --ink: #111a26;
  --ink-2: #1a2533;
  --charcoal: #2c3741;
  --slate: #596f8c;
  --mist: #a6b6cc;
  --paper: #f3f5f8;
  --line: #dce2ea;
  --gold: #c6a15b;
  --gold-2: #d9b978;
  --text: #2c3741;
  --muted: #5d6b7c;
  --serif: "Castoro", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Kumbh Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 112px;
  --pad: 45px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

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

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

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a {
  color: inherit;
}

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

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

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

.btn--primary {
  background: var(--gold);
  color: var(--ink);
}

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

.btn--ghost {
  border-color: var(--slate);
  color: var(--charcoal);
  background: transparent;
}

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

.btn--ghost-light {
  border-color: rgba(166, 182, 204, 0.55);
  color: #fff;
}

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

/* ---------- Header ---------- */
.header {
  position: relative;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header__overlay {
  display: none;
}

.header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.5vw, 28px);
  min-height: 112px;
}

.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__nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.4vw, 34px);
}

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

.header__nav-link {
  flex-shrink: 0;
  display: block;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--charcoal);
  white-space: nowrap;
  padding: 10px 0;
  position: relative;
}

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

.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;
  gap: 10px;
  margin-left: clamp(12px, 1.4vw, 32px);
  flex-shrink: 0;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  height: 58px;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 600;
  color: #fff;
  background: var(--charcoal);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.header__phone:hover {
  background: var(--slate);
}

.header__phone svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.header__cta-btn {
  font-size: clamp(14px, 1.1vw, 18px);
  padding: clamp(14px, 1.2vw, 19px) clamp(18px, 1.8vw, 28px);
  flex-shrink: 0;
}

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--charcoal);
  cursor: pointer;
  flex-shrink: 0;
}

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

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

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

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px) 0;
  background: var(--ink) url("../assets/images/bg-hero.jpg") center 40% / 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(17, 26, 38, 0.96) 0%,
    rgba(17, 26, 38, 0.88) 34%,
    rgba(17, 26, 38, 0.45) 62%,
    rgba(17, 26, 38, 0.25) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(198, 161, 91, 0) 70%);
}

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

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

.hero__content h1 {
  color: #fff;
  font-size: clamp(40px, 4vw, 60px);
  line-height: 1.06;
  font-weight: 500;
}

.hero__content h1 span {
  display: block;
}

.hero__text {
  color: #d5dde8;
  font-size: 19px;
  line-height: 1.6;
  margin-top: 22px;
  max-width: 24em;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 36px;
}

.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.hero__phone-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(198, 161, 91, 0.7);
  display: grid;
  place-items: center;
  flex: none;
}

.hero__phone svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.hero__phone:hover .hero__phone-ring {
  background: var(--gold);
}

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

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

.hero__visual::before {
  content: "";
  position: absolute;
  right: 4%;
  bottom: -18%;
  width: 86%;
  height: 92%;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(166, 182, 204, 0.42),
    rgba(89, 111, 140, 0.18) 55%,
    rgba(89, 111, 140, 0) 100%
  );
  z-index: -1;
}

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

@media (prefers-reduced-motion: no-preference) {
  .hero__content > * {
    animation: rise 0.9s 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__image {
    animation: team 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both;
  }

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

  @keyframes team {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

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

.accolades__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  min-height: 170px;
}

.accolades__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 18px;
  height: 100%;
  position: relative;
}

.accolades__item + .accolades__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 30%;
  bottom: 30%;
  width: 1px;
  background: var(--line);
}

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

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

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

.accolades__badge--super {
  height: 52px;
}

.accolades__badge--aaj {
  height: 59px;
}

/* ---------- Sections ---------- */
.section {
  padding-block: 120px;
}

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

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

.section__title {
  font-size: clamp(36px, 3.3vw, 50px);
  line-height: 1.12;
  color: var(--ink);
}

.section__title--light {
  color: #fff;
}

.section__rule {
  display: block;
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: 24px auto 0;
}

.section__rule--left {
  margin: 26px 0 44px;
}

.section__foot {
  text-align: center;
  margin-top: 56px;
}

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

.intro__media {
  position: relative;
  padding: 0 0 34px 34px;
}

.intro__media::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 78%;
  height: 72%;
  background: var(--slate);
  border-radius: 300px 300px 0 0;
  opacity: 0.18;
}

.intro__arch {
  position: relative;
  border-radius: 400px 400px 6px 6px;
  overflow: hidden;
  aspect-ratio: 960 / 1160;
  box-shadow: 0 30px 60px -30px rgba(17, 26, 38, 0.45);
}

.intro__arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro__title {
  font-size: clamp(36px, 3.3vw, 50px);
  line-height: 1.12;
  color: var(--ink);
}

.intro .section__rule {
  margin: 26px 0 30px;
}

.intro__text {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  max-width: 62ch;
}

.intro__text + .intro__text {
  margin-top: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 42px 0 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats__item {
  padding: 24px 18px 22px 0;
}

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

.stats__value {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 2.5vw, 40px);
  line-height: 1;
  color: var(--ink);
}

.stats__label {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
  margin-top: 10px;
}

.intro__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Practice areas ---------- */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

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

.practice::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 26, 38, 0) 38%,
    rgba(17, 26, 38, 0.55) 62%,
    rgba(17, 26, 38, 0.95) 100%
  );
}

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

.practice__title {
  font-size: 28px;
  line-height: 1.15;
  color: #fff;
}

.practice__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-2);
}

.practice__more i {
  display: block;
  width: 26px;
  height: 1.5px;
  background: currentColor;
  transition: width 0.3s;
}

.practice:hover .practice__image {
  transform: scale(1.05);
}

.practice:hover .practice__more i {
  width: 40px;
}

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

.results::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 26, 38, 0.55);
  z-index: -1;
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(166, 182, 204, 0.25);
  border-bottom: 1px solid rgba(166, 182, 204, 0.25);
}

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

.result + .result {
  border-left: 1px solid rgba(166, 182, 204, 0.25);
}

.result__cat {
  font-size: 14px;
  line-height: 1.4;
  color: var(--mist);
}

.result__amt {
  font-family: var(--serif);
  font-size: clamp(56px, 5vw, 78px);
  line-height: 1;
  color: #fff;
  margin-top: 20px;
  letter-spacing: -0.01em;
}

.result__amt small {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  color: var(--gold-2);
  margin-top: 12px;
  font-style: italic;
  letter-spacing: 0;
}

.result__desc {
  font-size: 17px;
  color: #d5dde8;
  margin-top: 20px;
  flex: 1;
}

.result__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.result__link i {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s;
}

.result__link:hover i {
  width: 40px;
}

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

.why__title {
  font-size: clamp(36px, 3.3vw, 50px);
  line-height: 1.12;
  color: var(--ink);
  max-width: 21ch;
}

.why__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.why__item {
  display: flex;
  gap: 20px;
  padding: 30px 24px 30px 0;
  border-bottom: 1px solid var(--line);
}

.why__item:nth-child(even) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.why__icon {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
}

.why__icon svg {
  width: 26px;
  height: 26px;
  color: var(--gold-2);
}

.why__item-title {
  font-size: 23px;
  line-height: 1.2;
  color: var(--ink);
}

.why__item-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
}

.why__item-link i {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s;
}

.why__item-link:hover i {
  width: 36px;
}

.why__media {
  position: relative;
}

.why__frame {
  position: absolute;
  inset: 28px -28px -28px 28px;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
}

.why__image {
  position: relative;
  border-radius: 6px;
  width: 100%;
  aspect-ratio: 960 / 1100;
  object-fit: cover;
  box-shadow: 0 30px 60px -30px rgba(17, 26, 38, 0.45);
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--ink) url("../assets/images/bg-testimonial.jpg") center / cover no-repeat;
  position: relative;
  isolation: isolate;
  color: #fff;
  text-align: center;
}

.testimonial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(17, 26, 38, 0.72), rgba(17, 26, 38, 0.94) 75%);
  z-index: -1;
}

.testimonial .section__head {
  margin-bottom: 40px;
}

.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 30px;
}

.testimonial__stars svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.testimonial__quote {
  margin: 0 auto;
  max-width: 900px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 1.75vw, 26px);
  line-height: 1.6;
  color: #e7ecf2;
}

.testimonial__cite {
  display: block;
  margin-top: 34px;
  font-style: normal;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  color: #fff;
}

.testimonial__cite span {
  display: block;
  font-weight: 400;
  font-size: 15px;
  color: var(--mist);
  margin-top: 4px;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(17, 26, 38, 0.5);
}

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

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

.contact__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 26, 38, 0) 40%, rgba(17, 26, 38, 0.85));
}

.contact__addr {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 36px;
  z-index: 1;
  color: #fff;
}

.contact__addr-title {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
}

.contact__addr-text {
  color: #d5dde8;
  font-size: 16px;
  margin-top: 8px;
}

.contact__form {
  background: var(--ink-2);
  color: #fff;
  padding: 56px 56px 52px;
}

.contact__title {
  font-size: clamp(32px, 2.7vw, 42px);
  line-height: 1.15;
  color: #fff;
}

.contact__lead {
  color: var(--mist);
  margin-top: 14px;
  font-size: 16px;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

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

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

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

.form__input,
.form__select,
.form__textarea {
  font: inherit;
  font-size: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(166, 182, 204, 0.35);
  border-radius: 6px;
  padding: 0 14px;
  width: 100%;
}

.form__input,
.form__select {
  height: 40px;
}

.form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C6A15B' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form__select option {
  color: #111a26;
}

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

.form__input::placeholder,
.form__textarea::placeholder {
  color: #7f8ea3;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.09);
}

.form__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.form__note {
  color: var(--mist);
  font-size: 14px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #d5dde8;
  padding-top: 96px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(166, 182, 204, 0.18);
}

.footer__logo {
  width: 280px;
}

.footer__tagline {
  font-size: 16px;
  line-height: 1.7;
  margin-top: 22px;
  max-width: 36ch;
  color: var(--mist);
}

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

.footer__list li + li {
  margin-top: 10px;
}

.footer__link {
  text-decoration: none;
  color: #d5dde8;
}

.footer__link:hover {
  color: var(--gold-2);
}

.footer__phone {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.footer__address {
  margin-top: 14px;
  font-style: normal;
  font-size: 16px;
  line-height: 1.7;
}

.footer__legal {
  padding-block: 30px 36px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #8794a5;
}

.footer__legal p {
  max-width: 80ch;
}

/* ---------- Progressive header scaling (before hamburger) ---------- */
@media (max-width: 1439px) {
  .header__phone--desktop {
    width: 58px;
    padding: 0;
    justify-content: center;
  }

  .header__phone--desktop .header__phone-num {
    display: none;
  }

  .header__phone--desktop svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 1299px) {
  .header__phone--desktop {
    display: none;
  }
}

/* ---------- Mobile nav (≤1200px) ---------- */
@media (max-width: 1200px) {
  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(17, 26, 38, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .header.is-open .header__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header__overlay[hidden] {
    display: none;
  }

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

  .header__inner {
    z-index: 2;
    gap: 12px;
  }

  .header__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .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: #fff;
    z-index: 2;
    flex-direction: column;
    align-items: stretch;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: -12px 0 40px rgba(17, 26, 38, 0.18);
  }

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

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

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

  .header__nav-link::after {
    display: none;
  }

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
  }

  .header__nav-extras .header__phone {
    justify-content: center;
    width: 100%;
  }

  .header__nav-extras .header__cta-btn {
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .header__cta {
    display: none;
  }
}

@media (max-width: 1100px) {
  :root {
    --pad: 28px;
  }

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

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

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

  .result:nth-child(n + 3) {
    border-top: 1px solid rgba(166, 182, 204, 0.25);
  }

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

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

  .hero {
    height: auto;
    min-height: calc(100svh - var(--site-chrome-height));
    background-position: 60% center;
    padding: clamp(32px, 5vw, 48px) clamp(16px, 3vw, 28px) 0;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(17, 26, 38, 0.94) 0%,
      rgba(17, 26, 38, 0.84) 55%,
      rgba(17, 26, 38, 0.5) 100%
    );
  }

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

  .hero__content {
    max-width: 100%;
    padding-block: 24px 28px;
  }

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

  .hero__visual::before {
    display: none;
  }

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

  .intro,
  .why {
    grid-template-columns: 1fr;
  }

  .intro__media {
    max-width: 520px;
  }

  .why__media {
    order: -1;
    max-width: 520px;
    margin-right: 28px;
  }

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

  .contact__media {
    min-height: 360px;
  }

  .accolades__inner {
    grid-template-columns: repeat(2, 1fr);
    padding-block: 12px;
    min-height: 0;
  }

  .accolades__item:nth-child(3)::before {
    display: none;
  }

  .section {
    padding-block: 88px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: clamp(28px, 5vw, 40px) clamp(18px, 4vw, 24px) 0;
  }

  .hero__content {
    max-width: 100%;
  }
}

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

  body {
    font-size: 16px;
  }

  .header__logo {
    width: 133px;
  }

  .header__inner {
    min-height: 84px;
  }

  .hero__content h1 {
    font-size: 40px;
  }

  .hero__text {
    font-size: 17px;
  }

  .hero__actions {
    gap: 18px;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    font-size: 17px;
    padding: 16px 22px;
  }

  .hero__phone {
    font-size: 22px;
  }

  .accolades__item {
    padding: 22px 10px;
  }

  .accolades__badge {
    transform: scale(0.82);
  }

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

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

  .stats__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

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

  .result + .result {
    border-left: 0;
    border-top: 1px solid rgba(166, 182, 204, 0.25);
  }

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

  .why__item:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .why__media {
    margin-right: 18px;
  }

  .why__frame {
    inset: 18px -18px -18px 18px;
  }

  .contact__form {
    padding: 40px 24px;
  }

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

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

  .section {
    padding-block: 72px;
  }

  .section__head {
    margin-bottom: 44px;
  }
}

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