/* ============================================
   Брейкпоинты
   ============================================
   Мобильный (мин.):  max-width: 360px
   Мобильный:         max-width: 480px  / min-width: 481px
   Верт. планшет:     max-width: 810px  / min-width: 811px
   Гориз. планшет:    max-width: 1024px / min-width: 1025px
   Небольшой ноутбук: max-width: 1280px / min-width: 1281px
   Большие экраны:    min-width: 1281px
   ============================================ */

:root {
  /* Шрифты */
  --main-font: "Exo 2", sans-serif;
  --second-font: "Inter Tight", sans-serif;

  /* Фирменные цвета */
  --color-primary: #042A81;
  --color-secondary: #031D58;
  --color-accent: #EFF5FF;

  /* Текст */
  --color-text: #111111;
  --color-text-muted: #8d8f92;
  --color-text-light: #c0c0c0;
  --color-text-dark: #333333;
  --color-white: #ffffff;
  --color-black: #000000;

  /* Фон */
  --color-bg: #ffffff;
  --color-bg-light: #f5f5f5;
  --color-bg-subtle: #f8f9fa;
  --color-bg-muted: #f7f4fb;
  --color-bg-blue: #f4f8ff;
  --color-bg-gray: #f1f2f3;

  /* Границы */
  --color-border: #dee2e6;
  --color-border-light: #eaecef;
  --color-sidebar-border: #5b749a;

  /* Семантические */
  --color-success: #146c43;
  --color-danger: #dc3545;
  --color-info: #13aff0;
  --color-rating: #ffb390;

  /* UI элементы */
  --color-gray: #707070;
  --color-scrollbar: #d3d2d2;
  --color-scrollbar-hover: #9ba9be;
}

/* ============================================
   Global Reset
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--second-font);
  color: var(--color-text);
  line-height: 1.5;
  background-color: var(--color-white);
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-primary);
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 0;
  box-shadow: none;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-family: var(--main-font);
  font-weight: 500;
  color: var(--color-text);
  margin-top: 0;
}

p {
  font-size: 18px;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font-family: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

/* ============================================
   SITE HEADER (BEM)
   ============================================ */
.site-header {
  position: relative;
  z-index: 100;
}

/* ---- Top Bar ---- */
.top-bar {
  background: var(--color-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.top-bar__left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
}

.top-bar__left svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.top-bar__right {
  display: flex;
  align-items: center;
  gap: 60px;
}

.top-bar__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.top-bar__contact svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.top-bar__phone {
  font-weight: 700;
  color: #fff;
}

.top-bar__socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar__social-link svg {
  width: 24px;
  height: 24px;
}

/* ---- Header ---- */
.header {
  position: relative;
  z-index: 100;
  background: var(--color-primary);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

.header__left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 80px;
  width: auto;
}

.header__descriptor {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  max-width: 200px;
  margin-left: 10px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__nav-item {
  position: relative;
}

.header__nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  border-radius: 8px;
  transition: color 0.2s;
  white-space: nowrap;
  cursor: pointer;
}

.header__nav-link:hover {
  color: rgba(66, 164, 255, 1);
}

.header__nav-link .chevron {
  width: 20px;
  height: 20px;
  opacity: 0.6;
  transition: transform 0.3s;
}

.header__nav-item--has-dropdown:hover .chevron {
  transform: rotate(180deg);
}

/* ---- Header Dropdown ---- */
.header__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  padding: 12px 0;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 12px 40px rgba(4, 42, 129, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.25s,
    visibility 0.25s,
    transform 0.25s;
  z-index: 100;
}

.header__nav-item--has-dropdown:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__dropdown-link {
  display: block;
  padding: 12px 24px;
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.35;
  color: var(--color-secondary);
  transition:
    background 0.2s,
    color 0.2s;
}

.header__dropdown-link:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* ---- Header Phone (right side) ---- */
.header__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  transition: color 0.2s;
}

.header__phone:hover {
  color: rgba(66, 164, 255, 1);
}

.header__phone svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---- Mobile burger button ---- */
.header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.header__burger:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

.header__burger svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
}

/* ---- Header Responsive ---- */
@media (max-width: 1200px) {
  .header__nav {
    gap: 24px;
  }
}

@media (max-width: 1080px) {
  .header__nav {
    gap: 24px;
  }
  .header__nav-link {
    font-size: 16px;
  }
  .header__descriptor {
    display: none;
  }
}

/* ---- Mobile action buttons (phone, mail, burger) ---- */
.header__mobile-actions {
  display: none;
  align-items: center;
  gap: 12px;
}

.header__mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
}

.header__mobile-btn:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

.header__mobile-btn svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}

@media (max-width: 1024px) {
  .top-bar {
    display: none;
  }
  .header .container {
    height: 70px;
  }
  .header__logo img {
    height: 50px;
  }
  .header__nav {
    display: none;
  }
  .header__descriptor {
    display: none;
  }
  .header__mobile-actions {
    display: flex;
  }
  .header__burger {
    display: flex;
  }
}

/* Old header-top/main-header overrides (kept for mobile menu compat) */
.footer-top {
  background-color: #f5f5f5;
}
.footer-bottom {
  background-color: #ebebeb;
}

