:root {
  --navy: #1f2744;
  --navy-2: #10295c;
  --ink: #1f2744;
  --muted: #596174;
  --line: #e4e8f1;
  --paper: #f6f7f9;
  --page-bg: #f7f7f7;
  --white: #ffffff;
  --accent: #aa9679;
  --gold: #b7a487;
  --gold-on-navy: #d8c9ad;
  --gold-deep: #9f8b70;
  --gold-metal: #b7a487;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px rgba(12, 22, 52, 0.12);
  --shadow-soft: 0 12px 30px rgba(12, 22, 52, 0.08);
  --glass: rgba(255, 255, 255, 0.16);
  --glass-line: rgba(255, 255, 255, 0.32);
  --glass-light: rgba(255, 255, 255, 0.58);
  --liquid-line: rgba(255, 255, 255, 0.58);
  --liquid-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), inset 0 -1px 0 rgba(31, 39, 68, 0.08);
  --glass-panel:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.54)),
    rgba(255, 255, 255, 0.6);
  --dark-glass:
    linear-gradient(135deg, rgba(16, 41, 92, 0.96), rgba(31, 39, 68, 0.96)),
    var(--navy);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(207, 214, 223, 0.12), transparent 28%),
    var(--page-bg);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body.is-loading {
  overflow: hidden;
}

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

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

@keyframes liquid-border-sweep {
  from {
    background-position: 180% 0;
  }

  to {
    background-position: -80% 0;
  }
}

@keyframes loader-logo-enter {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.94);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loader-title-enter {
  0% {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes loader-subtitle-enter {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loader-brand-settle {
  0% {
    transform: translateY(10px) scale(0.985);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--page-bg);
  transition: opacity 520ms ease, visibility 520ms ease;
}

.page-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.page-loader__brand {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  width: fit-content;
  max-width: calc(100vw - 64px);
  padding: clamp(22px, 4vw, 34px);
  animation: loader-brand-settle 1200ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-loader__logo {
  width: clamp(128px, 20vw, 220px);
  aspect-ratio: 695 / 352;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 16px 28px rgba(12, 22, 52, 0.12));
  animation: loader-logo-enter 820ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
}

.page-loader__text {
  display: grid;
  gap: 4px;
  width: max-content;
  min-width: 0;
  justify-items: start;
  opacity: 1;
  text-transform: uppercase;
}

.page-loader__title {
  display: block;
  color: var(--navy);
  font-size: clamp(36px, 5.6vw, 76px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 0;
  animation: loader-title-enter 920ms cubic-bezier(0.16, 1, 0.3, 1) 520ms both;
}

.page-loader__subtitle {
  display: block;
  padding-left: 0.12em;
  color: var(--muted);
  font-size: clamp(14px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  animation: loader-subtitle-enter 760ms cubic-bezier(0.16, 1, 0.3, 1) 780ms both;
}

@media (prefers-reduced-motion: reduce) {
  .page-loader__brand::after,
  .page-loader__logo,
  .page-loader__text {
    animation: none;
  }

  .page-loader__logo,
  .page-loader__text {
    opacity: 1;
  }

  .button:hover::before,
  .intro-card:hover::before,
  .service-card:hover::before,
  .offer-list p:hover::after,
  .work-step:hover::after,
  .practice-item:hover .practice-link::before,
  .practice-item:focus-within .practice-link::before,
  .practice-item.is-open .practice-link::before,
  .reviews-summary:hover::before,
  .reviews-carousel:hover::before,
  .carousel-button:hover::before,
  .contacts__content:hover::after,
  .messenger-button:hover::before,
  .mobile-contact-bar a:active::before,
  .mobile-contact-bar__messenger:active::before,
  .mobile-contact-bar a:focus-visible::before,
  .mobile-contact-bar__messenger:focus-visible::before,
  .contact-card:hover::after,
  .contact-form:hover::after,
  .map-card:hover::after {
    animation: none;
  }
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(90deg, #06122d, #10295c);
  font-size: 13px;
}

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

.topbar__item,
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.icon {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--gold);
  font-size: 0;
  line-height: 1;
  flex: 0 0 18px;
}

.icon--svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.icon--svg path,
.icon--svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topbar .icon {
  color: var(--gold-on-navy);
}

.icon--location {
  position: relative;
}

.icon--location::before {
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  content: "";
  transform: rotate(-45deg);
}

.icon--location::after {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  transform: translateY(-1px);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.64)),
    rgba(247, 247, 247, 0.78);
  border-bottom: 1px solid rgba(31, 39, 68, 0.07);
  box-shadow: 0 10px 30px rgba(8, 20, 50, 0.055);
  backdrop-filter: blur(22px) saturate(1.35);
}

.navbar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
}

.brand__logo {
  width: 108px;
  height: 55px;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand__text {
  display: grid;
  gap: 0;
  justify-items: start;
  min-width: 214px;
}

.brand__title {
  color: var(--navy);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
}

.brand__subtitle {
  padding-left: 0.16em;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #1f2744;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  border-radius: 6px;
  padding: 25px 0;
  transition: color 180ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a:hover {
  color: var(--navy);
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 6px;
  padding: 9px 12px;
  color: var(--navy);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.5)),
    rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(18px) saturate(1.35);
  font-weight: 700;
  box-shadow: var(--liquid-shadow), 0 10px 24px rgba(12, 22, 52, 0.06);
  white-space: nowrap;
}

.phone__icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--white);
  border-radius: 5px;
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 3px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: var(--white);
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  background: url("assets/hero-vektor-logo.png") center / cover no-repeat;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(5, 14, 37, 0.9) 0%, rgba(8, 22, 58, 0.76) 48%, rgba(8, 22, 58, 0.42) 100%),
    linear-gradient(0deg, rgba(8, 22, 58, 0.5), rgba(8, 22, 58, 0.08));
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1360px, calc(100% - 48px));
  min-height: 680px;
  max-width: none;
  flex-direction: column;
  justify-content: center;
  padding: 88px 0 156px 8px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--accent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 2px 8px rgba(12, 22, 52, 0.1);
  content: "";
}

