.law-contacts,
.law-contacts * {
  box-sizing: border-box;
}

.law-contacts.ra-bg-deep {
  --ra-text: #dad5aa;
  --ra-text-soft: #c8c099;
  --ra-muted: #9a9480;
  --ra-gold-soft: #e1b759;
  --ra-side-padding: clamp(18px, 5vw, 56px);
  --lux-input-error: #ff6b6b;
  --lux-input-error-glow: rgba(255, 107, 107, 0.20);
  --lux-small-link: rgba(218, 213, 170, 0.78);
  --lux-small-link-hover: rgba(220, 180, 82, 0.74);

  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin: 0 0 0 -50vw;
  overflow: hidden;
  padding: clamp(60px, 5.4vw, 86px) var(--ra-side-padding) clamp(64px, 5.8vw, 92px);
  color: var(--ra-text);
  background: var(--ra-section-bg, linear-gradient(180deg, #0b1018 0%, #101724 48%, #090e15 100%));
  box-shadow: var(--ra-section-shadow, inset 0 1px 0 rgba(255, 255, 255, 0.04), inset 0 -1px 0 rgba(220, 180, 82, 0.14));
  isolation: isolate;
}

.law-contacts.ra-bg-deep::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--ra-section-pattern-opacity, 0.74);
  background: var(--ra-section-pattern-bg, repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.017) 0 0.8px, transparent 0.8px 10px));
  mix-blend-mode: var(--ra-section-pattern-blend-mode, normal);
  -webkit-mask-image: var(--ra-section-pattern-mask, repeating-conic-gradient(from 0deg at 50% 50%, #000 0deg 0.67deg, transparent 0.67deg 1.34deg), radial-gradient(circle at 50% 50%, transparent 0%, #000 13%, #000 80%, transparent 100%));
  mask-image: var(--ra-section-pattern-mask, repeating-conic-gradient(from 0deg at 50% 50%, #000 0deg 0.67deg, transparent 0.67deg 1.34deg), radial-gradient(circle at 50% 50%, transparent 0%, #000 13%, #000 80%, transparent 100%));
  -webkit-mask-composite: var(--ra-section-pattern-webkit-composite, source-in);
  mask-composite: var(--ra-section-pattern-composite, intersect);
}

.law-contacts.ra-bg-deep::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  width: min(1320px, 90vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(220, 180, 82, 0.34), transparent);
  pointer-events: none;
}

.law-contacts .contacts-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
}

.law-contacts .contacts-head {
  max-width: 900px;
  margin: 0 auto clamp(38px, 5vw, 58px);
  text-align: center;
}

.law-contacts h2 {
  margin: 0;
  color: var(--ra-text);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}

.law-contacts .contacts-decor {
  --decor-bg: var(--ra-section-decor-bg, #0f141e);
  --decor-width: 180px;
  margin: 25px auto;
}

.law-contacts .contacts-intro {
  max-width: 820px;
  margin: 0 auto;
  color: var(--ra-text-soft);
  font-size: clamp(16px, 1.55vw, 18px);
  line-height: 1.64;
  font-weight: 400;
  text-align: center;
}

.law-contacts .contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.law-contacts .contacts-info,
.law-contacts .contacts-form,
.law-contacts .map-wrapper {
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(220, 180, 82, 0.28);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.006)), rgba(17, 24, 36, 0.88);
  box-shadow: 0 0 6px rgba(220, 180, 82, 0.075), 0 0 12px rgba(220, 180, 82, 0.055), 0 0 22px rgba(220, 180, 82, 0.032), inset 0 1px 0 rgba(255, 255, 255, 0.048), 0 0 0 1px rgba(220, 180, 82, 0.018);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.law-contacts .contacts-info {
  padding: 14px 30px 35px;
}

.law-contacts .contacts-form {
  padding: 14px 30px 0;
}

.law-contacts .contacts-info:hover,
.law-contacts .contacts-form:hover {
  border-color: rgba(255, 224, 141, 0.34);
  box-shadow: 0 0 6px rgba(220, 180, 82, 0.085), 0 0 12px rgba(220, 180, 82, 0.062), 0 0 22px rgba(220, 180, 82, 0.038), inset 0 1px 0 rgba(255, 255, 255, 0.054), 0 0 0 1px rgba(255, 224, 141, 0.045);
}

.law-contacts .contacts-card-topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 38px;
  margin: 0 -10px 22px;
  padding: 0;
}

