/* Service Lab — premium service identity */
:root {
  --bg: #0c0e10;
  --bg-soft: #14181c;
  --surface: #f4f5f2;
  --surface-2: #e9ebe6;
  --ink: #101317;
  --ink-soft: #2a3038;
  --muted: #5f6872;
  --line: #d8dcd4;
  --line-dark: rgba(255, 255, 255, 0.12);
  --lime: #c6f000;
  --lime-deep: #9bc400;
  --dark: #0a0c0e;
  --max: 1200px;
  --font: "Figtree", system-ui, sans-serif;
  --display: "Syne", "Figtree", sans-serif;
  --brand: "Montserrat", "Figtree", system-ui, sans-serif;
  --radius: 18px;
  --radius-sm: 14px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px rgba(8, 10, 12, 0.18);
  --shadow-soft: 0 14px 36px rgba(16, 19, 23, 0.07);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-offset: 5.5rem;
  --section-y: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(198, 240, 0, 0.35);
  color: var(--dark);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header — single dark bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 12, 14, 0.9);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-height: 4.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  color: #fff;
}

.brand img {
  width: 52px;
  height: 52px;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: #fff;
  object-fit: contain;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.brand:hover img {
  transform: scale(1.04);
  box-shadow: 0 0 0 1px rgba(198, 240, 0, 0.45);
}

.brand__text {
  font-family: var(--brand);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand__text em {
  font-style: normal;
  color: var(--lime);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav a {
  position: relative;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav a.is-active {
  color: var(--dark);
  background: var(--lime);
}

.header-actions {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.header-meta {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.12rem;
  line-height: 1.2;
}

.header-phone {
  color: var(--lime);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.header-meta__city {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.header-meta__hours {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.08rem;
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.45);
  text-align: right;
  white-space: nowrap;
}

.header-meta__hours span {
  display: block;
}

@media (min-width: 1100px) {
  .header-meta {
    display: flex;
  }
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.85rem 0.5rem 0.7rem;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.nav-toggle__bars {
  width: 16px;
  height: 12px;
  display: inline-grid;
  gap: 3px;
  align-content: center;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  display: block;
  height: 1.5px;
  background: var(--lime);
  border-radius: 2px;
}

.nav-toggle__bars::before {
  box-shadow: 0 4.5px 0 var(--lime);
  width: 16px;
}

.nav-toggle__bars::after {
  width: 11px;
}

.nav-toggle[aria-expanded="true"] {
  border-color: rgba(198, 240, 0, 0.45);
  background: rgba(198, 240, 0, 0.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition:
    transform 0.22s var(--ease-out),
    background 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
}

.btn-lime {
  background: var(--lime);
  color: var(--dark);
  box-shadow: 0 10px 30px rgba(198, 240, 0, 0.28);
}

.btn-lime:hover {
  background: #d4ff2e;
  box-shadow: 0 14px 34px rgba(198, 240, 0, 0.38);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(16, 19, 23, 0.18);
}

.btn-dark:hover {
  background: #1a1f26;
  box-shadow: 0 14px 30px rgba(16, 19, 23, 0.28);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-outline-dark:hover {
  border-color: var(--ink);
  background: rgba(16, 19, 23, 0.04);
}

/* ——— Home hero: full-bleed video ——— */
.hero-cinema {
  position: relative;
  min-height: min(92vh, 920px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #070809;
  color: #fff;
}

.hero-cinema__media {
  position: absolute;
  inset: 0;
}

.hero-cinema__media video,
.hero-cinema__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-cinema__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 9, 0.88) 0%, rgba(7, 8, 9, 0.55) 42%, rgba(7, 8, 9, 0.18) 70%, rgba(7, 8, 9, 0.35) 100%),
    linear-gradient(0deg, rgba(7, 8, 9, 0.75) 0%, transparent 42%);
  pointer-events: none;
}

.hero-cinema__content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 3.5rem;
  max-width: 38rem;
}

.hero-cinema__brand {
  margin: 0 0 1.1rem;
  font-family: var(--brand);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.hero-cinema__brand span {
  color: var(--lime);
}

.hero-cinema h1 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 16ch;
}

.hero-cinema__lead {
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
  max-width: 32rem;
  line-height: 1.55;
}

.hero-cinema__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-cinema__meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 1.65rem;
  max-width: 28rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.01em;
  text-transform: none;
}

/* Motion */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cinema__content > * {
  animation: rise-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-cinema__content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-cinema__content > *:nth-child(2) { animation-delay: 0.16s; }
.hero-cinema__content > *:nth-child(3) { animation-delay: 0.26s; }
.hero-cinema__content > *:nth-child(4) { animation-delay: 0.36s; }
.hero-cinema__content > *:nth-child(5) { animation-delay: 0.46s; }

/* Sections — one vertical rhythm for the whole site */
.section {
  padding: var(--section-y) 0;
}

.section--tight-top,
.section--form-gap,
.section--answer {
  padding-top: var(--section-y);
}

.section--dark {
  background: var(--bg);
  color: #fff;
}

.section--soft {
  background:
    radial-gradient(700px 280px at 0% 0%, rgba(198, 240, 0, 0.12), transparent 55%),
    var(--surface);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head h2,
.hub-note h2,
.side-panel h2,
.page-hero h1 {
  font-family: var(--display);
  letter-spacing: -0.04em;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.section-head p,
.hub-note p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  max-width: 36rem;
}

.section--dark .section-head p {
  color: rgba(255, 255, 255, 0.58);
}

/* Device catalog — editorial mosaic */
.device-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.device-tile {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  background: #111;
  isolation: isolate;
  box-shadow: var(--shadow-soft);
  transform:
    translateY(0) scale(1)
    perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  opacity: 1;
  transition:
    transform 0.55s var(--ease-out),
    opacity 0.55s ease,
    box-shadow 0.4s ease;
}

.js-ready .device-tile:not(.is-in) {
  opacity: 0;
  transform:
    translateY(28px) scale(0.96)
    perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.device-tile.is-in {
  opacity: 1;
  transform:
    translateY(0) scale(1)
    perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.device-tile.is-in:hover,
.device-tile:hover {
  transform:
    translateY(-10px) scale(1.02)
    perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  box-shadow:
    0 28px 50px rgba(8, 10, 12, 0.28),
    0 0 0 1px rgba(198, 240, 0, 0.35);
}

.device-tile picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.device-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transform: scale(1.04);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
  will-change: transform;
}

.device-tile:hover img,
.device-tile.is-in:hover img {
  transform: scale(1.14);
  filter: brightness(1.08) saturate(1.08);
}

.device-tile::before {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.22) 48%,
    transparent 62%
  );
  transform: translateX(-30%) rotate(8deg);
  opacity: 0;
  z-index: 3;
  pointer-events: none;
  transition: transform 0.7s ease, opacity 0.35s ease;
}

.device-tile:hover::before,
.device-tile.is-in:hover::before {
  opacity: 1;
  transform: translateX(55%) rotate(8deg);
}

.device-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 28%, rgba(8, 10, 12, 0.9) 100%),
    linear-gradient(0deg, transparent 70%, rgba(198, 240, 0, 0) 100%);
  z-index: 1;
  transition: background 0.4s ease;
}

.device-tile:hover::after,
.device-tile.is-in:hover::after {
  background:
    linear-gradient(180deg, transparent 18%, rgba(8, 10, 12, 0.82) 100%),
    linear-gradient(135deg, rgba(198, 240, 0, 0.14) 0%, transparent 45%);
}

.device-tile__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.1rem 1.15rem 1.2rem;
  color: #fff;
  transform: translateY(8px);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.device-tile:hover .device-tile__body,
.device-tile.is-in:hover .device-tile__body {
  transform: translateY(0);
}

.device-tile__body strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  transition: color 0.3s ease;
}

.device-tile:hover .device-tile__body strong,
.device-tile.is-in:hover .device-tile__body strong {
  color: var(--lime);
}

.device-tile__body span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.35s ease, margin 0.35s ease;
}

.device-tile:hover .device-tile__body span,
.device-tile.is-in:hover .device-tile__body span {
  max-height: 4.5em;
  opacity: 1;
  margin-top: 0.35rem;
}

.device-tile--wide {
  grid-column: span 2;
  min-height: 280px;
}

.device-tile--wide .device-tile__body span {
  max-height: 3em;
  opacity: 0.75;
}

.device-tile--wide:hover .device-tile__body span,
.device-tile--wide.is-in:hover .device-tile__body span {
  max-height: 4.5em;
  opacity: 1;
}

.device-tile--service {
  min-height: 200px;
  cursor: default;
}

.device-tile--service:hover,
.device-tile--service.is-in:hover {
  transform:
    translateY(-4px) scale(1.01)
    perspective(900px) rotateX(0deg) rotateY(0deg);
  box-shadow:
    0 18px 36px rgba(8, 10, 12, 0.22),
    0 0 0 1px rgba(198, 240, 0, 0.28);
}

.device-tile--service .device-tile__body {
  transform: none;
}

.device-tile--service .device-tile__body span {
  max-height: 4.5em;
  opacity: 0.82;
  margin-top: 0.3rem;
}

.device-tile--service:hover img,
.device-tile--service.is-in:hover img {
  transform: scale(1.08);
}

.device-tile__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1a242c, #111417 55%, #1c2a14);
  color: var(--lime);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  z-index: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.device-tile:hover .device-tile__fallback,
.device-tile.is-in:hover .device-tile__fallback {
  transform: scale(1.08);
}


/* Proof / process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.process__item {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-top: 2px solid var(--lime);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-out);
}

.process__item:hover {
  background: #fff;
  border-color: rgba(155, 196, 0, 0.45);
  transform: translateY(-2px);
}

.process__item b {
  display: block;
  margin: 0.55rem 0 0.35rem;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.process__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.process__item::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--display);
  font-weight: 800;
  color: var(--lime-deep);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.section--dark .process__item {
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  box-shadow: none;
}

.section--dark .process__item:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(198, 240, 0, 0.22);
}

.section--dark .process__item b {
  color: #fff;
}

.section--dark .process__item p {
  color: rgba(255, 255, 255, 0.58);
}

.section--dark .process__item::before {
  color: var(--lime);
}

/* CTA band */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem 2.1rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, #121518 0%, #1a2210 55%, #141a10 100%);
  color: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.04em;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* Forms */
.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.content-grid--form {
  padding: 0;
}

.side-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.4rem 1.55rem;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: var(--header-offset);
}

.side-panel h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.side-panel > p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-row {
  margin-bottom: 0.7rem;
}

.form-privacy {
  margin: 0.7rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
}

.form-privacy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-privacy a:hover {
  color: var(--ink);
}

.legal-doc {
  max-width: 48rem;
}

.legal-doc__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft);
}

