/* KINETIC-СЕРВИС — дизайн-система (v2: палитра, свет, тени) + UX */

:root {
  color-scheme: light;

  /* Нейтрали: тёплая «бумага», без холодной серости */
  --bg: #ebe6dc;
  --bg-deep: #d9d2c6;
  --bg-elevated: #f5f1ea;
  --surface: #fdfbf7;
  --surface-muted: #f8f5ef;
  --surface-glass: rgba(253, 251, 247, 0.82);
  --band: linear-gradient(
    165deg,
    rgba(255, 253, 248, 0.97) 0%,
    rgba(245, 238, 228, 0.65) 42%,
    rgba(232, 224, 212, 0.45) 100%
  );
  --border: rgba(45, 55, 72, 0.08);
  --border-strong: rgba(26, 32, 44, 0.11);
  --border-accent: rgba(194, 65, 12, 0.14);

  --text: #1b2230;
  --muted: #5e6778;
  --fog: rgba(90, 100, 120, 0.09);

  --accent: #3d4f64;
  --accent-soft: #5a6b7e;
  --accent-dim: rgba(61, 79, 100, 0.16);
  --ink: #101620;
  --logo-ink: #1a2332;
  --warm: #4a5568;

  /* Акценты: терракота + бирюза (пара, не конкурируют) */
  --brand: #c2410c;
  --brand-hover: #9a3412;
  --brand-soft: rgba(194, 65, 12, 0.1);
  --brand-mid: rgba(194, 65, 12, 0.18);
  --teal: #0d9488;
  --teal-deep: #0f766e;
  --teal-soft: rgba(13, 148, 136, 0.11);

  /* Telegram: ближе к узнаваемому сине-лазурному */
  --tg: #229ed9;
  --tg-deep: #1a8cc7;
  --tg-hover: #1784b4;
  --tg-glow: rgba(34, 158, 217, 0.22);

  --gradient-hero-mesh:
    radial-gradient(ellipse 85% 65% at 0% 0%, rgba(194, 65, 12, 0.13), transparent 58%),
    radial-gradient(ellipse 75% 60% at 100% 15%, rgba(13, 148, 136, 0.1), transparent 52%),
    radial-gradient(ellipse 55% 45% at 55% 100%, rgba(61, 79, 100, 0.07), transparent 50%);

  --focus-ring: 0 0 0 3px rgba(194, 65, 12, 0.28), 0 0 0 5px rgba(13, 148, 136, 0.12);

  --radius: 20px;
  --radius-sm: 14px;
  --radius-xs: 9px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-hero: "Manrope", system-ui, sans-serif;
  --font-display: "Lora", Georgia, serif;
  --font-logo: "Bebas Neue", Impact, sans-serif;

  --shadow-sm: 0 1px 3px rgba(16, 22, 32, 0.05), 0 1px 2px rgba(16, 22, 32, 0.04);
  --shadow-md: 0 10px 40px rgba(16, 22, 32, 0.08), 0 2px 8px rgba(16, 22, 32, 0.04);
  --shadow-lg: 0 24px 64px rgba(16, 22, 32, 0.1), 0 8px 24px rgba(16, 22, 32, 0.05);
  --shadow-inset-light: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.2s;

  --mobile-nav-strip: 3.85rem;
  --mobile-cta-strip: 3.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  /* UA и «auto» дают I-beam над текстом; !important перебивает везде, кроме блока ниже */
  cursor: default !important;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-copy,
  .hero-art {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.62;
  letter-spacing: 0.01em;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -15%, rgba(255, 252, 245, 0.9), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(194, 65, 12, 0.07), transparent),
    radial-gradient(ellipse 45% 35% at 0% 100%, rgba(13, 148, 136, 0.08), transparent),
    linear-gradient(180deg, var(--bg) 0%, #e3ddd2 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

main,
footer,
.site-header {
  position: relative;
  z-index: 1;
}

::selection {
  background: rgba(194, 65, 12, 0.22);
  color: var(--ink);
}

a {
  cursor: pointer !important;
  color: var(--accent-soft);
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
}

a:hover {
  color: var(--accent);
}

/* Поверх * { cursor: default !important } */
button,
summary,
select {
  cursor: pointer !important;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="search"],
input[type="password"],
input[type="url"],
input[type="number"],
input:not([type]),
textarea {
  cursor: text !important;
}

input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="file"],
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer !important;
}

