/* Сквозной фоновый декор — все секции лендинга */
:root {
  --ambient-accent: #1D9E75;
  --ambient-accent-soft: rgba(29, 158, 117, 0.22);
  --ambient-accent-light: rgba(140, 240, 212, 0.18);
}

.page-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at var(--ambient-x, 78%) var(--ambient-y, 18%), rgba(29, 158, 117, 0.11), transparent 58%),
    radial-gradient(ellipse 48% 42% at 12% 74%, rgba(29, 158, 117, 0.07), transparent 62%),
    linear-gradient(165deg, rgba(12, 45, 82, 0.52), rgba(6, 15, 28, 0.92) 48%, rgba(8, 20, 40, 0.96));
}

.page-ambient::before,
.page-ambient::after {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
}

.page-ambient::before {
  background:
    radial-gradient(circle at 22% 18%, rgba(140, 240, 212, 0.08), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(29, 158, 117, 0.11), transparent 28%),
    radial-gradient(circle at 68% 86%, rgba(29, 158, 117, 0.07), transparent 28%);
  opacity: 0.72;
  animation: ambientMesh 34s ease-in-out infinite alternate;
  will-change: transform;
}

.page-ambient::after {
  background: linear-gradient(180deg, rgba(6,15,28,0.14), rgba(6,15,28,0.42) 48%, rgba(6,15,28,0.54));
  opacity: 0.62;
}

@keyframes ambientMesh {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 1%, 0) scale(1.04); }
}

.page-ambient__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.88;
  transition: opacity 0.4s ease;
}

.page-ambient__canvas.is-hidden { display: none; }

.page-ambient__fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(29, 158, 117, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 45% at 15% 75%, rgba(29, 158, 117, 0.08), transparent 60%);
  opacity: 0.9;
}

.page-ambient__fallback.is-hidden { display: none; }

main { position: relative; z-index: 1; }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: calc(var(--z-header) + 2);
  pointer-events: none;
  background: rgba(255,255,255,0.035);
}

.scroll-progress span {
  display: block;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 100%;
  background: linear-gradient(90deg, rgba(29,158,117,0), rgba(140,240,212,0.95), rgba(29,158,117,0.35));
  box-shadow: 0 0 14px rgba(29,158,117,0.45);
  transform-origin: 0 50%;
}

.magnetic-ready {
  transform: translate3d(var(--magnet-x, 0), var(--magnet-y, 0), 0);
  transition: transform 0.2s ease, box-shadow var(--transition), border-color var(--transition), background var(--transition);
  will-change: transform;
}

.spotlight-ready {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.spotlight-ready::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(140,240,212,0.115), transparent 34%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.spotlight-ready:hover::after {
  opacity: 1;
}

.section,
.trust-bar,
.advantages,
.site-footer {
  position: relative;
  overflow: hidden;
}

.section-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.section-ambient::before,
.section-ambient::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.85;
  will-change: transform;
  animation: ambientDrift 22s ease-in-out infinite alternate;
}

.section-ambient::after {
  animation-duration: 28s;
  animation-direction: alternate-reverse;
}

@keyframes ambientDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(24px, -18px) scale(1.06); }
}

.section > .container,
.trust-bar > .container,
.advantages > .container,
.site-footer > .container {
  position: relative;
  z-index: 1;
}

#tenders .doc-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
}

#tenders .doc-table th,
#tenders .doc-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

#tenders .doc-table tr:last-child td { border-bottom: none; }
#tenders .doc-table tr:hover td { background: rgba(255, 255, 255, 0.04); }

#tenders .status-badge--done {
  background: rgba(29, 158, 117, 0.2);
  color: #3ec99a;
}

#tenders .status-badge--active {
  background: rgba(216, 90, 48, 0.18);
  color: var(--coral);
}

#tenders .tenders-cta {
  margin-top: 32px;
}

/* Варианты расположения свечений по секциям */
.section-ambient--hero::before {
  width: 520px; height: 520px;
  top: -8%; right: -12%;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.22), transparent 68%);
}
.section-ambient--hero::after {
  width: 400px; height: 400px;
  bottom: 5%; left: -10%;
  background: radial-gradient(circle, rgba(140, 240, 212, 0.08), transparent 70%);
}

.section-ambient--trust::before {
  width: 320px; height: 320px;
  top: 20%; left: 8%;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.16), transparent 70%);
}
.section-ambient--trust::after {
  width: 260px; height: 260px;
  bottom: 10%; right: 12%;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.09), transparent 70%);
}

