/*
 * MARI refinement v9.
 * Final navigation, supplied stat icons, dot map and inner-page polish.
 */

/* Tools: keep the real application artwork untouched and equal in scale. */

.about-tools .tool-app:not(.tool-app--ai),
.about-tools .tool-app:not(.tool-app--ai):last-child {
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.about-tools .tool-app:not(.tool-app--ai)::after {
  content: none;
  display: none;
}

.about-tools .tool-app:not(.tool-app--ai) img {
  width: 100%;
  height: 100%;
  border-radius: 13px;
  object-fit: contain;
  filter: none;
  transform: scale(1.22);
  transform-origin: center;
}

/* Supplied experience and education icons in the same quiet monochrome system. */

.stat-icon--experience,
.stat-icon--education {
  position: relative;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  margin-left: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
}

.stat-icon--experience::before,
.stat-icon--experience::after,
.stat-icon--education::before,
.stat-icon--education::after {
  content: none;
  display: none;
}

.stat-icon--experience img,
.stat-icon--education img {
  width: 23px;
  height: 23px;
  display: block;
  object-fit: contain;
  opacity: 0.92;
  filter: invert(93%) sepia(11%) saturate(333%) hue-rotate(177deg) brightness(103%);
}

.stat-icon--education img {
  width: 25px;
  height: 25px;
}

.about-stats .stat-card:first-child .stat-icon img {
  filter: invert(73%) sepia(49%) saturate(587%) hue-rotate(174deg) brightness(108%);
}

/* Europe and western Russia rendered as clean, complete dots only. */

.russia-map .map-marker {
  left: 42.6%;
  top: 25%;
}

/* Inner-page typography: editorial, but never colliding. */

.inner-kicker {
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.095em;
}

.inner-hero h1 {
  line-height: 0.82;
  letter-spacing: -0.055em;
}

.services-hero h1 {
  line-height: 0.88;
  letter-spacing: -0.046em;
}

.portfolio-hero h1 span {
  color: #75dcff;
}

.inner-hero-bottom > p {
  max-width: 540px;
  font-size: clamp(17px, 1.32vw, 20px);
  line-height: 1.52;
}

.section-kicker {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.075em;
}

.catalog-heading h2,
.price-heading h2 {
  line-height: 0.94;
  letter-spacing: -0.038em;
}

.catalog-heading > p,
.price-heading > p {
  font-size: clamp(16px, 1.22vw, 19px);
  line-height: 1.56;
}

/* Strong brand coral in the two inner heroes. */

.hero-coral-steps {
  background: linear-gradient(145deg, #ff9aab, #ff6686 54%, #f04470);
  opacity: 0.94;
  filter: drop-shadow(0 0 46px rgba(255, 82, 123, 0.46));
}

.price-coral-plane {
  background:
    radial-gradient(circle at 28% 20%, #ffd0d7, transparent 25%),
    linear-gradient(145deg, #ff8da3, #ff5278 62%, #e93d6c);
  opacity: 0.92;
  filter: drop-shadow(0 -14px 46px rgba(255, 70, 116, 0.44));
}

/* Price cards and clear, recognizable service glyphs. */

.price-card--preview {
  border-color: rgba(255, 140, 158, 0.54);
  background:
    radial-gradient(circle at 88% 4%, rgba(255, 211, 218, 0.28), transparent 40%),
    linear-gradient(145deg, rgba(205, 35, 75, 0.88), rgba(90, 24, 66, 0.82) 62%, rgba(18, 31, 66, 0.94));
}

.price-card--preview .price-card-top small,
.price-card--preview > p,
.price-card--preview .price-card-bottom span {
  color: rgba(255, 231, 236, 0.78);
}

.price-icon {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.price-icon--logo img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
}

.price-icon--vk {
  border: 0;
  border-radius: 11px;
  background: #087cff;
  color: #fff;
}

.price-icon--vk span {
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.09em;
  transform: translateX(-0.5px);
}

.price-icon--stream {
  border: 0;
  border-radius: 11px;
  background: #9146ff;
}

.price-icon--stream::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  width: 21px;
  height: 22px;
  border-radius: 3px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 73%, 68% 73%, 49% 94%, 49% 73%, 0 73%);
}

.price-icon--stream::after {
  content: "Ⅱ";
  position: absolute;
  left: 12px;
  top: 9px;
  color: #9146ff;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
}

.price-icon--youtube {
  border: 0;
  border-radius: 11px;
  background: #ff0033;
}

.price-icon--youtube::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 11px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid #fff;
}

.price-icon--preview {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
}

.price-icon--preview::before {
  content: "";
  position: absolute;
  inset: 8px 5px;
  border: 1.6px solid #fff;
  border-radius: 3px;
}

.price-icon--preview::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 13px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #fff;
}