.law-contacts .contacts-card-badge,
.law-contacts .contacts-card-bridge {
  transform: translateY(2px);
}

.law-contacts .contacts-card-badge {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(220, 180, 82, 0.18);
  border-radius: 999px;
  color: rgba(220, 180, 82, 0.74);
  background: rgba(255, 255, 255, 0.02);
  font-size: 11px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.law-contacts .contacts-card-bridge {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1 1 auto;
  min-width: 48px;
}

.law-contacts .contacts-card-bridge--right { justify-content: flex-end; }
.law-contacts .contacts-card-bridge--left { justify-content: flex-start; }

.law-contacts .contacts-card-bridge-line {
  position: relative;
  display: block;
  flex: 1 1 auto;
  max-width: 127px;
  height: 1px;
  border-radius: 999px;
  opacity: 0.84;
  overflow: hidden;
  background: linear-gradient(90deg, transparent 0%, rgba(220, 180, 82, 0.07) 18%, rgba(220, 180, 82, 0.30) 72%, rgba(255, 231, 156, 0.24) 100%);
  box-shadow: 0 0 8px rgba(220, 180, 82, 0.032);
  transform: scaleX(0.96);
  transition: opacity 0.24s ease, max-width 0.32s cubic-bezier(0.22, 1, 0.36, 1), transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease;
}

.law-contacts .contacts-card-bridge--left .contacts-card-bridge-line {
  background: linear-gradient(90deg, rgba(255, 231, 156, 0.24) 0%, rgba(220, 180, 82, 0.30) 28%, rgba(220, 180, 82, 0.07) 82%, transparent 100%);
}

.law-contacts .contacts-card-bridge-line::after,
.law-contacts .contacts-card-bridge-mark::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
}

.law-contacts .contacts-card-bridge-line::after {
  top: -2px;
  bottom: -2px;
  left: -38%;
  width: 34%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 231, 156, 0.28), rgba(220, 180, 82, 0.20), transparent);
}

.law-contacts .contacts-card-bridge-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(220, 180, 82, 0.20);
  border-radius: 50%;
  color: rgba(220, 180, 82, 0.66);
  background: rgba(255, 255, 255, 0.012);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  transition: color 0.24s ease, border-color 0.24s ease, background 0.24s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.law-contacts .contacts-card-bridge-mark::after {
  inset: -2px;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 0%, transparent 38%, rgba(255, 231, 156, 0.18) 49%, rgba(220, 180, 82, 0.11) 57%, transparent 72%, transparent 100%);
  transform: translateX(-125%) skewX(-14deg);
}

.law-contacts .contacts-card-bridge-letter {
  position: relative;
  z-index: 3;
  display: inline-block;
  min-width: 0.72em;
  line-height: 1;
  transform: translateY(0.1px);
}

.law-contacts .contacts-card-bridge--left .contacts-card-bridge-letter {
  transform: translateY(0.25px);
}

.law-contacts .contacts-info:hover .contacts-card-badge,
.law-contacts .contacts-form:hover .contacts-card-badge {
  color: rgba(255, 231, 156, 0.94);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(220, 180, 82, 0.28);
}

.law-contacts .contacts-info:hover .contacts-card-bridge-line,
.law-contacts .contacts-form:hover .contacts-card-bridge-line {
  max-width: 146px;
  opacity: 1;
  transform: scaleX(1);
  box-shadow: 0 0 12px rgba(220, 180, 82, 0.07), 0 0 24px rgba(220, 180, 82, 0.026);
}

