/* ============================================================
   Rubin & Badame, Attorneys at Law, P.C. — Homepage
   Leaders Marketing · Row 41
   Palette derived from firm logo (#123246) + manila/brass
   "case file" register. Display: Brygada 1918 · Body: Familjen Grotesk
   ============================================================ */

:root {
  --ink: #0a1f2e;
  --ink-deep: #071722;
  --navy: #123246;
  --navy-2: #1b4460;
  --slate: #4a6478;
  --body: #3a5265;
  --brass: #9c7a3e;
  --brass-lt: #c49c56;
  --manila: #e4dccb;
  --manila-2: #efe9dc;
  --paper: #eef1f3;
  --line: #d6dde2;
  --white: #fff;

  --ff-display: "Brygada 1918", Georgia, "Times New Roman", serif;
  --ff-body: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;

  --pad: 45px;
  --container-max: 1680px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 138px;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button {
  font: inherit;
}

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

/* -------- layout -------- */

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

.section {
  padding: 104px 0;
}

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

.section__head .subhead {
  margin-top: 16px;
}

/* -------- type -------- */

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

.eyebrow::after {
  content: "";
  height: 1px;
  width: 44px;
  background: currentColor;
  opacity: 0.5;
}

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

.eyebrow--center::before {
  content: "";
  height: 1px;
  width: 44px;
  background: currentColor;
  opacity: 0.5;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--ff-display);
  color: var(--navy);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.heading--xl {
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1.08;
}

.heading--lg {
  font-size: clamp(1.75rem, 2.7vw, 2.6rem);
  line-height: 1.14;
}

.heading--md {
  font-size: clamp(1.15rem, 1.35vw, 1.45rem);
  line-height: 1.3;
}

.subhead {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  line-height: 1.45;
  color: var(--slate);
}

p {
  margin: 0 0 1.15em;
}

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

/* -------- buttons -------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  padding: 19px 38px;
  border-radius: 999px;
  border: 1px solid transparent;
  max-width: 100%;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

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

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

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

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

.btn--block {
  width: 100%;
}

/* -------- utility bar -------- */

.utility {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 42px;
  flex-wrap: wrap;
}

.utility__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.utility__dot {
  width: 4px;
  height: 4px;
  background: var(--brass);
  border-radius: 50%;
  flex: 0 0 auto;
}

.utility strong {
  color: #fff;
  font-weight: 500;
}

/* -------- header -------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header__overlay {
  display: none;
}

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

.header__logo {
  flex: 0 0 auto;
  margin-right: auto;
}

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

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

.header__toggle-bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--navy);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.header.is-open .header__toggle-bar:nth-child(1) {
  transform: translateY(6.5px) 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.5px) rotate(-45deg);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

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

.header__nav-link:hover::after,
.header__nav-link:focus-visible::after {
  transform: scaleX(1);
}

.header__nav-extras {
  display: none;
}

.header__cta {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.header__phone svg {
  width: 17px;
  height: 17px;
  fill: var(--brass);
  flex: 0 0 auto;
}

.header__phone:hover {
  color: var(--brass);
}

/* -------- hero -------- */

.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  color: #fff;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px) 0;
  height: calc(100vh - var(--site-chrome-height));
  height: calc(100dvh - var(--site-chrome-height));
  height: calc(100svh - var(--site-chrome-height));
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-texture.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  filter: saturate(0.4);
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    var(--ink) 0%,
    rgba(10, 31, 46, 0.94) 42%,
    rgba(18, 50, 70, 0.72) 100%
  );
}

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

.hero__content {
  position: relative;
  z-index: 2;
  max-width: min(100%, 640px);
  width: min(100%, 48%);
  padding-inline: clamp(4px, 1.5vw, 20px);
  align-self: center;
}

.hero__content > .rise:nth-child(1) {
  transition-delay: 0.05s;
}

.hero__content > .rise:nth-child(2) {
  transition-delay: 0.14s;
}

.hero__content > .rise:nth-child(3) {
  transition-delay: 0.22s;
}

.hero__content > .rise:nth-child(4) {
  transition-delay: 0.3s;
}

.hero__content > .rise:nth-child(5) {
  transition-delay: 0.38s;
}

.hero .heading--xl {
  color: #fff;
  margin-bottom: 14px;
}

.hero .subhead {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 22px;
}

.hero__text {
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero__text b {
  color: #fff;
  font-weight: 600;
}

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

.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  padding: 6px 0;
}

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

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

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

.hero__arch {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      62% 58% at 50% 68%,
      rgba(236, 229, 215, 0.62) 0%,
      rgba(228, 220, 203, 0.34) 44%,
      rgba(228, 220, 203, 0) 78%
    ),
    radial-gradient(
      78% 66% at 50% 78%,
      rgba(196, 156, 86, 0.14) 0%,
      rgba(196, 156, 86, 0) 74%
    );
}

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

