* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}

.link-anim {
  position: relative;
  color: #ed1c24;
  display: inline-block;
  cursor: pointer;
}
.link-anim a {
  color: #ed1c24;
  text-decoration: none;
}
.link-anim::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: #ed1c24;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.link-anim::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
.link-anim:hover::before {
  transform: scaleX(1);
}
.link-anim:hover::after {
  transform: scaleX(0);
}

/* ══════════════════════════════
       HEADER
    ══════════════════════════════ */
.header {
  width: 100%;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.header-inner {
  max-width: 1900px;
  height: 90px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Left */
.left,
.right {
  display: flex;
  align-items: center;
}
.left {
  gap: 22px;
}
.right {
  gap: 24px;
}

.logo img {
  width: 105px;
  display: block;
}

/* Menu box */
.menu-box {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.menu-icon {
  display: flex;
  gap: 4px;
  height: 30px;
  align-items: center;
  width: 22px;
}
.menu-icon span {
  width: 7px;
  height: 52px;
  display: block;
  transform: skew(-12deg);
  background: linear-gradient(to bottom, #ed1c24 50%, #000 50%);
  background-size: 100% 200%;
  background-position: bottom;
  transition: background-position 0.42s ease;
}
.menu-box:hover .menu-icon span:nth-child(1) {
  background-position: top;
  transition-delay: 0s;
}
.menu-box:hover .menu-icon span:nth-child(2) {
  background-position: top;
  transition-delay: 0.16s;
}
.menu-box:hover .menu-icon span:nth-child(3) {
  background-position: top;
  transition-delay: 0.32s;
}
.menu-icon span:nth-child(1) {
  transition-delay: 0.32s;
}
.menu-icon span:nth-child(2) {
  transition-delay: 0.16s;
}
.menu-icon span:nth-child(3) {
  transition-delay: 0s;
}

.menu-text {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
  color: #000;
  transition: color 0.25s ease;
}
.menu-box:hover .menu-text {
  color: #ed1c24;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  color: #000;
}
.nav > a,
.nav-item > a {
  white-space: nowrap;
  transition: color 0.25s ease;
}
.nav a.active,
.nav a:hover,
.nav-item:hover > a {
  color: #ed1c24;
}
.nav i {
  font-size: 9px;
  margin-left: 4px;
}
.nav-item {
  position: relative;
  padding: 20px 0;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 40px;
  left: -150px;
  width: 520px;
  background: #fff;
  z-index: 999;
  padding: 28px 100px 32px 115px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  clip-path: polygon(70px 0, 100% 0, calc(100% - 75px) 100%, 0 100%);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.dropdown-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dropdown-links a {
  position: relative;
  font-size: 14px;
  color: #000;
  padding-left: 0;
  transition:
    color 0.25s ease,
    padding-left 0.25s ease;
}
.dropdown-links a::before {
  content: "//";
  position: absolute;
  left: 0;
  color: #ed1c24;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.25s ease;
}
.dropdown-links a:hover {
  color: #ed1c24;
  padding-left: 18px;
}
.dropdown-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.lang {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 11px;
  line-height: 1;
}
.lang a {
  font-size: 12px;
  font-weight: 400;
  color: #000;
  transition: color 0.25s ease;
}
.lang a.active {
  color: #ed1c24;
  font-weight: 800;
}
.lang a:not(.active):hover {
  color: #ed1c24;
}

.socials {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header .social-icon {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
}
.header .social-icon img {
  position: absolute;
  inset: 0;
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: opacity 0.25s ease;
}
.header .social-icon .hover {
  opacity: 0;
}
.header .social-icon:hover .normal {
  opacity: 0;
}
.header .social-icon:hover .hover {
  opacity: 1;
}

.call {
  width: fit-content;
  margin: 6px 0 5px;
  color: #ed1c24;
  font-size: 13px;
  font-weight: 900;
  border-bottom: 1px solid #ed1c24;
  transition:
    border-color 0.3s ease,
    color 0.3s ease;
}
.call:hover {
  border-bottom-color: transparent;
}

.contacts {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
  white-space: nowrap;
  gap: 8px;
}
.phone,
.email {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  transition: color 0.3s ease;
}
.phone:hover,
.email:hover {
  color: #ed1c24;
}

.worktime {
  font-size: 10px;
  line-height: 1.2;
  color: #000;
  white-space: nowrap;
}

.icons-fixed {
  position: fixed;
  left: 26px;
  top: 36%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px 10px;
  z-index: 1000;
}
.icons-fixed .social-icon {
  position: relative;
  width: 25px;
  height: 25px;
  display: block;
}
.icons-fixed .social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: absolute;
  inset: 0;
  transition: opacity 0.25s ease;
}
.icons-fixed .social-icon .hover {
  opacity: 0;
}
.icons-fixed .social-icon:hover .normal {
  opacity: 0;
}
.icons-fixed .social-icon:hover .hover {
  opacity: 1;
}

/* ══════════════════════════════
       SIDE MENU
    ══════════════════════════════ */

.side-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}
.side-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  max-width: 100%;
  background: #fff;
  z-index: 9999;
  transform: translateX(-110%);
  transition: transform 0.35s ease;
  overflow: visible;
}
.side-menu.active {
  transform: translateX(0);
}

.side-menu-close {
  position: absolute;
  top: 28px;
  left: 40%;
  transform: translateX(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
}
.side-menu-close svg {
  width: 60px;
  height: 60px;
  stroke: #000;
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.75s ease;
}
.side-menu-close:hover svg {
  stroke: #ed1c24;
}

.side-menu-content {
  position: relative;
  margin-top: 125px;
  padding: 0 20px 55px 60px;
  height: calc(100vh - 125px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: auto;
  scrollbar-color: #8f8f8f #f7f7f7;
}
.side-menu-content::-webkit-scrollbar {
  width: 16px;
}
.side-menu-content::-webkit-scrollbar-track {
  background: #f7f7f7;
}
.side-menu-content::-webkit-scrollbar-thumb {
  background: #8f8f8f;
  border-radius: 20px;
  border: 4px solid #f7f7f7;
}
.side-menu-content::-webkit-scrollbar-thumb:hover {
  background: #ed1c24;
}

.side-menu h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
  position: relative;
  width: fit-content;
  cursor: pointer;
  transition: color 0.25s ease;
}
.side-menu h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #ed1c24;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.side-menu h2:hover {
  color: #ed1c24;
}
.side-menu h2:hover::after {
  opacity: 1;
}

.side-menu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.side-menu-list > a,
.company-grid a {
  font-size: 16px;
  color: #000;
  position: relative;
  width: fit-content;
  transition: color 0.25s ease;
}
.side-menu-list > a::after,
.company-grid a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #ed1c24;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.side-menu-list > a:hover,
.company-grid a:hover {
  color: #ed1c24;
}
.side-menu-list > a:hover::after,
.company-grid a:hover::after {
  opacity: 1;
}

.side-menu-item {
  display: flex;
  align-items: center;
  gap: 20px;
  width: fit-content;
}
.side-menu-item .text {
  position: relative;
  cursor: pointer;
  font-size: 16px;
  transition: color 0.25s ease;
}
.side-menu-item .text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #ed1c24;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.side-menu-item .text:hover {
  color: #ed1c24;
}
.side-menu-item .text:hover::after {
  opacity: 1;
}

.side-menu-item .arrow {
  font-size: 18px;
  color: #777;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-block;
}
.side-menu-item .arrow:hover {
  color: #ed1c24;
}

.submenu-trigger.active .arrow {
  color: #ed1c24;
  transform: rotate(90deg);
}

.submenu {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding-left: 25px;
  margin-top: 8px;
}
.submenu.active {
  display: flex;
}
.submenu a {
  font-size: 16px;
  color: #000;
  position: relative;
  width: fit-content;
  transition: color 0.25s ease;
}
.submenu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #ed1c24;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.submenu a:hover {
  color: #ed1c24;
}
.submenu a:hover::after {
  opacity: 1;
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

footer {
  margin-left: 90px;
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 150px;
  overflow: hidden;
}
.footer-left {
  max-width: 900px;
}
.footer-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-info {
  display: flex;
  gap: 80px;
  margin-top: 20px;
}
.info-item span {
  color: #999;
  font-size: 11px;
}
.info-item p {
  margin: 20px 0;
  font-size: 16px;
  font-weight: 400;
}

.footer-right {
  width: 400px;
}
.footer-right img {
  width: 100%;
}

.footer-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-socials {
  display: flex;
  gap: 15px;
  cursor: pointer;
  margin-bottom: 10px;
}
.footer-socials img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  transition: 0.3s;
}
.footer-socials img:hover {
  transform: scale(1.15);
}

.footer-ifr iframe {
  border: none;
}

.footer-bottom {
  display: flex;
  gap: 80px;
  margin-top: 10px;
}
.footer-bottom span {
  color: #999;
  font-size: 11px;
}
.footer-bottom p {
  font-size: 16px;
  font-weight: 400;
}

.footer-links {
  margin-top: 40px;
  font-size: 14px;
}
.footer-links a {
  color: #000;
  font-size: 14px;
}
.footer-links a:hover {
  color: #ed1c24;
}
.footer-links p {
  color: #999;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 8px;
}

footer a {
  text-decoration: none;
  color: #000;
  transition: color 0.2s;
}
footer a:hover {
  color: #ed1c24;
}
.footer-bottom a {
  font-size: 16px;
  font-weight: 400;
  color: #000;
}

.red {
  color: #000;
  transition: color 0.3s;
  cursor: pointer;
}
.red:hover {
  color: #ed1c24;
}

.telegram-banner {
  background: #ed1c24;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  width: 78%;
  margin: 40px 0;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
}
.tg-text {
  font-size: 12px;
}
.tg-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tg-icon {
  font-size: 16px;
}
.tg-right a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
  font-size: 12px;
}
.tg-right a:hover {
  border-bottom: 1px solid #fff;
}

