:root {
  --red: #b70608;
  --red-dark: #960204;
  --text: #1f2933;
  --muted: #5e6873;
  --light: #f7f8fa;
  --line: #d8dde3;
  --soft-line: #e8ebef;
  --blue: #eaf3fb;
  --accent: #c20b0d;
  --shadow: 0 12px 34px rgba(28, 35, 45, 0.18);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.anim-fade-in {
  opacity: 0;
  animation: fadeIn 0.6s var(--ease-out) forwards;
}

.anim-fade-in-up {
  opacity: 0;
  transform: translateY(32px);
}

.anim-fade-in-up.is-visible {
  animation: fadeInUp 0.7s var(--ease-out) forwards;
}

.anim-fade-in-left {
  opacity: 0;
  transform: translateX(-32px);
}

.anim-fade-in-left.is-visible {
  animation: fadeInLeft 0.7s var(--ease-out) forwards;
}

.anim-fade-in-right {
  opacity: 0;
  transform: translateX(32px);
}

.anim-fade-in-right.is-visible {
  animation: fadeInRight 0.7s var(--ease-out) forwards;
}

.anim-scale-in {
  opacity: 0;
  transform: scale(0.92);
}

.anim-scale-in.is-visible {
  animation: scaleIn 0.6s var(--ease-out) forwards;
}

.anim-stagger > * {
  opacity: 0;
  transform: translateY(24px);
}

.anim-stagger.is-visible > *:nth-child(1) { animation: fadeInUp 0.6s var(--ease-out) 0.05s forwards; }
.anim-stagger.is-visible > *:nth-child(2) { animation: fadeInUp 0.6s var(--ease-out) 0.12s forwards; }
.anim-stagger.is-visible > *:nth-child(3) { animation: fadeInUp 0.6s var(--ease-out) 0.19s forwards; }
.anim-stagger.is-visible > *:nth-child(4) { animation: fadeInUp 0.6s var(--ease-out) 0.26s forwards; }
.anim-stagger.is-visible > *:nth-child(5) { animation: fadeInUp 0.6s var(--ease-out) 0.33s forwards; }
.anim-stagger.is-visible > *:nth-child(6) { animation: fadeInUp 0.6s var(--ease-out) 0.40s forwards; }
.anim-stagger.is-visible > *:nth-child(7) { animation: fadeInUp 0.6s var(--ease-out) 0.47s forwards; }
.anim-stagger.is-visible > *:nth-child(8) { animation: fadeInUp 0.6s var(--ease-out) 0.54s forwards; }

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 330px 1fr auto;
  align-items: center;
  height: 70px;
  padding: 0 28px;
  background: linear-gradient(#c30a0c, #a80002);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

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

.brand__logo {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  line-height: 1;
  color: #fff;
}

.brand__logo img {
  width: 46px;
  height: 46px;
}

.brand__text strong {
  display: block;
  max-width: 280px;
  overflow: hidden;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand__text small {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.nav {
  display: flex;
  justify-content: center;
  height: 70px;
}

.nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity .2s;
}

.nav a:hover {
  opacity: .85;
}

.nav a.is-active::after {
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 4px;
  background: #fff;
  content: "";
}

.header-search-input {
  width: 140px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 2px;
  background: rgba(255,255,255,.12);
  color: #fff;
  padding: 0 10px;
  font-size: 12px;
  outline: none;
  transition: background .2s, border-color .2s;
}
.header-search-input::placeholder {
  color: rgba(255,255,255,.6);
}
.header-search-input:focus {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.8);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: end;
}

.mobile-header-actions {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: 8px;
}

.mobile-search-input {
  width: 100px;
  height: 28px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 2px;
  background: rgba(255,255,255,.12);
  color: #fff;
  padding: 0 8px;
  font-size: 11px;
  outline: none;
}
.mobile-search-input::placeholder {
  color: rgba(255,255,255,.6);
}

.mobile-search-icon {
  width: 24px !important;
  height: 24px !important;
  font-size: 20px !important;
}

.icon-button,
.language {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.icon-button {
  width: 28px;
  height: 28px;
  font-size: 28px;
  line-height: 1;
}

.language {
  font-size: 13px;
}

.language option {
  color: var(--text);
}

.header-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.6);
}

.quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: background .25s, transform .2s;
}

