
.menu-sec ul 
{display: flex;
margin-left: -50px;
margin-top:20px;}

.menu-sec ul li 
{list-style-type: none;
margin: 10px 20px;
font-size: 16px;}

.menu-sec ul li a span
{text-decoration: none !important;
color: #000000;
font-size: 15px;}

.menu-sec ul li a
{text-decoration: none !important;
color: #000000;}

:root {
  --fixed-menu-offset: 200px;
}

#products,
#about,
#advantages,
#wchu,
#faq {
  scroll-margin-top: var(--fixed-menu-offset);
}

html {
  scroll-behavior: smooth;
}

section h2 
{display: block;
margin-bottom: 40px;
position: relative;
width: fit-content;}

section h2::after 
{display: block;
content: "";
border-bottom:1px solid #006189;
width: 40%;
padding-top: 5px;}

section span 
{display: block;
margin-top: -40px;
margin-bottom: 40px;}

.about-product span
{display: block;
text-align: left;
font-size: 22px;}


.slider-container {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 7px;
}

.slider-container .slide {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 500px;
  color: #fff !important;
  background-color: #3498db;
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
  border-radius: 7px;
}

.slider-container .slide.active-slide {
  transform: translateY(0);
  z-index: 2;
}

.slider-container .slide.slide-up-exit {
  transform: translateY(-100%);
  z-index: 1;
}

.slider-container .slide.slide-down-exit {
  transform: translateY(100%);
  z-index: 1;
}

.adv-block 
{background: #cfe8fa;
height: 250px;
padding: 15px 10px;
border-radius: 7px;}

.adv-block h3
{display: block;
text-align: center;
font-size: 20px;}


.product-wysiwyg-accordion {
  --brand-blue: #08749b;
  --brand-blue-dark: #075b79;
  --brand-green: #80bc00;
  --text: #30383c;
  --border: #dce8eb;

  display: grid;
  gap: 12px;
  margin: 24px 0;
}

/* Карточка вопроса */
.product-wysiwyg-accordion .acc-item {
  overflow: hidden;
  margin: 0 !important;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 16px rgb(15 76 95 / 6%);
}

/* Заголовок вопроса */
.product-wysiwyg-accordion h3 {
  position: relative;
  margin: 0 !important;
  padding: 20px 64px 20px 22px !important;
  color: var(--brand-blue-dark);
  background: #fff;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease !important;
}

.product-wysiwyg-accordion h3:hover,
.product-wysiwyg-accordion h3.active {
  color: var(--brand-blue);
  background: #f2f8fa;
}

/* Круглый индикатор справа */
.product-wysiwyg-accordion h3::after {
  position: absolute;
  top: 50%;
  right: 20px;
  display:block;
  width: 40px;
  height: 40px;  
  text-align: center;
  border-radius: 50%;
  background: #eaf4f6;
  color: var(--brand-blue);
  content: "+";
  font-size: 22px;
  font-weight: 400;
  line-height:35px;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.product-wysiwyg-accordion h3.active::after {
  background: var(--brand-green);
  color: #173300;
  content: "−";
}

/* Панель ответа */
.product-wysiwyg-accordion .acc-panel {
  display: block !important;
  max-height: 0;
  overflow: hidden;
  padding: 0 !important;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition:
    max-height 0.4s ease,
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.product-wysiwyg-accordion .acc-panel.is-open {
  opacity: 1;
  visibility: visible;
}

.product-wysiwyg-accordion .acc-panel > p,
.product-wysiwyg-accordion .acc-panel > div {
  margin: 0 !important;
  padding: 0 22px 22px !important;
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}

/* Клавиатурный фокус */
.product-wysiwyg-accordion h3:focus-visible {
  outline: 3px solid var(--brand-green);
  outline-offset: -3px;
}

.prodform input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    padding: 18px 0;
    outline: none;
}

.sendprod {
    margin: 20px auto !important;
    width: 350px;
    padding: 10px;
    background:#006189;
    border: 1px solid var(--dark-blue);
    border-radius: 5px;
    color:#fff;
    cursor: pointer;
    transition: 0.3s;
}

.sendprod:hover {
    background:#006189;
    color: #fff;
}


/* Мобильная версия */
@media (max-width: 768px) {

:root {
  --fixed-menu-offset:310px;
}

#products,
#about,
#advantages,
#wchu,
#faq {
  scroll-margin-top: var(--fixed-menu-offset);
}

html {
  scroll-behavior: smooth;
}

.menu-sec ul 
{display:block;
margin-left:-30px;
margin-top:20px;}

.menu-sec ul li 
{list-style-type: none;
display: block;
text-align: left;
margin: 10px 10px;
font-size: 15px;}

section h2 
{font-size: 18px;}

.about-product span 
{font-size: 15px;}

.slider-container {
  position: relative;
  height:600px;
  overflow: hidden;
  border-radius: 7px;
}

.slider-container .slide {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height:600px;
  color: #fff !important;
  background-color: #3498db;
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
  border-radius: 7px;
  padding:4px !important;
  
}

.slider-container .slide h3,
.slider-container .slide h4 
{font-size: 16px;}

.slider-container .slide p 
{font-size: 14px;}

.slider-container .slide ul li 
{font-size: 14px;}

.adv-block 
{margin-top: 20px;
margin-bottom: 20px;
height: auto;}


  .product-wysiwyg-accordion {
    gap: 10px;
  }

  .product-wysiwyg-accordion h3 {
    padding: 16px 54px 16px 16px !important;
    font-size: 17px;
  }

  .product-wysiwyg-accordion h3::after {
    right: 14px;
    width: 28px;
    height: 28px;
    line-height: 25px;
  }

  .product-wysiwyg-accordion .acc-panel > p,
  .product-wysiwyg-accordion .acc-panel > div {
    padding: 0 16px 18px !important;
    font-size: 15px;
  }
}