.hero .eyebrow {
  color: #e8dcc0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.hero__text {
  max-width: 760px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.58;
}

.rating-strip {
  display: flex;
  max-width: 720px;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
}

.rating-strip span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.07)),
    var(--glass);
  box-shadow: inset 0 1px 0 var(--glass-light), 0 12px 34px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px) saturate(1.35);
  font-size: 14px;
  font-weight: 700;
}

.rating-strip__score {
  color: var(--navy) !important;
  background: var(--gold) !important;
}

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

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 26px;
  letter-spacing: 0.02em;
  font-weight: 800;
  backdrop-filter: blur(16px) saturate(1.22);
  box-shadow: var(--liquid-shadow), 0 14px 30px rgba(8, 22, 58, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(105deg, transparent 0 18%, rgba(255, 255, 255, 0.78) 32%, transparent 46% 100%);
  background-size: 240% 100%;
  content: "";
  opacity: 0;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.54);
  box-shadow: var(--liquid-shadow), 0 12px 22px rgba(8, 22, 58, 0.18);
}

.button:hover::before {
  animation: liquid-border-sweep 1200ms ease both;
  opacity: 1;
}

.button--primary {
  color: var(--white);
  background: var(--dark-glass);
  border-color: rgba(255, 255, 255, 0.28);
}

.button--light {
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.1)),
    rgba(255, 255, 255, 0.1);
  box-shadow: var(--liquid-shadow), 0 14px 30px rgba(8, 22, 58, 0.08);
}

.hero .button--light,
.map-card__actions .button--light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
}

.intro-cards,
.services-overview,
.offer,
.practice {
  padding: 88px 0;
  background:
    linear-gradient(180deg, rgba(247, 247, 247, 0.96), rgba(247, 247, 247, 1)),
    radial-gradient(circle at 90% 12%, rgba(200, 95, 62, 0.08), transparent 28%);
}

.intro-cards {
  position: relative;
  z-index: 4;
  margin-top: -86px;
  padding: 0 0 96px;
  background: linear-gradient(180deg, transparent 0 86px, var(--page-bg) 86px 100%);
}

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

