.mobile-header,
.mobile-contact-bar,
.mobile-return-button,
.he-home,
.mobile-projects-title {
  display: none;
}

html[data-site-view="mobile"] {
  --mobile-ink: #edf1f5;
  --mobile-muted: #bdcad6;
  --mobile-line: #314254;
  --mobile-accent: #e22336;
  --mobile-gutter: clamp(16px, 5vw, 36px);
  --mobile-contact-height: calc(63px + env(safe-area-inset-bottom));
  --mobile-bottom-clearance: max(var(--mobile-contact-height), var(--mobile-consent-clearance, 0px));
  color-scheme: dark;
  scroll-padding-block-end: var(--mobile-bottom-clearance);
}

html[data-site-view="mobile"] body {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding-block-end: var(--mobile-bottom-clearance);
  color: var(--mobile-ink);
}

html[data-site-view="mobile"] .stage[data-page] {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  width: 100%;
  aspect-ratio: auto;
  overflow: visible;
  isolation: auto;
  background: #07111e;
  text-align: start;
}

html[data-site-view="mobile"] .stage[data-page]::before,
html[data-site-view="mobile"] .stage[data-page]::after,
html[data-site-view="mobile"] .stage[data-page] > :is(
  .hide-old-line, .contact-backdrop, .bottom-cleanup, .projects-blank,
  .about-mask, .network-mask, .fiber-mask, .cameras-mask, .access-mask, .design-mask
) {
  display: none;
}

html[data-site-view="mobile"] .mobile-header {
  position: relative;
  z-index: 20;
  order: -2;
  display: grid;
  gap: 12px;
  padding: 12px var(--mobile-gutter);
  border-bottom: 1px solid var(--mobile-line);
  background: linear-gradient(115deg, #142231, #0c1724);
}

html[data-site-view="mobile"] .mobile-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

html[data-site-view="mobile"] .mobile-brand {
  flex: 0 1 174px;
  min-width: 0;
}

html[data-site-view="mobile"] .stage .mobile-header .brand-replacement {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  background: none;
}

html[data-site-view="mobile"] .mobile-brand img {
  display: block;
  width: 100%;
  height: auto;
}

html[data-site-view="mobile"] .stage .mobile-topline .phone-hit {
  position: static;
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 44px;
  width: auto;
  height: auto;
  padding-inline: 6px;
  direction: ltr;
  color: var(--mobile-ink);
  font-size: clamp(.8125rem, 3.6vw, 1rem);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

html[data-site-view="mobile"] .mobile-topline .phone-hit::before,
html[data-site-view="mobile"] .mobile-topline .phone-hit .ru-label {
  display: none;
}

html[data-site-view="mobile"] .mobile-phone-display {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

html[data-site-view="mobile"] .mobile-phone-display svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #ff5965;
  stroke-width: 2;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: no-preference) {
  html[data-site-view="mobile"] .phone-hit:is(:hover, :focus-visible, :active) .mobile-phone-display {
    animation: header-pulse 1.2s ease-in-out infinite;
  }
}

html[data-site-view="mobile"] #call-choice {
  max-height: calc(100dvh - 24px);
  padding: clamp(16px, 5vw, 24px);
  overflow: auto;
  text-align: start;
}

html[data-site-view="mobile"] #call-choice h2 {
  margin-block-end: 12px;
  padding-inline-end: 32px;
  font-size: clamp(1.125rem, 5vw, 1.5rem);
}

html[data-site-view="mobile"] #call-choice .choice-number {
  margin-block-end: 16px;
  font-size: clamp(.9rem, 4.4vw, 1.2rem);
  text-align: match-parent;
  white-space: nowrap;
}

html[data-site-view="mobile"] #call-choice .choice-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

html[data-site-view="mobile"] #call-choice .choice-action {
  min-height: 88px;
  gap: 8px;
  font-size: .875rem;
  text-align: center;
}

html[data-site-view="mobile"] .mobile-toolbar {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(6px, 2vw, 12px);
}

html[data-site-view="mobile"] .stage .mobile-toolbar .language {
  position: relative;
  inset: auto;
  width: auto;
}

