:root {
  --brand-ink: #182029;
  --brand-slate: #28323c;
  --brand-red: #a91f2a;
  --brand-red-dark: #7e111b;
  --brand-cream: #f5f2ed;
  --brand-paper: #fff;
  --brand-line: #e6e0d8;
  --brand-muted: #69737d;
}

html {
  scroll-behavior: smooth;
}

a#uslugi,
a#onas,
a#otzyv,
a#contacts {
  display: block;
  position: relative;
  top: -112px;
  visibility: hidden;
}

body {
  background: var(--brand-paper);
  color: var(--brand-ink);
  font-family: Montserrat-Regular, Arial, sans-serif;
}

p,
a,
button,
input,
textarea,
select,
table {
  font-family: Montserrat-Regular, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
  font-family: Montserrat-Bold, Arial, sans-serif;
}

.wrap-menu-header {
  position: fixed;
  height: 78px;
  border-top: 4px solid var(--brand-red);
  border-bottom: 1px solid rgba(24, 32, 41, 0.08);
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 8px 28px rgba(24, 32, 41, 0.08) !important;
  backdrop-filter: blur(12px);
}

.header-fixed .wrap-menu-header {
  height: 78px;
  background: rgba(255, 255, 255, 0.97);
}

.wrap-menu-header .container,
.wrap-menu-header .wrap_header {
  height: 100%;
}

.wrap_header {
  position: relative;
  flex-wrap: nowrap;
  align-items: center;
  min-height: 0;
}

.wrap_menu {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateX(-50%);
}

.menu,
.main_menu {
  height: 100%;
}

.main_menu > li {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0 13px;
  padding: 0;
}

.main_menu > li > a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 3px;
  color: var(--brand-ink) !important;
  font-family: Montserrat-Bold, Arial, sans-serif !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main_menu > li:hover > a,
.main_menu > li > a:focus-visible {
  color: var(--brand-red) !important;
}

.main_menu > li > a::after {
  position: absolute;
  right: 3px;
  bottom: 20px;
  left: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-red);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: 0.2s ease;
}

.main_menu > li > a:hover::after,
.main_menu > li > a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.wrap_header > .header-phone-shell {
  align-items: center;
  height: 100%;
  margin-left: auto;
  padding: 0;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand-ink) !important;
  font-family: Montserrat-Bold, Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1;
}

.header-phone i {
  color: var(--brand-red);
  font-size: 14px;
}

.header-menu-toggle {
  align-items: center;
  height: 100%;
  margin-left: 24px;
  padding: 0;
}

.btn-show-sidebar {
  position: relative;
  width: 28px;
  height: 18px;
  margin: 0 !important;
  border-top: 2px solid var(--brand-ink);
  border-bottom: 2px solid var(--brand-ink);
}

.btn-show-sidebar::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--brand-ink);
  content: "";
  transform: translateY(-50%);
  transition: width 0.2s ease, background 0.2s ease;
}

.btn-show-sidebar:hover::after {
  width: 28px;
  background: var(--brand-red);
}

.mobile-header-contact {
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mobile-header-contact > a {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 100%;
  color: var(--brand-ink);
  font-family: Montserrat-Bold, Arial, sans-serif;
  font-size: 15px;
}

.mobile-header-contact i {
  color: var(--brand-red);
}

.menu-sidebar .txt19 {
  color: var(--brand-ink);
  font-family: Montserrat-Bold, Arial, sans-serif !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.menu-sidebar .txt19:hover,
.menu-sidebar .txt19:focus-visible {
  color: var(--brand-red);
}

.section-slide .item-slick1 {
  min-height: 760px;
  background-position: center 38%;
}

.section-slide .item-slick1::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(13, 19, 25, 0.28), rgba(13, 19, 25, 0.72)),
    linear-gradient(90deg, rgba(13, 19, 25, 0.3), transparent 55%);
}

.section-slide .wrap-content-slide1 {
  position: relative;
  z-index: 1;
  padding-top: 190px !important;
  padding-bottom: 130px !important;
}