@media (max-width: 1024px) {
  .icons-fixed,
  .worktime {
    display: none;
  }
}
@media (max-width: 768px) {
  .header-inner {
    padding: 0 14px;
    height: 70px;
  }
/*  .main-content {*/
/*  padding-top: 20px;*/
/*  padding-left: 10px !important;*/
/*}*/
.ss-items{
  padding: 0px !important;
}
.i-descr {
        font-size: 13px;
        line-height: 18px;
    }
    .ss-itm p{
        width: 70% !important;
        font-size: 12px !important;
        padding:20px !important ;
    }
     html body{  
      overflow-x: hidden !important;
    } 
  .nav,
  .contacts,
  .socials,
  .lang {
    display: none;
  }

  footer {
    display: block;
    margin-top: 70px;
    margin-left: 5px;
    width: 100%;
    overflow: hidden;
  }
  .footer-left {
    max-width: 100%;
    width: 100%;
  }
  .footer-title {
    font-size: 20px;
    line-height: 1.1;
    margin-bottom: 35px;
  }
  .footer-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
    margin-top: 0;
  }
  .info-item span {
    font-size: 10px;
    display: block;
    margin-bottom: 10px;
  }
  .info-item p {
    font-size: 10px;
    line-height: 1.5;
    margin: 0;
  }
  .footer-card {
    display: block;
    margin-top: 10px;
  }
  .footer-socials {
    gap: 9px;
    margin-top: 18px;
    margin-bottom: 12px;
  }
  .footer-socials img {
    width: 17px;
    height: 17px;
  }
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
    margin-top: 18px;
  }
  .footer-bottom span {
    font-size: 10px;
  }
  .footer-bottom p,
  .footer-bottom a {
    font-size: 10px;
    line-height: 1.4;
  }
  .footer-links {
    margin-top: 22px;
    display: block !important;
    font-size: 10px;
    line-height: 1.35;
  }
  .footer-links a {
    display: block;
    margin-bottom: 10px;
  }
  .footer-links p {
    margin-top: 10px;
    font-size: 10px;
  }
  .telegram-banner {
    width: 100%;
    margin: 25px 0 0;
    padding: 18px;
    clip-path: none;
    display: block;
  }
  .tg-text {
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    display: block;
    margin-bottom: 28px;
  }
  .tg-right {
    gap: 18px;
  }
  .footer-right {
    display: none;
  }
  .footer-ifr {
    width: 150px;
    height: 50px;
    overflow: hidden;
  }
  .footer-ifr iframe {
    width: 200px;
    height: 100px;
    transform: scale(0.82);
    transform-origin: left top;
  }
}
@media (max-width: 420px) {
  .footer-title {
    font-size: 19px;
  }
  .footer-info {
    grid-template-columns: 1fr 1fr;
    gap: 26px 18px;
  }
  .info-item p,
  .footer-bottom p,
  .footer-bottom a,
  .footer-links,
  .footer-links p {
    font-size: 9.5px;
  }
  .telegram-banner {
    padding: 18px 16px;
  }
}