.price-icon--banner::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 25px;
  height: 13px;
  border: 1.5px solid #dceeff;
  border-radius: 3px;
  background:
    linear-gradient(90deg, #6bcaff 0 27%, transparent 27%),
    linear-gradient(#dceeff 0 0) 12px 4px / 9px 1.5px no-repeat,
    linear-gradient(#8fbfe9 0 0) 12px 8px / 6px 1.5px no-repeat;
}

.price-icon--print::before,
.price-icon--print::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 22px;
  border: 1.5px solid #dceeff;
  border-radius: 3px;
}

.price-icon--print::before {
  left: 11px;
  top: 6px;
  opacity: 0.5;
  transform: rotate(8deg);
}

.price-icon--print::after {
  left: 7px;
  top: 6px;
  background:
    linear-gradient(#79caff 0 0) 4px 5px / 8px 2px no-repeat,
    linear-gradient(#dceeff 0 0) 4px 10px / 9px 1.5px no-repeat,
    linear-gradient(#91aecd 0 0) 4px 14px / 6px 1.5px no-repeat,
    rgba(12, 41, 82, 0.92);
}

.price-icon--avatar {
  overflow: visible;
  border: 0;
  background: transparent;
}

.price-icon--avatar::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #89d6ff;
  box-shadow: 0 0 0 5px rgba(8, 24, 50, 0.95);
  transform: translate(-50%, -50%);
}

.price-icon--avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 26px;
  border: 1.5px solid rgba(220, 239, 255, 0.76);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.price-card-bottom strong {
  white-space: nowrap;
  letter-spacing: -0.02em;
}

/* Inner-page contact: remove the accidental red cut in the upper-left. */

.inner-contact-section {
  background:
    radial-gradient(circle at 82% 26%, rgba(10, 192, 255, 0.42), transparent 30%),
    linear-gradient(145deg, #052d99, #075ff0 55%, #078cf6);
}

.inner-contact-section .contact-orb--coral {
  display: none;
}

@media (max-width: 700px) {
  .about-tools .tool-app:not(.tool-app--ai) img {
    border-radius: 12px;
  }

  .russia-map .map-marker {
    left: 42.6%;
    top: 22.5%;
  }

  .inner-kicker {
    max-width: 88%;
    font-size: 10.5px;
    line-height: 1.5;
  }

  .inner-hero h1 {
    line-height: 0.86;
    letter-spacing: -0.046em;
  }

  .services-hero h1 {
    line-height: 0.91;
    letter-spacing: -0.038em;
  }

  .inner-hero-bottom > p {
    font-size: 15px;
    line-height: 1.52;
  }

  .section-kicker {
    font-size: 10px;
  }

  .catalog-heading h2,
  .price-heading h2 {
    line-height: 0.98;
    letter-spacing: -0.03em;
  }

  .catalog-heading > p,
  .price-heading > p {
    font-size: 15px;
  }

  .hero-coral-steps {
    opacity: 0.78;
  }

  .price-coral-plane {
    opacity: 0.86;
  }
}