.legal-doc__card > p:first-child {
  margin-top: 0;
}

.legal-doc__card h2 {
  margin: 1.75rem 0 0.65rem;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.legal-doc__card p,
.legal-doc__card li {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.legal-doc__card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.legal-doc__card li {
  margin-bottom: 0.35rem;
}

.legal-doc__card a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid rgba(16, 19, 23, 0.18);
}

.legal-doc__card a:hover {
  color: var(--lime-deep);
}

.footer-bottom a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom a:hover {
  color: var(--lime);
}

.form-row input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.88rem 1rem;
  background: #fafaf8;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-row input:focus {
  border-color: var(--lime-deep);
  box-shadow: 0 0 0 3px rgba(198, 240, 0, 0.25);
  background: #fff;
}

.form-row input::placeholder {
  color: #8a929b;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.service-list li {
  padding: 0.95rem 1rem;
  border-left: 3px solid var(--lime);
  background: #fff;
  border-radius: 0 14px 14px 0;
  font-weight: 600;
}

/* Standalone list blocks (e.g. «Что обычно успеваем сегодня») — not in form grids */
.section--center > .container > .section-head,
.container:has(> .service-list) > .section-head {
  justify-content: center;
  text-align: center;
}

.section--center > .container > .section-head p,
.container:has(> .service-list) > .section-head p {
  margin-inline: auto;
}