/* -------- accolades -------- */

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

.accolades__inner {
  padding-top: 34px;
  padding-bottom: 34px;
}

.accolades__label {
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 24px;
}

.accolades__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(22px, 3vw, 52px);
  align-items: center;
  justify-items: center;
}

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

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

.accolades__badge--trial {
  height: 72px;
}

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

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

/* -------- about -------- */

.about {
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(40px, 5vw, 86px);
  align-items: center;
}

.about__figure {
  position: relative;
}

.about__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  height: auto;
  position: relative;
  z-index: 2;
}

.about__figure::before {
  content: "";
  position: absolute;
  left: -22px;
  top: -22px;
  width: 62%;
  height: 62%;
  background: var(--manila);
  z-index: 1;
}

.about__body .heading--lg {
  margin-bottom: 16px;
}

.about__body .subhead {
  margin-bottom: 26px;
}

.about__note {
  margin-top: 34px;
  padding: 26px 30px;
  background: var(--paper);
  border-left: 3px solid var(--brass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.about__note p {
  font-family: var(--ff-display);
  font-size: 1.14rem;
  color: var(--navy);
  max-width: 430px;
}

/* -------- practice -------- */

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

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

.practice-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(10, 31, 46, 0.13);
}

.practice-card__thumb {
  position: relative;
  aspect-ratio: 72 / 50;
  overflow: hidden;
}

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

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

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

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

.practice-card__body h3 {
  margin-bottom: 14px;
}

.practice-card__rule {
  width: 38px;
  height: 2px;
  background: var(--brass);
  margin-bottom: 18px;
}

.practice-card__body p {
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.practice-card__link {
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.practice-card__link:hover {
  color: var(--brass);
}

.practice-card__link span {
  transition: transform 0.25s;
}

.practice-card:hover .practice-card__link span {
  transform: translateX(5px);
}

/* -------- results -------- */

.results {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  position: relative;
  overflow: hidden;
}

.results__texture {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-texture.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.09;
}

.results__inner {
  position: relative;
  z-index: 2;
}

.results h2 {
  color: #fff;
}

.results .subhead {
  color: rgba(255, 255, 255, 0.66);
}

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

.result-card {
  position: relative;
  background: #fff;
  padding: 52px 26px 26px;
  display: flex;
  flex-direction: column;
  min-height: 302px;
  transition: transform 0.3s;
}

.result-card:hover {
  transform: translateY(-6px);
}

.result-card__tab {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--manila);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 16px 7px;
  border-radius: 0 0 3px 0;
}

.result-card__claim {
  font-family: var(--ff-display);
  font-size: 1.12rem;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 20px;
}

.result-card__rule {
  height: 1px;
  background: var(--line);
  margin-bottom: 20px;
}

.result-card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}

.result-card__figure {
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(1.9rem, 2.5vw, 2.55rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}

.result-card__figure small {
  font-family: var(--ff-body);
  font-size: 0.42em;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0;
}

.result-card__link {
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

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

.results__note {
  margin-top: 40px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  max-width: 940px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
}

/* -------- values -------- */

.values {
  background: var(--white);
}

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

.values__item {
  padding: 44px 46px 44px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 26px;
  align-items: flex-start;
}

.values__item:nth-child(odd) {
  padding-right: 56px;
  border-right: 1px solid var(--line);
}

.values__item:nth-child(even) {
  padding-left: 56px;
}

.values__mark {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

.values__mark svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.values__item h3 {
  margin-bottom: 10px;
}

.values__item p {
  font-size: 15.5px;
  line-height: 1.72;
}

/* -------- testimonial -------- */

.testimonial {
  background: var(--manila-2);
  position: relative;
}

.testimonial__inner {
  max-width: 1120px;
  text-align: center;
}

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

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

.testimonial__quote {
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 2.05vw, 1.95rem);
  line-height: 1.45;
  color: var(--navy);
  margin: 0 0 26px;
  font-weight: 400;
}

.testimonial__body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--slate);
  max-width: 800px;
  margin: 0 auto 30px;
}

.testimonial__name {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}

/* -------- contact -------- */

.contact {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(44px, 5vw, 88px);
  align-items: start;
}

.contact h2 {
  color: #fff;
  margin-bottom: 18px;
}

.contact .subhead {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 36px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact__row {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact__row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact__row svg {
  width: 18px;
  height: 18px;
  fill: var(--brass-lt);
  flex: 0 0 auto;
  margin-top: 5px;
}

.contact__row svg path {
  fill: var(--brass-lt);
}

.contact__key {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
}

.contact__value {
  color: #fff;
  font-size: 17px;
  line-height: 1.6;
}

.contact__value a:hover {
  color: var(--brass-lt);
}

/* -------- form -------- */

.form {
  background: #fff;
  padding: clamp(30px, 3.4vw, 46px);
}

.form h3 {
  margin-bottom: 8px;
}

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

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

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

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

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

.form__field input,
.form__field select {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--navy);
  background: #fff;
  width: 100%;
}

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

.form__field textarea {
  height: 120px;
  min-height: 120px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--navy);
  resize: vertical;
  width: 100%;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(156, 122, 62, 0.16);
}

.form .btn {
  margin-top: 22px;
}

.form__fine {
  font-size: 12.5px;
  line-height: 1.65;
  color: #8798a4;
  margin-top: 16px;
}

/* -------- footer -------- */

.footer {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.56);
  font-size: 15px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 4vw, 72px);
  padding: 76px 0 54px;
}

