* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
}

img,
iframe {
  max-width: 100%;
}

section.home-banner {
  position: relative;
  overflow: hidden;
}

section.home-banner::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  content: "";
  background: linear-gradient(90deg, rgba(10, 18, 35, 0.58), rgba(10, 18, 35, 0.22) 48%, rgba(10, 18, 35, 0.08));
  pointer-events: none;
}

section.home-banner .container {
  position: relative;
  z-index: 1;
}

.miram-logo {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  color: #101010;
  text-decoration: none;
  line-height: 1;
}

.miram-logo span {
  display: block;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.miram-logo span::first-letter {
  color: #2e51cc;
}

.miram-logo small {
  display: block;
  margin-top: 5px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

header.header .bottom-header .container {
  align-items: center;
  grid-template-columns: auto 1fr;
}

header.header .bottom-header .miram-logo.logotype {
  height: auto;
  margin: 18px 0;
}

header.header .bottom-header .container .menu a {
  padding: 0 14px;
  white-space: nowrap;
}

footer.footer .footer-logo {
  margin-bottom: 30px;
}

footer.footer .copyright a {
  display: inline;
}

section.footer-callback .form-note {
  margin: 18px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.45;
}

section.footer-callback .form-note a {
  color: #2e51cc;
}

section.footer-callback .miram-footer-callback__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 24px;
  align-items: stretch;
  padding: 30px;
  border: 1px solid #d5def0;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
}

section.footer-callback .miram-footer-callback__content {
  min-width: 0;
}

section.footer-callback .miram-footer-callback__content > span,
section.footer-callback .miram-footer-callback__contacts > span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #2e51cc;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

section.footer-callback .miram-footer-callback__contacts {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(46, 81, 204, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

section.footer-callback .miram-footer-callback__contacts a {
  color: #111827;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
  text-decoration: none;
}

section.footer-callback .miram-footer-callback__contacts p,
section.footer-callback .miram-footer-callback__contacts small {
  margin: 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.45;
}

section.product-catalog {
  padding: 58px 0 34px;
}

section.product-catalog .block-title {
  display: block;
  margin-bottom: 34px;
  font-weight: 700;
}

section.product-catalog .grid {
  align-items: stretch;
}

section.product-catalog .grid .item {
  display: flex;
  min-height: 100%;
  padding: 24px;
  flex-direction: column;
  border: 1px solid #e7eaf1;
  border-radius: 8px;
  background: #fff;
}

section.product-catalog .grid .item img {
  display: block;
  width: 100%;
  max-width: 170px;
  height: 132px !important;
  margin: 0 0 20px !important;
  object-fit: contain;
  object-position: left center;
}

section.product-catalog .grid .item span.title {
  margin-bottom: 10px !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

section.product-catalog .grid .item span.description {
  flex: 1;
  color: #333;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

section.product-catalog .grid .item span.order {
  margin-top: 18px !important;
}

section.services-home {
  padding: 34px 0 18px;
}

section.services-home h2 {
  margin-bottom: 34px;
}

.miram-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.miram-service-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e7eaf1;
  border-radius: 8px;
  background: #fff;
}

.miram-service-card__image {
  display: block;
  background: #f5f7fb;
}

.miram-service-card__image img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.miram-service-card__body {
  display: flex;
  min-height: 260px;
  padding: 22px;
  flex: 1;
  flex-direction: column;
}

.miram-service-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.35;
}

.miram-service-card p {
  margin: 0 0 20px;
  flex: 1;
  color: #333;
  font-size: 15px;
  line-height: 1.55;
}

.miram-service-card__bottom {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
}

.miram-service-card__bottom span,
section.services .miram-service-card__bottom span {
  display: block;
  max-width: none;
}

.miram-service-card__bottom small {
  display: block;
  margin-bottom: 3px;
  color: #8c8c8c;
  font-size: 12px;
}

.miram-service-card__bottom b {
  display: block;
  color: #262626;
  font-size: 20px;
  font-weight: 600;
}

.miram-service-card .button-blue,
section.services .miram-service-card .button-blue {
  width: auto;
  min-width: 124px;
  height: 46px;
  padding: 0 18px;
  line-height: 44px;
  white-space: nowrap;
}

.miram-map {
  overflow: hidden;
  border: 1px solid #e7eaf1;
  border-radius: 8px;
  background: #f3f6fb;
}

.miram-map-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  background: #f7f9ff;
  border-bottom: 1px solid #e7eaf1;
}

.miram-map-card span {
  color: #6b7280;
  font-size: 14px;
}

.miram-map-card strong {
  color: #111827;
  font-size: 20px;
  line-height: 1.35;
}

.miram-map-card a {
  display: inline-flex;
  width: max-content;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  border-radius: 5px;
  background: #2e51cc;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
}

.miram-map-image-link {
  display: block;
  line-height: 0;
  background: #eef2f7;
}

.miram-map-image {
  display: block;
  width: 100%;
  height: auto;
}

section.content .text table {
  width: 100%;
  margin: 24px 0 34px;
  border-collapse: collapse;
  table-layout: fixed;
}

section.content .text table th,
section.content .text table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e7eaf1;
  text-align: left;
  vertical-align: top;
}

section.content .text table th {
  background: #f3f5f8;
  font-weight: 700;
}

section.content .text table td:first-child {
  width: 58%;
}

section.content .text table a {
  overflow-wrap: anywhere;
}

.downloads-page .downloads-intro {
  max-width: 860px;
  padding-top: 28px;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.download-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 18px;
  min-width: 0;
  padding: 22px;
  align-items: center;
  border: 1px solid #e7eaf1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
}

.download-card__icon {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #dbe3f3;
  border-radius: 8px;
  background: #f3f7ff;
}

.download-card__icon img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.download-card__icon span {
  color: #2e51cc;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.download-card__body {
  min-width: 0;
}

.download-card__body h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.download-card__body p {
  margin: 0 0 10px;
  color: #333;
  font-size: 15px;
  line-height: 1.55;
}

.download-card__site {
  display: inline-block;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.download-card__button {
  display: inline-flex;
  min-width: 122px;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #2e51cc;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background 0.25s, transform 0.25s;
}

.download-card__button:hover {
  background: #2442aa;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.downloads-empty {
  margin-top: 24px;
  color: #6b7280;
}

@media (max-width: 1024px) {
  header.header .bottom-header .container .menu a {
    padding: 0 9px;
    font-size: 14px;
  }

  .miram-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  header.header .bottom-header .container .menu a {
    padding: 0 6px;
    font-size: 12px;
  }

  .downloads-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header.header .bottom-header .container {
    grid-template-columns: 1fr 4fr 1fr;
  }

  header.header .bottom-header .miram-logo.logotype {
    margin: 13px auto;
    align-items: center;
  }

  .miram-logo span {
    font-size: 26px;
  }

  .miram-logo small {
    display: none;
  }

  section.product-catalog {
    padding: 34px 0 12px;
  }

  section.product-catalog .block-title {
    margin-bottom: 20px;
    font-size: 22px !important;
    line-height: 1.3;
  }

  section.product-catalog .grid .item {
    padding: 18px;
  }

  section.product-catalog .grid .item img {
    max-width: 112px;
    height: 92px !important;
  }

  section.product-catalog .grid .item span.title {
    font-size: 18px !important;
  }

  .miram-service-grid {
    grid-template-columns: 1fr;
  }

  .miram-service-card__image img {
    height: 185px;
  }

  .miram-service-card__body {
    min-height: 0;
    padding: 18px;
  }

  .miram-service-card__bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .miram-service-card .button-blue,
  section.services .miram-service-card .button-blue {
    width: 100%;
    margin-bottom: 0;
    text-align: center;
  }

  .miram-map-image {
    min-height: 260px;
    object-fit: cover;
  }

  section.content .text table,
  section.content .text table thead,
  section.content .text table tbody,
  section.content .text table tr,
  section.content .text table th,
  section.content .text table td {
    display: block;
    width: 100% !important;
  }

  section.content .text table {
    table-layout: auto;
  }

  section.content .text table thead {
    display: none;
  }

  section.content .text table tr {
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid #e7eaf1;
    border-radius: 8px;
    background: #fff;
  }

  section.content .text table th,
  section.content .text table td {
    padding: 0;
    border: 0;
  }

  section.content .text table td + td {
    margin-top: 8px;
    color: #333;
  }

  .downloads-page .downloads-intro {
    padding-top: 22px;
  }

  .download-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .download-card__button {
    width: 100%;
    grid-column: 1 / -1;
  }
}

@media (max-width: 360px) {
  .miram-logo span {
    font-size: 23px;
  }

  .miram-map-card {
    padding: 18px;
  }
}

section.home-banner {
  min-height: 520px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

section.home-banner.small-height {
  min-height: 360px;
}

section.home-banner::before {
  background:
    linear-gradient(90deg, rgba(8, 13, 24, 0.78), rgba(8, 13, 24, 0.48) 44%, rgba(8, 13, 24, 0.14) 72%),
    linear-gradient(180deg, rgba(8, 13, 24, 0.12), rgba(8, 13, 24, 0.3));
}

section.home-banner h1 {
  max-width: 720px;
  color: #fff;
  font-size: 46px;
  line-height: 1.15;
  font-weight: 800;
}

section.home-banner p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.65;
}

section.home-banner .callback {
  box-shadow: 0 14px 34px rgba(46, 81, 204, 0.26);
}

section.advantages,
section.services-home,
section.process,
section.reviews,
section.faq,
section.product-catalog,
section.guarantee {
  position: relative;
}

section.advantages,
section.process,
section.faq {
  background: #f7f9fc;
}

section.product-catalog,
section.services-home,
section.reviews {
  background: #fff;
}

section.product-catalog::before,
section.services-home::before,
section.process::before,
section.reviews::before,
section.faq::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: #e7eaf1;
}

section.advantages .block-title,
section.product-catalog .block-title,
section.services-home h2,
section.process h2,
section.reviews h2,
section.faq h2 {
  max-width: 850px;
  color: #111827;
  font-size: 32px !important;
  line-height: 1.28 !important;
  font-weight: 700 !important;
}

section.advantages .grid > div {
  border: 1px solid #e7eaf1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.05);
}

section.product-catalog .grid {
  grid-gap: 22px !important;
}

section.product-catalog .grid .item {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

section.product-catalog .grid .item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 86px;
  height: 86px;
  border-bottom-left-radius: 86px;
  background: rgba(46, 81, 204, 0.08);
  pointer-events: none;
}

section.product-catalog .grid .item:hover {
  transform: translateY(-4px);
  border-color: #cbd5f1;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.1);
}

section.product-catalog .grid .item img {
  width: 142px;
  max-width: 142px;
  height: 118px !important;
  margin-bottom: 18px !important;
  object-fit: contain;
  object-position: left center;
}

section.product-catalog .grid .item span.order a {
  display: inline-flex;
  width: max-content;
  min-width: 112px;
  min-height: 40px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #2e51cc;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
}

section.services-home {
  padding: 54px 0 54px;
}

section.services-home h2 {
  margin-bottom: 28px;
}

.miram-service-grid {
  gap: 20px;
}

.miram-service-card {
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.miram-service-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5f1;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.1);
}

