@charset "utf-8";

.main-block {
   grid-column: 2;
   margin-top: 10px;
   /* padding: 10px; */
   /* background: #304486; */
   border-radius: 10px 10px 10px 10px;
   border: 1px solid #6d96ff;
   background: #f4f8fb;
   padding: 10px;
}

.main-block__heat {
   text-align: center;
   /* color: aliceblue; */
   /* background: #ffffffab; */
   margin: 0;
   padding-top: 20px;
   padding-bottom: 10px;
   font-size: 24px;
   /* margin-top: 10px; */
   /* padding: 10px; */
   /* background: #304486; */
   border-radius: 10px 10px 10px 10px;
   /* border: 1px solid #878c9f; */
   line-height: 1.5;
   color: #07298b;
}





.nachrichtenelement0 {
    max-width: 1200px;
    margin-bottom: 20px;
    margin-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
}


.main-block__komm_t {
    padding: 0;
    margin: 0;
    text-align: center;
    color: #008d06;
    font-size: 14px;
    font-weight: bold;
    /* font-style: italic; */
    /* width: 900px; */
    line-height: 1.3;
    margin-top: 40px;
    margin-bottom: 40px;
}

.main-block__komm {
    margin-bottom: 30px;
}

.main-block__komm_button {
    display: grid;
    text-align: center;
    padding-bottom: 10px;
    padding-top: 5px;
    border: 1px solid #39ae6ad9;
    border-radius: 50px 50px 50px 50px;
    margin-bottom: 20px;
    background: #d0e7d0;
    cursor: pointer;
    position: relative;
}

.main-block__komm_button::before,
.main-block__komm_button::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #006804;
  border-right: 2px solid #029208;
  transform: rotate(135deg); /* Поворот стрелочки на 45 градусов */
  position: absolute;
  top: 50%;
  transform-origin: center;
  margin-top: -7px; /* Смещение стрелочки вверх на половину её высоты */
  margin-left: 7px;
  margin-right: 7px;
}

.main-block__komm_button::before {
  left: 10px; /* Положение стрелочки слева */
}

.main-block__komm_button::after {
  right: 10px; /* Положение стрелочки справа */
}


.main-block__komm_t1_spisok {
    font-size: 16px;
    list-style-type: decimal;
    padding: 30px;
    padding-top: 0;
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    /* grid-auto-flow: column; */
    overflow: hidden;
    height: 15px;
    position: relative;
    /* transition: height 1s ease; */
    transition: height 0.5s ease;
}

.main-block__komm_t1_spisok::before {
  content: "";
  display: block;
  width: 100%;
  height: 30px; /* высота псевдоэлемента */
  background: linear-gradient(to top, rgb(244 248 251) 0%, rgb(0 0 0 / 0%) 100%); /* градиент от чёрного к прозрачному */
  position: absolute;
  bottom: 0;
  left: 0;
}

#wrapTrigger { display: none; }
input:checked + .main-block__komm_t1_spisok {height: 400px;}
input:checked ~ .main-block__komm_button::before,
input:checked ~ .main-block__komm_button::after {
  transform: rotate(-45deg);
}
input:checked ~ .main-block__komm_button {/* display: none; */}


.main-block__komm_t1_spisok li {
    /* padding: 7px; */
    /* margin: 0 10px; */
    /* display: block; */
}

.main-block__komm_t1_b {
    font-weight: bold;
    padding: 0 0 6px;
    display: block;
}




.vajnaya_info {
    background: white;
    padding: 20px;
    margin: 20px;
    border: 1px solid #c0dbf3;
}

.vajnaya_info_h {
    color: red;
    font-weight: bold;
    letter-spacing: 2px;
    width: 50%;
}

.vajnaya_info_t {
    color: #000000c9;
}

.obyavlenie {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   background: #ffffff94;
   font-size: 18px;
}

.obyavlenie_1 {
    display: flex;
    background: #f7f7f7;
    border: solid 1px rgb(255 7 7 / 35%);
    padding: 10px;
    margin: 20px;
}

.obyavlenie_1_kart {
    object-fit: contain;
    display: flex;
    justify-self: center;
}

.obyavlenie_1_1 {
    padding: 20px;
    max-width: 600px;
}

.obyavlenie__head {
    text-align: left;
}

.obyavlenie_1_txt {
    text-align: left;
}