.law-contacts .contacts-info:hover .contacts-card-bridge-line::after,
.law-contacts .contacts-form:hover .contacts-card-bridge-line::after {
  animation: raContactsBridgeLineSweep 0.98s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.law-contacts .contacts-info:hover .contacts-card-bridge-mark,
.law-contacts .contacts-form:hover .contacts-card-bridge-mark {
  color: rgba(255, 231, 156, 0.84);
  border-color: rgba(255, 224, 141, 0.28);
  background: rgba(255, 255, 255, 0.018);
  transform: translateY(-1px);
}

.law-contacts .contacts-info:hover .contacts-card-bridge-mark::after,
.law-contacts .contacts-form:hover .contacts-card-bridge-mark::after {
  animation: raContactsMedallionSweep 0.76s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.law-contacts .contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.law-contacts .contact-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #d8ad4b;
  background: radial-gradient(circle at 30% 30%, rgba(240, 217, 133, 0.14), rgba(216, 173, 75, 0.055) 58%, rgba(184, 122, 36, 0.035) 100%);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.law-contacts .contact-icon svg {
  width: 24px;
  height: 24px;
  color: #d8ad4b;
  stroke: currentColor;
  filter: drop-shadow(0 1px 2px rgba(216, 173, 75, 0.28));
  transition: transform 0.45s ease, filter 0.35s ease;
}

.law-contacts .contact-item:hover .contact-icon {
  background: radial-gradient(circle at 30% 30%, rgba(240, 217, 133, 0.18), rgba(216, 173, 75, 0.07) 58%, rgba(184, 122, 36, 0.045) 100%);
  transform: translateY(-3px) scale(1.08);
}

.law-contacts .contact-item:hover .contact-icon svg {
  transform: rotate(-6deg) scale(1.12);
  filter: drop-shadow(0 0 2px rgba(216, 173, 75, 0.24)) brightness(1.05);
}

.law-contacts .contact-text,
.law-contacts .contact-text a,
.law-contacts .contact-text span,
.law-contacts .form-note,
.law-contacts .form-note a {
  overflow-wrap: anywhere;
  word-break: normal;
}

.law-contacts .contact-text strong {
  display: block;
  margin-bottom: 4px;
  color: #bdbdbd;
  font-size: 14px;
}

.law-contacts .contact-text a,
.law-contacts .contact-text span {
  color: #DEDBB2;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.law-contacts .contact-text a {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(225, 183, 89, 0.14);
}

.law-contacts .contact-text a:hover {
  color: #FFCD57;
}

.law-contacts .contacts-mail-share {
  position: relative;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.law-contacts .contacts-mail-trigger {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: #DEDBB2 !important;
  font: inherit;
  font-size: 18px;
  line-height: 1.25;
  text-align: left;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: none !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(225, 183, 89, 0.14);
  transition: color 0.2s ease;
}

.law-contacts .contacts-mail-trigger:hover,
.law-contacts .contacts-mail-trigger:focus-visible,
.law-contacts .contacts-mail-share.is-open .contacts-mail-trigger {
  color: #FFCD57 !important;
  outline: none;
}

.law-contacts .contacts-mail-trigger-text {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: inherit !important;
  transition: color 0.2s ease;
}


.law-contacts .contacts-mail-menu {
  position: absolute;
  left: calc(100% + 20px);
  bottom: 0;
  z-index: 40;
  display: grid;
  gap: 6px;
  min-width: 178px;
  padding: 8px;
  border: 1px solid rgba(220, 180, 82, 0.20);
  border-radius: 12px;
  background: rgba(28, 31, 38, 0.98);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0) translateX(-4px);
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.law-contacts .contacts-mail-menu::after {
  content: "";
  position: absolute;
  left: -5px;
  bottom: 8px;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  background: rgba(28, 31, 38, 0.98);
  border-left: 1px solid rgba(220, 180, 82, 0.16);
  border-bottom: 1px solid rgba(220, 180, 82, 0.16);
}

.law-contacts .contacts-mail-share.is-open .contacts-mail-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) translateX(0);
  pointer-events: auto;
}

.law-contacts .contacts-mail-menu-link {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 32px;
  padding: 8px 10px;
  border: 0 !important;
  border-radius: 8px;
  background: transparent;
  color: #DEDBB2 !important;
  font-family: inherit;
  font-size: 12px !important;
  line-height: 1;
  font-weight: 800;
  text-align: left;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.law-contacts .contacts-mail-menu-link > span:not(.contacts-mail-copy-check) {
  color: inherit !important;
}

.law-contacts .contacts-mail-menu-link i,
.law-contacts .contacts-mail-menu-svg {
  display: block;
  width: 1em;
  height: 1em;
  min-width: 1em;
  color: currentColor !important;
  fill: currentColor !important;
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1;
}

.law-contacts .contacts-mail-menu-link:hover,
.law-contacts .contacts-mail-menu-link:focus-visible {
  background: rgba(255, 205, 87, 0.12);
  color: #ffcd57 !important;
  outline: none;
}


.law-contacts .contacts-mail-copy-check {
  display: inline-block;
  margin-left: 0.45em;
  color: inherit !important;
  line-height: 1;
}

.law-contacts .contacts-mail-menu-link.contacts-mail-copy.is-copied {
  background: rgba(70, 217, 59, 0.10);
  color: rgba(164, 232, 148, 0.92) !important;
  outline: none;
}

.law-contacts .contacts-mail-menu-link.contacts-mail-copy.is-copied > span {
  color: inherit !important;
}

.law-contacts .social-links {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
}

.law-contacts .social-links::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(220, 180, 82, 0.055) 12%, rgba(220, 180, 82, 0.17) 50%, rgba(220, 180, 82, 0.055) 88%, transparent 100%);
}