.quote-button:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid #d6dee7;
  background: #eef5fb;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 249, 252, 0.96) 0%, rgba(245, 249, 252, 0.82) 36%, rgba(245, 249, 252, 0.12) 62%);
  content: "";
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 56px));
  padding: 38px 0 0 42px;
}

.hero h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
  text-transform: uppercase;
  animation: heroTextIn 0.8s var(--ease-out) 0.2s both;
}

.hero p {
  margin: 12px 0 0;
  font-size: 17px;
  color: #24313d;
  animation: heroTextIn 0.8s var(--ease-out) 0.35s both;
}

.hero__features {
  display: flex;
  gap: 52px;
  margin-top: 30px;
  animation: heroTextIn 0.8s var(--ease-out) 0.5s both;
}

.hero-feature {
  display: grid;
  grid-template-columns: 34px auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
}

.hero-feature span {
  grid-row: 1 / 3;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #c7d9ec;
  border-radius: 50%;
  background: #edf6ff;
  color: #2367ad;
  font-weight: 900;
}

.hero-feature strong {
  font-size: 13px;
}

.hero-feature small {
  color: #4d5964;
  font-size: 12px;
}

.catalog {
  display: grid;
  grid-template-columns: 217px 1fr;
  min-height: 660px;
}

.sidebar {
  border-right: 1px solid var(--line);
  background: #fff;
  padding: 18px 28px 16px;
}

.sidebar h2 {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.side-row,
.category,
.sidebar button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.side-row,
.category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  border-top: 1px solid var(--soft-line);
  padding: 0 0 0 0;
  color: #2f3a44;
}

.side-row:hover,
.category:hover,
.category.is-active,
.side-row.is-active {
  color: var(--accent);
}

.side-row b,
.category strong {
  color: #69727c;
  font-size: 11px;
  font-weight: 700;
}

.category span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.help-card {
  margin-top: 18px;
  border: 1px solid var(--line);
  padding: 16px 14px;
  text-align: center;
}

.help-card__icon {
  display: block;
  margin-bottom: 8px;
  font-size: 34px;
}

.help-card strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
}

.help-card p {
  margin: 6px 0 14px;
  color: #5f6973;
  font-size: 11px;
}

.help-card a,
.help-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border: 0;
  padding: 0 18px;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: background .25s, transform .2s;
}

.help-card a:hover,
.help-card button:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.catalog-main {
  min-width: 0;
  padding: 18px 28px 0 16px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6d7680;
  font-size: 11px;
}

.breadcrumb i {
  color: #9aa3aa;
  font-style: normal;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  margin-bottom: 16px;
}

.catalog-toolbar p {
  margin: 0;
  color: #4a545f;
  font-size: 12px;
}

.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toolbar-controls input,
.toolbar-controls select {
  height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  color: #4a545f;
  font-size: 12px;
}

.toolbar-controls input {
  width: 170px;
  padding: 0 10px;
}

.toolbar-controls select {
  width: 150px;
  padding: 0 10px;
}

.view-toggle {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: #59636e;
  cursor: pointer;
}

.view-toggle.is-active {
  border-color: var(--red);
  color: var(--red);
}

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

.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(31,41,51,.12);
}

.product-card__image {
  display: flex;
  width: 100%;
  height: 170px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-bottom: 1px solid var(--soft-line);
  background: #fff;
  cursor: pointer;
  padding: 0;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: 12px 12px 14px;
}