html[data-site-view="mobile"] .mobile-toolbar summary,
html[data-site-view="mobile"] .mobile-desktop-button,
html[data-site-view="desktop-compact"] .mobile-return-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin: 0;
  padding: 6px clamp(6px, 2vw, 12px);
  border: 1px solid #516477;
  border-radius: 6px;
  background: #101d2b;
  color: #edf1f5;
  font: 600 clamp(.75rem, 3vw, .875rem)/1.25 Arial, sans-serif;
  cursor: pointer;
}

html[data-site-view="mobile"] .mobile-toolbar .language summary::after {
  width: 5px;
  height: 5px;
  margin-top: -2px;
}

html[data-site-view="mobile"] .mobile-toolbar .language svg {
  width: 24px;
  height: 16px;
}

html[data-site-view="mobile"] .mobile-toolbar .language .options {
  top: calc(100% + 6px);
  border-radius: 6px;
}

html[data-site-view="mobile"] .mobile-toolbar .language .options a {
  min-height: 44px;
}

html[data-site-view="mobile"] .mobile-menu > summary {
  list-style: none;
}

html[data-site-view="mobile"] .mobile-menu > summary::-webkit-details-marker {
  display: none;
}

html[data-site-view="mobile"] .mobile-menu[open] > summary {
  border-color: var(--mobile-accent);
}

html[data-site-view="mobile"] .mobile-menu-list {
  position: absolute;
  inset: calc(100% + 8px) 0 auto;
  max-height: 60vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  border: 1px solid var(--mobile-line);
  border-radius: 8px;
  background: #101d2b;
  box-shadow: 0 12px 30px #030810a8;
}

html[data-site-view="mobile"] .mobile-main-links {
  margin-top: 4px;
  border-top: 1px solid var(--mobile-line);
}

html[data-site-view="mobile"] #mobile-services-label {
  display: block;
  padding: 6px 10px 4px;
  color: var(--mobile-muted);
  font-size: .8rem;
  font-weight: 700;
}

html[data-site-view="mobile"] .stage[data-page] .mobile-menu-list :is(.nav, .card) {
  position: static;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  width: 100%;
  height: auto;
  padding: 9px 10px;
  border: 0;
  border-radius: 4px;
  outline: revert;
  background: transparent;
  color: var(--mobile-ink);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  white-space: normal;
  transform: none;
  box-shadow: none;
  transition: none;
}

html[data-site-view="mobile"] .mobile-menu-list .ru-label,
html[data-site-view="mobile"] .mobile-menu-list .nav::after {
  display: none;
}

html[data-site-view="mobile"] .mobile-menu-list a::before {
  content: attr(aria-label);
}

html[data-site-view="mobile"] .stage[data-page] .mobile-menu-list a:is(:hover, :focus-visible, [aria-current="page"]) {
  background: #203244;
}

html[data-site-view="mobile"] .mobile-menu-list a[aria-current="page"] {
  border-inline-start: 2px solid var(--mobile-accent) !important;
}

html[data-site-view="mobile"] .stage[data-page] :is(
  .about-photo, .network-photo, .fiber-photo, .cameras-photo, .access-photo, .design-photo, .ru-home-photo
) {
  position: relative;
  inset: auto !important;
  z-index: auto;
  order: -1;
  width: 100%;
  height: clamp(150px, 49vw, 300px);
  overflow: hidden;
}

html[data-site-view="mobile"] .stage[data-page="home"] .ru-home-photo {
  display: block;
}

