@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/Outfit-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("/assets/fonts/Roboto_Condensed-700-cyrillic.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #f4efe7;
  --paper-2: #ebe2d6;
  --ink: #202024;
  --muted: #756d66;
  --soft: #ffffff;
  --line: rgba(45, 42, 38, .13);
  --red: #e7312d;
  --red-dark: #b91f22;
  --warm: #d9b56e;
  --olive: #67715f;
  --blue: #2f6b8f;
  --shadow: 0 24px 70px rgba(74, 55, 31, .16);
  --radius: 26px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Outfit, "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(231, 49, 45, .14), transparent 22rem),
    radial-gradient(circle at 88% 3%, rgba(47, 107, 143, .16), transparent 25rem),
    linear-gradient(145deg, #fbf7ef 0%, #efe5d7 48%, #f7f2ea 100%);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .42;
  background-image:
    linear-gradient(rgba(120, 99, 73, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 99, 73, .06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 50% 0%, #000, transparent 78%);
}
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  width: min(1160px, calc(100% - 32px));
  height: 66px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 14px 0 20px;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 999px;
  background: rgba(255, 251, 244, .78);
  backdrop-filter: blur(24px);
  box-shadow: 0 16px 46px rgba(70, 49, 28, .13);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 251, 244, .94);
  border-color: rgba(45, 42, 38, .10);
  box-shadow: 0 18px 58px rgba(70, 49, 28, .18);
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 112px; height: auto; }
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(32,32,36,.72);
  font-size: 14px;
}
.desktop-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.desktop-nav a:hover { color: var(--ink); background: rgba(231,49,45,.08); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.opt-link,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  font-weight: 700;
}
.opt-link,
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 28px rgba(231,49,45,.24);
}
.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.66);
}
.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}
.mobile-menu {
  position: fixed;
  inset: 94px 16px auto;
  z-index: 19;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 251, 244, .96);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}
