.nm-brand-mark {
  display: inline-block;
  font-family: BebasNeue-Regular, "Arial Narrow", sans-serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 0.92;
  text-decoration: none;
  text-transform: uppercase;
}

.nm-brand-mark--dark {
  color: #1d1d21;
}

.nm-brand-mark--light {
  color: #fff;
}

.b-midleBar__logo .nm-brand-mark {
  font-size: 46px;
  max-width: 180px;
}

.b-footer__logo.nm-brand-mark {
  display: block;
  max-width: 175px;
  color: #fff;
  font-size: 34px;
}

.mobile-phone,
.contactsElem:empty {
  display: none !important;
}

.b-midleBar__section--phone,
.b-footer .c-call {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.b-midleBar__section--phone .c-call__text,
.b-footer .c-call__text {
  display: inline-block !important;
}

.b-midleBar__section--phone .c-call__phone a {
  color: #007a9b;
  text-decoration: none;
}

.b-footer .c-call {
  text-align: left;
}

.b-footer .c-call__phone a {
  color: #26a8be;
  text-decoration: none;
}

.b-footer .adress {
  color: rgba(255, 255, 255, 0.88);
}

.noutmaster-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.noutmaster-lead-form {
  width: 100%;
  margin: 0;
}

.noutmaster-lead-form::after {
  content: "";
  display: table;
  clear: both;
}

.noutmaster-lead-form .c-form__item {
  box-sizing: border-box;
}

.noutmaster-lead-form .c-form__label {
  margin-left: 0;
}

.noutmaster-lead-form .c-form__field {
  width: 100%;
  box-sizing: border-box;
  text-transform: none;
}

.noutmaster-lead-form .c-form__field::placeholder,
.noutmaster-textarea::placeholder {
  color: #768191;
  opacity: 1;
}

.noutmaster-textarea {
  min-height: 116px;
  resize: vertical;
}

.noutmaster-submit {
  width: 100%;
  min-height: 47px;
  cursor: pointer;
}

.noutmaster-submit:disabled {
  opacity: 0.75;
  cursor: default;
}

.noutmaster-form-note,
.noutmaster-form-status {
  display: block;
  width: 100%;
  font-size: 13px;
  line-height: 1.5;
}

.noutmaster-form-status {
  margin-top: 10px;
}

.noutmaster-form-status.is-success {
  color: #9be35d;
}

.noutmaster-form-status.is-error {
  color: #ffd7d7;
}

.noutmaster-lead-form--row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 220px;
  gap: 12px;
  align-items: end;
}

.noutmaster-lead-form--row .c-form__item,
.noutmaster-lead-form--stacked .c-form__item {
  float: none;
  width: auto;
  margin: 0;
}

.noutmaster-lead-form--row .c-form__field,
.noutmaster-lead-form--stacked .c-form__field {
  min-height: 44px;
  padding: 12px 14px 10px;
  box-shadow: none;
}

