:root {
  --navy: #08172e;
  --navy-2: #0d2140;
  --red: #e31e24;
  --red-dark: #c11117;
  --ink: #08172e;
  --ink-soft: #777c83;
  --paper: #ffffff;
  --paper-soft: #f4f5f7;
  --line: #e6e8ec;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, sans-serif;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .font-display {
  font-family: 'Tektur', 'Montserrat', sans-serif;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0;
  text-transform: uppercase;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar {
  background: var(--navy);
  color: #c7cbd6;
  font-size: 13px;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 57px; }
.topbar-left { display: flex; gap: 24px; align-items: center; }
.topbar-left span { display: flex; align-items: center; gap: 7px; }
.topbar-left i, .topbar-left .as-icon { color: var(--red); width: 14px; text-align: center; }
.topbar-social { display: flex; gap: 8px; }
.topbar-social a {
  width: 26px; height: 26px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; transition: background .2s; font-size: 13px;
}
.topbar-social a:hover { background: var(--red); }

/* Header */
header.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
header.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 124px; }
.logo { display: flex; align-items: center; }
.logo-img { height: 84px !important; width: auto !important; max-width: none !important; }
.logo-img-footer { height: 48px !important; filter: brightness(0) invert(1); }

nav.main-nav { display: flex; gap: 36px; }
nav.main-nav a {
  font-family: 'Tektur', sans-serif; font-size: 16px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: var(--navy); position: relative; padding: 8px 0; transition: color .2s;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover { color: var(--red); }
nav.main-nav a.active { color: var(--navy); border-bottom-color: var(--red); }

.header-right { display: flex; align-items: center; gap: 22px; }

/* Burger — hidden on desktop, shown instead of the nav under 960px */
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; gap: 5px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lang-switch { position: relative; }
.lang-current {
  display: flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer;
  font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 500; color: #777c83; padding: 8px 4px;
}
.lang-menu {
  position: absolute; top: 100%; right: 0; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 12px 28px -12px rgba(8,23,46,.25); min-width: 140px; padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s; z-index: 60;
}
.lang-switch:hover .lang-menu,
.lang-switch.is-open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: block; padding: 8px 12px; font-size: 13.5px; font-family: 'Montserrat', sans-serif; }
.lang-menu a:hover { background: var(--paper-soft); color: var(--red); }
.lang-menu a.is-current { color: var(--red); font-weight: 600; }

/* Language block inside the burger menu (mobile only) */
.lang-mobile { display: none; }
.lang-mobile-title {
  display: block; margin: 14px 0 4px; font-family: 'Tektur', sans-serif; font-size: 14px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--ink-soft);
}
.lang-mobile a { display: block; padding: 10px 0; font-family: 'Montserrat', sans-serif; font-size: 15px; color: var(--navy); }
.lang-mobile a.is-current { color: var(--red); font-weight: 600; }

/* Floating call button — mobile only (see the media query below) */
.phone-fab { display: none; }

/* GTranslate — hide Google's own widget and the banner it injects */
#google_translate_element2 { display: none !important; }
.goog-te-banner-frame, .skiptranslate iframe { display: none !important; }
body { top: 0 !important; }
.goog-tooltip, .goog-text-highlight { display: none !important; background: none !important; box-shadow: none !important; }

.phone-block { display: flex; align-items: center; gap: 14px; }
.phone-icon {
  width: 55px; height: 55px; background: var(--red); color: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 25px; border-radius: 0;
}
.phone-numbers { display: flex; flex-direction: column; gap: 4px; }
.phone-numbers a {
  font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 600; color: var(--navy);
  line-height: 1.25; transition: color .2s;
}
.phone-numbers a:hover { color: var(--red); }

