:root {
  --ink: #1d252c;
  --muted: #65717d;
  --line: #d9e0e6;
  --soft: #f3f6f8;
  --white: #ffffff;
  --red: #c91d22;
  --red-dark: #99161a;
  --blue: #176b91;
  --shadow: 0 22px 70px rgba(23, 35, 45, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  line-height: 1.6;
}

body[dir="rtl"] {
  font-family: Tahoma, Arial, Helvetica, sans-serif;
}

html[lang="ru"] body {
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 224, 230, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 15px;
}

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

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.language-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 420px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--red);
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  text-align: center;
}

.button:hover {
  background: var(--red-dark);
}

.button-secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--red);
  background: var(--white);
  color: var(--red);
}

.button-small {
  min-height: 42px;
  padding-inline: 16px;
}

.button-full {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 76px);
  padding: clamp(42px, 8vw, 96px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(243, 246, 248, 0.95), rgba(243, 246, 248, 0.58)),
    var(--soft);
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-copy,
.section-heading p,
.copy-stack p,
.contact-section p {
  color: var(--muted);
  font-size: 18px;
}

.hero-points {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-inline-start: 20px;
}

.hero-points li::before {
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.hero-media {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: min(62vh, 660px);
  object-fit: cover;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-bar div {
  padding: 24px clamp(18px, 4vw, 56px);
  border-inline-end: 1px solid var(--line);
}

.trust-bar div:last-child {
  border-inline-end: 0;
}

.trust-bar strong {
  display: block;
  color: var(--red);
  font-size: 30px;
  line-height: 1;
}

.trust-bar span {
  color: var(--muted);
}

.section {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-card img,
.product-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.product-card div:not(.product-placeholder) {
  padding: 22px;
}

.product-card p,
.capability p {
  margin-bottom: 0;
  color: var(--muted);
}

.product-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--red);
  font-weight: 700;
}

.product-card-accent {
  background: var(--ink);
  color: var(--white);
}

.product-card-accent p {
  color: rgba(255, 255, 255, 0.72);
}

.product-placeholder {
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(201, 29, 34, 0.88), rgba(23, 107, 145, 0.9)),
    var(--blue);
  font-size: 28px;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.copy-stack {
  max-width: 740px;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.spec-section {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.spec-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.spec-table div {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.spec-table div:last-child {
  border-bottom: 0;
}

.spec-table strong {
  color: var(--ink);
}

.spec-table span {
  color: var(--muted);
}

.service-section {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--red);
  font-weight: 800;
}

.service-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.media-section {
  color: var(--white);
  background: var(--ink);
}

.media-section .eyebrow,
.media-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.video-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.video-showcase figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-showcase img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-showcase figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 37, 44, 0.02), rgba(29, 37, 44, 0.55));
  content: "";
}

.play-badge {
  position: absolute;
  inset-inline-start: 24px;
  bottom: 24px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 48px;
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
}

.video-showcase ul {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding-inline-start: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.blog-section {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-grid article {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.blog-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-grid p {
  color: var(--muted);
}

.blog-grid a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--red);
  font-weight: 700;
}

.capability {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.capability span {
  display: block;
  margin-bottom: 28px;
  color: var(--red);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(54px, 8vw, 104px) clamp(18px, 4vw, 56px);
  color: var(--white);
  background: var(--ink);
}

.contact-section .eyebrow,
.contact-section p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-row {
  display: block;
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.contact-row + .contact-row,
.contact-row + .button {
  margin-top: 10px;
}

.contact-row span,
.contact-row strong {
  display: block;
}

.contact-row span {
  color: var(--muted);
  font-size: 14px;
}

.social-block {
  margin-top: 10px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.social-block > span {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.social-links a:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

body[dir="rtl"] .hero {
  background:
    linear-gradient(270deg, rgba(243, 246, 248, 0.95), rgba(243, 246, 248, 0.58)),
    var(--soft);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .split-section,
  .contact-section,
  .video-showcase {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    height: auto;
  }

  .product-grid,
  .capabilities,
  .service-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: auto;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .button {
    flex: 1;
  }

  .language-links {
    flex: 1;
  }

  .lang-toggle {
    flex: 1;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-bar {
    grid-template-columns: 1fr;
  }

  .trust-bar div {
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-bar div:last-child {
    border-bottom: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .spec-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