.law-contacts .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  color: #d8ad4b;
  background: radial-gradient(circle at 30% 30%, rgba(240, 217, 133, 0.14), rgba(216, 173, 75, 0.055) 58%, rgba(184, 122, 36, 0.035) 100%);
  font-size: 30px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  animation: goldPulseBtn 2s infinite;
}

.law-contacts .social-icon .rentarest-max-icon {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex: 0 0 auto;
}

.law-contacts .social-icon:hover {
  background: linear-gradient(135deg, #f0d985 0%, #d8ad4b 58%, #b87a24 100%);
  color: #101722;
  transform: none !important;
  box-shadow: 0 0 0 4px rgba(220, 180, 82, 0.075), 0 8px 17px rgba(0, 0, 0, 0.20), inset 0 1px 0 rgba(255, 245, 202, 0.24), inset 0 -4px 7px rgba(91, 52, 7, 0.13);
  animation: none;
}

.law-contacts .social-icon i {
  display: inline-block;
  padding: 2px;
  line-height: 1;
  background: linear-gradient(135deg, #f0d985 0%, #d8ad4b 58%, #b87a24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  filter: drop-shadow(0 1px 2px rgba(216, 173, 75, 0.28));
}

.law-contacts .social-icon:hover i {
  background: none !important;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: #101722 !important;
  filter: none;
}

.law-contacts .contacts-form form,
.law-contacts .form-group {
  min-width: 0;
  max-width: 100%;
}

.law-contacts .form-group {
  position: relative;
  margin-bottom: 16px;
}

.law-contacts .form-group input,
.law-contacts .form-group textarea,
.law-contacts .submit-btn {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.law-contacts .form-group input,
.law-contacts .form-group textarea {
  padding: 14px 18px;
  border: 1px solid rgba(220, 180, 82, 0.20);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.029), rgba(255, 255, 255, 0.007)), rgba(22, 31, 48, 0.98);
  color: #e7e1be;
  caret-color: #e1b759;
  font-size: 16px;
  font-family: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.038), inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.09);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.law-contacts .form-group input:hover,