.noutmaster-lead-form--row .noutmaster-submit-wrap,
.noutmaster-lead-form--stacked .noutmaster-submit-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.noutmaster-lead-form--stacked {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.noutmaster-lead-form--row .noutmaster-form-note,
.noutmaster-lead-form--stacked .noutmaster-form-note {
  display: none;
}

.noutmaster-lead-form--row .noutmaster-form-status,
.noutmaster-lead-form--stacked .noutmaster-form-status {
  grid-column: 1 / -1;
  margin-top: 0;
}

.noutmaster-lead-form--full {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.noutmaster-lead-form--full .c-form__item {
  float: none;
  width: auto;
  margin: 0;
}

.noutmaster-lead-form--full .noutmaster-field--wide,
.noutmaster-lead-form--full .noutmaster-submit-wrap,
.noutmaster-lead-form--full .noutmaster-form-status {
  grid-column: 1 / -1;
}

.noutmaster-lead-form--full .noutmaster-submit-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.noutmaster-lead-form--full .noutmaster-submit {
  max-width: 320px;
}

.noutmaster-lead-form--stacked .noutmaster-submit {
  width: 100%;
}

.b-sideform .noutmaster-lead-form--stacked,
.b-promoForm .noutmaster-lead-form--stacked {
  gap: 10px;
}

.b-sideform .noutmaster-lead-form--stacked .noutmaster-submit-wrap,
.b-promoForm .noutmaster-lead-form--stacked .noutmaster-submit-wrap {
  margin-top: 2px;
}

.b-request form + .ajax-loader,
.ajax-loader {
  display: none !important;
}

.noutmaster-seo-block,
.noutmaster-service-area {
  margin: 40px 0;
  padding: 26px 30px;
  border: 1px solid #d7e0e6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.noutmaster-seo-grid,
.noutmaster-related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.noutmaster-seo-card,
.noutmaster-faq-item {
  padding: 20px;
  border: 1px solid #dce5eb;
  border-radius: 14px;
  background: #f7f9fb;
}

.noutmaster-faq-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.noutmaster-seo-card ul,
.noutmaster-service-area__list {
  margin: 0;
  padding-left: 20px;
}

.noutmaster-related-link {
  display: block;
  padding: 16px 18px;
  border: 1px solid #dce5eb;
  border-radius: 14px;
  background: #fff;
  color: #007a9b;
  font-weight: 700;
  text-decoration: none;
}

.noutmaster-service-area__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.noutmaster-service-area__btn {
  text-decoration: none;
}

.noutmaster-service-area__link {
  color: #007a9b;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 980px) {
  .noutmaster-lead-form--row,
  .noutmaster-lead-form--full,
  .noutmaster-seo-grid,
  .noutmaster-related-links {
    grid-template-columns: 1fr;
  }

  .noutmaster-lead-form--full .noutmaster-submit {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .b-midleBar__logo .nm-brand-mark {
    font-size: 34px;
  }

  .b-footer__logo.nm-brand-mark {
    font-size: 28px;
  }

  .noutmaster-seo-block,
  .noutmaster-service-area {
    padding: 22px 18px;
  }
}

/* Visual consistency polish for the legacy theme */

.b-popular__actualPrice:after {
  content: " ₽";
  font-family: inherit;
  font-weight: 800;
  margin-left: 6px;
  font-size: 20px;
}

.b-hero {
  background: linear-gradient(180deg, #f3f0ed 0%, #f7f7f7 100%);
}

.b-hero .container {
  position: relative;
  min-height: 396px;
  overflow: hidden;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 24px 36px rgba(34, 45, 57, 0.08);
}

.b-hero .container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(243, 240, 237, 0.98) 0%, rgba(243, 240, 237, 0.94) 34%, rgba(243, 240, 237, 0.72) 52%, rgba(243, 240, 237, 0.2) 68%, rgba(243, 240, 237, 0) 100%);
  z-index: 0;
}

.b-hero .container > * {
  position: relative;
  z-index: 1;
}

.b-hero__caption {
  width: min(500px, 100%);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.b-hero__text {
  width: min(420px, 100%);
  text-transform: none;
  letter-spacing: 0;
  color: #2c3744;
}

.b-request,
.noutmaster-seo-block,
.noutmaster-service-area {
  margin-top: 42px;
}

.b-request__inner,
.noutmaster-seo-block,
.noutmaster-service-area,
.b-popular__inner {
  border-radius: 24px;
}

.b-popular__inner {
  min-height: 100%;
  border: 1px solid #dfe7ec;
  background: #fff;
  box-shadow: 0 16px 28px rgba(29, 39, 49, 0.06);
}

.b-popular__prices {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}

.b-popular__oldPrice,
.b-popular__actualPrice {
  margin-left: 0;
}

.b-seo .container {
  border-top: 1px solid #cfe0e7;
  padding-top: 26px;
}

.b-seo p {
  max-width: 980px;
  color: #4a5666;
}

.b-mainServices__item {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 28px rgba(27, 37, 49, 0.08);
}

.b-about {
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid #dde6eb;
  background: linear-gradient(135deg, #f1f6fa 0%, #edf3f7 100%) !important;
  box-shadow: 0 18px 32px rgba(25, 34, 45, 0.06);
}

.b-about .container {
  padding-left: 64px;
  padding-right: 64px;
}

.b-about__caption,
.b-about__text {
  max-width: 540px;
}

.b-about__caption:before {
  left: -26px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #f8b117;
  background-image: none;
}

.b-whyUs__item,
.noutmaster-seo-card,
.noutmaster-faq-item {
  border-radius: 22px;
}

.b-midleBar__section--phone .c-call__phone a,
.b-footer .c-call__phone a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f8dac 0%, #0a6b88 100%);
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(12, 109, 137, 0.24);
}

.b-midleBar__section--phone .c-call__text {
  display: block !important;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.4;
  text-transform: none;
  color: #5a6676;
}

.b-footer {
  background: linear-gradient(135deg, #2a2f38 0%, #1c1f26 100%);
}

.b-footer .c-call__text {
  display: block !important;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.5;
  text-transform: none;
  color: rgba(255, 255, 255, 0.7) !important;
}

.b-footer .adress {
  margin-top: 14px;
  line-height: 1.6;
}

.b-mobileContacts__item {
  min-height: 28px;
  padding-left: 42px;
}

.b-mobileContacts__item .fas {
  display: none;
}

.b-mobileContacts__item:before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(248, 177, 23, 0.18);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: 15px 15px;
}

.b-mobileContacts__item--service-area:before,
.b-mobileContacts__item--delivery:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8b117' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17h12'/%3E%3Cpath d='M14 7h3l4 4v6h-2'/%3E%3Cpath d='M3 7h11v10'/%3E%3Ccircle cx='7.5' cy='17.5' r='2.5'/%3E%3Ccircle cx='17.5' cy='17.5' r='2.5'/%3E%3C/svg%3E");
}

.b-mobileContacts__item--request:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8b117' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M5 5h14v14H5z'/%3E%3C/svg%3E");
}

.b-mobileContacts__item--schedule:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8b117' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v4l3 2'/%3E%3C/svg%3E");
}

.b-mobileContacts__item--address:before,
.b-contacts__item--location:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6-5.33-6-11a6 6 0 1 1 12 0c0 5.67-6 11-6 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.b-contacts__item:before {
  content: "";
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 18px 18px;
  font-family: inherit;
  transform: none;
}

.b-contacts__item--phone:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2A19.8 19.8 0 0 1 3.08 4.18 2 2 0 0 1 5.06 2h3a2 2 0 0 1 2 1.72l.35 2.78a2 2 0 0 1-.57 1.68l-1.2 1.2a16 16 0 0 0 6.72 6.72l1.2-1.2a2 2 0 0 1 1.68-.57l2.78.35A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.b-contacts__item--delivery:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17h12'/%3E%3Cpath d='M14 7h3l4 4v6h-2'/%3E%3Cpath d='M3 7h11v10'/%3E%3Ccircle cx='7.5' cy='17.5' r='2.5'/%3E%3Ccircle cx='17.5' cy='17.5' r='2.5'/%3E%3C/svg%3E");
}

