﻿/**
 * srazuvvazu-footer.css — новый футер srazuvvazu (footer--sv-merged, «Остались вопросы?»)
 * Сайт-wide: USE_SV_NEW_FOOTER; на /test/ подключается через srazuvvazu-test.css (@import).
 */

footer.footer--sv-merged,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) {
  --sv-footer-bg: #0d1b3b;
  --sv-footer-text: #D6E5FF;
  --sv-footer-link-active: #9BBDF7;
  --sv-button-pale-hover: #9BBDF7;
  --sv-footer-watermark-h: clamp(72px, 7.8vw, 112px);
  --sv-footer-watermark-gap: clamp(1.75rem, 3vw, 2.75rem);
  --sv-footer-desktop-watermark-image: url("/static/srazu_v_vazu_new/images/footer_desktop.png");
  --sv-footer-mobile-watermark-image: url("/static/srazu_v_vazu_new/images/grey_logo_left.png");
  --sv-footer-watermark-tint: rgba(255, 255, 255, 0.1);
  --sv-mobile-bottom-nav-h: 70px;
  --sv-font-ui: "Inter", "Segoe UI", system-ui, sans-serif;
  --sv-font-display: "Cormorant Garamond", Georgia, serif;
  --sv-white: #ffffff;
}

/* ========== 7. Футер и форма (схема Luciano: форма внутри footer--sv-merged) ========== */
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form {
  background: var(--sv-footer-bg) !important;
  background-color: var(--sv-footer-bg) !important;
  color: var(--sv-white);
  padding: clamp(2rem, 4vw, 2.75rem) 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .section-dark.feedback-form,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .section-dark.feedback-form {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .container {
  max-width: none;
  padding-left: var(--sv-header-pad-x, 40px);
  padding-right: var(--sv-header-pad-x, 40px);
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-main {
  max-width: none;
  margin: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form {
  display: grid;
  grid-template-columns: minmax(130px, 190px) minmax(320px, 560px) minmax(170px, 220px);
  gap: 33px;
  align-items: start;
  max-width: none;
  margin: 0;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form .content-title.center.h2 {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  text-align: left !important;
  font-family: var(--sv-font-display) !important;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sv-white) !important;
  max-width: 8ch;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form form {
  grid-column: 2;
  grid-row: 1;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 0.75rem 1rem;
  max-width: 100%;
  width: 100%;
  margin: 0;
  position: relative;
  flex-wrap: nowrap !important;
  justify-content: stretch !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form__column {
  display: contents !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-main .btn {
  margin-top: 0 !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form__column:nth-child(2) > div[id^="rc-feedback"] {
  grid-column: 1 / -1;
  grid-row: 5;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form__column:nth-child(1) .form-group:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form__column:nth-child(1) .form-group:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form__column:nth-child(1) .form-group:nth-child(3) {
  grid-column: 2;
  grid-row: 1;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form__column:nth-child(2) .form-group:nth-child(1) {
  grid-column: 2;
  grid-row: 2;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form__column:nth-child(2) button[type="submit"] {
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
  align-self: center;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .section-dark.feedback-form form .form-group.privacy-policy,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .section-dark.feedback-form form .form-group.privacy-policy {
  grid-column: 2;
  grid-row: 3;
  justify-self: start;
  align-self: center;
  position: static !important;
  left: auto !important;
  top: auto !important;
  margin: 0 !important;
  width: auto;
  min-width: 0;
  max-width: 100%;
  z-index: 2;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form form .form-group.privacy-policy {
  grid-column: 1 / -1;
  grid-row: 4;
  justify-self: start;
  align-self: start;
  position: static !important;
  left: auto !important;
  top: auto !important;
  margin: 0.25rem 0 0 !important;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  z-index: 2;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form form #rc-feedback-form-section,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form form #rc-feedback-form {
  grid-column: 1 / -1;
  grid-row: 5;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form form input[type="hidden"] {
  display: none !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group:not(.privacy-policy) {
  position: relative;
  margin: 0 !important;
  width: 100%;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group:not(.privacy-policy) .form-control {
  width: 100%;
  min-height: 48px;
  height: 48px;
  padding: 0 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  border-radius: 2px;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--sv-white);
  font-family: var(--sv-font-ui);
  font-size: 0.95rem;
  line-height: 1.4;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group:not(.privacy-policy) textarea.form-control {
  min-height: 48px;
  height: 48px;
  line-height: 1.35;
  padding-top: 0.65rem;
  resize: none;
  overflow: hidden;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group:not(.privacy-policy) .form-control:focus {
  outline: none;
  border-color: var(--sv-white) !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group:not(.privacy-policy) .form-control:focus + .label-name .content-name,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group:not(.privacy-policy) .form-control:valid + .label-name .content-name,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group:not(.privacy-policy) .form-control:focus + .label-name::after,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group:not(.privacy-policy) .form-control:valid + .label-name::after {
  opacity: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group:not(.privacy-policy) .label-name {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group:not(.privacy-policy) .content-name {
  position: absolute !important;
  left: 0.85rem !important;
  top: 50% !important;
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
  pointer-events: none;
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55) !important;
  line-height: 1.2;
  transition: opacity 0.15s ease;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group:not(.privacy-policy) .label-name::after {
  display: none;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form input[name="phone"] + .label-name {
  display: none !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form input[name="phone"]::placeholder {
  color: rgba(255, 255, 255, 0.55);
  opacity: 1;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form input[name="name"] + .label-name .content-name {
  font-size: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form input[name="name"] + .label-name .content-name::before {
  content: "Ваше имя";
  font-size: 0.95rem;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form input[name="email"] + .label-name .content-name {
  font-size: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form input[name="email"] + .label-name .content-name::before {
  content: "E-mail";
  font-size: 0.95rem;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form textarea[name="message"] + .label-name .content-name {
  font-size: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form textarea[name="message"] + .label-name .content-name::before {
  content: "Ваш вопрос";
  font-size: 0.95rem;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form textarea[name="message"] + .label-name {
  top: 0.85rem;
  transform: none;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form button[type="submit"] {
  min-height: 48px;
  margin: 0;
  padding: 0 1.35rem;
  border: none !important;
  border-radius: 2px;
  background: var(--sv-blue-hero) !important;
  color: var(--sv-navy) !important;
  font-family: var(--sv-font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow: none !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form button[type="submit"]:hover,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form button[type="submit"]:focus {
  background: var(--sv-blue-hero-deep) !important;
  color: var(--sv-navy) !important;
  outline: none;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group.privacy-policy .checkbox {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.5rem;
  margin: 0;
  padding-left: 0 !important;
  position: static !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group.privacy-policy .checkbox [type="checkbox"] {
  position: static !important;
  left: auto !important;
  opacity: 1 !important;
  appearance: none;
  -webkit-appearance: none;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 2px 0 0 !important;
  flex: 0 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  border-radius: 2px;
  background: transparent !important;
  cursor: pointer;
  box-sizing: border-box;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group.privacy-policy .checkbox [type="checkbox"]:checked {
  background: var(--sv-white) !important;
  border-color: var(--sv-white) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%231b2d3e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 6 L5 9 L10 3'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 10px 10px !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group.privacy-policy .checkbox [type="checkbox"] + label::before,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group.privacy-policy .checkbox [type="checkbox"] + label::after {
  display: none !important;
  content: none !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group.privacy-policy .checkbox label,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group.privacy-policy .checkbox label a {
  position: static !important;
  margin: 0;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-family: var(--sv-font-ui);
  font-size: 0.72rem;
  line-height: 1.35;
  font-weight: 400;
  text-transform: none;
  white-space: normal;
  display: block;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group.privacy-policy .checkbox label a {
  text-decoration: underline;
}

/* Блок «Остались вопросы?» — схема как у Luciano (questions-row) */
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-row {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(220px, auto);
  gap: 2rem 1.25rem;
  align-items: start;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0 0 1rem;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-call-col {
  min-width: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions__title {
  margin: 0;
  text-align: left !important;
  font-family: var(--sv-font-display) !important;
  font-weight: 300;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--sv-white) !important;
  max-width: 13rem;
  white-space: normal;
}

/* Форма футера — та же вёрстка, что у Luciano (feedback-form--8march-footer) */
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer {
  background: transparent !important;
  padding: 0 !important;
  margin: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__inner,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer .question-main {
  max-width: none;
  margin: 0;
  padding: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  width: 100%;
  max-width: 100%;
  align-items: stretch;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem 1rem;
  max-width: 520px;
  width: 100%;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__field {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 0;
  position: relative;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__input,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__textarea {
  width: 100%;
  min-height: 48px;
  height: 48px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--sv-footer-text);
  border-radius: 2px;
  background: transparent;
  box-shadow: none;
  color: var(--sv-white);
  font-family: var(--sv-font-ui);
  font-size: 1rem;
  line-height: 1.35;
  box-sizing: border-box;
  resize: none;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__textarea {
  padding-top: 0.65rem;
  overflow: hidden;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__input::placeholder,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
  opacity: 1;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__input:focus,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__textarea:focus {
  outline: none;
  border-color: var(--sv-footer-text);
}

/* Ошибка в форме «Остались вопросы?» — красное поле и подпись (Figma) */
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col label.feedback-form--8march-footer__field.form-group--error .feedback-form--8march-footer__input,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col label.feedback-form--8march-footer__field.form-group--error .feedback-form--8march-footer__textarea,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col label.feedback-form--8march-footer__field.form-group--error .feedback-form--8march-footer__input,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col label.feedback-form--8march-footer__field.form-group--error .feedback-form--8march-footer__textarea {
  border-color: #D74853 !important;
  color: #D74853 !important;
  -webkit-text-fill-color: #D74853;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col label.feedback-form--8march-footer__field.form-group--error .feedback-form--8march-footer__input::placeholder,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col label.feedback-form--8march-footer__field.form-group--error .feedback-form--8march-footer__textarea::placeholder,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col label.feedback-form--8march-footer__field.form-group--error .feedback-form--8march-footer__input::placeholder,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col label.feedback-form--8march-footer__field.form-group--error .feedback-form--8march-footer__textarea::placeholder {
  color: #D74853 !important;
  opacity: 1;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col label.feedback-form--8march-footer__field.form-group--error .feedback-form--8march-footer__input:focus,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col label.feedback-form--8march-footer__field.form-group--error .feedback-form--8march-footer__textarea:focus,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col label.feedback-form--8march-footer__field.form-group--error .feedback-form--8march-footer__input:focus,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col label.feedback-form--8march-footer__field.form-group--error .feedback-form--8march-footer__textarea:focus {
  border-color: #D74853 !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col label.feedback-form--8march-footer__field.form-group--error .error-text,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col label.feedback-form--8march-footer__field.form-group--error .error-text {
  display: block;
  margin-top: 0.35rem;
  padding: 0;
  font-family: var(--sv-font-ui);
  font-size: 14px;
  line-height: 1.35;
  color: #D74853 !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  gap: 1rem 1.5rem;
  width: 100%;
  max-width: none;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .feedback-form--8march-footer__submit {
  flex-shrink: 0;
  margin: 0;
  box-sizing: border-box;
  min-width: 0;
  min-height: 51px;
  height: 51px;
  padding: 16px 24px;
  border: none !important;
  border-radius: 2px !important;
  background: var(--sv-footer-text) !important;
  background-color: var(--sv-footer-text) !important;
  color: var(--sv-footer-bg) !important;
  font-family: "Inter", var(--sv-font-ui), system-ui, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  cursor: pointer;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .feedback-form--8march-footer__submit:hover,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .feedback-form--8march-footer__submit:focus {
  background: var(--sv-button-pale-hover) !important;
  background-color: var(--sv-button-pale-hover) !important;
  color: var(--sv-footer-bg) !important;
  outline: none;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy {
  margin: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  position: static !important;
}

/* Чекбокс согласия — как Luciano (8march_footer.css + 8march_manipulators.css) */
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox {
  position: relative !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.5rem !important;
  padding-left: 0 !important;
  margin: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox [type="checkbox"],
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox .white-checkbox {
  position: static !important;
  left: auto !important;
  top: auto !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  margin: 0.15em 0 0 !important;
  padding: 0 !important;
  flex: 0 0 18px !important;
  display: inline-block !important;
  opacity: 1 !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 6px !important;
  -webkit-border-radius: 6px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  cursor: pointer;
  box-sizing: border-box !important;
  outline: none !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox [type="checkbox"]:checked,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox .white-checkbox:checked {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #cfdcab !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%230D1B3B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 6 L5 9 L10 3'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 10px 10px !important;
  border-radius: 6px !important;
  -webkit-border-radius: 6px !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox [type="checkbox"]:not(:checked) + label::before,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox [type="checkbox"]:checked + label::before,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox [type="checkbox"]:not(:checked) + label::after,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox [type="checkbox"]:checked + label::after {
  display: none !important;
  content: none !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox [type="checkbox"]:not(:checked) + label,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox [type="checkbox"]:checked + label,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox label {
  position: static !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-family: var(--sv-font-ui);
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  cursor: pointer !important;
  flex: 1 1 auto;
  min-width: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox label a {
  display: inline !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-family: var(--sv-font-ui) !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  text-decoration: underline;
  white-space: nowrap;
}

@media (max-width: 767px) {
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox [type="checkbox"]:not(:checked) + label,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox [type="checkbox"]:checked + label,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox label {
    font-size: 0.65rem !important;
    line-height: 1.45 !important;
    overflow-wrap: normal;
    word-break: normal;
    max-width: 100%;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox label a {
    font-size: 0.65rem !important;
    line-height: 1.45 !important;
    white-space: nowrap;
  }
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .section-dark.feedback-form {
  padding: 0 !important;
  margin: 0;
  background: transparent !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .section-dark.feedback-form .container {
  padding: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .section-dark.feedback-form .question-form {
  display: block !important;
  max-width: none;
  margin: 0;
  padding: 0 !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .section-dark.feedback-form .question-form .content-title.center.h2 {
  display: none !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .section-dark.feedback-form .question-form form {
  grid-column: unset;
  grid-row: unset;
  max-width: min(560px, 100%);
  width: 100%;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-call-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
}

/* Телефон в футере /test/ — Figma: Cormorant Garamond 24px */
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__phone a {
  color: var(--sv-footer-text) !important;
  font-family: "Cormorant Garamond", var(--sv-font-display), Georgia, serif !important;
  font-weight: 300 !important;
  font-style: normal !important;
  font-size: 24px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  font-variant-numeric: lining-nums proportional-nums !important;
  text-decoration: none !important;
  white-space: nowrap;
}

/* Кнопка «Перезвоните мне» — Figma: заливка #D6E5FF */
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__btn.callme-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  height: 51px;
  padding: 16px 24px;
  border: none !important;
  border-radius: 2px !important;
  background: #D6E5FF !important;
  background-color: #D6E5FF !important;
  color: #0D1B3B !important;
  font-family: var(--sv-font-ui) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap;
  cursor: pointer;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__btn.callme-button:hover,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__btn.callme-button:focus {
  background: var(--sv-button-pale-hover) !important;
  background-color: var(--sv-button-pale-hover) !important;
  color: #0D1B3B !important;
  outline: none;
}

@media (min-width: 992px) {
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-row {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-call-col {
    align-items: flex-end;
    text-align: right;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem 0;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions__title {
    width: 13rem;
    max-width: 13rem;
    flex-shrink: 0;
    margin: 0.6rem 0 0;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer {
    margin-left: auto;
    margin-right: 1.25rem;
    flex-shrink: 1;
    min-width: 0;
    width: 100%;
  }

  /* Как Luciano: сетка полей уже, строка кнопки+чекбокса — на всю ширину колонки */
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__grid {
    max-width: 520px;
    width: 100%;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row {
    width: 100%;
    max-width: none;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .feedback-form--8march-footer__submit {
    flex-shrink: 0;
    min-width: 0;
    width: auto;
  }

  /* 3-я строка согласия — «и соглашаетесь с нашей политикой…» без переноса ссылки */
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy {
    flex: 1 1 auto;
    flex-shrink: 0;
    min-width: 0;
    max-width: none;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox label {
    width: max-content;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox label a {
    white-space: nowrap !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__phone {
    width: 226px;
    height: 29px;
    margin: 0.6rem 0 0.75rem;
    text-align: right;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__phone a {
    display: inline-block;
    width: 100%;
    height: 29px;
    text-align: right;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__btn.callme-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 226px;
    min-width: 226px;
    max-width: 226px;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .footer-first-column {
    display: none !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .section-dark.feedback-form .question-form::after {
    display: none !important;
    content: none !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer {
    position: relative;
    margin-top: 0;
    padding-top: 0;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged {
    padding-top: 0;
  }

  body.page-test-srazuvvazu footer:not(.footer--sv-merged) .footer-first-column .footer-phone {
    position: absolute;
    top: -5.75rem;
    right: var(--sv-header-pad-x, 40px);
    left: auto;
    transform: none;
    margin: 0;
    z-index: 3;
    text-align: right;
    white-space: nowrap;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-first-column .footer-phone a {
    color: var(--sv-white) !important;
    font-family: var(--sv-font-ui);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 991px) {
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding: 0 1rem 1rem;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .feedback-form--8march-footer__submit {
    flex-basis: auto;
    width: auto;
    max-width: none;
    height: 51px;
    min-height: 51px;
    padding: 16px 24px;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy {
    flex-basis: 100%;
    width: 100%;
    min-width: 100%;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions__title {
    width: auto;
    max-width: none;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .feedback-form--8march-footer__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    max-width: none;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-call-col {
    width: 100%;
    max-width: none;
    align-items: flex-start;
    align-self: stretch;
    gap: 10px;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__phone {
    width: auto;
    height: auto;
    margin: 0;
    text-align: left;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__phone a {
    display: inline;
    width: auto;
    height: auto;
    text-align: left;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__btn.callme-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: 226px !important;
    min-width: 226px !important;
    max-width: 226px !important;
    height: 51px !important;
    min-height: 51px !important;
    padding: 16px 24px !important;
    box-sizing: border-box;
  }
}

@media (max-width: 991px) {
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .section-dark.feedback-form {
    position: relative;
    overflow: visible;
    padding: 1.5rem 0 0.75rem;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form {
    position: relative;
    overflow: visible;
    padding: 1.5rem 0 0.5rem;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form::before,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form::after {
    display: none !important;
    content: none !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .container {
    position: relative;
    z-index: 1;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    max-width: 100%;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form .content-title.center.h2 {
    max-width: none;
    font-size: clamp(1.35rem, 6.2vw, 1.75rem);
    margin: 0 0 0.25rem;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form form {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
    max-width: 100%;
    grid-column: unset;
    grid-row: unset;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form__column:nth-child(1) .form-group:nth-child(1),
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form__column:nth-child(1) .form-group:nth-child(2),
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form__column:nth-child(1) .form-group:nth-child(3),
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form__column:nth-child(2) .form-group:nth-child(1),
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form__column:nth-child(2) button[type="submit"],
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form form .form-group.privacy-policy,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form form #rc-feedback-form-section,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form form #rc-feedback-form,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form__column:nth-child(2) > div[id^="rc-feedback"] {
    grid-column: unset;
    grid-row: unset;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .section-dark.feedback-form .question-form__column:nth-child(2) button[type="submit"] {
    order: 5;
    width: 100%;
    max-width: none;
    margin-top: 0.35rem;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .sv-footer-questions-col .section-dark.feedback-form form .form-group.privacy-policy {
    order: 6;
    grid-column: unset;
    grid-row: unset;
    width: 100%;
    max-width: none;
    margin-top: 0.15rem !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form__column:nth-child(2) button[type="submit"] {
    order: 5;
    justify-self: unset;
    align-self: flex-start;
    width: auto;
    min-width: 9.5rem;
    max-width: 52%;
    margin-top: 0.35rem;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form form .form-group.privacy-policy {
    order: 6;
    justify-self: unset;
    max-width: none;
    margin-top: 0.15rem !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form form #rc-feedback-form-section,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form form #rc-feedback-form,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form__column:nth-child(2) > div[id^="rc-feedback"] {
    order: 7;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group.privacy-policy .checkbox label {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .form-group:not(.privacy-policy) textarea.form-control {
    min-height: 72px;
    height: 72px;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form input[name="phone"] + .label-name {
    display: block !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form input[name="phone"] + .label-name .content-name {
    font-size: 0;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form input[name="phone"] + .label-name .content-name::before {
    content: "Номер телефона";
    font-size: 0.95rem;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form input[name="phone"]::placeholder {
    color: transparent;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .section-dark.feedback-form .question-form::after {
    content: "Перезвоните мне";
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 3.25rem;
    min-height: 48px;
    padding: 0 1.5rem;
    border-radius: 2px;
    background: var(--sv-blue-hero);
    color: var(--sv-navy);
    font-family: var(--sv-font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    min-width: min(66%, 16rem);
    pointer-events: none;
  }
}

body.page-test-srazuvvazu footer:not(.footer--sv-merged),
body.page-test-srazuvvazu .footer:not(.footer--sv-merged) {
  background: var(--sv-footer-bg) !important;
  background-color: var(--sv-footer-bg) !important;
  color: var(--sv-white);
  position: relative;
  overflow: hidden;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: calc(var(--sv-footer-watermark-h) + 1.25rem);
}

/* Luciano: один footer — подложка ::after, водяной знак ::before, контент прозрачный */
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged {
  background: transparent !important;
  background-color: transparent !important;
  padding-top: 0 !important;
  margin-top: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--sv-footer-bg);
  pointer-events: none;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: min(42vw, 300px);
  height: calc(100% - var(--sv-footer-watermark-h) - 0.5rem);
  min-height: 240px;
  pointer-events: none;
  z-index: 1;
  background-color: var(--sv-footer-watermark-tint);
  mask-image: var(--sv-footer-mobile-watermark-image);
  mask-size: contain;
  mask-position: right top;
  mask-repeat: no-repeat;
  -webkit-mask-image: var(--sv-footer-mobile-watermark-image);
  -webkit-mask-size: contain;
  -webkit-mask-position: right top;
  -webkit-mask-repeat: no-repeat;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .container {
  padding-top: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .feedback-form--8march-footer,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged section.feedback-form {
  padding: 0 !important;
  margin: 0 !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged #rc-feedback-form-8march,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged [id^="ycaptcha-container"] {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .footer-right {
  display: none !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-merged-top,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-row,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .footer-content,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .footer-bottom {
  position: relative;
  z-index: 2;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .footer-content,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu-content {
  padding-top: 0;
  margin-top: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu-content {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 2rem;
  align-items: start;
  padding: 0 1rem;
  margin: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .footer-content__menu,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 2rem 6.5rem;
  margin: 0 !important;
  margin-left: 0 !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
  justify-content: flex-start !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu .footer-content__column--lg {
  grid-column: unset;
  grid-row: unset;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-copyright-col {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  text-align: right;
  justify-content: flex-start;
  align-items: flex-end;
  align-self: start;
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 2;
  gap: 1rem;
  padding-top: calc(20px + 1rem);
  min-width: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-copyright-social {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  overflow: visible;
  padding-top: 4px;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-copyright-social .footer-social {
  margin: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-copyright {
  color: var(--sv-white);
  font-family: var(--sv-font-ui);
  font-size: 16px;
  line-height: 1.4;
  text-align: right;
  margin: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu .footer-content__column--lg .footer-content__ul-content {
  display: flex;
  flex-direction: row;
  gap: 0 3rem;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu .footer-content__column--lg .footer-content__ul-content ul {
  display: block !important;
  grid: none !important;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 0 0 auto;
}

/* Каталог / Покупателям: один ul из админки — две колонки (без отдельного тега в base.html) */
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu .footer-content__column--lg .footer-content__ul-content > ul:only-child {
  columns: 2;
  column-gap: 3rem;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu .footer-content__column--lg .footer-content__ul-content > ul li {
  break-inside: avoid;
  display: block;
}

@media (min-width: 992px) {
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .footer-bottom {
    display: none !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-copyright-col {
    min-height: 9.25rem; /* ~1.5× исходной колонки (~98px) */
    overflow: visible;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-copyright {
    margin-top: auto;
  }
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .footer-content__menu,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-copyright-col {
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged::before {
    display: none !important;
    content: none !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged {
    padding-bottom: 1rem;
  }

  /* Нижний водяной знак SRAZU V VAZU — footer_desktop.png на всю ширину */
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .container::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 100vw;
    height: var(--sv-footer-watermark-h);
    min-height: 72px;
    background: var(--sv-footer-desktop-watermark-image) center bottom / 100% auto no-repeat;
    pointer-events: none;
    z-index: 1;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu-content::after {
    display: none !important;
    content: none !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu-content {
    position: relative;
    padding-bottom: 0;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .footer-content::after {
    display: none !important;
    content: none !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .container {
    position: relative;
    padding-bottom: calc(var(--sv-footer-watermark-h) + var(--sv-footer-watermark-gap));
  }

  /* Figma: весь текст футера #D6E5FF, нажатые ссылки #9BBDF7 */
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions__title,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .footer-content__title,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .footer-content__column a,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-copyright,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__input,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__textarea,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox [type="checkbox"]:not(:checked) + label,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox [type="checkbox"]:checked + label,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox label,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox label a {
    color: var(--sv-footer-text) !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__input::placeholder,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__textarea::placeholder {
    color: rgba(214, 229, 255, 0.55);
    opacity: 1;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .footer-content__column a:active,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__phone a:active,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__row .form-group.privacy-policy .checkbox label a:active,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-social__link:active {
    color: var(--sv-footer-link-active) !important;
    opacity: 1;
  }
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer > img {
  display: none !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .container {
  position: relative;
  z-index: 1;
  max-width: none;
  padding-left: var(--sv-header-pad-x, 40px);
  padding-right: var(--sv-header-pad-x, 40px);
  background: transparent !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .container {
  z-index: 2;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Legacy: без merged-класса (не используется на /test/) */
@media (min-width: 992px) {
  body.page-test-srazuvvazu footer:not(.footer--sv-merged)::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 100vw;
    height: var(--sv-footer-watermark-h);
    min-height: 72px;
    background: var(--sv-footer-desktop-watermark-image) center bottom / 100% auto no-repeat;
    pointer-events: none;
    z-index: 1;
  }

  body.page-test-srazuvvazu footer:not(.footer--sv-merged) .container {
    z-index: 2;
  }

  body.page-test-srazuvvazu footer:not(.footer--sv-merged) .footer-bottom {
    z-index: 2;
  }
}

body.page-test-srazuvvazu footer:not(.footer--sv-merged) .footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding-bottom: 1.5rem;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-first-column {
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-first-column .footer-contact,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-first-column .logo,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-first-column .mobile-show {
  display: none !important;
}

body.page-test-srazuvvazu footer:not(.footer--sv-merged) .footer-content__menu {
  display: contents;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-content__column {
  min-width: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-content__column--lg {
  grid-column: 1;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-content__column:not(.footer-content__column--lg) {
  grid-column: 2;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-content__title {
  display: block;
  margin: 0 0 1rem;
  font-family: var(--sv-font-display) !important;
  font-weight: 300;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--sv-white) !important;
  min-height: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-content__title span {
  display: none !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-content__column a {
  color: var(--sv-white) !important;
  font-family: var(--sv-font-ui);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  opacity: 1;
  text-decoration: none;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-content__column a:hover {
  opacity: 0.8;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-content__column li {
  margin: 0 0 0.35rem;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-content__column--lg .footer-content__ul-content {
  display: flex;
  gap: 2rem 3rem;
  margin: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-content__column--lg .footer-content__ul-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-content__column:not(.footer-content__column--lg) ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  grid-auto-rows: auto;
  gap: 0.35rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-right {
  grid-column: 3;
  width: auto;
  max-width: 220px;
  margin: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-right #footer-subscription-form,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-right > .footer-content__title:first-child,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-right .footer-content-cookie {
  display: none !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-right > * {
  color: var(--sv-white);
  font-family: var(--sv-font-ui);
  font-size: 16px;
  line-height: 1.4;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0 0 0.5rem;
  border-top: none !important;
  position: relative;
  z-index: 1;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-bottom__left,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-bottom .copy.version,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-bottom .recaptcha-terms-text,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-bottom .lang-switcher {
  display: none !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  margin: 0;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-social a,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-social span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-social.sv-footer-social img,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-social.sv-footer-social svg.icon {
  width: auto;
  max-width: none;
  filter: none;
  opacity: 0.95;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-social.sv-footer-social .sv-footer-social__link--telegram svg.icon {
  height: 18px !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-social.sv-footer-social .sv-footer-social__link--max svg.icon,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-social.sv-footer-social .sv-footer-social__link--vk svg.icon {
  height: 15px !important;
  overflow: visible;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-social.sv-footer-social .sv-footer-social__link--max svg.icon {
  transform: translateY(2px);
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-social img,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-social svg.icon {
  width: auto;
  height: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* Футер /test/: MAX + Telegram + VK — глифы #D6E5FF без кружков (как в Figma) */
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-social.sv-footer-social {
  gap: 1.5rem;
  overflow: visible;
  align-items: flex-end;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .sv-footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sv-footer-text);
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.15s ease, color 0.15s ease;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .sv-footer-social__link--max {
  padding-top: 0;
  overflow: visible;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .sv-footer-social__link:hover {
  opacity: 0.85;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .sv-footer-social__link svg.icon {
  display: block;
  flex-shrink: 0;
  width: auto;
  fill: currentColor;
  filter: none;
  opacity: 0.95;
}

@media (max-width: 991px) {
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .footer-bottom .sv-footer-social {
    display: none !important;
  }
}

/* Перебиваем main.css: footer { padding-bottom: 74px !important } (max-width: 1023px) */
@media (max-width: 1023px) {
  body.page-test-srazuvvazu footer:not(.footer--sv-merged),
  body.page-test-srazuvvazu .footer:not(.footer--sv-merged) {
    overflow: visible !important;
    padding-bottom: calc(
      var(--sv-footer-watermark-h) + var(--sv-mobile-bottom-nav-h) + 2rem + env(safe-area-inset-bottom, 0px)
    ) !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .footer.footer--sv-merged {
    overflow: visible !important;
    padding-bottom: calc(
      var(--sv-mobile-bottom-nav-h) + 2rem + env(safe-area-inset-bottom, 0px)
    ) !important;
  }
}

@media (max-width: 991px) {
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) .footer {
    overflow: visible !important;
    padding-bottom: calc(
      var(--sv-mobile-bottom-nav-h) + 2rem + env(safe-area-inset-bottom, 0px)
    ) !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged::before {
    width: min(48vw, 220px);
    height: calc(100% - var(--sv-mobile-bottom-nav-h) - 3rem);
    min-height: 280px;
    background-color: rgba(255, 255, 255, 1);
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu-content {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    grid-template-columns: unset !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 1.5rem;
    width: 100% !important;
    max-width: none !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu .footer-content__column--lg {
    width: 100%;
    max-width: 100%;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu .footer-content__column--lg .footer-content__ul-content {
    flex-direction: column;
    gap: 0;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu .footer-content__column--lg .footer-content__ul-content > ul:only-child {
    columns: 1;
    column-gap: 0;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-copyright-col {
    grid-column: unset !important;
    grid-row: unset !important;
    align-self: stretch;
    width: 100%;
    text-align: left;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 0;
    margin-top: 0.5rem;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-copyright-social {
    display: none !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-copyright {
    text-align: left;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .footer-first-column {
    display: none !important;
  }

  body.page-test-srazuvvazu footer:not(.footer--sv-merged)::before,
  body.page-test-srazuvvazu footer:not(.footer--sv-merged)::after {
    display: none !important;
    content: none !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .container {
    position: relative;
    z-index: 1;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-content {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-content {
    padding-bottom: 1.25rem;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-bottom {
    padding-bottom: 0.75rem;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-content__column--lg,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-content__column:not(.footer-content__column--lg),
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-right {
    grid-column: 1;
    max-width: none;
    text-align: left;
    align-items: flex-start;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-content__column:not(.footer-content__column--lg) ul {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-template-rows: none;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-bottom {
    justify-content: flex-start;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-first-column {
    position: absolute;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .footer-first-column .footer-phone {
    position: absolute;
    top: clamp(1.5rem, 4vw, 2rem);
    left: var(--sv-header-pad-x, 40px);
    right: auto;
    transform: none;
    text-align: left;
    z-index: 3;
    margin: 0;
    width: max-content;
    pointer-events: auto;
  }

  body.page-test-srazuvvazu footer:not(.footer--sv-merged) .footer-first-column .footer-phone {
    position: absolute;
    top: calc(-2rem - 48px - 0.85rem - 1.4rem);
    left: var(--sv-header-pad-x, 40px);
    right: auto;
    transform: none;
    text-align: left;
    z-index: 2;
    margin: 0;
    width: max-content;
    pointer-events: auto;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-first-column .footer-phone a {
    color: var(--sv-white) !important;
    font-family: var(--sv-font-display) !important;
    font-size: clamp(1.15rem, 5.2vw, 1.35rem);
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    letter-spacing: 0.02em;
    line-height: 1.2;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer .footer-first-column .footer-contact {
    display: none !important;
  }
}

/* --- Мобильные правки футера (из srazuvvazu-test.css §mobile) --- */
@media (max-width: 767px) {
  /* Футер /test/: один столбик, 80vw — как у Luciano */
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call-col,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu-content {
    width: 80vw !important;
    max-width: 80vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-copyright-col {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call-col {
    align-items: flex-start;
    gap: 10px;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__btn.callme-button {
    display: inline-flex !important;
    align-self: flex-start;
    width: 226px !important;
    min-width: 226px !important;
    max-width: 226px !important;
    height: 51px !important;
    min-height: 51px !important;
    padding: 16px 24px !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__form,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__grid {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-row {
    margin-top: 1.75rem;
    padding-left: 0;
    padding-right: 0;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu .footer-content__column--lg,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu .footer-content__column:not(.footer-content__column--lg) {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-copyright {
    margin-top: 1.5rem;
  }
}

/* Финальный слой: «Отправить» — Inter 16px, перебивает .black-button из new.css / 8march */
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged section.feedback-form.feedback-form--8march-footer button.feedback-form--8march-footer__submit.black-button[type="submit"],
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__row button.feedback-form--8march-footer__submit.black-button[type="submit"] {
  font-family: "Inter", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  background: #D6E5FF !important;
  background-color: #D6E5FF !important;
  color: #0D1B3B !important;
  border: none !important;
  border-radius: 2px !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged section.feedback-form.feedback-form--8march-footer button.feedback-form--8march-footer__submit.black-button[type="submit"]:hover,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged section.feedback-form.feedback-form--8march-footer button.feedback-form--8march-footer__submit.black-button[type="submit"]:focus,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__row button.feedback-form--8march-footer__submit.black-button[type="submit"]:hover,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__row button.feedback-form--8march-footer__submit.black-button[type="submit"]:focus {
  background: var(--sv-button-pale-hover) !important;
  background-color: var(--sv-button-pale-hover) !important;
  color: #0D1B3B !important;
}

/* Мобилка: «Отправить» — Figma hug ~133×51, чекбокс под кнопкой */
@media (max-width: 991px) {
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__input,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__textarea {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__input::placeholder,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__textarea::placeholder {
    color: #ffffff !important;
    opacity: 1;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__row button.feedback-form--8march-footer__submit.black-button[type="submit"] {
    flex-basis: auto !important;
    width: auto !important;
    max-width: none !important;
    height: 51px !important;
    min-height: 51px !important;
    padding: 16px 24px !important;
    border-radius: 2px !important;
  }
}

/* Финальный слой: «Перезвоните мне» на мобилке — Figma 226×51 */
@media (max-width: 991px) {
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    align-self: stretch !important;
    gap: 10px !important;
    text-align: left !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__phone {
    align-self: flex-start;
    text-align: left !important;
    margin: 0 !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__btn.callme-button,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged a.sv-footer-call__btn.callme-button.btn-border {
    display: inline-flex !important;
    box-sizing: border-box !important;
    width: 226px !important;
    min-width: 226px !important;
    max-width: 226px !important;
    height: 51px !important;
    min-height: 51px !important;
    padding: 16px 24px !important;
    margin: 0 !important;
    align-self: flex-start !important;
    background: #D6E5FF !important;
    background-color: #D6E5FF !important;
    color: #0D1B3B !important;
    border: none !important;
    border-radius: 2px !important;
    font-family: "Inter", var(--sv-font-ui), system-ui, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-decoration: none !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__btn.callme-button:hover,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__btn.callme-button:focus {
    background: var(--sv-button-pale-hover) !important;
    background-color: var(--sv-button-pale-hover) !important;
    color: #0D1B3B !important;
  }

  /* Мобилка: телефон белый, заголовки колонок — #D6E5FF */
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__phone a,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__phone a:hover,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__phone a:focus {
    color: var(--sv-white) !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu .footer-content__title {
    color: var(--sv-footer-text) !important;
  }
}

/* Финальный слой: меню футера на мобилке — та же линия, что форма и кнопки */
@media (max-width: 767px) {
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu-content {
    width: 80vw !important;
    max-width: 80vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu .footer-content__column--lg,
  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-menu .footer-content__column:not(.footer-content__column--lg) {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left;
    align-items: flex-start;
  }

  :is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-copyright-col {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Figma: hover кнопок с заливкой #D6E5FF → #9BBDF7 */
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .feedback-form--8march-footer__submit.black-button[type="submit"]:hover,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .feedback-form--8march-footer__submit.black-button[type="submit"]:focus,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__row .feedback-form--8march-footer__submit:hover,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col .feedback-form--8march-footer__row .feedback-form--8march-footer__submit:focus,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__btn.callme-button:hover,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-call__btn.callme-button:focus,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged a.sv-footer-call__btn.callme-button.btn-border:hover,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged a.sv-footer-call__btn.callme-button.btn-border:focus {
  background: #9BBDF7 !important;
  background-color: #9BBDF7 !important;
  color: #0D1B3B !important;
}

/* Финальный слой: ошибка в полях формы футера */
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col label.feedback-form--8march-footer__field.form-group--error .feedback-form--8march-footer__input,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col label.feedback-form--8march-footer__field.form-group--error .feedback-form--8march-footer__textarea {
  border-color: #D74853 !important;
  color: #D74853 !important;
  -webkit-text-fill-color: #D74853 !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col label.feedback-form--8march-footer__field.form-group--error .feedback-form--8march-footer__input::placeholder,
:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col label.feedback-form--8march-footer__field.form-group--error .feedback-form--8march-footer__textarea::placeholder {
  color: #D74853 !important;
  opacity: 1 !important;
}

:is(body.page-test-srazuvvazu, body.page-sv-new-footer) footer.footer--sv-merged .sv-footer-questions-col label.feedback-form--8march-footer__field.form-group--error .error-text {
  display: block !important;
  color: #D74853 !important;
}