label[for] {
  cursor: pointer !important;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  font-weight: 600;
  color: var(--ink);
}

.skip-link:focus {
  left: 0.5rem;
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-dim);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1080px, calc(100% - var(--space-8)));
  margin-inline: auto;
}

/* Логотип */
.logo {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.12em 0.2em;
  text-decoration: none;
  color: inherit;
  line-height: 1;
}

.logo-kinetic {
  font-family: var(--font-logo);
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--logo-ink);
  text-transform: uppercase;
}

.logo-sub {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5c4d42;
  margin-left: 0.05em;
}

/* Шапка */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  isolation: isolate;
  background: var(--surface-glass);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm), 0 12px 40px rgba(16, 22, 32, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  flex-wrap: wrap;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  align-items: center;
}

.nav a {
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: var(--space-2) 0;
  border-radius: var(--radius-xs);
}

.nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  position: relative;
  z-index: 2;
}

/* Одна ссылка tel: только номер в разметке; подпись — в aria-label (без дубля «Позвонить» из ::before) */
.header-phone {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  margin: 0;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
  white-space: nowrap;
  border-radius: var(--radius-sm);
  -webkit-tap-highlight-color: rgba(194, 65, 12, 0.25);
  touch-action: manipulation;
  text-decoration: none;
}

.header-phone:hover {
  color: var(--brand-hover);
  background: var(--brand-soft);
}

.header-tg {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  margin: 0;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--tg-deep);
  -webkit-tap-highlight-color: var(--tg-glow);
  touch-action: manipulation;
}

.header-tg:hover {
  color: var(--tg-hover);
  background: rgba(34, 158, 217, 0.1);
}

.header-tg-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.header-tg-text {
  display: inline;
}

@media (max-width: 900px) {
  .header-tg-text {
    display: none;
  }

  .header-tg {
    padding: 0.45rem;
    border-radius: 0.75rem;
  }
}

@media (max-width: 768px) {
  .header-inner .nav {
    display: none;
  }

  .header-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .logo {
    flex: 1;
    min-width: 0;
  }

  .header-actions {
    flex-shrink: 0;
  }

  .header-phone {
    font-size: 0.875rem;
    padding: 0.35rem 0.5rem;
  }
}

/* Герой */
.hero {
  padding: var(--space-16) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-mesh);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 10%;
  right: -5%;
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  background: radial-gradient(circle, rgba(194, 65, 12, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: hero-in 0.85s var(--ease-out) both;
  }

  .hero-art {
    animation: hero-in 0.85s var(--ease-out) 0.12s both;
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-8) var(--space-10);
  align-items: start;
}

.hero-copy {
  min-width: 0;
  padding-top: 0.15rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero-art {
    max-width: min(420px, 100%);
    margin-inline: auto;
  }

  .hero-copy {
    order: -1;
  }
}

.hero-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-hover);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 243, 224, 0.5));
  border: 1px solid var(--border-accent);
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-inset-light), 0 4px 14px rgba(194, 65, 12, 0.06);
}

.hero-title {
  font-family: var(--font-hero);
  font-size: clamp(1.7rem, 3.3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.24;
  margin: 0 0 var(--space-5);
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 22ch;
  font-feature-settings: "kern" 1;
  text-wrap: balance;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.0625rem;
  margin: 0 0 var(--space-5);
  max-width: 38ch;
  line-height: 1.65;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  list-style: none;
  margin: 0 0 var(--space-6);
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.trust-strip li {
  position: relative;
  padding-left: 1.1rem;
}

.trust-strip li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--teal));
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  transition:
    transform var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out),
    background var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn--block {
  width: 100%;
}