.product-card h3 {
  margin: 0 0 2px;
  overflow: hidden;
  color: #151d25;
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-code {
  display: block;
  margin-bottom: 14px;
  color: #5f6871;
  font-size: 12px;
}

.mini-specs {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.mini-spec {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #303942;
  font-size: 12px;
}

.mini-spec span {
  color: #59636f;
}

.mini-spec strong {
  overflow: hidden;
  max-width: 110px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.details-button {
  display: flex;
  width: 100%;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--red);
  background: #fff;
  color: var(--red);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: background .25s, color .25s, transform .2s;
}

.details-button:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-1px);
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 0 16px;
}

.pager button {
  min-height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  color: #2f3a44;
  cursor: pointer;
  padding: 0 14px;
}

.pager button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-top: 1px solid var(--soft-line);
  background: #f7f8fa;
  padding: 44px max(24px, 12vw) 60px;
}

.contact-panel h2 {
  margin: 0 0 8px;
  color: #1f2933;
  font-size: 24px;
}

.contact-panel p {
  max-width: 680px;
  margin: 0 0 22px;
  color: #59636f;
}

.contact-panel form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
}

.contact-panel input,
.contact-panel textarea {
  min-height: 42px;
  border: 1px solid var(--line);
  padding: 10px;
}

.contact-panel textarea {
  grid-column: 1 / -1;
  min-height: 110px;
}

.contact-panel button {
  width: max-content;
  border: 0;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 12px 24px;
  transition: background .25s, transform .2s, box-shadow .25s;
}

.contact-panel button:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(183,6,8,.3);
}

.contact-panel button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  font-size: 13px;
}

.form-status[data-state="success"] {
  color: #1f7a3f;
}

.form-status[data-state="error"] {
  color: var(--red);
}

.form-status[data-state="pending"] {
  color: #59636f;
}

.modal {
  position: fixed;
  top: 248px;
  right: 118px;
  bottom: auto;
  left: auto;
  width: min(610px, calc(100vw - 40px));
  max-height: calc(100vh - 280px);
  margin: 0;
  overflow: auto;
  border: 0;
  padding: 0 20px 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal[open] {
  animation: scaleIn 0.35s var(--ease-out) forwards;
}

.modal[open]::backdrop {
  animation: fadeIn 0.3s forwards;
}

.modal::backdrop {
  background: transparent;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border: 0;
  background: #fff;
  color: #7a838b;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.modal__header {
  display: flex;
  align-items: baseline;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding: 22px 34px 14px 0;
}

.modal__header h2 {
  margin: 0;
  color: #1f2933;
  font-size: 16px;
  font-weight: 900;
}

.modal__header span {
  color: #4e5964;
  font-size: 13px;
}

.modal__tabs {
  display: flex;
  align-items: end;
  gap: 24px;
  height: 42px;
  border-bottom: 1px solid var(--line);
}

.modal__tabs button {
  position: relative;
  height: 42px;
  border: 0;
  background: transparent;
  color: #2f3842;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.modal__tabs button.is-active {
  color: var(--red);
}

.modal__tabs button.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
}

.modal__tabs a {
  margin-left: auto;
  color: #1f2933;
  font-size: 10px;
}

.datasheet {
  margin-top: 14px;
}

.datasheet h3 {
  margin: 0;
  border: 1px solid #c6ccd3;
  border-bottom: 0;
  background: linear-gradient(#f4f5f6, #e8ebee);
  color: #202a34;
  font-size: 11px;
  padding: 5px 8px;
}

.info-table {
  display: grid;
  grid-template-columns: 46% 54%;
  border: 1px solid #c6ccd3;
  border-bottom: 0;
}

.info-table div {
  min-height: 24px;
  border-bottom: 1px solid #c6ccd3;
  padding: 4px 8px;
  color: #1f2933;
  font-size: 11px;
}

.info-table div:nth-child(odd) {
  border-right: 1px solid #c6ccd3;
  font-weight: 800;
}

.variant-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.variant-table th,
.variant-table td {
  border: 1px solid #c6ccd3;
  padding: 5px 8px;
  text-align: left;
  vertical-align: top;
}

.variant-table th {
  background: #f3f4f5;
  font-weight: 900;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  border: 1px solid #c6ccd3;
  border-top: 0;
  padding: 5px 8px;
  font-size: 11px;
}

.datasheet-note {
  margin: 12px 0 0;
  color: #4d5660;
  font-size: 10px;
}

.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) auto;
  width: min(380px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 110px));
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 20px 60px rgba(31, 41, 51, 0.22);
}