.law-contacts .form-group textarea:hover {
  border-color: rgba(225, 183, 89, 0.36);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.009)), rgba(25, 36, 53, 0.99);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.042), inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(225, 183, 89, 0.018);
}

.law-contacts .form-group input:focus,
.law-contacts .form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 224, 141, 0.68);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.039), rgba(255, 255, 255, 0.011)), rgba(27, 40, 59, 1);
  color: #f2eac4;
  box-shadow: 0 0 0 3px rgba(225, 183, 89, 0.14), 0 0 10px rgba(225, 183, 89, 0.035), inset 0 1px 0 rgba(255, 255, 255, 0.050);
}

/* Фикс белого фона браузерного автозаполнения только для формы контактов */
.law-contacts .form-group input:-webkit-autofill,
.law-contacts .form-group input:-webkit-autofill:hover,
.law-contacts .form-group input:-webkit-autofill:focus,
.law-contacts .form-group input:-webkit-autofill:active,
.law-contacts .form-group textarea:-webkit-autofill,
.law-contacts .form-group textarea:-webkit-autofill:hover,
.law-contacts .form-group textarea:-webkit-autofill:focus,
.law-contacts .form-group textarea:-webkit-autofill:active {
  -webkit-text-fill-color: #e7e1be !important;
  caret-color: #e1b759 !important;
  border-color: rgba(220, 180, 82, 0.28) !important;
  background-color: rgba(22, 31, 48, 0.98) !important;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.029), rgba(255, 255, 255, 0.007)) !important;
  -webkit-box-shadow:
    0 0 0 1000px rgba(22, 31, 48, 0.98) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.038),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.09) !important;
  box-shadow:
    0 0 0 1000px rgba(22, 31, 48, 0.98) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.038),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.09) !important;
  transition: background-color 9999s ease-in-out 0s, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.law-contacts .form-group input:-webkit-autofill:focus,
.law-contacts .form-group textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: #f2eac4 !important;
  border-color: rgba(255, 224, 141, 0.68) !important;
  -webkit-box-shadow:
    0 0 0 1000px rgba(27, 40, 59, 1) inset,
    0 0 0 3px rgba(225, 183, 89, 0.14),
    0 0 10px rgba(225, 183, 89, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.050) !important;
  box-shadow:
    0 0 0 1000px rgba(27, 40, 59, 1) inset,
    0 0 0 3px rgba(225, 183, 89, 0.14),
    0 0 10px rgba(225, 183, 89, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.050) !important;
}

.law-contacts .form-group input.field-error:-webkit-autofill,
.law-contacts .form-group input.field-error:-webkit-autofill:hover,
.law-contacts .form-group input.field-error:-webkit-autofill:focus,
.law-contacts .form-group input.field-error:-webkit-autofill:active,
.law-contacts .form-group textarea.field-error:-webkit-autofill,
.law-contacts .form-group textarea.field-error:-webkit-autofill:hover,
.law-contacts .form-group textarea.field-error:-webkit-autofill:focus,
.law-contacts .form-group textarea.field-error:-webkit-autofill:active {
  border-color: var(--lux-input-error) !important;
  -webkit-text-fill-color: #e7e1be !important;
  -webkit-box-shadow:
    0 0 0 1000px rgba(22, 31, 48, 0.98) inset,
    0 0 0 3px var(--lux-input-error-glow),
    0 0 14px rgba(255, 107, 107, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.044) !important;
  box-shadow:
    0 0 0 1000px rgba(22, 31, 48, 0.98) inset,
    0 0 0 3px var(--lux-input-error-glow),
    0 0 14px rgba(255, 107, 107, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.044) !important;
}

/* Firefox / стандартный :autofill */
.law-contacts .form-group input:autofill,
.law-contacts .form-group textarea:autofill {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.029), rgba(255, 255, 255, 0.007)), rgba(22, 31, 48, 0.98) !important;
  color: #e7e1be !important;
}