.obyavlenie_1_spisok {
    font-weight: bold;
}


.obyavlenie__work-schedule-date_output {
   color: #ff5252;
}

.obyavlenie__work-schedule-link {
    color: #F44336;
}

.obyavlenie-big {
   grid-template-areas:
      "h f2 f"
      "t t f"
      "k k f"
      "l l l";
   display: grid;
   align-items: center;
   justify-items: center;
   grid-template-columns: 1fr 1fr;
   background: #ffffff70;
   padding: 20px;
   /* border: 15px solid #2a4d9f; */
   font-size: 22px;
   text-align: center;
   gap: 10px;
   /* margin: 10px; */
   border: 1px solid rgb(175 200 255);
}

.obyavlenie-big__head {
   grid-area: h;
   margin: 0;
   font-size: 20px;
   text-align: center;
   color: #e34247;
}

.obyavlenie-big__text {
   grid-area: t;
   margin: 0;
   color: #0037ad;
}

.obyavlenie-big__komm {
   grid-area: k;
   margin: 0;
   color: #1548b5;
}

.obyavlenie-big__link {
   grid-area: l;
   margin: 0;
   font-size: 18px;
   background: #27b06b;
   height: 100%;
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 15px 15px;
}

.obyavlenie-big-foto {
   grid-area: f;
   border-radius: 15px 15px;
   border: 1px solid rgb(214 206 204);
}

.cash-register__list {
   display: flex;
   margin: 0;
   padding: 0;
   list-style-type: none;
   /*! width: 100%; */
   justify-content: space-around;
   padding-top: 10px;
   padding-bottom: 10px;
   flex-wrap: wrap;
   /* background: #ffffff9c; */
   /* border: 1px solid rgb(175 200 255); */
}

.cash-register {
   background: #ffffff2b;
}

.cash-register__head {
   margin: 0;
   text-align: center;
   background: #ffffff;
   padding: 10px;
}

.cash-register__link_h {
    color: #455c96;
}

.cash-register__products {
   text-align: center;
   width: auto;
}

.cash-register__foto {
   margin: 0;
   width: 150px;
   grid-area: f;
   height: 150px;
   border-radius: 25px 25px 25px 25px;
   border: 5px solid #f4f8fb;
   width: 100%;
   object-fit: contain;
   background: white;
   transition: border .3s;
}
.cash-register__foto:hover {
   border: 5px solid #39ae6ad9;
}

.cash-register__foto_rectangle {
    border-radius: 50px 50px 50px 50px;
    width: auto;
    border-radius: 10px 10px 10px 10px;
}

.cash-register__figure {
    display: grid;
    grid:
        "k"
        "f";
    align-items: center;
    justify-items: center;
    /* justify-content: center; */
    /* align-content: center; */
    margin: 0;
    /* max-width: 250px; */
    width: 100%;
}

.cash-register__figure_rectangle {
    max-width: none;
}