.btn-tg {
  background: linear-gradient(165deg, #3db3eb 0%, var(--tg) 38%, var(--tg-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-md), var(--shadow-inset-light), 0 0 24px var(--tg-glow);
}

.btn-tg:hover {
  background: linear-gradient(165deg, #4fc0f7 0%, #2eb5ea 45%, var(--tg-hover) 100%);
  color: #fff;
  box-shadow: var(--shadow-lg), var(--shadow-inset-light), 0 0 32px var(--tg-glow);
  transform: translateY(-1px);
}

.btn-call {
  background: linear-gradient(165deg, #2a3544 0%, #1a2230 100%);
  color: #f8fafc;
  box-shadow: var(--shadow-md), var(--shadow-inset-light);
}

.btn-call:hover {
  background: linear-gradient(165deg, #3d4d62 0%, #252f3f 100%);
  color: #fff;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(165deg, #5a6578 0%, var(--accent) 48%, #2d3a4a 100%);
  color: #fafafa;
  box-shadow: var(--shadow-md), var(--shadow-inset-light);
}

.btn-primary:hover {
  background: linear-gradient(165deg, #6a7588 0%, #4a5d73 50%, #354555 100%);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-inset-light);
}

.btn-ghost:hover {
  border-color: rgba(194, 65, 12, 0.38);
  color: var(--brand-hover);
  background: var(--surface);
}

.hero-art {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #fffefb 0%, var(--surface-muted) 55%, #ebe4d8 100%);
  border: 1px solid var(--border);
  box-shadow:
    var(--shadow-lg),
    var(--shadow-inset-light),
    0 0 48px rgba(194, 65, 12, 0.07),
    0 0 80px rgba(13, 148, 136, 0.04);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  align-self: start;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.25), rgba(13, 148, 136, 0.2), transparent 60%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-art svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-art .ha-laptop-float,
.hero-art .ha-phone-float {
  transform-box: fill-box;
  transform-origin: 50% 40%;
  animation: ha-float 5.2s ease-in-out infinite;
}

.hero-art .ha-phone-float {
  animation-duration: 4.8s;
  animation-delay: 0.35s;
}

.hero-art .ha-connect {
  animation: ha-dash 2.4s linear infinite;
}

@keyframes ha-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes ha-dash {
  to {
    stroke-dashoffset: -48;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art .ha-laptop-float,
  .hero-art .ha-phone-float,
  .hero-art .ha-connect {
    animation: none;
  }
}

/* Преимущества (под героем — на всю ширину контейнера, 3 колонки) */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  width: 100%;
}

.features--hero {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
  gap: var(--space-5);
}

@media (max-width: 768px) {
  .features {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .features--hero {
    padding-top: var(--space-6);
    margin-top: var(--space-8);
  }
}

.feature-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-muted) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-5) var(--space-5);
  box-shadow: var(--shadow-sm), var(--shadow-inset-light);
  transition:
    transform var(--duration) var(--ease-spring),
    box-shadow var(--duration) var(--ease-out),
    border-color var(--duration);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 16px 48px rgba(194, 65, 12, 0.08);
  border-color: var(--border-accent);
}

.feature-card h3 {
  font-size: 0.9375rem;
  margin: 0 0 var(--space-2);
  font-weight: 600;
  color: var(--ink);
}

.feature-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  background: linear-gradient(145deg, var(--brand-soft), var(--teal-soft));
  border: 1px solid rgba(194, 65, 12, 0.1);
  box-shadow: var(--shadow-inset-light);
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin: 0;
  color: #2d4a5e;
}

.feature-card:hover .feature-icon {
  color: var(--brand);
}

/* Секции */
.section {
  padding: var(--space-16) 0;
}

.section--band {
  background: var(--band);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid var(--border);
}

.section-label {
  position: relative;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-hover);
  margin: 0 0 var(--space-3);
  padding-left: calc(var(--space-3) + 10px);
}

.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brand), var(--teal));
}

.section-lead {
  margin: calc(-1 * var(--space-4)) 0 var(--space-8);
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.section-lead.u-text-center {
  margin-left: auto;
  margin-right: auto;
}

section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 1.95rem);
  font-weight: 600;
  margin: 0 0 var(--space-8);
  letter-spacing: 0.01em;
  line-height: 1.28;
  color: var(--ink);
}

section h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: var(--space-4);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--teal));
}

section h2.u-text-center::after {
  margin-left: auto;
  margin-right: auto;
}

.section--band h2 {
  margin-bottom: var(--space-4);
}

.process-steps {
  list-style: none;
  margin: 0 0 var(--space-10);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  counter-reset: step;
}

.process-steps li {
  margin: 0;
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--space-4);
  row-gap: 0.35rem;
  align-items: start;
  min-width: 0;
}