.intro-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 304px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 0;
  color: var(--white);
  background: linear-gradient(135deg, #081a3f, #0b214e);
  box-shadow: var(--liquid-shadow), 0 22px 52px rgba(7, 20, 50, 0.14);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.intro-card::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(110deg, transparent 0 20%, rgba(255, 255, 255, 0.66) 36%, transparent 52% 100%);
  background-size: 260% 100%;
  content: "";
  opacity: 0;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.intro-card:hover {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: var(--liquid-shadow), 0 28px 72px rgba(7, 20, 50, 0.2);
  transform: translateY(-3px);
}

.intro-card:hover::before {
  animation: liquid-border-sweep 1350ms ease both;
  opacity: 1;
}

.intro-card::after {
  display: block;
  height: 86px;
  margin-top: 20px;
  background-image:
    linear-gradient(0deg, rgba(7, 20, 50, 0.18), rgba(7, 20, 50, 0.18)),
    url("assets/intro-practice.png");
  background-position: center;
  background-size: cover;
  content: "";
  opacity: 0.82;
}

.intro-card--consultation::after {
  background-image:
    linear-gradient(0deg, rgba(7, 20, 50, 0.2), rgba(7, 20, 50, 0.2)),
    url("assets/intro-consultation.png");
  background-position: center;
}

.intro-card--practice::after {
  display: block;
  background-image:
    linear-gradient(0deg, rgba(7, 20, 50, 0.2), rgba(7, 20, 50, 0.2)),
    url("assets/intro-practice.png");
  background-position: center;
}

.intro-card--trust::after {
  display: block;
  background-image:
    linear-gradient(0deg, rgba(7, 20, 50, 0.2), rgba(7, 20, 50, 0.2)),
    url("assets/intro-trust.png");
  background-position: center;
}

.intro-card__top {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.intro-card__icon {
  display: grid;
  width: 66px;
  height: 76px;
  place-items: center;
  color: #142044;
  border: 0;
  border-radius: 0;
  background: var(--gold);
  box-shadow: 10px 0 28px rgba(5, 14, 34, 0.1);
  font-size: 26px;
}

.intro-card__icon-svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.intro-card h2 {
  margin: 0;
  padding-right: 22px;
  color: var(--white);
  font-size: 21px;
  line-height: 1.24;
}

.intro-card p {
  margin: 26px 28px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.62;
}

.intro-card a {
  width: fit-content;
  margin: 18px 28px 0;
  color: #c5b394;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-card a::after {
  margin-left: 8px;
  content: "→";
}

.services-overview {
  background:
    linear-gradient(180deg, var(--page-bg) 0%, var(--page-bg) 100%),
    radial-gradient(circle at 14% 8%, rgba(207, 214, 223, 0.12), transparent 24%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.service-card {
  position: relative;
  isolation: isolate;
  display: flex;
  height: 100%;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--glass-panel);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 10px;
  box-shadow: var(--liquid-shadow), 0 18px 46px rgba(12, 22, 52, 0.08);
  backdrop-filter: blur(16px) saturate(1.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(110deg, transparent 0 18%, rgba(255, 255, 255, 0.86) 34%, transparent 50% 100%);
  background-size: 260% 100%;
  content: "";
  opacity: 0.34;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--liquid-shadow), 0 22px 56px rgba(12, 22, 52, 0.12);
}

.service-card:hover::before {
  animation: liquid-border-sweep 1350ms ease both;
  opacity: 1;
}

.service-card__photo {
  flex: 0 0 148px;
  height: 148px;
  background-color: #dfe3ea;
  background-position: center;
  background-size: cover;
  filter: saturate(0.82) contrast(1.02);
}

.service-card__photo--consult {
  background-image: linear-gradient(rgba(8, 22, 58, 0.08), rgba(8, 22, 58, 0.08)), url("assets/service-final-consult.png");
  background-position: center;
}

.service-card__photo--negotiation {
  background-image: linear-gradient(rgba(8, 22, 58, 0.1), rgba(8, 22, 58, 0.1)), url("assets/service-final-negotiation.png");
  background-position: center;
}

.service-card__photo--expertise {
  background-image: linear-gradient(rgba(8, 22, 58, 0.1), rgba(8, 22, 58, 0.1)), url("assets/service-final-expertise.png");
  background-position: center;
}

.service-card__photo--court {
  background-image: linear-gradient(rgba(8, 22, 58, 0.12), rgba(8, 22, 58, 0.12)), url("assets/service-final-court.png");
  background-position: center;
}

.service-card__photo--legal-docs {
  background-image: linear-gradient(rgba(8, 22, 58, 0.08), rgba(8, 22, 58, 0.08)), url("assets/service-final-legal-docs.png");
  background-position: center;
}

.service-card__photo--motions {
  background-image: linear-gradient(rgba(8, 22, 58, 0.14), rgba(8, 22, 58, 0.14)), url("assets/service-final-motions.png");
  background-position: center;
}

.service-card__photo--construction {
  background-image: linear-gradient(rgba(8, 22, 58, 0.12), rgba(8, 22, 58, 0.12)), url("assets/service-final-construction.png");
  background-position: center;
}

.service-card__photo--contracts {
  background-image: linear-gradient(rgba(8, 22, 58, 0.14), rgba(8, 22, 58, 0.14)), url("assets/service-final-contracts.png");
  background-position: center;
}

.service-card__body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 258px;
  padding: 26px 22px 24px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 16%, rgba(207, 214, 223, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(31, 39, 68, 0.98), rgba(16, 41, 92, 0.96));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.service-card__body p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.58;
  transition: color 220ms ease;
}

.service-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  color: var(--navy);
  background:
    linear-gradient(145deg, rgba(183, 164, 135, 0.92), rgba(183, 164, 135, 0.72)),
    var(--gold);
  font-size: 22px;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.service-card__icon-svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__body h3 {
  color: var(--white);
  font-size: 19px;
  line-height: 1.24;
  overflow-wrap: anywhere;
  transition: color 220ms ease;
}

.service-card__cta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: #d8c9ad;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 220ms ease, transform 180ms ease;
}

.service-card__cta::after {
  content: "→";
  font-size: 16px;
  line-height: 1;
}

.service-card__cta:hover,
.service-card__cta:focus-visible {
  color: var(--white);
  transform: translateX(2px);
}

.service-card:hover .service-card__body {
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 16%, rgba(183, 164, 135, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 247, 247, 0.76));
  border-top-color: rgba(31, 39, 68, 0.06);
}

.service-card:hover .service-card__body h3 {
  color: var(--navy);
}

.service-card:hover .service-card__body p {
  color: #3f475c;
}

.service-card:hover .service-card__cta {
  color: var(--navy);
}

.service-card:hover .service-card__cta:hover,
.service-card:hover .service-card__cta:focus-visible {
  color: var(--gold-deep);
}

.service-card:hover .service-card__icon {
  border-color: rgba(183, 164, 135, 0.28);
  background:
    linear-gradient(145deg, rgba(183, 164, 135, 0.34), rgba(183, 164, 135, 0.18)),
    rgba(255, 255, 255, 0.46);
}

.company {
  padding: 96px 0;
  background: var(--page-bg);
}

.company__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: 70px;
}

.company__content {
  --company-text-width: 680px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(12px, 1.6vw, 24px) 0;
}

.company__content h2,
.company__content > p,
.signature {
  width: 100%;
  max-width: var(--company-text-width);
}

.portrait {
  aspect-ratio: 2 / 3;
  min-height: 0;
  background: url("assets/lawyer-portrait.png") center / contain no-repeat;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.company__content p {
  color: #3f475c;
  font-size: 17px;
  line-height: 1.62;
}

.quote {
  box-sizing: border-box;
  margin: 26px 0 0;
  padding-left: 22px;
  border-left: 3px solid var(--accent);
  color: var(--ink) !important;
  font-weight: 700;
  line-height: 1.56;
}

.signature {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 28px;
  margin-top: 34px;
  padding-top: 26px;
}

.signature::before {
  position: absolute;
  top: 0;
  left: 0;
  width: min(100%, 560px);
  height: 1px;
  background: linear-gradient(90deg, rgba(183, 164, 135, 0.76), rgba(224, 229, 238, 0.86) 42%, transparent);
  content: "";
}

.signature__mark {
  display: flex;
  width: 318px;
  height: 124px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transform: translateY(8px);
}

.signature__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.signature__person {
  display: grid;
  gap: 8px;
  min-width: 180px;
  padding-bottom: 22px;
  padding-left: 24px;
  border-left: 1px solid rgba(183, 164, 135, 0.62);
}

.signature__person strong {
  color: var(--navy);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.signature small {
  display: block;
  color: #7a8194;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.audience {
  padding: 0 0 88px;
  background: var(--page-bg);
}

.audience__inner {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 34px);
  align-items: stretch;
}

.audience__inner h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 38px);
}

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