html[data-site-view="mobile"] .stage[data-page] :is(
  .about-photo, .network-photo, .fiber-photo, .cameras-photo, .access-photo, .design-photo, .ru-home-photo
)::after {
  background: linear-gradient(0deg, #07111e, transparent 32%);
}

html[data-site-view="mobile"] .stage[data-page] .service-collage {
  inset: 10px var(--mobile-gutter) 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 0;
}

html[data-site-view="mobile"] .stage[data-page] .service-collage .service-shot {
  border-radius: 4px;
  transform: none;
}

html[data-site-view="mobile"] .stage[data-page] .service-collage .service-shot img {
  width: 100%;
  margin: 0;
  transform: none;
}

html[data-site-view="mobile"] .stage[data-page] > :is(article, .contact-panel, .he-home, .ru-home, .en-home, #tt-projects, .info-content) {
  position: static;
  width: 100%;
  padding: clamp(16px, 5vw, 32px) var(--mobile-gutter) 30px;
  overflow: visible;
  border: 0;
  background: var(--mobile-content-background, none);
  box-shadow: none;
  direction: inherit;
  text-align: start;
  color: var(--mobile-ink);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

html[data-site-view="mobile"] .stage[data-page="home"] > :is(.he-home, .ru-home, .en-home) {
  display: none;
}

html[data-site-view="mobile"][lang="he"] .stage[data-page="home"] > .he-home,
html[data-site-view="mobile"][lang="ru"] .stage[data-page="home"] > .ru-home,
html[data-site-view="mobile"][lang="en"] .stage[data-page="home"] > .en-home {
  display: block;
}

html[data-site-view="mobile"] .stage[data-page] :is(article, .contact-panel, .he-home, .ru-home, .en-home) h1,
html[data-site-view="mobile"] .mobile-projects-title {
  margin: 0 0 14px;
  padding: 0;
  padding-inline-start: 12px;
  border: 0;
  border-inline-start: 3px solid var(--mobile-accent);
  color: var(--mobile-ink);
  font-size: clamp(1.65rem, 6.4vw, 2.4rem);
  line-height: 1.17;
  text-align: start;
}

html[data-site-view="mobile"] .stage[data-page] article:not(.project-card) :is(h2, h3) {
  margin: 26px 0 8px;
  padding-inline-start: 9px;
  border-inline-start: 2px solid var(--mobile-accent);
  font-size: clamp(1.15rem, 4.5vw, 1.45rem);
  line-height: 1.3;
}

html[data-site-view="mobile"] .stage[data-page] :is(article:not(.project-card), .he-home, .ru-home, .en-home) p {
  margin: 0 0 12px;
  border-inline: 0;
  padding-inline: 0;
  color: var(--mobile-muted);
  font-size: 1rem;
  line-height: 1.65;
}

html[data-site-view="mobile"] .stage[data-page] article .hint {
  font-size: .875rem;
}

html[data-site-view="mobile"] .stage[data-page] article .stat b {
  font-size: 1.25rem;
  text-align: match-parent;
}

html[data-site-view="mobile"] .stage[data-page="contact"] :is(.contact-list, .socials) {
  gap: 10px;
  padding-inline: 0;
}

html[data-site-view="mobile"] .contact-panel .contact-row {
  min-height: 44px;
  gap: 10px;
  font-size: .9375rem;
  white-space: normal;
}

html[data-site-view="mobile"] .contact-panel .metal {
  width: 44px;
  height: 44px;
  border-radius: 5px;
}

html[data-site-view="mobile"] .stage[data-page="projects"] .mobile-projects-title {
  display: block;
  margin: 20px var(--mobile-gutter) 0;
}

html[data-site-view="mobile"] .stage[data-page="projects"] #tt-projects .tt-grid {
  gap: 12px;
}

html[data-site-view="mobile"] .stage[data-page="projects"] #tt-projects .tt-card {
  padding: 14px;
}

html[data-site-view="mobile"] .mobile-contact-bar {
  position: fixed;
  z-index: 5;
  bottom: 0;
  inset-inline: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 4px var(--mobile-gutter) calc(4px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--mobile-line);
  background: #101b29f5;
}

html[data-site-view="mobile"] .mobile-contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  gap: 4px;
  padding: 4px;
  border-radius: 4px;
  background: transparent;
  color: var(--mobile-ink);
  font-size: .75rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

html[data-site-view="mobile"] .mobile-contact-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-site-view="mobile"] .mobile-contact-link:hover {
  color: #ff7d89;
}

html[data-site-view="mobile"] :is(.mobile-header, .mobile-contact-bar) :is(a, button, summary):focus-visible,
html[data-site-view="desktop-compact"] .mobile-return-button:focus-visible {
  outline: 2px solid #ff7d89;
  outline-offset: 2px;
}

html[data-site-view="desktop-compact"] .mobile-return-button {
  position: fixed;
  z-index: 60;
  inset-inline-end: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
}
