/* Mobile & UX enhancements — ПрямыеРуки.бел v85 */

/* Safe area + sticky CTA clearance */
body.theme-cinematic {
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 76px);
}

body.theme-cinematic .sticky-mobile-cta {
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.theme-cinematic .sticky-mobile-cta .btn {
  min-height: 48px;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Scroll-top above sticky bar */
body.theme-cinematic .scroll-top-btn {
  bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
}

/* SEO crosslink block */
[data-pr-seo-crosslink] .content-card {
  border-left: 3px solid var(--accent-3, #ff8a1f);
  padding-left: 1rem;
}

[data-pr-seo-crosslink] .pr-prose-crosslink a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Hero CTA — full width on narrow screens */
@media (max-width: 575.98px) {
  .hero-cinematic .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-cinematic .cta-triggers {
    gap: 0.35rem;
  }

  .hero-cinematic .cta-trigger {
    font-size: 0.78rem;
    padding: 0.35rem 0.55rem;
  }

  .header-phone-mobile__text {
    font-size: 0.82rem;
  }

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Prevent horizontal scroll from wide tables */
  .price-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 380px) {
  .brand-tagline {
    display: none;
  }
}

/* Tap highlight */
a,
button,
.btn {
  -webkit-tap-highlight-color: rgba(63, 134, 248, 0.15);
}

/* Focus visible for a11y */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid #3f86f8;
  outline-offset: 2px;
}