.b-contacts__contact {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 10px 18px 10px 56px;
  text-transform: none;
  border-radius: 18px;
  line-height: 1.25;
}

.b-contacts__description {
  margin-top: 14px;
  color: #4d5a6c;
  line-height: 1.65;
}

.b-contacts__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  margin-top: 16px;
  border: 1px solid #d3e1e8;
  border-radius: 14px;
  background: #fff;
  color: #007a9b;
  font-weight: 700;
  text-decoration: none;
}

.nm-contact-page {
  padding-bottom: 54px;
}

.nm-contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 26px;
  align-items: stretch;
  padding: 46px 0 10px;
}

.nm-contact-hero__content,
.nm-contact-photo,
.nm-contact-location__card,
.nm-contact-location__map {
  border: 1px solid #dde6eb;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 36px rgba(28, 39, 49, 0.08);
}

.nm-contact-hero__content {
  padding: 36px 40px;
}

.nm-contact-hero__content h1 {
  margin-bottom: 16px;
}

.nm-contact-hero__lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: #415062;
}

.nm-contact-hero__highlights {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
}

.nm-contact-hero__highlights li {
  position: relative;
  padding-left: 28px;
  color: #253241;
  font-weight: 600;
  line-height: 1.6;
}

.nm-contact-hero__highlights li:before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #f8b117;
}

.nm-contact-hero__actions,
.nm-contact-location__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
}

.nm-contact-photo {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nm-contact-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.nm-contact-photo figcaption {
  padding: 18px 22px 22px;
  background: linear-gradient(135deg, #0d89a7 0%, #0a6e8a 100%);
  color: #fff;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
}

.nm-contact-cards {
  margin-top: 10px;
}

.nm-contact-location {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  margin-top: 34px;
  align-items: stretch;
}

.nm-contact-location__card {
  padding: 34px 36px;
}

.nm-contact-location__card h2 {
  margin-top: 0;
}

.nm-contact-location__address {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 800;
  color: #1e2b38;
}

.nm-contact-location__text {
  margin: 14px 0 0;
  color: #455365;
  line-height: 1.7;
}

.nm-contact-location__list {
  margin: 20px 0 0;
  padding-left: 18px;
  color: #2c3846;
  line-height: 1.8;
}

.nm-contact-location__map {
  overflow: hidden;
  min-height: 420px;
}

.nm-contact-location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.nm-contact-location__mapFallback {
  display: none;
}

.nm-contact-bottomForm {
  margin-top: 34px;
}

@media (max-width: 980px) {
  .nm-contact-hero,
  .nm-contact-location {
    grid-template-columns: 1fr;
  }

  .nm-contact-hero__content,
  .nm-contact-location__card {
    padding: 28px 24px;
  }
}

@media (max-width: 768px) {
  .b-hero .container {
    min-height: 0;
    border-radius: 0 0 24px 24px;
  }

  .b-hero__text {
    width: min(280px, 100%);
  }

  .b-about {
    border-radius: 24px;
  }

  .b-about .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .b-midleBar__section--phone .c-call__phone a,
  .b-footer .c-call__phone a {
    width: 100%;
  }

  .b-mobileContacts__item a {
    font-size: 18px;
  }

  .nm-contact-hero {
    padding-top: 30px;
  }

  .nm-contact-photo figcaption {
    font-size: 16px;
  }

  .nm-contact-location__map {
    min-height: 0;
    padding: 20px;
  }

  .nm-contact-location__map iframe {
    display: none;
  }

  .nm-contact-location__mapFallback {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #edf4f7 0%, #f7fafc 100%);
    color: #324252;
    line-height: 1.7;
  }
}
