.accordion {
  /* border: 1px solid #e0e0e0; */
  /* border-radius: 8px; */
  overflow: hidden;
}

.accordion-item {
  /* border-bottom: 1px solid #e0e0e0; */
  margin-bottom: 20px;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* border-radius: 30px; */
  border-radius: 25px 25px 25px 25px;
  padding: 20px 25px 20px 25px;
  background-color: rgb(15, 146, 191);
  cursor: pointer;
  user-select: none;
  color: #FFFFFF;


}

.accordion-header:hover {
  background-color: #0E7295;
}

.accordion-header h4 {
  margin: 0;
  font-size: 18px;
  max-width: 800px;
  width: 100%;
  /* font-size: 16px;
    font-weight: 600; */
}

.accordion-toggle {
  font-size: 18px;
  /* font-size: 18px;
    font-weight: bold; */
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: white;

}

.accordion-content p {
  margin-bottom: 10px;
  padding-left: 10px;
  margin-bottom: 8px;
  line-height: 1.5;
  font-size: 0.95rem;
  color: rgb(102, 102, 102);
  font-family: Montserrat, sans-serif;
  display: flex;
}

.accordion-content p span {
  color: var(--accent);
  font-weight: 500;
  padding-right: 10px;
}

.accordion-content.expanded {
  padding: 20px;
}

.accordion-item.active .accordion-toggle {
  transform: rotate(360deg);
  position: relative;
  left: -3px;

}

.accordion-item.active .accordion-content {
  max-height: 500px;
  /* Adjust based on content */
}

.color-black-underline {
  color: rgb(46, 46, 46) !important;
  text-decoration: underline;
}

.color-black {
  color: rgb(46, 46, 46) !important;
}

.title-answer {
  font-size: 2rem;
  font-weight: bold;
  color: rgb(46, 46, 46);
  font-family: Montserrat, sans-serif;
  text-align: center;
  /* margin-top: 40px; */
  max-width: 650px;
  margin: 40px auto;
}

.subtitle-answer {
  font-size: 1.2rem;
  font-weight: bold;
  color: rgb(46, 46, 46);
  font-family: Montserrat, sans-serif;
  text-align: center;
  margin-bottom: 40px;
}

.subtitle-answer span{
  font-weight: 400;
  color: rgb(88, 88, 88);
}

.download-file--text {
  width: 100%;
  font-size: 1rem;
  font-weight: bold;
  color: rgb(46, 46, 46);
  font-family: Montserrat, sans-serif;
  text-decoration: none;
  padding-top: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgb(112, 112, 112);
}

.small--title {
  font-size: 1.2rem;
  font-weight: bold;
  color: rgb(46, 46, 46);
  font-family: Montserrat, sans-serif;
  text-align: center;
}

.underline {
  text-decoration: underline;
}

.accordion-video {
  display: flex;
  justify-content: center;
  align-items: center;
}

.accordion-video iframe {
  border-radius: 20px;
}

/* === Вложенный аккордеон: заголовок === */
.nested-accordion-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  margin: 40px 0 10px;
  background: rgba(191, 234, 248, 0.535);
  border-radius: 10px;
  font-weight: 500;
  color: #2e2e2e;
  transition: background 0.2s ease;
  user-select: none;
}

/* === Вложенный аккордеон: контент === */
.nested-accordion-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

/* Адаптивность для вложенного аккордеона */
@media (max-width: 768px) {
  .nested-accordion-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .nested-accordion-content {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .accordion-video {
    padding: 0 8px 16px 32px;
  }

  .nested-accordion-content h5 {
    margin-left: 16px;
    font-size: 15px;
  }
}

.video-wrapper iframe,
.video-wrapper img {
  border-radius: 30px;
}

.video-wrapper img {
  width: 426px;
  height: 240px;
}

.video-wrapper a {
  text-decoration: none;
}


/* Стили для контента внутри */
.nested-accordion-content h5 {
  /* margin: 16px 0 12px 24px; */
  font-size: 16px;
  color: #1a202c;
  margin-top: 5px;
  margin-left: 5px;
  /* padding-left: 12px; */
  /* border-left: 3px solid #4299e1; */
}



/* Адаптивность */
@media (max-width: 768px) {
  .accordion-video {
    padding: 0 8px 16px 32px;
  }

  .nested-accordion-content h5 {
    margin-left: 16px;
    font-size: 15px;
  }
}

.img-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 40px;
}