.section-slide .log {
  width: 142px !important;
  margin: 0 0 30px !important;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.2));
}

.hero-kicker {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 980px;
  margin-bottom: 22px !important;
  color: #fff;
  font-size: clamp(44px, 6vw, 78px) !important;
  font-weight: 700;
  line-height: 0.98 !important;
  letter-spacing: -0.045em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}

.hero-description {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.7;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.hero-button:hover,
.hero-button:focus {
  color: #fff;
  transform: translateY(-2px);
}

.hero-button--primary {
  border-color: var(--brand-red);
  background: var(--brand-red);
  box-shadow: 0 14px 34px rgba(126, 17, 27, 0.35);
}

.hero-button--primary:hover,
.hero-button--primary:focus {
  border-color: var(--brand-red-dark);
  background: var(--brand-red-dark);
}

.hero-button--secondary {
  background: rgba(17, 25, 33, 0.26);
  backdrop-filter: blur(8px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.about-content h2 {
  margin-bottom: 16px;
  color: var(--brand-ink);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading > p:last-child {
  color: var(--brand-muted);
  font-size: 15px;
  line-height: 1.7;
}

.section-eyebrow {
  margin-bottom: 12px;
  color: var(--brand-red) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.practice-section {
  padding: 88px 0 96px;
  background: #fff;
}

.practice-grid {
  display: flex;
  margin-right: -10px;
  margin-left: -10px;
}

.practice-grid > [class*="col-"] {
  width: 33.333%;
  max-width: 33.333% !important;
  flex: 0 0 33.333%;
  padding-right: 10px;
  padding-left: 10px;
}

.practice-grid .item-ourmenu {
  height: 285px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(24, 32, 41, 0.1);
  border-radius: 12px;
  background: var(--brand-slate);
  box-shadow: 0 12px 34px rgba(24, 32, 41, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practice-grid .item-ourmenu:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(24, 32, 41, 0.18);
}

.practice-grid .item-ourmenu::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 27, 34, 0.05) 24%, rgba(20, 27, 34, 0.92) 100%);
}

.practice-grid .item-ourmenu > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05);
}

.practice-grid .item-ourmenu .btn2 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  width: auto !important;
  height: auto;
  min-height: 100%;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
  transform: none;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: Montserrat-Bold, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35 !important;
  text-align: left !important;
}

.practice-grid .item-ourmenu .btn2:hover {
  background: transparent;
  color: #fff;
}

.practice-card--other {
  background:
    radial-gradient(circle at 72% 20%, rgba(169, 31, 42, 0.34), transparent 34%),
    linear-gradient(145deg, #2e3944, #151d25) !important;
}

.practice-grid .practice-card--other::after {
  background: linear-gradient(180deg, transparent 30%, rgba(13, 19, 25, 0.82) 100%);
}

.practice-grid .practice-card--other > .practice-other-logo {
  position: absolute;
  top: 48%;
  left: 50%;
  width: 104px;
  height: 104px;
  object-fit: contain;
  opacity: 0.88;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.25));
  transform: translate(-50%, -62%);
}

.popup-service-choice {
  display: inline-flex;
  margin-top: 16px;
  padding: 8px 11px;
  border: 1px solid rgba(169, 31, 42, 0.13);
  border-radius: 7px;
  background: rgba(169, 31, 42, 0.06);
  color: var(--brand-muted) !important;
  font-size: 11px !important;
}

.popup-service-choice strong {
  margin-left: 4px;
  color: var(--brand-red);
}

.about-section {
  position: relative;
  padding: 104px 0;
  overflow: hidden;
  background: var(--brand-slate);
}

.about-section::before {
  position: absolute;
  top: -180px;
  right: -130px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.about-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(48px, 8vw, 100px);
}

.about-photo-wrap {
  position: relative;
  max-width: 430px;
}

.about-photo-wrap::before {
  position: absolute;
  top: 22px;
  right: -22px;
  bottom: -22px;
  left: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  content: "";
}

