/* ===== ORIGINAL PROMILAB STYLES (style.css + custom.css) ===== */

:root {
  --color-blue-main: #193C84;
  --color-red-main: #E0233A;
  --color-gray-main: #EBEDF2;
  --color-green: #339B31;
  --color-text: #1B1B1B;
  --color-4F: #4F4F4F;
}

body {
  background-color: #FCFCFD;
  font-family: 'Open Sans', sans-serif;
  color: var(--color-text);
}

.fs-14 { font-size: 0.875rem; }
.fs-16 { font-size: 1rem; }
.fs-18 { font-size: 1.125rem; }
.fs-20 { font-size: 1.25rem; }
.fs-24 { font-size: 1.5rem; }
.fs-32 { font-size: 2rem; }
.fs-40 { font-size: 2.5rem; }

@media screen and (max-width: 320px) {
  .fs-40 { font-size: 2.125rem; }
}

.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }

hr {
  border-top-color: #C3CDE1;
  opacity: 1;
}

.bg-blue-main { background-color: var(--color-blue-main); }
.bg-gray-main { background-color: var(--color-gray-main); }
.color-blue-main { color: var(--color-blue-main); }
.color-red-main { color: var(--color-red-main); }
.color-4F { color: var(--color-4F); }

.link-custom {
  color: var(--color-blue-main);
  text-decoration: none;
  transition: color .15s ease-in-out;
}
.link-custom:hover,
.link-custom:focus {
  color: #4F4F4F;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0px;
  z-index: 9;
}
.header,
.main-banner {
  background-color: var(--color-gray-main);
}

.header-logo-image {
  width: 100%;
  max-width: 184px;
}
@media screen and (min-width: 576px) {
  .header-logo-image { max-width: 214px; }
}
@media screen and (min-width: 1025px) {
  .header-logo-image {
    transform: scale(1.25);
    transform-origin: left;
  }
}

/* ===== NAVIGATION ===== */
.navbar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.navbar-menu .nav-item { position: relative; }
.navbar-menu .nav-link {
  color: var(--color-text);
  padding-top: 0;
  padding-bottom: 0;
  cursor: pointer;
  text-decoration: none;
}
.navbar-menu .nav-link.active,
.navbar-menu .nav-link:hover {
  color: var(--color-blue-main);
}

.nav-item-list.is-child {
  display: none;
  list-style: none;
  padding: 0;
  position: absolute;
  left: -0.5rem;
  top: calc(1.5rem - 1px);
  z-index: 10;
}
.nav-item.is-parent:hover .nav-item-list.is-child { display: block; }

.nav-item-list.is-child .nav-link {
  white-space: nowrap;
  background-color: #FFFFFF;
  border-width: 1px;
  border-top-width: 0px;
  border-style: solid;
  border-color: var(--color-gray-main);
  display: block;
  padding: 0.5rem 1rem;
}
.nav-item-list.is-child .nav-item:first-of-type .nav-link {
  border-top-width: 1px;
  border-top-color: var(--color-blue-main);
}

.mobile-nav-link {
  color: var(--color-text);
  text-decoration: none;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-blue-main);
}

/* ===== MAIN BANNER ===== */
.main-banner-benefit-item { hyphens: auto; }
.main-banner-benefit-image { height: 49px; }
.main-banner-benefit-image > img { max-width: 49px; }