.chat-widget:not([hidden]) {
  animation: scaleIn 0.3s var(--ease-spring) forwards;
}

.chat-widget[hidden] {
  display: none;
}

.chat-widget__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--red);
  color: #fff;
  padding: 13px 14px;
}

.chat-widget__header strong,
.chat-widget__header small {
  display: block;
}

.chat-widget__header small {
  margin-top: 2px;
  opacity: 0.82;
  font-size: 11px;
}

.chat-widget__header button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

.chat-widget__messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
  padding: 14px;
  background: #f7f8fa;
}

.chat-empty {
  margin: auto;
  color: #69727c;
  text-align: center;
  font-size: 13px;
}

.chat-message {
  max-width: 82%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 11px;
  font-size: 13px;
}

.chat-message.is-admin {
  align-self: flex-start;
}

.chat-message.is-visitor {
  align-self: flex-end;
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.chat-message small {
  display: block;
  margin-bottom: 4px;
  opacity: 0.72;
  font-size: 11px;
}

.chat-message p {
  margin: 0;
  white-space: pre-wrap;
}

.chat-widget__form {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 12px;
}

.chat-widget__identity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.chat-widget input,
.chat-widget textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 9px 10px;
  font: inherit;
  font-size: 13px;
}

.chat-widget textarea {
  min-height: 68px;
  resize: vertical;
}

.chat-widget__form button {
  justify-self: end;
  border: 0;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 9px 20px;
}

.chat-widget__form button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.page-hero {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 60px 10%;
  background: linear-gradient(135deg, #1f2933 0%, #2d3a45 100%);
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 900;
}

.page-hero p {
  margin: 0;
  font-size: 14px;
  opacity: .75;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  height: 44px;
  margin-top: 28px;
  padding: 0 28px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  transition: background .25s, transform .2s, box-shadow .25s;
  animation: heroTextIn 0.8s var(--ease-out) 0.65s both;
}

.hero__cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(183,6,8,.3);
}

.section-link {
  display: inline-flex;
  align-items: center;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  margin-top: 20px;
  transition: color .2s, gap .2s;
  gap: 4px;
}

.section-link:hover {
  color: var(--red-dark);
  gap: 8px;
}

.section-center {
  text-align: center;
  margin-top: 28px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 32px;
  background: #fff;
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
  transition: background .25s, transform .2s, box-shadow .25s;
}

.cta-button:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

.home-about {
  padding: 72px 10%;
  background: #fff;
}

.home-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.home-about__text h2 {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}

.home-about__text p {
  margin: 0 0 18px;
  color: #3a4550;
  font-size: 14px;
  line-height: 1.75;
}

.home-about__visual img {
  width: 100%;
  border: 1px solid var(--line);
}

.home-capabilities {
  padding: 72px 10%;
  background: #f7f8fa;
}

.home-products {
  padding: 72px 10%;
  background: #fff;
}

.home-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 14px;
  max-width: 1200px;
  margin: 0 auto;
}

.home-news {
  padding: 72px 10%;
  background: #f7f8fa;
}

.home-contact-cta {
  display: grid;
  place-items: center;
  padding: 64px 10%;
  background: var(--red);
  color: #fff;
  text-align: center;
}

.home-contact-cta h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 900;
}

.home-contact-cta p {
  margin: 0 0 24px;
  font-size: 15px;
  opacity: .9;
  max-width: 600px;
}

.support-section {
  padding: 72px 10%;
  background: #fff;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.support-card {
  text-align: center;
  padding: 32px 22px;
  border: 1px solid var(--line);
  background: #fff;
  transition: box-shadow .2s;
}