.about-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.about-photo-caption {
  position: absolute;
  right: -22px;
  bottom: 28px;
  z-index: 2;
  padding: 15px 18px;
  border-left: 3px solid var(--brand-red);
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.about-content h2 {
  color: #fff;
}

.about-copy {
  display: grid;
  gap: 20px;
}

.about-copy p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.78;
}

.about-copy p:first-child {
  color: rgba(255, 255, 255, 0.94);
  font-size: 17px;
}

.section-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 30px;
  padding: 0 23px;
  border-radius: 8px;
  background: var(--brand-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.section-button:hover,
.section-button:focus {
  background: var(--brand-red-dark);
  color: #fff;
  transform: translateY(-2px);
}

.pricing-section {
  padding: 96px 0;
  background: var(--brand-cream);
}

.price-table-wrap {
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--brand-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(24, 32, 41, 0.08);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 24px 28px;
  border-bottom: 1px solid var(--brand-line);
  color: var(--brand-ink);
  font-family: Montserrat-Regular, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

.price-table th {
  padding-top: 16px;
  padding-bottom: 16px;
  background: var(--brand-slate);
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-table th:last-child,
.price-table td:last-child {
  width: 210px;
  text-align: right;
  white-space: nowrap;
}

.price-table th:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table tbody tr:hover {
  background: #f9f6f2;
}

.price-table tbody tr:nth-child(even) {
  background: #fcfbf9;
}

.price-table tbody td:first-child {
  font-weight: 600;
}

.price-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(169, 31, 42, 0.16);
  border-radius: 999px;
  background: rgba(169, 31, 42, 0.07);
  color: var(--brand-red);
  font-family: Montserrat-Bold, Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
}

.decisions-section {
  padding: 96px 0 108px;
  overflow: hidden;
  background: var(--brand-ink);
}

.section-heading--light h2 {
  color: #fff;
}

.section-heading--light > p:last-child {
  color: rgba(255, 255, 255, 0.62);
}

.decisions-carousel {
  margin: 0 -10px;
  padding: 0 48px;
}

.decision-slide {
  padding: 12px 10px 28px;
}

.decision-slide a {
  position: relative;
  display: block;
  height: 470px;
  overflow: hidden;
  border: 7px solid #fff;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  transition: transform 0.3s ease;
}

.decision-slide a:hover {
  transform: translateY(-5px);
}

.decision-slide a::after {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  content: "+";
  font-size: 22px;
  box-shadow: 0 8px 22px rgba(126, 17, 27, 0.36);
}

.decision-slide img {
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.decision-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;
}

.decision-arrow:hover {
  background: var(--brand-red);
}

.decision-arrow--prev {
  left: 0;
}

.decision-arrow--next {
  right: 0;
}

.decisions-carousel .slick-dots {
  display: flex !important;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}

.decisions-carousel .slick-dots button {
  width: 7px;
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.26);
  color: transparent;
  font-size: 0;
  transition: width 0.25s ease, background 0.25s ease;
}

.decisions-carousel .slick-active button {
  width: 26px;
  background: var(--brand-red);
}

.contact-section {
  padding: 96px 0;
  background: var(--brand-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 22px;
}

.contact-card {
  min-height: 100%;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 18px;
}

.contact-card h3 {
  color: inherit;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.contact-card--details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--brand-slate);
  color: #fff;
  box-shadow: 0 22px 60px rgba(24, 32, 41, 0.18);
}

.contact-card-kicker {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-list {
  display: grid;
  gap: 21px;
  margin: 38px 0;
}

.contact-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 14px;
}

.contact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 16px;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.65;
}

.contact-item a {
  color: #fff;
  font-size: inherit;
}

.contact-card--details .contact-label {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-socials {
  display: flex;
  gap: 10px;
}

.contact-socials a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
}

.contact-socials a:hover,
.contact-socials a:focus {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.13);
}

.contact-socials img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.contact-card--form {
  border: 1px solid var(--brand-line);
  background: #fff;
  box-shadow: 0 22px 60px rgba(24, 32, 41, 0.08);
}