.mobile-menu a {
  padding: 13px 15px;
  border-radius: 14px;
  background: #fff;
}
main { padding-top: 94px; }
.hero,
.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}
.hero {
  position: relative;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .72fr);
  align-items: center;
  gap: 34px;
  padding: 44px 0 42px;
}
.hero::before {
  content: "";
  position: absolute;
  left: 42%;
  top: 16px;
  width: 190px;
  height: 190px;
  border-radius: 52px;
  background: linear-gradient(135deg, rgba(231,49,45,.18), rgba(217,181,110,.28));
  transform: rotate(18deg);
  filter: blur(.2px);
  z-index: -1;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: floatGlow 8s ease-in-out infinite;
}
.hero-glow-a { width: 320px; height: 320px; left: -170px; top: 20px; background: rgba(231,49,45,.10); filter: blur(40px); }
.hero-glow-b { width: 300px; height: 300px; right: 60px; bottom: 5px; background: rgba(47,107,143,.11); filter: blur(42px); animation-delay: -3s; }
.eyebrow,
.section-kicker,
.panel-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(231,49,45,.20);
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(255,255,255,.72);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
}
.hero h1,
.section-head h2,
.video-copy h2,
.about-card h2,
.contact-panel h2,
.article-hero h1 {
  margin: 15px 0 0;
  font-family: "Roboto Condensed", Impact, sans-serif;
  letter-spacing: .01em;
  line-height: .98;
  text-transform: uppercase;
}
.hero h1 { max-width: 760px; font-size: clamp(42px, 6.2vw, 82px); }
.hero-lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.52;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}
.hero-stats div,
.principle,
.news-card,
.contact-panel,
.map-card,
.about-card,
.product-panel {
  border: 1px solid rgba(255,255,255,.78);
  background: rgba(255,255,255,.68);
  box-shadow: var(--shadow);
}
.hero-stats div { padding: 15px; border-radius: 20px; }
.hero-stats strong { display: block; font-size: 22px; color: var(--ink); }
.hero-stats span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.32; }
.hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}
.device-card {
  position: relative;
  width: min(100%, 380px);
  padding: 14px;
  border: 1px solid rgba(32,32,36,.13);
  border-radius: 32px;
  background: linear-gradient(160deg, #222428, #0f1114);
  box-shadow: 0 34px 80px rgba(42, 35, 27, .28), inset 0 1px 0 rgba(255,255,255,.18);
  transform: rotate(-3deg);
  animation: deviceFloat 5.8s ease-in-out infinite;
}
.device-screen {
  position: relative;
  overflow: hidden;
  min-height: 255px;
  border-radius: 23px;
  background:
    radial-gradient(circle at 25% 20%, rgba(231,49,45,.62), transparent 25%),
    radial-gradient(circle at 74% 80%, rgba(217,181,110,.42), transparent 28%),
    linear-gradient(135deg, #0b0c0e, #222936);
}
.screen-top {
  width: 110px;
  height: 8px;
  margin: 17px auto 0;
  border-radius: 999px;
  background: rgba(255,255,255,.24);
}
.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 42px 24px 0;
}
.screen-grid span {
  height: 64px;
  border-radius: 17px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
}
.screen-wave {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: 20px;
  height: 48px;
  background: linear-gradient(90deg, transparent, rgba(231,49,45,.75), rgba(217,181,110,.75), transparent);
  filter: blur(15px);
  animation: wave 4s ease-in-out infinite;
}
.device-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  color: #bdb5ac;
  font-size: 13px;
}
.device-caption strong { color: #fff; }
.orbit {
  position: absolute;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
  color: var(--red-dark);
  font-weight: 800;
  box-shadow: var(--shadow);
}
.orbit-one { top: 30px; left: 22px; animation: orbit 7s ease-in-out infinite; }
.orbit-two { right: 10px; top: 120px; animation: orbit 6s ease-in-out infinite reverse; }
.orbit-three { left: 36px; bottom: 58px; animation: orbit 8s ease-in-out infinite; }
.section { padding: 58px 0; }
.strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  padding: 0 0 22px;
}
.strip-item {
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 18px;
  color: rgba(32,32,36,.75);
  background: rgba(255,255,255,.55);
}
.section-head { max-width: 760px; margin-bottom: 24px; }
.section-head h2,
.video-copy h2,
.about-card h2,
.contact-panel h2 { font-size: clamp(32px, 4.2vw, 58px); }
.section-head p,
.video-copy p,
.about-card p,
.principle p,
.product-panel p,
.article-body p,
.article-body li {
  color: var(--muted);
  line-height: 1.58;
  font-size: 16px;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.tab {
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.tab:hover { transform: translateY(-2px); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.product-panel {
  position: relative;
  overflow: hidden;
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(245px, .44fr);
  gap: 26px;
  padding: clamp(24px, 3.2vw, 36px);
  border-radius: var(--radius);
}
.product-panel::after {
  content: "";
  position: absolute;
  right: -52px;
  top: -52px;
  width: 160px;
  height: 160px;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(231,49,45,.18), rgba(47,107,143,.16));
  transform: rotate(22deg);
}
.product-panel.is-active { display: grid; }
.product-panel h3 {
  margin: 16px 0 0;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.02;
}
.product-panel ul {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.product-panel li {
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  color: rgba(32,32,36,.78);
}
.video-section {
  display: grid;
  grid-template-columns: .7fr 1fr;
  gap: 28px;
  align-items: center;
}
.video-frame {
  position: relative;
  overflow: hidden;
  border: 8px solid rgba(255,255,255,.88);
  border-radius: var(--radius);
  background: #111;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.about {
  display: grid;
  grid-template-columns: .82fr 1fr;
  gap: 20px;
}
.about-card { padding: clamp(24px, 3.4vw, 36px); border-radius: var(--radius); }
.principles { display: grid; gap: 14px; }
.principle { padding: 22px; border-radius: 23px; }
.principle span { color: var(--red-dark); font-weight: 800; }
.principle h3 { margin: 10px 0 0; font-size: 23px; }
.news-shell {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
}
.news-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(285px, 32%);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 6px;
}
.news-track::-webkit-scrollbar { display: none; }
.news-card {
  min-height: 228px;
  scroll-snap-align: start;
  padding: 22px;
  border-radius: 24px;
  transition: transform .25s ease, border-color .25s ease;
}
.news-card:hover { transform: translateY(-5px) rotate(-.4deg); border-color: rgba(231,49,45,.32); }
.news-card span { color: var(--red-dark); font-size: 13px; }
.news-card h3 { margin: 15px 0 0; font-size: 25px; line-height: 1.08; }
.news-card p { color: var(--muted); line-height: 1.5; }
.carousel-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.76);
  color: var(--ink);
  font-size: 21px;
  cursor: pointer;
}
.contacts {
  display: grid;
  grid-template-columns: .82fr 1fr;
  gap: 22px;
}
.contact-panel { padding: clamp(24px, 3.4vw, 36px); border-radius: var(--radius); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.contact-grid a,
.contact-grid span {
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  color: rgba(32,32,36,.82);
}
.map-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #f7f1df;
  isolation: isolate;
}
.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(128,161,117,.24) 12%, transparent 12% 88%, rgba(128,161,117,.18) 88%),
    linear-gradient(rgba(100,130,151,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,130,151,.12) 1px, transparent 1px),
    radial-gradient(circle at 18% 20%, rgba(118,162,115,.23), transparent 19%),
    radial-gradient(circle at 84% 76%, rgba(118,162,115,.20), transparent 24%),
    #f5eedc;
  background-size: auto, 42px 42px, 42px 42px, auto, auto, auto;
}
.map-topbar,
.map-label,
.map-zoom {
  position: absolute;
  z-index: 3;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(70,49,28,.13);
}
.map-topbar {
  left: 18px;
  right: 18px;
  top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 18px;
}
.map-topbar span { color: #d52020; font-weight: 800; }
.map-topbar strong { color: rgba(32,32,36,.62); font-size: 13px; }
.map-road {
  position: absolute;
  z-index: 1;
  height: 18px;
  border-radius: 999px;
  background: #fff8d1;
  border: 2px solid #f1d86d;
  box-shadow: 0 2px 0 rgba(0,0,0,.04);
}
.map-road-a { width: 78%; left: -8%; top: 45%; transform: rotate(-13deg); }
.map-road-b { width: 60%; right: -8%; top: 62%; transform: rotate(18deg); }
.map-road-c { width: 52%; left: 18%; top: 28%; transform: rotate(35deg); background: #fff; border-color: #d7d2c6; }
.map-zoom {
  right: 18px;
  top: 76px;
  display: grid;
  overflow: hidden;
  border-radius: 14px;
}
.map-zoom span {
  width: 38px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.map-zoom span + span { border-top: 1px solid rgba(0,0,0,.08); }
.map-pin {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 52%;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 50% 50% 50% 4px;
  background: #e72929;
  box-shadow: 0 0 0 14px rgba(231,49,45,.13), 0 0 0 31px rgba(231,49,45,.08);
}
.map-label {
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 5px;
  padding: 16px;
  border-radius: 18px;
}
.map-label strong { font-size: 18px; }
.map-label span { color: var(--muted); }
.footer {
  width: min(1160px, calc(100% - 32px));
  margin: 18px auto 30px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) .55fr .55fr;
  gap: 26px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 8%, rgba(231,49,45,.10), transparent 26%),
    rgba(255,255,255,.66);
  box-shadow: var(--shadow);
}
.footer img { width: 112px; }
.footer p,
.footer-meta { color: var(--muted); line-height: 1.5; }
.footer-brand p { max-width: 360px; margin: 16px 0 0; }
.footer-col {
  display: grid;
  align-content: start;
  gap: 8px;
}
.footer-col h3 {
  margin: 0 0 7px;
  font-size: 14px;
  color: rgba(32,32,36,.52);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-col a {
  width: fit-content;
  padding: 7px 0;
  color: rgba(32,32,36,.82);
}
.footer-col a:hover { color: var(--red-dark); }
.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.article-page main { padding-top: 112px; }
.article-hero,
.article-body {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
}
.article-hero { padding: 42px 0 18px; }
.article-hero h1 { font-size: clamp(38px, 5.4vw, 66px); }
.article-meta { margin-top: 14px; color: var(--red-dark); }
.article-body { padding: 18px 0 70px; }
.article-body .article-card {
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: var(--radius);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow);
}
.back-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--red-dark);
}