.demo-body {
  min-height: 600px;
  padding: 120px 80px 60px;
  font-family: Arial, sans-serif;
  color: #666;
  font-size: 18px;
  text-align: center;
}
.main-content a {
  text-decoration: none;
  color: inherit;
}
/*.main-content {*/
/*  margin-top: 30px;*/
/*  padding-top: 90px;*/
/*  padding-left: 90px;*/
/*  padding-left: 138px;*/
/*    padding-right: 70px;*/
/*    padding-top: 130px;*/
/*}*/
/*       breadcrumbs      */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
}
.breadcrumbs_item {
  display: block;
  position: relative;
  color: #000;
  font-size: 15px;
  font-weight: bold;
  line-height: 22px;
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  padding-left: 40px;
  letter-spacing: 1.1px;
  margin-bottom: 30px;
  margin-right: 30px;
  max-width: 1000px;
}
.breadcrumbs_item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 34px;
  width: 2px;
  background: #ed1c24;
  transform: skewX(-13deg) translateY(-50%);
}

.breadcrumbs_item a:hover {
  color: #ed1c24;
}
.breadcrumbs_item:last-child {
  color: #ed1c24;
}
/*       breadcrumbs      */
/*   head  */
.sc-second-page {
  padding: 0 0 70px 0;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 64px;
}
.ss-p {
  color: rgba(0, 0, 0, 0.7);
  font-size: 20px;
  line-height: 34px;
  font-family: Arial, sans-serif;
  margin-bottom: 110px;
  letter-spacing: 0.5px;
  max-width: 1500px;
}
/*head*/
/*   certificates   */
.s-serti {
  padding-bottom: 60px;
}