.section-ambient--about::before {
  width: 360px; height: 360px;
  top: 5%; right: 5%;
  background: radial-gradient(circle, rgba(140, 240, 212, 0.08), transparent 72%);
}
.section-ambient--about::after {
  width: 300px; height: 300px;
  bottom: 0; left: -6%;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.14), transparent 70%);
}

.section-ambient--services::before {
  width: 340px; height: 340px;
  top: 12%; left: 15%;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.18), transparent 70%);
}
.section-ambient--services::after {
  width: 280px; height: 280px;
  bottom: 8%; right: 8%;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.1), transparent 70%);
}

.section-ambient--process::before {
  width: 300px; height: 300px;
  top: 30%; right: 20%;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.12), transparent 70%);
}
.section-ambient--process::after {
  width: 240px; height: 240px;
  bottom: 15%; left: 10%;
  background: radial-gradient(circle, rgba(140, 240, 212, 0.075), transparent 72%);
}

.section-ambient--portfolio::before {
  width: 380px; height: 380px;
  top: 8%; right: -5%;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.09), transparent 70%);
}
.section-ambient--portfolio::after {
  width: 260px; height: 260px;
  bottom: 5%; left: 20%;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.13), transparent 70%);
}

.section-ambient--advantages::before {
  width: 420px; height: 420px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(29, 158, 117, 0.1), transparent 65%);
  animation: none;
}
.section-ambient--advantages::after {
  width: 320px; height: 320px;
  top: 20%; right: 10%;
  background: radial-gradient(circle, rgba(140, 240, 212, 0.075), transparent 70%);
}

.section-ambient--testimonials::before {
  width: 300px; height: 300px;
  top: 10%; left: 5%;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.085), transparent 70%);
}
.section-ambient--testimonials::after {
  width: 280px; height: 280px;
  bottom: 12%; right: 6%;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.12), transparent 70%);
}

.section-ambient--tenders::before {
  width: 340px; height: 340px;
  top: 15%; right: 12%;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.11), transparent 70%);
}
.section-ambient--tenders::after {
  width: 300px; height: 300px;
  bottom: 10%; left: 8%;
  background: radial-gradient(circle, rgba(140, 240, 212, 0.075), transparent 72%);
}

.section-ambient--contacts::before {
  width: 360px; height: 360px;
  top: 5%; left: 50%;
  margin-left: -180px;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.15), transparent 70%);
}
.section-ambient--contacts::after {
  width: 280px; height: 280px;
  bottom: 0; right: 15%;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.08), transparent 70%);
}

/* О компании — новая вёрстка */
.about-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 8px;
}