.support-card:hover {
  box-shadow: 0 8px 24px rgba(31,41,51,.1);
}

.support-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin: 0 auto 16px;
  background: #edf6ff;
  color: #2367ad;
  font-size: 26px;
  border-radius: 50%;
}

.support-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
}

.support-card p {
  margin: 0;
  color: #4a545f;
  font-size: 13px;
  line-height: 1.65;
}

.faq-section {
  padding: 72px 10%;
  background: #f7f8fa;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 8px;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::before {
  content: "+ ";
  color: var(--red);
  font-weight: 900;
}

.faq-item[open] summary::before {
  content: "− ";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 16px;
  color: #4a545f;
  font-size: 13px;
  line-height: 1.7;
}

.about-detail,
.quality-detail {
  padding: 48px 10%;
  background: #f7f8fa;
}

.about-detail-grid,
.quality-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-detail-card,
.quality-detail-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 24px;
}

.about-detail-card h3,
.quality-detail-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
}

.about-detail-card p,
.quality-detail-card p {
  margin: 0;
  color: #4a545f;
  font-size: 13px;
  line-height: 1.65;
}

.quality-detail-card ul {
  margin: 0;
  padding: 0 0 0 18px;
  color: #4a545f;
  font-size: 13px;
  line-height: 1.8;
}

.contact-info-section {
  padding: 48px 10%;
  background: #fff;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

.contact-info-card {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid var(--line);
}

.contact-info-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
}

.contact-info-card p {
  margin: 0;
  color: #4a545f;
  font-size: 13px;
}

.contact-info-card a {
  color: var(--red);
}

.news-grid--full {
  grid-template-columns: 1fr;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.5);
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: .3s;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 49;
  background: #a80002;
  padding: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transform-origin: top;
  transition: transform .3s var(--ease-out), opacity .3s;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav:not([hidden]) {
  animation: slideDown 0.3s var(--ease-out) forwards;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.mobile-nav nav a {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.mobile-nav nav a:hover {
  background: rgba(255,255,255,.12);
}

.mobile-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid rgba(255,255,255,.2);
}

.mobile-nav__actions .quote-button {
  color: #fff;
}

.mobile-lang {
  border: 1px solid rgba(255,255,255,.5);
  background: transparent;
  color: #fff;
  font-size: 13px;
  padding: 6px 10px;
}

.mobile-lang option {
  color: var(--text);
}

.section-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 14px;
  background: #fff0f0;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.about-section {
  padding: 72px 10%;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text h2 {
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
}

.about-text p {
  margin: 0 0 14px;
  color: #3a4550;
  font-size: 14px;
  line-height: 1.75;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stat-item {
  text-align: center;
  padding: 16px 8px;
  background: #f7f8fa;
  border: 1px solid var(--soft-line);
}

.stat-item strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 12px;
  color: var(--muted);
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  border: 1px solid var(--line);
}

.capabilities-section {
  padding: 72px 10%;
  background: #f7f8fa;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.cap-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 22px;
  transition: box-shadow .2s;
}

.cap-card:hover {
  box-shadow: 0 8px 24px rgba(31,41,51,.1);
}

.cap-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: #fff0f0;
  color: var(--red);
  font-size: 22px;
  margin-bottom: 16px;
}

.cap-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
}

.cap-card p {
  margin: 0;
  color: #4a545f;
  font-size: 13px;
  line-height: 1.65;
}

.cap-process {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.cap-process h3 {
  margin: 0 0 28px;
  font-size: 18px;
  font-weight: 800;
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.process-step {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  min-width: 130px;
}

.process-step span {
  font-size: 22px;
  font-weight: 900;
  color: var(--red);
}

.process-step strong {
  font-size: 13px;
}

.process-step small {
  font-size: 11px;
  color: var(--muted);
}

.process-arrow {
  color: var(--red);
  font-size: 20px;
  font-weight: 900;
}

.quality-section {
  padding: 72px 10%;
  background: #fff;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.quality-card {
  text-align: center;
  padding: 32px 22px;
  border: 1px solid var(--line);
  background: #fff;
  transition: box-shadow .2s;
}

.quality-card:hover {
  box-shadow: 0 8px 24px rgba(31,41,51,.1);
}

.quality-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin: 0 auto 16px;
  background: #edf6ff;
  color: #2367ad;
  font-size: 26px;
  border-radius: 50%;
}

.quality-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
}