.law-contacts .form-group input::placeholder,
.law-contacts .form-group textarea::placeholder,
.law-contacts .form-group input.field-error:placeholder-shown,
.law-contacts .form-group textarea.field-error:placeholder-shown,
.law-contacts .form-group input.field-error::placeholder,
.law-contacts .form-group textarea.field-error::placeholder {
  color: rgba(218, 213, 170, 0.51) !important;
  -webkit-text-fill-color: rgba(218, 213, 170, 0.51) !important;
  opacity: 1 !important;
}

.law-contacts .form-group input.field-error,
.law-contacts .form-group textarea.field-error,
.law-contacts .form-group input.field-error:hover,
.law-contacts .form-group textarea.field-error:hover,
.law-contacts .form-group input.field-error:focus,
.law-contacts .form-group textarea.field-error:focus,
.law-contacts .form-group input.field-error:active,
.law-contacts .form-group textarea.field-error:active {
  border-color: var(--lux-input-error) !important;
  color: rgba(218, 213, 170, 0.51) !important;
  -webkit-text-fill-color: rgba(218, 213, 170, 0.51) !important;
  box-shadow: 0 0 0 3px var(--lux-input-error-glow), 0 0 14px rgba(255, 107, 107, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.044) !important;
}

.law-contacts .contacts-field-error {
  display: block;
  margin: 5px 0 -10px 0;
  padding-left: 5px;
  color: var(--lux-input-error);
  font-size: 11.5px;
  line-height: 1.25;
  font-weight: 500;
  text-align: left;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: visible;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-2px);
  animation: contactsFieldErrorIn 0.18s ease forwards;
}

.law-contacts .contacts-field-error--phone {
  white-space: nowrap;
}


.law-contacts .contacts-notification {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid rgba(62, 201, 114, 0.35);
  border-radius: 16px;
  background: rgba(16, 25, 19, 0.94);
  color: #d8f8df;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.law-contacts .contacts-notification.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.law-contacts .contacts-notification.is-error {
  border-color: rgba(255, 107, 107, 0.38);
  background: rgba(35, 15, 18, 0.95);
  color: #ffd4d4;
}

.law-contacts .contacts-notification-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(62, 201, 114, 0.18);
  color: #7af08c;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.law-contacts .contacts-notification.is-error .contacts-notification-icon {
  background: rgba(255, 107, 107, 0.16);
  color: #ff8a8a;
}

.law-contacts .contacts-notification-text {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  color: inherit;
}

.law-contacts .submit-btn {
  padding: 14px 28px;
  border: 0;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.024) 0%, rgba(255, 244, 204, 0.015) 42%, rgba(74, 43, 7, 0.057) 100%),
    linear-gradient(180deg, #edc25f 0%, #e6b44d 34%, #e3aa3e 58%, #d68f30 80%, #bd7b22 100%);
  color: #2a2114;
  -webkit-text-fill-color: #2a2114;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.12px;
  cursor: pointer;
  transition:
    color 0.20s ease,
    -webkit-text-fill-color 0.20s ease,
    background 0.22s ease,
    box-shadow 0.24s ease,
    transform 0.18s cubic-bezier(.16, 1, .3, 1),
    filter 0.20s ease;
  box-shadow: none;
  animation: none;
}

.law-contacts .submit-btn:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.033) 0%, rgba(255, 244, 204, 0.018) 42%, rgba(74, 43, 7, 0.045) 100%),
    linear-gradient(180deg, #f0ca69 0%, #eabd56 34%, #e5ad47 58%, #d79635 80%, #c98a2d 100%);
  color: #2a2114;
  -webkit-text-fill-color: #2a2114;
  transform: translateY(-1px);
  filter: brightness(1.026) saturate(1.018);
  box-shadow:
    0 0 0 4px rgba(232, 181, 75, 0.090),
    0 0 14px rgba(232, 181, 75, 0.105),
    0 6px 18px rgba(190, 125, 34, 0.070);
  animation: none;
}