.miram-service-card__image img {
  height: 150px;
}

.miram-service-card__body {
  min-height: 230px;
  padding: 20px;
}

.miram-service-card p {
  margin-bottom: 16px;
  font-size: 14px;
}

.all-services {
  display: inline-flex;
  width: auto;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 18px;
  align-items: center;
  border: 1px solid #dbe3f3;
  border-radius: 5px;
  background: #fff;
  color: #111827;
  font-weight: 600;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}

.all-services:hover {
  border-color: #2e51cc;
  color: #2e51cc;
  transform: translateX(2px);
}

section.process {
  padding: 54px 0 58px;
}

section.process h2 {
  margin-bottom: 28px;
}

section.process .stages-image {
  width: 100%;
  max-height: 300px;
  margin-bottom: 34px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.1);
}

section.process .grid {
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 0 24px;
  border-top: 1px solid #e0e5ef;
}

section.process .grid div {
  min-height: 0;
  padding: 22px 0;
  border-bottom: 1px solid #e0e5ef;
}

section.process .grid span.stage-title {
  display: inline-flex;
  min-height: 36px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  background: #eaf0ff;
  color: #2e51cc;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

section.process .grid span.title {
  padding-bottom: 7px;
  color: #111827;
  font-size: 18px;
  line-height: 1.35;
}

section.process .grid span.description {
  color: #333;
  font-size: 15px;
  line-height: 1.55;
}

section.reviews {
  padding: 54px 0 58px;
}

section.reviews h2 {
  margin-bottom: 26px;
}

section.reviews .grid,
section.content.reviews .masonry-reviews {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0 30px;
  width: 100%;
  height: auto !important;
  flex-flow: initial !important;
  align-content: initial !important;
}

section.content.reviews .masonry-reviews .item {
  width: auto !important;
  margin-bottom: 0 !important;
  order: initial !important;
}

section.reviews .grid .item,
section.content.reviews .masonry-reviews .item {
  position: relative;
  display: flex;
  min-height: 100%;
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  border: 1px solid #e7eaf1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}

section.reviews .grid .item::before,
section.content.reviews .masonry-reviews .item::before {
  content: "“";
  width: 34px;
  height: 34px;
  color: #2e51cc;
  font-size: 46px;
  line-height: 0.9;
  font-weight: 800;
}

section.reviews .grid .item span.description,
section.content.reviews .masonry-reviews .item span.description {
  min-height: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.65;
}

section.content.reviews .masonry-reviews .item span.title {
  order: 3;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid #e7eaf1;
  color: #111827;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

section.reviews .grid .item .item-author {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e7eaf1;
}

section.reviews .button-more {
  display: inline-flex;
  width: auto;
  min-width: 168px;
  height: 48px;
  margin: 0;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  border-color: #2e51cc;
  color: #2e51cc;
  font-size: 16px;
  line-height: 1.2;
}

section.reviews .button-more:hover {
  background: #2e51cc;
}

section.guarantee {
  background: #111827;
}

section.guarantee .title,
section.guarantee .description {
  color: #fff !important;
}

section.faq {
  padding-bottom: 58px;
}

.service-catalog-page {
  background: #f7f9fc;
}

.service-category-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 10px;
  padding: 14px 0 18px;
  flex-wrap: wrap;
  background: rgba(247, 249, 252, 0.94);
  backdrop-filter: blur(8px);
}

.service-category-nav a {
  display: inline-flex;
  min-height: 42px;
  padding: 0 14px;
  align-items: center;
  gap: 8px;
  border: 1px solid #dbe3f3;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}

.service-category-nav a:hover {
  border-color: #2e51cc;
  color: #2e51cc;
  transform: translateY(-1px);
}

.service-category-nav small {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eaf0ff;
  color: #2e51cc;
  font-size: 12px;
  line-height: 1;
}

.service-category-section {
  scroll-margin-top: 86px;
  padding: 34px 0 18px;
}

.service-category-section__head {
  display: flex;
  gap: 24px;
  margin-bottom: 18px;
  align-items: flex-end;
  justify-content: space-between;
}

.service-category-section__head h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 28px;
  line-height: 1.25;
}

.service-category-section__head p {
  max-width: 760px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.55;
}

.service-category-section__head > span {
  display: inline-flex;
  min-height: 36px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  background: #eaf0ff;
  color: #2e51cc;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.service-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-list-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e7eaf1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.05);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service-list-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5f1;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.1);
}

.service-list-card__image {
  display: block;
  background: #eef2f7;
}

.service-list-card__image img {
  display: block;
  width: 100%;
  height: 142px;
  object-fit: cover;
}

.service-list-card__body {
  display: flex;
  min-height: 230px;
  padding: 18px;
  flex: 1;
  flex-direction: column;
}

.service-list-card h3 {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.35;
}

.service-list-card h3 a {
  color: #111827;
}

.service-list-card p {
  margin: 0 0 16px;
  flex: 1;
  color: #333;
  font-size: 14px;
  line-height: 1.55;
}

.service-list-card__bottom {
  display: flex;
  gap: 12px;
  margin-top: auto;
  align-items: flex-end;
  justify-content: space-between;
}

.service-list-card__bottom span {
  min-width: 0;
}

.service-list-card__bottom small {
  display: block;
  margin-bottom: 3px;
  color: #8c8c8c;
  font-size: 12px;
}

.service-list-card__bottom b {
  display: block;
  color: #111827;
  font-size: 18px;
  line-height: 1.2;
}

.service-list-card .more {
  display: inline-flex !important;
  width: auto !important;
  min-width: 116px;
  height: 42px !important;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  border-color: #2e51cc !important;
  color: #2e51cc !important;
  line-height: 1.2 !important;
}

.service-list-card .more:hover {
  background: #2e51cc !important;
  color: #fff !important;
}

section.block-01 img,
section.additional-description img,
section.criteries .thumbnail {
  max-width: 100%;
}

section.additional-description img {
  display: block;
  width: 100%;
  max-height: 360px;
  border-radius: 8px;
  object-fit: cover;
}

section.additional-description .grid {
  align-items: stretch;
}

section.additional-description .grid > div {
  min-width: 0;
}

section.criteries .thumbnail {
  min-height: 360px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.miram-footer-dev {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  align-items: center;
  color: #8c8c8c;
  font-size: 13px;
  line-height: 1.35;
}

.miram-footer-dev a {
  display: inline-flex;
  min-height: 32px;
  padding: 0 10px;
  align-items: center;
  border-radius: 5px;
  background: #eef3ff;
  color: #2e51cc !important;
  font-weight: 800;
  letter-spacing: 0;
}

@keyframes miramFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section.product-catalog .grid .item,
.miram-service-card,
section.process .stages-image,
section.reviews .grid .item,
section.content.reviews .masonry-reviews .item,
.service-list-card,
.download-card {
  animation: miramFadeUp 0.42s ease both;
}

section.product-catalog .grid .item:nth-child(2),
.miram-service-card:nth-child(2),
section.reviews .grid .item:nth-child(2),
.service-list-card:nth-child(2),
.download-card:nth-child(2) {
  animation-delay: 0.04s;
}

section.product-catalog .grid .item:nth-child(3),
.miram-service-card:nth-child(3),
section.reviews .grid .item:nth-child(3),
.service-list-card:nth-child(3),
.download-card:nth-child(3) {
  animation-delay: 0.08s;
}

@media (max-width: 1100px) {
  .service-category-grid,
  section.reviews .grid,
  section.content.reviews .masonry-reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  section.home-banner h1 {
    font-size: 36px;
  }

  section.home-banner p {
    font-size: 16px;
  }

  .service-category-nav {
    position: static;
  }
}

@media (max-width: 768px) {
  section.home-banner,
  section.home-banner.small-height {
    min-height: 330px;
    padding: 38px 0;
  }

  section.home-banner h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  section.home-banner p {
    font-size: 15px;
    line-height: 1.55;
  }

  section.advantages .block-title,
  section.product-catalog .block-title,
  section.services-home h2,
  section.process h2,
  section.reviews h2,
  section.faq h2 {
    font-size: 23px !important;
    line-height: 1.32 !important;
  }

  section.product-catalog .grid .item img {
    max-width: 116px;
    height: 96px !important;
  }

  section.process .stages-image {
    max-height: 220px;
    margin-bottom: 20px;
  }

  section.process .grid {
    grid-template-columns: 1fr;
  }

  section.process .grid div:nth-child(odd) {
    padding-bottom: 6px;
    border-bottom: 0;
  }

  section.process .grid div:nth-child(even) {
    padding-top: 0;
  }

  section.reviews .grid,
  section.content.reviews .masonry-reviews,
  .service-category-grid {
    grid-template-columns: 1fr;
  }

  .service-category-section__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-list-card__image img {
    height: 165px;
  }

  .service-list-card__body {
    min-height: 0;
  }

  .service-list-card__bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .service-list-card .more {
    width: 100% !important;
  }

  section.additional-description img {
    max-height: 260px;
  }

  section.criteries .thumbnail {
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  section.product-catalog .grid .item,
  .miram-service-card,
  section.process .stages-image,
  section.reviews .grid .item,
  section.content.reviews .masonry-reviews .item,
  .service-list-card,
  .download-card {
    animation: none;
  }

  section.product-catalog .grid .item:hover,
  .miram-service-card:hover,
  .service-list-card:hover,
  .download-card__button:hover {
    transform: none;
  }
}

/* 2026-06-25 visual polish pass */
.miram-breadcrumbs {
  padding: 14px 0;
  border-top: 1px solid #f0f2f6;
  border-bottom: 1px solid #eef1f6;
  background: #fff;
}

.miram-breadcrumbs .container {
  display: flex;
  gap: 9px;
  align-items: center;
  overflow-x: auto;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}

.miram-breadcrumbs a {
  color: #2e51cc;
  text-decoration: none;
}

.miram-breadcrumbs__separator {
  color: #b5bdcc;
}

.miram-button,
.button-blue.miram-button,
section.reviews .button-more.miram-button,
.all-services.miram-button,
.article-card .miram-button {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 42px !important;
  height: auto !important;
  padding: 0 18px !important;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.2 !important;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.miram-button--primary,
.button-blue.miram-button--primary {
  background: #2e51cc !important;
  border-color: #2e51cc !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(46, 81, 204, 0.18);
}

.miram-button--secondary,
section.reviews .button-more.miram-button--secondary,
.all-services.miram-button--secondary,
.article-card .miram-button--secondary {
  background: #fff !important;
  border-color: #cfd8ea !important;
  color: #17306f !important;
}

.miram-button:hover {
  transform: translateY(-1px);
}

.miram-button--primary:hover {
  background: #2442aa !important;
  border-color: #2442aa !important;
  color: #fff !important;
}

.miram-button--secondary:hover,
section.reviews .button-more.miram-button--secondary:hover,
.all-services.miram-button--secondary:hover,
.article-card .miram-button--secondary:hover {
  border-color: #2e51cc !important;
  color: #2e51cc !important;
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.08);
}

section.home-banner.small-height {
  min-height: 380px;
}

section.home-banner.single-post-hero time {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 700;
}

section.advantages {
  padding: 52px 0;
}

section.advantages .block-title {
  margin-bottom: 26px !important;
}

section.advantages .grid {
  grid-gap: 14px !important;
}

section.advantages .grid > div {
  padding: 18px 20px !important;
  border-color: #dfe6f3;
  box-shadow: none;
}

section.advantages .grid span.title {
  margin-bottom: 8px !important;
  color: #111827;
  font-size: 17px !important;
  line-height: 1.3 !important;
}

section.advantages .grid span.description {
  color: #4b5563;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

section.product-catalog .grid .item {
  color: inherit;
  text-decoration: none !important;
}

section.product-catalog .grid .item img {
  padding: 8px;
  border-radius: 8px;
  background: #f7f9fc;
}

section.product-catalog .grid .item span.order {
  display: inline-flex;
  width: max-content;
  min-height: 36px;
  padding: 0 13px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe3f3;
  border-radius: 6px;
  background: #fff;
  color: #2e51cc;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

section.product-catalog .grid .item span.order a {
  padding: 0;
  background: transparent;
  color: inherit !important;
}

.all-services {
  margin-top: 24px !important;
}

.all-services::after,
section.reviews .button-more::after,
.article-card .miram-button::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

section.process .stages-image {
  max-height: 240px;
  margin-bottom: 26px;
}

.miram-process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.miram-process-step {
  position: relative;
  min-width: 0;
  padding: 18px;
  border: 1px solid #dfe6f3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
}

.miram-process-step__icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eaf0ff;
  color: #2e51cc;
  font-size: 14px;
  font-weight: 800;
}

.miram-process-step .title {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

.miram-process-step .description {
  display: block;
  color: #4b5563;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

section.callback {
  overflow: hidden;
  background:
    linear-gradient(90deg, #f7f9fc 0, #f7f9fc 52%, #fff 52%, #fff 100%);
  border-top: 1px solid #e7eaf1;
  border-bottom: 1px solid #e7eaf1;
}

section.callback .grid > div {
  min-width: 0;
}

section.callback .right-image {
  width: calc(100% - 8px);
  min-height: 440px;
  border-radius: 8px 0 0 8px;
  background-image: url("images/generated/miram59-contact-consultation.jpg") !important;
  background-size: cover;
  background-position: center;
  animation: miramContactFloat 8s ease-in-out infinite;
  transform-origin: center;
}

@keyframes miramContactFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.015);
  }
}

section.reviews .grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

section.reviews .grid .item,
section.content.reviews .masonry-reviews .item {
  padding: 18px;
  gap: 14px;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.05);
}

section.reviews .grid .item::before,
section.content.reviews .masonry-reviews .item::before {
  width: 24px;
  height: 24px;
  font-size: 34px;
}

section.reviews .grid .item span.description,
section.content.reviews .masonry-reviews .item span.description {
  font-size: 14px;
  line-height: 1.55;
}

section.reviews .grid .item .avatar {
  width: 42px !important;
  height: 42px !important;
}

section.reviews .grid .item .name {
  font-size: 15px !important;
  line-height: 1.3 !important;
}

section.guarantee {
  background: #f7f9fc;
}

section.guarantee .grid {
  border: 1px solid #dfe6f3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.06);
}

section.guarantee .grid > div:first-child {
  background: linear-gradient(135deg, #eaf0ff, #f8fbff);
}

section.guarantee .title,
section.guarantee .description {
  color: #111827 !important;
}

section.guarantee .description {
  color: #4b5563 !important;
}

section.faq {
  padding-top: 54px;
  background: #fff;
}

section.faq .grid {
  grid-gap: 12px !important;
  margin-top: 24px !important;
}

section.faq .item {
  border: 1px solid #dfe6f3;
  border-radius: 8px;
  background: #f9fbff;
}

section.faq .question {
  padding: 16px 20px !important;
  color: #111827;
  font-size: 16px !important;
  line-height: 1.35 !important;
}

section.faq .answer {
  padding: 0 20px 18px !important;
  color: #4b5563;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

section.footer-callback {
  border-top: 1px solid #e7eaf1;
  background: #f7f9fc;
}

section.footer-callback h2,
section.footer-callback p {
  color: #111827;
}

.miram-footer-dev {
  align-items: center;
  gap: 12px;
}

.miram-footer-dev a {
  min-height: auto;
  padding: 0;
  background: transparent;
}

.miram-footer-dev img {
  display: block;
  width: auto;
  height: 30px;
}

section.additional-description .grid.no-media,
section.criteries.criteries--text-only .grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

section.additional-description {
  padding: 48px 0 42px !important;
}

section.criteries {
  padding: 46px 0 56px !important;
}

section.additional-description h2,
section.criteries h2 {
  margin: 0 0 22px !important;
  padding: 0 !important;
}

section.block-01 h2 {
  margin: 0 0 28px !important;
  padding: 0 !important;
}

section.additional-description .grid {
  gap: 24px !important;
  align-items: center;
}

section.additional-description .grid.no-media {
  display: block !important;
}

section.criteries.criteries--text-only .grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

section.additional-description .additional-description__text,
section.criteries.criteries--text-only .text {
  max-width: 920px;
}

section.additional-description .additional-description__media {
  min-width: 0;
}

section.additional-description img,
section.block-01 .text-container img,
.single-article__content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 8px;
  object-fit: contain;
}

section.additional-description .additional-description__media img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

section.criteries .thumbnail {
  min-height: 320px;
}

section.articles {
  background: #f7f9fc;
}

section.articles .grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.article-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #e7eaf1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
}

.article-card__image {
  display: block;
  background: #eef2f7;
}

.article-card__image img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.article-card__body {
  display: flex;
  min-height: 250px;
  padding: 20px;
  flex: 1;
  flex-direction: column;
}

.article-card time {
  margin-bottom: 10px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

.article-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
}

.article-card h2 a {
  color: #111827;
  text-decoration: none;
}

.article-card p {
  margin: 0 0 18px;
  flex: 1;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.55;
}

.article-card .miram-button {
  align-self: flex-start;
}

.single-article {
  padding: 52px 0;
  background: #fff;
}

.single-article__content {
  max-width: 900px;
  color: #333;
  font-size: 17px;
  line-height: 1.75;
}

.single-article__content h2,
.single-article__content h3 {
  color: #111827;
  line-height: 1.3;
}

.miram-article-note {
  margin: 0 0 28px;
  padding: 18px 20px;
  border-left: 4px solid #2e51cc;
  border-radius: 8px;
  background: #f7f9fc;
  color: #445066;
  font-size: 15px;
  line-height: 1.6;
}

.miram-article-note strong {
  color: #111827;
}

@media (max-width: 1100px) {
  .miram-process-steps,
  section.reviews .grid,
  section.articles .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .miram-breadcrumbs {
    padding: 10px 0;
  }

  .miram-breadcrumbs .container {
    flex-wrap: wrap;
    overflow: visible;
    white-space: normal;
  }

  .miram-breadcrumbs .container > span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  section.home-banner.small-height {
    min-height: 330px;
  }

  .miram-process-steps,
  section.reviews .grid,
  section.articles .grid {
    grid-template-columns: 1fr;
  }

  section.callback {
    background: #f7f9fc;
  }

  section.callback .right-image {
    min-height: 260px;
    border-radius: 8px;
  }

  section.reviews .grid .item {
    padding: 16px;
  }

  .article-card__body {
    min-height: 0;
  }

  .single-article {
    padding: 34px 0;
  }

  .single-article__content {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  section.callback .right-image {
    animation: none;
  }
}

/* correction pass: unified inner pages and repaired home blocks */
section.home-banner.small-height {
  display: flex !important;
  height: auto !important;
  min-height: 360px !important;
  padding: 58px 0 !important;
  align-items: center !important;
  text-align: left !important;
}

section.home-banner.small-height .container,
section.home-banner.small-height .grid {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  grid-template-rows: initial !important;
  align-self: auto !important;
  justify-self: auto !important;
}

section.home-banner.small-height h1 {
  max-width: 760px;
  margin: 0 !important;
  font-size: 42px;
  line-height: 1.16;
  text-align: left !important;
}

section.home-banner.small-height p {
  max-width: 650px;
  margin: 18px 0 0 !important;
  font-size: 17px;
  line-height: 1.58;
  text-align: left !important;
}

section.home-banner.small-height button {
  position: static !important;
  width: auto !important;
  min-width: 220px;
  height: 52px;
  margin-top: 24px;
  padding: 0 22px;
  border-radius: 6px !important;
  font-size: 15px;
  text-align: center !important;
}

section.content {
  border-top: 0;
}

section.reviews.reviews-home {
  padding: 50px 0 56px !important;
  background: #fff;
}

section.reviews.reviews-home h2 {
  max-width: 860px;
  margin: 0 0 24px !important;
  color: #111827;
  font-size: 30px !important;
  line-height: 1.28 !important;
}

section.reviews.reviews-home .grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 0 0 24px !important;
  height: auto !important;
}

section.reviews.reviews-home .grid .item {
  display: flex !important;
  min-height: 0 !important;
  padding: 18px !important;
  gap: 14px !important;
  flex-direction: column !important;
  border: 1px solid #e4e9f3 !important;
  border-radius: 8px !important;
  background: #f8fbff !important;
  box-shadow: none !important;
}

section.reviews.reviews-home .grid .item::before {
  display: flex;
  width: 26px;
  height: 22px;
  margin-bottom: 0;
  align-items: center;
  color: #2e51cc;
  font-size: 34px;
  line-height: 1;
}

section.reviews.reviews-home .grid .item span.description {
  display: -webkit-box !important;
  min-height: 0 !important;
  overflow: hidden;
  color: #3f4858;
  font-size: 14px !important;
  line-height: 1.5 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

section.reviews.reviews-home .grid .item .item-author {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #e4e9f3;
}

section.reviews.reviews-home .button-more {
  margin-top: 0 !important;
}

section.guarantee.guarantee-home {
  padding: 48px 0 !important;
  background: #f7f9fc !important;
}

section.guarantee.guarantee-home .grid {
  display: grid !important;
  overflow: hidden;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.12fr) minmax(260px, 0.88fr) !important;
  gap: 0 !important;
  align-items: stretch;
  border: 1px solid #dfe6f3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
}

section.guarantee.guarantee-home .grid > div {
  min-width: 0;
  padding: 26px 30px;
}

section.guarantee.guarantee-home .grid > div:first-child {
  display: flex;
  align-items: center;
  background: #eaf0ff !important;
}

section.guarantee.guarantee-home .title {
  color: #111827 !important;
  font-size: 26px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

section.guarantee.guarantee-home .description {
  color: #3f4858 !important;
  font-size: 16px !important;
  line-height: 1.62 !important;
}

section.guarantee.guarantee-home .miram-guarantee-photo {
  overflow: hidden;
  min-width: 0;
  min-height: 230px;
  margin: 0;
  border-left: 1px solid #dfe6f3;
  background: #eef3ff;
}

section.guarantee.guarantee-home .miram-guarantee-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section.faq.faq-home {
  padding: 50px 0 58px !important;
  background: #fff !important;
}

section.faq.faq-home h2 {
  margin: 0 0 22px !important;
  padding: 0 !important;
  color: #111827;
  font-size: 30px !important;
  line-height: 1.28 !important;
}

section.faq.faq-home .grid {
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
}

section.faq.faq-home .grid .item {
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid #dfe6f3 !important;
  border-radius: 8px;
  background: #f8fbff;
}

section.faq.faq-home .question {
  min-height: 56px;
  padding: 17px 58px 17px 20px !important;
  color: #111827 !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
}

section.faq.faq-home .question::after {
  top: 50% !important;
  right: 20px !important;
  width: 22px !important;
  height: 12px !important;
  background-size: 22px auto !important;
  transform: translateY(-50%);
}

section.faq.faq-home .question.active::after {
  transform: translateY(-50%) rotate(180deg) !important;
}

section.faq.faq-home .answer {
  padding: 0 20px 18px !important;
  color: #4b5563 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

section.faq.faq-home .answer.hidden {
  height: 0 !important;
  padding: 0 20px !important;
  opacity: 0;
}

@media (max-width: 1100px) {
  section.reviews.reviews-home .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  section.home-banner.small-height {
    min-height: 300px !important;
    padding: 42px 0 !important;
  }

  section.home-banner.small-height h1 {
    font-size: 28px !important;
    line-height: 1.22 !important;
  }

  section.home-banner.small-height p {
    font-size: 15px !important;
    line-height: 1.52 !important;
  }

  section.home-banner.small-height button {
    width: auto !important;
    min-width: 0;
    height: 46px;
    margin-top: 18px;
    padding: 0 16px;
    font-size: 14px;
  }

  section.reviews.reviews-home h2,
  section.faq.faq-home h2 {
    font-size: 23px !important;
  }

  section.reviews.reviews-home .grid,
  section.guarantee.guarantee-home .grid {
    grid-template-columns: 1fr !important;
  }

  section.guarantee.guarantee-home .grid > div {
    padding: 22px;
  }

  section.guarantee.guarantee-home .miram-guarantee-photo {
    min-height: 220px;
    border-top: 1px solid #dfe6f3;
    border-left: 0;
  }

  section.footer-callback .miram-footer-callback__layout {
    grid-template-columns: 1fr;
  }

  section.footer-callback .miram-footer-callback__media {
    min-height: 220px;
  }
}

/* 2026-06-26: keep direction cards from touching the mobile border */
section.product-catalog .grid .item.miram-direction-card {
  padding: 24px !important;
}

section.product-catalog .grid .item.miram-direction-card img {
  max-width: 132px;
  height: 110px !important;
  margin: 0 0 22px !important;
  object-position: center center;
}

section.product-catalog .grid .item.miram-direction-card span.title,
section.product-catalog .grid .item.miram-direction-card span.description,
section.product-catalog .grid .item.miram-direction-card span.order {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 768px) {
  section.product-catalog .grid .item.miram-direction-card {
    padding: 22px !important;
  }

  section.product-catalog .grid .item.miram-direction-card img {
    width: 118px !important;
    max-width: 118px !important;
    height: 98px !important;
    margin: 0 0 20px !important;
  }
}

/* 2026-06-26: service expertise and SEO structure */
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.service-card-tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid #dbe4f4;
  border-radius: 999px;
  background: #f7faff;
  color: #3151b7;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
}

.miram-service-card__body,
.service-list-card__body {
  display: flex;
  flex-direction: column;
}

.miram-service-card__body .service-card-tags,
.service-list-card__body .service-card-tags {
  margin-top: auto;
}

section.block-01 .grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: start !important;
}

section.block-01 {
  padding: 52px 0 46px !important;
}

section.block-01 h2 {
  padding: 0 0 24px !important;
}

section.block-01 .text .text-container {
  max-width: 860px !important;
}

section.block-01 .advantages {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 1000px !important;
  padding-top: 0 !important;
}

section.block-01 .advantages .item {
  display: block !important;
  margin: 0 !important;
  min-width: 0;
  padding: 18px 20px 20px !important;
  border: 1px solid #dfe6f3 !important;
  border-left: 4px solid #2e51cc !important;
  border-radius: 8px !important;
  background: #f8fbff !important;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05) !important;
}

section.block-01 .advantages .item > span.sub-title {
  display: block !important;
  margin-bottom: 7px !important;
  color: #667085 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  letter-spacing: 0;
  text-transform: uppercase !important;
}

section.block-01 .advantages .item > span.text {
  display: block !important;
  color: #111827 !important;
  font-size: 17px !important;
  line-height: 1.42 !important;
  font-weight: 800 !important;
}

section.block-01 .advantages .item > span.text::first-letter,
.service-facts strong::first-letter {
  text-transform: uppercase;
}

.service-expert-summary {
  padding: 58px 0 42px;
  background: #f7f9fc;
}

.service-expert-summary .container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
  gap: 28px;
  align-items: stretch;
}

.service-expert-summary--text-only .container {
  grid-template-columns: minmax(0, 1fr);
}

.service-expert-summary--text-only .service-expert-summary__intro {
  max-width: 960px;
}

.service-expert-summary__intro,
.service-facts {
  border: 1px solid #dde5f1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(25, 41, 77, 0.06);
}

.service-expert-summary__intro {
  padding: 30px;
}

.service-expert-summary__intro > span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #3151b7;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.service-expert-summary h2,
.service-expert-card h2,
.service-faq h2,
.service-related h2 {
  margin: 0;
  color: #111827;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
}

.service-expert-summary__intro p {
  margin: 16px 0 0;
  color: #465263;
  font-size: 16px;
  line-height: 1.65;
}

.service-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.service-facts div {
  min-width: 0;
  padding: 24px;
  border-right: 1px solid #e4eaf4;
  border-bottom: 1px solid #e4eaf4;
}

.service-facts div:nth-child(2n) {
  border-right: 0;
}

.service-facts div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.service-facts span {
  display: block;
  margin-bottom: 8px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-facts strong {
  display: block;
  color: #121826;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 800;
}

.service-expert-details {
  padding: 22px 0 58px;
  background: #f7f9fc;
}

.service-expert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-expert-card {
  padding: 28px;
  border: 1px solid #dde5f1;
  border-radius: 8px;
  background: #fff;
}

.service-expert-card--accent {
  background: #f4f8ff;
}

.service-expert-card ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.service-expert-card li {
  position: relative;
  padding-left: 26px;
  color: #3f4858;
  font-size: 16px;
  line-height: 1.5;
}

.service-expert-card li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3151b7;
  box-shadow: 0 0 0 5px rgba(49, 81, 183, 0.1);
}

.service-expert-result {
  margin: 22px 0 0;
  padding: 20px 24px;
  border-left: 4px solid #3151b7;
  border-radius: 8px;
  background: #fff;
  color: #3f4858;
  font-size: 16px;
  line-height: 1.6;
}

.service-faq {
  padding: 58px 0;
  background: #fff;
}

.service-faq__list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.service-faq__item {
  padding: 22px 24px;
  border: 1px solid #dde5f1;
  border-radius: 8px;
  background: #f8fbff;
}

.service-faq__item h3 {
  margin: 0;
  color: #111827;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
}

.service-faq__item p {
  margin: 10px 0 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
}

.service-related {
  padding: 58px 0;
  background: #f7f9fc;
}

.service-related__head {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-related-card {
  overflow: hidden;
  border: 1px solid #dde5f1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(25, 41, 77, 0.06);
}

.service-related-card__image {
  display: block;
  height: 150px;
  background: #eef3fb;
}

.service-related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.service-related-card > div {
  padding: 18px;
}

.service-related-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 800;
}

.service-related-card h3 a {
  color: #111827;
  text-decoration: none;
}

.service-related-card p {
  margin: 10px 0 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
}

.article-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 34px 0 0;
}

.article-pagination .page-numbers {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid #dbe4f4;
  border-radius: 6px;
  background: #fff;
  color: #3151b7;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
}

.article-pagination .page-numbers.current {
  border-color: #3151b7;
  background: #3151b7;
  color: #fff;
}

.contact-visit-notes {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid #dde5f1;
  border-radius: 8px;
  background: #f8fbff;
}

.contact-visit-notes h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
}

.contact-visit-notes ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.contact-visit-notes li {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .service-expert-summary .container,
  .service-expert-grid,
  .service-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .service-expert-summary,
  .service-faq,
  .service-related {
    padding: 42px 0;
  }

  .service-expert-details {
    padding: 0 0 42px;
  }

  .service-expert-summary .container,
  section.block-01 .grid,
  .service-expert-grid,
  .service-related__grid {
    grid-template-columns: 1fr;
  }

  section.block-01 .advantages .item {
    padding: 16px 18px !important;
  }

  section.block-01 .advantages {
    grid-template-columns: 1fr !important;
  }

  section.block-01 .advantages .item > span.text {
    font-size: 16px !important;
  }

  .service-expert-summary__intro,
  .service-expert-card,
  .service-faq__item,
  .contact-visit-notes {
    padding: 22px;
  }

  .service-expert-summary h2,
  .service-expert-card h2,
  .service-faq h2,
  .service-related h2 {
    font-size: 23px;
  }

  .service-facts {
    grid-template-columns: 1fr;
  }

  .service-facts div,
  .service-facts div:nth-child(2n),
  .service-facts div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid #e4eaf4;
  }

  .service-facts div:last-child {
    border-bottom: 0;
  }

  .service-related__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-card-tags {
    gap: 6px;
  }

.service-card-tags span {
    font-size: 11px;
  }
}