.footer-top .text-hawkes-blue *,
.footer-top .widget-list-item li a,
.footer-top .short-desc {
  color: #333;
}

.footer-top .heading,
.footer-top .text-white,
.footer-top h3.heading {
  color: var(--color-primary) !important;
}

.footer-top h3.heading a {
  color: var(--color-primary);
}

.footer-top a:hover {
  color: var(--color-primary);
}

.footer-top h3.footer-heading {
  margin-bottom: 30px;
}

.footer-bottom.text-hawkes-blue *,
.footer-bottom .copyright-text,
.footer-bottom a {
  color: #555;
}

/* Global container width */
.container {
  max-width: 1630px;
  padding-left: 40px;
  padding-right: 40px;
  margin: 0 auto;
}

@media (max-width: 1023px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* ============================================
   PRODUCTS GRID (replaces slider)
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.products-grid__item {
  width: 100%;
}

.products-grid .industry-two-slider__single-item__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #e0e0e0;
}

.products-grid .industry-two-slider__single-item__content .title a {
  font-size: 18px;
  margin-top: 12px;
  color: var(--color-white);
}

@media (max-width: 810px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 360px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.products-grid__more {
  text-align: center;
  margin-top: 40px;
}

.products-grid__more-btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--second-font);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  transition: background 0.2s;
}

.products-grid__more-btn:hover {
  background: var(--color-secondary);
  color: #fff;
}

/* Background image (was data-bg-image in HTML) */
.banner-style-2 {
  background-image: url(../images/banner/bg/2-1.png);
}

main.main-content ul {
  list-style-type: square;
  list-style-position: outside;
  margin: 0px 0 15px 30px;
  padding: 0;
  font-size: 18px;
}

main.main-content ul li {
  padding-bottom: 10px;
}

.add-action ul,
ul.nav {
  list-style: none;
  list-style-type: none !important;
  color: var(--color-text);
  margin: 0 !important;
  padding: 0 !important;
  font-size: initial;
}

.add-action ul li,
ul.nav li {
  padding: 0 !important;
}

.project-with-title .title-with-arrow .project-button-next i,
.project-with-title .title-with-arrow .project-button-prev i {
  color: var(--color-primary);
}

.btn-secondary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.blog-slider .swiper-slide {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: 100%;
}

.blog-slider .blog-item {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-basis: 100%;
  height: 100%;
}

.blog-slider .blog-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-slider .blog-content p {
  align-content: stretch;
  flex-basis: 100%;
}

.blog-slider .swiper-wrapper {
  height: auto;
}

.blog-slider {
  display: flex;
}

.industry-two-slider {
  position: relative;
  margin-bottom: -50px;
}

.industry-two-slider__single-item__content {
  padding: 25px 10px 15px;
  background: var(--color-primary);
  margin: -30px 20px 0;
  /* -webkit-box-shadow: 0 30px 50px rgb(0 0 0 / 3%);
    box-shadow: 0 30px 50px rgb(0 0 0 / 3%); */
  z-index: 2;
  position: relative;
}

.index_tovar .title {
  font-size: 1.3rem;
  text-align: center;
}

.index_tovar .title a {
  color: var(--color-white);
}

.index_tovar .title a:hover {
  text-decoration: underline;
}

.industry-two-slider__single-item__content .title {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 15px;
}

.see-more-link {
  display: inline-block;
  position: relative;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--color-border);
  color: var(--color-accent);
}

.industry-two-slider .ht-swiper-button-prev {
  left: -110px;
  color: var(--color-white);
}

.ht-swiper-button-nav {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.ht-swiper-button-prev {
  left: 0;
}

.ht-swiper-button-nav {
  position: absolute;
  cursor: pointer;
  transition:
    all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1),
    visibility 0.3s linear 2s,
    opacity 0.3s linear 2s;
  background-image: none;
  text-align: center;
  user-select: none;
  outline: none !important;
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  border: 2px solid rgba(34, 34, 34, 0.16);
  /* border-radius: 100%; */
  box-shadow: 0 0 5px rgb(0 0 0 / 1%);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.industry-two-slider .ht-swiper-button-next {
  right: -110px;
  color: var(--color-white);
}

.ht-swiper-button-next {
  right: 0;
}

.product-qty-with-btn {
  justify-content: center;
}

.product-detail-tab ul.nav-pills li.nav-item {
  width: 33.3%;
  text-align: center;
}

.swiper-slide h2 {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.44);
  padding: 20px 40px;
  /* width: 100%; */
  margin: 0;
  font-size: 2.5em;
  /* bottom: 0; */
}

.swiper-slide h2 a {
  color: var(--color-white);
}

.swiper-slide h2 a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.swiper-button-next,
.swiper-button-prev {
  background-image: none;
}

.ga-white {
  background: rgba(4, 42, 129, 0.58);
  color: var(--color-white);
  padding: 5px 10px;
}

/* =========================================================================
   Product cards on catalog & industry pages (match homepage style)
   ========================================================================= */
.product-area .container > .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 0;
}

.product-area .container > .row > [class*="col-"],
.product-area .container > .row > .product-item-wrapper {
  width: 100%;
  max-width: 100%;
  flex: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}