.cash-register__link {
  text-decoration: blink;
}
.cash-register__komm {
  padding: 3px;
  color: #455c96;
  /* max-width: 300px; */
  /* height: 40px; */
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.cash-registers_head {
  text-align: center;
  margin: 0;
  padding: 15px;
  /* background: #f0f8ff42; */
  font-size: 14px;
}

.certificates {
  /*! background: #f0f8ff57; */
  /* padding-top: 50px; */
  padding-bottom: 40px;
  grid-column: 1/4;
  grid-template-columns: 250px 1fr minmax(100px, 250px);
  display: grid;
  /* background: #ebebeb; */
  background: #07298b1c;
  border-radius: 10px 10px 10px 10px;
  margin-top: 20px;
}
.certificates__title {
  margin: 0;
  padding: 30px;
  text-align: center;
  background: #4c6cb5;
  color: #ecf4ff;
  font-size: 18px;
  /* margin-bottom: 40px; */
  grid-column: 1/4;
  border-radius: 10px 10px 10px 10px;
}
.certificates__list {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  grid-column: inherit;
  /* border: solid 1px rgb(163 160 160); */
  /* background: #07298b1c; */
  padding-top: 25px;
}
.certificates__view {
  width: auto;
  /* height: 300px; */
  border: solid 1px rgb(76 108 181);
  /* object-fit: contain; */
  box-shadow: 1px 1px 3px rgba(14, 46, 66, 0.63);
  transition: transform .3s;
  /* background: #3e5697; */
  border-radius: 10px 10px 10px 10px;
}

.certificates__view:hover {
  transform: scale(1.1);
}

.certificates__view_horizontal {
    /* max-width: 200px; */
    /* max-height: 200px; */
    border-radius: 10px 10px 10px 10px;
}

.certificates__certificate {
  /* box-shadow: 1px 1px 3px rgba(14, 46, 66, 0.63); */
  cursor: pointer;
  display: flex;
  /* height: 230px; */
  /* width: 230px; */
  object-fit: contain;
  align-items: center;
  justify-content: center;
  /* background: #345399; */
  margin: 10px;
  /* position: relative; */
  border-radius: 10px 10px 10px 10px;
}

.modal {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(73, 73, 73, 0.7098039215686275);
  z-index: 15000000000;
  left: 0px;
}

.modal__content-foto {
    max-width: 1000px;
    width: 100%;
    border-radius: 10px 10px 10px 10px;
}

@media screen and (max-width: 1530px){
   .certificates {
      /* grid-template-columns: 100px 1fr 100px; */
   }
}

@media screen and (max-width: 1300px){
   .certificates {
      /* grid-template-columns: 50px 1fr 50px; */
   }
}

@media screen and (max-width: 1100px){
   .certificates {
      /* grid-template-columns: 0px 1fr 0px; */
   }
}

@media screen and (max-width: 830px){
   .obyavlenie-big {
      grid-template-areas:
         "h"
         "t"
         "k"
         "f"
         "f2"
         "l";
      grid-template-columns: auto;
   }
   .main-block__komm_t1_spisok {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 5px;
    /* margin: 0; */
    font-size: 0.8rem;
}
}


@media screen and (max-width: 500px){

   .obyavlenie-big-foto {
      width: 100%;
   }

  .obyavlenie-big__link {
      font-size: 14px;
   }

   .obyavlenie-big__head {
      font-size: 14px;
   }

   .obyavlenie-big {
      font-size: 14px;
   }

   .cash-register__foto {
      /* width: 100%; */
      border-radius: 50px 50px 50px 50px;
      border: 2px solid #bdcdeb;
   }

  .main-block__heat {
      font-size: 17px;
      line-height: 1;
  }

  .main-block__komm_t {
    padding: 0;
    margin: 0;
    text-align: center;
    color: #00a507;
    font-size: 12px;
    font-weight: bold;
    font-style: italic;
  }

  .cash-register__komm {
    max-width: 154px;
    font-size: 14px;
    padding-top: 10px;
  }

  .main-block {
    margin-top: 0px;
    border-radius: 0;
    border: 0px solid #6d96ff;
    background: white;
    padding: 0px;
  }

   .obyavlenie_1 {
       display: block;
   }

   .certificates__certificate {
       /* box-shadow: 1px 1px 3px rgba(14, 46, 66, 0.63); */
       cursor: pointer;
       display: flex;
       /* max-height: 200px; */
       /* max-width: 200px; */
       object-fit: contain;
       align-items: center;
       justify-content: center;
       /* background: #345399; */
       margin: 10px;
       /* position: relative; */
       border-radius: 10px 10px 10px 10px;
   }

   .certificates__view {
       max-width: 280px;
       max-height: 300px;
       border: solid 1px rgb(76 108 181);
       /* object-fit: contain; */
       box-shadow: 1px 1px 3px rgba(14, 46, 66, 0.63);
       transition: transform .3s;
       /* background: #3e5697; */
       border-radius: 10px 10px 10px 10px;
   }

}





<!-- Working CSS -->
<style>
.benefits-section {
max-width: 900px;
margin: 30px auto;
padding: 20px;
background: #f4f8fb;
border-radius: 12px;
border: 1px solid #dbe7ff;
}


.benefits-title {
font-size: 28px;
font-weight: 700;
text-align: center;
margin: 20px 0;
background: linear-gradient(90deg, #00762b, #27a85e);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}


.benefits-intro,
.benefits-final {
font-size: 16px;
line-height: 1.5;
color: #333;
margin-bottom: 20px;
text-align: center;
}


/* input hidden */
.benefits-toggle {
display: none;
}


/* list */
.benefits-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 16px;
max-height: 0;
overflow: hidden;
padding: 0;
margin: 0 0 20px;
transition: max-height .45s ease;
list-style: none;
}


.benefits-list li {
background: rgba(255, 255, 255, 0.6);
backdrop-filter: blur(6px);
padding: 18px 20px;
border-radius: 14px;
border: 1px solid rgba(0,0,0,0.05);
font-size: 16px;
line-height: 1.45;
transition: 0.25s ease;
}


.benefits-list li span {font-weight: 700;color: #595959;padding-left: 28px;}


/* expand list */
.benefits-toggle:checked + .benefits-list {
max-height: 1200px;
}


/* button */
.benefits-button {
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(92deg, #0a7a32, #36b46d);
color: white;
padding: 13px 32px;
border-radius: 40px;
cursor: pointer;
font-size: 16px;
font-weight: 600;
width: fit-content;
margin: 0 auto 20px;
gap: 10px;
transition: .25s;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


.benefits-button:hover {
opacity: 0.9;
transform: translateY(-2px);
}


/* arrow */
.benefits-button::after {
content: "";
width: 10px;
height: 10px;
border-right: 2px solid #fff;
border-bottom: 2px solid #fff;
transform: rotate(45deg);
transition: transform .3s ease;
}


.benefits-toggle:checked ~ .benefits-button::after {
transform: rotate(-135deg);
}

  /* ====== RESET (light) ====== */
.site *, 
.site *::before, 
.site *::after {
    box-sizing: border-box;
}
  body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,'Helvetica Neue',Arial;line-height:1.5;color:#1e293b;background:#f7f9fc}
  a{color:inherit;text-decoration:none}

  /* ====== LAYOUT ====== */
  .site {max-width:1200px;margin:24px auto;padding:16px}
  header.page-header{margin-bottom:18px}
  .page-header h1{font-size: 1.6rem;margin:0 0 8px;color:#07298b;text-align: center;}
  .hero-subtitle{margin:0;color:#334155}

  /* ====== BENEFITS BLOCK ====== */
  .benefits-section{background:#fff;border-radius:12px;padding:18px;margin-bottom:24px;box-shadow:0 6px 18px rgba(2,6,23,0.06);border:1px solid #e6eefc}
  .tile-title{display:inline-block;background:#eef2ff;padding:10px 14px;border-radius:10px;border:1px solid #d7e2ff;margin-bottom:12px}
  .benefits-intro{margin:10px 0;color:#334155}
  .benefits-list{list-style:none;padding:0;margin:12px 0 14px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;max-height:0;overflow:hidden;transition:max-height .45s ease}
  .benefits-list li{background:#fbfdff;padding:10px;border-radius:8px;border:1px solid #eef4ff;font-size:.95rem}
  .benefits-toggle{display:none}
  .benefits-button{border:0;justify-content: center;background: linear-gradient(92deg, #0a7a32, #36b46d);color: white;padding: 13px 32px;border-radius: 40px;cursor: pointer;font-size: 16px;font-weight: 600;width: fit-content;margin: 0 auto 20px;gap: 10px;transition: .25s;box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);}
  .benefits-button::after{content:"";width:9px;height:9px;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(45deg);display:inline-block;margin-left:6px;transition:transform .25s}
  .benefits-toggle:checked + .benefits-list{max-height:900px}
  .benefits-toggle:checked ~ .benefits-button::after{transform:rotate(-135deg)}
  .benefits-list li::before {
        content: "✔";              /* галочка */
        color: #169247;            /* зелёный цвет */
        position: absolute;
        left: 8px;
        top: 10px;
        font-size: 25px;
        line-height: 1;
   }

  /* ====== PRIORITY CATALOG (top three) ====== */
  .priority {display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-bottom:28px}
  .card {background:#fff;border-radius:14px;overflow:hidden;border:1px solid #e6eefc;box-shadow:0 8px 24px rgba(2,6,23,0.06);transition:transform .25s,box-shadow .25s}
  .card a{display:block;color:inherit}
  .card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(2,6,23,0.10)}
  .card__img{width:100%;height:220px;object-fit:contain;background:#fafbfd;padding:18px;display:block}
  .card__body{padding:14px}
  .card__title{font-size:1.1rem;font-weight:700;margin:0 0 8px;color:#07298b}
  .card__descr{margin:0;color:#475569;font-size:.98rem}

  /* ====== REST CATALOG (compact grid) ====== */
  .rest {display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px;margin-bottom:32px}
  .rest .small-card{background:#fff;padding:10px;border-radius:12px;border:1px solid #eef4ff;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;transition:transform .2s,box-shadow .2s}
  .small-card img{width:100%;height:120px;object-fit:contain;background:#fafbfd;padding:10px;border-radius:8px}
  .small-card h4{margin:0;font-size:.98rem;color:#0b63d1;font-weight:600}

  /* ====== DETAILED CATALOG — original full blocks from your source (preserved) ====== */
  .cash-registers{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-bottom:30px}
  .cash-register{background:#fff;border-radius:12px;padding:14px;border:1px solid #eef4ff;box-shadow:0 8px 20px rgba(2,6,23,0.04)}
  .cash-register__head{font-size:1rem;margin:0 0 12px;color:#0c4cab}
  .cash-register__list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
  .cash-register__figure{background:#fbfdff;padding:10px;border-radius:10px;text-align:center;border:1px solid #f0f6ff;transition:transform .2s,box-shadow .2s}
  .cash-register__figure:hover{transform:translateY(-6px);box-shadow:0 12px 24px rgba(2,6,23,0.06)}
  .cash-register__foto{width:100%;height:110px;object-fit:contain;display:block;margin:0 auto 8px;background:#fff;padding:6px;border-radius:8px}
  .cash-register__komm{font-weight:600;color:#14233e;font-size: .80rem;}


.kompaniya__sertifikaty {
    margin-bottom: 2rem;
}

.kompaniya__sertifikaty-zagolovok {
    text-align: center;
    font-size: 1.8rem;
    color: #10308c;
    margin-bottom: 1.5rem;
}

.kompaniya__sertifikaty-spisok {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.kompaniya__sertifikaty-element {
    text-align: center;
}

.kompaniya__sertifikaty-izobrazhenie {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.kompaniya__modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.kompaniya__modal-soderzhimoe {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 12px;
    max-width: 800px;
    position: relative;
    height: fit-content;
}

.kompaniya__modal-zakryt {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
}

.kompaniya__modal-izobrazhenie {
    max-width: 100%;
    height: auto;
}


  /* ====== MOBILE: make product lists horizontally scrollable where appropriate ====== */
  @media (max-width:640px){
    .card__img{height:160px}
    .priority{grid-template-columns:1fr}
    .cash-register__list{display:flex;gap:12px;overflow-x:auto;padding-bottom:8px}
    .cash-register__list::-webkit-scrollbar{height:8px}
    .cash-register__list::-webkit-scrollbar-thumb{background:#cdd7ff;border-radius:6px}
    .cash-register__figure{min-width:160px;flex:0 0 160px}
  }

  /* ====== FAQ styling ====== */
  .faq-section{background:rgba(14,31,84,0.02);padding:16px;border-radius:10px;border:1px solid #eef4ff}
  .faq-section h2{margin:0 0 12px}
  .faq-item h3{margin:8px 0 6px;font-size:1rem;color:#0b3a8a}
  .faq-item p{margin:0;color:#334155}

  /* ====== small helpers ====== */
  .muted{color:#64748b;font-size:.95rem}


/* FAQ SECTION */
.faq-section {
    margin-top: 60px;
    padding: 40px 30px;
    background: #fafafa;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    animation: fadeIn 0.6s ease forwards;
}

.faq-section .tile-title {
    margin-bottom: 25px;
}

/* FAQ item */
.faq-item {
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 22px 26px;
    margin-bottom: 20px;
    background: #fff;
    transition: all 0.25s ease;
    cursor: pointer;
}

.faq-item:hover {
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    border-color: #dcdcdc;
}

/* Question */
.faq-item > h3 {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 600;
    position: relative;
    padding-right: 30px;
}

/* Arrow icon */
.faq-item > h3::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
}

.faq-item.open > h3::after {
    transform: translateY(-50%) rotate(225deg);
}

/* Answer (collapsed by default) */
.faq-item > div {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease;
    opacity: 0;
}

/* Expanded */
.faq-item.open > div {
    max-height: 2000px; /* достаточно для любых текстов */
    opacity: 1;
    margin-top: 16px;
}

/* Answer text formatting */
.faq-item p {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Fade animation for the section */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}