/* ===== BUTTONS ===== */
.bg-gradient-custom {
  background: linear-gradient(90deg, #193C84 0%, #193C84 100%);
  transition: background .3s ease;
}
.bg-gradient-custom:hover,
.bg-gradient-custom:focus {
  background: linear-gradient(90deg, #193C84 0%, #4A659D 100%);
}

.btn-order {
  color: #FFFFFF;
  text-decoration: none;
  text-transform: uppercase;
}
.btn-order > span { display: block; }
.btn-order:hover { color: #FFFFFF; }
.btn-order-icon {
  width: 90px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin-left: 2rem;
  position: relative;
  transition: right .3s linear;
  right: 0;
}
.btn-order:hover .btn-order-icon { right: -16px; }

.btn-custom {
  display: inline-block;
  text-transform: uppercase;
  text-decoration: none;
  color: #FFFFFF;
  border-radius: 3px;
  border: 0;
  opacity: 1;
  transition: opacity .15s ease;
}
.btn-custom:hover { color: #FFFFFF; }
.btn-custom[disabled] { opacity: .5; }
.btn-custom.btn-custom-back { background-color: #A9B2C5; }

/* ===== IMAGES ===== */
.img-fluid-wrapper > img {
  max-width: 100%;
  height: auto;
}

/* ===== CONTAINERS ===== */
.container-main { max-width: 1560px; margin-left: auto; margin-right: auto; }
.container-content { max-width: 1286px; margin-left: auto; margin-right: auto; }
.container-inner { max-width: 1740px; margin-left: auto; margin-right: auto; }

/* ===== SECTION PAGE ===== */
.section-page {
  margin: 5rem 0;
}

.main-info { margin-top: -1.175rem; }
.info-gost img { max-width: 450px; width: 100%; }

@media screen and (min-width: 768px) {
  .main-info-column-extra { border-left: 1px solid #C3CDE1; }
}

/* ===== PARTNERS ===== */
.partners-item-image img {
  mix-blend-mode: darken;
  max-width: 250px;
}

/* ===== BENEFITS ===== */
.benefit-item-image { width: 64px; height: 64px; }
.benefit-item { min-height: 290px; }
.benefit-item-link { min-height: 290px; text-decoration: none; }
.benefit-item-link span { display: block; }
.benefit-item-image > img { width: 100%; height: 100%; object-fit: contain; }
.benefit-item b { color: var(--color-blue-main); }

.benefit-item-link-icon {
  width: 60px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: relative;
  transition: right .3s linear;
  right: 0;
}
.benefit-item-link:hover .benefit-item-link-icon { right: -32px; }

/* ===== LANDING HERO ===== */
.landing-hero { position: relative; }
.langing-image-hero { width: 100%; mix-blend-mode: darken; }

.landing-benefits {
  border: 2.5px solid var(--color-gray-main);
  padding: 2rem 2rem 4rem;
  position: relative;
}
.landing-benefits-list {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  margin-bottom: 0;
  list-style: none;
}
.landing-benefits-list li {
  position: relative;
  padding-left: 2rem;
}
.landing-benefits-list li::before {
  content: '';
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50%;
  position: absolute;
  top: 0.125rem;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  background-color: var(--color-blue-main);
  border-radius: 100%;
}

/* ===== BREADCRUMBS ===== */
.breadcrumb { color: #4F4F4F; }
.breadcrumb-item { font-size: 0.75rem; }
.breadcrumb-item > a {
  color: #4F4F4F;
  text-decoration: none;
}
.breadcrumb-item > a:link:hover { text-decoration: underline; }

/* ===== PAGE TITLE ===== */
.page-title {
  text-transform: uppercase;
  font-weight: 400;
  margin: 0;
}

/* ===== ABOUT PAGE ===== */
.about-benefit-item {
  position: relative;
  border: 3px solid var(--color-blue-main);
}
.benefit-item-title {
  display: block;
  text-transform: uppercase;
  font-size: 1.5rem;
  background-color: #FCFCFD;
  position: absolute;
  top: -42px;
  left: -4px;
  color: var(--color-blue-main);
}
.about-doc-item { max-width: 605px; }
.about-doc-image img { max-height: 280px; }

@media screen and (min-width: 576px) {
  .description-area { border-left: 2px solid #C3CDE1; }
}

/* ===== ACCORDION ===== */
.accordion-button { background-color: #C3CDE1; color: var(--color-text); }
.accordion-button:not(.collapsed) {
  background-color: var(--color-blue-main);
  color: #FFFFFF;
  box-shadow: none;
}

/* ===== TABLES ===== */
.price-table table,
.price-table th,
.price-table td {
  border: 1px solid var(--color-text);
  border-collapse: collapse;
}
.price-table th,
.price-table td {
  background-color: #F5F5F5;
  padding: 1.5rem;
  font-size: 1rem;
  text-align: center;
}
.price-table th {
  background-color: var(--color-gray-main);
  font-weight: 400;
  text-transform: uppercase;
}

.contacts-highlight span { display: block; }

/* ===== TEST ITEMS ===== */
.test-item-nav {
  background-color: #FCFCFC;
  cursor: pointer;
  display: block;
  text-align: left;
  border: 0;
  transition: background-color .15s linear, transform .15s ease;
  transform: scale(1);
  text-decoration: none;
  color: var(--color-text);
}
.test-item-nav:hover,
.test-item-nav:focus { background-color: #C3CDE1; }
.test-item-nav.active {
  background-color: var(--color-blue-main);
  color: #FFFFFF;
  transform: scale(1.075);
}
.test-item-nav > span { display: block; font-size: 2rem; margin-bottom: 0.75rem; }

@media screen and (min-width: 992px) {
  .test-item-content { display: none; }
  .test-item-content-body { max-width: 560px; }
}
.test-item-content.active { display: block; }

.test-item-link > span {
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 42px;
  height: 16px;
  margin-left: 0.75rem;
  transition: margin-left .15s ease;
}
.test-item-link:hover > span { margin-left: 1rem; }

.tests-block a.test-item-nav {
  text-decoration: none;
  color: #000;
}

/* ===== SERVICE ITEMS ===== */
.service-item-image,
.service-item-body {
  border-left: 1px solid var(--color-gray-main);
  border-right: 1px solid var(--color-gray-main);
}
.service-item-image {
  display: block;
  border-top: 1px solid var(--color-gray-main);
  aspect-ratio: 261 / 195;
}
.service-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-item-description {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== FEEDBACK SECTION ===== */
.section-feedback { position: relative; }
.section-feedback::before {
  content: '';
  display: block;
  height: 50%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-blue-main);
}

.input-feedback {
  border: 1px solid var(--color-blue-main);
  border-radius: 0;
  background-color: var(--color-gray-main);
  padding: 1rem;
}
.input-feedback:focus {
  background-color: var(--color-gray-main);
  box-shadow: none;
  border-color: inherit;
}
.form-group-error .input-feedback { border-color: var(--color-red-main); }

.callback-policy { color: var(--color-4F); font-size: 0.75rem; }
.callbacks-policy { color: var(--color-4F); font-size: 0.75rem; }

/* ===== ORDER TABLE ===== */
.order-table {
  border: 3px solid #C3CDE1;
  font-size: 1rem;
  background-color: var(--color-gray-main);
}
.order-table thead { background-color: #C3CDE1; }
.order-table tr { border-width: 3px; }
.order-table td,
.order-table th { text-align: center; background-color: transparent; font-weight: 400; }
.order-table tr td:nth-child(2),
.order-table tr th:nth-child(2) { text-align: left; max-width: 350px; }

/* ===== REVIEWS ===== */
.reviews-item-image {
  aspect-ratio: 300 / 430;
  border: 1px solid var(--color-gray-main);
}
.reviews-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== FOOTER ===== */
.footer-bottom {
  border-top: 1px solid #DADADA;
  color: #D2E0E8;
  font-size: 0.875rem;
}
.footer-bottom a { color: #D2E0E8; text-decoration: none; }
.footer-bottom a:hover,
.footer-bottom a:focus { text-decoration: underline; }

.footer-nav-list { list-style: none; }
.footer-nav-link { color: #FCFCFC; text-decoration: none; }
.footer-nav-link:hover { text-decoration: underline; }
.footer-item { color: #F9F9F9; }

.footer-callback-link {
  display: block;
  color: #1B1B1B;
  background-color: #FFFFFF;
  border-radius: 3px;
  max-width: 287px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
}

/* ===== ERROR ===== */
.error-page { margin: 7.5rem 0; }

/* ===== COOKIES (custom.css) ===== */
.cookies {
  position: fixed;
  z-index: 100;
  background: rgba(252, 252, 252, 0.9450980392);
  padding: 30px;
  flex-direction: column;
  display: block !important;
  align-items: center;
  gap: 20px;
  filter: drop-shadow(0px 22px 45px rgba(0, 0, 0, 0.4));
  opacity: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(50% - 150px);
  max-width: 1920px;
  border-radius: 20px;
  bottom: 20px;
  transition: opacity 0.5s;
  pointer-events: none;
}
.cookies.show {
  pointer-events: auto;
  opacity: 1;
}
.cookies__title {
  margin: 0;
  color: #000;
  text-align: left;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}
.cookies__link {
  font-weight: 700;
  text-decoration: underline;
  color: #193C84;
}
.cookies__link:hover { text-decoration: none; }

.cookies__btn {
  background: #193C84;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
}
.cookies__btn:hover {
  background: #193C84;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 46, 55, 0.3);
}

@media (max-width: 991px) {
  .cookies { width: calc(90% - 50px); padding: 19px 29px 21px 29px; }
  .cookies__title { max-width: 620px; }
}
@media (max-width: 576px) {
  .cookies { width: calc(90% - 50px); padding: 20px 16px 30px 16px; }
  .cookies__title { max-width: 360px; }
  .cookies__btn { padding: 12px 36px; margin-top: 20px; width: 100%; max-width: 200px; }
}

@media (max-width: 650px) {
  .list-advantages-main-banner .col { font-size: 13px; }
}

/* ============================================================
   Актуализация под promilab.ru (2026-08-17)
   ============================================================ */

/* Стрелки на кнопках и ссылках */
.btn-order-icon { background-image: url('../images/arrow.svg'); }
.benefit-item-link-icon { background-image: url('../images/arrow.svg'); }
.test-item-link > span { background-image: url('../images/arrow-blue.svg'); }
.landing-benefits-list li::before { background-image: url('/upload/images/mingcute_check-fill.png'); }

/* Аккордеон — фирменные шевроны */
.accordion-button::after {
  background-image: url('../images/chevron-black.svg');
  width: 23px;
  height: 10px;
  background-position: center;
}
.accordion-button:not(.collapsed)::after {
  background-image: url('../images/chevron-white.svg');
}

/* Логотипы партнёров */
.partners-item-image img {
  max-height: 90px;
  width: auto !important;
}

/* Карточки услуг — полная рамка как на live */
.service-item-body, .service-item-image { border: 1px solid #c1c1c1; }
.service-item-image { border-bottom: none; }
.service-item-title { text-align: center; }
.service-item a { text-decoration: none; color: #000; }

/* Таблицы с синей шапкой (прайс и контент) */
.blue_table_head td { background: #193C84; color: #fff; }

/* Лендинг «Декларация соответствия 3Д» */
.langing-image-hero-wrapper.deklaraciya-sootvetstviya-3d { text-align: center; }
.deklaraciya-sootvetstviya-3d .langing-image-hero {
  width: auto;
  max-height: 425px;
  mix-blend-mode: unset;
}

/* Оверлей успешной отправки формы обратной связи */
#feedbackSuccess {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9;
}

/* Слайдеры slick: партнёры и отзывы */
.brands-slider { padding: 0px 50px; }
.brands-slider img { margin: 0 auto; }
.brands-slider .slick-track { display: flex; align-items: center; }
.brands-slider .slick-arrow,
.reviews-slider .slick-arrow {
  background: url('../images/next.png');
  font-size: 0px;
  width: 50px;
  height: 50px;
  outline: none;
  border: none;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0px, -50%);
  z-index: 9;
}
.brands-slider .slick-arrow.slick-next,
.reviews-slider .slick-arrow.slick-next { right: 0; left: auto; }
.brands-slider .slick-arrow.slick-prev,
.reviews-slider .slick-arrow.slick-prev { transform: translate(0px, -50%) rotate(180deg); }
.reviews-slider .reviews-item { margin: 0 10px; }
@media screen and (max-width: 500px) {
  .brands-slider .slick-arrow,
  .reviews-slider .slick-arrow { width: 35px; height: 35px; }
  .brands-slider .slick-arrow.slick-next,
  .reviews-slider .slick-arrow.slick-next { right: 5px; }
  .brands-slider .slick-arrow.slick-prev,
  .reviews-slider .slick-arrow.slick-prev { left: 5px; }
}

/* Слайдер новостей (swiper) */
.news-slider-item { cursor: pointer; }
.news-slider-item-title { transition: color .15s ease; }
.news-slider-item:hover .news-slider-item-title { color: var(--color-blue-main); }
.news-slider-item-date {
  color: #4F4F4F;
  font-size: 0.875rem;
  text-transform: capitalize;
}
.news-slider-item-description { font-size: 1.125rem; }
.news-sliders { position: relative; }
.news-sliders .news-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: none;
  opacity: 1;
  transition: opacity .15s ease;
}
@media screen and (max-width: 768px) {
  .news-sliders .news-slider-nav { width: 10px; }
}
.news-slider-nav.swiper-button-disabled { opacity: .15; }
.news-slider-nav-prev { left: 0; }
.news-slider-nav-next { right: 0; }
.news-sliders-wrapper { padding-left: 4rem; padding-right: 4rem; }
@media screen and (max-width: 768px) {
  .news-sliders-wrapper { padding-left: 2rem; padding-right: 2rem; }
}
@media screen and (min-width: 576px) {
  .news-modal-content { border-left: 1px solid #C3CDE1; }
}

/* Из custom.css живого сайта */
.bold { font-weight: 700 !important; }

.nav-item-list.not_left_menu {
  left: 0 !important;
  width: 89%;
}

@media (max-width: 567px) {
  .price-table tr td { display: none; }
  .price-table tr td:nth-child(2),
  .price-table tr td:nth-child(4) { display: table-cell; }
}

.test-item_img { height: 220px; margin-bottom: 20px; }
.test-item_img img { width: 100%; height: 100%; object-fit: contain; }
.test-item_text { text-align: center; margin-bottom: 0; }

/* Мобильное многоуровневое меню */
.mobile-nav-multi,
.mobile-nav-multi-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav-multi-submenu li { margin: 1.5rem 0; }
.mobile-nav-item-parent { position: relative; }
.mobile-nav-item-parent .menu-toggle {
  padding: 5px 20px;
  position: absolute;
  top: -5px;
  right: 0;
  transition: transform .5s ease;
}
.mobile-nav-item-parent .menu-toggle.active {
  transform: rotate(180deg);
  transition: transform .5s ease;
}
.mobile-nav-multi-submenu { display: none; }

/* Раздел «Статьи»: список */
.article-item {
  padding: 10px;
  border: 1px solid #193C84;
  margin-bottom: 1.5rem;
}
.article-item-title {
  font-weight: 700;
  color: unset;
  text-decoration: none;
}

/* Раздел «Статьи»: детальная */
.articles-detail .not-dots { list-style: none; }
.articles-detail_img {
  max-width: 500px;
  width: 100%;
  margin: auto;
}
.articles-detail_img img {
  max-width: 100%;
  height: auto;
}