.law-contacts .submit-btn:active {
  background:
    linear-gradient(180deg, rgba(255, 244, 204, 0.020) 0%, rgba(70, 40, 7, 0.085) 100%),
    linear-gradient(180deg, #d29c39 0%, #c88c30 56%, #ae7121 100%);
  transform: translateY(0) scale(0.997);
  box-shadow: inset 0 0 0 999px rgba(45, 28, 6, 0.055);
}

.law-contacts .form-note {
  margin: 15px 25px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--lux-small-link);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.law-contacts .form-note span,
.law-contacts .form-note a,
.law-contacts .form-note a:visited {
  color: inherit;
}

.law-contacts .form-note a,
.law-contacts .form-note a:visited,
.law-contacts .form-note a:hover,
.law-contacts .form-note a:focus-visible {
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.law-contacts .form-note a {
  transition: color 0.2s ease;
}

.law-contacts .form-note a:hover,
.law-contacts .form-note a:focus-visible {
  color: var(--lux-small-link-hover);
  outline: none;
}

.law-contacts .rentarest-hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.law-contacts .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid rgba(28, 31, 38, 0.3);
  border-top-color: #1C1F26;
  border-radius: 50%;
  vertical-align: middle;
  animation: spin 0.6s linear infinite;
}

.law-contacts .map-wrapper {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 350px;
  min-height: 350px;
  overflow: hidden;
  background: #1C1F26;
}

.law-contacts .map-wrapper iframe,
.law-contacts .map-wrapper .yandex-map-frame {
  position: relative;
  z-index: 1;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 350px;
  border: 0 !important;
  border-radius: 16px;
  filter: brightness(0.95) contrast(0.98) saturate(0.92);
}

.law-contacts .map-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(17, 24, 36, 0.08), rgba(17, 24, 36, 0.14)), radial-gradient(circle at center, rgba(225, 183, 89, 0.035), rgba(0, 0, 0, 0.11));
  box-shadow: inset 0 0 0 1px rgba(220, 180, 82, 0.08);
}

