/* ============ OVERFLOW FIX ============ */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* ============ HEADER FIX ============ */
/* Уменьшаем гэпы и паддинги в навигации чтобы влезало */
header { padding: 14px 0; }
header.scr { padding: 9px 0; }

.nav { gap: 12px; }

.brand .mk { width: 36px; height: 36px; font-size: 17px; }
.brand .bt b { font-size: 17px; }
.brand .bt span { font-size: 9px; }

.menu { gap: 2px; margin-left: 4px; }
.menu a { padding: 8px 10px; font-size: 13px; }
.menu a::after { left: 10px; right: 10px; }

.nav-phone { font-size: 14px; }
.nav-right { gap: 12px; }

/* кнопка "Рассчитать" в хедере — компактнее */
.nav-right .btn { padding: 11px 18px; font-size: 13px; }

/* скрываем меню чуть раньше — до 1080px */
@media (max-width: 1100px) {
  .menu { display: none; }
  .burger { display: flex; }
}

/* ============ HERO PROMO CHIPS — мобилка ============ */
@media (max-width: 760px) {
  .hero-promo {
    gap: 7px;
  }
  .promo-chip {
    font-size: 11.5px;
    padding: 6px 11px;
  }

  /* hero panel скрываем на мобиле чтобы не давил */
  .hero-panel { display: none; }

  .hero h1 { font-size: clamp(28px, 8vw, 42px); margin: 14px 0 16px; }
  .hero-sub { font-size: 15px; }
  .hero-bul li { font-size: 14px; }
  .hero { padding: 100px 0 48px; }
}

/* ============ ПЛАНШЕТ (760–1100) ============ */
@media (max-width: 1100px) and (min-width: 761px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-panel { max-width: 480px; }

  .hp-stats { grid-template-columns: repeat(4, 1fr); }

  .section { padding: 80px 0; }

  .adv-grid { grid-template-columns: repeat(3, 1fr); }

  .types-grid,
  .proj-grid,
  .fin-grid,
  .rev-grid,
  .blog-grid,
  .docs-grid { grid-template-columns: repeat(2, 1fr); }

  .mat-grid,
  .tech-grid { grid-template-columns: repeat(2, 1fr); }

  .route-grid { grid-template-columns: repeat(4, 1fr); }

  .pick-grid,
  .path-grid,
  .ctaf-grid,
  .cont-grid,
  .case-grid,
  .sz-wrap { grid-template-columns: 1fr; gap: 32px; }

  .foot-cols { grid-template-columns: repeat(2, 1fr); }
}



/* ── Новый логотип в хедере ── */
.brand--new {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

/* Кольцо */
.ringwrap {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #F5A623 0%,
    #7DBB6A 30%,
    #23624A 60%,
    #F5A623 100%
  );
  animation: spin-ring 6s linear infinite;
}

.ring::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #fff; /* цвет фона хедера — подберите под ваш */
}

.ring-tile {
  position: relative;
  z-index: 2;
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glyph {
  width: 22px;
  height: 22px;
}

@keyframes spin-ring {
  to { transform: rotate(360deg); }
}

/* Текст логотипа */
.brand--new .words {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand--new .name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  display: flex;
}

.brand--new .name .eco  { color: #74ddb5; font-weight: 600; }
.brand--new .name .srub { color: #B07A30; font-weight: 800; }

.brand--new .tagline {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #9A8E7A;
}