.ss-items {
  display: grid;
  grid-template-columns: 2fr 2fr;
  max-width: 1400px;
  padding: 0 40px;
  margin: 0 auto;
  max-width: 1300px;
  gap: 30px;
}

/* ─── Kart ─── */
.ss-itm {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.ss-i-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 24px 20px;
  min-height: 200px;
}

.ss-i-image img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  display: block;
  transition: transform 0.35s ease;
}

.ss-i-descr {
  display: block;
  border: 1px solid #111;
  padding: 20px 18px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #111111;
  line-height: 1.5;
  background: #ffffff;
  transition:
    border-color 0.25s ease,
    color 0.25s ease;
  padding: 45px 15px 65px 35px;
}

.ss-itm:hover .ss-i-descr {
  border-color: #ed1c24;
}
.ss-itm p {
  width: 400px;
  font-size: 15px;
}
/* ─── Kart ─── */

@media (max-width: 1024px) {
  .breadcrumbs_item {
    font-size: 12px !important;
    padding-left: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    line-height: 1.25;
  }
  .sc-second-page {
    padding: 30px 0 30px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 40px;
  }
  .breadcrumbs_item::before {
    
    width: 2px;
  }
  .ss-p {
    font-size: 16px;
    line-height: 24px;
  }
  .ss-items {
    grid-template-columns: 1fr;
  }
  .ss-i-descr {
    padding: 20px 15px;
  }
}