.elementor-widget-html:has(.law-contacts.ra-bg-deep),
.elementor-widget-html:has(.law-contacts.ra-bg-deep) > .elementor-widget-container,
.e-con-inner:has(.law-contacts.ra-bg-deep),
.elementor-element-b725f7a,
.elementor-element-b725f7a > .elementor-widget-container {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

@keyframes contactsFieldErrorIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes contactsShakeError {
  0% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

@keyframes goldPulseBtn {
  0% { box-shadow: 0 0 0 0 rgba(255, 205, 87, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(255, 205, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 205, 87, 0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes raContactsBridgeLineSweep {
  0% { left: -38%; opacity: 0; }
  24% { opacity: 0.76; }
  100% { left: 112%; opacity: 0; }
}

@keyframes raContactsMedallionSweep {
  0% { opacity: 0; transform: translateX(-125%) skewX(-14deg); }
  30% { opacity: 0.44; }
  100% { opacity: 0; transform: translateX(125%) skewX(-14deg); }
}

.law-contacts .form-group input.shake-error,
.law-contacts .form-group textarea.shake-error,
.law-contacts .submit-btn.shake-error {
  animation: contactsShakeError 0.42s ease;
}

@media (max-width: 900px) {
  .law-contacts.ra-bg-deep {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .law-contacts .contacts-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin-bottom: 42px;
  }

  .law-contacts .contacts-info,
  .law-contacts .contacts-form {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .law-contacts .contacts-mail-menu {
    left: 0;
    top: calc(100% + 10px);
    bottom: auto;
    transform: translateY(6px);
  }

  .law-contacts .contacts-mail-share.is-open .contacts-mail-menu {
    transform: translateY(0);
  }

  .law-contacts .contacts-mail-menu::after {
    left: 18px;
    top: -5px;
    bottom: auto;
    border-top: 1px solid rgba(220, 180, 82, 0.16);
    border-right: 0;
    border-bottom: 0;
  }
}

@media (max-width: 600px) {
  .law-contacts.ra-bg-deep {
    padding: clamp(52px, 12vw, 66px) clamp(14px, 4vw, 18px) clamp(56px, 13vw, 72px);
  }

  .law-contacts .contacts-head {
    margin-bottom: 30px;
  }

  .law-contacts .contacts-decor {
    --decor-width: min(180px, 70vw);
  }

  .law-contacts .contacts-intro {
    font-size: 16px;
    line-height: 1.55;
  }

  .law-contacts .contacts-grid {
    gap: 28px;
    margin-bottom: 28px;
  }

  .law-contacts .contacts-card-topbar {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    min-height: 32px;
    margin: 0 0 20px;
  }

  .law-contacts .contacts-card-bridge {
    display: none;
  }

  .law-contacts .contacts-card-badge {
    min-height: 28px;
    padding: 7px 10px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .law-contacts .contacts-info,
  .law-contacts .contacts-form {
    padding: 14px 18px 24px;
  }

  .law-contacts .contact-item {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    text-align: center;
  }

  .law-contacts .contact-text a,
  .law-contacts .contact-text span {
    font-size: 16px;
    line-height: 1.35;
  }

  .law-contacts .form-note br {
    display: none;
  }
}

@media (max-width: 430px) {
  .law-contacts .contacts-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .law-contacts h2 {
    font-size: clamp(26px, 7vw, 30px);
    line-height: 1.15;
  }

  .law-contacts .contacts-intro {
    margin-bottom: 22px;
  }

  .law-contacts .contacts-info,
  .law-contacts .contacts-form {
    padding: 14px 16px 22px;
  }

  .law-contacts .form-group {
    margin-bottom: 8px;
  }

  .law-contacts .contacts-field-error {
    font-size: 11px;
    line-height: 1.22;
    white-space: normal;
  }

  .law-contacts .form-group input,
  .law-contacts .form-group textarea {
    padding: 13px 14px;
    font-size: 16px;
    border-radius: 10px;
  }

  .law-contacts .submit-btn {
    padding: 14px 16px;
    font-size: 17px;
    border-radius: 10px;
  }

  .law-contacts .social-links {
    gap: 12px;
  }

  .law-contacts .social-icon {
    width: 48px;
    height: 48px;
    font-size: 25px;
  }

  .law-contacts .map-wrapper,
  .law-contacts .map-wrapper iframe,
  .law-contacts .map-wrapper .yandex-map-frame {
    height: 320px;
    min-height: 320px;
  }
}

@media (max-width: 390px) {
  .law-contacts .contacts-info,
  .law-contacts .contacts-form {
    padding: 14px 14px 20px;
  }

  .law-contacts .form-group input,
  .law-contacts .form-group textarea {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 360px) {
  .law-contacts .contacts-info,
  .law-contacts .contacts-form {
    padding: 14px 12px 18px;
  }

  .law-contacts .social-links {
    gap: 10px;
  }

  .law-contacts .social-icon {
    width: 44px;
    height: 44px;
    font-size: 23px;
  }
}

@media (hover: none) {
  .law-contacts .submit-btn:hover,
  .law-contacts .social-icon:hover,
  .law-contacts .contact-item:hover .contact-icon {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .law-contacts .submit-btn,
  .law-contacts .social-icon,
  .law-contacts .spinner,
  .law-contacts .form-group input.shake-error,
  .law-contacts .form-group textarea.shake-error,
  .law-contacts .submit-btn.shake-error,
  .law-contacts .contacts-card-badge,
  .law-contacts .contacts-card-bridge-line,
  .law-contacts .contacts-card-bridge-mark,
  .law-contacts .contacts-info,
  .law-contacts .contacts-form {
    animation: none !important;
    transition: none !important;
  }
}
