/* Реклама на экранах в Пензе. Страница собрана из общих блоков styles.css (hero, service, value, formats,
   projects, faq, footer). Здесь только то, чего у них нет. */

/* ---------- Первый экран ---------- */

/* Компьютер и планшет: фото на весь экран, мягкие многоступенчатые затемнения: сверху под шапку, слева и снизу под текст */
body.page-hero-ekrany .hero {
  background-image:
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.2) 9%, rgba(0, 0, 0, 0.06) 18%, rgba(0, 0, 0, 0) 26%),
    linear-gradient(180deg,
      rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.08) 55%, rgba(0, 0, 0, 0.22) 72%, rgba(0, 0, 0, 0.38) 88%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.5) 16%, rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0.27) 44%,
      rgba(0, 0, 0, 0.15) 57%, rgba(0, 0, 0, 0.06) 70%, rgba(0, 0, 0, 0.015) 82%, rgba(0, 0, 0, 0) 92%),
    url("img/hero-wide.webp?v=7");
  background-position: center 12%;
  background-color: #000000;
}

/* Лента логотипов должна попадать в первый вьюпорт на ноутбуках и мониторах */
@media (min-width: 768px) and (min-height: 700px) {
  body.page-hero-ekrany .hero {
    min-height: calc(100vh - 128px);
  }
}

/* ---------- Лента логотипов ---------- */

.ek-logos {
  background: #ffffff;
  padding: 32px 0;
}

.ek-logos__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.ek-logos__track {
  display: flex;
  align-items: center;
  gap: 88px;
  width: max-content;
  padding-right: 88px;
  animation: ek-marquee 40s linear infinite;
}

.ek-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  filter: grayscale(1);
  opacity: 0.55;
}

.ek-logo img {
  display: block;
}

.ek-logo--combo {
  font-size: 20px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #222222;
  white-space: nowrap;
}

@keyframes ek-marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ek-logos__track { animation: none; }
}

@media (max-width: 1279px) {
  .ek-logos { padding: 24px 0; }
  .ek-logos__track { gap: 56px; padding-right: 56px; }
}

/* ---------- Где стоят экраны: карта и два ракурса в одной сетке ---------- */

.ek-place__grid {
  display: grid;
  gap: 8px;
}

@media (max-width: 1023px) {
  .ek-place .value__inner { padding: 0 16px; }
}

.ek-map {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  height: auto;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
}

@media (hover: hover) {
  .ek-map:hover { background-color: #f0f0f2; }
}

.ek-map__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
}

.ek-map__title {
  display: block;
}

.ek-map__btn {
  margin-top: 16px;
}

.ek-map__media {
  position: relative;
  display: block;
  min-height: 260px;
}

.ek-map__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Метка стелы: точка в центре склейки карты */
.ek-map__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: #007aff;
  box-shadow: 0 0 0 4px #ffffff, 0 2px 8px rgba(0, 0, 0, 0.25);
}

.ek-map__pin-label {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: #ffffff;
  color: var(--text-dark);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .ek-map {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    min-height: 310px;
  }
  .ek-map__text { padding: 32px; justify-content: space-between; }
  .ek-map__btn { margin-top: auto; }
}