.footer__brand img {
  height: 46px;
  width: auto;
  max-width: none;
  margin-bottom: 24px;
}

.footer__blurb {
  font-size: 15px;
  line-height: 1.75;
  max-width: 390px;
}

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

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer__phone {
  display: block;
  color: #fff;
  font-family: var(--ff-display);
  font-size: 1.4rem;
  margin-top: 6px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 26px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}

.footer__disclaimer {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.36);
}

/* -------- motion -------- */

.rise {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .rise {
  opacity: 0;
  transform: translateY(22px);
}

.js .rise.is-visible {
  opacity: 1;
  transform: none;
}

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

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

/* ============ responsive ============ */

@media (max-width: 1500px) {
  .header__inner {
    gap: 28px;
  }

  .header__nav,
  .header__nav-list {
    gap: 20px;
  }

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

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

@media (max-width: 1360px) {
  .header__inner {
    gap: 20px;
  }

  .header__nav,
  .header__nav-list {
    gap: 14px;
  }

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

  .header__phone {
    font-size: 16px;
  }

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

@media (max-width: 1240px) {
  .header__nav,
  .header__nav-list {
    gap: 12px;
  }

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

  .header__phone {
    font-size: 15px;
  }
}

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

  .header__inner {
    min-height: 84px;
    justify-content: space-between;
    z-index: 2;
  }

  .header__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(7, 23, 34, 0.55);
    z-index: 1;
  }

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

  .header__toggle {
    display: flex;
    z-index: 2;
  }

  .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%;
    height: 100dvh;
    padding: 84px 28px 40px;
    background: #fff;
    z-index: 2;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: -16px 0 40px rgba(10, 31, 46, 0.18);
  }

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

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

  .header__nav-item {
    border-bottom: 1px solid var(--line);
  }

  .header__nav-link {
    font-size: 16px;
    padding: 16px 0;
  }

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

  .header__cta {
    display: none;
  }

  .header__nav-extras .header__phone {
    font-size: 20px;
  }

  .hero__phone {
    font-size: 22px;
  }

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

  .section {
    padding: 84px 0;
  }
}

@media (max-width: 1120px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

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

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

  .values__item,
  .values__item:nth-child(odd),
  .values__item:nth-child(even) {
    padding: 34px 0;
    border-right: 0;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    padding: 60px 0 40px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

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

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

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

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

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

  .hero__content {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding-inline: clamp(8px, 3vw, 20px);
    padding-bottom: 24px;
  }

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

  .hero__content .eyebrow::before {
    content: "";
    height: 1px;
    width: 44px;
    background: currentColor;
    opacity: 0.5;
  }

  .hero__text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

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

  .hero__image {
    height: auto;
    max-height: min(58vh, 520px);
    width: auto;
    max-width: 100%;
    object-position: bottom center;
  }

  .hero__arch {
    background: radial-gradient(
      66% 52% at 50% 70%,
      rgba(236, 229, 215, 0.6) 0%,
      rgba(228, 220, 203, 0.3) 46%,
      rgba(228, 220, 203, 0) 80%
    );
  }
}

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

  body {
    font-size: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .utility__inner {
    justify-content: center;
    text-align: center;
    padding-top: 9px;
    padding-bottom: 9px;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

  .hero__phone {
    justify-content: center;
  }

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

  .accolades__row {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 18px;
    row-gap: 30px;
  }

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

  .accolades__badge--trial {
    height: 58px;
  }

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

  .accolades__badge--justice {
    height: 44px;
  }

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

  .about__note {
    padding: 22px;
  }

  .btn {
    white-space: normal;
    text-align: center;
    font-size: 17px;
    padding: 15px 24px;
    line-height: 1.35;
  }

  .about__figure::before {
    left: -10px;
    top: -10px;
  }

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

  .result-card {
    min-height: 0;
  }
}