.process-steps li::before {
  counter-increment: step;
  content: counter(step);
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-hover) 100%);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(194, 65, 12, 0.25);
  flex-shrink: 0;
}

.process-steps strong {
  grid-column: 2;
  grid-row: 1;
  display: block;
  font-size: 0.9375rem;
  color: var(--ink);
  margin: 0;
}

.process-steps span {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* Устройства */
.devices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

@media (max-width: 900px) {
  .devices {
    grid-template-columns: repeat(2, 1fr);
  }
}

.device-tile {
  background: linear-gradient(180deg, #fffefa 0%, var(--surface-muted) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-6) var(--space-4);
  text-align: center;
  font-weight: 600;
  font-size: 0.90625rem;
  color: var(--text);
  transition:
    border-color var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-spring),
    box-shadow var(--duration) var(--ease-out);
  box-shadow: var(--shadow-inset-light);
}

.device-tile:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), 0 10px 36px rgba(194, 65, 12, 0.09);
}

.device-tile .emoji {
  font-size: 1.85rem;
  margin-bottom: var(--space-3);
  line-height: 1;
  filter: grayscale(0.12);
}

/* Услуги списком */
.services-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  max-width: 700px;
  margin: 0 auto var(--space-8);
}

@media (max-width: 600px) {
  .services-two-col {
    grid-template-columns: 1fr;
  }
}

.services-two-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-two-col li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.services-two-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.65;
}

/* CTA */
.cta-band {
  background: linear-gradient(
    155deg,
    rgba(255, 253, 248, 0.99) 0%,
    rgba(236, 253, 249, 0.45) 45%,
    rgba(250, 246, 238, 0.98) 100%
  );
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-8) var(--space-8);
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--shadow-md), var(--shadow-inset-light);
  position: relative;
}

.cta-band--secondary {
  border-style: dashed;
  border-color: rgba(58, 77, 97, 0.25);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.35), rgba(13, 148, 136, 0.25), transparent 65%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 var(--space-3);
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--ink);
}

.cta-band p {
  color: var(--muted);
  margin: 0 0 var(--space-6);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-align: left;
}

.cta-form input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--duration), box-shadow var(--duration);
}

.cta-form input::placeholder {
  color: var(--muted);
}

.cta-form input:hover {
  border-color: rgba(58, 77, 97, 0.25);
}

.cta-form input:focus {
  outline: none;
  border-color: rgba(194, 65, 12, 0.45);
  box-shadow: var(--focus-ring);
}

/* О сервисе */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: start;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-text {
  max-width: 52ch;
}

.about-text p {
  color: var(--muted);
  margin: 0 0 var(--space-4);
  line-height: 1.65;
}

.about-text blockquote {
  margin: 0 0 var(--space-6);
  padding: var(--space-5) var(--space-6);
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: normal;
  font-weight: 500;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.65;
  box-shadow: var(--shadow-sm);
}

.about-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 500px) {
  .about-mini-grid {
    grid-template-columns: 1fr;
  }
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
  font-size: 0.875rem;
  line-height: 1.5;
  transition: box-shadow var(--duration);
}

.about-card:hover {
  box-shadow: var(--shadow-sm);
}

.about-card strong {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--text);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about-card span {
  color: var(--muted);
}

.about-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.about-visual svg {
  width: min(100%, 300px);
  opacity: 0.95;
}

/* Прайс */
.price-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.price-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 var(--space-8);
  text-align: center;
  line-height: 1.5;
}

#price h2 {
  margin-bottom: var(--space-4);
}

details.price-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
  overflow: hidden;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

details.price-group[open] {
  border-color: rgba(58, 77, 97, 0.18);
  box-shadow: var(--shadow-md);
}

.price-group summary {
  list-style: none;
  padding: var(--space-5) var(--space-6);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  color: var(--ink);
  transition: background var(--duration);
}

.price-group summary:hover {
  background: rgba(58, 77, 97, 0.04);
}

.price-group summary::-webkit-details-marker {
  display: none;
}

.price-group summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent-soft);
  border-bottom: 2px solid var(--accent-soft);
  transform: rotate(45deg);
  transition: transform var(--duration) var(--ease-out);
  flex-shrink: 0;
  margin-top: -4px;
}