footer.footer .grid {
  margin-bottom: 28px;
}

.miram-footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, auto);
  gap: 10px 32px;
  align-items: end;
  padding: 22px 0 4px;
  margin-top: 8px;
  border-top: 1px solid #e3e8f2;
}

.miram-footer-copy {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  gap: 6px;
  justify-items: start;
  text-align: left;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.45;
}

.miram-footer-copy span:first-child {
  color: #111827;
  font-weight: 700;
}

.miram-footer-dev {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  flex-direction: column;
  gap: 0;
  align-items: flex-end;
  justify-self: end;
  text-align: right;
  margin-top: 0 !important;
  padding: 0;
  color: #8c8c8c;
  font-size: 13px;
  line-height: 1.25;
}

footer.footer .miram-footer-dev span {
  display: block;
  color: #8c8c8c;
  font-size: 13px;
  line-height: 1.25;
}

.miram-footer-dev a {
  display: inline-flex;
  min-height: auto;
  padding: 0 !important;
  align-items: center;
  background: transparent !important;
  border-radius: 0;
}

.miram-footer-dev img {
  display: block;
  width: auto;
  height: 38px;
  max-width: 118px;
  object-fit: contain;
}

.miram-footer-privacy {
  justify-self: start;
  grid-column: 1;
  color: #2e51cc;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  white-space: nowrap;
}

