/* Общие стили для хаб-страниц: /uslugi/, /kejsy/, /o-nas/, /otzyvy/, /kontakty/ */
/* Герой этих страниц использует .hero.hero--premium из hero.css (тот же стиль, что на главной) */

/* Естественная перелинковка внизу хаб-страниц — одна строка с контекстными ссылками,
   без дублирования навигации из футера ниже */
.seoms-hub-note {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 42% 120% at 50% 0%, rgba(255, 109, 61, 0.07), transparent 62%),
    #fafafa;
  padding: clamp(64px, 7vw, 104px) 24px;
  text-align: center;
  border-top: 1px solid rgba(17, 17, 17, 0.06);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.seoms-hub-note::before {
  content: "";
  display: block;
  width: 88px;
  height: 3px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 109, 61, 0), #ff6d3d, rgba(255, 109, 61, 0));
  box-shadow: 0 0 24px rgba(255, 109, 61, 0.28);
}

.seoms-hub-note p {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 600;
  line-height: 1.65;
  color: #111;
}

.seoms-hub-note a {
  color: #ff6d3d;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 109, 61, 0.35);
}

.seoms-hub-note a:hover {
  border-bottom-color: #ff6d3d;
}

@media (max-width: 640px) {
  .seoms-hub-note {
    padding: 52px 18px 58px;
  }

  .seoms-hub-note p {
    font-size: 17px;
    line-height: 1.55;
  }
}

.seoms-industries {
  padding: clamp(72px, 8vw, 112px) 24px;
  background: #e9f2f8;
  color: #111115;
  border-top: 1px solid rgba(23, 105, 170, 0.12);
  border-bottom: 1px solid rgba(23, 105, 170, 0.12);
}

.seoms-industries__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.seoms-industries__heading {
  max-width: 680px;
  margin: 0 0 clamp(36px, 5vw, 56px);
}

.seoms-industries__heading > p {
  margin: 0 0 12px;
  color: #ff6338;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seoms-industries__heading h2 {
  margin: 0 0 20px;
  color: #111115;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.seoms-industries__heading > span {
  display: block;
  color: #5e6269;
  font-size: 16px;
  line-height: 1.7;
}

.seoms-industries__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.seoms-industries__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  gap: 18px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(17, 17, 21, 0.12);
  border-radius: 6px;
  background: #fff;
  color: #111115;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.seoms-industries__item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 99, 56, 0.5);
  box-shadow: 0 20px 44px rgba(17, 17, 21, 0.1);
}

.seoms-industries__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: rgba(255, 99, 56, 0.1);
  color: #ff6338;
  font-size: 14px;
  font-weight: 800;
}

.seoms-industries__copy {
  display: block;
}

.seoms-industries__copy h3 {
  margin: 0 0 8px;
  color: #111115;
  font-size: 20px;
  line-height: 1.25;
}

.seoms-industries__copy p {
  margin: 0;
  color: #65656c;
  font-size: 14px;
  line-height: 1.55;
}

.seoms-industries__item svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #ff6338;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 640px) {
  .seoms-industries {
    padding: 64px 16px;
  }

  .seoms-industries__grid {
    grid-template-columns: 1fr;
  }

  .seoms-industries__item {
    grid-template-columns: 36px minmax(0, 1fr) 20px;
    padding: 20px;
  }

  .seoms-industries__num {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .seoms-industries__copy h3 {
    font-size: 19px;
  }
}

.seoms-ya-reviews {
  background:
    radial-gradient(ellipse 48% 90% at 18% 8%, rgba(255, 109, 61, 0.08), transparent 58%),
    #fff;
  padding: clamp(64px, 7vw, 104px) 24px;
  color: #111;
}

.seoms-ya-reviews__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.25fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.seoms-ya-reviews__content {
  min-width: 0;
}

.seoms-ya-reviews__eyebrow {
  margin: 0 0 14px;
  color: #ff6d3d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.seoms-ya-reviews__title {
  margin: 0 0 18px;
  color: #111 !important;
  font-size: clamp(34px, 4vw, 58px) !important;
  line-height: 1.05 !important;
  font-weight: 900;
}

.seoms-ya-reviews__text {
  max-width: 480px;
  margin: 0 0 28px;
  color: rgba(17, 17, 17, 0.66);
  font-size: 17px;
  line-height: 1.7;
}

.seoms-ya-reviews__rating {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 4px 12px;
  align-items: center;
  margin-bottom: 30px;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: #fafafa;
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.06);
}

.seoms-ya-reviews__mark {
  color: #111;
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
}

.seoms-ya-reviews__stars {
  color: #e0a300;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.seoms-ya-reviews__label {
  grid-column: 1 / -1;
  color: rgba(17, 17, 17, 0.6);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.seoms-ya-reviews__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.seoms-ya-reviews__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s, border-color 0.15s, background 0.15s, color 0.15s;
}

.seoms-ya-reviews__btn--primary {
  background: #ff6d3d;
  color: #fff;
  box-shadow: 0 14px 34px rgba(255, 109, 61, 0.28);
}

.seoms-ya-reviews__btn--secondary {
  border: 1px solid rgba(17, 17, 17, 0.16);
  color: #111;
}

.seoms-ya-reviews__btn:hover {
  transform: translateY(-2px);
}

.seoms-ya-reviews__btn--primary:hover {
  background: #ff5722;
  color: #fff;
}

.seoms-ya-reviews__btn--secondary:hover {
  border-color: #ff6d3d;
  color: #ff6d3d;
}

.seoms-ya-reviews__map {
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #f4f4f4;
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.12);
}

.seoms-ya-reviews__map iframe {
  display: block;
  width: 100%;
  height: clamp(360px, 34vw, 480px);
  border: 0;
}

@media (max-width: 960px) {
  .seoms-ya-reviews__inner {
    grid-template-columns: 1fr;
  }

  .seoms-ya-reviews__text {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .seoms-ya-reviews {
    padding: 52px 16px 60px;
  }

  .seoms-ya-reviews__title {
    font-size: 32px !important;
  }

  .seoms-ya-reviews__rating {
    width: 100%;
  }

  .seoms-ya-reviews__actions {
    flex-direction: column;
  }

  .seoms-ya-reviews__btn {
    width: 100%;
  }

  .seoms-ya-reviews__map {
    border-radius: 16px;
  }

  .seoms-ya-reviews__map iframe {
    height: 360px;
  }
}

.hero--kejsy .hero__content {
  grid-template-columns: minmax(0, 1fr) !important;
}

.hero--kejsy .hero__main {
  grid-column: 1 / -1 !important;
}

.hero--kejsy .hero__content h1 {
  max-width: none !important;
  white-space: nowrap !important;
}

@media (max-width: 900px) {
  .hero--kejsy .hero__content h1 {
    white-space: normal !important;
  }
}