/* Buttons — sharp corners, Teko uppercase, matches source exactly */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 35px; font-family: 'Tektur', sans-serif; font-weight: 500; font-size: 18px;
  letter-spacing: 2px; text-transform: uppercase;
  border-radius: 0; cursor: pointer; transition: all .2s; border: 2px solid transparent;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background-size: cover; background-position: center; overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease;
  /* base transform matches the Ken Burns end state so the slide never snaps back while fading out */
  transform: scale(1.14);
  will-change: transform, opacity;
}
.hero-slide.is-active { opacity: 1; animation: as-kenburns 9s ease-out forwards; }
.hero-slide:nth-child(even).is-active { animation-name: as-kenburns-alt; }
@keyframes as-kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}
@keyframes as-kenburns-alt {
  from { transform: scale(1.14) translate3d(1.5%, 1%, 0); }
  to   { transform: scale(1.02) translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.is-active { animation: none; transform: none; }
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(8,23,46,.94) 0%, rgba(8,23,46,.55) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 100px 0; text-align: center; }
.eyebrow {
  color: var(--red); font-family: 'Tektur', sans-serif; font-weight: 500; font-size: 22px;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; display: block;
}
.hero h1, .hero h2 { color: #fff; font-size: 70px; line-height: 1; max-width: 900px; margin: 0 auto; }
.hero .divider { width: 70px; height: 4px; background: var(--red); margin: 22px auto; }
.hero .sub { color: #c7cbd6; font-size: 20px; max-width: 780px; margin: 0 auto 36px; font-weight: 500; font-family: 'Tektur', sans-serif; text-transform: none; letter-spacing: .02em; }
.hero .lead { color: #c7cbd6; font-size: 17px; margin-bottom: 6px; }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; justify-content: center; }

/* Sections */
section { padding: 100px 0; }
.section-tight { padding: 72px 0; }
.section-dark { background: var(--navy); color: #fff; }
.section-soft { background: var(--paper-soft); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 45px; }
.section-head .eyebrow { display: block; text-align: center; margin-bottom: 20px; }
.section-head h2 { font-size: 55px; line-height: 1; }
/* Heading sizes used inline in templates — kept as classes so the
   responsive rules below can scale them down. */
.h-55 { font-size: 55px; line-height: 1; }
.h-48 { font-size: 48px; line-height: 1; }
.h-38 { font-size: 38px; line-height: 1.25; }
.h-30 { font-size: 30px; line-height: 1.1; }
.h-36 { font-size: 36px; line-height: 1.2; }
.h-26 { font-size: 26px; line-height: 1.2; }
.section-head .divider { margin: 15px auto 0; }
.divider { width: 60px; height: 2px; background: var(--red); }
.section-dark .section-head p, .section-dark p { color: #b8bdca; }
.lead-text { color: var(--ink-soft); font-size: 16px; line-height: 1.4; }

/* Stats — inline row with icon, matches source layout under the "О компании" text */
.stats-row { display: flex; justify-content: space-between; gap: 20px; margin-top: 78px; flex-wrap: nowrap; align-items: flex-start; }
/* Элементы не переносятся, а ужимаются — подпись ложится в две строки, как в оригинале. */
.stat-inline { flex: 0 1 auto; min-width: 0; text-align: center; }
.stat-inline i { color: var(--red); font-size: 46px; margin-bottom: 0; display: block; }
/* Иконка 46px + 23px отступа = блок 69px до числа — как в оригинале. */
.stat-icon { display: block; margin: 0 auto 23px; color: var(--red); }
.stat-inline .num { font-family: 'Tektur', sans-serif; font-size: 55px; font-weight: 500; color: var(--navy); line-height: 1; }
.stat-inline .num sup { color: var(--red); font-size: 22px; top: -5px; }
.stat-inline .label { color: var(--ink-soft); font-size: 16px; line-height: 1.5; margin-top: 0; }

/* Industries grid — 3 columns, cell colors set inline per-item (navy/gray/red) */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: start; }
.industry-cell { padding: 35px; height: 250px; overflow: hidden; }
.industry-intro { padding: 0 35px 0 0; }

/* Catalog cards — white tile with image + uppercase title; the description
   slides up over it on hover, as the flip boxes do on the source site. */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-card {
  position: relative; display: flex; flex-direction: column; align-items: center;
  height: 350px; background: #fff; overflow: hidden; text-align: center;
}
.prod-card-front {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%; transition: transform .6s ease-in-out;
}
.prod-card:not(.is-plain):hover .prod-card-front { transform: translateY(-100%); }
.prod-card-img { display: block; width: 100%; height: 255px; }
.prod-card-img img { width: 100%; height: 100%; object-fit: contain; }
.prod-card-title {
  font-family: 'Tektur', sans-serif; font-size: 20px; font-weight: 500; line-height: 1.1;
  text-transform: uppercase; color: var(--navy); margin: 8px 16px 16px; display: block;
}
.prod-card-back {
  position: absolute; inset: 0; background: rgba(8, 23, 46, .82); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 30px; transform: translateY(100%); transition: transform .6s ease-in-out;
}
.prod-card:hover .prod-card-back { transform: none; }
.prod-card-desc { font-size: 14px; line-height: 1.6; }
.prod-card-back .link-arrow { color: #fff; }
.prod-card.is-plain .prod-card-img { height: 290px; }
.prod-card.is-plain .prod-card-title { font-size: 18px; }
/* the source keeps the product count in the markup but hides it */
.prod-card-title .count { display: none; }

/* Services — photo offset by a red block, feature list with a dashed connector */
.section-services { padding: 100px 0 0; }
.two-col.two-col-about { grid-template-columns: minmax(0, 720fr) minmax(0, 420fr); gap: 60px; align-items: start; }
.two-col.two-col-services { gap: 80px; align-items: start; }
.services-photo img { width: 90%; margin-left: auto; box-shadow: -82px 25px 0 -25px var(--red); }
/* Tall portrait photo beside a text column */
.side-photo { background-size: cover; background-position: center; min-height: 610px; }
.side-photo.is-short { min-height: 520px; }
.feature-list { list-style: none; margin: 30px 0 0; padding: 0; }
.feature-row { display: flex; position: relative; padding-bottom: 15px; }
.feature-icon-box { position: relative; flex: 0 0 70px; width: 70px; }
.feature-icon {
  width: 70px; height: 70px; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.feature-row:nth-child(even) .feature-icon { background: var(--red); }
.feature-row:not(:last-child) .feature-icon-box::after {
  content: ''; position: absolute; left: 35px; top: 70px; bottom: -15px; border-left: 1px dashed #9fa3a7;
}
.feature-body { margin-left: 30px; min-width: 0; }
.feature-row h4 { font-family: 'Tektur', sans-serif; font-size: 30px; line-height: 1.1; font-weight: 500; text-transform: uppercase; margin: -2px 0 0; }
.feature-row p { color: var(--ink-soft); font-size: 16px; line-height: 1.5; margin: 0; }

/* Products — three staggered columns. Börger and Smartkey put the card above the
   logo, НТЭС puts the logo above the card (source uses column-reverse on 1 and 3).
   Column padding is asymmetric in the source; kept as-is so card widths match. */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; align-items: start; }
.brand-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin: 0 auto; }
.brand-grid > :nth-child(1) { padding-right: 20px; }
.brand-grid > :nth-child(2) { padding: 0 10px; }
.brand-grid > :nth-child(3) { padding-right: 20px; }
.brand-col { display: flex; flex-direction: column; }
.brand-col.is-reverse { flex-direction: column-reverse; }
.brand-logo { align-self: center; overflow: hidden; line-height: 0; }
.brand-logo img { display: block; width: 100%; height: 200px; padding: 20px; object-fit: contain; transition: transform .4s; }
.brand-col:hover .brand-logo img { transform: scale(1.1); }
.brand-logo.is-wide { align-self: stretch; }
.brand-logo.is-wide img { height: 250px; padding: 0; }
.brand-card { background: #fff; border-radius: 0; padding: 25px; box-shadow: 0 0 10px 0 rgba(0,0,0,.1); }
.brand-card h3 { font-size: 22px; line-height: 1.2; margin: 0 0 10px; }
.brand-card p { color: var(--ink-soft); font-size: 16px; line-height: 1.5; margin: 0 0 14px; }
.brand-card p strong { font-weight: 700; }
.brand-card .link-arrow { font-size: 18px; letter-spacing: 2px; }
.link-arrow { color: var(--red); font-family: 'Tektur', sans-serif; font-weight: 500; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow i, .link-arrow .as-icon { transition: transform .2s; font-size: 13px; }
.brand-card:hover .link-arrow i, a:hover .link-arrow i,
.brand-card:hover .link-arrow .as-icon, a:hover .link-arrow .as-icon { transform: translateX(4px); }

/* Product/article cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
  background: #fff; border-radius: 0; overflow: hidden;
  display: flex; flex-direction: column; padding-bottom: 20px;
  box-shadow: 0 0 10px 0 rgba(0,0,0,.18);
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: 0 4px 24px 0 rgba(8,23,46,.28); transform: translateY(-3px); }
.card .thumb { aspect-ratio: 373/230; background: var(--paper-soft); background-size: cover; background-position: center; position: relative; }
.card .thumb .cat-badge {
  position: absolute; top: 14px; left: 14px; background: var(--navy); color: #fff; font-size: 11px;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px;
}
.card .body { padding: 20px 0 0 20px; display: flex; flex-direction: column; flex: 1 1 auto; }
.card .body .link-arrow { margin-top: auto; padding-top: 24px; font-size: 18px; letter-spacing: 2px; }
.card-excerpt { color: var(--ink-soft); font-size: 16px; line-height: 1.5; margin: 10px 0 0; }
.card h3 { font-family: 'Tektur', sans-serif; font-weight: 500; font-size: 16px; line-height: 1.3; margin: 0; }
.card p { color: var(--ink-soft); font-size: 16px; line-height: 1.5; margin: 10px 0 0; }

/* Services */
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.service-item { background: #fff; padding: 30px 26px; }
.service-item i, .service-item .as-icon { color: var(--red); font-size: 26px; }
.service-item h4 { font-family: 'Tektur', sans-serif; font-weight: 500; font-size: 24px; margin: 14px 0 8px; text-transform: uppercase; }
.service-item p { color: var(--ink-soft); font-size: 13.5px; line-height: 1.65; }

/* Footer */
/* Footer — light band with an inset navy block that overlaps the section above */
footer.site-footer { background: var(--paper-soft); padding: 0 0 10px; position: relative; }
footer .foot-top {
  position: absolute; left: 50%; top: -18px; transform: translateX(-50%);
  width: 54px; height: 54px; background: var(--red); color: #fff; z-index: 2;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
footer .foot-top:hover { background: var(--red-dark); }
footer .foot-inner { background: var(--navy); color: #b0bac7; padding: 80px 60px; margin: -30px 0 20px; }
footer .foot-grid { display: grid; grid-template-columns: 350fr 239fr 231fr 240fr; gap: 0; }
footer .foot-logo img { width: 250px; height: auto; }
footer .foot-title { color: #fff; font-family: 'Tektur', sans-serif; font-size: 26px; font-weight: 500; text-transform: uppercase; margin: 34px 0 0; }
footer .foot-grid > div > .foot-title:first-child { margin-top: 0; }
footer .foot-div { width: 40px; margin: 12px 0 20px; }
footer .foot-address { font-size: 14px; color: #b0bac7; margin-top: 16px; }
footer .foot-email { font-size: 14px; color: #fff; display: inline-block; margin-top: 16px; }
footer .foot-links a { display: block; padding: 5px 0; font-size: 14px; color: #b0bac7; transition: color .2s; }
footer .foot-links a:hover, footer .foot-email:hover { color: var(--red); }
footer .foot-phone { display: flex; align-items: center; gap: 16px; }
footer .foot-phone-icon {
  width: 54px; height: 54px; flex: 0 0 54px; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
footer .foot-phone-nums a { display: block; font-size: 16px; font-weight: 600; color: #fff; }
footer .foot-bottom { text-align: center; font-size: 14px; color: var(--navy); padding: 10px 0; }

/* Utility */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.two-col-33 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; }
/* .reveal starts visible — GSAP animates FROM a hidden state at runtime (gsap.from),
   so content never depends on JS succeeding to be visible */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge-pill { background: var(--paper-soft); border: 1px solid var(--line); padding: 8px 16px; font-size: 13px; color: var(--ink-soft); font-weight: 600; }

.breadcrumbs { background: var(--paper-soft); padding: 18px 0; font-size: 13px; color: var(--ink-soft); }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs .sep { margin: 0 8px; opacity: .5; }
.breadcrumbs .current { color: var(--ink); font-weight: 600; }

/* Inner-page hero — full-bleed photo with a centred navy title box that
   overhangs into the section below, as on the source site. */
.page-hero { background: var(--navy) center 30% / cover no-repeat; padding: 200px 0 0; position: relative; }
.page-hero .container { position: relative; z-index: 2; }
.hero-box { width: 580px; max-width: 100%; margin: 0 auto -80px; background: var(--navy); padding: 40px 20px; text-align: center; }
.hero-crumbs {
  display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: 'Montserrat', sans-serif; font-size: 16px; color: #fff; margin-bottom: 20px;
}
.hero-crumbs a { color: #fff; }
.hero-crumbs a:hover { color: var(--red); }
.hero-crumbs i { color: var(--red); font-size: 14px; }
.page-hero h1 { color: #fff; font-size: 70px; line-height: 1; margin: 0; }
.page-hero .divider { margin: 15px auto 0; }
.hero-box.is-product { width: 550px; }
.hero-box.is-product h1 { font-size: 30px; line-height: 1.2; }
/* the hero box overhangs by 80px — give the next section room for it */
.page-hero + section { padding-top: 180px; }
.brand-block { padding: 64px 0; }

/* Contacts — three tinted cards, then map + form side by side */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.contact-card { background: var(--paper-soft); padding: 35px 35px 25px; }
.contact-card .contact-icon { color: var(--red); font-size: 42px; display: block; line-height: 1; }
.contact-card h3 { font-size: 30px; line-height: 1.1; margin: 5px 0 0; }
.contact-card p { font-size: 16px; line-height: 1.5; color: var(--ink-soft); margin: 10px 0 0; }
.contact-card.is-navy { background: var(--navy); }
.contact-card.is-navy h3 { color: #fff; }
.contact-card.is-navy p, .contact-card.is-navy a { color: #b0bac7; }
.contact-card.is-navy a:hover { color: #fff; }
.contact-card.is-red { background: var(--red); }
.contact-card.is-red .contact-icon { color: #fff; }
.contact-card.is-red h3 { color: #fff; }
.contact-card.is-red p, .contact-card.is-red a { color: #fff; }

.contact-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: start; }
.contact-map iframe { display: block; width: 100%; height: 460px; border: 0; }
.contact-form { background: #fff; padding: 50px; box-shadow: 0 0 10px 0 rgba(0,0,0,.1); }
.contact-form h2 { font-size: 38px; line-height: 1.05; margin: 0 0 24px; }
.contact-form form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea {
  padding: 8px 16px; border: 1px solid var(--line); background: #fff;
  font-family: inherit; font-size: 16px; color: var(--navy);
}
.contact-form textarea { resize: vertical; padding: 5px 14px; }
/* Инлайновые SVG вместо иконочного шрифта: глиф нарисован в em-квадрате,
   поэтому по базовой линии он встаёт так же, как вставал бы <i>. */
.as-icon { flex-shrink: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: absolute; top: 8px; left: 8px; z-index: 200; width: auto; height: auto;
  margin: 0; padding: 12px 20px; clip: auto; overflow: visible;
  background: #fff; color: var(--navy); font-weight: 600;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--red); }
.contact-form .btn { width: 100%; }

@media (max-width: 960px) {
  /* Header: burger instead of the inline nav */
  /* Logo left, burger right; the phone becomes a floating button. */
  header.site-header .container { height: 84px; gap: 12px; justify-content: space-between; }
  .logo { order: 0; }
  .logo-img { height: auto !important; width: auto !important; max-height: 52px !important; max-width: 100% !important; }
  .nav-toggle { display: flex; order: 1; }
  .header-right { display: none; }

  .phone-fab {
    display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
    position: fixed; right: 16px; bottom: 16px; z-index: 80;
  }
  .phone-fab-btn {
    width: 56px; height: 56px; border: 0; border-radius: 50%; cursor: pointer;
    background: var(--red); color: #fff; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(8,23,46,.28); transition: background .2s, transform .2s;
  }
  .phone-fab-btn:hover { background: var(--red-dark); }
  .phone-fab.is-open .phone-fab-btn { transform: rotate(135deg); }
  .phone-fab-list {
    display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .phone-fab.is-open .phone-fab-list { opacity: 1; visibility: visible; transform: none; }
  .phone-fab-list a {
    background: #fff; color: var(--navy); white-space: nowrap;
    font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px;
    padding: 11px 18px; box-shadow: 0 6px 18px rgba(8,23,46,.18);
  }
  nav.main-nav { display: none; }
  nav.main-nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px; box-shadow: 0 12px 24px rgba(8,23,46,.10);
  }
  nav.main-nav.is-open a { padding: 12px 0; border-bottom: 0; }
  .phone-numbers { display: none; }
  .lang-switch { display: none; }
  .lang-mobile { display: block; border-top: 1px solid var(--line); margin-top: 8px; }
  .header-right { gap: 12px; }
  .topbar-left span:nth-child(3) { display: none; }

  /* Every multi-column grid collapses; minmax(0,…) lets columns shrink */
  .two-col, .two-col.two-col-about, .two-col.two-col-services { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .stats, .brand-grid, .card-grid, .service-list,
  .contact-cards, .contact-bottom, .industry-grid { grid-template-columns: minmax(0, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .prod-card { height: 290px; }
  .prod-card-img, .prod-card.is-plain .prod-card-img { height: 200px; }
  .prod-card-title { font-size: 16px; }
  .prod-card.is-plain .prod-card-title { font-size: 15px; }
  .brand-grid { gap: 28px; }
  .brand-grid > :nth-child(1), .brand-grid > :nth-child(2), .brand-grid > :nth-child(3) { padding: 0; }
  .brand-col.is-reverse { flex-direction: column; }
  .contact-bottom { gap: 30px; }
  .contact-form { padding: 28px; }
  .industry-cell { height: auto; min-height: 190px; }
  .industry-intro { padding: 0; }
  footer .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  footer .foot-inner { padding: 50px 25px; }
  /* Portrait photos are far too tall once the columns stack — crop them */
  .services-photo img { width: 100%; height: 300px; object-fit: cover; margin-left: 0; box-shadow: none; }
  .side-photo, .side-photo.is-short { min-height: 300px; }
  .section-services { padding-top: 60px; }

  /* Type scale */
  section { padding: 60px 0; }
  .hero h1, .hero h2 { font-size: 38px; }
  .hero .sub { font-size: 18px; }
  .page-hero { padding: 120px 0 0; }
  .page-hero h1 { font-size: 38px; }
  .hero-box { margin-bottom: -50px; padding: 28px 16px; }
  .page-hero + section { padding-top: 110px; }
  .section-head h2, .h-55, .h-48 { font-size: 32px; line-height: 1.1; }
  .h-36 { font-size: 26px; }
  .hero-box.is-product h1 { font-size: 24px; }
  .h-38 { font-size: 28px; }
  .h-30 { font-size: 24px; }
  h1, h2, h3, h4 { overflow-wrap: anywhere; }
  .feature-row h4 { font-size: 24px; }
  .article-body h2 { font-size: 26px; }
  .article-body h3 { font-size: 22px; }
  .post-nav { flex-direction: column; gap: 14px; }
  .post-nav-item, .post-nav-item.is-next { text-align: left; margin-left: 0; padding: 0; border-left: 0; }
  .stats-row { margin-top: 40px; gap: 24px; flex-wrap: wrap; justify-content: flex-start; }
  .stat-inline { flex: 1 1 140px; }
  .card .body { padding-right: 20px; }

  /* Long uppercase words must not force a horizontal scrollbar */
  .feature-row h4, .brand-card h3, .contact-card h3, .card h3, .industry-cell h3 { overflow-wrap: anywhere; }
}

@media (max-width: 600px) {
  .topbar .container { height: auto; flex-direction: column; gap: 6px; padding-top: 8px; padding-bottom: 8px; }
  .topbar-left { flex-wrap: wrap; justify-content: center; gap: 14px; font-size: 12px; }
  .hero h1, .hero h2 { font-size: 30px; }
  .page-hero h1 { font-size: 32px; }
  .section-head h2, .h-55, .h-48 { font-size: 28px; }
  footer .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .contact-form { padding: 22px; }
  .feature-icon-box { flex: 0 0 54px; width: 54px; }
  .feature-icon { width: 54px; height: 54px; font-size: 22px; }
  .feature-row:not(:last-child) .feature-icon-box::after { left: 27px; top: 54px; }
  .feature-body { margin-left: 18px; }
  .contact-card, .industry-cell { padding: 26px; }
  .prod-grid { grid-template-columns: minmax(0, 1fr); }
  .prod-card, .prod-card-img, .prod-card.is-plain .prod-card-img { height: auto; }
  .prod-card-img img { height: 220px; }
  .services-photo img { height: 240px; }
  .side-photo, .side-photo.is-short { min-height: 240px; }
  .phone-fab { right: 12px; bottom: 12px; }
  .phone-fab-list a { font-size: 14px; padding: 10px 14px; }
  .header-right { gap: 8px; }
  .logo-img { max-height: 44px !important; }
}


/* Article body typography (the_content output) */
.article-body { font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.article-body h2 { font-size: 34px; line-height: 1.15; margin: 36px 0 16px; }
.article-body h3 { font-size: 30px; line-height: 1.15; margin: 28px 0 12px; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body img { margin: 24px 0; }
.article-body a { color: var(--red); text-decoration: underline; }
/* Imported product tables are wide — let them scroll instead of stretching the page */
.article-body table { display: block; width: max-content; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 24px 0; }
.article-body { overflow-wrap: anywhere; }
.article-body table td, .article-body table th { border: 1px solid var(--line); padding: 10px 14px; font-size: 14px; }

/* Previous / next post links at the end of an article */
.post-nav { display: flex; margin-top: 56px; }
.post-nav-item { display: block; flex: 1 1 50%; padding: 0 20px; }
.post-nav-item.is-next { margin-left: auto; text-align: right; border-left: 1px solid var(--line); }
.post-nav-title { font-family: 'Montserrat', sans-serif; font-size: 11.2px; line-height: 1.4; color: var(--navy); transition: color .2s; }
.post-nav-item:hover .post-nav-title { color: var(--red); }

/* ---------------------------------------------------------------------------
   Translated pages. GTranslate puts .translated-ltr on <html>; English and
   Kazakh run longer than the Russian original, so every text size drops by 2px.
   The Russian version keeps the sizes measured from asiasupply.kz.
   --------------------------------------------------------------------------- */
html.translated-ltr body { font-size: 14px; }
html.translated-ltr .topbar { font-size: 11px; }
html.translated-ltr nav.main-nav a { font-size: 14px; }
html.translated-ltr .lang-current { font-size: 14px; }
html.translated-ltr .lang-menu a { font-size: 11.5px; }
html.translated-ltr .lang-mobile a { font-size: 13px; }
html.translated-ltr .lang-mobile-title { font-size: 12px; }
html.translated-ltr .phone-numbers a { font-size: 14px; }
html.translated-ltr .btn { font-size: 16px; }
html.translated-ltr .eyebrow { font-size: 20px; }
html.translated-ltr .hero h1, html.translated-ltr .hero h2 { font-size: 68px; }
html.translated-ltr .hero .sub { font-size: 18px; }
html.translated-ltr .hero .lead { font-size: 15px; }
html.translated-ltr .section-head h2 { font-size: 53px; }
html.translated-ltr .h-55 { font-size: 53px; }
html.translated-ltr .h-48 { font-size: 46px; }
html.translated-ltr .h-38 { font-size: 36px; }
html.translated-ltr .h-30 { font-size: 28px; }
html.translated-ltr .h-26 { font-size: 24px; }
html.translated-ltr .lead-text { font-size: 14px; }
html.translated-ltr .stat-inline .num { font-size: 53px; }
html.translated-ltr .stat-inline .num sup { font-size: 20px; }
html.translated-ltr .stat-inline .label { font-size: 14px; }
html.translated-ltr .feature-row h4 { font-size: 28px; }
html.translated-ltr .feature-row p { font-size: 14px; }
html.translated-ltr .brand-card h3 { font-size: 20px; }
html.translated-ltr .brand-card p { font-size: 14px; }
html.translated-ltr .brand-card .link-arrow { font-size: 16px; }
html.translated-ltr .link-arrow { font-size: 15px; }
html.translated-ltr .card h3 { font-size: 14px; }
html.translated-ltr .card-excerpt,
html.translated-ltr .card p { font-size: 14px; }
html.translated-ltr .card .body .link-arrow { font-size: 16px; }
html.translated-ltr .service-item h4 { font-size: 22px; }
html.translated-ltr .service-item p { font-size: 11.5px; }
html.translated-ltr .badge-pill,
html.translated-ltr .breadcrumbs { font-size: 11px; }
html.translated-ltr .hero-crumbs { font-size: 14px; }
html.translated-ltr .page-hero h1 { font-size: 68px; }
html.translated-ltr .contact-card h3 { font-size: 28px; }
html.translated-ltr .contact-card p { font-size: 14px; }
html.translated-ltr .contact-form h2 { font-size: 36px; }
html.translated-ltr .contact-form input,
html.translated-ltr .contact-form textarea { font-size: 14px; }
html.translated-ltr .phone-fab-list a { font-size: 13px; }
html.translated-ltr footer .foot-title { font-size: 24px; }
html.translated-ltr footer .foot-address,
html.translated-ltr footer .foot-email,
html.translated-ltr footer .foot-links a,
html.translated-ltr footer .foot-bottom { font-size: 12px; }
html.translated-ltr footer .foot-phone-nums a { font-size: 14px; }
html.translated-ltr .article-body h2 { font-size: 32px; }
html.translated-ltr .article-body h3 { font-size: 28px; }
html.translated-ltr .post-nav-title { font-size: 10px; }

@media (max-width: 960px) {
  html.translated-ltr .hero h1, html.translated-ltr .hero h2 { font-size: 36px; }
  html.translated-ltr .hero .sub { font-size: 16px; }
  html.translated-ltr .page-hero h1 { font-size: 36px; }
  html.translated-ltr .section-head h2,
  html.translated-ltr .h-55,
  html.translated-ltr .h-48 { font-size: 30px; }
  html.translated-ltr .h-38 { font-size: 26px; }
  html.translated-ltr .h-30 { font-size: 22px; }
  html.translated-ltr .feature-row h4 { font-size: 22px; }
}

@media (max-width: 600px) {
  html.translated-ltr .hero h1, html.translated-ltr .hero h2 { font-size: 28px; }
  html.translated-ltr .page-hero h1 { font-size: 30px; }
  html.translated-ltr .section-head h2,
  html.translated-ltr .h-55,
  html.translated-ltr .h-48 { font-size: 26px; }
  html.translated-ltr .topbar-left { font-size: 10px; }
  html.translated-ltr .phone-fab-list a { font-size: 12px; }
}