.miram-footer-privacy:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .miram-footer-bottom {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
    padding-top: 20px;
  }

  .miram-footer-copy {
    grid-column: auto;
    grid-row: auto;
    justify-items: start;
    text-align: left;
  }

  .miram-footer-dev {
    grid-column: auto;
    grid-row: auto;
    align-items: flex-start;
    justify-self: start;
    text-align: left;
    gap: 0;
  }

  .miram-footer-dev img {
    height: 34px;
    max-width: 106px;
  }

  .miram-footer-privacy {
    align-self: start;
    justify-self: start;
    grid-column: auto;
    white-space: normal;
  }
}

/* 2026-06-29: audit follow-up */
.service-card-proof {
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #e3eaf7;
  border-radius: 8px;
  background: #f8fbff;
}

.service-card-proof span {
  position: relative;
  padding-left: 18px;
  color: #344054;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.service-card-proof span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2e51cc;
  box-shadow: 0 0 0 4px rgba(46, 81, 204, 0.1);
}

.miram-service-card__body .service-card-proof,
.service-list-card__body .service-card-proof {
  margin-top: 0;
}

.downloads-hero::before {
  background:
    linear-gradient(90deg, rgba(8, 13, 24, 0.86), rgba(8, 13, 24, 0.58) 48%, rgba(8, 13, 24, 0.26) 78%),
    linear-gradient(180deg, rgba(8, 13, 24, 0.16), rgba(8, 13, 24, 0.36)) !important;
}