.audience-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 188px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  padding: 26px 32px;
  background: var(--glass-panel);
  box-shadow: var(--liquid-shadow), var(--shadow-soft);
  backdrop-filter: blur(14px) saturate(1.14);
}

.audience-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(105deg, transparent 0 20%, rgba(255, 255, 255, 0.82) 36%, transparent 52% 100%);
  background-size: 240% 100%;
  content: "";
  opacity: 0.38;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.audience-card strong {
  display: block;
  max-width: 520px;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
}

.audience-card p {
  max-width: 560px;
  margin: 0;
  color: #3f475c;
  font-size: 17px;
  line-height: 1.58;
}

.offer {
  position: relative;
  overflow: hidden;
}

.offer-list {
  position: relative;
  display: grid;
  gap: 14px;
  max-width: 980px;
}

.offer-list p {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-sm);
  padding: 18px 20px 18px 52px;
  color: #1f2744;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.54)),
    rgba(255, 255, 255, 0.62);
  box-shadow: var(--liquid-shadow), var(--shadow-soft);
  backdrop-filter: blur(14px) saturate(1.18);
  font-weight: 600;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.offer-list p::before {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 3px 9px rgba(12, 22, 52, 0.1);
  content: "";
}

.offer-list p::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(105deg, transparent 0 20%, rgba(255, 255, 255, 0.82) 36%, transparent 52% 100%);
  background-size: 240% 100%;
  content: "";
  opacity: 0;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.offer-list p:hover {
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--liquid-shadow), 0 18px 42px rgba(12, 22, 52, 0.1);
  transform: translateY(-2px);
}

.offer-list p:hover::after {
  animation: liquid-border-sweep 1300ms ease both;
  opacity: 1;
}

.work-steps {
  padding: 88px 0;
  background: var(--page-bg);
}

.work-steps__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.work-steps__grid::before {
  position: absolute;
  top: 45px;
  right: 9%;
  left: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183, 164, 135, 0.58), transparent);
  content: "";
}

.work-step {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  z-index: 1;
  min-height: 226px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 10px;
  padding: 26px;
  background: var(--glass-panel);
  box-shadow: var(--liquid-shadow), var(--shadow-soft);
  backdrop-filter: blur(14px) saturate(1.18);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.work-step::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(105deg, transparent 0 20%, rgba(255, 255, 255, 0.82) 36%, transparent 52% 100%);
  background-size: 240% 100%;
  content: "";
  opacity: 0;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.work-step:hover {
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--liquid-shadow), 0 18px 42px rgba(12, 22, 52, 0.1);
  transform: translateY(-2px);
}

.work-step:hover::after {
  animation: liquid-border-sweep 1300ms ease both;
  opacity: 1;
}

.work-step span {
  display: inline-grid;
  width: 42px;
  height: 34px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(183, 164, 135, 0.34);
  border-radius: 6px;
  color: var(--navy);
  background:
    linear-gradient(145deg, rgba(183, 164, 135, 0.32), rgba(183, 164, 135, 0.16)),
    rgba(255, 255, 255, 0.52);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.work-step h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
}

.work-step p {
  margin-bottom: 0;
  color: #3f475c;
  font-size: 16px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  overflow: visible;
}

.practice-item {
  position: relative;
  min-width: 0;
}

.practice-link {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  gap: 16px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  min-height: 86px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.5)),
    rgba(255, 255, 255, 0.58);
  color: #1f2744;
  box-shadow: var(--liquid-shadow), var(--shadow-soft);
  backdrop-filter: blur(14px) saturate(1.18);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.practice-link::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(105deg, transparent 0 20%, rgba(255, 255, 255, 0.82) 36%, transparent 52% 100%);
  background-size: 240% 100%;
  content: "";
  opacity: 0;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.practice-link::after {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(48, 56, 72, 0.2);
  border-radius: 50%;
  color: var(--navy);
  content: "+";
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.practice-item:hover .practice-link,
.practice-item:focus-within .practice-link,
.practice-item.is-open .practice-link {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: var(--liquid-shadow), 0 20px 46px rgba(7, 20, 50, 0.16);
  transform: translateY(-3px);
}

.practice-item:hover .practice-link::before,
.practice-item:focus-within .practice-link::before,
.practice-item.is-open .practice-link::before {
  animation: liquid-border-sweep 1300ms ease both;
  opacity: 1;
}

.practice-item:hover .practice-link::after,
.practice-item:focus-within .practice-link::after,
.practice-item.is-open .practice-link::after {
  border-color: rgba(255, 255, 255, 0.84);
  color: var(--white);
  transform: rotate(45deg);
}

.practice-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 20;
  width: min(540px, 88vw);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 24px 26px 26px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 41, 108, 0.98), rgba(7, 26, 69, 0.98)),
    var(--navy);
  box-shadow: 0 28px 60px rgba(7, 20, 50, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.practice-dropdown::before {
  position: absolute;
  top: -10px;
  left: 28px;
  width: 18px;
  height: 18px;
  background: #10296c;
  content: "";
  transform: rotate(45deg);
}

.practice-item:nth-child(5n + 4) .practice-dropdown,
.practice-item:nth-child(5n + 5) .practice-dropdown {
  right: 0;
  left: auto;
}

.practice-item:nth-child(5n + 4) .practice-dropdown::before,
.practice-item:nth-child(5n + 5) .practice-dropdown::before {
  right: 28px;
  left: auto;
}

.practice-item:hover .practice-dropdown,
.practice-item:focus-within .practice-dropdown,
.practice-item.is-open .practice-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.practice-dropdown h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.practice-dropdown ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.practice-dropdown li {
  position: relative;
  padding-left: 18px;
}

.practice-dropdown li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.practice-dropdown a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.36);
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.practice-dropdown a:hover,
.practice-dropdown a:focus-visible {
  color: var(--white);
  text-decoration-color: var(--gold);
}