.about-lead {
  padding: 28px 36px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.about-lead__text {
  margin: 0;
  max-width: 720px;
  margin-inline: auto;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.65;
  color: var(--text);
  font-weight: 500;
}

.about-focus__heading {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  text-align: center;
}

.about-focus__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-focus__card {
  padding: 28px 26px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.about-focus__card:hover {
  border-color: rgba(29, 158, 117, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.about-focus__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 18px;
}

.about-focus__icon svg {
  width: 24px;
  height: 24px;
}

.about-focus__icon--dev {
  color: #5eead4;
  background: rgba(29, 158, 117, 0.14);
  border: 1px solid rgba(29, 158, 117, 0.28);
}

.about-focus__icon--biz {
  color: #8cf0d4;
  background: rgba(29, 158, 117, 0.12);
  border: 1px solid rgba(29, 158, 117, 0.26);
}

.about-focus__icon--gov {
  color: #8cf0d4;
  background: rgba(29, 158, 117, 0.1);
  border: 1px solid rgba(29, 158, 117, 0.22);
}

.about-focus__card h4 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.about-focus__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.about-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: stretch;
}

.about-panel__company,
.about-panel__reach {
  padding: 28px 30px;
  border-radius: var(--radius-lg);
}

.about-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.about-panel__head strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.about-panel__link {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  white-space: nowrap;
}

.about-panel__link:hover { color: #3ec99a; }

.about-panel__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin: 0 0 20px;
}

.about-panel__meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-panel__meta dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.about-panel__meta dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.about-panel__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.about-panel__phone {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.about-panel__phone:hover { color: var(--teal); }

.about-panel__email {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}

.about-panel__email:hover { color: #3ec99a; }

.about-panel__reach {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
}

.about-panel__reach-label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.about-panel__reach .contact-channels {
  gap: 10px;
}

@media (max-width: 1024px) {
  .about-focus__grid {
    grid-template-columns: 1fr;
  }

  .about-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-lead {
    padding: 22px 20px;
  }

  .about-focus__card {
    padding: 22px 20px 24px;
  }

  .about-panel__company,
  .about-panel__reach {
    padding: 22px 20px;
  }

  .about-panel__head {
    flex-direction: column;
    gap: 8px;
  }

  .about-panel__meta {
    grid-template-columns: 1fr;
  }
}

/* Реквизиты — glass на тёмном фоне */
.requisites.glass,
.requisites-panel {
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
}

.requisites.glass strong,
.requisites-panel strong,
.requisites__title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  display: block;
  margin-bottom: 16px;
}

.requisites__org {
  margin: 0 0 16px;
  color: var(--text);
}

.requisites__phone {
  margin: 0 0 20px;
  font-size: 17px;
  font-weight: 600;
}

.requisites__phone a {
  color: var(--text);
  text-decoration: none;
}

.requisites__phone a:hover { color: var(--teal); }

.requisites__email {
  margin: 0;
  font-size: 14px;
}

.requisites__email a {
  color: var(--teal);
  text-decoration: none;
}

.requisites__email a:hover { color: #3ec99a; }

.about-channels {
  margin-top: 40px;
  text-align: center;
}

.about-channels__label {
  margin: 0 0 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.contact-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-channels--center {
  justify-content: center;
}

.requisites .contact-channels {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.contact-channel {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: none;
  background: transparent;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.contact-channel__logo {
  width: 44px;
  height: 44px;
  display: block;
  flex-shrink: 0;
  border-radius: 12px;
  object-fit: contain;
}

.contact-channel__icon {
  width: 22px;
  height: 22px;
}

.contact-channel:hover {
  transform: translateY(-3px) scale(1.06);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

.contact-channel--email:hover {
  border-color: rgba(216, 90, 48, 0.55);
  background: rgba(216, 90, 48, 0.16);
  box-shadow: 0 0 20px rgba(216, 90, 48, 0.2);
}

.contact-channel--telegram:hover {
  border-color: rgba(42, 171, 238, 0.55);
  background: rgba(42, 171, 238, 0.16);
  box-shadow: 0 0 20px rgba(42, 171, 238, 0.22);
}

.contact-channel--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.55);
  background: rgba(37, 211, 102, 0.16);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.22);
}

.contact-channel--max:hover {
  border-color: rgba(108, 92, 231, 0.55);
  background: rgba(108, 92, 231, 0.16);
  box-shadow: 0 0 20px rgba(108, 92, 231, 0.22);
}

.contact-block {
  padding: 28px 32px;
  border-radius: var(--radius-lg);
}

.contact-block__title {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 700;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-list__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

a.contact-list__item:hover {
  border-color: rgba(29, 158, 117, 0.35);
  background: rgba(29, 158, 117, 0.08);
  transform: translateX(2px);
}

.contact-list__item--static {
  cursor: default;
}

.contact-list__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--teal);
}

.contact-list__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.contact-list__icon--phone svg {
  width: 22px;
  height: 22px;
}

.contact-list__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contact-list__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.contact-list__value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

.contact-list__messengers {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.contact-list__messengers > .contact-list__label {
  display: block;
  margin-bottom: 14px;
}

.contact-list__messengers .contact-channels {
  gap: 10px;
}

.contacts-aside {
  display: flex;
  flex-direction: column;
}

#contacts .contact-channel {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

#contacts .contact-channel__logo {
  width: 48px;
  height: 48px;
}

#form.contact-form-wrap {
  scroll-margin-top: calc(var(--header-h, 76px) + 20px);
}

.contact-form-wrap__title {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .contact-list__value { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-ambient::before,
  .section-ambient::before,
  .section-ambient::after {
    animation: none;
  }

  .scroll-progress {
    display: none;
  }

  .magnetic-ready {
    transform: none !important;
    transition: none;
  }
}

@media (max-width: 768px) {
  .section-ambient::before,
  .section-ambient::after {
    filter: blur(48px);
    opacity: 0.65;
  }
  .page-ambient::before {
    animation: none;
    opacity: 0.68;
  }
}