@keyframes floatGlow {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(24px, -16px, 0) scale(1.06); }
}
@keyframes deviceFloat {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-12px); }
}
@keyframes wave {
  0%, 100% { transform: translateX(-18%); opacity: .62; }
  50% { transform: translateX(18%); opacity: .95; }
}
@keyframes orbit {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(8px, -14px, 0); }
}

@media (max-width: 920px) {
  .desktop-nav { display: none; }
  .menu-btn { display: block; }
  .mobile-menu.is-open { display: flex; }
  .hero,
  .video-section,
  .about,
  .contacts,
  .product-panel,
  .footer {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 22px; gap: 20px; }
  .hero-visual { min-height: 360px; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .news-track { grid-auto-columns: minmax(280px, 72%); }
}
@media (max-width: 620px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    height: 62px;
    padding-left: 15px;
  }
  .brand img { width: 96px; }
  .opt-link { display: none; }
  main { padding-top: 82px; }
  .hero,
  .section,
  .footer,
  .article-hero,
  .article-body { width: min(100% - 22px, 1160px); }
  .hero h1 { font-size: clamp(38px, 12.2vw, 56px); }
  .hero-stats,
  .contact-grid,
  .strip { grid-template-columns: 1fr; }
  .hero-visual { min-height: 305px; }
  .device-card { width: 91%; }
  .device-screen { min-height: 205px; }
  .screen-grid { padding: 33px 17px 0; gap: 8px; }
  .screen-grid span { height: 48px; }
  .orbit { width: 54px; height: 54px; font-size: 12px; }
  .section { padding: 44px 0; }
  .news-shell { grid-template-columns: 1fr; }
  .carousel-btn { display: none; }
  .news-track { grid-auto-columns: minmax(254px, 86%); }
  .footer { padding: 22px; }
  .footer-meta { flex-direction: column; }
}