.ek-views {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 768px) {
  .ek-views { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.ek-view {
  margin: 0;
  padding: 24px 24px 0;
  overflow: hidden;
}

.ek-view__img {
  display: block;
  width: calc(100% + 48px);
  max-width: none;
  margin: 16px -24px 0;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px 24px 0 0;
}

/* ---------- Цены в стиле КП Фотакса ----------
   Как в КП: Unbounded в именах, ценах и заголовке, серые карточки #EEEFF1, выделенная синяя с градиентом,
   полоска объёма. Строки с иконкой и жирным значением как у Homerun (Mobbin). «Максимум» синий без «Хит». */

@font-face {
  font-family: "Unbounded";
  src: url("fonts/unbounded-variable.woff") format("woff");
  font-weight: 200 900;
  font-display: swap;
}

.ek-plan__name,
.ek-plan__price,
.ek-extra__title,
.ek-extra__price {
  font-family: "Unbounded", "Inter", sans-serif;
  letter-spacing: -0.01em;
}

.ek-kicker-unused {
  margin: 0 0 8px;
  font-family: "Unbounded", "Inter", sans-serif;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: #007aff;
  text-align: center;
}

.service__title.ek-head {
  font-weight: 600;
}

.ek-tariffs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  text-align: left;
}

@media (min-width: 900px) {
  .ek-tariffs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.ek-plan {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 28px;
  background: #eeeff1;
  color: #12151a;
}

.ek-plan__name {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  color: #5e6570;
}

.ek-plan__price {
  margin: 6px 0 0;
  font-size: clamp(24px, 14cqi, 44px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.ek-plan__per {
  margin-inline-start: 5px;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: #5e6570;
}

.ek-plan__vol {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  font-size: 14px;
  line-height: 20px;
  color: #5e6570;
}

.ek-plan__vol span:last-child { white-space: nowrap; }

.ek-plan__meter {
  height: 6px;
  margin-top: 10px;
  border-radius: 3px;
  background: rgba(18, 21, 26, 0.08);
  overflow: hidden;
}

.ek-plan__meter i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: #007aff;
}

.ek-plan__list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ek-plan__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
  color: #3a3f47;
}

.ek-plan__icon {
  flex: 0 0 auto;
  color: #8a9099;
}

/* Выделенная карточка, градиент как в КП */
.ek-plan--blue {
  background: linear-gradient(180deg, #007aff 0%, #2b8dff 100%);
  color: #ffffff;
}

.ek-plan--blue .ek-plan__name,
.ek-plan--blue .ek-plan__per,
.ek-plan--blue .ek-plan__vol { color: rgba(255, 255, 255, 0.82); }

.ek-plan--blue .ek-plan__list li { color: rgba(255, 255, 255, 0.92); }

.ek-plan--blue .ek-plan__icon { color: rgba(255, 255, 255, 0.72); }

.ek-plan--blue .ek-plan__meter { background: rgba(255, 255, 255, 0.28); }
.ek-plan--blue .ek-plan__meter i { background: #ffffff; }

@media (max-width: 599px) {
  .ek-plan { padding: 24px; border-radius: 24px; }
  .ek-plan__price { font-size: clamp(24px, 14cqi, 38px); }
}

/* Строки под тарифами, как «Сверх пакета» и «Доставка» в КП */
.ek-extras {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  text-align: left;
}

.ek-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  border-radius: 28px;
  background: #eeeff1;
}

.ek-extra__title {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  color: #12151a;
}

.ek-extra__text {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 22px;
  color: #5e6570;
}

.ek-extra__side {
  text-align: right;
  flex: 0 0 auto;
}

.ek-extra__price {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  color: #12151a;
  white-space: nowrap;
}

.ek-extra__unit {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 18px;
  color: #5e6570;
}

@media (max-width: 599px) {
  .ek-extra { flex-direction: column; align-items: flex-start; padding: 24px; border-radius: 24px; gap: 12px; }
  .ek-extra__side { text-align: left; }
}

.ek-tariffs__cta {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.ek-tariffs__note {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: #6b6b70;
}

/* Контакты: стандартные кнопки сайта (.btn) с иконкой из пака Фотакса */
.ek-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn.ek-btn {
  width: auto;
  gap: 8px;
}

.ek-btn__icon {
  flex: 0 0 auto;
  display: block;
}

/* Под тарифами: две кнопки во всю ширину сетки, пополам, высотой как на первом экране */
.ek-chips--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.ek-chips--half .btn.ek-btn {
  width: 100%;
  min-height: 60px;
  height: 60px;
  font-size: 17px;
  gap: 10px;
}

@media (max-width: 599px) {
  .ek-chips { flex-direction: column; align-items: stretch; width: 100%; }
  .ek-chips--half { grid-template-columns: 1fr; }
  .btn.ek-btn { width: 100%; }
}

/* ---------- Кампании: три сразу, остальные по кнопке ---------- */

body.page-hero-ekrany .projects-card .solutions-card__image {
  height: auto;
  aspect-ratio: 1 / 1;
}

/* Фото кейса листаются: свайп на телефоне, стрелки при наведении на компьютере, точки внизу */
.ek-gal {
  position: relative;
}

.ek-gal__track {
  display: flex;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: #eeeff1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.ek-gal__track::-webkit-scrollbar { display: none; }

.ek-gal__track:focus-visible { outline: 3px solid #007aff; outline-offset: -3px; }

.ek-gal__img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.ek-gal__btn {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-dark);
  box-shadow: 0 4px 16px rgba(18, 21, 26, 0.18);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ek-gal__btn--prev { left: 12px; }
.ek-gal__btn--next { right: 12px; }
.ek-gal__btn:disabled { display: none; }
.ek-gal__icon { width: 22px; height: 22px; }

.ek-gal:hover .ek-gal__btn,
.ek-gal__btn:focus-visible { opacity: 1; }

.ek-gal__btn:hover { transform: scale(1.06); }

/* На сенсорных экранах стрелок нет, листают свайпом */
@media (hover: none) {
  .ek-gal__btn { display: none; }
}

/* Точки поверх фото: текущая белая полоска, остальные полупрозрачные белые; снизу лёгкое затемнение для контраста */
.ek-gal::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.16) 55%, rgba(0, 0, 0, 0.32) 100%);
  pointer-events: none;
}

.ek-gal__dots {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}

.ek-gal__dots i {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.5);
  transition: background-color 0.2s ease, width 0.2s ease;
}

.ek-gal__dots i.is-active {
  width: 16px;
  background: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .ek-gal__btn, .ek-gal__dots i { transition: none; }
}

/* Просмотр фото кейса крупно, по образцу лайтбокса статей проектов: тёмный фон, крестик, стрелки и счётчик */
.ek-zoom { cursor: zoom-in; }

.ek-lb {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 88px;
  background: rgba(8, 9, 11, 0.96);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ek-lb.is-open { opacity: 1; }

.ek-lb__img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  object-fit: contain;
  cursor: default;
}

.ek-lb__close,
.ek-lb__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease;
}

.ek-lb__close:hover,
.ek-lb__nav:hover { background: rgba(255, 255, 255, 0.28); }

.ek-lb__close { top: 16px; right: 16px; }
.ek-lb__nav { top: 50%; margin-top: -24px; }
.ek-lb__nav--prev { left: 20px; }
.ek-lb__nav--next { right: 20px; }
.ek-lb__icon { width: 24px; height: 24px; }

.ek-lb__count {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  margin: 0;
  text-align: center;
  font-size: 15px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
  .ek-lb { padding: 72px 0 64px; }
  .ek-lb__img { border-radius: 0; }
  .ek-lb__nav { display: none; }
}

.ek-case__task {
  color: var(--text-dark);
}

/* У текста карточки проекта нижний отступ под кнопку; у кейсов кнопки нет */
.solutions-card__text.ek-case__task {
  margin-bottom: 0;
}

.ek-cases.is-collapsed > .projects-card:nth-child(n + 4) {
  display: none;
}

/* Кнопка «Ещё N кампаний»: во всю ширину сетки кейсов, высотой как остальные кнопки страницы */
.ek-cases__more.btn {
  width: 100%;
  min-height: 60px;
  height: 60px;
  margin-top: 10px;
  font-size: 17px;
}

.ek-cases__more[hidden] {
  display: none;
}

/* ---------- Шаг «Пришлите ролик»: памятка по файлу ---------- */

.service-card__text.ek-spec {
  color: var(--text-dark);
  font-weight: 600;
}

/* Второстепенная кнопка на белом фоне: серая, тем же серым, что карточки тарифов.
   Белая с обводкой (.btn--secondary) остаётся на сером, на фото и на синей полосе. */
body.page-hero-ekrany .btn--ghost {
  background: #eeeff1;
  color: #12151a;
  border: 0;
  transition: background-color 180ms ease;
}

body.page-hero-ekrany .btn--ghost:hover {
  background: #e3e4e7;
}

/* Карточки проектов сайта держат строку сетки под кнопку. У кейсов кнопки нет, строку убираем */
@media (min-width: 768px) {
  .ek-cases > .projects-card {
    grid-row: span 4;
  }

  .ek-cases > .projects-card .solutions-card__body {
    grid-row: 2 / span 3;
  }
}

/* ---------- Где стоят экраны: бенто ----------
   Компьютер: слева на всю высоту вид с Московской, справа на 2/3 карта, под ней два вида.
   Фото и карта во всю ячейку, подписи белыми плашками поверх, адрес на белой карточке поверх карты.
   Телефон: карта, под ней виды листаются вбок. */

.ek-bento {
  display: grid;
  gap: 8px;
}

.ek-bento__map {
  position: relative;
  display: block;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background: #eeeff1;
  text-decoration: none;
  color: inherit;
}

.ek-bento__map-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ek-bento__photo {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #eeeff1;
}

.ek-bento__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Подпись вида: белый текст на мягком чёрном градиенте снизу, без плашки */
.ek-bento__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.12) 35%,
    rgba(0, 0, 0, 0.38) 70%,
    rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.ek-bento__pill {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 20px;
  margin: 0;
  text-align: left;
  color: #ffffff;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

/* Телефон: виды листаются вбок */
@media (max-width: 767px) {
  .ek-bento__photos {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 0 16px;
    scroll-padding: 0 16px;
  }
  .ek-bento__photos::-webkit-scrollbar { display: none; }
  .ek-bento__photo { aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .ek-bento__pill { left: 20px; bottom: 18px; font-size: 17px; }
  .ek-bento__map { min-height: 320px; }
}

/* Планшет: карта во всю ширину, под ней вид с Московской слева и два вида справа */
@media (min-width: 768px) {
  .ek-bento__photos { display: contents; }

  .ek-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 320px 320px;
  }

  .ek-bento__map { grid-column: 1 / -1; grid-row: 1; min-height: 0; }
  .ek-bento__photo--tall { grid-column: 1; grid-row: 2 / span 2; }
  .ek-bento__photo:nth-child(2) { grid-column: 2; grid-row: 2; }
  .ek-bento__photo:nth-child(3) { grid-column: 2; grid-row: 3; }
}

/* Компьютер: слева вид на всю высоту, справа на 2/3 карта и два вида под ней */
@media (min-width: 1024px) {
  .ek-bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 220px 360px;
  }

  .ek-bento__photo--tall { grid-column: 1; grid-row: 1 / span 2; }
  .ek-bento__map { grid-column: 2 / span 2; grid-row: 1; }
  .ek-bento__photo:nth-child(2) { grid-column: 2; grid-row: 2; }
  .ek-bento__photo:nth-child(3) { grid-column: 3; grid-row: 2; }
}