.price-group[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.price-table-wrap {
  padding: 0 var(--space-6) var(--space-5);
  overflow-x: auto;
}

table.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84375rem;
}

.price-table tbody tr {
  transition: background var(--duration);
}

.price-table tbody tr:nth-child(even) {
  background: rgba(58, 77, 97, 0.035);
}

.price-table tbody tr:hover {
  background: rgba(58, 77, 97, 0.07);
}

.price-table td {
  padding: 0.65rem 0.45rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.price-table td:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--warm);
}

.price-table tr:last-child td {
  border-bottom: none;
}

/* Карта */
.map-section {
  padding: 0;
  margin-top: var(--space-4);
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.04);
  position: relative;
}

.map-header {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-elevated) 100%);
  border-bottom: 1px solid var(--border);
  padding: var(--space-8) 0 var(--space-6);
}

.map-header-inner {
  text-align: center;
}

.map-heading {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  margin: 0 0 var(--space-3);
  color: var(--ink);
}

.map-heading::after {
  display: none;
}

.map-lead {
  margin: 0 auto;
  max-width: 42ch;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

.map-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--brand), var(--teal), rgba(58, 77, 97, 0.25));
  z-index: 2;
  pointer-events: none;
}

.map-frame {
  width: 100%;
  height: min(400px, 55vh);
  border: none;
  display: block;
  filter: grayscale(0.25) contrast(0.97);
}

/* Подвал */
.site-footer {
  background: linear-gradient(
    185deg,
    #e8e2d8 0%,
    var(--bg-deep) 42%,
    #cfc7b8 100%
  );
  border-top: 1px solid rgba(45, 55, 72, 0.1);
  padding: var(--space-12) 0 var(--space-8);
  box-shadow: 0 -16px 48px rgba(16, 22, 32, 0.06);
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6) var(--space-10);
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.footer-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text);
}

.footer-item svg {
  flex-shrink: 0;
  opacity: 0.75;
}

.footer-item a {
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
}

.footer-item a:hover {
  color: var(--accent);
}

.footer-tagline {
  text-align: center;
  color: var(--muted);
  font-size: 0.90625rem;
  margin: 0 0 var(--space-6);
  line-height: 1.5;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-5);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  align-items: center;
}

.footer-social a.icon-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  transition:
    border-color var(--duration),
    transform var(--duration) var(--ease-out),
    color var(--duration),
    box-shadow var(--duration);
}

.footer-social a.icon-round:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.footer-social svg {
  width: 22px;
  height: 22px;
}

.footer-copy {
  text-align: center;
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.footer-copy .logo-inline {
  font-family: var(--font-logo);
  letter-spacing: 0.08em;
  color: var(--logo-ink);
}

/* Полоска звонок + Telegram (над нижней навигацией) */
.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--mobile-nav-strip);
  z-index: 92;
  padding: 0.5rem 0.75rem;
  gap: 0.5rem;
  background: rgba(253, 251, 247, 0.94);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 32px rgba(16, 22, 32, 0.07);
}

.mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform var(--duration), box-shadow var(--duration);
}

.mobile-cta-btn:active {
  transform: scale(0.98);
}

.mobile-cta-btn--call {
  background: linear-gradient(165deg, #1e293b 0%, #0f172a 100%);
  color: #f8fafc;
  box-shadow: var(--shadow-sm);
}

.mobile-cta-btn--tg {
  background: linear-gradient(165deg, #3db3eb 0%, var(--tg) 45%, var(--tg-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm), 0 0 20px var(--tg-glow);
}

/* Мобильная навигация */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 91;
  background: rgba(240, 237, 231, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-strong);
  padding: var(--space-2) var(--space-2) calc(var(--space-2) + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.06);
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
  }

  .mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  body {
    padding-bottom: calc(var(--mobile-nav-strip) + var(--mobile-cta-strip) + env(safe-area-inset-bottom, 0px));
  }
}

.mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--muted);
  padding: var(--space-2);
  min-width: 3rem;
  border-radius: var(--radius-xs);
  -webkit-tap-highlight-color: rgba(194, 65, 12, 0.15);
  touch-action: manipulation;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: var(--accent);
}

.mobile-nav svg {
  width: 22px;
  height: 22px;
}

.u-text-center {
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
