.notary_h1 {
	margin-bottom: 5px
}
.notary_description {
	margin-bottom: 40px;
}
#mtc-notary-ad {
  width: 100%;
  min-width: 0;
}

#mtc-notary-ad .mtc-ad,
#mtc-notary-ad .mtc-ad * {
  box-sizing: border-box;
  text-transform: none !important;
}

#mtc-notary-ad .mtc-ad {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  margin: 0 0 34px;
  padding: 0 0 0 76px;
  border: 0;
  border-radius: 14px;
  background: #141654;
  box-shadow: 0 16px 34px rgb(20 22 84 / 18%);
  color: #ffffff;
  text-align: left;
}

#mtc-notary-ad .mtc-ad-main {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 14px 24px;
  min-height: 160px;
  padding: 24px 28px;
}

#mtc-notary-ad .mtc-ad-symbol {
  position: absolute;
  z-index: 3;
  inset: 0 auto 0 0;
  display: grid;
  width: 76px;
  place-items: center;
  background: #00a4e2;
  color: #ffffff;
}

#mtc-notary-ad .mtc-language-mark {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

#mtc-notary-ad .mtc-language-mark span:nth-child(2) {
  color: rgb(255 255 255 / 64%);
  font-size: 17px;
  font-weight: 400;
}

#mtc-notary-ad .mtc-ad-watermark {
  position: absolute;
  z-index: 0;
  display: block !important;
  top: -105px;
  right: 90px;
  width: 277px;
  height: 311px;
  transform: rotate(-8deg);
  pointer-events: none;
}

#mtc-notary-ad .mtc-ad-watermark path {
  fill: rgb(125 217 247 / 13%);
}

#mtc-notary-ad .mtc-ad-title {
	font: 24px 'o400';
	position: relative;
	z-index: 1;
	grid-column: 1 / -1;
	grid-row: 1;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	color: #ffffff !important;
}

#mtc-notary-ad .mtc-ad-title span {
	display: inline;
	color: #7dd9f7;
	font: 24px 'o400';
}

#mtc-notary-ad .mtc-ad-text {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 2;
  max-width: 590px;
  margin: 0 !important;
  padding: 0 !important;
  color: #e7e9f6 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.42 !important;
}

#mtc-notary-ad .mtc-ad-button {
  position: relative;
  z-index: 1;
  display: inline-flex !important;
  grid-column: 2;
  grid-row: 2;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 17px !important;
  border: 0 !important;
  border-radius: 10px;
  background: #b60000 !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

#mtc-notary-ad .mtc-ad-button:hover {
  background: #d20a0a !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

#mtc-notary-ad .mtc-ad-button:focus-visible,
#mtc-notary-ad .mtc-ad-links a:focus-visible {
  outline: 3px solid #7dd9f7;
  outline-offset: 3px;
}

#mtc-notary-ad .mtc-ad-contacts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 76px;
  align-items: center;
  gap: 11px 16px;
  margin: 0;
  padding: 17px 24px 14px;
  border: 0;
  background: #ffffff;
  color: #5b6478;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

#mtc-notary-ad .mtc-ad-contact-title {
  color: #141654;
}

#mtc-notary-ad .mtc-ad-links {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

#mtc-notary-ad .mtc-ad-links a {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #225fa8 !important;
  font-size: 13px !important;
  text-decoration: none !important;
}

#mtc-notary-ad .mtc-ad-links svg,
#mtc-notary-ad .mtc-ad-office svg {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#mtc-notary-ad .mtc-ad-links a:hover {
  color: #b60000 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

#mtc-notary-ad .mtc-ad-office {
  display: inline-flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  width: 100%;
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid #e1e5ec;
  color: #5b6478;
  font-weight: 500;
}