.quality-card p {
  margin: 0;
  color: #4a545f;
  font-size: 13px;
  line-height: 1.65;
}

.news-section {
  padding: 72px 10%;
  background: #f7f8fa;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.news-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  transition: box-shadow .2s;
}

.news-card:hover {
  box-shadow: 0 8px 24px rgba(31,41,51,.1);
}

.news-card__date {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  background: var(--red);
  color: #fff;
  text-align: center;
}

.news-card__date span {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.news-card__date small {
  font-size: 12px;
  opacity: .85;
}

.news-card__body h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.news-card__body p {
  margin: 0;
  color: #4a545f;
  font-size: 13px;
  line-height: 1.65;
}

.site-footer {
  background: #1f2933;
  color: #c8cdd3;
  padding: 56px 10% 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo strong {
  color: #fff;
  font-size: 15px;
}

.footer-brand p {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.65;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: background .2s;
}

.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.footer-links a {
  color: #9aa3aa;
  font-size: 13px;
  transition: color .2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.footer-contact p {
  margin: 0 0 8px;
  font-size: 13px;
}

.footer-contact a {
  color: #9aa3aa;
  transition: color .2s;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #6b7280;
  font-size: 12px;
  transition: color .2s;
}

.footer-bottom-links a:hover {
  color: #fff;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 90px;
  z-index: 60;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(31,41,51,.12);
  transition: opacity .3s, transform .3s var(--ease-out), background .25s, color .25s;
}

.back-to-top:not([hidden]) {
  animation: fadeInUp 0.4s var(--ease-out) forwards;
}

.back-to-top:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: translateY(-3px);
}

.chat-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  background: var(--red);
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(183,6,8,.35);
  transition: transform .25s var(--ease-spring), box-shadow .25s;
}

.chat-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(183,6,8,.5);
}

.chat-fab::after {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  max-width: 180px;
  overflow: hidden;
  padding: 7px 10px;
  background: #1f2933;
  color: #fff;
  content: attr(data-chat-label);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  text-overflow: ellipsis;
  transform: translate(6px, -50%);
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
}

.chat-fab:hover::after,
.chat-fab:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  background: #1f2933;
  color: #c8cdd3;
  font-size: 13px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}