.section--center > .container > .service-list,
.container > .service-list {
  max-width: 42rem;
  margin-inline: auto;
}

/* Inner page hero + rail */
/* Inner cinematic intro (hubs + contacts) */
.page-cinema {
  position: relative;
  overflow: hidden;
  background: #070809;
  color: #fff;
  padding: var(--section-y) 0;
}

.page-cinema__glow {
  position: absolute;
  inset: -20% auto auto -10%;
  width: 55vw;
  height: 55vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(circle, rgba(198, 240, 0, 0.22) 0%, transparent 68%);
  pointer-events: none;
}

.page-cinema__inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.page-cinema__brand {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--brand);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.page-cinema__brand span {
  color: var(--lime);
}

.page-cinema h1 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.page-cinema__lead {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 36rem;
}

.page-cinema__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.page-cinema__meta {
  margin: 1.35rem 0 0;
  max-width: 32rem;
  font-size: 0.84rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs--light {
  color: rgba(255, 255, 255, 0.45);
}

.breadcrumbs--light a:hover {
  color: var(--lime);
}

.page-cinema__inner > * {
  animation: rise-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-cinema__inner > *:nth-child(1) { animation-delay: 0.04s; }
.page-cinema__inner > *:nth-child(2) { animation-delay: 0.12s; }
.page-cinema__inner > *:nth-child(3) { animation-delay: 0.2s; }
.page-cinema__inner > *:nth-child(4) { animation-delay: 0.28s; }
.page-cinema__inner > *:nth-child(5) { animation-delay: 0.36s; }
.page-cinema__inner > *:nth-child(6) { animation-delay: 0.44s; }

.device-mosaic--compact {
  grid-template-columns: repeat(3, 1fr);
}

.device-mosaic--compact .device-tile {
  min-height: 180px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.4rem;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease-out);
}

.contact-card:hover {
  border-color: #c5e86a;
  box-shadow: 0 18px 40px rgba(16, 19, 23, 0.08);
  transform: translateY(-2px);
}

.contact-card--map {
  grid-column: 1 / -1;
}

.contact-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.contact-card p {
  margin: 0 0 0.35rem;
  color: var(--muted);
}

.contact-card__big {
  margin: 0 0 0.75rem !important;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.contact-card__big a {
  color: var(--lime) !important;
  border: 0 !important;
}

.contact-card a:not(.btn):not(.review-widget) {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1px solid rgba(16, 19, 23, 0.15);
}

.contact-card a:not(.btn):not(.review-widget):hover {
  color: var(--lime-deep);
}

.contact-card a.btn {
  border-bottom: 0;
}

.contact-card a.btn-dark {
  color: #fff;
}

.contact-card a.btn-dark:hover {
  color: #fff;
}

.contact-card a.btn-lime {
  color: var(--dark);
}

.contact-card a.btn-outline-dark {
  color: var(--ink);
}

.contact-card--accent {
  background: linear-gradient(160deg, #121518 0%, #1a2210 100%);
  border-color: transparent;
  color: #fff;
}

.contact-card--accent:hover {
  border-color: transparent;
  box-shadow: 0 20px 44px rgba(8, 10, 12, 0.35);
}

.contact-card--accent h3 {
  color: #fff;
}

.contact-card--accent p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card--accent a:not(.btn) {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

.contact-card--accent .contact-card__big a {
  color: var(--lime) !important;
}

.contact-card--accent a.btn-outline-dark {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}

.contact-card--accent a.btn-outline-dark:hover {
  border-color: var(--lime);
  color: var(--dark);
  background: var(--lime);
}

.map-embed {
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eef0ea;
  aspect-ratio: 16 / 9;
  min-height: 280px;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

.review-widgets {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.review-widget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, #121518 0%, #1a2210 100%);
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease, box-shadow 0.25s ease;
  border-bottom: 0 !important;
}

.review-widget:hover {
  transform: translateY(-2px);
  border-color: rgba(198, 240, 0, 0.35);
  box-shadow: 0 16px 36px rgba(8, 10, 12, 0.28);
  color: #fff;
}

.review-widget__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.review-widget__mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.review-widget__mark--ya {
  background: #fc3f1d;
  color: #fff;
}

.review-widget__mark--2gis {
  background: var(--lime);
  color: var(--dark);
}

.review-widget__brand strong {
  display: block;
  font-family: var(--display);
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.review-widget__brand em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

.review-widget__score {
  text-align: right;
  flex-shrink: 0;
}

.review-widget__rating {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  color: var(--lime);
  line-height: 1;
}

.review-widget__stars {
  display: block;
  margin-top: 0.28rem;
  color: var(--lime);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.review-widget__count {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .review-widgets {
    grid-template-columns: 1fr;
  }
}

/* Keep old page-hero for safety */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 1.6rem 0 1.7rem;
}

.page-hero--hub {
  padding-bottom: 2rem;
  background:
    radial-gradient(900px 320px at 8% -20%, rgba(198, 240, 0, 0.18), transparent 55%),
    linear-gradient(180deg, #f7f8f4 0%, var(--surface) 100%);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
}

.page-hero .lead {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
  font-size: 1.02rem;
}

.geo-chip {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #eaf6b0;
  color: #3a4a0c;
  font-size: 0.78rem;
  font-weight: 700;
}

.hub-note h2 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
}

/* FAQ */
.section--faq {
  background:
    radial-gradient(700px 260px at 100% 0%, rgba(198, 240, 0, 0.1), transparent 55%),
    var(--surface);
}

.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 820px;
  margin-inline: auto;
  width: 100%;
  text-align: left;
}

.section--faq > .container > .section-head,
.container:has(> .faq-list) > .section-head {
  justify-content: center;
  text-align: center;
}

.section--faq > .container > .section-head p,
.container:has(> .faq-list) > .section-head p {
  margin-inline: auto;
}

.blog-block:has(> .faq-list) > h2 {
  text-align: center;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 19, 23, 0.04);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.faq-item[open] {
  border-color: #c5e86a;
  box-shadow: 0 14px 32px rgba(16, 19, 23, 0.08);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--lime);
  color: var(--dark);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--dark);
  color: var(--lime);
}

.faq-item__body {
  padding: 0 1.15rem 1.1rem;
}

.faq-item__body p {
  margin: 0;
  padding-top: 0.15rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.blog-grid--related {
  grid-template-columns: repeat(4, 1fr);
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: #c5e86a;
  box-shadow: 0 20px 44px rgba(16, 19, 23, 0.12);
}

.blog-card__media {
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}

.blog-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.05);
}

.blog-card__body {
  padding: 1rem 1.05rem 1.15rem;
  display: grid;
  gap: 0.4rem;
}

.blog-card__meta {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.blog-card__body strong {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.blog-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-article__hero {
  background: #070809;
  color: #fff;
  padding: 2.4rem 0 0;
}

.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0.5rem 0 0.9rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-article__hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  letter-spacing: -0.04em;
  max-width: 18ch;
  line-height: 1.1;
}

.blog-article__lead {
  margin: 0 0 1.3rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 40rem;
  font-size: 1.05rem;
}

.blog-article__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.blog-article__cover {
  padding-bottom: 0;
  margin-bottom: -0.35rem;
}

.blog-article__cover picture {
  display: block;
}

.blog-article__cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.blog-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.35fr 0.78fr;
  gap: 1.25rem;
  padding: var(--section-y) 0;
  align-items: start;
}

.blog-toc {
  position: sticky;
  top: var(--header-offset);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.15rem;
  max-height: calc(100vh - 6.5rem);
  overflow: auto;
  box-shadow: var(--shadow-soft);
}

.blog-toc strong {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--display);
}

.blog-toc ol {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.blog-toc li {
  margin-bottom: 0.35rem;
}

.blog-toc a {
  color: inherit;
  text-decoration: none;
  display: inline;
  border-radius: 4px;
  transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.blog-toc a:hover {
  color: var(--ink);
}

.blog-toc a.is-active {
  color: var(--ink);
  font-weight: 700;
  background: rgba(198, 240, 0, 0.18);
  box-shadow: inset 3px 0 0 var(--lime-deep);
  padding-left: 0.35rem;
  margin-left: -0.35rem;
}

.blog-layout .blog-answer,
.blog-layout .blog-block,
.blog-layout .blog-cta-repair,
.blog-layout .side-panel {
  scroll-margin-top: 6rem;
}

.blog-answer.is-toc-target,
.blog-block.is-toc-target,
.blog-cta-repair.is-toc-target,
.side-panel.is-toc-target,
.blog-answer:target,
.blog-block:target,
.blog-cta-repair:target,
.side-panel:target {
  box-shadow: inset 3px 0 0 var(--lime);
}



.page-answer {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.service-seo-list {
  display: grid;
  gap: 0.65rem;
  max-width: 52rem;
  margin-inline: auto;
}

.container:has(> .service-seo-list) > .section-head {
  justify-content: center;
  text-align: center;
}

.container:has(> .service-seo-list) > .section-head p {
  margin-inline: auto;
}

.service-seo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  scroll-margin-top: calc(var(--header-offset) + 0.75rem);
}

.service-seo[open] {
  border-color: #c5e86a;
  box-shadow: 0 10px 28px rgba(16, 19, 23, 0.06);
}

.service-seo summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.1rem;
  font-weight: 700;
  font-family: var(--display);
}

.service-seo summary::-webkit-details-marker {
  display: none;
}

.service-seo__body {
  padding: 0 1.1rem 1.05rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.service-seo__body p {
  margin: 0.75rem 0 0;
}

.section-head {
  align-items: flex-start;
}

.blog-answer {
  background: linear-gradient(135deg, #121518 0%, #1a2210 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-answer__label {
  margin: 0 0 0.45rem;
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-answer p:last-child {
  margin: 0;
  line-height: 1.55;
}

.blog-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 18px rgba(16, 19, 23, 0.03);
}

.blog-block h2 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.blog-block > p {
  margin: 0 0 0.7rem;
  color: var(--muted);
}

.blog-bullets,
.blog-steps {
  margin: 0 0 0.7rem;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.blog-bullets li,
.blog-steps li {
  margin-bottom: 0.35rem;
}

.blog-steps {
  list-style: decimal;
}

.blog-block > p:last-child,
.blog-block > ul:last-child,
.blog-block > ol:last-child {
  margin-bottom: 0;
}

.blog-glossary {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.blog-glossary__item {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0.8rem;
  border-left: 3px solid var(--lime-deep);
  background: #f3f5f2;
  border-radius: 0 10px 10px 0;
  color: var(--ink);
}

.blog-glossary__item strong {
  color: var(--ink);
}

.blog-glossary__item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.blog-note {
  margin: 0.85rem 0 0 !important;
  font-size: 0.88rem;
}

.blog-hub-link {
  margin: 1rem 0 0;
}

.blog-cta-repair {
  margin: 1.25rem 0 0;
}

.blog-cta-repair__inner {
  padding: 1.4rem 1.45rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(196, 255, 60, 0.16), transparent 42%),
    linear-gradient(180deg, #15191c, #0f1214);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.blog-cta-repair__label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 700;
}

.blog-cta-repair__inner h2 {
  margin: 0 0 0.55rem;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  line-height: 1.25;
}

.blog-cta-repair__inner > p {
  margin: 0;
  max-width: 46rem;
  color: rgba(255, 255, 255, 0.72);
}

.blog-cta-repair__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.blog-side-card {
  margin-top: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #15191c, #111417);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-side-card strong,
.blog-side-card .brand-name {
  display: block;
  color: #fff;
  font-family: var(--brand);
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.blog-side-card a {
  color: var(--lime);
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--section-y) 0 1.6rem;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  color: #fff;
  font-family: var(--brand);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.brand-name {
  font-family: var(--brand);
  font-weight: 700;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  padding: 3px;
  object-fit: contain;
}

.site-footer h3 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer a:hover {
  color: var(--lime);
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.floating-phone {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.floating-phone:hover {
  transform: translateY(-2px);
}

/* Legacy aliases kept for any leftover markup */
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.adv-grid,
.device-grid,
.service-tiles {
  display: none;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    background: rgba(12, 14, 16, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 0.55rem;
    flex-direction: column;
    gap: 0.15rem;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px);
    animation: rise-in 0.28s var(--ease-out);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
  }

  .header-phone {
    display: none !important;
  }

  .header-meta {
    display: none !important;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    position: relative;
  }

  .device-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .device-mosaic--compact {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid,
  .blog-grid--related {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-toc {
    position: static;
    max-height: none;
  }

  .device-tile--wide {
    grid-column: span 2;
  }

  .process {
    grid-template-columns: 1fr 1fr;
  }

  .content-grid,
  .content-grid--form,
  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }

  .floating-phone {
    display: inline-flex;
  }

  .hero-cinema {
    min-height: 78vh;
  }
}

@media (max-width: 640px) {
  .device-mosaic,
  .device-mosaic--compact {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .blog-grid,
  .blog-grid--related {
    grid-template-columns: 1fr;
  }

  .device-tile {
    min-height: 168px;
  }

  .device-tile--wide {
    grid-column: span 2;
    min-height: 200px;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .hero-cinema__content {
    padding: 4.5rem 0 2.5rem;
  }

  .container {
    width: min(100% - 1.6rem, var(--max));
  }

  :root {
    --section-y: 3rem;
  }
}

@media (hover: none) {
  .device-tile__body span {
    max-height: 4.5em;
    opacity: 0.8;
  }

  .device-tile__body {
    transform: none;
  }

  .device-tile:hover,
  .device-tile.is-in:hover {
    transform:
      translateY(0) scale(1)
      perspective(900px) rotateX(0deg) rotateY(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-cinema__content > *,
  .page-cinema__inner > *,
  .device-tile,
  .device-tile img,
  .btn,
  .nav {
    animation: none !important;
    transition: none !important;
  }

  .js-ready .device-tile:not(.is-in),
  .device-tile {
    opacity: 1 !important;
    transform: none !important;
  }

  .device-tile__body span {
    max-height: none;
    opacity: 0.75;
  }
}