.miram-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0;
}

.miram-info-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid #dfe6f3;
  border-radius: 8px;
  background: #f8fbff;
}

.miram-info-card h2 {
  margin: 0 0 10px !important;
  color: #111827;
  font-size: 20px !important;
  line-height: 1.3 !important;
}

.miram-info-card p {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
}

.miram-note-box {
  margin: 34px 0;
  padding: 26px;
  border-left: 4px solid #2e51cc;
  border-radius: 8px;
  background: #f7f9fc;
}

.miram-note-box h2 {
  margin: 0 0 16px !important;
  color: #111827;
  font-size: 24px !important;
  line-height: 1.3 !important;
}

.miram-note-box ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.miram-note-box li {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.55;
}

.price-sections {
  display: grid;
  gap: 30px;
  margin-top: 34px;
}

.price-section {
  padding: 26px;
  border: 1px solid #dfe6f3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(16, 24, 40, 0.05);
}

.price-section__head {
  margin-bottom: 18px;
}

.price-section__head h2 {
  margin: 0 0 8px !important;
  color: #111827;
  font-size: 24px !important;
  line-height: 1.3 !important;
}

.price-section__head p {
  max-width: 780px;
  margin: 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.55;
}

.price-section__table {
  margin-bottom: 0 !important;
}