.cookie-consent:not([hidden]) {
  animation: slideUp 0.5s var(--ease-out) forwards;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent p {
  margin: 0;
  flex: 1;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-actions button {
  border: 0;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

#cookieAccept {
  background: var(--red);
  color: #fff;
}

#cookieDecline {
  background: rgba(255,255,255,.15);
  color: #fff;
}

.cookie-actions a {
  color: #9aa3aa;
  font-size: 12px;
}

.search-overlay {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 45;
  background: #fff;
  padding: 16px 24px;
  box-shadow: 0 8px 24px rgba(31,41,51,.12);
  display: none;
}

.search-overlay.is-visible {
  display: block;
}

.search-overlay input {
  width: 100%;
  max-width: 600px;
  height: 44px;
  border: 2px solid var(--red);
  padding: 0 14px;
  font-size: 15px;
  margin: 0 auto;
  display: block;
}

@media (max-width: 1200px) {
  .topbar {
    grid-template-columns: 340px 1fr;
  }

  .header-actions {
    display: none;
  }

  .nav a {
    padding: 0 10px;
  }

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

  .modal {
    right: 32px;
  }
}

@media (max-width: 860px) {
  .topbar {
    display: flex;
    gap: 8px;
    height: 60px;
    padding: 0 14px;
  }

  .brand {
    flex: 1 1 auto;
    gap: 8px;
  }

  .brand__logo,
  .brand__logo img {
    width: 38px;
    height: 38px;
  }

  .brand__text strong {
    max-width: clamp(72px, 20vw, 150px);
    font-size: 14px;
  }

  .brand__text small,
  .nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .mobile-header-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 6px;
    margin-right: 0;
    margin-left: 0;
  }

  .mobile-search-input {
    width: clamp(64px, 18vw, 96px);
  }

  .mobile-lang {
    width: 60px;
    padding: 5px 4px;
    font-size: 12px;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    height: auto;
    min-height: 360px;
  }

  .hero__content {
    width: 100%;
    padding: 38px 18px 280px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero__features {
    flex-direction: column;
    gap: 12px;
  }

  .about-section {
     padding: 48px 20px;
   }

   .about-grid {
     grid-template-columns: 1fr;
     gap: 32px;
   }

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

   .capabilities-section,
   .quality-section,
   .news-section {
     padding: 48px 20px;
   }

   .cap-grid,
   .quality-grid {
     grid-template-columns: repeat(2, 1fr);
     gap: 16px;
   }

   .process-steps {
     gap: 6px;
   }

   .process-step {
     min-width: 100px;
     padding: 12px;
   }

   .process-arrow {
     display: none;
   }

   .news-grid {
     grid-template-columns: 1fr;
     gap: 16px;
   }

   .page-hero {
     padding: 48px 20px;
     min-height: 140px;
   }

   .page-hero h1 {
     font-size: 26px;
   }

   .home-about {
     padding: 48px 20px;
   }

   .home-about__grid {
     grid-template-columns: 1fr;
     gap: 32px;
   }

   .home-capabilities,
   .home-products,
   .home-news {
     padding: 48px 20px;
   }

   .home-products__grid {
     grid-template-columns: repeat(2, minmax(0, 1fr));
   }

   .support-grid,
   .contact-info-grid {
     grid-template-columns: repeat(2, 1fr);
     gap: 16px;
   }

   .about-detail-grid,
   .quality-detail-grid {
     grid-template-columns: 1fr;
     gap: 16px;
   }

  .catalog {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
    margin-top: 20px;
  }

  .toolbar-controls {
    flex-wrap: wrap;
  }

  .toolbar-controls input,
  .toolbar-controls select {
    flex: 1 1 180px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel {
    padding: 32px 20px 46px;
  }

  .contact-panel form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal {
    inset: 80px 12px auto;
    width: auto;
    max-height: calc(100vh - 96px);
  }

  .chat-widget {
    right: 12px;
    bottom: 12px;
    max-height: calc(100vh - 84px);
  }

  .site-footer {
    padding: 40px 20px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cookie-consent {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .chat-fab {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .back-to-top {
    right: 16px;
    bottom: 76px;
  }
}

@media (max-width: 520px) {
  .brand__text {
    display: none;
  }

  .mobile-search-input {
    width: 78px;
  }

  .product-grid,
  .contact-panel form,
  .detail-list {
    grid-template-columns: 1fr;
  }

  .cap-grid,
   .quality-grid {
     grid-template-columns: 1fr;
   }

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

   .footer-grid {
     grid-template-columns: 1fr;
   }

   .news-card {
     grid-template-columns: 1fr;
     gap: 12px;
   }

   .news-card__date {
     width: 100%;
     height: auto;
     padding: 10px;
     grid-auto-flow: column;
     gap: 6px;
   }

   .support-grid,
   .contact-info-grid {
     grid-template-columns: 1fr;
   }

   .home-products__grid {
     grid-template-columns: 1fr;
   }

  .catalog-main {
    padding: 16px 12px 0;
  }

  .product-card__image {
    height: 190px;
  }

  .info-table {
    grid-template-columns: 1fr;
  }

  .info-table div:nth-child(odd) {
    border-right: 0;
    border-bottom: 0;
    background: #f3f4f5;
  }

  .chat-widget__identity {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 22px;
  }
}