.img-wrapper .result-work--img {
  max-width: 700px;
  width: 100%;
  border-radius: 30px;
}

.green--text {
  color: var(--accent) !important;
}

.pay-wrapper {
  max-width: 300px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 40px auto;
  gap: 20px;
}

.pay-wrapper .card img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
}

.pay-wrapper .card p {
  /* font-size: 1.2rem; */
  /* font-weight: bold; */
  color: rgb(46, 46, 46);
  font-family: Montserrat, sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
  font-size: 12px;
  max-width: 100px;
  width: 100px;
    font-family: Montserrat, sans-serif;
}

p.law--text {
  display: block;
}

p.law--text a {
  color: var(--accent);
  font-weight: 300;
    font-family: Montserrat, sans-serif;
}

.law--title {
  font-size: 1.2rem;
  color: #2e2e2e;
    font-family: Montserrat, sans-serif;

}

.standart-block--text {
  padding-right: 100px;
}

.standart-block--text a {
  font-size: .8rem;
  color: var(--accent);
  margin-bottom: 10px;
  text-decoration: none;
    font-family: Montserrat, sans-serif;
}

.standart-block--text a:hover {
  color: #2e2e2e;
}

.work_schedule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}
@media screen and (max-width: 1024px) {
  .work_schedule{
    grid-template-columns: repeat(1, 1fr);
  }
}

.work_schedule .card {
  /* width: 300px; */
  /* height: 300px; */
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  background-color: rgb(245, 245, 245);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
}

.work_schedule .card .city {
  font-size: 1.4rem;
  color: #2e2e2e;
  /* margin: 10px 0; */
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
    font-family: Montserrat, sans-serif;

}

.work_schedule .card .main-person {
  font-size: 1.2rem;
  color: #2e2e2e;
  /* margin: 10px 0; */
  text-align: center;
    font-family: Montserrat, sans-serif;
}


.work_schedule .card .reception {
  /* font-size: 1.2rem;
  color: #2e2e2e;
  margin: 10px 0;
  text-align: center; */
  text-align: center;
    font-family: Montserrat, sans-serif;
}

.work_schedule .card .mail {
  font-size: .8rem;
  /* font-size: 1.2rem;
  color: #2e2e2e;
  margin: 10px 0;
  text-align: center; */
  text-align: center;
    font-family: Montserrat, sans-serif;
}
.work_schedule .card .address {
  font-size: .8rem;
  /* font-size: 1.2rem;
  color: #2e2e2e;
  margin: 10px 0;
  text-align: center; */
  text-align: center;
    font-family: Montserrat, sans-serif;
}
.work_schedule .card .phone {
  font-size: .8rem;
  /* font-size: 1.2rem;
  color: #2e2e2e;
  margin: 10px 0;
  text-align: center; */
  text-align: center;
    font-family: Montserrat, sans-serif;

}

.work_schedule .card a{
  text-decoration: none;
  color: var(--accent);
  font-weight: 300;
  font-size: 1rem;
  margin: 5px 0;
    font-family: Montserrat, sans-serif;
}

.doc--text{
  display: block !important;
}

.work_schedule img {
  max-width: 200px;
  width: 100%;
  border-radius: 20px;
}

.work_schedule .name {
  font-size: 1rem;
  color: #2e2e2e;
  margin: 10px 0;
  text-align: center;
    font-family: Montserrat, sans-serif;
}

.work_schedule .name a {
  color: #2e2e2e;
    font-family: Montserrat, sans-serif;
}

.work_schedule .name a:hover {
  color: var(--accent);
}

.doc--title{
  font-size: 1.4rem;
  color: #2e2e2e;
  margin: 10px 0;
  /* text-align: center; */
    font-family: Montserrat, sans-serif;
    padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.doc--small-title{
  font-size: 1.2rem;
  color: #2e2e2e;
  margin: 10px 0;
  font-family: Montserrat, sans-serif;
  /* text-align: center; */
}