.reviews {
  padding: 90px 0;
  background: var(--page-bg);
}

.reviews__top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.reviews__top h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.reviews__source {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border: 1px solid rgba(7, 20, 50, 0.12);
  border-radius: 6px;
  padding: 0 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: 0 16px 34px rgba(7, 20, 50, 0.16);
  font-weight: 800;
  white-space: nowrap;
}

.reviews__all-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  padding: 0 18px;
  color: var(--navy);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.5)),
    rgba(255, 255, 255, 0.52);
  box-shadow: var(--liquid-shadow), var(--shadow-soft);
  backdrop-filter: blur(14px) saturate(1.12);
  font-weight: 900;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.reviews__all-link:hover,
.reviews__all-link:focus-visible {
  box-shadow: var(--liquid-shadow), 0 16px 34px rgba(12, 22, 52, 0.1);
  transform: translateY(-2px);
}

.reviews-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  justify-content: center;
}

.reviews-summary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 8px;
  padding: 30px;
  color: var(--white);
  background: linear-gradient(135deg, #1f2744, #10295c);
  box-shadow: var(--liquid-shadow), var(--shadow);
}

.reviews-summary::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(105deg, transparent 0 20%, rgba(255, 255, 255, 0.54) 36%, transparent 52% 100%);
  background-size: 240% 100%;
  content: "";
  opacity: 0.42;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.reviews-summary:hover::before {
  animation: liquid-border-sweep 1400ms ease both;
  opacity: 1;
}

.reviews-summary > * {
  position: relative;
  z-index: 1;
}

.reviews-summary__label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reviews-summary strong {
  display: block;
  color: var(--white);
  font-size: 72px;
  line-height: 0.95;
}

.reviews-summary__source-name {
  max-width: 260px;
  font-size: 40px !important;
  line-height: 1.08 !important;
}

.reviews-summary__stars {
  display: block;
  margin: 14px 0 20px;
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 0.12em;
}

.reviews-summary p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
}

.reviews-summary a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  padding: 0 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.reviews-widget {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.64)),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--liquid-shadow), var(--shadow-soft);
  backdrop-filter: blur(16px) saturate(1.18);
}

.reviews-widget::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(105deg, transparent 0 20%, rgba(255, 255, 255, 0.82) 36%, transparent 52% 100%);
  background-size: 240% 100%;
  content: "";
  opacity: 0;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.reviews-widget:hover::before {
  animation: liquid-border-sweep 1400ms ease both;
  opacity: 1;
}

.reviews-widget__frame {
  display: block;
  width: 100%;
  min-height: 560px;
  border: 0;
  border-radius: 6px;
  background: var(--white);
}

.reviews-widget__fallback {
  display: block;
  padding: 12px 4px 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.reviews-carousel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.64)),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--liquid-shadow), var(--shadow-soft);
  backdrop-filter: blur(16px) saturate(1.18);
}

.reviews-carousel::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(105deg, transparent 0 20%, rgba(255, 255, 255, 0.82) 36%, transparent 52% 100%);
  background-size: 240% 100%;
  content: "";
  opacity: 0;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.reviews-carousel:hover::before {
  animation: liquid-border-sweep 1400ms ease both;
  opacity: 1;
}

.reviews-track {
  position: relative;
  min-height: 320px;
}

.review-card {
  position: absolute;
  inset: 0;
  display: flex;
  min-height: 320px;
  max-height: 320px;
  flex-direction: column;
  gap: 18px;
  border-radius: 8px;
  overflow: auto;
  padding: 30px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.review-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.review-card::before {
  color: var(--gold);
  content: var(--review-stars, "★★★★★");
  font-size: 14px;
  letter-spacing: 0.08em;
}

.review-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.review-card__header strong {
  color: var(--navy);
  font-size: 18px;
}

.review-card__header span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.review-card p {
  margin-bottom: 0;
  color: #3f475c;
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.carousel-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 34px;
  line-height: 1;
  box-shadow: var(--liquid-shadow);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.carousel-button::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(105deg, transparent 0 18%, rgba(255, 255, 255, 0.82) 34%, transparent 50% 100%);
  background-size: 240% 100%;
  content: "";
  opacity: 0;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.carousel-button:hover {
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--liquid-shadow), 0 14px 30px rgba(8, 22, 58, 0.14);
  transform: translateY(-2px);
}

.carousel-button:hover::before {
  animation: liquid-border-sweep 1200ms ease both;
  opacity: 1;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  grid-column: 1 / -1;
  gap: 9px;
  margin-top: 0;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: #c9ced8;
  cursor: pointer;
  padding: 0;
}

.carousel-dot.is-active {
  width: 28px;
  background: var(--gold);
}

.contacts {
  padding: 88px 0 60px;
  background: var(--page-bg);
}

.contacts__grid {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 10px;
  background: var(--glass-panel);
  box-shadow: var(--liquid-shadow), 0 22px 58px rgba(12, 22, 52, 0.08);
  backdrop-filter: blur(16px) saturate(1.18);
}

.contacts__content {
  position: relative;
  isolation: isolate;
  padding: 38px;
  background: transparent;
}

.contacts__content::before {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -1px;
  width: 1px;
  background: rgba(31, 39, 68, 0.08);
  content: "";
}

.contacts__content::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(105deg, transparent 0 20%, rgba(255, 255, 255, 0.82) 36%, transparent 52% 100%);
  background-size: 240% 100%;
  content: "";
  opacity: 0;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.contacts__content:hover::after {
  animation: none;
  opacity: 0;
}

.contacts__content p {
  max-width: 640px;
  color: #3f475c;
  font-size: 18px;
}

.messenger-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 170px));
  gap: 10px;
  margin-top: 18px;
}