#mtc-notary-ad .mtc-ad-office span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 700px) {
  #mtc-notary-ad .mtc-ad {
    padding-left: 54px;
  }

  #mtc-notary-ad .mtc-ad-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 15px;
    padding: 24px 16px;
  }

  #mtc-notary-ad .mtc-ad-symbol {
    width: 54px;
  }

  #mtc-notary-ad .mtc-ad-title {
    grid-column: 1;
    grid-row: 1;
  }

  #mtc-notary-ad .mtc-ad-text {
    grid-column: 1;
    grid-row: 2;
  }

  #mtc-notary-ad .mtc-ad-button {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    margin-bottom: 14px !important;
  }

  #mtc-notary-ad .mtc-ad-contacts {
    gap: 8px 12px;
    white-space: normal;
  }

  #mtc-notary-ad .mtc-ad-watermark {
    top: -44px;
    right: 8px;
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  #mtc-notary-ad .mtc-ad-title {
    font-size: 21px !important;
  }

  #mtc-notary-ad .mtc-ad-title span {
    white-space: normal;
  }

  #mtc-notary-ad .mtc-ad-button {
    width: 100%;
    margin-bottom: 0 !important;
  }

  #mtc-notary-ad .mtc-ad-contacts {
    grid-template-columns: 1fr;
    padding-inline: 16px;
  }

  #mtc-notary-ad .mtc-ad-contact-title,
  #mtc-notary-ad .mtc-ad-links,
  #mtc-notary-ad .mtc-ad-office {
    grid-column: 1;
  }

  #mtc-notary-ad .mtc-ad-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  #mtc-notary-ad .mtc-ad-button {
    transition: none;
  }
}

.additional_langs {
	margin-top:60px;
}

  /* ============ ФИРМЕННАЯ ПАЛИТРА ============
     --bp-blue       : основной тёмно-синий (логотип, заголовки)
     --bp-blue-dark  : насыщенный тёмно-синий (контуры, тени деталей)
     --bp-red        : акцентный красный (только в тексте — числа)
     --bp-bg         : нейтральный фон страницы
     --bp-card       : белый фон карточек
     --bp-border     : светлая разделительная линия
  ============================================== */
  :root{
    --bp-blue:        #1f3c8c;
    --bp-blue-dark:   #15296b;
    --bp-blue-soft:   #e8edf8;
    --bp-red:         #d6263b;
    --bp-bg:          #f4f5f7;
    --bp-card:        #ffffff;
    --bp-border:      #e3e6ee;
    --bp-text:        #2a2f45;
    --bp-text-muted:  #5a6378;
    --bp-shadow:      0 4px 18px rgba(31,60,140,.08);
  }

	.advantages-block{
		width:100%;
		background:var(--bp-card);
		margin: 0 auto 50px;
	}
  
	@media (max-width: 500px) {
		.advantages-block {
			margin-top: -15px;
		}
	}

  .advantages-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    grid-auto-rows:1fr;
    gap:1px;
    background:var(--bp-border); /* проступает в gap-зазорах как сплошные линии */
  }

  .advantage-item{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding:22px 18px;
    background:var(--bp-card); /* перекрывает фон сетки, оставляя только тонкие линии */
    transition:background .25s ease;
  }

  /* Иконочный круг */
  .advantage-icon{
    width:72px;
    height:72px;
    border-radius:50%;
    background:var(--bp-blue-soft);
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:14px;
    transition:background .25s ease, transform .25s ease;
  }
  .advantage-item:hover .advantage-icon{
    background:#fff;
    transform:scale(1.06);
    box-shadow:0 4px 14px rgba(31,60,140,.18);
  }
  .advantage-icon svg{
    width:40px;
    height:40px;
  }

  .advantage-value .accent{
    color:var(--bp-red);
  }

.advantage-value {
	margin-bottom: 6px;
	font: 18px 'o700';
	color: #141654;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.advantage-label {
  color: var(--bp-text-muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  max-width: 240px;
  font: 14px 'o600';
}

  @media (max-width: 900px){
    .advantages-grid{
      grid-template-columns:repeat(2,1fr);
    }
  }

  @media (max-width: 560px){
    body{padding:12px}
    .advantages-block{padding:16px 12px}
    .advantages-grid{
      grid-template-columns:1fr;
    }
    .advantage-item{padding:18px 10px}
    .advantage-value{font-size:21px}
    .advantage-icon{width:62px;height:62px}
    .advantage-icon svg{width:34px;height:34px}
  }