@media (max-width: 900px) {
  .miram-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .downloads-hero {
    background-position: 58% center !important;
  }

  .downloads-hero::before {
    background: linear-gradient(90deg, rgba(8, 13, 24, 0.9), rgba(8, 13, 24, 0.68)) !important;
  }

  .miram-info-card,
  .miram-note-box,
  .price-section {
    padding: 20px;
  }
}

/* 2026-07-03: make the service feel more alive with realistic service scenes */
section.home-banner {
  background-position: center center;
}

.miram-live-proof,
.miram-about-live,
.miram-articles-intro,
.service-live-work {
  position: relative;
  padding: 58px 0;
  border-top: 1px solid #e6ebf4;
  background: #fff;
}

.miram-live-proof {
  background: #f7f9fc;
}

.miram-live-proof__head {
  display: grid;
  max-width: 920px;
  gap: 12px;
  margin-bottom: 26px;
}

.miram-live-proof__head span,
.miram-about-live__text span,
.miram-articles-intro span,
.service-live-work__content > span,
.downloads-support-note span,
.miram-article-author-card span {
  color: #2e51cc;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.miram-live-proof__head h2,
.miram-about-live__text h2,
.miram-articles-intro h2,
.service-live-work__content h2,
.downloads-support-note h2,
.miram-article-author-card h2 {
  margin: 0 !important;
  color: #111827;
  font-size: 30px !important;
  line-height: 1.28 !important;
}

.miram-live-proof__head p,
.miram-about-live__text p,
.miram-articles-intro p,
.service-live-work__content p,
.downloads-support-note p,
.miram-article-author-card p {
  margin: 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.65;
}

.miram-live-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.miram-live-proof figure,
.contact-live-photo {
  overflow: hidden;
  min-width: 0;
  margin: 0;
  border: 1px solid #dfe6f3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.06);
}

.miram-live-proof img,
.miram-about-live img,
.service-live-work img,
.downloads-support-note img,
.miram-article-author-card img,
.contact-live-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.miram-live-proof figure img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.miram-live-proof figcaption,
.contact-live-photo figcaption {
  padding: 14px 16px;
  color: #344054;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
}

section.process .stages-image {
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

section.callback .right-image.miram-live-callback-image {
  background-image: url("images/generated/live/miram59-contacts-reception.jpg") !important;
  background-position: center;
}

.review-meta {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef3ff;
  color: #2e51cc;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-weight: 900;
}

.miram-about-live .container,
.service-live-work .container,
.downloads-support-note,
.miram-article-author-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 30px;
  align-items: center;
}

.miram-about-live__image,
.service-live-work__media,
.downloads-support-note,
.miram-article-author-card {
  overflow: hidden;
  border: 1px solid #dfe6f3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.06);
}

.miram-about-live__image img,
.service-live-work__media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.miram-about-live__text,
.service-live-work__content {
  min-width: 0;
}

.miram-about-live__text {
  display: grid;
  gap: 14px;
}

.miram-about-live__text ul {
  display: grid;
  gap: 10px;
  margin: 6px 0 0;
  padding-left: 20px;
}

.miram-about-live__text li {
  color: #344054;
  font-size: 15px;
  line-height: 1.55;
}

.miram-articles-intro {
  padding: 34px 0;
  background: #f7f9fc;
}

.miram-articles-intro .container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: end;
}

.downloads-support-note,
.miram-article-author-card {
  margin: 28px 0 34px;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
}

.downloads-support-note img,
.miram-article-author-card img {
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.downloads-support-note > div,
.miram-article-author-card > div {
  display: grid;
  gap: 12px;
  padding: 26px;
}

.service-live-work {
  background: #f7f9fc;
}

.service-live-work__content {
  display: grid;
  gap: 14px;
}

.service-live-work__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.service-live-work__checks span {
  padding: 9px 12px;
  border: 1px solid #dfe6f3;
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
}

.contact-live-photo {
  margin: 24px 0 24px;
}

.contact-live-photo img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) {
  .miram-live-proof figure,
  .miram-about-live__image,
  .miram-about-live__text,
  .service-live-work__media,
  .service-live-work__content,
  .downloads-support-note,
  .miram-article-author-card,
  .contact-live-photo {
    animation: miramSoftReveal 0.7s ease both;
  }

  .miram-live-proof figure:nth-child(2),
  .service-live-work__content {
    animation-delay: 0.08s;
  }

  .miram-live-proof figure:nth-child(3) {
    animation-delay: 0.14s;
  }
}

@keyframes miramSoftReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .miram-live-proof__grid {
    grid-template-columns: 1fr;
  }

  .miram-live-proof figure img {
    aspect-ratio: 16 / 8;
  }
}

@media (max-width: 900px) {
  .miram-about-live .container,
  .service-live-work .container,
  .downloads-support-note,
  .miram-article-author-card,
  .miram-articles-intro .container {
    grid-template-columns: 1fr;
  }

  .downloads-support-note img,
  .miram-article-author-card img {
    min-height: 0;
    aspect-ratio: 16 / 8;
  }
}

@media (max-width: 768px) {
  .miram-live-proof,
  .miram-about-live,
  .service-live-work {
    padding: 42px 0;
  }

  .miram-live-proof__head h2,
  .miram-about-live__text h2,
  .miram-articles-intro h2,
  .service-live-work__content h2,
  .downloads-support-note h2,
  .miram-article-author-card h2 {
    font-size: 24px !important;
  }

  .miram-live-proof__head p,
  .miram-about-live__text p,
  .miram-articles-intro p,
  .service-live-work__content p,
  .downloads-support-note p,
  .miram-article-author-card p {
    font-size: 15px;
  }

  section.process .stages-image,
  .miram-live-proof figure img,
  .downloads-support-note img,
  .miram-article-author-card img {
    aspect-ratio: 16 / 10;
  }

  .downloads-support-note > div,
  .miram-article-author-card > div {
    padding: 20px;
  }
}

