:root {
  --site-ink: #101820;
  --site-muted: #5f6b76;
  --site-line: #e4ddec;
  --site-surface: #f7f4fa;
  --site-primary: #5f259f;
  --site-primary-dark: #3f176d;
  --site-primary-light: #d8c2ec;
  --site-primary-hover: #4c1d80;
  --site-header-height: 110px;
  --site-radius: 2px;
  --site-shadow: 0 22px 55px rgba(16, 24, 32, .12);
  --font-main: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

html { scroll-padding-top: calc(var(--site-header-height) + 24px); }
body.site-shell {
  padding-top: var(--site-header-height);
  color: var(--site-ink);
  background: #fff;
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}
body.site-shell main { min-height: 52vh; }
body.site-shell .container { width: min(100% - 40px, 1280px); max-width: 1280px; }
body.site-shell a { text-underline-offset: 3px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1040;
  background: #fff;
  box-shadow: 0 1px 0 rgba(16, 24, 32, .12);
}
.site-utility { height: 36px; color: #fff; background: var(--site-ink); }
.site-utility__inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 24px; }
.site-utility p { margin: 0; color: rgba(255,255,255,.68); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.site-utility__contacts { display: flex; height: 100%; align-items: center; gap: 22px; }
.site-utility__contacts a { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 12px; text-decoration: none; }
.site-utility__contacts a:hover { color: var(--site-primary-light); }
.site-utility__contacts .site-whatsapp-link { color: #8ee5ae; }
.site-utility__contacts span { color: #8e9ba7; font-size: 10px; font-weight: 700; letter-spacing: .08em; }

#navbar.site-navbar {
  position: relative;
  height: 74px;
  padding: 0;
  border: 0;
  background: #fff;
  box-shadow: none;
  font-weight: 600;
}
#navbar.site-navbar .container { height: 100%; }
#navbar.site-navbar .navbar-brand,
#navbar.site-navbar .nav-link { color: var(--site-ink) !important; }
.site-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--site-ink); text-decoration: none; }
.site-brand__mark { display: grid; width: 38px; height: 38px; place-items: center; color: #fff; background: var(--site-primary); font-size: 23px; font-weight: 900; line-height: 1; }
.site-brand__name { display: flex; flex-direction: column; font-size: 22px; font-weight: 850; letter-spacing: .08em; line-height: .95; }
.site-brand__name small { margin-top: 7px; color: var(--site-muted); font-size: 8px; font-weight: 700; letter-spacing: .28em; }
#navbar.site-navbar .navbar-nav { gap: 2px; }
#navbar.site-navbar .nav-link { margin: 0; padding: 27px 14px 24px; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; }
#navbar.site-navbar .nav-link::after { bottom: 17px; height: 2px; background: var(--site-primary); }
#navbar.site-navbar .nav-link:hover::after,
#navbar.site-navbar .nav-link.active::after { width: calc(100% - 28px); }
.site-nav-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--site-primary);
  border-radius: 0;
  color: #fff;
  background: var(--site-primary);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.site-nav-quote { margin-left: 18px; padding: 13px 17px; }
.site-language { margin-left: 10px; }
.site-language__toggle { display: inline-flex; align-items: center; gap: 7px; padding: 10px 9px; border: 0; color: var(--site-ink); background: transparent; font-size: 12px; font-weight: 700; }
.site-language__toggle:hover,
.site-language__toggle:focus { color: var(--site-primary); }
.site-language .dropdown-menu { min-width: 155px; padding: 7px; border-color: var(--site-line); border-radius: 0; box-shadow: var(--site-shadow); }
.site-language .dropdown-item { padding: 9px 12px; font-size: 13px; }
.site-language .dropdown-item.active,
.site-language .dropdown-item:active { color: #fff; background: var(--site-primary); }
.site-nav-quote:hover { border-color: var(--site-primary-hover); color: #fff; background: var(--site-primary-hover); }

.site-product-menu,
.site-product-menu[data-bs-popper] {
  position: fixed !important;
  top: 109px !important;
  left: 50% !important;
  display: none;
  width: min(1120px, calc(100vw - 40px));
  margin: 0 !important;
  padding: 0;
  transform: translateX(-50%) !important;
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: 0;
  background: #fff;
  box-shadow: var(--site-shadow);
}
.site-product-nav .dropdown-menu.show { display: grid; grid-template-columns: 300px 1fr; }
.site-product-menu__intro { padding: 34px; color: #fff; background: var(--site-primary-dark); }
.site-product-menu__intro > span { display: block; margin-bottom: 12px; color: var(--site-primary-light); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.site-product-menu__intro strong { display: block; margin-bottom: 12px; font-size: 24px; line-height: 1.2; }
.site-product-menu__intro p { margin-bottom: 26px; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.7; }
.site-product-menu__intro a { color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.site-product-menu__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px; }
.site-product-menu__grid > a { display: flex; min-height: 94px; align-items: flex-start; gap: 16px; padding: 20px; color: var(--site-ink); border-bottom: 1px solid var(--site-line); text-decoration: none; }
.site-product-menu__grid > a:nth-last-child(-n+2) { border-bottom: 0; }
.site-product-menu__grid > a:hover { background: var(--site-surface); }
.site-product-menu__grid i { color: var(--site-primary); font-size: 25px; }
.site-product-menu__grid span { display: flex; flex-direction: column; gap: 6px; }
.site-product-menu__grid strong { font-size: 14px; }
.site-product-menu__grid small { color: var(--site-muted); font-size: 11px; line-height: 1.5; }

.site-floating-quote {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1030;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  color: #fff;
  background: var(--site-primary);
  box-shadow: 0 16px 36px rgba(95, 37, 159, .28);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background-color .2s ease;
}
.site-floating-quote:hover { color: #fff; background: var(--site-primary-hover); transform: translateY(-2px); }
.site-floating-quote.is-hidden {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
}

body.site-shell .btn { border-radius: var(--site-radius); font-weight: 700; }
body.site-shell .btn-primary { border-color: var(--site-primary); background: var(--site-primary); }
body.site-shell .btn-primary:hover { border-color: var(--site-primary-dark); background: var(--site-primary-dark); }
body.site-shell .feature-card,
body.site-shell .news-card,
body.site-shell .catalog-card,
body.site-shell .overview-card,
body.site-shell .contact-details,
body.site-shell .contact-form-wrapper,
body.site-shell .resource-card { border-radius: var(--site-radius); }
body.site-shell .feature-card,
body.site-shell .catalog-card,
body.site-shell .overview-card { border-color: var(--site-line); box-shadow: none; }
body.site-shell .feature-card:hover,
body.site-shell .catalog-card:hover,
body.site-shell .overview-card:hover { box-shadow: var(--site-shadow); }

body.site-shell .panel.video-hero { height: calc(100vh - var(--site-header-height)); min-height: 620px; padding-top: 0; }
body.site-shell .panel-content { width: min(100% - 40px, 1280px); text-align: left; }
body.site-shell .panel-content h1 { max-width: 900px; font-size: clamp(2.7rem, 6vw, 5.8rem); font-weight: 720 !important; letter-spacing: -.035em; line-height: .98; }
body.site-shell .panel-content .lead { max-width: 650px; font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { min-width: 170px; padding: 14px 20px; border-radius: 0 !important; font-size: 13px; text-transform: uppercase; }
.home-system { padding: 105px 0; background: #fff; }
.home-section-heading { display: grid; grid-template-columns: .8fr 1.4fr; gap: 8vw; align-items: end; margin-bottom: 52px; }
.home-section-heading p { margin: 0; color: var(--site-muted); line-height: 1.8; }
.home-section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 700; line-height: 1.08; }
.home-family-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--site-line); border-left: 1px solid var(--site-line); }
.home-family-card { display: flex; min-height: 360px; flex-direction: column; padding: 26px; color: var(--site-ink); border-right: 1px solid var(--site-line); border-bottom: 1px solid var(--site-line); text-decoration: none; transition: .25s ease; }
.home-family-card:hover { color: var(--site-ink); background: var(--site-surface); transform: translateY(-4px); box-shadow: var(--site-shadow); }
.home-family-card span { color: var(--site-primary); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.home-family-card img { width: 100%; height: 150px; margin: 26px 0 18px; object-fit: contain; }
.home-family-card h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.35; }
.home-family-card p { margin-bottom: 20px; color: var(--site-muted); font-size: 12px; line-height: 1.7; }
.home-family-card i { margin-top: auto; color: var(--site-primary); }
.home-proof { padding: 95px 0; color: #fff; background: var(--site-primary-dark); }
.home-proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.18); }
.home-proof__grid article { padding: 34px; background: var(--site-primary-dark); }
.home-proof__grid i { display: block; margin-bottom: 28px; color: var(--site-primary-light); font-size: 30px; }
.home-proof__grid h3 { margin-bottom: 12px; font-size: 20px; }
.home-proof__grid p { margin: 0; color: rgba(255,255,255,.67); line-height: 1.75; }

body.site-shell main.contact-page { padding-top: 0; }
body.site-shell .contact-page .page-header { padding: 78px 0 52px; background: var(--site-surface); }
body.site-shell .contact-item a { color: var(--site-muted); font-weight: 600; text-decoration: none; }
body.site-shell .contact-item a:hover { color: var(--site-primary); text-decoration: underline; }
body.site-shell .contact-form-wrapper { scroll-margin-top: calc(var(--site-header-height) + 20px); }

.site-footer { padding: 0; color: #c4cbd1; background: var(--site-ink); text-align: left; }
.site-footer__lead { padding: 72px 0 48px; border-bottom: 1px solid rgba(255,255,255,.14); }
.site-footer__lead h2 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.08; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 6vw; padding: 56px 0; }
.site-footer__brand p { max-width: 320px; margin-top: 24px; color: #8e9aa4; line-height: 1.8; }
.site-brand--footer { color: #fff; }
.site-brand--footer .site-brand__name small { color: #8e9aa4; }
.site-footer h3 { margin-bottom: 22px; color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #bdc6cd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.site-footer__contact span { margin-right: 6px; color: #71808d; font-size: 10px; font-weight: 800; }
.site-footer__contact p { margin: 8px 0 0; color: #7f8d98; font-size: 12px; line-height: 1.7; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; }
.site-footer__bottom p { display: block; margin: 0; }
.site-footer__bottom div { display: flex; gap: 22px; }

body.site-shell .catalog-hero { padding-top: 100px; background: linear-gradient(120deg, var(--site-primary-dark), var(--site-primary)); }
body.site-shell .catalog-kicker--blue,
body.site-shell .catalog-card a,
body.site-shell .product-feature-list i { color: var(--site-primary); }
body.site-shell .catalog-card__body > span { color: var(--site-primary); background: #efe6f7; }
body.site-shell .catalog-cta,
body.site-shell .product-detail-next { background: var(--site-primary-dark); }
body.site-shell .catalog-jump { top: var(--site-header-height); }
body.site-shell .product-detail-hero { padding-top: 82px; }

@media (min-width: 992px) {
  .site-product-nav:hover > .site-product-menu { display: grid; grid-template-columns: 300px 1fr; }
  .site-floating-quote { display: none; }
}

@media (max-width: 1199.98px) {
  #navbar.site-navbar .nav-link { padding-inline: 9px; }
  .site-nav-quote { margin-left: 8px; padding-inline: 12px; }
  .home-family-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991.98px) {
  :root { --site-header-height: 102px; }
  .site-utility { height: 34px; }
  .site-utility p,
  .site-utility__contacts a:nth-child(1),
  .site-utility__contacts a:nth-child(3) { display: none; }
  .site-utility__inner { justify-content: flex-end; }
  #navbar.site-navbar { height: 68px; }
  #navbar.site-navbar .navbar-collapse { position: fixed; top: var(--site-header-height); right: 0; left: 0; max-height: calc(100vh - var(--site-header-height)); padding: 14px 20px 24px; overflow-y: auto; border-top: 1px solid var(--site-line); background: #fff; box-shadow: var(--site-shadow); }
  #navbar.site-navbar #navMenu .navbar-nav { display: flex !important; align-items: stretch !important; }
  #navbar.site-navbar .nav-link { padding: 14px 0; border-bottom: 1px solid var(--site-line); }
  #navbar.site-navbar .nav-link::after { display: none; }
  .site-nav-quote { width: 100%; margin: 18px 0 0; }
  .site-language { margin: 14px 0 0; }
  .site-language__toggle { width: 100%; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--site-line); }
  .site-language .dropdown-menu { width: 100%; box-shadow: none; }
  .site-product-menu,
  .site-product-menu[data-bs-popper] { position: static !important; width: 100%; transform: none !important; border: 0; box-shadow: none; }
  .site-product-nav .dropdown-menu.show { display: block; }
  .site-product-menu__intro { display: none; }
  .site-product-menu__grid { grid-template-columns: 1fr; padding: 8px 0; }
  .site-product-menu__grid > a { min-height: auto; padding: 13px 10px; border-bottom: 1px solid var(--site-line) !important; }
  .site-product-menu__grid small { display: none; }
  .home-section-heading { grid-template-columns: 1fr; gap: 18px; }
  .home-family-grid { grid-template-columns: repeat(2, 1fr); }
  .home-proof__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767.98px) {
  body.site-shell .container { width: min(100% - 28px, 1280px); }
  .site-brand__mark { width: 34px; height: 34px; }
  .site-brand__name { font-size: 19px; }
  .site-floating-quote { right: 14px; bottom: 14px; min-height: 48px; padding: 0 15px; }
  .site-floating-quote span { font-size: 10px; }
  body.site-shell .panel.video-hero { min-height: 560px; }
  body.site-shell .panel-content h1 { font-size: clamp(2.35rem, 12vw, 3.7rem); }
  body.site-shell .scroll-cue-wrapper { display: none; }
  .home-system { padding: 72px 0; }
  .home-family-grid { grid-template-columns: 1fr; }
  .home-family-card { min-height: 290px; }
  .site-footer__lead { padding-top: 54px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; }
  body.site-shell .catalog-hero { padding-top: 72px; }
  body.site-shell .catalog-jump { top: var(--site-header-height); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