/* Метка на карте: синяя точка с пульсирующими кольцами и белый тултип со стрелкой над ней.
   Вся карта ссылка в Яндекс Карты; при наведении тултип приподнимается. */
.ek-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  pointer-events: none;
}

.ek-pin__dot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #007aff;
  box-shadow: 0 0 0 4px #ffffff, 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ek-pin__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 122, 255, 0.35);
  animation: ek-pulse 2.4s ease-out infinite;
}

.ek-pin__pulse--late {
  animation-delay: 1.2s;
}

@keyframes ek-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(4.5); opacity: 0; }
}

.ek-tip {
  position: absolute;
  left: 50%;
  bottom: calc(50% + 22px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px 10px 16px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(18, 21, 26, 0.18);
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ek-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: #ffffff;
  transform: rotate(45deg);
  border-radius: 0 0 3px 0;
}

.ek-tip__title {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--text-dark);
}

.ek-tip__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 20px;
  color: #007aff;
}

.ek-tip__icon {
  width: 18px;
  height: 18px;
  color: #007aff;
}

@media (hover: hover) {
  .ek-bento__map:hover .ek-tip,
  .ek-bento__map:focus-visible .ek-tip {
    transform: translate(-50%, -4px);
    box-shadow: 0 14px 34px rgba(18, 21, 26, 0.24);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ek-pin__pulse { animation: none; opacity: 0; }
  .ek-tip { transition: none; }
}

/* ---------- Контакт: панель как LED-экран ----------
   Тёмная панель с точечной матрицей пикселей,
   мигающий курсор, белая главная кнопка, контакты плашками и огромный обрезанный «251-251» внизу. */

/* Снизу отступ не нужен: у подвала сайта свой margin-top 120 px */
.ek-cta {
  padding: 120px 16px 0;
}

.ek-led {
  position: relative;
  max-width: 1248px;
  margin: 0 auto;
  padding: 56px 56px 0;
  border-radius: 32px;
  overflow: hidden;
  container-type: inline-size;
  color: #ffffff;
  background:
    radial-gradient(circle at 1.5px 1.5px, rgba(255, 255, 255, 0.07) 1.2px, transparent 1.6px) 0 0 / 8px 8px,
    radial-gradient(120% 90% at 85% 0%, rgba(0, 122, 255, 0.35) 0%, rgba(0, 122, 255, 0) 60%),
    #0e1116;
}

.ek-led__top {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 40px;
  text-align: center;
}


.ek-led__title {
  margin: 0;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.ek-led__cursor {
  color: #007aff;
  animation: ek-blink 1.1s steps(1) infinite;
}

@keyframes ek-blink { 50% { opacity: 0; } }

.ek-led__text {
  max-width: 520px;
  margin: 16px auto 0;
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.62);
}

.ek-led__main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 36px 0 30px;
  border-radius: 999px;
  background: #ffffff;
  color: #0e1116;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.ek-led__main:hover { transform: translateY(-2px); }

.ek-led__arrow { width: 22px; height: 22px; }

.ek-led__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ek-led__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 28px 0 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.ek-led__chip:hover { background: rgba(255, 255, 255, 0.16); }

.ek-led__icon { width: 22px; height: 22px; flex: none; opacity: 0.7; }

.ek-led__big {
  position: relative;
  margin: 32px 0 -0.12em;
  font-family: "Unbounded", "Inter", sans-serif;
  padding: 0 0.06em;
  font-size: 22cqi;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  white-space: nowrap;
  text-align: center;
  color: transparent;
  background:
    radial-gradient(circle at 2px 2px, rgba(0, 122, 255, 0.9) 1.6px, transparent 2.2px) 0 0 / 7px 7px;
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.55;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  .ek-led__cursor { animation: none; }
}

@media (max-width: 767px) {
  .ek-cta { padding: 80px 16px 0; }
  .ek-led { padding: 32px 24px 0; border-radius: 24px; }
  .ek-led__title { font-size: 32px; }
  .ek-led__main { width: 100%; justify-content: center; }
  .ek-led__big { margin: 32px -24px -0.12em; font-size: 26cqi; }
  .ek-led__chips { flex-direction: column; align-items: stretch; width: 100%; }
  .ek-led__main, .ek-led__chip { height: 60px; padding: 0 16px; font-size: 16px; justify-content: center; white-space: nowrap; }
}

/* Подзаголовок первого экрана: две короткие строки, место и цена; перенос только между ними */
.ek-hero__lead span {
  display: block;
}

/* Телефон: хук стоит в две строки, как в КП */
@media (max-width: 767px) {
  body.page-hero-ekrany .hero h1 {
    font-size: 30px;
    line-height: 36px;
  }
}


/* Телефон: фото фоном на весь первый экран, как на остальных страницах, тёмный градиент снизу.
   Стела с роликом сверху, заголовок и кнопки внизу на градиенте.
   Плашка cookies просто перекрывает контент, как на остальных страницах (решение владельца 02.12). */
@media (max-width: 767px) {
  body.page-hero-ekrany .hero {
    min-height: 92svh;
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0) 16%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.7) 12%, rgba(0, 0, 0, 0.58) 22%, rgba(0, 0, 0, 0.42) 31%, rgba(0, 0, 0, 0.26) 39%, rgba(0, 0, 0, 0.13) 46%, rgba(0, 0, 0, 0.04) 53%, rgba(0, 0, 0, 0) 60%),
      url("img/hero-mobile.webp?v=2");
    background-size: cover;
    background-position: center top;
    background-color: #111111;
  }

  body.page-hero-ekrany .hero .hero__inner {
    justify-content: flex-end;
    padding-bottom: 24px;
  }

  body.page-hero-ekrany .hero .hero__content {
    justify-content: flex-end;
    padding-top: 0;
  }

  body.page-hero-ekrany .hero .hero__actions {
    margin-top: 24px;
    flex-direction: row;
    gap: 8px;
  }

  body.page-hero-ekrany .hero .hero__actions {
    justify-content: center;
    align-items: center;
  }

  body.page-hero-ekrany .hero .hero__actions .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 0 16px;
  }

  body.page-hero-ekrany .hero .hero__actions .btn--primary { order: 1; }
  body.page-hero-ekrany .hero .hero__actions .btn--secondary { order: 2; }

  /* Отступы по правилу внутреннего и внешнего: текст до кнопок 24, кнопки до края кадра 32 */
  body.page-hero-ekrany .hero .hero__inner {
    padding-bottom: 32px;
  }

  body.page-hero-ekrany .hero .hero__content {
    max-width: none;
    width: 100%;
    padding-bottom: 0;
  }

  body.page-hero-ekrany .hero .ek-hero__lead {
    margin-bottom: 0;
  }
}

/* Короткие подписи кнопок первого экрана только на телефоне */
.ek-short { display: none; }

@media (max-width: 767px) {
  .page-hero-ekrany .hero .ek-long { display: none; }
  .page-hero-ekrany .hero .ek-short { display: inline; }
}

/* Заголовки и подзаголовки разделов без одиноких слов на последней строке */
body.page-hero-ekrany .service__title,
body.page-hero-ekrany .solutions__title,
body.page-hero-ekrany .service__subtitle,
body.page-hero-ekrany .solutions__subtitle,
body.page-hero-ekrany .ek-cta__title,
body.page-hero-ekrany .ek-cta__text,
body.page-hero-ekrany .ek-tariffs__note {
  text-wrap: balance;
}
