/* CONFUT contact route only: contact.php */
body.confut-macro-site.macro-contact-page #content {
  background: #eef5f4 !important;
}

body.dark-scheme.confut-macro-site.macro-contact-page #section-content.macro-contact-section {
  position: relative;
  overflow: hidden;
  padding-top: 90px !important;
  padding-bottom: 100px !important;
  color: #083d67 !important;
  background:
    radial-gradient(ellipse 46% 42% at 50% 44%, rgba(255, 255, 255, 0.54) 0%, rgba(255, 255, 255, 0) 68%),
    linear-gradient(180deg, #f6fbfa 0%, #edf5f4 100%) !important;
}

body.dark-scheme.confut-macro-site.macro-contact-page #section-content.macro-contact-section::before,
body.dark-scheme.confut-macro-site.macro-contact-page #section-content.macro-contact-section::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  z-index: 1;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(19, 184, 166, 0.28) 22%, rgba(8, 61, 103, 0.16) 50%, rgba(19, 184, 166, 0.24) 78%, transparent 100%);
}

body.dark-scheme.confut-macro-site.macro-contact-page #section-content.macro-contact-section::before {
  top: 0;
}

body.dark-scheme.confut-macro-site.macro-contact-page #section-content.macro-contact-section::after {
  bottom: 0;
  opacity: 0.45;
}

.macro-contact-section__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.macro-contact-section__dots {
  position: absolute;
  display: block;
  background-image: radial-gradient(circle, #13b8a6 1px, transparent 1.1px);
  background-size: 12px 12px;
  background-position: 0 0;
}

.macro-contact-section__dots--tl {
  top: 0;
  left: -10px;
  width: 330px;
  height: 330px;
  opacity: 0.12;
}

.macro-contact-section__dots--tr {
  top: 150px;
  right: -14px;
  width: 310px;
  height: 360px;
  opacity: 0.10;
}

.macro-contact-section__dots--br {
  right: 24px;
  bottom: -18px;
  width: 360px;
  height: 286px;
  opacity: 0.10;
}

.macro-contact-section__tech {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.macro-contact-section__diagonal {
  fill: none;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: 0.06;
}

.macro-contact-section__diagonal--green {
  stroke: #13b8a6;
}

.macro-contact-section__diagonal--blue {
  stroke: #0c2f67;
}

.macro-contact-section__connection-line {
  fill: none;
  stroke: #13b8a6;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: 0.18;
}

.macro-contact-section__node {
  fill: #13b8a6;
  opacity: 0.58;
  filter: drop-shadow(0 0 8px rgba(19, 184, 166, 0.25));
}

.macro-contact-section__container {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 1440px);
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
}

body.dark-scheme.confut-macro-site.macro-contact-page .macro-contact-section__title {
  margin: 0;
  color: #083d67 !important;
  font-family: var(--title-font, "Alibaba Sans", system-ui, sans-serif);
  font-size: 76px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 12px 28px rgba(8, 61, 103, 0.13);
}

.macro-contact-section__rule {
  position: relative;
  display: block;
  width: 110px;
  height: 4px;
  margin: 24px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #13b8a6 0%, #0c2f67 100%);
}

.macro-contact-section__rule::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #13b8a6;
  box-shadow: 0 0 0 4px rgba(19, 184, 166, 0.16), 0 0 16px rgba(19, 184, 166, 0.45);
  transform: translate(-50%, -50%);
}

.macro-contact-section__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 70px;
}

.macro-contact-section__card {
  width: 500px;
  height: 250px;
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(8, 61, 103, 0.08);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(8, 61, 103, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
}

.macro-contact-section__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 78px rgba(8, 61, 103, 0.14);
}

.macro-contact-section__icon {
  width: 70px;
  height: 70px;
  margin-bottom: 32px;
  border: 1px solid rgba(19, 184, 166, 0.18);
  border-radius: 24px;
  background: #f3faf9;
  color: #0f7d73;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.macro-contact-section__icon i {
  display: block;
  font-size: 36px;
  line-height: 1;
  color: #0f7d73;
}

.macro-contact-section__label {
  margin: 0 0 24px;
  color: #445c63 !important;
  font-family: var(--title-font, "Alibaba Sans", system-ui, sans-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.dark-scheme.confut-macro-site.macro-contact-page .macro-contact-section__value {
  display: block;
  max-width: 100%;
  color: #0f7d73 !important;
  font-family: var(--title-font, "Alibaba Sans", system-ui, sans-serif);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-decoration: none !important;
}

body.dark-scheme.confut-macro-site.macro-contact-page .macro-contact-section__value:hover,
body.dark-scheme.confut-macro-site.macro-contact-page .macro-contact-section__value:focus-visible {
  color: #0f7d73 !important;
}

body.dark-scheme.confut-macro-site.macro-contact-page .macro-contact-section__value:focus-visible {
  outline: 2px solid rgba(19, 184, 166, 0.62);
  outline-offset: 6px;
  border-radius: 6px;
}

@media (max-width: 1199px) {
  .macro-contact-section__card {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 767px) {
  body.dark-scheme.confut-macro-site.macro-contact-page #section-content.macro-contact-section {
    padding-top: 130px !important;
    padding-bottom: 80px !important;
  }

  .macro-contact-section__container {
    width: min(calc(100% - 32px), 1440px);
  }

  body.dark-scheme.confut-macro-site.macro-contact-page .macro-contact-section__title {
    font-size: 42px;
    line-height: 1.08;
  }

  .macro-contact-section__rule {
    margin-top: 18px;
  }

  .macro-contact-section__cards {
    gap: 24px;
    margin-top: 46px;
  }

  .macro-contact-section__card {
    height: 250px;
    padding: 24px 20px;
    border-radius: 24px;
  }

  .macro-contact-section__icon {
    width: 78px;
    height: 78px;
    margin-bottom: 22px;
    border-radius: 22px;
  }

  .macro-contact-section__icon i {
    font-size: 32px;
  }

  .macro-contact-section__label {
    margin-bottom: 20px;
    font-size: 14px;
  }

  body.dark-scheme.confut-macro-site.macro-contact-page .macro-contact-section__value {
    font-size: clamp(23px, 6.2vw, 28px);
  }

  .macro-contact-section__dots--tl {
    width: 230px;
    height: 250px;
  }

  .macro-contact-section__dots--tr {
    top: 210px;
    width: 210px;
    height: 280px;
  }

  .macro-contact-section__dots--br {
    right: -18px;
    width: 260px;
    height: 220px;
  }
}