.messenger-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  padding: 0 16px;
  color: var(--white);
  background: var(--dark-glass);
  backdrop-filter: blur(16px) saturate(1.22);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: var(--liquid-shadow), 0 14px 30px rgba(8, 22, 58, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.messenger-button::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(105deg, transparent 0 18%, rgba(255, 255, 255, 0.72) 32%, transparent 46% 100%);
  background-size: 240% 100%;
  content: "";
  opacity: 0;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.messenger-button:hover {
  border-color: rgba(255, 255, 255, 0.54);
  box-shadow: var(--liquid-shadow), 0 16px 34px rgba(8, 22, 58, 0.16);
  transform: translateY(-2px);
}

.messenger-button:hover::before {
  animation: liquid-border-sweep 1200ms ease both;
  opacity: 1;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  margin-top: 26px;
}

.contact-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-column: span 3;
  gap: 16px;
  align-items: start;
  height: 100%;
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  padding: 17px;
  background: var(--glass-panel);
  box-shadow: var(--liquid-shadow), 0 14px 34px rgba(12, 22, 52, 0.055);
  backdrop-filter: blur(14px) saturate(1.12);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(105deg, transparent 0 20%, rgba(255, 255, 255, 0.82) 36%, transparent 52% 100%);
  background-size: 240% 100%;
  content: "";
  opacity: 0;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.contact-card:hover {
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow: var(--liquid-shadow), 0 18px 42px rgba(12, 22, 52, 0.09);
  transform: translateY(-2px);
}

.contact-card:hover::after {
  animation: liquid-border-sweep 1300ms ease both;
  opacity: 1;
}

.contact-card--wide {
  grid-column: 1 / -1;
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: auto;
  align-items: center;
  padding: 18px;
  border-color: rgba(31, 39, 68, 0.12);
  background: var(--dark-glass);
  box-shadow: var(--liquid-shadow), 0 18px 42px rgba(12, 22, 52, 0.14);
}

.contact-card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(31, 39, 68, 0.08);
  border-radius: 4px;
  color: var(--navy);
  background: var(--gold);
  box-shadow: none;
  font-size: 18px;
}

.contact-card__icon-svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card--wide .contact-card__icon {
  width: 48px;
  height: 48px;
  color: var(--navy);
}

.contact-card--wide .contact-card__icon-svg {
  width: 23px;
  height: 23px;
}

.contact-card strong {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
}

.contact-card--wide strong {
  color: var(--white);
  font-size: 18px;
}

.contact-card p {
  margin: 0;
  color: #3f475c;
  font-size: 15px;
  line-height: 1.55;
}

.contact-card--wide p {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: rgba(255, 255, 255, 0.88);
}

.contact-card a {
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(31, 39, 68, 0.24);
  text-underline-offset: 3px;
}

.contact-card--wide a {
  color: var(--white);
  font-size: 20px;
  letter-spacing: 0.01em;
  text-decoration-color: rgba(255, 255, 255, 0.26);
}

.contact-form {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 13px;
  border: 0;
  border-radius: 0;
  padding: 38px;
  background: var(--dark-glass);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08);
}

.contact-form::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(105deg, transparent 0 20%, rgba(255, 255, 255, 0.5) 36%, transparent 52% 100%);
  background-size: 240% 100%;
  content: "";
  opacity: 0.32;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.contact-form:hover::after {
  animation: liquid-border-sweep 1450ms ease both;
  opacity: 1;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 800;
}

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

.field-hint {
  display: inline;
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 600;
}

.form-next-steps {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 14px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
}

.form-next-steps strong {
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.form-next-steps span {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.35;
}

.form-next-steps span::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-on-navy);
  content: "";
}

.contact-form .consent-field {
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.consent-field a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.42);
  text-underline-offset: 3px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  resize: vertical;
}

.contact-form .consent-field input {
  width: 18px;
  height: 18px;
  padding: 0;
  flex: 0 0 18px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(216, 193, 138, 0.68);
  outline: 3px solid rgba(216, 193, 138, 0.16);
}

.contact-form .button {
  width: 100%;
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(232, 236, 243, 0.92)),
    var(--white);
  box-shadow: var(--liquid-shadow), 0 14px 30px rgba(8, 22, 58, 0.16);
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.form-note.is-success {
  color: rgba(225, 244, 229, 0.94);
}

.form-note.is-error {
  color: rgba(255, 223, 220, 0.96);
}

.map-block {
  margin-top: 56px;
  background: var(--page-bg);
}

.map-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(280px, 0.46fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(7, 20, 50, 0.08);
  border-radius: 8px;
  background: var(--glass-panel);
  box-shadow: var(--liquid-shadow), var(--shadow);
}

.map-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(105deg, transparent 0 20%, rgba(255, 255, 255, 0.68) 36%, transparent 52% 100%);
  background-size: 240% 100%;
  content: "";
  opacity: 0;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.map-card:hover::after {
  animation: liquid-border-sweep 1450ms ease both;
  opacity: 1;
}