/* Services live briefing */
.services-live-brief {
  padding: 54px 0 20px;
  background: linear-gradient(180deg, rgba(246, 249, 255, 0.92) 0%, #fff 100%);
}

.services-live-brief .container {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
}

.services-live-brief__media {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border-radius: 22px;
  box-shadow: 0 22px 48px rgba(38, 57, 96, 0.14);
}

.services-live-brief__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28, 63, 148, 0.08), rgba(242, 126, 37, 0.08));
  pointer-events: none;
}

.services-live-brief__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.services-live-brief__content {
  max-width: 620px;
}

.services-live-brief__content > span {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  color: #2f57b8;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.services-live-brief__content h2 {
  margin: 0 0 14px;
  color: #101828;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.services-live-brief__content p {
  margin: 0;
  color: #4b5565;
  font-size: 17px;
  line-height: 1.65;
}

.services-live-brief__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.services-live-brief__checks b {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(47, 87, 184, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #263857;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(38, 57, 96, 0.07);
}

.services-live-brief__checks b::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #f27e25;
}

@media (prefers-reduced-motion: no-preference) {
  .services-live-brief__media,
  .services-live-brief__content {
    animation: miramSoftReveal 0.7s ease both;
  }

  .services-live-brief__content {
    animation-delay: 0.08s;
  }
}

@media (max-width: 900px) {
  .services-live-brief {
    padding: 38px 0 10px;
  }

  .services-live-brief .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-live-brief__media,
  .services-live-brief__media img {
    min-height: 224px;
  }

  .services-live-brief__content h2 {
    font-size: 25px;
  }

  .services-live-brief__content p {
    font-size: 16px;
  }

  .services-live-brief__checks {
    display: grid;
    grid-template-columns: 1fr;
  }

  .services-live-brief__checks b {
    border-radius: 14px;
  }
}

/* Priority B2B accents */
.miram-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.home-banner .miram-hero-actions .callback {
  margin: 0;
}

.miram-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.miram-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.66);
  color: #fff;
  transform: translateY(-1px);
}

.miram-hero-priority-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 780px;
  margin-top: 22px;
}

.miram-hero-priority-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(13, 24, 47, 0.46);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.miram-hero-priority-links a:hover {
  background: rgba(47, 87, 184, 0.82);
  color: #fff;
}

@media (min-width: 769px) {
  .miram-priority-hero > .container {
    width: min(1110px, calc(100% - 30px));
    max-width: 1110px;
  }

  section.home-banner.miram-priority-hero h1,
  section.home-banner.miram-priority-hero p,
  section.home-banner.miram-priority-hero .miram-hero-actions,
  section.home-banner.miram-priority-hero .miram-hero-priority-links {
    width: 100%;
    max-width: 900px;
  }
}

/* 2026-07-03: stronger lead capture forms */
.miram-lead-points {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.miram-lead-points li {
  position: relative;
  padding-left: 24px;
  color: #344054;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

.miram-lead-points li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2e51cc;
  box-shadow: 0 0 0 5px rgba(46, 81, 204, 0.1);
}

section.miram-lead-cta.horizontal-callback-form {
  padding: 62px 0 !important;
  border-top: 1px solid #dfe6f3 !important;
  border-bottom: 1px solid #dfe6f3 !important;
  background: linear-gradient(135deg, #f3f7ff 0%, #ffffff 72%) !important;
}

section.miram-lead-cta .miram-lead-cta__panel {
  display: grid !important;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr) !important;
  gap: 34px !important;
  align-items: center !important;
}

section.miram-lead-cta .miram-lead-cta__content > span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #2e51cc;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

section.miram-lead-cta h2 {
  margin: 0 !important;
  padding: 0 !important;
  color: #111827 !important;
  font-size: 34px !important;
  line-height: 1.18 !important;
  font-weight: 900 !important;
}

section.miram-lead-cta p {
  max-width: 580px !important;
  margin: 16px 0 0 !important;
  color: #475467 !important;
  font-size: 16px !important;
  line-height: 1.62 !important;
}

section.miram-lead-cta .miram-lead-cta__form {
  min-width: 0;
  padding: 24px !important;
  border: 1px solid #d5def0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
}

section.miram-lead-cta .grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 !important;
}

section.miram-lead-cta .grid > div {
  min-width: 0;
}

section.miram-lead-cta .grid > div:nth-child(3),
section.miram-lead-cta .grid > div:nth-child(4) {
  grid-column: auto !important;
}

section.miram-lead-cta input,
section.miram-lead-cta button,
section.callback input,
section.callback button,
section.footer-callback input,
section.footer-callback button,
.callback-window input,
.callback-window button {
  width: 100% !important;
  min-width: 0 !important;
  height: 56px !important;
  margin: 0 !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
}

section.miram-lead-cta input,
section.callback input,
section.footer-callback input,
.callback-window input {
  padding: 0 16px !important;
  border: 1px solid #cfd8ea !important;
  background: #fff !important;
  color: #111827 !important;
  box-shadow: inset 0 1px 0 rgba(16, 24, 40, 0.03);
}

section.miram-lead-cta input:focus,
section.callback input:focus,
section.footer-callback input:focus,
.callback-window input:focus {
  outline: 0 !important;
  border-color: #2e51cc !important;
  box-shadow: 0 0 0 4px rgba(46, 81, 204, 0.12) !important;
}

section.miram-lead-cta input[disabled],
section.miram-lead-cta input[readonly] {
  overflow: hidden;
  background: #f8fbff !important;
  color: #344054 !important;
  text-overflow: ellipsis;
}

section.miram-lead-cta button,
section.callback button,
section.footer-callback button,
.callback-window button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #2e51cc !important;
  background: #2e51cc !important;
  color: #fff !important;
  font-weight: 800 !important;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease !important;
}

section.miram-lead-cta button:hover,
section.callback button:hover,
section.footer-callback button:hover,
.callback-window button[type="submit"]:hover {
  background: #2442aa !important;
  box-shadow: 0 12px 24px rgba(46, 81, 204, 0.2) !important;
  transform: translateY(-1px);
}