@media (max-width: 810px) {
  .product-area .container > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .product-area .container > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 360px) {
  .product-area .container > .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

.product-area .product-item {
  height: 100%;
  box-shadow: none;
}

.product-area .product-img {
  position: relative;
  overflow: hidden;
}

.product-area .product-img > a > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.product-area .product-img .add-action {
  display: none;
}

.product-area .industry-two-slider__single-item__content {
  padding: 25px 10px 15px !important;
  background: var(--color-primary);
  margin: -30px 20px 0;
  position: relative;
  z-index: 2;
  text-align: center;
}

.product-area .industry-two-slider__single-item__content .title {
  font-size: 18px;
  line-height: 1.4;
  margin-top: 12px;
  margin-bottom: 15px !important;
  font-family: var(--second-font);
  font-weight: 400;
}

.product-area .industry-two-slider__single-item__content .title a {
  color: var(--color-white);
}

.product-area .industry-two-slider__single-item__content .title a:hover {
  text-decoration: underline;
}

.product-area .product-item h2 {
  font-size: 18px;
}

.btn-primary-blue {
  color: var(--color-white);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.main-nav > ul > li:not(:last-child) {
  padding-right: 45px;
}

.hassub-body .input-field {
  border: 1px solid var(--color-border);
}

.project-content {
  visibility: visible;
  opacity: 0.76;
  bottom: 30px;
  padding: 30px;
}

/* .project-area,
.product-area {
  padding-bottom: 140px;
} */

.project-area .container > .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.project-area .container > .row > [class*="col-"],
.project-area .container > .row > .project-item-wrapper {
  width: 100%;
  max-width: 100%;
  flex: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}

@media (max-width: 480px) {
  .project-area .container > .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

.product-otrasli {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.product-otrasli_heading {
  margin-right: 5px;
}

.product-otrasli_heading h4 {
  margin-bottom: 0;
}

.product-otrasli_icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.product-otrasli_icons img {
  margin: 5px;
}

.product-otrasli_icons img:first-child {
  margin-left: 0px;
}

.product-otrasli_icons img:hover {
  box-shadow: 0 2px 7px 1px rgb(0 0 0 / 25%);
  transform: translateY(3px);
}

.footer-top a:hover {
  text-decoration: underline;
  /* border-bottom: 1px solid white; */
  transition: all ease 0.3s;
}
.flex-container {
  display: flex;
  flex-wrap: wrap;
}

.flex-item {
  justify-content: center;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: calc(50% - 48px);
  padding: 5px;
  transition: all ease 0.1s;
  min-height: 205px;
}
.flex-item:hover {
  box-shadow: 0 5px 40px rgb(0 4 8 / 40%);
  transform: scale(1.01);
}
.center {
  margin: auto !important;
  margin-top: 24px !important;
}
.blue-block {
  padding: 40px 0px 60px 0px;
  background-color: var(--color-primary);
  margin: 60px 0px;
}
.structure .flex-item {
  background-color: var(--color-white);
  margin: 24px;
  padding: 40px;
}
.structure h3 {
  font-size: 1.55rem;
  margin-bottom: 24px;
}

.blue-block h2,
.blue-block p {
  color: var(--color-white);
}
.command {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.command_item {
  width: calc(33% - 2rem);
  box-sizing: border-box;
  padding: 2rem 1rem;
}
.person-image {
  margin-bottom: 20px;
}
.person-name {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5rem;
  margin-bottom: 10px;
}
.person-txt {
  font-weight: 300;
}

@media (min-width: 1081px) {
  h2,
  .h2 {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 1080px) {
  h2,
  .h2 {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 767px) {
  h2,
  .h2 {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 1280px) {
  .ga-white {
    font-size: 20px;
  }
  .banner-item {
    padding: 40px 25px;
  }
}

@media (max-width: 1024px) {
  .ga-white {
    font-size: 24px;
  }
}
@media (max-width: 810px) {
  .flex-item {
    justify-content: center;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    padding: 5px;
    transition: all ease 0.1s;
    min-height: auto;
  }
  .structure .flex-item {
    background-color: var(--color-white);
    margin: 10px;
    padding: 25px;
  }
  .command_item {
    width: calc(50% - 2rem);
  }
  .slider-name {
    font-size: 1.7em !important;
  }
}
@media (max-width: 480px) {
  .command_item {
    width: 100%;
    padding: 2rem 2rem;
  }
  .slider-name {
    font-size: 1.4em !important;
  }
  .header-top.py-6 {
    padding-top: 0.2rem !important;
    padding-bottom: 0.2rem !important;
  }

  .header-top-right {
    padding-top: 0px !important;
  }

  .ga-white {
    font-size: 14px;
    left: 0 !important;
    width: 100%;
  }

  .breadcrumb-title {
    font-size: 24px;
  }

  .product-item .py-4 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .product-item .px-4 {
    padding-right: 0.8rem !important;
    padding-left: 0.8rem !important;
  }

  .industry-two-slider__single-item__content .title {
    font-size: 16px;
  }

  .catalog-sections .product-area .product-item-wrapper {
    padding-right: calc(var(--bs-gutter-x) / 3) !important;
    padding-left: calc(var(--bs-gutter-x) / 3) !important;
  }

  .product-area {
    padding-bottom: 0px;
  }

  dialog.order-dialog .title {
    font-size: 20px;
    line-height: 22px;
  }

  dialog.order-dialog .tpl-field .field-value input[type="text"] {
    height: 35px;
  }

  .footer-area .footer-top {
    padding-top: 40px;
    padding-bottom: 20px;
  }

  .widget-list-item li:not(:last-child) {
    padding-bottom: 0;
  }

  .xs-text-center {
    text-align: center !important;
  }

  form.search_page {
    display: flex;
  }
}

/* =========================================================================
   Production Timeline Section
   ========================================================================= */
.production {
  position: relative;
  background: var(--color-primary);
  padding: 100px 0;
  overflow: hidden;
}

@media (max-width: 1280px) {
  .production {
    padding: 60px 0;
  }
}

.production > .container {
  position: relative;
  z-index: 2;
}

.production__decor {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 700px;
  height: 700px;
  z-index: 1;
  pointer-events: none;
}

.production__decor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.production__subtitle {
  display: block;
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.24;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 12px;
}

.production__title {
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 42px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 40px;
  text-align: center;
}

/* Hide scroll-to-top button */
.scroll-to-top {
  display: none !important;
}

.timeline {
  display: flex;
  flex-direction: column;
}

.timeline__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: calc(100% - 78px);
}

.timeline__row--bottom {
  margin-left: 78px;
}

.timeline__card {
  position: relative;
}

.timeline__card--top {
  padding: 35px 24px 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-top-left-radius: 12px;
}

.timeline__card--bottom {
  padding: 80px 24px 35px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom-left-radius: 12px;
}

.timeline__icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.6);
}

.timeline__icon--top {
  bottom: -8px;
  left: -10px;
}

.timeline__icon--bottom {
  top: -8px;
  left: -10px;
}

.timeline__year {
  display: block;
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
  color: var(--color-white);
  margin-bottom: 24px;
}

.timeline__text {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.45;
  color: var(--color-white);
}

.timeline__text + .timeline__text {
  margin-top: 8px;
}

.timeline__line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.timeline__line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%);
}

.timeline__dot-group {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.timeline__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

@media (max-width: 810px) {
  .production {
    padding: 60px 0;
  }

  .production__title {
    font-size: 36px;
  }

  .timeline__row {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .timeline__row--bottom {
    margin-left: 0;
  }

  .timeline__year {
    font-size: 36px;
  }

  .timeline__line {
    display: none;
  }
}

@media (max-width: 480px) {
  .production {
    padding: 40px 0;
  }

  .production__title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .production__subtitle {
    font-size: 16px;
  }

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

  .timeline__card--top,
  .timeline__card--bottom {
    padding: 24px;
  }

  .timeline__year {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .timeline__text {
    font-size: 16px;
  }

  .timeline__icon {
    display: none;
  }
}

@media (max-width: 1024px) {
  .timeline {
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .timeline__line {
    display: none;
  }

  .timeline__row {
    display: contents;
  }

  .timeline__row--bottom {
    margin-left: 0;
  }

  .timeline__card {
    flex: 0 0 clamp(260px, 48vw, 380px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .timeline__row--top .timeline__card:nth-child(1) { order: 1; }
  .timeline__row--bottom .timeline__card:nth-child(1) { order: 2; }
  .timeline__row--top .timeline__card:nth-child(2) { order: 3; }
  .timeline__row--bottom .timeline__card:nth-child(2) { order: 4; }
  .timeline__row--top .timeline__card:nth-child(3) { order: 5; }
  .timeline__row--bottom .timeline__card:nth-child(3) { order: 6; }
  .timeline__row--top .timeline__card:nth-child(4) { order: 7; }
  .timeline__row--bottom .timeline__card:nth-child(4) { order: 8; }

  .timeline__card--top,
  .timeline__card--bottom {
    padding: 24px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
  }

  .timeline__icon {
    display: none;
  }
}

/* =========================================================================
   CTA Section
   ========================================================================= */
.cta {
  position: relative;
  background: var(--color-primary);
  margin-top: 100px;
  padding: 100px 0;
  overflow: hidden;
}

@media (max-width: 1280px) {
  .cta {
    padding: 60px 0;
  }
}

.cta > .container {
  position: relative;
  z-index: 2;
}

.cta__decor {
  position: absolute;
  right: 10%;
  bottom: -10px;
  width: 90%;
  height: 90%;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

.cta__decor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cta__inner {
  display: grid;
  grid-template-columns: 1fr 600px;
  gap: 60px;
  align-items: start;
}

.cta__title {
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 42px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 40px;
  max-width: 900px;
}

.cta__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta__list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.9);
}

.cta__list-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.6);
}

.cta__list-icon svg {
  width: 100%;
  height: 100%;
}

.cta__form-wrapper {
  background: rgba(228, 229, 233, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  padding: 40px 32px;
}

.cta__form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cta__form-title {
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 28px;
}

.cta__input {
  width: 100%;
  padding: 16px 0;
  border: none;
  border-bottom: 1px solid var(--color-white);
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-white);
  background: transparent;
  outline: none;
  transition: border-color 0.2s;
}

.cta__input::placeholder {
  color: var(--color-white);
}

.cta__input:focus {
  border-color: var(--color-white);
}

.cta__textarea {
  resize: vertical;
  min-height: 60px;
  margin-bottom: 8px;
}

.cta__form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

.cta__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.cta__checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cta__checkbox-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 2px solid var(--color-white);
  background: var(--color-primary);
  flex-shrink: 0;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.cta__checkbox-box svg {
  width: 14px;
  height: 14px;
  color: var(--color-white);
  opacity: 1;
  transition: opacity 0.2s;
}

.cta__checkbox input:not(:checked) ~ .cta__checkbox-box {
  background: transparent;
  border-color: rgba(4, 42, 129, 0.3);
}

.cta__checkbox input:not(:checked) ~ .cta__checkbox-box svg {
  opacity: 0;
}

.cta__checkbox-text {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.15;
  color: var(--color-white);
  max-width: 180px;
}

.cta__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  padding: 18px 40px;
  border-radius: 0;
  border: 1px solid var(--color-white);
  color: var(--color-primary);
  background: var(--color-white);
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}

.cta__submit:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.cta__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Form validation & messages */
.cta__input--error {
  border-color: #ff6b6b !important;
  animation: cta-shake 0.4s ease;
}

@keyframes cta-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

.cta__form-error {
  color: #ff6b6b;
  font-family: var(--second-font);
  font-size: 14px;
  margin-top: 12px;
  padding: 10px 16px;
  background: rgba(255, 107, 107, 0.15);
  border-left: 3px solid #ff6b6b;
}

.cta__form-success {
  color: #69db7c;
  font-family: var(--second-font);
  font-size: 14px;
  margin-top: 12px;
  padding: 10px 16px;
  background: rgba(105, 219, 124, 0.15);
  border-left: 3px solid #69db7c;
}

@media (max-width: 1024px) {
  .cta__inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 810px) {
  .cta {
    padding: 60px 0;
  }

  .cta__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta__title {
    font-size: 36px;
  }

  .cta__list-item {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .cta {
    padding: 40px 0;
  }

  .cta__title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .cta__list {
    gap: 14px;
  }

  .cta__list-item {
    font-size: 16px;
  }

  .cta__form-wrapper {
    padding: 24px 20px;
  }

  .cta__form-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta__submit {
    width: 100%;
  }
}

/* =========================================================================
   Homepage inline styles (was <style> block and style= in index.html)
   ========================================================================= */
.slider-area {
  margin: 100px 0;
}

@media (max-width: 1280px) {
  .slider-area {
    margin-top: 60px;
    margin-bottom: 60px;
  }
}

@media (max-width: 1023px) {
  .slider-area {
    margin-top: 40px;
    margin-bottom: 40px;
  }
}

/* Hero slider — reduced top gap from header */
.global-overlay + .slider-area {
  margin-top: 50px;
}

@media (max-width: 1550px) {
  .global-overlay + .slider-area {
    margin-top: 0;
  }
}

/* Unify all section titles to 48px */
.font-size-60 {
  font-size: 48px;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industries-grid__item a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.industries-grid__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.industries-grid__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.industries-grid__item a:hover .industries-grid__image img {
  transform: scale(1.05);
}

.industries-grid__name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  font-size: 1.25em;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  line-height: 1.2;
}

@media (max-width: 810px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industries-grid__name {
    font-size: 1em;
    padding: 12px;
  }
}

/* Hero slider (replaces Swiper apps-slider-box) */
.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slider__viewport {
  overflow: hidden;
}

.hero-slider__track {
  display: flex;
  transition: transform 0.5s ease;
}

.hero-slider__slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
}

.hero-slider__slide img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-slider__prev,
.hero-slider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 130px;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
}

.hero-slider__prev { left: 0; }
.hero-slider__next { right: 0; }

.hero-slider__prev:hover,
.hero-slider__next:hover {
  background: rgba(0, 0, 0, 0.5);
}

.index_tovar {
  margin-top: 100px;
  margin-bottom: 100px;
}

@media (max-width: 1280px) {
  .index_tovar {
    margin-top: 60px;
    margin-bottom: 60px;
  }
}

@media (max-width: 1023px) {
  .index_tovar {
    margin-top: 40px;
    margin-bottom: 40px;
  }
}

.banner-style-2 .banner-content .desc {
  font-size: 25px;
}

/* =========================================================================
   News Section
   ========================================================================= */
.news-section {
  margin: 100px 0;
}

@media (max-width: 1280px) {
  .news-section {
    margin: 60px 0;
  }
}

@media (max-width: 1023px) {
  .news-section {
    margin: 40px 0;
  }
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.news-card {
  background: var(--color-accent);
  padding: 48px;
  position: relative;
}

.news-card__badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-primary);
  color: #fff;
  font-family: "Inter Tight", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.news-card__title {
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.3;
  color: var(--color-secondary);
  margin-bottom: 24px;
}

.news-card__text {
  font-family: "Inter Tight", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #333;
}

.news-card__text p {
  margin-bottom: 12px;
}

.news-card__text ul {
  padding-left: 24px;
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.7;
}

.news-card__text ul li {
  margin-bottom: 6px;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(4, 42, 129, 0.15);
}

.news-card__date {
  font-family: var(--main-font);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-primary);
}

.news-card__location {
  font-family: "Inter Tight", sans-serif;
  font-size: 15px;
  color: #555;
}

@media (max-width: 810px) {
  .news-card {
    padding: 28px 20px;
  }
  .news-card__title {
    font-size: 22px;
  }
  .news-card__text {
    font-size: 15px;
  }
  .news-card__meta {
    flex-direction: column;
  }
}

/* ============================================
   ABOUT SECTION (BEM)
   ============================================ */
.about {
  background: var(--color-accent);
  padding: 100px 0;
  margin: 100px 0;
}

@media (max-width: 1280px) {
  .about {
    padding: 60px 0;
    margin: 60px 0;
  }
}

@media (max-width: 1023px) {
  .about {
    padding: 40px 0;
    margin: 40px 0;
  }
}

.about__title {
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 42px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--color-secondary);
  text-align: center;
  margin-bottom: 40px;
}

/* ---- Images row: 3 photos ---- */
.about__images {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.about__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__image--stat {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.about__stat {
  position: absolute;
  bottom: 24px;
  right: 24px;
  text-align: right;
}

.about__stat-number {
  display: block;
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 72px;
  line-height: 1;
  color: #fff;
}

.about__stat-label {
  display: block;
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
  margin-top: 4px;
}

/* ---- Texts row: 2 columns ---- */
.about__texts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.about__text p {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-secondary);
  text-align: justify;
  margin: 0;
}

/* About section responsive */
@media (max-width: 810px) {
  .about {
    padding: 60px 0 70px;
    margin: 60px 0;
  }
  .about__title {
    font-size: 36px;
    margin-bottom: 32px;
  }
  .about__images {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .about__image:first-child {
    grid-column: 1 / -1;
  }
  .about__texts {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 40px 0 50px;
    margin: 40px 0;
  }
  .about__title {
    font-size: 28px;
    margin-bottom: 24px;
  }
  .about__images {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about__image:first-child {
    grid-column: auto;
  }
  .about__stat-number {
    font-size: 56px;
  }
}

/* About page blue block (was inline style="text-align: center") */
.container-fluid.blue-block {
  text-align: center;
}

/* Certificates page (was inline <style>) */
.certificates-page h2 {
  font-size: 1.7rem;
}

/* ============================================
   A. FOOTER (BEM — replaces Bootstrap grid)
   ============================================ */
.footer {}

.footer__top {
  background-color: #f5f5f5;
  padding: 100px 0 80px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer__col {}

.footer__logo {
  padding-bottom: 20px;
}

.footer__logo img {
  width: 288px;
  height: auto;
}

.footer__desc {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
}

.footer__heading {
  color: var(--color-primary);
  margin-bottom: 30px;
  text-transform: uppercase;
}

.footer__links {}

.footer__links li:not(:last-child) {
  margin-bottom: 8px;
}

.footer__links a {
  color: #333;
  font-size: 16px;
}

.footer__links a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.footer__address {
  color: #333;
}

.footer__address a {
  color: #333;
}

.footer__bottom {
  background-color: #ebebeb;
  padding: 12px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__privacy a {
  color: #555;
}

.footer__copyright {
  color: #555;
}

@media (max-width: 767px) {
  .footer__top {
    padding: 40px 0 20px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer__col:first-child {
    margin-bottom: 24px;
  }
  .footer__col:not(:first-child) {
    border-top: 1px solid #ddd;
  }
  .footer__heading {
    margin-bottom: 0;
    padding: 16px 0;
  }
  .footer__col:not(:first-child):not(:last-child) .footer__heading {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .footer__col:not(:first-child):not(:last-child) .footer__heading::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: rotate(45deg);
    transition: transform 0.3s;
    flex-shrink: 0;
  }
  .footer__col--open .footer__heading::after {
    transform: rotate(-135deg);
  }
  .footer__links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .footer__col--open .footer__links {
    max-height: 300px;
    padding-bottom: 16px;
  }
  .footer__bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ============================================
   B. BREADCRUMB (self-sufficient without Bootstrap)
   ============================================ */
.breadcrumb-area {
  padding: 40px 0 0;
}

.breadcrumb-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.breadcrumb-sub-title,
.breadcrumb-sub-title_wo_line {
  font-family: var(--second-font);
  font-size: 16px;
  line-height: 1.4;
  color: #111;
  float: none;
  display: inline;
}

.breadcrumb-sub-title a,
.breadcrumb-sub-title_wo_line a {
  color: #111;
}

.breadcrumb-sub-title a:hover,
.breadcrumb-sub-title_wo_line a:hover {
  color: var(--color-primary);
}

.breadcrumb-title {
  display: block;
  width: 100%;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;
  padding-top: 8px;
  margin-bottom: 24px;
}

/* ============================================
   C. PRODUCT DETAIL (BEM)
   ============================================ */
.product-detail {
  padding-bottom: 80px;
}

.product-detail__layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
  max-width: 100%;
  overflow: hidden;
}

.product-detail__col {
  min-width: 0;
  overflow: hidden;
  max-width: 100%;
}

.product-detail__full {
  grid-column: 1 / -1;
}

/* Product gallery (replaces Swiper) */
.product-gallery {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.product-gallery__viewport {
  overflow: hidden;
}

.product-gallery__track {
  display: flex;
  transition: transform 0.4s ease;
}

.product-gallery__slide {
  min-width: 100%;
}

.product-gallery__slide img {
  width: 100%;
  height: auto;
  display: block;
}

.product-gallery__prev,
.product-gallery__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__prev {
  left: 10px;
}

.product-gallery__next {
  right: 10px;
}

.product-gallery__prev:hover,
.product-gallery__next:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* Product info */
.product-detail__desc {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-detail__specs {
  margin-bottom: 20px;
}

.product-detail__industries {
  margin-bottom: 20px;
}

.product-detail__industries h4 {
  margin-bottom: 12px;
}

@media (max-width: 810px) {
  .product-detail__layout {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   D. PRODUCT TABS (BEM — replaces Bootstrap nav-pills + tab-content)
   ============================================ */
.product-tabs-section {
  padding: 40px 0;
  overflow: hidden;
}

.product-tabs {
  margin-top: 0;
  max-width: 100%;
  overflow: hidden;
}

.product-tabs__nav {
  display: flex;
  border-bottom: 2px solid var(--color-border);
}

.product-tabs__tab {
  flex: 1;
  padding: 16px;
  text-align: center;
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.product-tabs__tab:hover {
  color: var(--color-primary);
}

.product-tabs__tab--active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.product-tabs__panels {
  padding-top: 30px;
}

.product-tabs__panel {
  display: none;
}

.product-tabs__panel--active {
  display: block;
  overflow-x: auto;
}

/* ============================================
   E. SPECS TABLE (BEM)
   ============================================ */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.specs-table th,
.specs-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 16px;
}

.specs-table th {
  font-weight: 500;
  color: var(--color-text);
}

.specs-table thead th {
  font-weight: 600;
  background: var(--color-bg-light);
}

/* ============================================
   F. BUTTON (BEM — replaces Bootstrap .btn)
   ============================================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--second-font);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.button--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

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

.button--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.button--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.button--lg {
  padding: 18px 40px;
  font-size: 18px;
}

/* ============================================
   G. CSS TOOLTIP (replaces Bootstrap tooltip)
   ============================================ */
.tooltip-wrap {
  position: relative;
}

.tooltip-wrap::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding: 6px 12px;
  background: var(--color-secondary);
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
  z-index: 100;
}

.tooltip-wrap:hover::after {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   H. MOBILE MENU & OFFCANVAS (from style.css)
   ============================================ */
.global-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease 0s;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 99;
  visibility: hidden;
}

.global-overlay.overlay-open {
  visibility: visible;
  cursor: pointer;
}

/* ---- Offcanvas body (shared by mobile menu & minicart) ---- */
.mobile-menu_wrapper .offcanvas-body,
.offcanvas-minicart_wrapper .offcanvas-body {
  background-color: var(--color-primary);
  position: fixed;
  top: 0;
  right: -350px;
  width: 350px;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  overflow: visible;
  transition: all 500ms ease;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu_wrapper .offcanvas-body,
  .offcanvas-minicart_wrapper .offcanvas-body {
    transition: none;
  }
}

@media (max-width: 480px) {
  .mobile-menu_wrapper .offcanvas-body,
  .offcanvas-minicart_wrapper .offcanvas-body {
    width: calc(100% - 30px);
  }
}

.mobile-menu_wrapper .offcanvas-body .inner-body,
.offcanvas-minicart_wrapper .offcanvas-body .inner-body {
  padding: 50px 0;
}

.mobile-menu_wrapper .offcanvas-body .inner-body .offcanvas-top,
.offcanvas-minicart_wrapper .offcanvas-body .inner-body .offcanvas-top {
  display: flex;
  justify-content: flex-end;
  padding: 0 25px 30px;
}

.mobile-menu_wrapper .offcanvas-body .inner-body .offcanvas-top .button-close,
.offcanvas-minicart_wrapper .offcanvas-body .inner-body .offcanvas-top .button-close {
  font-size: 24px;
  color: #fff;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.mobile-menu_wrapper .offcanvas-body .inner-body .offcanvas-top .button-close:hover,
.offcanvas-minicart_wrapper .offcanvas-body .inner-body .offcanvas-top .button-close:hover {
  opacity: 1;
}

/* ---- Offcanvas navigation ---- */
.mobile-menu_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu > li,
.offcanvas-minicart_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu > li {
  height: 100%;
}

.mobile-menu_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu > li > a span,
.offcanvas-minicart_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu > li > a span {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li,
.offcanvas-minicart_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li {
  position: relative;
}

.mobile-menu_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li:not(:last-child),
.offcanvas-minicart_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li:not(:last-child) {
  padding-bottom: 25px;
}

.mobile-menu_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li > .menu-expand,
.offcanvas-minicart_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li > .menu-expand {
  position: absolute;
  right: 0;
  top: 2px;
  width: 50px;
  height: 100%;
  line-height: 40px;
  cursor: pointer;
  text-align: center;
  margin-right: 4px;
  transition: all 0.3s ease 0s;
  font-size: 20px;
}

.mobile-menu_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li a,
.offcanvas-minicart_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li a {
  color: #fff;
  font-size: 15px;
  font-family: var(--second-font);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: block;
  padding: 0 30px;
  transition: opacity 0.2s;
}

.mobile-menu_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu > li > a:hover,
.offcanvas-minicart_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu > li > a:hover {
  opacity: 0.8;
}

.mobile-menu_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li a i,
.offcanvas-minicart_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li a i {
  font-size: 20px;
}

.mobile-menu_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li .sub-menu,
.offcanvas-minicart_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li .sub-menu {
  display: none;
  background-color: rgba(255, 255, 255, 0.08);
  overflow-y: auto;
  padding: 16px 0;
  margin: 16px 0 0;
  border-radius: 4px;
}

.mobile-menu_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li .sub-menu li a,
.offcanvas-minicart_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li .sub-menu li a {
  text-transform: none;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

.mobile-menu_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li .sub-menu li a:hover,
.offcanvas-minicart_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li .sub-menu li a:hover {
  color: #fff;
}

.mobile-menu_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li .sub-menu li a span,
.offcanvas-minicart_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li .sub-menu li a span {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li .sub-menu li.menu-open > a,
.offcanvas-minicart_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li .sub-menu li.menu-open > a {
  color: #fff;
}

.mobile-menu_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li.menu-open > a,
.offcanvas-minicart_wrapper .offcanvas-body .inner-body .offcanvas-menu_area .offcanvas-navigation .mobile-menu li.menu-open > a {
  color: #fff;
}

/* Chevron rotation on open */
.mobile-menu_wrapper .mobile-menu li.menu-open > a .icon-arrow-down {
  transform: rotate(180deg);
}

.mobile-menu_wrapper .mobile-menu li > a .icon-arrow-down {
  transition: transform 0.3s ease;
}

/* ---- Open state ---- */
.mobile-menu_wrapper.open .offcanvas-body,
.offcanvas-minicart_wrapper.open .offcanvas-body {
  visibility: visible;
  right: 0;
  opacity: 1;
  z-index: 999;
}

/* ============================================
   I. HIDDEN UTILITY
   ============================================ */
.is-hidden {
  display: none !important;
}

/* ============================================
   J. PAGE CONTENT
   ============================================ */
.page-content {
  padding: 60px 0;
}

.page-content__body {
  font-size: 18px;
  line-height: 1.7;
}

.page-content__body p {
  margin-bottom: 16px;
}

.page-content__body h2 {
  margin-bottom: 24px;
}

.page-content__body h3 {
  margin-bottom: 16px;
}

/* ============================================
   K. SECTION TITLE (replaces Bootstrap font-size-60 mb-7 text-center)
   ============================================ */
.section-title {
  font-size: 42px;
  margin-bottom: 28px;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 810px) {
  .section-title {
    font-size: 40px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 30px;
  }
}

/* ============================================
   L. CERTIFICATES GRID
   ============================================ */
.certificates__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.certificates__item {
  display: flex;
  flex-direction: column;
}

.certificates__item .lightbox-link {
  margin-top: auto;
}

.certificates__item--wide {
  grid-column: 1 / -1;
}

@media (max-width: 810px) {
  .certificates__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .certificates__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   M. PRODUCT DETAIL COLUMN LAYOUT
   ============================================ */
.product-detail__section {}

.product-detail__col {}

/* Product detail layout is already defined in section C above */

/* ============================================
   N. TEXT CONTENT (статические страницы и SEO-тексты)
   ============================================ */

/* Контейнер текстового контента */
.text-content {
  padding-top: 0;
  padding-bottom: 60px;
  font-size: 18px;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .text-content {
    padding-top: 0;
    padding-bottom: 40px;
  }
}

/* Параграфы */
.text-content p {
      margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

/* H2 — уже есть глобальные margin-bottom, добавляем margin-top для отделения секций */
.text-content h2 {
  margin-top: 1.5rem;
}

.text-content h2:first-child {
  margin-top: 0;
}

/* H3 — подзаголовки внутри секций */
.text-content h3 {
  font-size: 1.3rem;
  margin-top: 1.8rem;
  margin-bottom: 1rem;
}

/* Нумерованные списки (ol не стилизован в main.main-content) */
main.main-content ol {
  list-style-type: decimal;
  list-style-position: outside;
  margin: 0 0 15px 30px;
  padding: 0;
  font-size: 18px;
}

main.main-content ol li {
  padding-bottom: 10px;
}

/* Контакты: карта + инфо в две колонки */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 810px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Таблицы .table__chars (SEO-контент категорий) */
.table__chars {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 30px;
  font-size: 16px;
}

.table__chars th,
.table__chars td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.table__chars th {
  font-weight: 600;
  background: var(--color-bg-light);
}

.table__chars tr:last-child td {
  border-bottom: none;
}

@media (max-width: 767px) {
  .table__chars {
    font-size: 14px;
  }
  .table__chars th,
  .table__chars td {
    padding: 8px 10px;
  }
}

.seo-text-area {
  margin-top: 40px;
}

@media (max-width: 767px) {
  .seo-text-area {
  margin-top: 20px;
}
}