.map-card__info {
  position: relative;
  overflow: hidden;
  padding: 34px;
  color: var(--white);
  background: linear-gradient(135deg, #1f2744, #10295c);
}

.map-card__info > * {
  position: relative;
  z-index: 1;
}

.map-card__info h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 30px;
}

.map-card__info p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.map-card__actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.map-card__actions .button--primary {
  color: var(--white);
  background: var(--dark-glass);
  border-color: rgba(255, 255, 255, 0.28);
}

.map-card__actions .button--light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  background: var(--page-bg);
}

.footer {
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, #06122d, #0d214f);
}

.footer__inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer__brand img {
  width: 52px;
  height: 32px;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.footer a {
  color: var(--white);
  font-weight: 700;
}

.footer__links {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--white);
  text-decoration-color: var(--gold);
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: auto;
  z-index: 80;
  display: flex;
  width: min(560px, calc(100vw - 48px));
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  border: 1px solid rgba(31, 39, 68, 0.12);
  border-radius: 8px;
  padding: 18px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(7, 20, 50, 0.24);
  backdrop-filter: blur(18px) saturate(1.2);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__text {
  display: grid;
  gap: 4px;
  font-size: 14px;
  line-height: 1.45;
}

.cookie-banner__text strong {
  font-size: 16px;
}

.cookie-banner__text a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(31, 39, 68, 0.32);
  text-underline-offset: 3px;
}

.cookie-banner__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-banner .button {
  min-height: 44px;
  padding: 12px 18px;
  white-space: nowrap;
}

.cookie-banner .button--light {
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.36)),
    rgba(255, 255, 255, 0.36);
  box-shadow: var(--liquid-shadow), 0 12px 24px rgba(8, 22, 58, 0.08);
}

.mobile-contact-bar {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 70;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  padding: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.54)),
    rgba(255, 255, 255, 0.66);
  box-shadow: var(--liquid-shadow), 0 18px 46px rgba(7, 20, 50, 0.18);
  backdrop-filter: blur(16px) saturate(1.2);
}

.mobile-contact-bar a,
.mobile-contact-bar .mobile-contact-bar__messenger {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  padding: 10px 8px;
  color: var(--white);
  background: var(--dark-glass);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  box-shadow: var(--liquid-shadow);
}

.mobile-contact-bar a::before,
.mobile-contact-bar__messenger::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(105deg, transparent 0 18%, rgba(255, 255, 255, 0.72) 32%, transparent 46% 100%);
  background-size: 240% 100%;
  content: "";
  opacity: 0;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.mobile-contact-bar a:active::before,
.mobile-contact-bar__messenger:active::before,
.mobile-contact-bar a:focus-visible::before,
.mobile-contact-bar__messenger:focus-visible::before {
  animation: liquid-border-sweep 1200ms ease both;
  opacity: 1;
}

.mobile-contact-bar__messenger {
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.36)),
    rgba(255, 255, 255, 0.34);
}

.privacy-page {
  color: rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(circle at 86% 42%, rgba(255, 255, 255, 0.1), transparent 28%),
    linear-gradient(135deg, #151e47, #1f2744 68%);
}

.privacy-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 20, 50, 0.72);
  backdrop-filter: blur(16px);
}

.privacy-header__inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.privacy-header .brand__title,
.privacy-header .brand__subtitle {
  color: var(--white);
}

.privacy-document {
  padding: 72px 0 88px;
}

.privacy-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
}

.privacy-card::after {
  position: absolute;
  right: -160px;
  bottom: 80px;
  width: 520px;
  height: 520px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.privacy-card > * {
  position: relative;
  z-index: 1;
}

.privacy-card h1 {
  max-width: 980px;
  color: var(--white);
  font-size: clamp(40px, 7vw, 88px);
  letter-spacing: 0;
}

.privacy-card h2 {
  margin: 34px 0 14px;
  color: var(--white);
  font-size: 24px;
  line-height: 1.25;
}

.privacy-card p,
.privacy-card li {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.6;
}

.privacy-card p {
  margin: 0 0 18px;
}

.privacy-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding-left: 24px;
}

.privacy-card a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.48);
  text-underline-offset: 4px;
}

.privacy-lead {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 20px !important;
}