.contact-card--form h3 {
  margin-bottom: 15px;
  color: var(--brand-ink);
}

.contact-form-intro {
  max-width: 600px;
  margin-bottom: 28px;
  color: var(--brand-muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-form-fields,
.popup-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.modern-field {
  display: grid;
  gap: 8px;
  margin: 0;
}

.modern-field > span {
  color: var(--brand-ink);
  font-family: Montserrat-Bold, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.modern-field input {
  width: 100%;
  height: 56px;
  padding: 0 17px;
  border: 1px solid var(--brand-line) !important;
  border-radius: 9px;
  background: #faf9f7;
  color: var(--brand-ink);
  font-family: Montserrat-Regular, Arial, sans-serif;
  font-size: 14px;
}

.modern-field input:focus {
  border-color: rgba(169, 31, 42, 0.52) !important;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(169, 31, 42, 0.1);
}

.modern-contact-form .consent-row,
.popup-form .consent-row {
  margin: 20px 0;
}

.contact-submit,
.popup-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 9px;
  background: var(--brand-red);
  color: #fff;
  font-family: Montserrat-Bold, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.025em;
  transition: background 0.25s ease, transform 0.25s ease;
}

.contact-submit:hover,
.contact-submit:focus,
.popup-submit:hover,
.popup-submit:focus {
  background: var(--brand-red-dark);
  transform: translateY(-2px);
}

.contact-map {
  min-height: 350px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--brand-line);
  border-radius: 18px;
  background: #e7e4df;
  box-shadow: 0 18px 48px rgba(24, 32, 41, 0.09);
}

.contact-label {
  color: var(--brand-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.popup {
  top: 50%;
  width: min(680px, calc(100% - 32px));
  max-width: 680px;
  max-height: calc(100vh - 36px);
  padding: clamp(28px, 5vw, 48px);
  overflow-y: auto;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.38);
  opacity: 0;
  transform: translate(-50%, -46%);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.overlay:target + .popup {
  top: 50%;
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.popup .close {
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--brand-line);
  border-radius: 50%;
  background: #f7f5f2;
  box-shadow: none;
  font: 0/0 a;
}

.popup .close::before {
  color: var(--brand-ink);
  content: "×";
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  text-shadow: none;
}

.popup .close:hover {
  background: #ece7e1;
  transform: none;
}

.popup-heading {
  max-width: 520px;
  margin-bottom: 28px;
  padding-right: 34px;
}

.popup-heading h2 {
  margin-bottom: 12px;
  color: var(--brand-ink);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.popup-heading > p:last-child {
  color: var(--brand-muted);
  font-size: 14px;
  line-height: 1.65;
}

.legal-summary {
  position: relative;
  overflow: hidden;
  padding: 104px 0 84px;
  border-top: 1px solid var(--brand-line);
  background:
    radial-gradient(circle at 8% 12%, rgba(169, 31, 42, 0.07), transparent 28%),
    linear-gradient(180deg, #faf9f7 0%, #f4f1ec 100%);
}

.legal-summary::after {
  position: absolute;
  right: -130px;
  bottom: -190px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(169, 31, 42, 0.1);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 42px rgba(169, 31, 42, 0.025),
    0 0 0 84px rgba(169, 31, 42, 0.018);
}

.legal-summary > .container {
  position: relative;
  z-index: 1;
}

.legal-summary-intro {
  max-width: 820px;
  margin: 0 auto 46px;
  text-align: center;
}

.legal-summary-intro h2 {
  margin-bottom: 12px;
  color: var(--brand-ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.legal-summary-intro > p:last-child {
  color: var(--brand-muted);
  font-family: Montserrat-Regular, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

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

.legal-info-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(24, 32, 41, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(24, 32, 41, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.legal-info-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-red), #d06357 72%, transparent);
  content: "";
}

.legal-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 62px rgba(24, 32, 41, 0.11);
}

.legal-card-heading {
  margin-bottom: 26px;
}

.legal-card-heading .legal-eyebrow {
  margin: 1px 0 7px;
  font-family: Montserrat-Bold, Arial, sans-serif !important;
  font-size: 11px;
  line-height: 1.4;
}

.legal-summary .legal-card-heading h3 {
  margin: 0;
  color: var(--brand-ink);
  font-family: Montserrat-Bold, Arial, sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.legal-card-content {
  padding-left: 0;
}

.legal-summary .legal-card-content p {
  margin-bottom: 13px;
  color: var(--brand-muted);
  font-family: Montserrat-Regular, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

.legal-summary .legal-card-content p:last-child {
  margin-bottom: 0;
}

.legal-summary .legal-card-name {
  margin-bottom: 15px;
  color: var(--brand-ink) !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.legal-card-registration {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 7px;
  background: var(--brand-cream);
  color: var(--brand-slate) !important;
  font-family: Montserrat-Bold, Arial, sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 0.015em;
}

.legal-links {
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.legal-summary .legal-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(169, 31, 42, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-red);
  font-family: Montserrat-Bold, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.025em;
  text-decoration: none;
  transition: 0.2s ease;
}

.legal-summary .legal-links a:hover,
.legal-summary .legal-links a:focus-visible {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: #fff;
}

.site-footer,
.site-footer .end-footer {
  background: var(--brand-ink);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 116px;
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer-brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.site-footer-brand strong {
  color: #fff;
}

.site-footer-copy {
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
}

@media (max-width: 767px) {
  a#uslugi,
  a#onas,
  a#otzyv,
  a#contacts {
    top: -72px;
  }

  .section-slide .item-slick1 {
    min-height: 760px;
  }

  .section-slide .wrap-content-slide1 {
    padding-top: 140px !important;
    padding-bottom: 80px !important;
  }

  .section-slide .log {
    width: 108px !important;
    margin-top: 0 !important;
  }

  .hero-title {
    font-size: clamp(36px, 11vw, 52px) !important;
    line-height: 1.02 !important;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-actions {
    width: min(100%, 360px);
  }

  .hero-button {
    width: 100%;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .practice-section,
  .pricing-section,
  .decisions-section,
  .contact-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .practice-grid > [class*="col-"] {
    width: 100%;
    max-width: 100% !important;
    flex: 0 0 100%;
  }

  .practice-grid .item-ourmenu {
    height: 255px;
  }

  .about-section {
    padding: 76px 0;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .about-photo-wrap {
    width: calc(100% - 22px);
    max-width: 390px;
    margin: 0 auto;
  }

  .about-content {
    text-align: left;
  }

  .price-table th,
  .price-table td {
    padding: 18px 15px;
    font-size: 13px;
  }

  .price-table th:last-child,
  .price-table td:last-child {
    width: 128px;
    white-space: normal;
  }

  .price-value {
    min-height: 32px;
    padding: 0 10px;
    font-size: 11px;
  }

  .decisions-carousel {
    padding: 0 32px;
  }

  .decision-slide a {
    height: 470px;
  }

  .decision-arrow {
    width: 36px;
    height: 36px;
  }

  .contact-grid,
  .contact-form-fields,
  .popup-fields {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 28px 22px;
    border-radius: 14px;
  }

  .contact-map {
    border-radius: 14px;
  }

  .popup {
    padding: 30px 20px 24px;
    border-radius: 16px;
  }

  .popup-heading {
    padding-right: 30px;
  }

  .legal-summary {
    padding: 70px 0 58px;
  }

  .legal-summary-grid {
    grid-template-columns: 1fr;
  }

  .legal-info-card {
    padding: 27px 22px;
    border-radius: 16px;
  }

  .legal-card-heading {
    margin-bottom: 22px;
  }

  .legal-card-content {
    padding-left: 0;
  }

  .legal-card-registration {
    display: block;
  }

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

  .legal-summary .legal-links a {
    width: 100%;
    padding: 10px 14px;
    text-align: center;
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 28px 0;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .practice-grid > [class*="col-"] {
    width: 50%;
    max-width: 50% !important;
    flex: 0 0 50%;
  }

  .about-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
  }
}