section.miram-lead-cta .form-note,
section.callback .form-note,
section.footer-callback .form-note {
  margin: 14px 0 0 !important;
  color: #667085 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

section.miram-lead-cta .form-note a,
section.callback .form-note a,
section.footer-callback .form-note a {
  color: #2e51cc !important;
}

section.callback {
  padding: 62px 0 !important;
  border-top: 1px solid #dfe6f3 !important;
  border-bottom: 1px solid #dfe6f3 !important;
  background: linear-gradient(135deg, #f7f9fc 0%, #ffffff 100%) !important;
}

section.callback > .grid {
  display: grid !important;
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 0 20px;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr) !important;
  gap: 30px !important;
  align-items: center !important;
}

section.callback .callback-box {
  max-width: none !important;
  margin: 0 !important;
  padding: 28px !important;
  border: 1px solid #d5def0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
}

section.callback h2 {
  margin: 0 !important;
  padding: 0 !important;
  color: #111827;
  font-size: 30px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

section.callback p {
  margin: 14px 0 0 !important;
  color: #475467 !important;
  font-size: 15px !important;
  line-height: 1.58 !important;
}

section.callback form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

section.callback .right-image {
  width: 100% !important;
  min-height: 430px !important;
  height: 430px !important;
  margin: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
}

section.footer-callback .grid {
  gap: 12px !important;
}

.callback-window {
  border-radius: 8px !important;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.22) !important;
}

.callback-window h2 {
  color: #111827;
  font-size: 24px !important;
  line-height: 1.28 !important;
  font-weight: 900 !important;
}

.callback-window form {
  display: grid;
  gap: 12px;
}

.callback-window .agreements {
  margin-top: 4px !important;
}

@media (max-width: 980px) {
  section.miram-lead-cta .miram-lead-cta__panel,
  section.callback > .grid {
    grid-template-columns: 1fr !important;
  }

  section.callback .right-image {
    min-height: 300px !important;
    height: 300px !important;
  }
}

@media (max-width: 768px) {
  section.miram-lead-cta.horizontal-callback-form,
  section.callback {
    padding: 42px 0 !important;
  }

  section.miram-lead-cta .miram-lead-cta__form,
  section.callback .callback-box,
  section.footer-callback .miram-footer-callback__layout,
  section.footer-callback .miram-footer-callback__contacts,
  section.footer-callback .miram-footer-callback__content {
    padding: 22px !important;
  }

  section.miram-lead-cta h2,
  section.callback h2 {
    font-size: 24px !important;
  }

  section.miram-lead-cta .grid,
  section.footer-callback .grid {
    grid-template-columns: 1fr !important;
  }
}

.miram-business-priority {
  padding: 64px 0;
  background: linear-gradient(135deg, #f6f9ff 0%, #ffffff 60%, #f7fbfb 100%);
}

.miram-business-priority .container {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
}

.miram-business-priority__content {
  max-width: 590px;
}

.miram-business-priority__content > span {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  color: #2f57b8;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.miram-business-priority__content h2 {
  margin: 0 0 16px;
  color: #101828;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
}

.miram-business-priority__content p {
  margin: 0;
  color: #4b5565;
  font-size: 17px;
  line-height: 1.68;
}

.miram-business-priority__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.miram-business-priority__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.miram-business-priority__grid a {
  display: grid;
  gap: 8px;
  min-height: 146px;
  padding: 22px;
  border: 1px solid rgba(47, 87, 184, 0.12);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(38, 57, 96, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.miram-business-priority__grid a:hover {
  border-color: rgba(47, 87, 184, 0.28);
  box-shadow: 0 22px 44px rgba(38, 57, 96, 0.13);
  transform: translateY(-3px);
}

.miram-business-priority__grid strong {
  color: #101828;
  font-size: 18px;
  line-height: 1.25;
}

.miram-business-priority__grid span {
  color: #5d6678;
  font-size: 14px;
  line-height: 1.55;
}

@media (prefers-reduced-motion: no-preference) {
  .miram-business-priority__content,
  .miram-business-priority__grid a,
  .miram-hero-priority-links a {
    animation: miramSoftReveal 0.65s ease both;
  }

  .miram-business-priority__grid a:nth-child(2) {
    animation-delay: 0.06s;
  }

  .miram-business-priority__grid a:nth-child(3) {
    animation-delay: 0.12s;
  }

  .miram-business-priority__grid a:nth-child(4) {
    animation-delay: 0.18s;
  }
}

@media (max-width: 980px) {
  .miram-business-priority .container {
    grid-template-columns: 1fr;
  }

  .miram-business-priority__content {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .miram-hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .miram-hero-secondary {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .miram-hero-priority-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .miram-hero-priority-links a {
    justify-content: center;
    border-radius: 8px;
    text-align: center;
  }

  .miram-business-priority {
    padding: 44px 0;
  }

  .miram-business-priority__content h2 {
    font-size: 25px;
  }

  .miram-business-priority__content p {
    font-size: 15px;
  }

  .miram-business-priority__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .miram-business-priority__grid {
    grid-template-columns: 1fr;
  }

  .miram-business-priority__grid a {
    min-height: 0;
    padding: 18px;
  }
}

/* 2026-07-08: final mobile overflow audit fixes */
@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container,
  section.home-banner .container,
  section.home-banner.small-height .container,
  section.content .container,
  section.posts .container,
  .services-live-brief .container,
  .miram-business-priority .container,
  .miram-lead-cta .container,
  .downloads-support-note,
  .service-expert-summary .container,
  .service-live-work .container,
  .miram-about-live .container,
  .miram-articles-intro .container {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  section.home-banner,
  section.home-banner.small-height,
  section.content,
  section.posts,
  .services-live-brief,
  .miram-business-priority,
  .miram-lead-cta,
  .downloads-page,
  .service-category-section,
  .service-list-card,
  .download-card,
  .miram-service-card {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    overflow-x: hidden;
  }

  section.home-banner h1,
  section.home-banner p,
  section.home-banner.small-height h1,
  section.home-banner.small-height p,
  section.content .text,
  section.content .text p,
  section.content .text li,
  section.content .text h1,
  section.content .text h2,
  section.content .text h3,
  .downloads-intro,
  .downloads-intro p,
  .downloads-intro li,
  .downloads-support-note h2,
  .downloads-support-note p,
  .service-category-section__head h2,
  .service-category-section__head p,
  .service-list-card h3,
  .service-list-card p,
  .service-list-card__body,
  .miram-service-card h3,
  .miram-service-card p,
  .service-facts div,
  .service-facts strong,
  .service-facts span {
    width: calc(100vw - 30px) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  section.home-banner h1,
  section.home-banner p,
  section.home-banner.small-height h1,
  section.home-banner.small-height p,
  section.content .text,
  section.content .text p,
  section.content .text li,
  section.content .text h1,
  section.content .text h2,
  section.content .text h3,
  .downloads-intro,
  .downloads-intro p,
  .downloads-intro li,
  .downloads-support-note h2,
  .downloads-support-note p,
  .service-category-section__head h2,
  .service-category-section__head p,
  .service-list-card h3,
  .service-list-card p,
  .miram-service-card h3,
  .miram-service-card p {
    max-width: calc(100vw - 30px) !important;
  }

  .service-facts {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .service-facts div {
    padding: 18px 20px !important;
  }

  .service-facts strong {
    font-size: 18px !important;
    line-height: 1.32 !important;
  }

  .service-card-tags,
  .service-card-proof,
  .miram-hero-priority-links {
    max-width: 100%;
    overflow-x: hidden;
  }

.service-card-tags span,
.service-card-proof span,
.miram-hero-priority-links a {
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
}

/* 2026-07-08: keep the brand mark on one line in editable WP menus. */
header.header .bottom-header .miram-logo.logotype,
footer.footer .miram-logo.footer-logo {
  min-width: 156px;
  flex-shrink: 0;
}

header.header .bottom-header .miram-logo.logotype span,
footer.footer .miram-logo.footer-logo span {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  hyphens: none !important;
}

@media (max-width: 768px) {
  header.header .bottom-header .miram-logo.logotype {
    min-width: 120px;
  }
}

/* 2026-07-09: center the mobile header brand between menu and phone. */
@media (max-width: 768px) {
  header.header {
    height: 70px !important;
  }

  header.header .bottom-header .container {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    align-items: center !important;
    min-height: 70px !important;
  }

  header.header .bottom-header .container > div {
    min-width: 0;
  }

  header.header .bottom-header .miram-logo.logotype {
    display: inline-flex !important;
    justify-self: center !important;
    align-self: center !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    height: 70px !important;
    margin: 0 auto !important;
  }

  header.header .bottom-header .miram-logo.logotype span {
    line-height: 1 !important;
  }

  header.header .bottom-header .menu,
  header.header .bottom-header .phone {
    align-self: center !important;
    margin-top: 0 !important;
  }
}

/* 2026-07-08: readable content lists on mobile and text-heavy pages. */
section.content .text ul,
.downloads-intro ul,
section.reviews ul {
  margin: 14px 0 24px;
  padding-left: 24px;
}

section.content .text li,
.downloads-intro li,
section.reviews li {
  margin: 6px 0;
  line-height: 1.55;
}

@media (max-width: 768px) {
  section.content .text ul,
  .downloads-intro ul,
  section.reviews ul {
    padding-left: 22px;
  }
}

/* 2026-07-09: compact mobile priority hero. */
@media (max-width: 768px) {
  section.home-banner.miram-priority-hero {
    min-height: auto !important;
    height: auto !important;
    padding: 34px 0 24px !important;
    background-position: 58% center !important;
  }

  section.home-banner.miram-priority-hero .container {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    padding: 0 20px !important;
  }

  section.home-banner.miram-priority-hero h1 {
    width: auto !important;
    max-width: 100% !important;
    margin: 0 0 12px !important;
    font-size: clamp(25px, 6.6vw, 30px) !important;
    line-height: 1.08 !important;
  }

  section.home-banner.miram-priority-hero p {
    width: auto !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
    font-size: 14px !important;
    line-height: 1.38 !important;
  }

  section.home-banner.miram-priority-hero .miram-hero-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 18px !important;
  }

  section.home-banner.miram-priority-hero .miram-hero-actions .callback,
  section.home-banner.miram-priority-hero .miram-hero-secondary {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 9px 10px !important;
    border-radius: 8px !important;
    font-size: 12.5px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  section.home-banner.miram-priority-hero .miram-hero-priority-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 10px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  section.home-banner.miram-priority-hero .miram-hero-priority-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 34px !important;
    padding: 6px 7px !important;
    border-radius: 8px !important;
    font-size: 10.8px !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 374px) {
  section.home-banner.miram-priority-hero .container {
    padding: 0 18px !important;
  }

  section.home-banner.miram-priority-hero .miram-hero-actions {
    gap: 8px !important;
  }

  section.home-banner.miram-priority-hero .miram-hero-actions .callback,
  section.home-banner.miram-priority-hero .miram-hero-secondary {
    font-size: 12px !important;
    padding: 9px 8px !important;
  }

  section.home-banner.miram-priority-hero .miram-hero-priority-links a {
    min-height: 36px !important;
    padding: 7px 7px !important;
    font-size: 11px !important;
  }
}