@media (max-width: 1020px) {
  .topbar__inner {
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .navbar__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 16px 20px;
  }

  .nav-links a::after,
  .phone {
    display: none;
  }

  .intro-card-grid,
  .company__grid,
  .audience__inner,
  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .company__content {
    padding: 0;
  }

  .signature {
    margin-top: 38px;
  }

  .contacts__content {
    padding: 30px;
  }

  .contacts__content::before {
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: 1px;
  }

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

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

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

  .work-steps__grid::before {
    display: none;
  }

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

  .practice-item:nth-child(n) .practice-dropdown {
    right: auto;
    left: 0;
  }

  .practice-item:nth-child(n) .practice-dropdown::before {
    right: auto;
    left: 28px;
  }

  .practice-item:nth-child(even) .practice-dropdown {
    right: 0;
    left: auto;
  }

  .practice-dropdown {
    position: static;
    width: 100%;
    margin-top: 10px;
    padding: 20px;
    transform: none;
  }

  .practice-dropdown::before {
    display: none;
  }

  .practice-item:nth-child(even) .practice-dropdown::before {
    right: 28px;
    left: auto;
  }

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

  .reviews__source {
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .reviews__all-link {
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .reviews-panel,
  .map-card {
    grid-template-columns: 1fr;
  }

  .reviews-widget {
    min-height: 600px;
  }

  .reviews-widget__frame {
    min-height: 540px;
  }

  .reviews-carousel {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    padding: 22px;
  }

  .map-card__info {
    padding: 30px;
  }

  .map-card iframe {
    height: 380px;
  }

  .company__grid {
    gap: 36px;
  }

  .portrait {
    width: min(100%, 420px);
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    display: none;
  }

  .navbar__inner {
    min-height: 68px;
  }

  .brand__title {
    font-size: 21px;
  }

  .brand__logo {
    width: 82px;
    height: 42px;
  }

  .brand__subtitle {
    font-size: 9px;
  }

  .hero,
  .hero__content {
    min-height: 590px;
  }

  .hero__content {
    width: min(100% - 24px, 1180px);
    padding: 56px 0 118px;
  }

  .page-loader__brand {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .page-loader__text {
    width: min(100%, 520px);
    min-width: 0;
    justify-items: center;
  }

  .page-loader__title,
  .page-loader__subtitle {
    max-width: 100%;
    white-space: nowrap;
  }

  .hero__text {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .intro-cards,
  .services-overview,
  .audience,
  .offer,
  .work-steps,
  .company,
  .practice,
  .reviews,
  .contacts {
    padding: 64px 0;
  }

  .intro-cards {
    margin-top: -44px;
    padding-top: 0;
    background: linear-gradient(180deg, transparent 0 44px, var(--page-bg) 44px 100%);
  }

  .intro-card {
    min-height: 286px;
    padding: 0;
  }

  .intro-card__top {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    min-height: 68px;
  }

  .intro-card__icon {
    width: 56px;
    height: 68px;
    font-size: 22px;
  }

  .intro-card h2 {
    padding-right: 18px;
    font-size: 19px;
  }

  .intro-card p,
  .intro-card a {
    margin-right: 20px;
    margin-left: 20px;
  }

  .intro-card::after {
    height: 76px;
  }

  .contacts {
    padding-bottom: 84px;
  }

  .service-grid,
  .audience-grid,
  .practice-grid,
  .work-steps__grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .mobile-contact-bar {
    display: grid;
  }

  body {
    padding-bottom: 92px;
  }

  .contact-card,
  .contact-card--wide {
    grid-column: auto;
  }

  .contact-card--wide p {
    display: grid;
    gap: 6px;
  }

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

  .service-card__body,
  .contact-form {
    padding: 26px 22px;
  }

  .signature {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .signature__mark {
    width: min(100%, 286px);
    height: 112px;
    justify-content: flex-start;
    transform: none;
  }

  .signature__person {
    min-width: 0;
    padding-bottom: 0;
    padding-left: 18px;
  }

  .signature__person strong {
    font-size: 23px;
  }

  .contact-form {
    padding-bottom: 120px;
  }

  .practice-link {
    min-height: 82px;
    font-size: 17px;
  }

  .practice-item:nth-child(n) .practice-dropdown,
  .practice-dropdown {
    position: static;
    display: none;
    width: 100%;
    margin-top: 10px;
    padding: 22px 20px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .practice-dropdown::before {
    display: none;
  }

  .practice-item.is-open .practice-dropdown {
    display: block;
  }

  .practice-item:not(.is-open):hover .practice-link,
  .practice-item:not(.is-open):focus-within .practice-link {
    border-color: rgba(255, 255, 255, 0.72);
    color: #1f2744;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.5)),
      rgba(255, 255, 255, 0.58);
    box-shadow: var(--liquid-shadow), var(--shadow-soft);
    transform: none;
  }

  .practice-item:not(.is-open):hover .practice-link::before,
  .practice-item:not(.is-open):focus-within .practice-link::before {
    animation: none;
    opacity: 0;
  }

  .practice-item:not(.is-open):hover .practice-link::after,
  .practice-item:not(.is-open):focus-within .practice-link::after {
    border-color: rgba(48, 56, 72, 0.2);
    color: var(--navy);
    transform: rotate(0deg);
  }

  .practice-dropdown h3 {
    font-size: 21px;
  }

  .practice-dropdown a {
    font-size: 15px;
  }

  .review-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .reviews-carousel {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 10px;
    padding: 16px;
  }

  .reviews-track {
    min-height: 390px;
  }

  .reviews-summary {
    padding: 24px 22px;
  }

  .reviews-summary strong {
    font-size: 58px;
  }

  .reviews-summary__source-name {
    font-size: 34px !important;
  }

  .reviews-widget {
    min-height: 560px;
    padding: 10px;
  }

  .reviews-widget__frame {
    min-height: 500px;
  }

  .review-card {
    min-height: 390px;
    max-height: 390px;
    padding: 24px 20px;
  }

  .review-card p {
    font-size: 16px;
  }

  .carousel-button {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .map-block {
    width: 100%;
    margin-top: 34px;
  }

  .map-card__info {
    padding: 26px 22px;
  }

  .map-card__actions .button {
    width: 100%;
  }

  .map-card iframe {
    height: 360px;
  }

  .footer__inner {
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
    text-align: center;
  }

  .footer__brand {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cookie-banner {
    right: 12px;
    bottom: 92px;
    left: 12px;
    width: auto;
    max-height: calc(100vh - 116px);
    flex-direction: column;
    align-items: stretch;
    overflow: auto;
    overscroll-behavior: contain;
  }

  .cookie-banner__actions {
    flex-direction: column;
  }

  .privacy-header__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 0;
  }

  .privacy-header .button {
    width: 100%;
  }

  .privacy-document {
    padding: 40px 0 64px;
  }

  .privacy-card p,
  .privacy-card li {
    font-size: 16px;
  }
}
